/* ============================================================
   REDESIGN — "Editorial Ink"
   Single source of truth for the portfolio's visual design.
   Loads LAST. Replaces the previous stack of patch stylesheets.
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500;600&display=swap");

/* ------------------------------------------------------------
   1. TOKENS
   ------------------------------------------------------------ */
:root {
    /* Ink & canvas */
    --ink: #0d0f14;
    --ink-soft: #171a21;
    --ink-line: rgba(255, 255, 255, .10);
    --canvas: #ffffff;
    --canvas-alt: #f7f7f4;
    --line: #e6e5e0;
    --line-strong: #d5d4ce;

    /* Text */
    --tx: #0d0f14;
    --tx-2: #52596a;
    --tx-3: #686f7e;
    --tx-inv: #ffffff;
    --tx-inv-2: rgba(255, 255, 255, .66);

    /* Accent */
    --accent: #2b4eff;
    --accent-deep: #1c37cc;
    --accent-soft: rgba(43, 78, 255, .08);
    --accent-glow: rgba(43, 78, 255, .32);
    --warm: #ff9f4a;
    --ok: #17b26a;

    /* Type */
    --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
    --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

    /* Geometry */
    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 22px;
    --r-pill: 999px;
    --shadow-sm: 0 1px 2px rgba(13, 15, 20, .05);
    --shadow-md: 0 12px 32px -12px rgba(13, 15, 20, .16);
    --shadow-lg: 0 32px 64px -24px rgba(13, 15, 20, .28);
    --ease: cubic-bezier(.22, .61, .36, 1);

    /* Legacy template variables, remapped */
    --color-primary: #2b4eff;
    --color-secondary: #0d0f14;
    --color-tertiary: #52596a;
    --color-accent: #1c37cc;
    --color-heading: #0d0f14;
    --color-body: #52596a;
    --font-primary: "Sora", sans-serif;
    --font-secondary: "Inter", sans-serif;
}

/* ------------------------------------------------------------
   2. BASE
   ------------------------------------------------------------ */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body.white-version,
body {
    font-family: var(--font-body);
    font-size: 16.5px;
    line-height: 1.7;
    color: var(--tx-2);
    background: var(--canvas);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body h1, body h2, body h3, body h4, body h5, body h6 {
    font-family: var(--font-display);
    color: var(--tx);
    font-weight: 700;
    letter-spacing: -.022em;
    line-height: 1.15;
}

body p { color: var(--tx-2); }

body a { text-decoration: none; transition: color .25s var(--ease); }

::selection { background: var(--accent); color: #fff; }

img { max-width: 100%; }

/* Container rhythm */
body .container { max-width: 1240px; padding-left: 24px; padding-right: 24px; }

/* Section rhythm */
body .rn-section-gap { padding: 120px 0 !important; }
body .section-separator { border-top: 1px solid var(--line) !important; }
body .rn-service-area,
body .rn-pricing-area { background: var(--canvas-alt); }
body .rn-portfolio-area,
body .rn-contact-area { background: var(--canvas); }

/* ------------------------------------------------------------
   3. SECTION TITLES — mono eyebrow + display heading
   ------------------------------------------------------------ */
body .section-title { margin-bottom: 8px; }

body .section-title .subtitle,
body .rn-slider-area .content .inner > .subtitle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--accent);
    background: none;
    padding: 0;
    margin-bottom: 18px;
}

body .section-title .subtitle::before,
body .rn-slider-area .content .inner > .subtitle::before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--accent);
    display: inline-block;
}

body .section-title .subtitle::after { display: none !important; }

body .section-title .title {
    font-size: clamp(32px, 4.2vw, 52px);
    font-weight: 700;
    letter-spacing: -.03em;
    color: var(--tx);
    margin: 0;
    max-width: 18ch;
}

body .section-title.text-center { text-align: center; }
body .section-title.text-center .title { margin-left: auto; margin-right: auto; }
body .section-title.text-center .subtitle::before { display: none; }

body .section-title .contact-intro {
    margin: 20px auto 0;
    max-width: 56ch;
    font-size: 16.8px;
    color: var(--tx-2);
}

/* ------------------------------------------------------------
   4. BUTTONS
   ------------------------------------------------------------ */
.btn-ink,
body .rn-btn,
body a.rn-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 28px;
    border-radius: var(--r-pill);
    background: var(--ink);
    color: #fff !important;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15.2px;
    letter-spacing: -.005em;
    border: 1px solid var(--ink);
    transition: transform .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}

.btn-ink:hover,
body .rn-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -12px var(--accent-glow);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 28px;
    border-radius: var(--r-pill);
    border: 1px solid rgba(255, 255, 255, .28);
    color: #fff !important;
    font-weight: 600;
    font-size: 15.2px;
    transition: all .3s var(--ease);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .5);
    transform: translateY(-2px);
}

/* ------------------------------------------------------------
   5. HEADER
   ------------------------------------------------------------ */
body .rn-header.header--sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 18px 0;
    background: transparent;
    border-bottom: 1px solid transparent;
    box-shadow: none;
    transition: background .35s var(--ease), padding .35s var(--ease), border-color .35s var(--ease);
}

body .rn-header .header-wrapper {
    max-width: 1240px;
    margin: 0 auto !important;
    padding: 0 24px;
    width: 100%;
}

body .rn-header.header--sticky.sticky {
    padding: 12px 0;
    background: rgba(255, 255, 255, .82);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    backdrop-filter: saturate(180%) blur(18px);
    border-bottom-color: var(--line);
}

/* On the home page the header floats over the dark hero */
body.has-dark-hero .rn-header.header--sticky:not(.sticky) .nav-link,
body.has-dark-hero .rn-header.header--sticky:not(.sticky) .language-dropdown .dropdown-toggle,
body.has-dark-hero .rn-header.header--sticky:not(.sticky) .hamberger-menu {
    color: rgba(255, 255, 255, .82) !important;
}

body.has-dark-hero .rn-header.header--sticky:not(.sticky) .logo img {
    filter: brightness(0) invert(1);
}

