/* — Persian display/body font (self-hosted) —————————————————————— */
      @font-face {
        font-family: "Reith Qalam";
        src: url("fonts/ReithQalam_W_Rg.woff2") format("woff2");
        font-weight: 400;
        font-style: normal;
        font-display: swap;
      }
      @font-face {
        font-family: "Reith Qalam";
        src: url("fonts/ReithQalam_W_Bd.woff2") format("woff2");
        font-weight: 700;
        font-style: normal;
        font-display: swap;
      }

      :root {
        --ink: #0b1428;
        --ink-soft: #3d4a6b;
        --muted: #6b7280;
        --line: #e8e9ed;
        --line-soft: #f1f2f4;
        --paper: #ffffff;
        --paper-cool: #fafafa;
        --accent: #1e2d56;
        --container: 1080px;
        --gutter: 24px;
      }

      *, *::before, *::after { box-sizing: border-box; }
      * { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

      html {
        scroll-behavior: smooth;
      }
      body {
        margin: 0;
        font-family: "Geist", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
        font-size: 16px;
        line-height: 1.55;
        color: var(--ink);
        background: var(--paper);
        text-rendering: optimizeLegibility;
      }
      img { max-width: 100%; height: auto; display: block; }
      a { color: inherit; text-decoration: none; }
      button { font: inherit; cursor: pointer; }

      ::selection { background: rgba(11, 20, 40, 0.12); color: var(--ink); }
      :focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }

      /* — REVEAL — block fade-up on viewport enter ————————————————— */
      .reveal {
        opacity: 0;
        transform: translateY(18px);
        transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
      }
      .reveal.is-in { opacity: 1; transform: none; }
      @media (prefers-reduced-motion: reduce) {
        .reveal { opacity: 1; transform: none; transition: none; }
      }

      /* Scroll progress bar — top hairline */
      .scroll-progress {
        position: fixed;
        top: 0; left: 0;
        height: 2px;
        width: 0%;
        background: var(--ink);
        z-index: 60;
        transition: width 0.05s linear;
      }

      /* — Sticky "go to top" button ————————————————————————————————— */
      .to-top {
        position: fixed;
        bottom: 28px; right: 24px;   /* center-aligned with nav-toggle (right:20 + w56/2) */
        width: 48px; height: 48px;
        display: inline-flex; align-items: center; justify-content: center;
        background: var(--ink);
        color: var(--paper);
        border: 0;
        border-radius: 999px;
        cursor: pointer;
        z-index: 90;
        opacity: 0;
        transform: translateY(16px) scale(0.9);
        pointer-events: none;
        box-shadow: 0 8px 24px rgba(11, 20, 40, 0.18);
        transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s ease;
      }
      .to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
      .to-top:hover { background: #000; }
      .to-top svg { width: 20px; height: 20px; }
      body.menu-open .to-top { opacity: 0 !important; pointer-events: none !important; }
      @media (min-width: 768px) { .to-top { bottom: 36px; right: 44px; width: 52px; height: 52px; } }  /* center-aligned with nav-toggle (right:40 + w60/2) */
      @media (prefers-reduced-motion: reduce) { .to-top { transition: opacity 0.2s ease; } }

      .mono {
        font-family: "Geist Mono", "Reith Qalam", ui-monospace, monospace;
        font-size: 0.72rem;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--muted);
      }

      .container {
        max-width: var(--container);
        margin: 0 auto;
        padding: 0 var(--gutter);
      }

      /* — NAV ————————————————————————————————————— */
      .nav {
        position: sticky;
        top: 0;
        z-index: 50;
        background: rgba(255, 255, 255, 0.82);
        -webkit-backdrop-filter: saturate(180%) blur(14px);
                backdrop-filter: saturate(180%) blur(14px);
        border-bottom: 1px solid transparent;
        transition: border-color 0.3s ease, background 0.3s ease;
      }
      .nav.is-scrolled { border-bottom-color: var(--line); }
      .nav-row {
        height: 64px;
        display: flex;
        align-items: center;
        justify-content: space-between;
      }
      .logo img { height: 28px; width: auto; }
      .nav-links {
        display: none;
        gap: 32px;
        font-size: 14px;
        font-weight: 500;
      }
      .nav-links a {
        color: var(--ink-soft);
        transition: color 0.2s ease;
      }
      .nav-links a:hover { color: var(--ink); }
      .nav-links a.is-current { color: var(--ink); }
      .nav-links a.is-current::after {
        content: "";
        display: block;
        height: 1.5px;
        width: 100%;
        background: var(--ink);
        margin-top: 4px;
        border-radius: 1px;
      }

      /* TEXT ROLL — char-by-char roll on hover (port of motion/react TextRoll) */
      .text-roll {
        position: relative;
        display: inline-block;
        overflow: hidden;
        vertical-align: middle;
        line-height: 1.3;   /* room for diacritics/descenders (İ dots, ş/ç) — was 1, which clipped them */
        padding-bottom: 0.04em; /* tiny extra for cedillas */
      }
      .text-roll .tr-top,
      .text-roll .tr-bot {
        display: inline-block;
        white-space: nowrap;
      }
      .text-roll .tr-bot {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
      }
      .text-roll .tr-top > span,
      .text-roll .tr-bot > span {
        display: inline-block;
        transition: transform 0.45s cubic-bezier(0.65, 0, 0.25, 1);
        transition-delay: var(--d, 0s);
        will-change: transform;
      }
      .text-roll .tr-top > span { transform: translateY(0); }
      .text-roll .tr-bot > span { transform: translateY(100%); }
      /* Trigger via :hover on the link/wrapper */
      .menu-overlay a:hover .text-roll .tr-top > span,
      .text-roll-trigger:hover .text-roll .tr-top > span { transform: translateY(-100%); }
      .menu-overlay a:hover .text-roll .tr-bot > span,
      .text-roll-trigger:hover .text-roll .tr-bot > span { transform: translateY(0); }
      @media (prefers-reduced-motion: reduce) {
        .text-roll .tr-top > span,
        .text-roll .tr-bot > span { transition: none; }
      }
      @media (min-width: 860px) {
        .nav-links { display: flex; }
      }
      .nav-cta {
        font-size: 14px;
        font-weight: 500;
        color: var(--ink);
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 9px 16px;
        border: 1px solid var(--line);
        border-radius: 999px;
        transition: border-color 0.2s ease, background 0.2s ease;
      }
      .nav-cta:hover { border-color: var(--ink); background: var(--paper-cool); }
      .nav-cta svg { width: 11px; height: 11px; }

      /* — Language switcher ————————————————————————————————————————— */
      .lang-switch {
        display: inline-flex;
        align-items: center;
        gap: 2px;
        padding: 3px;
        border: 1px solid var(--line);
        border-radius: 999px;
        margin-right: 4px;
      }
      .lang-btn {
        font-family: "Geist Mono", "Reith Qalam", ui-monospace, monospace;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: var(--muted);
        background: transparent;
        border: 0;
        padding: 5px 9px;
        border-radius: 999px;
        cursor: pointer;
        transition: color 0.2s ease, background 0.2s ease;
      }
      .lang-btn:hover { color: var(--ink); }
      .lang-btn.is-active { color: var(--paper); background: var(--ink); }
      @media (max-width: 600px) { .lang-switch { display: none; } }
      /* Mobile menu language row */
      .nav-mobile-lang {
        display: flex;
        flex-wrap: wrap;        /* 4 languages may not fit one row on small phones */
        gap: 8px;
        margin-top: 12px;
        padding-top: 20px;
        border-top: 1px solid var(--line);
      }
      .nav-mobile-lang .lang-btn {
        font-size: 14px;
        padding: 8px 16px;
        border: 1px solid var(--line);
      }

      /* — Hero top actions (CTA + hamburger, top-right) ————————————————— */
      /* — Single nav toggle — top-level fixed (lives outside the transformed hero,
           so position:fixed is reliable). Morphs hamburger <-> X in the SAME spot.
           Resting position matches the hero logo line (top-right). — */
      .nav-toggle {
        position: fixed;
        top: 28px; right: 20px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 56px; height: 56px;
        padding: 0;
        background: #fff;
        border: 0;
        border-radius: 50%;
        cursor: pointer;
        z-index: 150;             /* above overlay (100) */
        color: var(--ink);
        box-shadow: none;
        transition: opacity 0.2s ease, background 0.3s ease, transform 0.2s ease;
      }
      .nav-toggle:hover { transform: scale(1.05); }
      .nav-toggle:active { transform: scale(0.96); }
      .nav-toggle .mt-icon {
        width: 44px; height: 44px;
        transition: transform 0.5s ease-in-out;
      }
      .nav-toggle .mt-p1 {
        stroke-dasharray: 12 63;
        transition: stroke-dasharray 0.5s ease-in-out, stroke-dashoffset 0.5s ease-in-out;
      }
      @media (min-width: 768px) { .nav-toggle { top: 36px; right: 40px; width: 60px; height: 60px; } .nav-toggle .mt-icon { width: 48px; height: 48px; } }
      @media (min-width: 1024px) { .nav-toggle { top: 44px; right: 64px; } }
      /* When menu open, blend with the white overlay (no pill) */
      body.menu-open .nav-toggle { background: transparent; border-color: transparent; box-shadow: none; }
      /* Open state — same button, same place, morphs to X */
      body.menu-open .nav-toggle .mt-icon { transform: rotate(-45deg); }
      body.menu-open .nav-toggle .mt-p1 { stroke-dasharray: 20 300; stroke-dashoffset: -32.42px; }
      @media (prefers-reduced-motion: reduce) {
        .nav-toggle .mt-icon, .nav-toggle .mt-p1 { transition: none; }
      }

      /* — ARABIC (RTL) ———————————————————————————————————————————————
         Arabic font (Geist has no Arabic glyphs) + right-to-left mirroring. */
      html[lang="ar"] body,
      html[lang="ar"] .h2,
      html[lang="ar"] .lede,
      html[lang="ar"] .hero-cine-title,
      html[lang="ar"] .menu-overlay a,
      html[lang="ar"] .lang-btn[data-lang="ar"] {
        font-family: "Cairo", "Geist", system-ui, sans-serif;
      }
      /* Solid (non-fill) hero title for cursive scripts */
      .t-char-solid {
        color: var(--ink);
        -webkit-text-fill-color: var(--ink);
        -webkit-text-stroke: 0;
      }
      html[lang="ar"] .hero-cine-title { font-weight: 900; letter-spacing: 0; }
      /* Arabic menu items: smaller so full words fit (Cairo runs wider than Geist) */
      html[lang="ar"] .menu-overlay a:not(.menu-overlay-cta) { font-size: clamp(24px, 5vh, 46px); line-height: 1.25; }
      html[lang="ar"] .menu-overlay-inner { gap: clamp(4px, 1vh, 12px); }

      /* — PERSIAN / FARSI (RTL) ————————————————————————————————————————
         Reith Qalam (self-hosted, wght 400/700) covers the Persian glyphs
         (پ چ ژ گ ک ی); RTL mirroring is shared with Arabic via the
         html[dir="rtl"] rules below. */
      html[lang="fa"] body,
      html[lang="fa"] .h2,
      html[lang="fa"] .lede,
      html[lang="fa"] .hero-cine-title,
      html[lang="fa"] .menu-overlay a,
      html[lang="fa"] .lang-btn[data-lang="fa"] {
        font-family: "Reith Qalam", "Vazirmatn", "Geist", system-ui, sans-serif;
      }
      html[lang="fa"] .hero-cine-title { font-weight: 700; letter-spacing: 0; }
      html[lang="fa"] .menu-overlay a:not(.menu-overlay-cta) { font-size: clamp(24px, 5vh, 46px); line-height: 1.35; }
      html[lang="fa"] .menu-overlay-inner { gap: clamp(4px, 1vh, 12px); }
      /* The two floating buttons live on the right in LTR — move them left in RTL */
      html[dir="rtl"] .nav-toggle { right: auto; left: 20px; }
      @media (min-width: 768px) { html[dir="rtl"] .nav-toggle { right: auto; left: 40px; } }
      @media (min-width: 1024px) { html[dir="rtl"] .nav-toggle { right: auto; left: 64px; } }
      html[dir="rtl"] .to-top { right: auto; left: 24px; }
      @media (min-width: 768px) { html[dir="rtl"] .to-top { right: auto; left: 44px; } }
      /* Logo aligns with toggle: in RTL the hero mirrors so logo sits on the right — keep it */
      html[dir="rtl"] .mono { letter-spacing: 0; }  /* mono eyebrows: drop wide tracking for Arabic */

      /* — Fullscreen menu overlay ————————————————————————————————————— */
      .menu-overlay {
        position: fixed;
        inset: 0;
        background: rgba(255, 255, 255, 0.97);
        -webkit-backdrop-filter: blur(20px) saturate(150%);
                backdrop-filter: blur(20px) saturate(150%);
        z-index: 100;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1);
        display: flex;
        align-items: safe center;   /* never clip when content is taller than viewport */
        justify-content: center;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
      }
      body.menu-open .menu-overlay { opacity: 1; pointer-events: auto; }
      .menu-overlay-inner {
        display: flex;
        flex-direction: column;
        gap: clamp(2px, 0.6vh, 8px);
        padding: 96px var(--gutter) 48px;
        width: 100%;
        max-width: 640px;
      }
      .menu-overlay a:not(.menu-overlay-cta) {
        font-size: clamp(26px, 5.6vh, 56px);
        font-weight: 700;
        letter-spacing: -0.03em;
        line-height: 1.2;
        color: var(--ink);
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s ease;
      }
      .menu-overlay a:not(.menu-overlay-cta):hover { color: var(--ink-soft); }
      body.menu-open .menu-overlay a:not(.menu-overlay-cta) { opacity: 1; transform: none; }
      body.menu-open .menu-overlay a:nth-child(1) { transition-delay: 0.08s; }
      body.menu-open .menu-overlay a:nth-child(2) { transition-delay: 0.14s; }
      body.menu-open .menu-overlay a:nth-child(3) { transition-delay: 0.20s; }
      body.menu-open .menu-overlay a:nth-child(4) { transition-delay: 0.26s; }
      body.menu-open .menu-overlay a:nth-child(5) { transition-delay: 0.32s; }
      .menu-overlay-cta {
        margin-top: clamp(14px, 2.4vh, 28px);
        display: inline-flex;
        align-items: center;
        gap: 8px;
        width: fit-content;
        padding: 14px 28px;
        background: var(--ink);
        color: var(--paper);
        border-radius: 999px;
        font-size: 16px;
        font-weight: 600;
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.5s ease 0.38s, transform 0.5s ease 0.38s, background 0.2s ease;
      }
      body.menu-open .menu-overlay-cta { opacity: 1; transform: none; }
      .menu-overlay-cta:hover { background: #000; }
      .menu-overlay .nav-mobile-lang {
        margin-top: clamp(18px, 3vh, 36px);
        opacity: 0;
        transition: opacity 0.5s ease 0.44s;
      }
      body.menu-open .menu-overlay .nav-mobile-lang { opacity: 1; }
      @media (prefers-reduced-motion: reduce) {
        .menu-overlay, .menu-overlay a, .menu-overlay-cta, .menu-overlay .nav-mobile-lang { transition: opacity 0.15s ease; transform: none !important; }
      }

      /* — CINEMATIC LIGHT HERO (port of experience-hero, white theme) ——— */
      .hero-cine-section {
        position: relative;
        height: 250vh;  /* sticky scroll range — chars fill across 150vh of scroll */
        background: var(--paper);
      }
      .hero-cine {
        position: sticky;
        top: 0;
        min-height: 100vh;
        width: 100%;
        background: var(--paper);
        color: var(--ink);
        overflow: hidden;
        display: flex;
        flex-direction: column;
        padding: 96px 28px 56px;
      }
      @media (prefers-reduced-motion: reduce) {
        .hero-cine-section { height: auto; }
        .hero-cine { position: relative; }
      }
      .hero-cine ::selection { background: var(--ink); color: var(--paper); }
      @media (min-width: 768px) { .hero-cine { padding: 96px 60px 64px; } }
      @media (min-width: 1024px) { .hero-cine { padding: 110px 80px 80px; } }

      /* Reveal wrapper — content blur-in entry */
      .hero-cine-reveal {
        position: relative;
        z-index: 10;
        width: 100%;
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 40px;
        opacity: 0;
        filter: blur(30px);
        transform: scale(1.02);
        transition: opacity 2s cubic-bezier(0.16, 1, 0.3, 1),
                    filter 2s cubic-bezier(0.16, 1, 0.3, 1),
                    transform 2s cubic-bezier(0.16, 1, 0.3, 1);
      }
      .hero-cine-reveal.is-ready {
        opacity: 1;
        filter: blur(0);
        transform: scale(1);
      }
      @media (min-width: 768px) { .hero-cine-reveal { flex-direction: row; gap: 40px; align-items: stretch; } }

      /* Left column */
      .hero-cine-left {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding-bottom: 32px;
        gap: 40px;
      }
      @keyframes cine-ping {
        75%, 100% { transform: scale(2.4); opacity: 0; }
      }
      /* Hero logo (replaces brand label) — pulled up to align with the fixed nav-toggle */
      .hero-cine-logo {
        display: inline-block;
        width: fit-content;
        margin-top: -68px;   /* aligns logo center with hamburger center (mobile) */
      }
      .hero-cine-logo img {
        height: 48px;
        width: auto;
        display: block;
      }
      @media (min-width: 768px) {
        .hero-cine-logo img { height: 54px; }
        .hero-cine-logo { margin-top: -57px; }
      }
      @media (min-width: 1024px) { .hero-cine-logo { margin-top: -63px; } }

      .hero-cine-title-wrap { max-width: 1100px; padding-right: 12px; }
      @media (min-width: 1024px) { .hero-cine-title-wrap { transform: translateY(-32px); padding-right: 48px; } }
      .hero-cine-title {
        font-family: "Space Grotesk", "Geist", system-ui, sans-serif;
        font-size: clamp(2.6rem, 7.5vw, 9rem);
        font-weight: 700;
        letter-spacing: -0.04em;
        line-height: 0.94;
        margin: 0;
        text-transform: uppercase;
        color: var(--ink);
        position: relative;
        display: block;
      }
      /* Each line — block + nowrap so chars stay together (no orphan wrap) */
      .hero-cine-title .t-line {
        display: block;
        white-space: nowrap;
      }
      /* Per-char outline + fill stacking */
      .hero-cine-title .t-char {
        position: relative;
        display: inline-block;
        color: transparent;
        -webkit-text-stroke: 1.5px rgba(11, 20, 40, 0.5);
        line-height: inherit;
      }
      .hero-cine-title .t-char::before {
        content: attr(data-char);
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        color: var(--ink);
        -webkit-text-fill-color: var(--ink);
        -webkit-text-stroke: 0;
        opacity: var(--p, 0);
        pointer-events: none;
        will-change: opacity;
      }
      @media (prefers-reduced-motion: reduce) {
        .hero-cine-title .t-char { -webkit-text-stroke: 0; color: var(--ink); }
        .hero-cine-title .t-char::before { display: none; }
      }
      /* Cursive (Arabic/Persian) outline: use a SOLID stroke color. A semi-transparent
         stroke doubles (darkens) where connected letters overlap at their joins,
         producing seam lines between letters. A solid color paints uniformly on
         overlap, so the interior stays cleanly hollow with no inter-letter lines. */
      html[lang="ar"] .hero-cine-title .t-char,
      html[lang="fa"] .hero-cine-title .t-char {
        -webkit-text-stroke-color: #aeb4c1;
      }
      .hero-cine-sub {
        margin: 32px 0 0;
        max-width: 38ch;
        font-family: "Geist Mono", "Reith Qalam", ui-monospace, monospace;
        font-size: 11px;
        line-height: 1.6;
        letter-spacing: 0.35em;
        text-transform: uppercase;
        color: var(--muted);
      }

      .hero-cine-cta {
        display: inline-flex;
        align-items: center;
        gap: 22px;
        background: transparent;
        border: 0;
        color: var(--ink);
        cursor: pointer;
        width: fit-content;
        text-decoration: none;
        will-change: transform;
      }
      .hero-cine-cta-circle {
        width: 48px;
        height: 48px;
        border-radius: 999px;
        border: 1px solid var(--line-strong, rgba(11, 20, 40, 0.18));
        display: grid;
        place-items: center;
        overflow: hidden;
        transition: background 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                    border-color 0.5s cubic-bezier(0.22, 1, 0.36, 1);
      }
      .hero-cine-cta:hover .hero-cine-cta-circle { background: var(--ink); border-color: var(--ink); }
      .hero-cine-cta-circle svg { stroke: var(--ink); transition: stroke 0.5s; width: 18px; height: 18px; fill: none; }
      .hero-cine-cta:hover .hero-cine-cta-circle svg { stroke: var(--paper); }
      .hero-cine-cta-label {
        font-family: "Geist Mono", "Reith Qalam", ui-monospace, monospace;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        color: var(--ink);
      }

      /* Right column — command cells */
      .hero-cine-right {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 16px;
        justify-content: center;
      }
      @media (min-width: 768px) { .hero-cine-right { width: 320px; flex-shrink: 0; } }
      @media (min-width: 1024px) { .hero-cine-right { width: 380px; } }
      .command-cell {
        padding: 24px 26px;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.72);
        border: 1px solid var(--line);
        backdrop-filter: blur(14px) saturate(160%);
        -webkit-backdrop-filter: blur(14px) saturate(160%);
        box-shadow:
          0 1px 1px rgba(255, 255, 255, 0.9) inset,
          0 1px 2px rgba(11, 20, 40, 0.04),
          0 24px 48px -20px rgba(11, 20, 40, 0.16);
        opacity: 0;
        transform: translateX(60px);
        transition: opacity 1.5s cubic-bezier(0.22, 1, 0.36, 1),
                    transform 1.5s cubic-bezier(0.22, 1, 0.36, 1);
      }
      .hero-cine-reveal.is-ready .command-cell { opacity: 1; transform: none; }
      .hero-cine-reveal.is-ready .command-cell:nth-child(1) { transition-delay: 1.0s; }
      .hero-cine-reveal.is-ready .command-cell:nth-child(2) { transition-delay: 1.1s; }
      .hero-cine-reveal.is-ready .command-cell:nth-child(3) { transition-delay: 1.2s; }
      .command-cell-h {
        display: block;
        font-family: "Geist Mono", "Reith Qalam", ui-monospace, monospace;
        font-size: 9px;
        color: var(--muted);
        letter-spacing: 0.18em;
        text-transform: uppercase;
        margin-bottom: 14px;
      }
      .command-cell-val-row {
        display: flex;
        justify-content: space-between;
        align-items: end;
        margin-top: 8px;
      }
      .command-cell-val {
        font-size: clamp(22px, 2.6vw, 30px);
        font-weight: 700;
        letter-spacing: -0.03em;
        color: var(--ink);
        line-height: 1;
      }
      .command-cell-bar {
        height: 2px;
        width: 80px;
        background: var(--line);
        border-radius: 999px;
        overflow: hidden;
        align-self: end;
      }
      .command-cell-bar-fill {
        height: 100%;
        width: 60%;
        background: linear-gradient(90deg, transparent, var(--ink), transparent);
        animation: cine-loading 2.2s linear infinite;
      }
      @keyframes cine-loading {
        0% { transform: translateX(-160%); }
        100% { transform: translateX(220%); }
      }
      .command-cell-data {
        margin-top: 16px;
        display: flex;
        flex-direction: column;
        gap: 12px;
      }
      .command-cell-data .row {
        display: flex;
        justify-content: space-between;
        font-family: "Geist Mono", "Reith Qalam", ui-monospace, monospace;
        font-size: 10px;
        color: var(--ink-soft);
      }
      .command-cell-data .row span:last-child { color: var(--ink); font-weight: 600; }
      .command-cell-data .hr {
        height: 1px;
        background: var(--line);
      }
      .command-cell-text {
        margin-top: 12px;
        font-size: 14px;
        font-weight: 500;
        line-height: 1.45;
        color: var(--ink-soft);
      }
      .command-cell-text em { font-style: italic; color: var(--ink); }

      /* — Merged LIVE METRICS cell (rotating showcase) ————————————————— */
      .metric-cell { position: relative; }
      .metric-cell-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 22px;
      }
      .metric-live {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-family: "Geist Mono", "Reith Qalam", ui-monospace, monospace;
        font-size: 9px;
        letter-spacing: 0.18em;
        text-transform: uppercase;
        color: var(--ink-soft);
      }
      .metric-live-dot {
        width: 7px; height: 7px;
        border-radius: 999px;
        background: var(--success, #00875A);
        position: relative;
      }
      .metric-live-dot::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 999px;
        background: var(--success, #00875A);
        opacity: 0.4;
        animation: cine-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
      }
      .metric-status {
        font-family: "Geist Mono", "Reith Qalam", ui-monospace, monospace;
        font-size: 9px;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: var(--muted);
      }
      /* Rotating metric stage */
      .metric-stage {
        position: relative;
        height: 92px;
        overflow: hidden;
      }
      .metric-item {
        position: absolute;
        inset: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
                    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
        pointer-events: none;
      }
      .metric-item.is-active {
        opacity: 1;
        transform: none;
      }
      .metric-item.is-exit {
        opacity: 0;
        transform: translateY(-20px);
      }
      .metric-item-val {
        font-size: clamp(36px, 4.5vw, 52px);
        font-weight: 700;
        letter-spacing: -0.04em;
        line-height: 1;
        color: var(--ink);
      }
      .metric-item-val .u {
        font-size: 0.42em;
        font-weight: 500;
        color: var(--ink-soft);
        margin-left: 5px;
        letter-spacing: -0.01em;
      }
      .metric-item-label {
        margin-top: 10px;
        font-size: 13px;
        color: var(--muted);
        letter-spacing: 0.01em;
      }
      /* Progress dots */
      .metric-dots {
        display: flex;
        gap: 7px;
        margin-top: 24px;
      }
      .metric-dot {
        height: 3px;
        flex: 1;
        border-radius: 999px;
        background: var(--line);
        overflow: hidden;
        position: relative;
      }
      .metric-dot-fill {
        position: absolute;
        inset: 0;
        background: var(--ink);
        transform: scaleX(0);
        transform-origin: left;
      }
      .metric-dot.is-active .metric-dot-fill {
        animation: metric-progress var(--dwell, 2800ms) linear forwards;
      }
      .metric-dot.is-done .metric-dot-fill { transform: scaleX(1); }
      @keyframes metric-progress {
        from { transform: scaleX(0); }
        to   { transform: scaleX(1); }
      }

      @media (prefers-reduced-motion: reduce) {
        .hero-cine-reveal { opacity: 1; filter: none; transform: none; transition: none; }
        .command-cell { opacity: 1; transform: none; transition: none; }
        .hero-cine-brand-dot::after { animation: none; }
        .command-cell-bar-fill { animation: none; }
        .metric-live-dot::after { animation: none; }
        .metric-item { position: relative; opacity: 1; transform: none; }
        .metric-stage { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
        .metric-dots { display: none; }
      }

      /* — HERO ————————————————————————————————————— */
      .hero {
        padding: 120px 0 100px;
      }
      @media (min-width: 768px) {
        .hero { padding: 160px 0 140px; }
      }
      .hero-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 64px;
        align-items: center;
      }
      @media (min-width: 1024px) {
        .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 80px; }
      }
      .hero-visual {
        position: relative;
        aspect-ratio: 4 / 5;
        background: var(--paper-cool);
        border-radius: 16px;
        overflow: hidden;
      }
      .hero-visual img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
      /* Floating spec chip on hero visual */
      .hero-chip {
        position: absolute;
        padding: 10px 14px;
        background: rgba(255, 255, 255, 0.97);
        border: 1px solid var(--line);
        border-radius: 10px;
        box-shadow:
          0 1px 2px rgba(11, 20, 40, 0.04),
          0 12px 32px -8px rgba(11, 20, 40, 0.12);
        font-size: 12px;
        line-height: 1.35;
        backdrop-filter: blur(8px);
      }
      .hero-chip .l {
        font-family: "Geist Mono", "Reith Qalam", ui-monospace, monospace;
        font-size: 10px;
        color: var(--muted);
        letter-spacing: 0.08em;
        text-transform: uppercase;
        margin-bottom: 3px;
      }
      .hero-chip .v {
        font-size: 14px;
        font-weight: 600;
        color: var(--ink);
        letter-spacing: -0.01em;
      }
      .hero-chip-tl { top: 24px; left: -16px; }
      .hero-chip-br { bottom: 24px; right: -16px; }
      @media (max-width: 1023px) {
        .hero-chip-tl { left: 16px; }
        .hero-chip-br { right: 16px; }
      }
      .hero-eyebrow {
        margin-bottom: 28px;
      }
      .hero-title {
        font-size: clamp(40px, 6vw, 76px);
        font-weight: 600;
        letter-spacing: -0.035em;
        line-height: 1.02;
        margin: 0 0 32px;
        max-width: 14ch;
      }
      .hero-title em {
        font-style: normal;
        color: var(--ink-soft);
      }
      .hero-lede {
        font-size: clamp(17px, 1.5vw, 20px);
        line-height: 1.55;
        color: var(--ink-soft);
        max-width: 56ch;
        margin: 0 0 48px;
      }
      .hero-ctas {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        align-items: center;
      }
      .btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 13px 22px;
        border-radius: 999px;
        font-size: 15px;
        font-weight: 500;
        line-height: 1;
        transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
      }
      .btn:hover { transform: translateY(-1px); }
      .btn-primary {
        background: var(--ink);
        color: var(--paper);
      }
      .btn-primary:hover { background: #000; }
      .btn-secondary {
        background: transparent;
        color: var(--ink);
        border: 1px solid var(--line);
      }
      .btn-secondary:hover { border-color: var(--ink); }
      .btn svg { width: 12px; height: 12px; }

      /* — STATS ROW ————————————————————————————————————— */
      .stats {
        border-top: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
        padding: 56px 0;
      }
      .stats-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 24px;
      }
      @media (min-width: 768px) {
        .stats-grid { grid-template-columns: repeat(4, 1fr); }
      }
      .stat-num {
        font-size: clamp(28px, 3.5vw, 40px);
        font-weight: 600;
        letter-spacing: -0.03em;
        color: var(--ink);
      }
      .stat-num .u {
        font-size: 0.5em;
        color: var(--ink-soft);
        margin-left: 4px;
        font-weight: 500;
      }
      .stat-l {
        margin-top: 4px;
        font-size: 13px;
        color: var(--muted);
        letter-spacing: 0.005em;
      }

      /* — SECTION GENERICS ————————————————————————————————————— */
      .section {
        padding: 100px 0;
      }
      @media (min-width: 768px) {
        .section { padding: 140px 0; }
      }
      .section-head {
        max-width: 60ch;
        margin: 0 0 64px;
      }
      .section-eyebrow {
        display: block;
        margin-bottom: 16px;
      }
      .h2 {
        font-size: clamp(30px, 4.2vw, 48px);
        font-weight: 600;
        letter-spacing: -0.025em;
        line-height: 1.1;
        margin: 0 0 20px;
      }
      .h2 em {
        font-style: normal;
        color: var(--ink-soft);
      }
      .lede {
        font-size: 17px;
        line-height: 1.55;
        color: var(--ink-soft);
        margin: 0;
      }

      /* — SERVICES sticky-pin scroll wrapper ——————————————————————————— */
      .svc-section {
        position: relative;
        height: 360vh;  /* intro + 5 rows scroll range */
      }
      .svc-pin {
        position: sticky;
        top: 0;
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;   /* fixed top — no recenter jump when tags expand */
        padding-top: 10vh;
        overflow: hidden;
      }
      /* Compact header inside pinned view — title + description stay visible without cut-off */
      .svc-pin .section-head { margin-bottom: 32px; }
      .svc-pin .section-head .h2 { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 12px; }
      .svc-pin .section-head .lede { font-size: 15px; }
      @media (prefers-reduced-motion: reduce) {
        .svc-section { height: auto; }
        .svc-pin { position: relative; min-height: 0; }
      }

      /* — SERVICES — cross-linked hover gallery (port of team-showcase) ——— */
      .svc-showcase {
        display: flex;
        flex-direction: column;
        gap: 40px;
        align-items: flex-start;
      }
      @media (min-width: 900px) {
        .svc-showcase { flex-direction: row; gap: 56px; }
      }
      /* Left — staggered photo grid */
      .svc-photos {
        display: flex;
        gap: 12px;
        flex-shrink: 0;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
      }
      .svc-photos::-webkit-scrollbar { display: none; }
      .svc-photo-col {
        display: flex;
        flex-direction: column;
        gap: 12px;
      }
      .svc-photo-col:nth-child(2) { margin-top: 48px; }
      .svc-photo-col:nth-child(3) { margin-top: 24px; }
      .svc-photo {
        overflow: hidden;
        border-radius: 12px;
        cursor: pointer;
        flex-shrink: 0;
        opacity: 1;
        transition: opacity 0.4s ease;
        border: 1px solid var(--line);
      }
      .svc-photo.c1 { width: 130px; height: 140px; }
      .svc-photo.c2 { width: 150px; height: 162px; }
      .svc-photo.c3 { width: 138px; height: 148px; }
      @media (min-width: 768px) {
        .svc-photo.c1 { width: 158px; height: 170px; }
        .svc-photo.c2 { width: 180px; height: 192px; }
        .svc-photo.c3 { width: 166px; height: 178px; }
      }
      .svc-showcase.has-active .svc-photo:not(.is-active) { opacity: 0.55; }
      .svc-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: grayscale(1) brightness(0.82);
        transition: filter 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
      }
      .svc-photo.is-active img { filter: grayscale(0) brightness(1); transform: scale(1.04); }
      /* Right — service name list */
      .svc-list {
        display: flex;
        flex-direction: column;
        gap: 18px;
        flex: 1;
        padding-top: 4px;
        width: 100%;
      }
      .svc-row {
        cursor: pointer;
        transition: opacity 0.3s ease;
      }
      .svc-showcase.has-active .svc-row:not(.is-active) { opacity: 0.45; }
      .svc-row-head {
        display: flex;
        align-items: center;
        gap: 12px;
      }
      .svc-row-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        flex-shrink: 0;
        background: rgba(11, 20, 40, 0.22);
        transition: background 0.3s ease, transform 0.3s ease;
      }
      .svc-row.is-active .svc-row-dot { background: var(--ink); transform: scale(1.15); }
      .svc-row-name {
        font-size: 20px;
        font-weight: 600;
        letter-spacing: -0.02em;
        line-height: 1;
        color: var(--ink-soft);
        transition: color 0.3s ease;
      }
      @media (min-width: 768px) { .svc-row-name { font-size: 24px; } }
      .svc-row.is-active .svc-row-name { color: var(--ink); }
      .svc-row-meta {
        margin: 10px 0 0;
        padding-left: 28px;
        font-family: "Geist Mono", "Reith Qalam", ui-monospace, monospace;
        font-size: 10px;
        font-weight: 500;
        letter-spacing: 0.18em;
        text-transform: uppercase;
        color: var(--muted);
      }
      .svc-row-tags {
        padding-left: 28px;
        margin-top: 8px;
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease, margin-top 0.3s ease;
      }
      .svc-row.is-active .svc-row-tags { max-height: 160px; opacity: 1; margin-top: 12px; }
      .svc-row-tags span {
        font-size: 11px;
        color: var(--ink-soft);
        padding: 3px 10px;
        border-radius: 999px;
        background: var(--paper-cool);
        border: 1px solid var(--line);
      }
      @media (prefers-reduced-motion: reduce) {
        .svc-row-tags { transition: none; }
        .svc-photo img { transition: none; }
      }

      /* — SERVICES (legacy 4-card grid, kept for reference) ——————————————— */
      .services-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1px;
        background: var(--line);
        border: 1px solid var(--line);
        border-radius: 12px;
        overflow: hidden;
      }
      @media (min-width: 720px) {
        .services-grid { grid-template-columns: repeat(2, 1fr); }
      }
      @media (min-width: 1024px) {
        .services-grid { grid-template-columns: repeat(4, 1fr); }
      }
      .service-card {
        background: var(--paper);
        padding: 0;
        display: flex;
        flex-direction: column;
      }
      .service-img {
        aspect-ratio: 4 / 3;
        background: var(--paper-cool);
        overflow: hidden;
      }
      .service-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
      }
      .service-card:hover .service-img img { transform: scale(1.04); }
      .service-body { padding: 28px 24px 32px; }
      .service-num {
        font-family: "Geist Mono", "Reith Qalam", ui-monospace, monospace;
        font-size: 11px;
        color: var(--muted);
        letter-spacing: 0.1em;
      }
      .service-name {
        font-size: 18px;
        font-weight: 600;
        margin: 12px 0 16px;
        letter-spacing: -0.01em;
      }
      .service-list {
        list-style: none;
        margin: 0;
        padding: 0;
        font-size: 14px;
        color: var(--ink-soft);
      }
      .service-list li {
        padding: 6px 0;
        border-top: 1px solid var(--line-soft);
      }
      .service-list li:first-child { border-top: 0; padding-top: 0; }

      /* — TECHNOLOGY ————————————————————————————————————— */
      .tech-table {
        width: 100%;
        border-collapse: collapse;
        font-size: 15px;
      }
      .tech-table tr {
        border-bottom: 1px solid var(--line);
      }
      .tech-table tr:first-child { border-top: 1px solid var(--line); }
      .tech-table td {
        padding: 22px 0;
        vertical-align: top;
      }
      .tech-name {
        font-weight: 600;
        font-size: 17px;
        letter-spacing: -0.01em;
      }
      .tech-spec {
        color: var(--muted);
        font-family: "Geist Mono", "Reith Qalam", ui-monospace, monospace;
        font-size: 12px;
        letter-spacing: 0.04em;
      }
      .tech-desc {
        color: var(--ink-soft);
        padding-left: 24px;
        font-size: 15px;
      }
      @media (max-width: 640px) {
        .tech-table td { display: block; padding: 12px 0; }
        .tech-desc { padding-left: 0; padding-bottom: 24px; }
      }

      /* — WORKFLOW ————————————————————————————————————— */
      .workflow-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
      }
      @media (min-width: 720px) {
        .workflow-grid { grid-template-columns: repeat(2, 1fr); column-gap: 48px; }
      }
      @media (min-width: 1024px) {
        .workflow-grid { grid-template-columns: repeat(2, 1fr); }
      }
      .step {
        padding: 28px 0;
        border-top: 1px solid var(--line);
        display: grid;
        grid-template-columns: 60px 1fr;
        gap: 24px;
      }
      .step-num {
        font-family: "Geist Mono", "Reith Qalam", ui-monospace, monospace;
        font-size: 13px;
        color: var(--muted);
        letter-spacing: 0.08em;
        padding-top: 2px;
      }
      .step-title {
        font-size: 17px;
        font-weight: 600;
        margin: 0 0 6px;
        letter-spacing: -0.01em;
      }
      .step-desc {
        font-size: 14px;
        color: var(--ink-soft);
        margin: 0;
        line-height: 1.5;
      }

      /* — CIRCULAR GALLERY — 3D rotating carousel ————————————————————— */
      .cg-section {
        /* Longer scroll range → slower rotation per scroll pixel */
        height: 360vh;
        position: relative;
      }
      .cg-pin {
        position: sticky;
        top: 0;
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        background: var(--paper);
      }
      .cg-pin .cg-intro {
        position: absolute;
        top: 6vh;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
        z-index: 5;
        width: calc(100% - 2 * var(--gutter));
        max-width: 600px;
        padding: 22px 28px;
        pointer-events: none;
        background: rgba(255, 255, 255, 0.78);
        -webkit-backdrop-filter: blur(14px) saturate(160%);
                backdrop-filter: blur(14px) saturate(160%);
        border-radius: 16px;
      }
      .cg-pin .cg-intro h2 { margin: 0 0 8px; }
      .cg-pin .cg-intro p { margin: 0; font-size: 15px; }
      .cg-stage-wrap {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        perspective: 2400px;
        perspective-origin: 50% 50%;
        /* Push stage down a bit so intro doesn't collide */
        padding-top: 8vh;
      }
      .cg-stage {
        position: relative;
        width: 250px;
        height: 260px;
        transform-style: preserve-3d;
        will-change: transform;
      }
      @media (min-width: 1024px) {
        .cg-stage { width: 290px; height: 300px; }
      }
      .cg-card {
        position: absolute;
        top: 0; left: 0;
        width: 100%;
        height: 100%;
        border-radius: 12px;
        overflow: hidden;
        background: var(--paper-cool);
        border: 1px solid var(--line);
        box-shadow:
          0 8px 32px -12px rgba(11, 20, 40, 0.18),
          0 32px 64px -24px rgba(11, 20, 40, 0.20);
        backface-visibility: hidden;
        will-change: opacity, transform;
        transition: opacity 0.25s linear;
      }
      .cg-card img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
      }
      .cg-cap {
        position: absolute;
        left: 0; right: 0; bottom: 0;
        padding: 16px 18px;
        background: linear-gradient(180deg, transparent, rgba(11, 20, 40, 0.88));
        color: var(--paper);
        font-family: "Geist Mono", "Reith Qalam", ui-monospace, monospace;
        font-size: 11px;
        letter-spacing: 0.08em;
        text-transform: uppercase;
      }
      .cg-cap .cg-num {
        opacity: 0.7;
        margin-bottom: 4px;
        display: block;
      }
      .cg-cap .cg-name {
        font-family: "Geist", system-ui, sans-serif;
        font-size: 14px;
        letter-spacing: -0.005em;
        text-transform: none;
        font-weight: 500;
      }
      @media (prefers-reduced-motion: reduce) {
        .cg-section { height: auto; }
        .cg-pin { position: relative; height: auto; padding: 80px 0; }
        .cg-stage-wrap { position: relative; perspective: none; }
        .cg-stage { transform: none !important; width: 100%; height: auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
        .cg-card { position: relative; transform: none !important; opacity: 1 !important; aspect-ratio: 1 / 1; }
      }

      /* — GLOBAL TITLE WORD REVEAL — applies to .h2 and .hero-title ————— */
      .h2 .word,
      .hero-title .word {
        display: inline-block;
        opacity: 0;
        transform: translateY(28px);
        filter: blur(10px);
        transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
                    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
                    filter 0.75s cubic-bezier(0.22, 1, 0.36, 1);
        transition-delay: calc(var(--i, 0) * 0.075s);
        will-change: opacity, transform, filter;
      }
      .h2.is-in .word,
      .hero-title.is-in .word {
        opacity: 1;
        transform: none;
        filter: none;
      }
      /* Preserve em italic style inside words (em color stays through reveal) */
      .h2 em, .hero-title em { color: var(--ink-soft); }
      /* Eyebrow subtle fade — applied with `.is-in-eyebrow` on parent .section-head */
      .section-eyebrow,
      .mono.section-eyebrow {
        opacity: 0;
        transform: translateY(10px);
        transition: opacity 0.5s ease, transform 0.5s ease;
      }
      .is-in-eyebrow .section-eyebrow,
      .is-in-eyebrow .mono.section-eyebrow {
        opacity: 1;
        transform: none;
      }
      @media (prefers-reduced-motion: reduce) {
        .h2 .word, .hero-title .word,
        .section-eyebrow, .mono.section-eyebrow {
          opacity: 1; transform: none; filter: none; transition: none;
        }
      }

      /* — COMPARISON sticky-pin reveal ——————————————————————————————— */
      .why-section {
        position: relative;
        height: 520vh;  /* intro + 5 rows × ~84vh each */
        background: var(--paper-cool);
      }
      .why-pin {
        position: sticky;
        top: 0;
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        overflow: hidden;
      }
      .why-pin .container {
        width: 100%;
      }
      /* Compact heading inside pin so table has room */
      .why-pin .section-head { margin-bottom: 40px; }
      .why-pin .h2 { font-size: clamp(28px, 3.6vw, 42px); }
      /* Row scroll-bound reveal */
      .compare tbody tr {
        opacity: 0;
        transform: translateY(18px);
        transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
                    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
      }
      .compare tbody tr.is-in {
        opacity: 1;
        transform: none;
      }
      .compare tbody tr td { transition: background 0.4s ease; }
      .compare tbody tr.is-in td.yes {
        background: linear-gradient(90deg, rgba(11, 20, 40, 0.04), rgba(11, 20, 40, 0.015));
      }
      @media (prefers-reduced-motion: reduce) {
        .why-section { height: auto; }
        .why-pin { position: relative; height: auto; padding: 80px 0; }
        .compare tbody tr { opacity: 1; transform: none; transition: none; }
        .compare tbody tr.is-in td.yes { background: none; }
      }

      /* — COMPARISON TABLE ————————————————————————————————————— */
      .compare {
        width: 100%;
        border-collapse: collapse;
        font-size: 15px;
      }
      .compare th, .compare td {
        text-align: left;
        padding: 18px 16px;
        border-bottom: 1px solid var(--line);
      }
      .compare th {
        font-size: 12px;
        font-weight: 500;
        color: var(--muted);
        letter-spacing: 0.06em;
        text-transform: uppercase;
        border-bottom-color: var(--ink);
      }
      .compare td:first-child { color: var(--ink-soft); }
      .compare td.yes {
        color: var(--ink);
        font-weight: 600;
      }
      .compare td.no { color: var(--muted); }

      /* — TWO COLUMN GENERIC ————————————————————————————————————— */
      .two-col {
        display: grid;
        grid-template-columns: 1fr;
        gap: 48px;
        align-items: start;
      }
      @media (min-width: 900px) {
        .two-col { grid-template-columns: 1fr 1fr; gap: 96px; }
      }
      .feature-list {
        list-style: none;
        margin: 0;
        padding: 0;
      }
      .feature-list li {
        padding: 24px 0;
        border-top: 1px solid var(--line);
      }
      .feature-list li:last-child { border-bottom: 1px solid var(--line); }
      .feature-title {
        font-size: 17px;
        font-weight: 600;
        margin: 0 0 6px;
        letter-spacing: -0.01em;
      }
      .feature-desc {
        font-size: 14px;
        color: var(--ink-soft);
        margin: 0;
        line-height: 1.55;
      }

      /* — KINETIC ECOSYSTEM LIST (replaces tech-table + equipment grid) ——— */
      .kinetic {
        position: relative;
        margin-top: 56px;
      }
      .kinetic-list {
        display: flex;
        flex-direction: column;
      }
      .kinetic-row {
        position: relative;
        border-top: 1px solid var(--line);
        padding: 36px 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
        cursor: default;
        opacity: 1;
        transition: opacity 0.4s ease, background 0.4s ease;
      }
      .kinetic-row:last-child { border-bottom: 1px solid var(--line); }
      @media (min-width: 768px) {
        .kinetic-row { padding: 56px 0; }
      }
      /* Dim non-active rows when any row is hovered */
      .kinetic-list.has-active .kinetic-row:not(.is-active) { opacity: 0.32; }
      .kinetic-row-left {
        display: flex;
        align-items: baseline;
        gap: 20px;
        padding-left: 4px;
        transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
      }
      @media (min-width: 768px) {
        .kinetic-row-left { gap: 40px; padding-left: 0; }
      }
      .kinetic-row.is-active .kinetic-row-left { transform: translateX(12px); }
      .kinetic-idx {
        font-family: "Geist Mono", "Reith Qalam", ui-monospace, monospace;
        font-size: 11px;
        color: var(--muted);
        letter-spacing: 0.06em;
      }
      .kinetic-name {
        font-size: clamp(28px, 5vw, 64px);
        font-weight: 500;
        letter-spacing: -0.025em;
        line-height: 1.05;
        margin: 0;
        color: var(--muted);
        transition: color 0.35s ease;
      }
      .kinetic-row.is-active .kinetic-name { color: var(--ink); }
      .kinetic-row-right {
        display: flex;
        align-items: center;
        gap: 24px;
        flex-shrink: 0;
      }
      .kinetic-role {
        font-family: "Geist Mono", "Reith Qalam", ui-monospace, monospace;
        font-size: 11px;
        font-weight: 500;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        color: var(--muted);
        transition: color 0.35s ease;
        text-align: right;
      }
      .kinetic-row.is-active .kinetic-role { color: var(--ink-soft); }
      .kinetic-arrow {
        color: var(--ink);
        opacity: 0;
        transform: translateX(-8px);
        transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
        flex-shrink: 0;
      }
      .kinetic-row.is-active .kinetic-arrow {
        opacity: 1;
        transform: translateX(0);
      }
      .kinetic-arrow svg { width: 28px; height: 28px; }
      @media (max-width: 720px) {
        .kinetic-arrow { display: none; }
        /* Stack: name on top, meta below — no horizontal clipping */
        .kinetic-row {
          flex-direction: column;
          align-items: flex-start;
          gap: 8px;
          padding: 20px 0;
        }
        .kinetic-row-left { min-width: 0; gap: 14px; }
        .kinetic-name { overflow-wrap: anywhere; }
        .kinetic-row-right { width: 100%; justify-content: flex-start; }
        .kinetic-role { font-size: 10px; max-width: none; text-align: left; padding-left: 32px; }
        .kinetic-row.is-active { background: rgba(11, 20, 40, 0.025); }
        .kinetic-row.is-active .kinetic-row-left { transform: translateX(6px); }
      }

      /* Floating cursor card (desktop only) — 3D perspective wrapper */
      .kinetic-cursor {
        position: fixed;
        left: 0; top: 0;
        width: 320px;
        height: 256px;
        pointer-events: none;
        z-index: 80;
        opacity: 0;
        perspective: 900px;
        will-change: transform, opacity;
        transition: opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1);
      }
      .kinetic-cursor.is-on { opacity: 1; }
      /* Mobile tap-to-preview — fixed small card centered near the bottom (no mouse-follow) */
      .kinetic-cursor.is-mobile {
        display: block;                /* override the mobile display:none so tap-preview shows */
        position: fixed;
        left: 50%; right: auto; top: auto; bottom: 92px;
        transform: translateX(-50%) !important;
        width: min(74vw, 264px);
        height: min(50vw, 178px);
        z-index: 96;
        pointer-events: auto;
      }
      .kinetic-cursor.is-mobile .kinetic-cursor-card { --rx: 0deg; --ry: 0deg; }
      .kinetic-cursor.is-mobile .kinetic-cursor-media { transform: none !important; }
      /* @property — enables smooth scale transition via custom property */
      @property --cursor-s { syntax: '<number>'; initial-value: 0.6; inherits: false; }

      /* Inner card — receives tilt (rotateX/Y from JS) + entry scale (CSS) */
      .kinetic-cursor-card {
        position: relative;
        width: 100%;
        height: 100%;
        border-radius: 14px;
        overflow: hidden;
        background: var(--paper);
        border: 1px solid var(--line);
        box-shadow:
          0 8px 24px -8px rgba(11, 20, 40, 0.12),
          0 32px 64px -24px rgba(11, 20, 40, 0.22);
        transform-style: preserve-3d;
        --cursor-s: 0.6;
        --rx: 0deg;
        --ry: 0deg;
        transform: scale(var(--cursor-s)) rotateX(var(--rx)) rotateY(var(--ry));
        filter: blur(10px);
        transition: --cursor-s 0.32s cubic-bezier(0.22, 1, 0.36, 1),
                    filter 0.32s cubic-bezier(0.22, 1, 0.36, 1);
        will-change: transform, filter;
      }
      .kinetic-cursor.is-on .kinetic-cursor-card {
        --cursor-s: 1;
        filter: blur(0);
      }
      /* Media wrapper — receives inner parallax (counter motion) */
      .kinetic-cursor-media {
        position: absolute;
        inset: -8%;
        width: 116%;
        height: 116%;
        will-change: transform;
      }
      .kinetic-cursor-media img,
      .kinetic-cursor-media video {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0;
        transition: opacity 0.3s ease;
      }
      .kinetic-cursor-media img.is-current,
      .kinetic-cursor-media video.is-current { opacity: 1; }
      .kinetic-cursor-card::after {
        content: "";
        position: absolute;
        inset: auto 0 0 0;
        height: 80px;
        background: linear-gradient(180deg, transparent, rgba(11, 20, 40, 0.65));
        pointer-events: none;
        z-index: 1;
      }
      .kinetic-cursor-label {
        position: absolute;
        left: 16px;
        bottom: 14px;
        z-index: 2;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: var(--paper);
        font-family: "Geist Mono", "Reith Qalam", ui-monospace, monospace;
        font-size: 10px;
        letter-spacing: 0.18em;
        text-transform: uppercase;
      }
      .kinetic-cursor-label::before {
        content: "";
        width: 6px; height: 6px;
        border-radius: 999px;
        background: #25D366;
        animation: kinetic-pulse 1.6s ease-in-out infinite;
      }
      @keyframes kinetic-pulse {
        0%, 100% { opacity: 1; transform: scale(1); }
        50% { opacity: 0.6; transform: scale(1.25); }
      }
      @media (max-width: 767px), (hover: none) {
        .kinetic-cursor { display: none; }
      }
      @media (prefers-reduced-motion: reduce) {
        .kinetic-cursor { transition: opacity 0.1s ease; }
        .kinetic-cursor-label::before { animation: none; }
      }

      /* — EQUIPMENT showcase (cards with hero shots) ————————————————— */
      .equip-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
      }
      @media (min-width: 720px) {
        .equip-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
      }
      .equip-card {
        background: var(--paper);
        border: 1px solid var(--line);
        border-radius: 12px;
        overflow: hidden;
        transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
      }
      .equip-card:hover {
        border-color: var(--line-strong, var(--ink-soft));
        transform: translateY(-2px);
        box-shadow: 0 8px 32px -8px rgba(11, 20, 40, 0.10);
      }
      .equip-img {
        aspect-ratio: 4 / 3;
        background: linear-gradient(180deg, #fafafa, #f1f2f4);
        overflow: hidden;
        display: grid;
        place-items: center;
        padding: 24px;
      }
      .equip-img img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
      }
      .equip-body { padding: 22px 22px 24px; }
      .equip-name {
        font-size: 16px;
        font-weight: 600;
        letter-spacing: -0.01em;
        margin: 0 0 8px;
      }
      .equip-spec {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        font-family: "Geist Mono", "Reith Qalam", ui-monospace, monospace;
        font-size: 11px;
        color: var(--muted);
        letter-spacing: 0.04em;
      }
      .equip-spec span { white-space: nowrap; }

      /* — TESTIMONIAL — sticky scroll-pinned carousel ——————————————— */
      .tm-section {
        height: 500vh;   /* 5 testimonial * 100vh each */
        position: relative;
      }
      .tm-pin {
        position: sticky;
        top: 0;
        height: 100vh;
        display: flex;
        align-items: center;
        background: var(--paper);
        overflow: hidden;
      }
      .tm {
        position: relative;
        width: 100%;
        max-width: 1080px;
        margin: 0 auto;
        padding: 0 var(--gutter);
      }
      @media (prefers-reduced-motion: reduce) {
        .tm-section { height: auto; }
        .tm-pin { position: relative; height: auto; padding: 80px 0; }
      }
      /* Oversized index number — bleeds off the left edge */
      .tm-bg-num {
        position: absolute;
        left: -2vw;
        top: 50%;
        transform: translateY(-50%);
        font-size: clamp(200px, 28vw, 420px);
        font-weight: 700;
        color: rgba(11, 20, 40, 0.04);
        line-height: 0.85;
        letter-spacing: -0.05em;
        user-select: none;
        pointer-events: none;
        z-index: 0;
        will-change: transform;
        transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
        /* Fixed dimensions so children can stack via absolute */
        width: 1.8em;
        height: 1em;
      }
      .tm-bg-num span {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: block;
        opacity: 0;
        transform: scale(0.9);
        filter: blur(10px);
        transform-origin: left center;
        transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
                    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
                    filter 0.55s cubic-bezier(0.22, 1, 0.36, 1);
      }
      .tm-bg-num span.is-in {
        opacity: 1;
        transform: scale(1);
        filter: blur(0px);
      }
      .tm-bg-num span.is-out {
        opacity: 0;
        transform: scale(1.1);
        filter: blur(10px);
      }

      /* Asymmetric two-column layout */
      .tm-row {
        position: relative;
        display: grid;
        grid-template-columns: 80px 1fr;
        gap: 48px;
        z-index: 2;
        align-items: stretch;
      }
      @media (max-width: 720px) {
        .tm-row { grid-template-columns: 1fr; gap: 24px; }
      }
      /* Left column — vertical "Testimonials" + progress line */
      .tm-side {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 28px;
        border-right: 1px solid var(--line);
        padding-right: 32px;
      }
      @media (max-width: 720px) {
        .tm-side {
          flex-direction: row;
          border-right: 0;
          border-bottom: 1px solid var(--line);
          padding: 0 0 16px;
          justify-content: flex-start;
        }
      }
      .tm-vtext {
        font-family: "Geist Mono", "Reith Qalam", ui-monospace, monospace;
        font-size: 10.5px;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        color: var(--muted);
        writing-mode: vertical-rl;
        text-orientation: mixed;
      }
      @media (max-width: 720px) {
        .tm-vtext { writing-mode: horizontal-tb; }
      }
      .tm-prog {
        position: relative;
        width: 1px;
        height: 120px;
        background: var(--line);
      }
      @media (max-width: 720px) {
        .tm-prog { width: 80px; height: 1px; margin-left: 16px; }
      }
      .tm-prog-fill {
        position: absolute;
        top: 0; left: 0;
        width: 100%;
        background: var(--ink);
        transition: height 0.5s cubic-bezier(0.22, 1, 0.36, 1);
      }
      @media (max-width: 720px) {
        .tm-prog-fill {
          width: 0;
          height: 100%;
          transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
        }
      }

      /* Center column — main content */
      .tm-main { padding: 24px 0 0; }
      .tm-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-family: "Geist Mono", "Reith Qalam", ui-monospace, monospace;
        font-size: 11px;
        letter-spacing: 0.06em;
        color: var(--muted);
        border: 1px solid var(--line);
        border-radius: 999px;
        padding: 6px 14px;
        margin-bottom: 36px;
        background: var(--paper);
        transition: opacity 0.4s ease, transform 0.4s ease;
      }
      .tm-badge.is-out { opacity: 0; transform: translateX(20px); }
      .tm-badge-dot {
        width: 6px; height: 6px; border-radius: 999px;
        background: var(--success, #00875A);
      }
      .tm-quote {
        position: relative;
        font-size: clamp(24px, 3.8vw, 44px);
        font-weight: 300;
        line-height: 1.18;
        letter-spacing: -0.02em;
        margin: 0 0 56px;
        min-height: 6em;
        color: var(--ink);
      }
      .tm-quote .tm-word {
        display: inline-block;
        margin-right: 0.28em;
        opacity: 0;
        transform: translateY(20px) rotateX(-90deg);
        transform-origin: 50% 50% -10px;
        transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
      }
      .tm-quote .tm-word.is-in {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
      }
      .tm-quote .tm-word.is-out {
        opacity: 0;
        transform: translateY(-10px);
      }

      .tm-author-row {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 16px;
      }
      .tm-author {
        display: flex;
        align-items: center;
        gap: 16px;
        transition: opacity 0.4s ease, transform 0.4s ease;
      }
      .tm-author.is-out { opacity: 0; transform: translateY(10px); }
      .tm-author-line {
        width: 32px;
        height: 1px;
        background: var(--ink);
        transform-origin: left;
        transition: transform 0.5s ease;
      }
      .tm-author-line.is-out { transform: scaleX(0); }
      .tm-author-name {
        font-size: 16px;
        font-weight: 500;
        letter-spacing: -0.01em;
        margin: 0;
      }
      .tm-author-role {
        font-size: 13px;
        color: var(--muted);
        margin: 0;
      }
      .tm-nav {
        display: flex;
        align-items: center;
        gap: 12px;
      }
      .tm-btn {
        width: 44px; height: 44px;
        border-radius: 999px;
        border: 1px solid var(--line);
        background: var(--paper);
        color: var(--ink);
        display: grid;
        place-items: center;
        cursor: pointer;
        position: relative;
        overflow: hidden;
        transition: border-color 0.25s ease, background 0.25s ease, transform 0.15s ease;
      }
      .tm-btn:hover {
        border-color: var(--ink);
        background: var(--ink);
        color: var(--paper);
      }
      .tm-btn:active { transform: scale(0.95); }
      .tm-btn svg { width: 16px; height: 16px; }

      /* Bottom marquee ticker */
      .tm-ticker {
        position: absolute;
        left: 0; right: 0; bottom: 0;
        height: 80px;
        overflow: hidden;
        opacity: 0.06;
        pointer-events: none;
        display: flex;
        align-items: center;
      }
      .tm-ticker-track {
        display: flex;
        flex-shrink: 0;
        white-space: nowrap;
        font-size: clamp(36px, 5vw, 60px);
        font-weight: 700;
        letter-spacing: -0.02em;
        color: var(--ink);
        animation: tm-ticker 28s linear infinite;
        gap: 64px;
      }
      .tm-ticker-track span { padding-right: 64px; }
      @keyframes tm-ticker {
        from { transform: translateX(0); }
        to   { transform: translateX(-50%); }
      }
      @media (prefers-reduced-motion: reduce) {
        .tm-ticker-track { animation: none; }
        .tm-quote .tm-word { opacity: 1 !important; transform: none !important; }
        .tm-bg-num span { opacity: 1 !important; transform: none !important; filter: none !important; }
      }

      /* — TESTIMONIALS — clean pull-quote cards ————————————————— */
      .quotes {
        display: grid;
        grid-template-columns: 1fr;
        gap: 24px;
      }
      @media (min-width: 900px) {
        .quotes { grid-template-columns: repeat(3, 1fr); }
      }
      .quote {
        padding: 36px 28px;
        background: var(--paper);
        border: 1px solid var(--line);
        border-radius: 12px;
      }
      .quote-text {
        font-size: 17px;
        line-height: 1.5;
        letter-spacing: -0.005em;
        color: var(--ink);
        margin: 0 0 24px;
      }
      .quote-text::before {
        content: "“";
        display: inline;
        font-size: 1.3em;
        color: var(--ink-soft);
        margin-right: 2px;
      }
      .quote-meta {
        display: flex;
        align-items: center;
        gap: 12px;
        padding-top: 20px;
        border-top: 1px solid var(--line);
      }
      .quote-avatar {
        width: 36px; height: 36px;
        border-radius: 999px;
        background: linear-gradient(135deg, var(--ink), var(--ink-soft));
        color: var(--paper);
        display: grid; place-items: center;
        font-size: 13px; font-weight: 600;
        letter-spacing: -0.02em;
      }
      .quote-name { font-size: 14px; font-weight: 600; line-height: 1.3; }
      .quote-clinic { font-size: 12px; color: var(--muted); }

      /* — LAB sticky-pin scroll wrapper ——————————————————————————————— */
      .lab-section { position: relative; height: 300vh; }
      .lab-pin {
        position: sticky;
        top: 0;
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        overflow: hidden;
      }
      @media (prefers-reduced-motion: reduce) {
        .lab-section { height: auto; }
        .lab-pin { position: relative; height: auto; padding: 80px 0; }
      }

      /* — LAB EXPAND accordion (hover + scroll dual mode) ——————————————— */
      .lab-expand {
        display: flex;
        gap: 12px;
        width: 100%;
        height: 460px;
        justify-content: center;
        align-items: stretch;
      }
      .lab-panel {
        position: relative;
        width: 7rem;
        height: 100%;
        flex-shrink: 0;
        overflow: hidden;
        border-radius: 18px;
        cursor: pointer;
        transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
      }
      .lab-panel.is-open { width: 32rem; }
      @media (max-width: 1100px) {
        .lab-panel.is-open { width: 26rem; }
        .lab-panel { width: 5.5rem; }
      }
      .lab-panel img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: grayscale(0.4) brightness(0.92);
        transition: filter 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
      }
      .lab-panel.is-open img { filter: grayscale(0) brightness(1); transform: scale(1.04); }
      .lab-panel::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, transparent 45%, rgba(11, 20, 40, 0.78));
        opacity: 0.85;
        transition: opacity 0.5s ease;
      }
      .lab-panel-cap {
        position: absolute;
        left: 18px;
        bottom: 18px;
        right: 18px;
        z-index: 2;
        color: var(--paper);
      }
      .lab-panel-num {
        font-family: "Geist Mono", "Reith Qalam", ui-monospace, monospace;
        font-size: 10px;
        letter-spacing: 0.16em;
        opacity: 0.7;
        margin-bottom: 6px;
        display: block;
      }
      .lab-panel-title {
        font-size: 15px;
        font-weight: 600;
        letter-spacing: -0.01em;
        white-space: nowrap;
        transition: opacity 0.4s ease;
      }
      .lab-panel-desc {
        margin-top: 8px;
        font-size: 12.5px;
        line-height: 1.45;
        color: rgba(255, 255, 255, 0.78);
        max-width: 36ch;
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transition: opacity 0.5s ease, max-height 0.5s ease, margin-top 0.4s ease;
      }
      .lab-panel.is-open .lab-panel-desc { opacity: 1; max-height: 80px; }
      /* Collapsed panels: rotate caption vertically so title stays legible */
      .lab-panel:not(.is-open) .lab-panel-title {
        position: absolute;
        bottom: 0;
        left: 0;
        transform-origin: left bottom;
        transform: rotate(-90deg) translateX(2px);
        white-space: nowrap;
      }
      .lab-panel:not(.is-open) .lab-panel-cap { right: auto; bottom: 18px; left: 22px; }
      @media (max-width: 768px) {
        .lab-expand { flex-direction: column; height: auto; gap: 10px; align-items: stretch; width: 100%; max-width: 100%; margin: 0; }
        /* Full-width, centered panels; expand by HEIGHT only (never overflow / off-center) */
        .lab-panel { flex: none; width: 100% !important; max-width: 100%; margin: 0 !important; height: 66px; transition: height 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
        .lab-panel.is-open { width: 100% !important; height: 240px; }
        .lab-panel:not(.is-open) .lab-panel-title {
          position: static; transform: none;
        }
        .lab-panel:not(.is-open) .lab-panel-cap { right: 18px; left: 18px; bottom: 14px; }
        .lab-panel:not(.is-open) .lab-panel-num { display: none; }
      }
      @media (prefers-reduced-motion: reduce) {
        .lab-panel, .lab-panel img, .lab-panel-desc { transition: none; }
      }

      /* — LAB GALLERY (legacy 4 atmospheric workshop shots) ——————————————— */
      .lab-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
      }
      @media (min-width: 720px) {
        .lab-grid {
          grid-template-columns: 1.4fr 1fr;
          grid-template-rows: 1fr 1fr;
          gap: 16px;
          height: 720px;
        }
        .lab-grid > :nth-child(1) { grid-row: span 2; }
      }
      .lab-tile {
        position: relative;
        overflow: hidden;
        border-radius: 12px;
        background: var(--paper-cool);
      }
      .lab-tile img {
        width: 100%; height: 100%;
        object-fit: cover;
        transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
      }
      .lab-tile:hover img { transform: scale(1.03); }
      .lab-tile-cap {
        position: absolute;
        left: 16px;
        bottom: 14px;
        color: var(--paper);
        font-family: "Geist Mono", "Reith Qalam", ui-monospace, monospace;
        font-size: 11px;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        text-shadow: 0 1px 4px rgba(0,0,0,0.4);
      }

      /* — PARTNER MARQUEE — right-to-left infinite scroll ————————————— */
      .partners {
        position: relative;
        padding: 120px 0 0;
        border-top: 1px solid var(--line);
        background: var(--paper);
        overflow: hidden;
      }
      /* Trusted headline (Sparkles demo pattern) */
      .partners-headline {
        text-align: center;
        font-size: clamp(24px, 3.2vw, 36px);
        font-weight: 500;
        letter-spacing: -0.025em;
        line-height: 1.2;
        max-width: 640px;
        margin: 0 auto 48px;
      }
      .partners-headline .accent {
        color: var(--ink-soft);
        font-weight: 600;
      }
      .partners-h {
        text-align: center;
        margin-bottom: 28px;
      }
      /* Marquee container — sit above dome */
      .partners-marquee-wrap {
        position: relative;
        z-index: 2;
        padding-bottom: 24px;
      }
      /* Sparkles stage — at bottom, masked radial */
      .partners-stage {
        position: relative;
        height: 200px;
        width: 100%;
        margin-top: -20px;
        overflow: hidden;
        -webkit-mask-image: radial-gradient(70% 80% at 50% 50%, #000, transparent);
                mask-image: radial-gradient(70% 80% at 50% 50%, #000, transparent);
      }
      /* Soft radial glow behind sparkles (uses ink palette) */
      .partners-stage::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 50% 50%, rgba(58, 75, 122, 0.16), transparent 65%);
        opacity: 0.7;
      }
      /* Sparkles canvas */
      .partners-sparkles {
        position: absolute;
        inset: 0;
        z-index: 1;
        pointer-events: none;
        -webkit-mask-image: radial-gradient(55% 55% at 50% 50%, #000, transparent 85%);
                mask-image: radial-gradient(55% 55% at 50% 50%, #000, transparent 85%);
      }
      @media (prefers-reduced-motion: reduce) {
        .partners-sparkles { display: none; }
      }
      .marquee {
        position: relative;
        overflow: hidden;
        /* Progressive blur edges — fade-to-transparent on both sides */
        -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%);
                mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%);
      }
      .marquee::before,
      .marquee::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        width: 180px;
        z-index: 3;
        pointer-events: none;
      }
      .marquee::before {
        left: 0;
        background: linear-gradient(90deg, var(--paper) 0%, var(--paper) 25%, transparent 100%);
        -webkit-backdrop-filter: blur(2px);
                backdrop-filter: blur(2px);
        -webkit-mask-image: linear-gradient(90deg, #000 60%, transparent 100%);
                mask-image: linear-gradient(90deg, #000 60%, transparent 100%);
      }
      .marquee::after {
        right: 0;
        background: linear-gradient(270deg, var(--paper) 0%, var(--paper) 25%, transparent 100%);
        -webkit-backdrop-filter: blur(2px);
                backdrop-filter: blur(2px);
        -webkit-mask-image: linear-gradient(270deg, #000 60%, transparent 100%);
                mask-image: linear-gradient(270deg, #000 60%, transparent 100%);
      }
      .marquee-track {
        display: flex;
        align-items: center;
        gap: 64px;
        width: max-content;
        animation: marquee-slide 38s linear infinite;
      }
      .marquee:hover .marquee-track { animation-play-state: paused; }
      @keyframes marquee-slide {
        from { transform: translateX(0); }
        to   { transform: translateX(-50%); }
      }
      .partner-cell {
        flex-shrink: 0;
        display: grid;
        place-items: center;
        min-width: 160px;
        height: 64px;
      }
      .partner-logo {
        max-height: 36px;
        max-width: 150px;
        width: auto;
        height: auto;
        object-fit: contain;
        opacity: 0.7;
        filter: grayscale(1);
        transition: opacity 0.25s ease, filter 0.25s ease;
      }
      .partner-cell:hover .partner-logo { opacity: 1; filter: none; }
      /* White-on-transparent logos — invert so they're visible on cool panel */
      .partner-logo[data-logo="kavo"],
      .partner-logo[data-logo="zahndent"] {
        filter: invert(1) grayscale(1);
        opacity: 0.55;
      }
      .partner-cell:hover .partner-logo[data-logo="kavo"],
      .partner-cell:hover .partner-logo[data-logo="zahndent"] {
        filter: invert(1);
        opacity: 0.8;
      }
      /* Per-logo size tweaks for visual balance */
      .partner-logo[data-logo="sprintray"] { max-height: 28px; max-width: 150px; }
      .partner-logo[data-logo="medit"]     { max-height: 28px; }
      .partner-logo[data-logo="ivoclar"]   { max-height: 30px; max-width: 150px; }
      .partner-logo[data-logo="noritake"]  { max-height: 24px; max-width: 150px; }
      .partner-logo[data-logo="gc"]        { max-height: 32px; }
      .partner-logo[data-logo="kavo"]      { max-height: 28px; }
      .partner-logo[data-logo="zahndent"]  { max-height: 30px; max-width: 150px; }
      .partner-text {
        font-size: 17px;
        font-weight: 600;
        letter-spacing: -0.025em;
        color: var(--muted);
        text-align: center;
        white-space: nowrap;
      }
      .partner-cell:hover .partner-text { color: var(--ink); }
      @media (prefers-reduced-motion: reduce) {
        .marquee-track { animation: none; }
      }

      /* — DARK SECTION (Photogrammetry as cinematic break) ——————————— */
      .section-dark {
        background: #0b1428;
        color: var(--paper);
      }
      .section-dark .h2 { color: var(--paper); }
      .section-dark .h2 em { color: rgba(255,255,255,0.55); }
      .section-dark .lede,
      .section-dark .feature-desc { color: rgba(255,255,255,0.68); }
      .section-dark .feature-title { color: var(--paper); }
      .section-dark .mono { color: rgba(255,255,255,0.52); }
      .section-dark .feature-list li { border-top-color: rgba(255,255,255,0.08); }
      .section-dark .feature-list li:last-child { border-bottom-color: rgba(255,255,255,0.08); }

      /* — CONTACT — Cinematic CTA section (LIGHT theme) ————————————————— */
      .cinematic {
        position: relative;
        width: 100%;
        min-height: 100vh;
        overflow: hidden;
        background: var(--paper);
        color: var(--ink);
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 100px 0 64px;
        border-top: 1px solid var(--line);
      }
      /* Grid background — subtle navy hairlines with vertical fade */
      .cine-grid {
        position: absolute;
        inset: 0;
        background-size: 60px 60px;
        background-image:
          linear-gradient(to right, rgba(11, 20, 40, 0.04) 1px, transparent 1px),
          linear-gradient(to bottom, rgba(11, 20, 40, 0.04) 1px, transparent 1px);
        -webkit-mask-image: linear-gradient(to bottom, transparent, black 25%, black 75%, transparent);
                mask-image: linear-gradient(to bottom, transparent, black 25%, black 75%, transparent);
        pointer-events: none;
        z-index: 0;
      }
      /* Aurora — soft navy/cool blue breathing glow */
      .cine-aurora {
        position: absolute;
        left: 50%;
        top: 50%;
        width: 80vw;
        height: 60vh;
        border-radius: 50%;
        background: radial-gradient(circle at 50% 50%,
          rgba(58, 75, 122, 0.16) 0%,
          rgba(100, 119, 163, 0.08) 40%,
          transparent 70%);
        filter: blur(80px);
        pointer-events: none;
        z-index: 0;
        animation: cine-breathe 8s ease-in-out infinite alternate;
      }
      @keyframes cine-breathe {
        0%   { transform: translate(-50%, -50%) scale(1);    opacity: 0.7; }
        100% { transform: translate(-50%, -50%) scale(1.12); opacity: 1; }
      }
      /* Giant background text — ink stroke, light gradient mask */
      .cine-giant {
        position: absolute;
        left: 50%;
        bottom: -5vh;
        transform: translateX(-50%);
        white-space: nowrap;
        font-size: 26vw;
        line-height: 0.75;
        font-weight: 900;
        letter-spacing: -0.05em;
        color: transparent;
        -webkit-text-stroke: 1px rgba(11, 20, 40, 0.06);
        background: linear-gradient(180deg, rgba(11, 20, 40, 0.08) 0%, transparent 60%);
        -webkit-background-clip: text;
                background-clip: text;
        pointer-events: none;
        user-select: none;
        z-index: 0;
        will-change: transform;
      }
      /* Diagonal marquee at top */
      .cine-marquee {
        position: absolute;
        top: 60px;
        left: -10%;
        width: 120%;
        border-top: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
        background: rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(8px);
        padding: 14px 0;
        z-index: 1;
        transform: rotate(-2deg);
        overflow: hidden;
        box-shadow: 0 20px 40px -16px rgba(11, 20, 40, 0.12);
      }
      .cine-marquee-track {
        display: flex;
        width: max-content;
        font-family: "Geist Mono", "Reith Qalam", ui-monospace, monospace;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 0.3em;
        text-transform: uppercase;
        color: var(--muted);
        animation: cine-marquee 40s linear infinite;
        gap: 48px;
      }
      .cine-marquee-track > span {
        display: inline-flex;
        align-items: center;
        gap: 48px;
        padding-right: 48px;
      }
      .cine-marquee-track .star { color: rgba(58, 75, 122, 0.6); font-size: 14px; }
      @keyframes cine-marquee {
        from { transform: translateX(0); }
        to   { transform: translateX(-50%); }
      }

      /* Main content */
      .cine-inner {
        position: relative;
        z-index: 5;
        max-width: 980px;
        margin: 0 auto;
        padding: 0 var(--gutter);
        text-align: center;
        margin-top: 120px;
      }
      .cine-heading {
        font-size: clamp(40px, 8vw, 120px);
        font-weight: 800;
        letter-spacing: -0.04em;
        line-height: 0.95;
        margin: 0 0 56px;
        background: linear-gradient(180deg, var(--ink) 0%, var(--ink-soft) 100%);
        -webkit-background-clip: text;
                background-clip: text;
        -webkit-text-fill-color: transparent;
        filter: drop-shadow(0 8px 24px rgba(11, 20, 40, 0.08));
      }
      .cine-heading em {
        font-style: normal;
        background: linear-gradient(180deg, var(--ink-soft) 0%, var(--muted) 100%);
        -webkit-background-clip: text;
                background-clip: text;
        -webkit-text-fill-color: transparent;
      }
      .cine-pills {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        margin-bottom: 18px;
      }
      .cine-pills-sm {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
      }
      /* Glass pill — LIGHT */
      .cine-pill {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 16px 28px;
        border-radius: 999px;
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.78) 100%);
        border: 1px solid var(--line);
        box-shadow:
          0 1px 2px rgba(11, 20, 40, 0.04),
          0 10px 30px -10px rgba(11, 20, 40, 0.14),
          inset 0 1px 1px rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(16px);
        color: var(--ink);
        font-size: 15px;
        font-weight: 600;
        letter-spacing: -0.005em;
        cursor: pointer;
        text-decoration: none;
        transition: background 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                    border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        will-change: transform;
      }
      .cine-pill:hover {
        background: linear-gradient(145deg, #ffffff 0%, rgba(255, 255, 255, 0.92) 100%);
        border-color: var(--ink);
        box-shadow:
          0 4px 8px rgba(11, 20, 40, 0.06),
          0 20px 40px -10px rgba(11, 20, 40, 0.18),
          inset 0 1px 1px rgba(255, 255, 255, 1);
      }
      .cine-pill svg { width: 18px; height: 18px; opacity: 0.65; transition: opacity 0.3s ease; }
      .cine-pill:hover svg { opacity: 1; }
      .cine-pill.sm {
        padding: 10px 18px;
        font-size: 13px;
        font-weight: 500;
        color: var(--ink-soft);
      }
      .cine-pill.sm:hover { color: var(--ink); }

      /* Bottom bar */
      .cine-bottom {
        position: relative;
        z-index: 10;
        margin-top: auto;
        padding: 56px var(--gutter) 0;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        max-width: 1080px;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
      }
      .cine-copy {
        font-family: "Geist Mono", "Reith Qalam", ui-monospace, monospace;
        font-size: 10px;
        font-weight: 600;
        letter-spacing: 0.15em;
        text-transform: uppercase;
        color: var(--muted);
      }
      .cine-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 18px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.8);
        border: 1px solid var(--line);
        font-family: "Geist Mono", "Reith Qalam", ui-monospace, monospace;
        font-size: 10px;
        font-weight: 600;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: var(--muted);
        backdrop-filter: blur(16px);
        box-shadow: 0 4px 12px -4px rgba(11, 20, 40, 0.06);
      }
      .cine-badge .heart {
        display: inline-block;
        color: #DE350B;
        font-size: 12px;
        animation: cine-heartbeat 2s cubic-bezier(0.25, 1, 0.5, 1) infinite;
      }
      .cine-badge .brand { color: var(--ink); font-weight: 800; letter-spacing: 0; }
      @keyframes cine-heartbeat {
        0%, 100% { transform: scale(1); filter: drop-shadow(0 0 5px rgba(222, 53, 11, 0.35)); }
        15%, 45% { transform: scale(1.2); filter: drop-shadow(0 0 10px rgba(222, 53, 11, 0.55)); }
        30% { transform: scale(1); }
      }
      .cine-top-btn {
        width: 44px; height: 44px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.8);
        border: 1px solid var(--line);
        backdrop-filter: blur(16px);
        color: var(--ink-soft);
        display: grid;
        place-items: center;
        cursor: pointer;
        box-shadow: 0 4px 12px -4px rgba(11, 20, 40, 0.08);
        transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease;
        will-change: transform;
      }
      .cine-top-btn:hover {
        color: var(--ink);
        background: #ffffff;
        border-color: var(--ink);
      }
      .cine-top-btn svg { width: 18px; height: 18px; transition: transform 0.3s ease; }
      .cine-top-btn:hover svg { transform: translateY(-2px); }

      /* Reduced motion */
      @media (prefers-reduced-motion: reduce) {
        .cine-aurora { animation: none; }
        .cine-marquee-track { animation: none; }
        .cine-badge .heart { animation: none; }
        .cine-pill, .cine-top-btn { transform: none !important; }
      }
      @media (max-width: 720px) {
        .cine-marquee { top: 40px; }
        .cine-inner { margin-top: 110px; }
        .cine-pills { flex-direction: column; align-items: stretch; }
        .cine-pill { justify-content: center; }
      }

      /* — CONTACT (legacy info grid, kept for fallback)————————————————————————— */
      .contact-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1px;
        background: var(--line);
        border: 1px solid var(--line);
        border-radius: 12px;
        overflow: hidden;
      }
      @media (min-width: 720px) {
        .contact-grid { grid-template-columns: repeat(2, 1fr); }
      }
      @media (min-width: 1024px) {
        .contact-grid { grid-template-columns: repeat(4, 1fr); }
      }
      .contact-cell {
        background: var(--paper);
        padding: 32px 24px;
        transition: background 0.2s ease;
      }
      .contact-cell:hover { background: var(--paper-cool); }
      .contact-cell .mono { margin-bottom: 10px; }
      .contact-cell-val {
        font-size: 17px;
        font-weight: 500;
        color: var(--ink);
        letter-spacing: -0.01em;
        line-height: 1.4;
      }

      /* — ANIMATED SOCIAL LINKS (pre-footer) ————————————————————————— */
      .socials-section {
        padding: 120px 0 100px;
        border-top: 1px solid var(--line);
        text-align: center;
        overflow: hidden;
      }
      .socials-eyebrow {
        font-family: "Geist Mono", "Reith Qalam", ui-monospace, monospace;
        font-size: 11px;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: var(--muted);
        margin-bottom: 24px;
        display: block;
      }
      .socials-row {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0;
        flex-wrap: wrap;
        position: relative;
      }
      .social-link {
        position: relative;
        cursor: pointer;
        padding: 16px 22px;
        color: var(--ink);
        font-size: clamp(28px, 4vw, 44px);
        font-weight: 600;
        letter-spacing: -0.025em;
        line-height: 1;
        text-decoration: none;
        transition: opacity 0.25s ease;
      }
      /* Sibling dim — when one is hovered, others fade */
      .socials-row.has-hover .social-link { opacity: 0.4; }
      .socials-row.has-hover .social-link.is-hover { opacity: 1; }
      /* Floating icon */
      .social-icon {
        position: absolute;
        left: 50%;
        bottom: 100%;
        width: 64px;
        height: 64px;
        margin-left: -32px;
        margin-bottom: 8px;
        border-radius: 14px;
        display: grid;
        place-items: center;
        background: var(--paper);
        border: 1px solid var(--line);
        box-shadow:
          0 4px 12px -4px rgba(11, 20, 40, 0.10),
          0 24px 40px -16px rgba(11, 20, 40, 0.18);
        opacity: 0;
        transform: translateY(10px) rotate(var(--icon-rot, 0deg));
        filter: blur(2px);
        pointer-events: none;
        transition: opacity 0.22s cubic-bezier(0.22, 1, 0.36, 1),
                    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
                    filter 0.22s cubic-bezier(0.22, 1, 0.36, 1);
      }
      .social-link.is-hover .social-icon {
        opacity: 1;
        transform: translateY(-2px) rotate(var(--icon-rot, 0deg));
        filter: blur(0px);
      }
      .social-link.is-clicked .social-icon {
        transform: translateY(-2px) rotate(var(--icon-rot, 0deg)) scale(1.25);
      }
      .social-icon svg {
        width: 32px;
        height: 32px;
        color: var(--ink);
      }
      /* Per-brand accent on icon background */
      .social-link[data-brand="instagram"] .social-icon {
        background: linear-gradient(135deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
        border-color: transparent;
      }
      .social-link[data-brand="instagram"] .social-icon svg { color: #fff; }
      .social-link[data-brand="whatsapp"] .social-icon { background: #25D366; border-color: #25D366; }
      .social-link[data-brand="whatsapp"] .social-icon svg { color: #fff; }
      .social-link[data-brand="email"]    .social-icon { background: var(--ink); border-color: var(--ink); }
      .social-link[data-brand="email"]    .social-icon svg { color: var(--paper); }
      .social-link[data-brand="maps"]     .social-icon { background: #4285F4; border-color: #4285F4; }
      .social-link[data-brand="maps"]     .social-icon svg { color: #fff; }
      @media (prefers-reduced-motion: reduce) {
        .social-icon { transition: opacity 0.1s ease; transform: translateY(-2px) !important; filter: none !important; }
      }

      /* — FOOTER (Asme-style: rounded top, radial glow, animated columns) — */
      .footer {
        position: relative;
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 64px 32px 56px;
        border-top: 1px solid var(--line);
        border-top-left-radius: 32px;
        border-top-right-radius: 32px;
        background:
          radial-gradient(35% 128px at 50% 0%, rgba(11, 20, 40, 0.04), transparent),
          var(--paper);
        color: var(--ink-soft);
        font-size: 13px;
      }
      @media (min-width: 768px) {
        .footer { border-top-left-radius: 48px; border-top-right-radius: 48px; padding: 80px 48px 64px; }
      }
      /* Top center thin glow pill */
      .footer::before {
        content: "";
        position: absolute;
        top: 0;
        left: 50%;
        width: 33%;
        height: 1px;
        background: var(--ink);
        opacity: 0.25;
        transform: translate(-50%, -50%);
        border-radius: 999px;
        filter: blur(0.5px);
      }
      .footer-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 40px;
      }
      @media (min-width: 1024px) {
        .footer-grid {
          grid-template-columns: 1fr 2fr;
          gap: 48px;
          align-items: start;
        }
      }
      .footer-brand-col {
        display: flex;
        flex-direction: column;
        gap: 20px;
      }
      .footer-brand-col img { height: 28px; width: auto; }
      .footer-brand-col p {
        margin: 0;
        font-size: 13px;
        color: var(--muted);
        max-width: 28ch;
        line-height: 1.5;
      }
      .footer-cols {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 24px;
        margin-top: 32px;
      }
      @media (min-width: 768px) {
        .footer-cols { grid-template-columns: repeat(4, 1fr); margin-top: 0; }
      }
      .footer-col-h {
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 0.04em;
        color: var(--ink);
        margin: 0 0 16px;
      }
      .footer-col-list {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 10px;
        font-size: 13px;
      }
      .footer-col-list a {
        color: var(--muted);
        display: inline-flex;
        align-items: center;
        gap: 8px;
        transition: color 0.3s ease;
      }
      .footer-col-list a:hover { color: var(--ink); }
      .footer-col-list a svg { width: 14px; height: 14px; flex-shrink: 0; }
      /* AnimatedContainer port — blur+slide on viewport enter */
      .footer-animate {
        opacity: 0;
        filter: blur(4px);
        transform: translateY(-8px);
        transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                    filter 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
      }
      .footer-animate.is-in {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
      }
      @media (prefers-reduced-motion: reduce) {
        .footer-animate { opacity: 1; filter: none; transform: none; transition: none; }
      }
      .footer-bottom {
        margin-top: 48px;
        padding-top: 24px;
        border-top: 1px solid var(--line);
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: space-between;
        align-items: center;
        font-size: 12px;
        color: var(--muted);
      }
      .footer-legal { display: flex; gap: 16px; flex-wrap: wrap; }
      .footer-legal a { color: var(--muted); transition: color 0.2s ease; }
      .footer-legal a:hover { color: var(--ink); }

      /* ════════════════════════════════════════════════════════════════
         MOBILE OVERRIDES (≤768px) — unpin sticky sections, single-column,
         disable scroll-jacking. Everything becomes normal vertical flow.
         ════════════════════════════════════════════════════════════════ */
      @media (max-width: 768px) {
        /* — HERO — sticky-pin like desktop so the title HOLDS and fills before scrolling — */
        .hero-cine-section { height: 175vh; }
        .hero-cine {
          position: sticky;
          top: 0;
          min-height: 100vh;
          padding: 32px 22px 36px;
        }
        /* Logo aligned with the fixed menu icon (nav-toggle center ≈ 56px) on load.
           Override the desktop negative pull (padding-top now handles the position). */
        .hero-cine-logo { margin-top: 0; }
        .hero-cine-reveal {
          flex-direction: column;
          gap: 22px;
          opacity: 1 !important;
          filter: none !important;
          transform: none !important;
        }
        .hero-cine-left { gap: 20px; padding-bottom: 0; }
        .hero-cine-title { font-size: clamp(2.6rem, 13vw, 4.5rem); }
        /* Scroll-fill kept on mobile too — chars fill as you scroll (see JS mobile branch).
           Slightly thinner outline stroke so the empty state reads clean on small screens. */
        .hero-cine-title .t-char { -webkit-text-stroke: 1.2px rgba(11, 20, 40, 0.45); }
        .hero-cine-title-wrap { transform: none; padding-right: 0; }
        .hero-cine-cta { transform: none; }
        .hero-cine-right { width: 100%; }
        .command-cell { opacity: 1 !important; transform: none !important; }

        /* — SERVICES — KEEP sticky-pin scroll, stack photos above list — */
        .svc-pin { padding-top: 8vh; }
        .svc-pin .section-head { display: block; margin-bottom: 20px; }
        .svc-pin .section-head .h2 { font-size: 24px; margin-bottom: 0; }
        .svc-pin .section-head .lede { display: none; }
        .svc-showcase { flex-direction: column; gap: 22px; align-items: center; }
        /* Flatten columns into one centered wrap grid — never overflows */
        .svc-photos {
          width: 100%;
          flex-wrap: wrap;
          justify-content: center;
          align-items: center;
          gap: 10px;
          overflow: visible;
        }
        .svc-photo-col { display: contents; }
        .svc-photo.c1 { width: 96px; height: 104px; margin: 0; }
        .svc-photo.c2 { width: 96px; height: 104px; margin: 0; }
        .svc-photo.c3 { width: 96px; height: 104px; margin: 0; }
        .svc-row-name { font-size: 19px; }

        /* — PORTFOLIO — KEEP circular, smaller cards; ring overflows + crops — */
        .cg-stage { width: 195px; height: 200px; }
        .cg-pin .cg-intro { font-size: 13px; }
        .cg-pin .cg-intro h2 { font-size: clamp(24px, 7vw, 34px); }

        /* — WHY (comparison) — KEEP sticky-pin row reveal — */
        .why-pin .h2 { font-size: clamp(24px, 6.5vw, 34px); }
        .compare th, .compare td { padding: 12px 8px; font-size: 12px; }

        /* — TESTIMONIALS — KEEP sticky-pin carousel — */
        .tm-bg-num { font-size: 42vw; }
        .tm-row { grid-template-columns: 60px 1fr; gap: 24px; }
        .tm-quote { font-size: clamp(20px, 5.5vw, 30px); min-height: 5em; }

        /* — LAB — sticky-pin kept; compact header in pin — */
        .lab-pin { padding-top: 10vh; justify-content: flex-start; }
        .lab-pin .section-head { margin-bottom: 24px; }
        .lab-pin .lede { display: none; }

        /* — TECHNOLOGY kinetic list — tap-friendly, no floating card — */
        .kinetic-row { padding: 22px 0; }
        .kinetic-name { font-size: clamp(24px, 7vw, 34px); }
        .kinetic-cursor { display: none; }
        .kinetic-list.has-active .kinetic-row:not(.is-active) { opacity: 1; }

        /* — CONTACT cinematic — smaller giant text — */
        .cine-giant { font-size: 42vw; bottom: 2vh; }
        .cine-inner { margin-top: 96px; }
        .cine-heading { font-size: clamp(36px, 13vw, 64px); }
        .cine-marquee { top: 44px; }

        /* — Generic — prevent horizontal overflow — */
        body { overflow-x: hidden; }
        .container { padding: 0 20px; }
        .section { padding: 72px 0; }
        .h2 { font-size: clamp(26px, 7vw, 38px); }

        /* FLEX MIN-WIDTH FIX — sticky-pin sections are display:flex; their flex
           children default to min-width:auto and refuse to shrink below content
           width, overflowing the viewport. Force them to shrink + wrap. */
        .svc-pin, .lab-pin, .why-pin, .tm-pin, .cg-pin { min-width: 0; max-width: 100vw; }
        .svc-pin > *, .lab-pin > *, .why-pin > *, .tm-pin > *,
        .svc-showcase, .svc-list, .svc-photos,
        .svc-showcase > *, .section-head { min-width: 0; max-width: 100%; }
        .svc-pin .section-head .h2 { overflow-wrap: anywhere; }
      }

      /* Small phones (≤420px) — tighten further */
      @media (max-width: 420px) {
        .cg-stage { width: 172px; height: 176px; }
        .hero-cine-title { font-size: clamp(2.2rem, 12vw, 3.4rem); }
      }

/* ── STORY-SCROLL (workflow stacking-rotate panels) — vanilla port of FlowArt ── */
.flow-art { position: relative; width: 100%; }  /* no overflow:hidden — it would break position:sticky */
.flow-section {
  position: sticky;            /* sticky stacking — rock-solid, no GSAP pin needed */
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}
.flow-art-container {
  position: relative;
  display: flex;
  height: 100%;
  width: 100%;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(0.8rem, 2.4vh, 1.6rem);
  padding: clamp(2.2rem, 8vh, 4.5rem) 6vw clamp(2.2rem, 7vh, 4rem);
  transform-origin: bottom left;
  will-change: transform;
}
.flow-eyebrow {
  font-family: "Geist Mono", "Reith Qalam", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  margin: 0;
  opacity: 0.85;
}
.flow-rule { border: none; border-top: 1px solid currentColor; opacity: 0.22; margin: clamp(0.9rem, 2vw, 1.8rem) 0; width: 100%; }
.flow-title {
  font-size: clamp(3rem, 11vw, 11rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  margin: 0;
}
.flow-desc {
  max-width: 54ch;
  font-size: clamp(1rem, 2.2vw, 1.7rem);
  line-height: 1.5;
  margin: 0;
  opacity: 0.92;
}
.flow-foot { margin-top: auto; }
/* Mobile: keep the full-screen stacking effect (same as desktop), tune type/padding */
@media (max-width: 1023px) {
  .flow-art-container { padding: clamp(1.8rem, 6vh, 3rem) 7vw; gap: clamp(0.6rem, 2vh, 1.2rem); }
  .flow-title { font-size: clamp(2.4rem, 12vw, 5rem); }
  .flow-desc { font-size: clamp(0.95rem, 4vw, 1.3rem); }
  .flow-eyebrow { font-size: 11px; }
}
/* Reduced-motion only: no sticky/rotate — plain stacked panels */
@media (prefers-reduced-motion: reduce) {
  .flow-section { position: static; height: auto; min-height: 0; }
  .flow-art-container { min-height: 0; transform: none !important; rotate: none !important; padding: 56px 7vw; justify-content: flex-start; gap: 18px; }
}

/* ── Homepage FAQ accordion ───────────────────────────────────────── */
.faq { margin-top: 8px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-size: clamp(16px, 2vw, 20px); font-weight: 600; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .faq-ic { flex-shrink: 0; width: 22px; height: 22px; position: relative; transition: transform 0.3s ease; }
.faq summary .faq-ic::before, .faq summary .faq-ic::after { content: ""; position: absolute; background: var(--ink); border-radius: 2px; transition: opacity 0.3s ease; }
.faq summary .faq-ic::before { top: 10px; left: 2px; right: 2px; height: 2px; }
.faq summary .faq-ic::after { left: 10px; top: 2px; bottom: 2px; width: 2px; }
.faq details[open] summary .faq-ic::after { opacity: 0; }
.faq details[open] summary .faq-ic { transform: rotate(180deg); }
.faq-a { padding: 0 0 22px; }
.faq-a p { font-size: 15.5px; line-height: 1.65; color: var(--ink-soft, #5b6478); margin: 0; max-width: 74ch; }

/* ── Animated custom cursor (desktop only; added by cursor.js) ───────── */
@media (pointer: fine) and (hover: hover) {
  html.has-custom-cursor, html.has-custom-cursor * { cursor: none !important; }
}
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 100000;
  mix-blend-mode: difference;
  opacity: 0;
  will-change: transform;
}
.cursor-dot { width: 7px; height: 7px; background: #fff; transition: opacity 0.25s ease; }
.cursor-ring {
  width: 38px; height: 38px;
  border: 1.5px solid #fff;
  transition: opacity 0.25s ease, width 0.28s cubic-bezier(0.22,1,0.36,1),
              height 0.28s cubic-bezier(0.22,1,0.36,1), background 0.28s ease, border-color 0.28s ease;
}
.cursor-dot.is-on, .cursor-ring.is-on { opacity: 1; }
.cursor-ring.is-hover { width: 60px; height: 60px; background: rgba(255,255,255,0.14); border-color: transparent; }
.cursor-ring.is-down { width: 30px; height: 30px; }

/* ── FAQ v2 — scroll-pinned, auto-opening chat-bubble accordion ──────── */
.faq-section { position: relative; }
.faq-pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 72px 0; overflow: hidden; }
.faq2 { display: flex; flex-direction: column; gap: 12px; }
.faq2-q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; background: none; border: 0; padding: 0; cursor: pointer; text-align: left;
}
.faq2-pill {
  display: inline-block; border-radius: 16px; padding: 13px 22px;
  background: #fff; border: 1px solid var(--line);
  font-size: clamp(15px, 1.8vw, 19px); font-weight: 600; color: var(--ink);
  transition: background 0.35s cubic-bezier(0.22,1,0.36,1), color 0.35s ease, border-color 0.35s ease, transform 0.35s cubic-bezier(0.22,1,0.36,1);
}
.faq2-item.is-open .faq2-pill { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: translateX(6px); }
.faq2-q:hover .faq2-pill { border-color: var(--ink); }
.faq2-ic { flex-shrink: 0; width: 22px; height: 22px; position: relative; }
.faq2-ic::before, .faq2-ic::after { content: ""; position: absolute; background: var(--ink); border-radius: 2px; transition: opacity 0.3s ease, transform 0.3s ease; }
.faq2-ic::before { top: 10px; left: 1px; right: 1px; height: 2px; }
.faq2-ic::after { left: 10px; top: 1px; bottom: 1px; width: 2px; }
.faq2-item.is-open .faq2-ic::after { opacity: 0; }
/* Height animation via grid 0fr → 1fr */
.faq2-a { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 0.45s cubic-bezier(0.22,1,0.36,1), opacity 0.4s ease; }
.faq2-item.is-open .faq2-a { grid-template-rows: 1fr; opacity: 1; }
.faq2-a-inner { overflow: hidden; display: flex; justify-content: flex-end; }
.faq2-bubble {
  max-width: 600px; margin: 12px 0 4px; padding: 15px 22px;
  border-radius: 22px 22px 6px 22px; background: var(--ink); color: var(--paper);
  font-size: 15.5px; line-height: 1.6; text-align: left;
}
/* RTL: question pill on the right, answer bubble on the left */
html[dir="rtl"] .faq2-a-inner { justify-content: flex-start; }
html[dir="rtl"] .faq2-bubble { border-radius: 22px 22px 22px 6px; }
html[dir="rtl"] .faq2-item.is-open .faq2-pill { transform: translateX(-6px); }
@media (max-width: 768px) {
  .faq-pin { padding: 56px 0; }
  .faq2-pill { padding: 11px 18px; font-size: 15px; }
  .faq2-bubble { font-size: 14.5px; padding: 13px 18px; max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .faq2-pill, .faq2-a, .faq2-ic::before, .faq2-ic::after { transition: none; }
}