/* Non-home pages: solid header from the start */
body:not(.has-dark-hero) .rn-header.header--sticky {
    background: rgba(255, 255, 255, .9);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    backdrop-filter: saturate(180%) blur(18px);
    border-bottom-color: var(--line);
}

body .rn-header .logo img,
body .rn-header .logo-icon {
    height: 38px !important;
    width: auto !important;
    max-width: none !important;
    transition: filter .35s var(--ease);
}

/* Nav */
body .mainmenu-nav .primary-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: flex-end;
    margin: 0;
}

body .mainmenu-nav .primary-menu .nav-item { margin: 0; }

body .mainmenu-nav .primary-menu .nav-item .nav-link {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -.005em;
    color: var(--tx-2);
    padding: 9px 16px !important;
    border-radius: var(--r-pill);
    background: transparent !important;
    position: relative;
    transition: color .25s var(--ease), background .25s var(--ease);
}

body .mainmenu-nav .primary-menu .nav-item .nav-link::after,
body .mainmenu-nav .primary-menu .nav-item .nav-link::before { display: none !important; }

body .mainmenu-nav .primary-menu .nav-item .nav-link:hover,
body .mainmenu-nav .primary-menu .nav-item .nav-link.active {
    color: var(--tx) !important;
    background: rgba(13, 15, 20, .05) !important;
}

body.has-dark-hero .rn-header:not(.sticky) .mainmenu-nav .primary-menu .nav-item .nav-link:hover,
body.has-dark-hero .rn-header:not(.sticky) .mainmenu-nav .primary-menu .nav-item .nav-link.active {
    color: #fff !important;
    background: rgba(255, 255, 255, .12) !important;
}

body .header-right { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }

/* Language dropdown */
body .language-dropdown .dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent !important;
    border: 1px solid var(--line) !important;
    border-radius: var(--r-pill) !important;
    padding: 8px 14px !important;
    font-family: var(--font-mono);
    font-size: 11.5px !important;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--tx-2) !important;
    box-shadow: none !important;
    transition: all .25s var(--ease);
}

body.has-dark-hero .rn-header:not(.sticky) .language-dropdown .dropdown-toggle {
    border-color: rgba(255, 255, 255, .22) !important;
}

body .language-dropdown .dropdown-toggle:hover {
    border-color: var(--accent) !important;
    color: var(--accent) !important;
}

body .language-dropdown .dropdown-menu {
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-md);
    padding: 6px;
    min-width: 160px;
    margin-top: 10px;
}

body .language-dropdown .dropdown-item {
    border-radius: var(--r-sm);
    padding: 9px 12px;
    font-size: 14.4px;
    font-weight: 500;
    color: var(--tx-2);
    display: flex;
    align-items: center;
    gap: 10px;
}

body .language-dropdown .dropdown-item:hover {
    background: var(--accent-soft);
    color: var(--accent);
}

/* Hamburger */
body .hamberger-menu {
    background: transparent;
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    width: 42px;
    height: 42px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    color: var(--tx);
    cursor: pointer;
}

body.has-dark-hero .rn-header:not(.sticky) .hamberger-menu { border-color: rgba(255, 255, 255, .24); }

body .hamberger-menu svg { width: 20px; height: 20px; }

/* Mobile popup menu */
body .popup-mobile-menu .inner {
    background: var(--canvas);
    border-right: 1px solid var(--line);
    padding: 26px;
}

body .popup-mobile-menu .menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 22px;
}

body .popup-mobile-menu .primary-menu { display: block; }

body .popup-mobile-menu .primary-menu .nav-item .nav-link {
    display: block;
    font-family: var(--font-display);
    font-size: 21.6px;
    font-weight: 600;
    letter-spacing: -.02em;
    color: var(--tx) !important;
    padding: 13px 0 !important;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent !important;
}

body .popup-mobile-menu .primary-menu .nav-item .nav-link:hover { color: var(--accent) !important; }

body .popup-mobile-menu .close-button button,
body .popup-mobile-menu .close-menu-activation {
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    width: 42px;
    height: 42px;
    background: transparent;
    color: var(--tx);
}

/* ------------------------------------------------------------
   6. HERO — dark editorial panel
   ------------------------------------------------------------ */
body .rn-slider-area {
    position: relative;
    background: var(--ink);
    padding: 190px 0 130px;
    overflow: hidden;
    isolation: isolate;
}

body .rn-slider-area::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(720px 460px at 78% 18%, rgba(43, 78, 255, .30), transparent 62%),
        radial-gradient(600px 420px at 8% 88%, rgba(255, 159, 74, .13), transparent 60%);
    z-index: -2;
}

body .rn-slider-area::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
    background-size: 72px 72px;
    -webkit-mask-image: radial-gradient(circle at 50% 40%, #000, transparent 78%);
    mask-image: radial-gradient(circle at 50% 40%, #000, transparent 78%);
    z-index: -1;
}

body .rn-slider-area .slide { padding: 0; min-height: 0; background: none; }

body .rn-slider-area .content .inner > .subtitle {
    color: var(--warm);
}
body .rn-slider-area .content .inner > .subtitle::before { background: var(--warm); }

body .rn-slider-area .title {
    font-family: var(--font-display);
    font-size: clamp(38.4px, 5.4vw, 67.2px);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -.038em;
    color: #fff;
    margin-bottom: 26px;
}

body .rn-slider-area .title .cd-words-wrapper b,
body .rn-slider-area .header-caption b {
    background: linear-gradient(96deg, #8fa6ff 0%, #ffffff 55%, #ffc48f 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

body .rn-slider-area .description {
    font-size: 17.2px;
    line-height: 1.72;
    color: var(--tx-inv-2);
    max-width: 58ch;
    margin-bottom: 0;
}

/* About block reframed as a bordered aside */
body .about-me-section {
    margin-top: 34px !important;
    padding: 26px 28px;
    border: 1px solid var(--ink-line);
    border-radius: var(--r-lg);
    background: rgba(255, 255, 255, .035);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

body .about-me-section .about-me-content {
    color: var(--tx-inv-2);
    font-size: 15.8px;
    margin-bottom: 20px;
}

body .about-me-section .key-facts ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 16px 22px;
    margin: 0;
    padding: 0;
}

body .about-me-section .key-facts li {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-left: 14px;
    border-left: 2px solid var(--accent);
    color: var(--tx-inv-2);
    font-size: 14.7px;
    line-height: 1.5;
}

body .about-me-section .key-facts li strong {
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
}

body .about-me-section .key-facts li span { color: #fff; font-weight: 500; }

/* Social row */
body .rn-slider-area .social-share-inner-left { margin-top: 38px; }

body .rn-slider-area .social-share-inner-left .title {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .42);
    margin-bottom: 14px;
}

body .rn-slider-area .social-share { gap: 10px; margin: 0; padding: 0; }

body .rn-slider-area .social-share li a {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-pill);
    border: 1px solid var(--ink-line);
    background: rgba(255, 255, 255, .04);
    color: #fff;
    transition: all .3s var(--ease);
}

body .rn-slider-area .social-share li a:hover {
    background: #fff;
    color: var(--ink);
    border-color: #fff;
    transform: translateY(-3px);
}

body .rn-slider-area .social-share li a svg,
body .rn-slider-area .social-share li a i { width: 18px; height: 18px; }

/* style.css decorates .thumbnail with a big white gradient panel
   (linear-gradient(145deg,#fff,#f8fafc), inset 130px …). Behind a
   transparent cut-out that renders as a white box covering the arch. */
body .rn-slider-area .thumbnail::before,
body .rn-slider-area .thumbnail::after {
    content: none !important;
    display: none !important;
    background: none !important;
}

/* Portrait — soft glow disc
   The source image is a transparent PNG cut-out. Everything behind it
   is light only: two blurred radial pools and a floor glow. There is
   no border, no fill, no clipped shape and no edge anywhere, so the
   dark hero reads straight through to the background grid. */
body .rn-slider-area .thumbnail {
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 0;
}

body .rn-slider-area .thumbnail .inner {
    position: relative;
    width: 100%;
    max-width: 440px;
    overflow: visible;
    border: 0;
    background: none;
    border-radius: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    isolation: isolate;
}

/* Main glow: a wide disc centred behind the head and torso.
   closest-side + a transparent stop means it never forms an edge. */
body .rn-slider-area .thumbnail .inner::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 4%;
    width: 116%;
    height: 74%;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(closest-side,
            rgba(43, 78, 255, .55) 0%,
            rgba(43, 78, 255, .26) 46%,
            rgba(43, 78, 255, .07) 72%,
            transparent 100%);
    filter: blur(34px);
    z-index: 0;
    pointer-events: none;
}

/* Warm counter-light low and slightly off-centre, so the disc doesn't
   read as a flat circle */
body .rn-slider-area .thumbnail .inner::after {
    content: "";
    position: absolute;
    left: 44%;
    bottom: 2%;
    width: 92%;
    height: 42%;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(closest-side,
            rgba(255, 159, 74, .26) 0%,
            rgba(255, 159, 74, .10) 55%,
            transparent 100%);
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
}

body .rn-slider-area .thumbnail .inner img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
    border: 0;
    box-shadow: none;
    background: none;
    filter: contrast(1.04) saturate(1.04) drop-shadow(0 30px 40px rgba(0, 0, 0, .5));
}

/* Floor glow: grounds the figure so it isn't floating in the dark */
body .rn-slider-area .thumbnail .inner .arch-ring {
    position: absolute;
    left: 50%;
    bottom: -14px;
    width: 74%;
    height: 60px;
    transform: translateX(-50%);
    border: 0;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(43, 78, 255, .34), transparent 78%);
    filter: blur(18px);
    z-index: 1;
    pointer-events: none;
}

@media (max-width: 991px) {
    body .rn-slider-area .thumbnail .inner {
        max-width: 370px;
    }
}

@media (max-width: 575px) {
    body .rn-slider-area .thumbnail .inner {
        max-width: 300px;
    }

    body .rn-slider-area .thumbnail .inner::before {
        filter: blur(26px);
    }
}



/* ------------------------------------------------------------
   7. SERVICES
   ------------------------------------------------------------ */
body .rn-service {
    height: 100%;
    background: var(--canvas);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 34px 30px 30px;
    position: relative;
    overflow: hidden;
    box-shadow: none;
    transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}

body .rn-service::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--accent-soft), transparent 55%);
    opacity: 0;
    transition: opacity .4s var(--ease);
    pointer-events: none;
}

body .rn-service:hover {
    transform: translateY(-6px);
    border-color: rgba(43, 78, 255, .38);
    box-shadow: var(--shadow-md);
}

body .rn-service:hover::before { opacity: 1; }

body .rn-service .inner { position: relative; z-index: 1; }

body .rn-service .icon {
    width: 54px;
    height: 54px;
    border-radius: var(--r-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ink);
    color: #fff;
    margin-bottom: 24px;
    transition: background .4s var(--ease), transform .4s var(--ease);
}

body .rn-service:hover .icon { background: var(--accent); transform: rotate(-6deg) scale(1.04); }

body .rn-service .icon svg,
body .rn-service .icon i { width: 24px; height: 24px; stroke-width: 1.7; }

body .rn-service .content .title { margin-bottom: 12px; }

body .rn-service .content .title a {
    font-family: var(--font-display);
    font-size: 19.5px;
    font-weight: 600;
    letter-spacing: -.02em;
    color: var(--tx);
}

body .rn-service:hover .content .title a { color: var(--accent); }

body .rn-service .content .description {
    font-size: 15.4px;
    line-height: 1.68;
    color: var(--tx-2);
    margin-bottom: 20px;
}

body .rn-service .read-more-button {
    width: 38px;
    height: 38px;
    border-radius: var(--r-pill);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    color: var(--tx);
    background: transparent;
    opacity: 1;
    transition: all .3s var(--ease);
}

body .rn-service:hover .read-more-button {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: translateX(4px);
}

/* ------------------------------------------------------------
   8. PORTFOLIO
   ------------------------------------------------------------ */
body .rn-portfolio {
    height: 100%;
    background: var(--canvas);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    cursor: pointer;
    box-shadow: none;
    transition: transform .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease);
}

body .rn-portfolio:hover {
    transform: translateY(-8px);
    border-color: rgba(43, 78, 255, .38);
    box-shadow: var(--shadow-lg);
}

body .rn-portfolio .thumbnail {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    margin: 0;
}

body .rn-portfolio .thumbnail img {
    width: 100% !important;
    height: 236px !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    display: block;
    transition: transform .7s var(--ease), filter .5s var(--ease);
}

body .rn-portfolio:hover .thumbnail img { transform: scale(1.06); }

body .rn-portfolio .portfolio-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(13, 15, 20, .25), rgba(13, 15, 20, .72));
    opacity: 0;
    transition: opacity .4s var(--ease);
}

body .rn-portfolio:hover .portfolio-overlay { opacity: 1; }

body .rn-portfolio .overlay-content {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 20px;
    border-radius: var(--r-pill);
    background: #fff;
    color: var(--ink);
    font-weight: 600;
    font-size: 14.1px;
    transform: translateY(10px);
    transition: transform .4s var(--ease);
}

body .rn-portfolio:hover .overlay-content { transform: translateY(0); }

body .rn-portfolio .content { padding: 24px 24px 26px; }

body .rn-portfolio .category-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

body .rn-portfolio .category-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-soft);
    border: 1px solid rgba(43, 78, 255, .16);
    border-radius: var(--r-pill);
    padding: 5px 11px;
}

body .rn-portfolio .rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13.1px;
    font-weight: 600;
    color: var(--tx-3);
    background: none;
    padding: 0;
}

body .rn-portfolio .rating-badge i { color: var(--warm); }

body .rn-portfolio .content .title {
    font-family: var(--font-display);
    font-size: 18.1px;
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1.35;
    color: var(--tx);
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

body .rn-portfolio .content .title i {
    flex-shrink: 0;
    color: var(--tx-3);
    transition: transform .35s var(--ease), color .35s var(--ease);
}

body .rn-portfolio:hover .content .title { color: var(--accent); }
body .rn-portfolio:hover .content .title i { color: var(--accent); transform: translate(3px, -3px); }

body .rn-portfolio .live-project-link { margin: 0; }

body .rn-portfolio .live-project-link .live-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14.1px;
    font-weight: 600;
    color: var(--tx-2);
    background: none !important;
    border: 0 !important;
    border-bottom: 1px solid var(--line-strong) !important;
    border-radius: 0 !important;
    padding: 0 0 3px !important;
    transition: all .3s var(--ease);
}

body .rn-portfolio .live-project-link .live-link:hover {
    color: var(--accent);
    border-bottom-color: var(--accent) !important;
}

body .rn-portfolio .live-project-link .live-link i { width: 15px; height: 15px; }

/* ------------------------------------------------------------
   9. PRICING
   ------------------------------------------------------------ */
body .pricing-main-title {
    font-size: 21.6px;
    font-weight: 600;
    letter-spacing: -.02em;
    color: var(--tx-3);
    text-align: center;
}

body .rn-pricing-table {
    height: 100%;
    display: flex;
}

body .rn-pricing-table .pricing-table-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: var(--canvas);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 38px 32px 34px;
    box-shadow: none;
    transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}

body .rn-pricing-table:hover .pricing-table-inner {
    transform: translateY(-6px);
    border-color: rgba(43, 78, 255, .38);
    box-shadow: var(--shadow-md);
}

body .rn-pricing-table .pricing-header {
    padding: 0 0 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--line);
    background: none;
    text-align: left;
}

body .rn-pricing-table .pricing-header .title {
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

body .rn-pricing-table .price-wrap .price {
    font-family: var(--font-display);
    font-size: clamp(27.2px, 2.6vw, 34.4px);
    font-weight: 700;
    letter-spacing: -.035em;
    color: var(--tx);
    display: block;
}

body .rn-pricing-table .pricing-body { padding: 0; }

body .rn-pricing-table .pricing-body .description {
    font-size: 15.4px;
    line-height: 1.68;
    color: var(--tx-2);
    margin-bottom: 24px;
}

body .rn-pricing-table .pricing-features { margin-top: auto; }

body .rn-pricing-table .feature-list { margin: 0; padding: 0; list-style: none; }

body .rn-pricing-table .feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0;
    padding: 10px 0;
    border: 0;
    font-size: 14.9px;
    line-height: 1.6;
    color: var(--tx-2);
}

body .rn-pricing-table .feature-list li .icon-container {
    background: var(--accent-soft) !important;
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
    margin-right: 12px !important;
    flex-shrink: 0;
    margin-top: 2px;
}

body .rn-pricing-table .feature-list li .icon-container svg {
    width: 13px !important;
    height: 13px !important;
    stroke: var(--accent) !important;
}

/* Middle plan gets the ink treatment */
body .rn-pricing-area .row > div:nth-child(2) .pricing-table-inner {
    background: var(--ink);
    border-color: var(--ink);
    position: relative;
    overflow: hidden;
}

body .rn-pricing-area .row > div:nth-child(2) .pricing-table-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(520px 320px at 82% -8%, rgba(43, 78, 255, .38), transparent 62%);
    pointer-events: none;
}

body .rn-pricing-area .row > div:nth-child(2) .pricing-table-inner > * { position: relative; z-index: 1; }

body .rn-pricing-area .row > div:nth-child(2) .pricing-header { border-bottom-color: var(--ink-line); }
body .rn-pricing-area .row > div:nth-child(2) .pricing-header .title { color: var(--warm); }
body .rn-pricing-area .row > div:nth-child(2) .price-wrap .price { color: #fff; }
body .rn-pricing-area .row > div:nth-child(2) .pricing-body .description { color: var(--tx-inv-2); }
body .rn-pricing-area .row > div:nth-child(2) .feature-list li { color: rgba(255, 255, 255, .82); }

body .rn-pricing-area .row > div:nth-child(2) .feature-list li .icon-container {
    background: rgba(255, 255, 255, .12) !important;
}

body .rn-pricing-area .row > div:nth-child(2) .feature-list li .icon-container svg { stroke: #fff !important; }

body .rn-pricing-area .row > div:nth-child(2):hover .pricing-table-inner {
    border-color: var(--accent);
    box-shadow: 0 30px 60px -28px var(--accent-glow);
}

/* ------------------------------------------------------------
   10. CONTACT
   ------------------------------------------------------------ */
body .contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

body .contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 22px;
    background: var(--canvas);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    box-shadow: none;
    transition: border-color .3s var(--ease), transform .3s var(--ease);
}

body .contact-info-card:hover {
    border-color: rgba(43, 78, 255, .38);
    transform: translateX(4px);
}

body .contact-info-card .info-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: var(--r-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft) !important;
    color: var(--accent) !important;
}

body .contact-info-card .info-icon svg { width: 19px; height: 19px; }

body .contact-info-card .info-content h5 {
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--tx-3);
    margin-bottom: 5px;
}

body .contact-info-card .info-content p,
body .contact-info-card .info-content a {
    font-size: 15.4px;
    font-weight: 500;
    color: var(--tx);
    margin: 0;
    word-break: break-word;
}

body .contact-info-card .info-content a:hover { color: var(--accent); }

body .contact-info-card .status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ok);
    margin-right: 8px;
    box-shadow: 0 0 0 4px rgba(23, 178, 106, .16);
}

body .contact-social-links {
    margin-top: 12px;
    padding: 20px 22px;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
}

body .contact-social-links h5 {
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--tx-3);
    margin-bottom: 14px;
}

body .contact-social-links .social-icons { display: flex; gap: 10px; }

body .contact-social-links .social-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--r-pill);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    background: transparent !important;
    color: var(--tx-2) !important;
    transition: all .3s var(--ease);
}

body .contact-social-links .social-icon:hover {
    background: var(--ink) !important;
    border-color: var(--ink);
    color: #fff !important;
    transform: translateY(-3px);
}

body .contact-social-links .social-icon svg { width: 18px; height: 18px; }

/* Form */
body .modern-contact-form {
    background: var(--canvas);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 40px;
    box-shadow: none;
}

body .modern-contact-form .form-header { margin-bottom: 30px; }

body .modern-contact-form .form-header h3 {
    font-size: 25.6px;
    font-weight: 700;
    letter-spacing: -.028em;
    margin-bottom: 8px;
}

body .modern-contact-form .form-header p { font-size: 15.4px; color: var(--tx-2); margin: 0; }

body .modern-contact-form .form-row { display: flex; gap: 18px; flex-wrap: wrap; }
body .modern-contact-form .form-col { flex: 1 1 240px; }

body .floating-label-group {
    position: relative;
    margin-bottom: 18px;
}

body .floating-label-group .input-icon {
    position: absolute;
    left: 16px;
    top: 22px;
    color: var(--tx-3);
    pointer-events: none;
    z-index: 2;
    transition: color .25s var(--ease);
}

body .floating-label-group .input-icon svg { width: 17px; height: 17px; }

body .floating-label-group input,
body .floating-label-group textarea {
    width: 100%;
    background: var(--canvas-alt) !important;
    border: 1px solid var(--line) !important;
    border-radius: var(--r-md) !important;
    padding: 24px 16px 10px 44px !important;
    font-family: var(--font-body);
    font-size: 15.4px;
    color: var(--tx) !important;
    box-shadow: none !important;
    transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}

body .floating-label-group textarea { padding-top: 26px !important; resize: vertical; min-height: 140px; }

body .floating-label-group input:focus,
body .floating-label-group textarea:focus {
    outline: none;
    background: var(--canvas) !important;
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 4px var(--accent-soft) !important;
}

body .floating-label-group label {
    position: absolute;
    left: 44px;
    top: 17px;
    font-size: 15.2px;
    color: var(--tx-3);
    pointer-events: none;
    transition: all .2s var(--ease);
    background: none;
    padding: 0;
    margin: 0;
}

body .floating-label-group input:focus + label,
body .floating-label-group input:not(:placeholder-shown) + label,
body .floating-label-group textarea:focus + label,
body .floating-label-group textarea:not(:placeholder-shown) + label {
    top: 8px;
    left: 44px;
    font-family: var(--font-mono);
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent);
}

body .modern-contact-form .submit-btn,
body button.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: auto;
    min-width: 200px;
    padding: 16px 32px;
    border: 1px solid var(--ink);
    border-radius: var(--r-pill);
    background: var(--ink) !important;
    color: #fff !important;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15.4px;
    cursor: pointer;
    transition: all .3s var(--ease);
}

body .modern-contact-form .submit-btn:hover,
body button.submit-btn:hover {
    background: var(--accent) !important;
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -12px var(--accent-glow);
}

/* ------------------------------------------------------------
   11. FOOTER
   ------------------------------------------------------------ */
body .rn-footer-area {
    background: var(--ink) !important;
    border-top: 0 !important;
    padding: 96px 0 0 !important;
    position: relative;
    overflow: hidden;
}

body .rn-footer-area::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(760px 420px at 12% 0%, rgba(43, 78, 255, .20), transparent 60%);
    pointer-events: none;
}

body .rn-footer-area .container { position: relative; z-index: 1; }

body .rn-footer-area .footer-logo { height: 40px; width: auto; }

body .rn-footer-area .footer-description {
    color: var(--tx-inv-2) !important;
    font-size: 15.4px;
    line-height: 1.7;
    max-width: 40ch;
}

body .rn-footer-area .widget-title,
body .rn-footer-area .social-title {
    font-family: var(--font-mono) !important;
    font-size: 10.5px !important;
    font-weight: 600 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
    color: rgba(255, 255, 255, .45) !important;
    margin-bottom: 20px !important;
}

body .rn-footer-area .footer-links { margin: 0; padding: 0; list-style: none; }

body .rn-footer-area .footer-links li { margin-bottom: 2px; }

body .rn-footer-area .footer-links li a {
    display: inline-block;
    padding: 6px 0 !important;
    background: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: var(--tx-inv-2) !important;
    font-size: 15.2px !important;
    font-weight: 400 !important;
    width: auto !important;
    transition: color .25s var(--ease), transform .25s var(--ease);
}

body .rn-footer-area .footer-links li a::before { display: none !important; content: none !important; }

body .rn-footer-area .footer-links li a:hover {
    color: #fff !important;
    transform: translateX(4px);
    background: none !important;
}

body .rn-footer-area .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

body .rn-footer-area .contact-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: var(--r-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .07) !important;
    border: 1px solid var(--ink-line);
    color: #fff !important;
}

body .rn-footer-area .contact-icon svg { width: 17px; height: 17px; }

body .rn-footer-area .contact-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .42);
    margin-bottom: 3px;
}

body .rn-footer-area .contact-value {
    color: #fff !important;
    font-size: 15.2px;
    font-weight: 500;
    word-break: break-word;
}

body .rn-footer-area .contact-value:hover { color: var(--warm) !important; }

body .rn-footer-area .social-share { gap: 10px; margin: 0; padding: 0; }

body .rn-footer-area .social-share li a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-pill);
    border: 1px solid var(--ink-line);
    background: rgba(255, 255, 255, .05) !important;
    color: #fff !important;
    transition: all .3s var(--ease);
}

body .rn-footer-area .social-share li a:hover {
    background: #fff !important;
    color: var(--ink) !important;
    border-color: #fff;
    transform: translateY(-3px);
}

body .rn-footer-area .footer-bottom {
    margin-top: 72px;
    padding: 26px 0;
    border-top: 1px solid var(--ink-line);
}

body .rn-footer-area .copyright-text {
    color: rgba(255, 255, 255, .5) !important;
    font-size: 14.1px;
    margin: 0;
}

body .rn-footer-area .copyright-text .author-link { color: #fff !important; font-weight: 500; }
body .rn-footer-area .copyright-text .author-link:hover { color: var(--warm) !important; }

body .rn-footer-area .footer-bottom-links {
    display: flex;
    gap: 26px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

body .rn-footer-area .footer-bottom-links a {
    color: rgba(255, 255, 255, .5) !important;
    font-size: 14.1px;
}

body .rn-footer-area .footer-bottom-links a:hover { color: #fff !important; }

/* ------------------------------------------------------------
   12. MODALS
   ------------------------------------------------------------ */
body .modal-content {
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

body .modal-header {
    border-bottom: 1px solid var(--line);
    padding: 24px 30px;
    background: var(--canvas-alt);
}

body .modal-header .modal-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -.02em;
}

body .modal-body { padding: 30px; }
body .modal-body img { border-radius: var(--r-md); }
body .modal-footer { border-top: 1px solid var(--line); padding: 18px 30px; }
body .modal-backdrop.show { opacity: .6; }

/* ------------------------------------------------------------
   13. UTILITIES / MISC
   ------------------------------------------------------------ */
body .backto-top > div {
    background: var(--ink) !important;
    border-radius: var(--r-pill);
    box-shadow: var(--shadow-md);
}

/* Scrollbar */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--canvas-alt); }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: var(--r-pill); border: 3px solid var(--canvas-alt); }
::-webkit-scrollbar-thumb:hover { background: var(--tx-3); }

[data-aos] { will-change: transform, opacity; }

/* ------------------------------------------------------------
   14. RESPONSIVE
   ------------------------------------------------------------ */
@media (max-width: 1199px) {
    body .rn-header .header-right { gap: 6px; }
}

@media (max-width: 991px) {
    body .rn-section-gap { padding: 88px 0 !important; }
    body .rn-slider-area { padding: 150px 0 96px; }
    /* portrait sizing now lives with the arch block above */
    body .modern-contact-form { padding: 30px 24px; }
    body .contact-info-wrapper { margin-bottom: 26px; }
    body .rn-footer-area { padding-top: 72px !important; }
    body .rn-footer-area .footer-bottom-links { justify-content: flex-start; margin-top: 14px; }
    body .section-title .title { max-width: none; }
}

@media (max-width: 767px) {
    body .container { padding-left: 20px; padding-right: 20px; }
    body .rn-section-gap { padding: 72px 0 !important; }
    body .rn-slider-area { padding: 130px 0 80px; }
    body .rn-slider-area .title { font-size: clamp(32px, 8.5vw, 41.6px); }
    body .about-me-section { padding: 22px 20px; }
    body .about-me-section .key-facts ul { grid-template-columns: 1fr; }
    body .rn-service { padding: 28px 24px; }
    body .rn-pricing-table .pricing-table-inner { padding: 30px 24px; }
    body .modern-contact-form { padding: 26px 20px; }
    body .modern-contact-form .form-row { gap: 0; }
    body .rn-portfolio .content { padding: 20px; }
    body .modal-body { padding: 22px; }
    body .modal-header { padding: 20px 22px; }
}

/* ------------------------------------------------------------
   15. SERVICES — BENTO GRID
   Asymmetric tiles. Column spans are declared per modifier so the
   arrangement stays readable in markup order on narrow screens.
   ------------------------------------------------------------ */
body .service-bento {
    display: grid;
    /* six tracks give the 3+3 / 2+4 / 6 rhythm the tiles below rely on */
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    align-items: stretch;
}

body .bento-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: var(--canvas);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 30px 28px;
    overflow: hidden;
    transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}

body .bento-tile:hover {
    transform: translateY(-6px);
    border-color: rgba(43, 78, 255, .38);
    box-shadow: var(--shadow-md);
}

/* Tile spans — row 1/2: lg + sm + sm | row 3: narrow + wide | row 4: full */
body .bento-tile.bento-lg     { grid-column: span 3; grid-row: span 2; padding: 38px 34px; }
body .bento-tile.bento-sm     { grid-column: span 3; }
body .bento-tile.bento-narrow { grid-column: span 2; }
body .bento-tile.bento-wide   { grid-column: span 4; }
body .bento-tile.bento-full   { grid-column: span 6; }

/* The full-width tile reads better as a horizontal band */
body .bento-tile.bento-full {
    flex-direction: row;
    align-items: center;
    gap: 26px;
}

body .bento-tile.bento-full .bento-body { flex: 1; }
body .bento-tile.bento-full .bento-desc { max-width: 78ch; }

body .bento-body { flex: 1; }

body .bento-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: var(--r-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    color: var(--accent);
    transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease);
}

body .bento-tile:hover .bento-icon {
    background: var(--accent);
    color: #fff;
    transform: rotate(-6deg) scale(1.05);
}

body .bento-icon svg,
body .bento-icon i { width: 23px; height: 23px; stroke-width: 1.7; }

body .bento-title {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1.3;
    color: var(--tx);
    margin: 0 0 10px;
}

body .bento-desc {
    font-size: 15px;
    line-height: 1.68;
    color: var(--tx-2);
    margin: 0;
}

/* Tech tags, feature tile only */
body .bento-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

body .bento-tags li {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: var(--r-pill);
    border: 1px solid var(--line);
    color: var(--tx-2);
}

/* --- Ink feature tile --- */
body .bento-tile.bento-ink {
    background: var(--ink);
    border-color: var(--ink);
}

body .bento-tile.bento-ink::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(560px 340px at 84% -10%, rgba(43, 78, 255, .38), transparent 62%),
        radial-gradient(420px 300px at 6% 108%, rgba(255, 159, 74, .16), transparent 60%);
    pointer-events: none;
}

body .bento-tile.bento-ink::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(circle at 40% 30%, #000, transparent 76%);
    mask-image: radial-gradient(circle at 40% 30%, #000, transparent 76%);
    pointer-events: none;
}

body .bento-tile.bento-ink > * { position: relative; z-index: 1; }

body .bento-tile.bento-ink .bento-icon {
    background: rgba(255, 255, 255, .10);
    color: #fff;
    border: 1px solid var(--ink-line);
}

body .bento-tile.bento-ink:hover .bento-icon { background: #fff; color: var(--ink); }

body .bento-tile.bento-ink .bento-title { color: #fff; font-size: 26px; }
body .bento-tile.bento-ink .bento-desc { color: var(--tx-inv-2); font-size: 16px; }

body .bento-tile.bento-ink .bento-tags li {
    border-color: var(--ink-line);
    background: rgba(255, 255, 255, .05);
    color: rgba(255, 255, 255, .82);
}

body .bento-tile.bento-ink:hover {
    border-color: var(--accent);
    box-shadow: 0 30px 60px -28px var(--accent-glow);
}

/* --- Warm accent tile --- */
body .bento-tile.bento-accent {
    background: var(--canvas-alt);
    border-color: var(--line-strong);
}

body .bento-tile.bento-accent .bento-icon {
    background: rgba(255, 159, 74, .16);
    color: #b8620d;
}

body .bento-tile.bento-accent:hover {
    border-color: var(--warm);
    box-shadow: 0 20px 44px -22px rgba(255, 159, 74, .5);
}

body .bento-tile.bento-accent:hover .bento-icon { background: var(--warm); color: var(--ink); }

/* --- Responsive --- */
@media (max-width: 991px) {
    body .service-bento { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    body .bento-tile.bento-lg,
    body .bento-tile.bento-full { grid-column: span 2; grid-row: auto; }
    body .bento-tile.bento-lg { padding: 30px 26px; }
    body .bento-tile.bento-sm,
    body .bento-tile.bento-narrow,
    body .bento-tile.bento-wide { grid-column: span 1; }
    body .bento-tile.bento-ink .bento-title { font-size: 22px; }
}

@media (max-width: 575px) {
    body .service-bento { grid-template-columns: 1fr; }
    body .bento-tile.bento-lg,
    body .bento-tile.bento-sm,
    body .bento-tile.bento-narrow,
    body .bento-tile.bento-wide,
    body .bento-tile.bento-full { grid-column: span 1; }
    body .bento-tile.bento-full { flex-direction: column; align-items: stretch; gap: 18px; }
    body .bento-tile { padding: 26px 22px; }
}

/* ------------------------------------------------------------
   16. PRICING - spotlight cards + comparison table
   ------------------------------------------------------------ */
body .section-title .pricing-intro {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--tx-3);
    margin: 14px 0 0;
}

/* --- Tier cards --- */
body .plan-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}

body .plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: var(--canvas);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 32px 28px;
    transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}

body .plan-card:hover {
    transform: translateY(-5px);
    border-color: rgba(43, 78, 255, .34);
    box-shadow: var(--shadow-md);
}

body .plan-name {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--tx-3);
    margin: 0 0 12px;
}

body .plan-price {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 600;
    letter-spacing: -.03em;
    line-height: 1.1;
    color: var(--tx);
    margin: 0;
}

body .plan-meta {
    font-size: 13px;
    color: var(--tx-3);
    margin: 8px 0 0;
}

body .plan-desc {
    flex: 1;
    font-size: 15px;
    line-height: 1.68;
    color: var(--tx-2);
    margin: 0;
}

body .plan-cta {
    align-self: flex-start;
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--accent);
    text-decoration: none;
    padding: 11px 20px;
    border: 1px solid var(--line-strong);
    border-radius: var(--r-pill);
    transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}

body .plan-cta:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* --- Featured tier --- */
body .plan-card--featured {
    background: var(--ink);
    border-color: var(--ink);
}

body .plan-card--featured::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(520px 300px at 82% -14%, rgba(43, 78, 255, .34), transparent 62%);
    pointer-events: none;
}

body .plan-card--featured > * {
    position: relative;
    z-index: 1;
}

/* Kept in normal flow: absolute positioning overlapped the plan name
   as soon as the badge text wrapped or the font changed (fr / ar). */
body .plan-badge {
    align-self: flex-start;
    z-index: 2;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink);
    background: var(--warm);
    padding: 5px 11px;
    border-radius: var(--r-pill);
}

body .plan-card--featured .plan-name {
    color: rgba(255, 255, 255, .62);
}

body .plan-card--featured .plan-price {
    color: #fff;
}

body .plan-card--featured .plan-meta {
    color: rgba(255, 255, 255, .55);
}

body .plan-card--featured .plan-desc {
    color: var(--tx-inv-2);
}

body .plan-card--featured .plan-cta {
    color: #fff;
    border-color: var(--ink-line);
    background: rgba(255, 255, 255, .06);
}

body .plan-card--featured .plan-cta:hover {
    background: #fff;
    color: var(--ink);
    border-color: #fff;
}

body .plan-card--featured:hover {
    border-color: var(--accent);
    box-shadow: 0 28px 56px -26px var(--accent-glow);
}

/* --- Comparison table --- */
body .plan-compare {
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--canvas);
    overflow: hidden;
}

body .compare-head {
    padding: 24px 28px;
    border-bottom: 1px solid var(--line);
}

body .compare-title {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -.02em;
    color: var(--tx);
    margin: 0;
}

body .compare-hint {
    display: none;
    font-size: 13px;
    color: var(--tx-3);
    margin: 6px 0 0;
}

/* Wide table scrolls inside its own container, never the page */
body .compare-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

body .compare-table {
    width: 100%;
    min-width: 660px;
    border-collapse: collapse;
    font-size: 14.5px;
}

body .compare-table th,
body .compare-table td {
    padding: 15px 20px;
    text-align: center;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
    color: var(--tx-2);
}

body .compare-table tbody tr:last-child th,
body .compare-table tbody tr:last-child td {
    border-bottom: 0;
}

/* First column: the feature label */
body .compare-table thead th:first-child,
body .compare-table tbody th {
    text-align: start;
    font-weight: 500;
    color: var(--tx);
    min-width: 240px;
}

body .compare-table thead th {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--tx-3);
    background: var(--canvas-alt);
    border-bottom: 1px solid var(--line-strong);
}

body .compare-table tbody tr:hover {
    background: var(--canvas-alt);
}

/* Recommended column gets a tinted lane */
body .compare-table .is-featured {
    background: var(--accent-soft);
    color: var(--tx);
    font-weight: 500;
}

body .compare-table thead th.is-featured {
    color: var(--accent);
    background: rgba(43, 78, 255, .12);
}

body .compare-table tbody tr:hover .is-featured {
    background: rgba(43, 78, 255, .12);
}

/* Check / dash marks, drawn in CSS so they inherit theme colours */
body .compare-table .mark {
    display: inline-block;
    width: 18px;
    height: 18px;
    position: relative;
}

body .compare-table .mark-yes::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 9px;
    width: 7px;
    height: 2px;
    background: var(--ok);
    transform: rotate(45deg);
    transform-origin: left center;
    border-radius: 1px;
}

body .compare-table .mark-yes::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 12px;
    width: 12px;
    height: 2px;
    background: var(--ok);
    transform: rotate(-55deg);
    transform-origin: left center;
    border-radius: 1px;
}

body .compare-table .mark-no::before {
    content: "";
    position: absolute;
    left: 3px;
    top: 8px;
    width: 12px;
    height: 2px;
    background: var(--line-strong);
    border-radius: 1px;
}

/* --- Info panels: includes / add-ons --- */
body .pricing-panel {
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--canvas-alt);
    padding: 26px 28px;
}

body .panel-title {
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--tx-3);
    margin: 0 0 18px;
}

body .panel-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

body .panel-list li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--tx-2);
}

body .panel-list svg,
body .panel-list i {
    flex-shrink: 0;
    width: 17px;
    height: 17px;
    margin-top: 3px;
    stroke-width: 2.4;
}

body .panel-list--check svg {
    color: var(--ok);
}

body .panel-list--plus svg {
    color: var(--accent);
}

/* --- How it works --- */
body .step-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

body .step {
    border-top: 2px solid var(--line-strong);
    padding-top: 18px;
}

body .step-num {
    display: block;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--accent);
    margin-bottom: 8px;
}

body .step p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--tx-2);
    margin: 0;
}

/* --- Responsive --- */
@media (max-width: 991px) {
    body .plan-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    body .plan-card--featured {
        order: -1;
    }

    body .compare-hint {
        display: block;
    }

    body .panel-list {
        grid-template-columns: 1fr;
    }

    body .step-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 575px) {
    body .plan-card {
        padding: 26px 22px;
    }

    body .plan-price {
        font-size: 26px;
    }

    body .compare-head,
    body .pricing-panel {
        padding: 20px 20px;
    }

    body .compare-table th,
    body .compare-table td {
        padding: 13px 15px;
    }
}

/* ============================================================
   ABOUT STRIP
   The bio + key facts used to live inside the hero's left column,
   which made that column 982px tall against a 679px portrait. With
   align-items:center that left ~186px of dead space above the photo.
   Moved out here so the two hero columns balance.
   ============================================================ */
body .rn-about-strip {
    padding: 64px 0 0;
}

body .about-strip {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 40px 56px;
    align-items: start;
    padding: 34px 0 0;
}

body .about-strip-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--tx-3);
    margin-bottom: 14px;
}

body .about-strip-label::before {
    content: "";
    width: 26px;
    height: 1px;
    background: var(--accent);
}

body .about-strip-bio .about-me-content {
    font-size: 17px;
    line-height: 1.7;
    color: var(--tx-2);
    margin: 0;
    max-width: 62ch;
}

/* Key facts as a bordered rail rather than a bulleted list */
body .about-strip-facts {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
}

body .about-strip-facts li {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 16px 0 16px 20px;
    border-left: 2px solid var(--line);
    transition: border-color .3s var(--ease);
}

body .about-strip-facts li:hover {
    border-left-color: var(--accent);
}

body .about-strip-facts li strong {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--tx-3);
}

body .about-strip-facts li span {
    font-size: 16px;
    line-height: 1.5;
    color: var(--tx);
    font-weight: 500;
}

@media (max-width: 991px) {
    body .rn-about-strip {
        padding-top: 48px;
    }

    body .about-strip {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-top: 26px;
    }

    body .about-strip-bio .about-me-content {
        font-size: 16px;
    }
}

/* --- RTL --- */
[dir="rtl"] .about-strip-bio,
[dir="rtl"] .about-strip-facts li {
    text-align: right;
}

[dir="rtl"] .about-strip-facts li {
    padding-left: 0;
    padding-right: 20px;
    border-left: 0;
    border-right: 2px solid var(--line);
}

[dir="rtl"] .about-strip-facts li:hover {
    border-right-color: var(--accent);
}
