
  :root {
    --bg:           #0b0b0f;
    --bg-2:         #111115;
    --bg-3:         #17171d;
    --line:         rgba(255,255,255,0.08);
    --line-strong:  rgba(255,255,255,0.18);
    --text:         #f2f2f5;
    --text-dim:     #a0a0aa;
    --text-mute:    #6a6a74;
    --pink:         #ff2d8a;
    --pink-bright:  #ff5aa3;
    --wa-green:     #25d366;

    --cube-size: clamp(220px, 32vmin, 380px);
    --thickness: 8px;
    --tab-len: calc(var(--cube-size) / 20);

    --pink-intensity: 1;
    --grain-op: 0.0;
    /* Tweakable: hero edge-vignette REACH — how far the dark fade extends inward
       from the viewport borders (1 = default, higher = creeps further toward centre,
       ~0.6 = barely a rim). Restores the photo's fade-to-black taper that `cover`
       crops away. This now moves the gradient STOPS (geometry), so raising it
       visibly pulls the dark inward — unlike the old opacity tweak that barely moved. */
    --hero-vignette: 0;
  }

  * { box-sizing: border-box; }
  html, body { margin:0; padding:0; background: var(--bg); color: var(--text); font-family: "Barlow", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }

  a { color: inherit; text-decoration: none; }
  button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

  .mono { font-family: "JetBrains Mono", ui-monospace, monospace; }
  .cond { font-family: "Barlow Condensed", "Barlow", sans-serif; font-weight: 800; letter-spacing: -0.01em; }

  /* ───────────────────── NAV ───────────────────── */
  .nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 80;
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px clamp(20px, 4vw, 56px);
    background: rgba(11, 11, 15, 0.65);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, background 0.3s ease;
  }
  .nav.scrolled {
    background: rgba(11,11,15,0.9);
    border-bottom-color: var(--line);
  }
  .nav-brand { display: flex; align-items: center; gap: 12px; }
  .nav-brand img { height: 38px; width: auto; display: block; }
  .nav-brand .tag {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 600;
    letter-spacing: 0.3em;
    font-size: 10px;
    color: var(--pink);
    border-left: 1px solid var(--line-strong);
    padding-left: 12px;
    margin-left: 2px;
    white-space: nowrap;
  }
  .nav-links {
    display: flex; align-items: center; gap: 4px;
  }
  .nav-links a {
    position: relative;
    padding: 8px 14px;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 600;
    letter-spacing: 0.18em;
    font-size: 13px;
    text-transform: uppercase;
    color: var(--text-dim);
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--text); }
  .nav-links a.active { color: var(--text); }
  .nav-links a.active::after {
    content: "";
    position: absolute;
    left: 14px; right: 14px;
    bottom: 2px;
    height: 2px;
    background: var(--pink);
    box-shadow: 0 0 12px var(--pink);
  }
  .wa-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 18px;
    background: var(--wa-green);
    color: #fff;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 700;
    letter-spacing: 0.14em;
    font-size: 13px;
    text-transform: uppercase;
    border-radius: 999px;
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .wa-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(37,211,102,0.35); }
  .wa-btn svg { width: 16px; height: 16px; }

  .nav-toggle {
    display: none;
    width: 40px; height: 40px;
    align-items: center; justify-content: center;
  }
  .nav-toggle span {
    display: block; width: 22px; height: 2px; background: var(--text);
    position: relative;
  }
  .nav-toggle span::before, .nav-toggle span::after {
    content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--text);
  }
  .nav-toggle span::before { top: -7px; }
  .nav-toggle span::after  { top:  7px; }

  .nav-right { display: flex; align-items: center; gap: 10px; }

  @media (max-width: 880px) {
    .nav-links { display: none; }
    .nav-links.open {
      display: flex; flex-direction: column;
      position: absolute; top: 100%; left: 0; right: 0;
      background: rgba(11,11,15,0.98);
      border-bottom: 1px solid var(--line);
      padding: 20px;
      gap: 8px;
    }
    .nav-links.open a { width: 100%; padding: 12px; font-size: 15px; }
    .nav-links.open a.active::after { display: none; }
    .nav-toggle { display: inline-flex; }
    .nav-brand .tag { display: none; }
  }

  /* ───────────────────── HERO ───────────────────── */
.hero {
    position: relative;
    overflow: hidden;
    width: 100%;
    /* min-height (not height) + no max-height: the hero may GROW past the
       viewport when the content stack doesn't fit (short laptops) — growing
       scrolls; a fixed height + overflow:hidden amputated the CTAs. The
       min(…, 1080px) keeps the old "don't balloon on tall monitors" cap. */
    height: auto;
    min-height: min(100vh, 1080px);
    min-height: min(100dvh, 1080px); /* adapts as mobile URL bar shows/hides */

    background-color: var(--bg);
    /* Gradient atmosphere layered UNDER the photo so the hero still has depth
       if assets2/clean_background.jpg is missing or slow to load. */
    background-image:
      url("assets2/clean_background.jpg"),
      radial-gradient(ellipse 90% 55% at 50% 112%, rgba(255, 45, 138, 0.18) 0%, transparent 62%),
      radial-gradient(ellipse 60% 45% at 10% -8%, rgba(118, 80, 255, 0.13) 0%, transparent 65%),
      radial-gradient(ellipse 50% 38% at 90% 4%, rgba(255, 45, 138, 0.07) 0%, transparent 60%),
      linear-gradient(180deg, #0b0b0f 0%, #0e0c14 55%, #130a15 100%);
    background-repeat: no-repeat;
    background-size: cover; /* guarantees fill on all aspect ratios */
    background-position: center bottom;

    display: flex;
    align-items: center;
    justify-content: center;
}

  /* subtle grid lines background — opacity driven by --grain-op */
  .hero::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    opacity: calc(0.4 + var(--grain-op) * 2.4);
    pointer-events: none;
  }

  /* Edge-vignette overlay — sits ABOVE the photo + orbs (z-index 1) but BELOW the
     content (.hero-inner is z-index 2). `cover` scales the photo up and crops its
     built-in fade-to-black border, letting the pink reach the viewport edges; this
     re-darkens those edges with the exact --bg colour so the taper is restored at
     any viewport. It self-adapts: it only ADDS darkness, so where the photo's own
     black border still shows (e.g. the sides on ultra-wide) it's black-on-black and
     invisible — it only does visible work on the edges cover actually exposes.
     Composited as: side falloff (worst on narrow viewports) + top falloff (worst on
     wide) + a soft corner vignette biased upward so the floor keeps its glow.

     --hero-vignette controls REACH — how far each fade extends INWARD — by moving
     the gradient stop positions, not their opacity (opacity is fixed strong below).
     Higher = the dark creeps further toward the centre. clamp() stops the opposing
     side/top stops from crossing past the middle at large values. */
  .hero::after {
    content: "";
    position: absolute; inset: 0;
    z-index: 1;
    pointer-events: none;
    /* reach of each fade, scaled by --hero-vignette */
    --edge-reach: clamp(14%, calc(30% * var(--hero-vignette)), 46%); /* left/right */
    --top-reach:  clamp(16%, calc(40% * var(--hero-vignette)), 60%); /* top        */
    --core-clear: clamp(20%, calc(42% / var(--hero-vignette)), 55%); /* radial: lower = darker further in */
    background:
      linear-gradient(90deg,
        color-mix(in oklab, var(--bg) 90%, transparent) 0%,
        transparent var(--edge-reach),
        transparent calc(100% - var(--edge-reach)),
        color-mix(in oklab, var(--bg) 90%, transparent) 100%),
      linear-gradient(180deg,
        color-mix(in oklab, var(--bg) 82%, transparent) 0%,
        transparent var(--top-reach)),
      radial-gradient(ellipse 112% 96% at 50% 42%,
        transparent var(--core-clear),
        color-mix(in oklab, var(--bg) 64%, transparent) 100%);
  }

  .hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    max-width: 1100px;
    /* top clears the fixed nav (~74px); bottom reserves the scroll-hint lane
       so the CTAs can never sit on top of it. */
    padding: clamp(88px, 12vh, 130px) 24px clamp(96px, 13vh, 150px);
  }

  .hero-eyebrow { order: 1; }
  .cube-stage    { order: 2; }
  .hero-headline { order: 3; }
  .hero-sub      { order: 4; }
  .hero-ctas     { order: 5; }

  .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.3em;
    color: var(--pink);
    text-transform: uppercase;
    opacity: 0.9;
  }
  .hero-eyebrow .dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--pink);
    box-shadow: 0 0 10px var(--pink);
    animation: pulse 2s ease-in-out infinite;
  }
  @keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
  }

  /* Cube stage — scoped inline */
  .cube-stage {
    width: 100%;
    max-width: 520px;
    height: min(calc(var(--cube-size) * 1.4), 400px);
    position: relative;
    z-index: 2;
    perspective: 1400px;
    perspective-origin: 50% 45%;
    /* pan-y keeps vertical page scroll native; horizontal swipes are claimed
       by the direction-locked drag in script.js so the cube stays spinnable */
    touch-action: pan-y;
    display: grid;
    place-items: center;
  }
  .cube-glow {
    position: absolute;
    width: 140%; height: 140%;
    border-radius: 50%;
    background:
      radial-gradient(circle at 45% 50%, rgba(255, 45, 138, 0.42) 0%, rgba(255, 45, 138, 0.12) 28%, transparent 58%),
      radial-gradient(circle at 62% 55%, rgba(255, 45, 138, 0.18) 0%, transparent 45%);
    pointer-events: none;
    z-index: 0;
  }
  .cube-wrap {
    width: var(--cube-size);
    height: var(--cube-size);
    position: relative;
    transform-style: preserve-3d;
    z-index: 1;
    /* No `contain: paint` here — it clips face corners when the cube rotates. */
  }
  .cube {
    width: 100%; height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(-18deg) rotateY(-28deg);
    will-change: transform;
  }
  /* When hero scrolls offscreen, skip painting cube internals entirely */
  .cube-stage.offscreen .cube,
  .cube-stage.offscreen .cube-glow,
  .cube-stage.offscreen .cube-reflection { content-visibility: hidden; }
  .cube .face {
    position: absolute; inset: 0;
    display: grid; place-items: center;
    backface-visibility: visible;
    transform-style: preserve-3d;
  }
  .face-visual {
    position: absolute; inset: 0;
    /* Pre-baked translucent look — replaces backdrop-filter for a ~10x perf win.
       Visually near-identical on the dark hero bg. */
    background:
      linear-gradient(135deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.03) 18%, rgba(255,255,255,0.02) 82%, rgba(255,255,255,0.12) 100%),
      radial-gradient(circle at 50% 50%, rgba(255, 45, 138, 0.22) 0%, transparent 65%),
      rgba(24, 18, 32, 0.55);
    border: 1px solid rgba(255,255,255,0.42);
    box-shadow:
      inset 0 0 10px rgba(255, 45, 138, 0.20),
      inset 0 0 0 1px rgba(255,255,255,0.16);
    pointer-events: none;

    --mask-t: repeating-linear-gradient(to right, #000 0, #000 var(--tab-len), transparent var(--tab-len), transparent calc(var(--tab-len)*2));
    --mask-b: repeating-linear-gradient(to right, #000 0, #000 var(--tab-len), transparent var(--tab-len), transparent calc(var(--tab-len)*2));
    --mask-l: repeating-linear-gradient(to bottom, #000 0, #000 var(--tab-len), transparent var(--tab-len), transparent calc(var(--tab-len)*2));
    --mask-r: repeating-linear-gradient(to bottom, #000 0, #000 var(--tab-len), transparent var(--tab-len), transparent calc(var(--tab-len)*2));
    --mask-center: linear-gradient(#000, #000);
    -webkit-mask-image: var(--mask-t), var(--mask-b), var(--mask-l), var(--mask-r), var(--mask-center);
    mask-image: var(--mask-t), var(--mask-b), var(--mask-l), var(--mask-r), var(--mask-center);
    -webkit-mask-size: 100% var(--thickness), 100% var(--thickness), var(--thickness) 100%, var(--thickness) 100%, calc(100% - var(--thickness)*2) calc(100% - var(--thickness)*2);
    mask-size: 100% var(--thickness), 100% var(--thickness), var(--thickness) 100%, var(--thickness) 100%, calc(100% - var(--thickness)*2) calc(100% - var(--thickness)*2);
    -webkit-mask-position: top, bottom, left, right, center;
    mask-position: top, bottom, left, right, center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
  }

  /* ─── Per-edge phase overrides ────────────────────────────────
     A cube's face-adjacency graph is NOT 2-colorable on faces
     (each face has 4 neighbors), so no single per-face offset
     can make every shared edge interlock. Solution: assign a
     phase (0 = solid-start, 1 = gap-start) PER EDGE, and each
     face overrides its own t/b/l/r mask to match.
     Phase table derived from cube geometry — see design notes. */
  .phase-t1 .face-visual {
    --mask-t: repeating-linear-gradient(to right, transparent 0, transparent var(--tab-len), #000 var(--tab-len), #000 calc(var(--tab-len)*2));
  }
  .phase-t0 .face-visual {
    --mask-t: repeating-linear-gradient(to right, #000 0, #000 var(--tab-len), transparent var(--tab-len), transparent calc(var(--tab-len)*2));
  }
  .phase-b1 .face-visual {
    --mask-b: repeating-linear-gradient(to right, transparent 0, transparent var(--tab-len), #000 var(--tab-len), #000 calc(var(--tab-len)*2));
  }
  .phase-b0 .face-visual {
    --mask-b: repeating-linear-gradient(to right, #000 0, #000 var(--tab-len), transparent var(--tab-len), transparent calc(var(--tab-len)*2));
  }
  .phase-l1 .face-visual {
    --mask-l: repeating-linear-gradient(to bottom, transparent 0, transparent var(--tab-len), #000 var(--tab-len), #000 calc(var(--tab-len)*2));
  }
  .phase-l0 .face-visual {
    --mask-l: repeating-linear-gradient(to bottom, #000 0, #000 var(--tab-len), transparent var(--tab-len), transparent calc(var(--tab-len)*2));
  }
  .phase-r1 .face-visual {
    --mask-r: repeating-linear-gradient(to bottom, transparent 0, transparent var(--tab-len), #000 var(--tab-len), #000 calc(var(--tab-len)*2));
  }
  .phase-r0 .face-visual {
    --mask-r: repeating-linear-gradient(to bottom, #000 0, #000 var(--tab-len), transparent var(--tab-len), transparent calc(var(--tab-len)*2));
  }

  /* Matching per-edge phase for the pink tab strips themselves */
  .phase-t1 .tab-t {
    --mask-img: repeating-linear-gradient(to right, transparent 0, transparent var(--tab-len), #000 var(--tab-len), #000 calc(var(--tab-len)*2));
  }
  .phase-t0 .tab-t {
    --mask-img: repeating-linear-gradient(to right, #000 0, #000 var(--tab-len), transparent var(--tab-len), transparent calc(var(--tab-len)*2));
  }
  .phase-b1 .tab-b {
    --mask-img: repeating-linear-gradient(to right, transparent 0, transparent var(--tab-len), #000 var(--tab-len), #000 calc(var(--tab-len)*2));
  }
  .phase-b0 .tab-b {
    --mask-img: repeating-linear-gradient(to right, #000 0, #000 var(--tab-len), transparent var(--tab-len), transparent calc(var(--tab-len)*2));
  }
  .phase-l1 .tab-l {
    --mask-img: repeating-linear-gradient(to bottom, transparent 0, transparent var(--tab-len), #000 var(--tab-len), #000 calc(var(--tab-len)*2));
  }
  .phase-l0 .tab-l {
    --mask-img: repeating-linear-gradient(to bottom, #000 0, #000 var(--tab-len), transparent var(--tab-len), transparent calc(var(--tab-len)*2));
  }
  .phase-r1 .tab-r {
    --mask-img: repeating-linear-gradient(to bottom, transparent 0, transparent var(--tab-len), #000 var(--tab-len), #000 calc(var(--tab-len)*2));
  }
  .phase-r0 .tab-r {
    --mask-img: repeating-linear-gradient(to bottom, #000 0, #000 var(--tab-len), transparent var(--tab-len), transparent calc(var(--tab-len)*2));
  }
  .face-visual::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0) 8%, rgba(255,255,255,0) 92%, rgba(255, 45, 138, 0.15) 100%);
    pointer-events: none;
  }
  .face-visual::after {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, rgba(255, 45, 138, 0.15) 0%, transparent 60%);
    pointer-events: none;
  }
  .tab {
    position: absolute; pointer-events: none;
    /* Brighter base + box-shadow glow instead of 3 stacked drop-shadow() filters.
       drop-shadow on a masked element is ~order-of-magnitude more expensive than box-shadow.
       Uses var(--pink) / --pink-bright scaled by the --pink-intensity multiplier. */
    background: color-mix(in oklab, var(--pink-bright) calc(85% * var(--pink-intensity)), transparent);
    box-shadow:
      0 0 1px color-mix(in oklab, var(--pink) calc(100% * var(--pink-intensity)), transparent),
      0 0 4px color-mix(in oklab, var(--pink) calc(65% * var(--pink-intensity)), transparent),
      0 0 10px color-mix(in oklab, var(--pink) calc(28% * var(--pink-intensity)), transparent);
    backface-visibility: visible;
  }
  /* Grain/texture overlay on tabs — stippled noise at --grain-op opacity. */
  .tab::before {
    content: "";
    position: absolute; inset: 0;
    pointer-events: none;
    background-image:
      repeating-conic-gradient(rgba(255,255,255,0.9) 0% 0.6%, transparent 0.6% 1.2%),
      repeating-linear-gradient(37deg, rgba(0,0,0,0.6) 0 1px, transparent 1px 3px);
    background-size: 3px 3px, 4px 4px;
    mix-blend-mode: overlay;
    opacity: calc(var(--grain-op) * 2.2);
    -webkit-mask-image: inherit; mask-image: inherit;
  }
  .tab-t, .tab-b { left: 0; right: 0; height: var(--thickness);
    --mask-img: repeating-linear-gradient(to right, #000 0, #000 var(--tab-len), transparent var(--tab-len), transparent calc(var(--tab-len)*2));
    -webkit-mask-image: var(--mask-img); mask-image: var(--mask-img); }
  .tab-t { top: 0; transform-origin: center top; transform: rotateX(-90deg); }
  .tab-b { bottom: 0; transform-origin: center bottom; transform: rotateX(90deg); }
  .tab-l, .tab-r { top: 0; bottom: 0; width: var(--thickness);
    --mask-img: repeating-linear-gradient(to bottom, #000 0, #000 var(--tab-len), transparent var(--tab-len), transparent calc(var(--tab-len)*2));
    -webkit-mask-image: var(--mask-img); mask-image: var(--mask-img); }
  .tab-l { left: 0; transform-origin: left center; transform: rotateY(90deg); }
  .tab-r { right: 0; transform-origin: right center; transform: rotateY(-90deg); }

  .cube .logo {
    position: relative; width: 72%; height: 72%; z-index: 2;
    display: grid; place-items: center;
  }
  .cube .logo img {
    width: 100%; height: auto;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(255, 45, 138, 0.5)) drop-shadow(0 1px 0 rgba(0,0,0,0.55));
  }
  .cube .logo svg { width: 100%; height: 100%; }
  .core {
    position: absolute; top: 50%; left: 50%;
    width: 90%; height: 90%; margin-top: -45%; margin-left: -45%;
    border-radius: 50%;
    background:
      radial-gradient(circle at 50% 50%, rgba(255, 80, 155, 0.7) 0%, rgba(255, 60, 140, 0.45) 4%, rgba(255, 40, 125, 0.28) 9%, rgba(255, 45, 138, 0.18) 14%, rgba(220, 20, 95, 0.10) 20%, rgba(180, 15, 75, 0.05) 28%, rgba(140, 10, 60, 0.02) 38%, transparent 70%),
      radial-gradient(circle at 50% 50%, rgba(255, 45, 138, 0.25) 0%, rgba(255, 60, 140, 0.15) 15%, rgba(255, 45, 138, 0.06) 35%, transparent 60%);
    pointer-events: none;
    will-change: transform;
  }
  .front  { transform: translateZ(calc(var(--cube-size) / 2)); }
  .back   { transform: rotateY(180deg) translateZ(calc(var(--cube-size) / 2)); }
  .right  { transform: rotateY(90deg)  translateZ(calc(var(--cube-size) / 2)); }
  .left   { transform: rotateY(-90deg) translateZ(calc(var(--cube-size) / 2)); }
  .top    { transform: rotateX(90deg)  translateZ(calc(var(--cube-size) / 2)); }
  .bottom { transform: rotateX(-90deg) translateZ(calc(var(--cube-size) / 2)); }
  .cube-reflection {
    position: absolute;
    top: calc(50% + var(--cube-size) / 2 - 10px);
    left: 50%;
    transform: translate(-50%, 0);
    width: calc(var(--cube-size) * 1.4);
    height: 90px;
    background: radial-gradient(ellipse at center, rgba(255, 45, 138, 0.35) 0%, rgba(255, 45, 138, 0.18) 25%, rgba(255, 45, 138, 0.06) 50%, transparent 75%);
    pointer-events: none;
    z-index: 0;
  }

  /* Hero copy */
  .hero-headline {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 900;
    font-size: clamp(40px, 7vw, 92px);
    line-height: 0.95;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin: clamp(20px, 3vw, 44px) 0 0;
    max-width: 22ch;
    position: relative;
    z-index: 1;
  }
  .hero-headline .accent { color: var(--pink); text-shadow: 0 1px 1px rgba(0,0,0,0.7), 0 0 12px rgba(0,0,0,0.55), 0 0 28px rgba(255,45,138,0.45); white-space: nowrap; }
  .hero-sub {
    font-family: "Barlow", sans-serif;
    font-weight: 400;
    font-style: italic;
    font-size: clamp(16px, 1.6vw, 20px);
    color: var(--text-dim);
    margin: 0;
    max-width: 50ch;
  }
  .hero-sub strong { color: var(--text); font-weight: 500; font-style: normal; }
  .hero-sub-line1, .hero-sub-line2 { display: block; }
  .hero-sub-line1 { margin-bottom: -0.15em; }
  .hero-sub-line2 { margin-top: 0.2em; }

  .hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
  .btn-ghost {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 12px 22px;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 700;
    letter-spacing: 0.18em;
    font-size: 13px;
    text-transform: uppercase;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    color: var(--text);
    transition: border-color 0.2s, color 0.2s, background 0.2s;
  }
  .btn-ghost:hover { border-color: var(--pink); color: var(--pink); }
  .wa-btn.big { padding: 14px 24px; font-size: 14px; }


  .scroll-hint {
    position: absolute; bottom: 24px; left: 50%;
    z-index: 2; /* keep above the edge-vignette (.hero::after, z-index 1) */
    transform: translateX(-50%);
    font-family: "JetBrains Mono", monospace;
    font-size: 10px; letter-spacing: 0.3em;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
  }
  .scroll-hint::after {
    content: ""; width: 1px; height: 32px;
    background: linear-gradient(to bottom, var(--pink), transparent);
  }

  /* ───────────────────── HERO ENTRANCE ───────────────────── */
  @keyframes hero-up {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes hero-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
  .hero-eyebrow  { animation: hero-up   0.75s cubic-bezier(0.16,1,0.3,1) 0.05s both; }
  .cube-stage    { animation: hero-up   0.75s cubic-bezier(0.16,1,0.3,1) 0.20s both; }
  /* .hero-headline animates word-by-word via .hw spans — see Motion Pack below */
  .hero-sub      { animation: hero-up   0.75s cubic-bezier(0.16,1,0.3,1) 0.82s both; }
  .hero-ctas     { animation: hero-up   0.75s cubic-bezier(0.16,1,0.3,1) 0.94s both; }
  .scroll-hint   { animation: hero-fade 0.60s ease                        1.25s both; }

  /* ───────────────────── SCROLL REVEAL ───────────────────── */
  .reveal-hidden {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.16,1,0.3,1);
    transition-delay: var(--reveal-delay, 0ms);
  }
  .reveal-hidden.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* ───────────────────── SECTION COMMON ───────────────────── */
  section { position: relative; }
  .section {
    padding: clamp(40px, 5vw, 70px) clamp(20px, 4vw, 56px);
    max-width: 1400px;
    margin: 0 auto;
  }
  .section-label {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.3em;
    color: var(--pink);
    text-transform: uppercase;
    margin-bottom: 18px;
  }
  .section-label::before {
    content: ""; width: 28px; height: 1px; background: var(--pink);
  }
  .section-title {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 800;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    margin: 0 0 16px;
  }
  .section-lede {
    font-family: "Barlow", sans-serif;
    font-size: clamp(16px, 1.4vw, 18px);
    color: var(--text-dim);
    max-width: 60ch;
    line-height: 1.55;
    margin: 0;
  }
  .section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
    margin-bottom: 56px;
    flex-wrap: wrap;
  }

  /* ───────────────────── SERVICES ───────────────────── */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
  @media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 520px) { .services-grid { grid-template-columns: 1fr; } }

  .service-card {
    position: relative;
    background: var(--bg-2);
    border: 1px solid var(--line);
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
  }
  .service-card:hover { transform: translateY(-4px); border-color: var(--pink); }
  .service-card:hover .service-thumb::after { opacity: 1; }
  .service-card:hover .service-arrow { transform: translateX(6px); color: var(--pink); }

  .service-thumb {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--bg-3);
  }
  .service-thumb::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(255,45,138,0.18) 100%);
    opacity: 0; transition: opacity 0.3s;
  }
  .service-body {
    padding: 22px 22px 26px;
    display: flex; flex-direction: column; gap: 10px;
    flex: 1;
  }
  .service-body h3 {
    margin: 0;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 800;
    font-size: 24px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }
  .service-body p {
    margin: 0;
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.5;
    flex: 1;
  }
  .service-arrow {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: "JetBrains Mono", monospace;
    font-size: 11px; letter-spacing: 0.2em;
    color: var(--text-mute); text-transform: uppercase;
    transition: transform 0.2s, color 0.2s;
    margin-top: 6px;
  }
  .service-num {
    position: absolute;
    top: 14px; left: 14px;
    z-index: 2;
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.2em;
    color: var(--pink);
    background: rgba(0,0,0,0.4);
    padding: 4px 8px;
    border: 1px solid rgba(255,45,138,0.3);
  }

  /* Real photo holder + fallback striped placeholder */
  .photo {
    width: 100%; height: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    background-color: #0f0f14;
    overflow: hidden;
  }
  /* Casual deterrent against right-click-save / drag-out on portfolio photos
     and client logos — not real protection (view-source still has the URLs),
     just raises the bar past "right click → Save Image As". */
  .photo img, .client-cell img, .lightbox-frame {
    -webkit-user-drag: none;
    user-drag: none;
    -webkit-touch-callout: none;
    user-select: none;
    -webkit-user-select: none;
  }
  .photo::after {
    /* subtle dark overlay to integrate with dark theme (per concept doc) */
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.45) 100%);
    mix-blend-mode: multiply;
    pointer-events: none;
  }
  /* gallery items built by script.js use a real <img> (lazy-loadable) */
  .photo > img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
  }
  .placeholder {
    width: 100%; height: 100%;
    position: relative;
    background:
      repeating-linear-gradient(
        45deg,
        rgba(255,255,255,0.02) 0 10px,
        rgba(255,255,255,0.05) 10px 20px
      ),
      linear-gradient(135deg, #1a1a22 0%, #0f0f14 100%);
    display: grid;
    place-items: center;
  }
  .placeholder .ph-label {
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    padding: 6px 10px;
    border: 1px dashed rgba(255,255,255,0.2);
    background: rgba(0,0,0,0.4);
    white-space: nowrap;
  }
  .placeholder.pink-tint {
    background:
      repeating-linear-gradient(
        45deg,
        rgba(255,45,138,0.04) 0 10px,
        rgba(255,45,138,0.08) 10px 20px
      ),
      linear-gradient(135deg, #2a1020 0%, #0f0a10 100%);
  }

  /* ───────────────────── FEATURED WORK ───────────────────── */
  .work-filter {
    display: flex; gap: 8px; flex-wrap: wrap;
    margin-bottom: 28px;
  }
  .filter-chip {
    padding: 8px 16px;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 600;
    letter-spacing: 0.16em;
    font-size: 12px;
    text-transform: uppercase;
    border: 1px solid var(--line);
    color: var(--text-dim);
    border-radius: 999px;
    transition: all 0.2s;
  }
  .filter-chip:hover { color: var(--text); border-color: var(--line-strong); }
  .filter-chip.active {
    background: var(--pink);
    color: #fff;
    border-color: var(--pink);
  }

  .work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  .work-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: var(--bg-3);
    border: 1px solid var(--line);
    aspect-ratio: 1;
    transition: transform 0.35s ease, border-color 0.35s ease;
    animation: work-item-in 0.35s ease both;
  }
  @keyframes work-item-in {
    from { opacity: 0; transform: scale(0.96); }
    to   { opacity: 1; transform: scale(1); }
  }
  .work-item.hidden { display: none; }
  .work-item:hover { transform: scale(1.01); border-color: var(--pink); }
  .work-item:hover .work-overlay { opacity: 1; }
  .work-overlay {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 20px;
    background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,0.85) 100%);
    opacity: 0;
    transition: opacity 0.3s;
  }
  .work-overlay .cat {
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.25em;
    color: var(--pink);
    text-transform: uppercase;
    margin-bottom: 4px;
  }
  .work-overlay .ttl {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 700;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 0.01em;
  }

  .work-more {
    display: flex; justify-content: center; align-items: center;
    gap: 20px; flex-wrap: wrap;
    margin-top: 28px;
  }
  .work-more[hidden] { display: none; }
  .btn-less {
    padding: 8px 4px;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 600;
    letter-spacing: 0.14em;
    font-size: 13px;
    text-transform: uppercase;
    color: var(--text-dim);
    transition: color 0.2s;
  }
  .btn-less:hover { color: var(--pink); }
  .btn-less[hidden] { display: none; }

  @media (max-width: 600px) {
    .work-grid { grid-template-columns: repeat(2, 1fr); }
  }

  /* ───────────────────── ABOUT ───────────────────── */
  .about-wrap {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
    align-items: center;
  }
  @media (max-width: 900px) { .about-wrap { grid-template-columns: 1fr; gap: 40px; } }

  .about-copy h2 { font-size: clamp(40px, 5vw, 64px); margin-bottom: 24px; }
  .about-copy p {
    font-size: 17px;
    line-height: 1.65;
    color: var(--text-dim);
    margin: 0 0 16px;
    max-width: 52ch;
  }
  .about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 36px;
    padding-top: 36px;
    border-top: 1px solid var(--line);
  }
  .stat .num {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 800;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1;
    color: var(--pink);
    letter-spacing: -0.02em;
  }
  .stat .lbl {
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.24em;
    color: var(--text-mute);
    text-transform: uppercase;
    margin-top: 10px;
    display: block;
  }

  .about-visual {
    position: relative;
    width: 90%;
    margin: 0 auto;
    aspect-ratio: 6 / 7;
    background: var(--bg-2);
    border: 1px solid var(--line);
    overflow: hidden;
  }
  .about-visual .photo > img { object-position: center 42%; }

  /* ───────────────────── CLIENTS ───────────────────── */
  .clients-band {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--bg-2);
    overflow: hidden;
    padding: 48px 0;
  }
  .clients-label {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.3em;
    color: var(--text-mute);
    text-transform: uppercase;
    margin-bottom: 28px;
    text-align: center;
  }
  .clients-track {
    display: flex;
    width: max-content;
    animation: marquee 38s linear infinite;
  }
  .clients-track:hover { animation-play-state: paused; }
  @keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }
  .client-row {
    display: flex;
    flex-shrink: 0;
    border-left: 1px solid var(--line);
  }
  .client-cell {
    width: 180px; height: 108px;
    padding: 22px 26px;
    border-right: 1px solid var(--line);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-3);
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  }
  .client-cell img {
    max-width: 100%; max-height: 100%;
    object-fit: contain;
    display: block;
    /* the source logos are flat marks on white — invert so the strip reads
       dark with light logos instead of a row of white cards */
    filter: invert(1) brightness(1.6) contrast(0.9);
    opacity: 0.8;
    transition: opacity 0.25s, filter 0.25s;
  }
  .client-cell:hover {
    border-color: var(--pink);
    box-shadow: 0 10px 26px rgba(255, 45, 138, 0.2);
    transform: translateY(-3px);
  }
  .client-cell:hover img { opacity: 1; }

  /* ───────────────────── CTA STRIP ───────────────────── */
  .cta-strip {
    padding: clamp(80px, 10vw, 120px) clamp(20px, 4vw, 56px);
    text-align: center;
    position: relative;
    overflow: hidden;
    background:
      radial-gradient(ellipse 80% 60% at 50% 50%, rgba(255, 45, 138, 0.14) 0%, transparent 60%),
      var(--bg);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .cta-strip h2 {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 900;
    font-size: clamp(40px, 7vw, 88px);
    line-height: 0.95;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin: 0 0 14px;
    max-width: 20ch;
    margin-left: auto; margin-right: auto;
    text-wrap: balance;
  }
  .cta-strip h2 .pink { color: var(--pink); text-shadow: 0 0 24px rgba(255,45,138,0.3); }
  .cta-strip p {
    color: var(--text-dim);
    font-size: 17px;
    max-width: 50ch;
    margin: 0 auto 36px;
  }
  .cta-strip .ctas { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

  /* ───────────────────── CONTACT / FOOTER ───────────────────── */
  .contact {
    padding: clamp(40px, 5vw, 70px) clamp(20px, 4vw, 56px);
    max-width: 1400px;
    margin: 0 auto;
  }
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }
  @media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

  .contact-info { display: flex; flex-direction: column; gap: 28px; }
  .contact-row { display: flex; flex-direction: column; gap: 6px; }
  .contact-row .lbl {
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.3em;
    color: var(--text-mute);
    text-transform: uppercase;
  }
  .contact-row .val {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 600;
    font-size: 22px;
    letter-spacing: 0.01em;
  }
  .contact-row a.val:hover { color: var(--pink); }

  .map-frame {
    aspect-ratio: 4 / 3;
    border: 1px solid var(--line);
    background: var(--bg-2);
    position: relative;
    overflow: hidden;
    /* Trap Leaflet's huge internal z-indexes (panes 400, controls 1000) in their
       own stacking context so they can't paint over the fixed nav (z-index 80).
       Previously this was an accident of .reveal-hidden's transform; now explicit. */
    isolation: isolate;
  }
  #leaflet-map {
    width: 100%; height: 100%;
  }
  #leaflet-map .leaflet-control-zoom a {
    background: #fff;
    color: #111;
    border-color: #ccc;
    transition: background 0.2s, color 0.2s;
  }
  #leaflet-map .leaflet-control-zoom a:hover {
    background: var(--pink);
    color: #fff;
    border-color: var(--pink);
  }
  /* tile-usage terms require the OSM/CARTO credit — restyle it for the dark map */
  #leaflet-map .leaflet-control-attribution {
    background: rgba(0, 0, 0, 0.7);
    color: var(--text-mute);
    font-size: 9px;
  }
  #leaflet-map .leaflet-control-attribution a { color: var(--text-dim); }
  .map-label {
    position: absolute;
    top: 16px; left: 50%; transform: translateX(-50%); z-index: 1000; white-space: nowrap;
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.24em;
    color: var(--pink);
    background: rgba(0,0,0,0.7);
    padding: 6px 10px;
    border: 1px solid rgba(255,45,138,0.25);
    text-transform: uppercase;
    pointer-events: none;
  }
  .map-directions {
    position: absolute;
    bottom: 16px; right: 16px; z-index: 1000;
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #111;
    background: #fff;
    padding: 7px 12px;
    border: none;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
  }
  .map-directions:hover {
    background: var(--pink);
    color: #fff;
  }

  /* ───────────────────── FOOTER ───────────────────── */
  .footer {
    border-top: 1px solid var(--line);
    padding: 48px clamp(20px, 4vw, 56px) 32px;
    background: #050507;
  }
  .footer-inner {
    max-width: 1400px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    gap: 24px; flex-wrap: wrap;
  }
  .footer-brand { display: flex; align-items: center; gap: 16px; }
  .footer-brand img { height: 40px; }
  .footer-brand .stud {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 700; letter-spacing: 0.3em;
    font-size: 11px; color: var(--pink);
    padding-left: 14px; border-left: 1px solid var(--line);
  }
  .footer-links {
    display: flex; gap: 22px;
    font-family: "JetBrains Mono", monospace;
    font-size: 11px; letter-spacing: 0.22em;
    color: var(--text-mute); text-transform: uppercase;
  }
  .footer-links a:hover { color: var(--text); }
  .footer-copy {
    font-family: "JetBrains Mono", monospace;
    font-size: 10px; letter-spacing: 0.22em;
    color: var(--text-mute); text-transform: uppercase;
  }
  /* Colophon — quiet build credit on its own hairline-separated tier */
  .footer-credit {
    max-width: 1400px;
    margin: 26px auto 0;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    display: flex; justify-content: center;
  }
  .footer-credit a {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: "JetBrains Mono", monospace;
    font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--text-mute); text-decoration: none;
    transition: color 0.2s;
  }
  .footer-credit a:hover { color: var(--text-dim); }
  .footer-credit strong { color: var(--text-dim); font-weight: 700; }
  .footer-credit a:hover strong { color: var(--text); }
  .footer-credit .ogbit-mark {
    height: 22px; width: auto;
    /* dark transparent PNG → quiet light mark on the near-black footer */
    filter: brightness(0) invert(1);
    opacity: 0.5;
    transition: opacity 0.2s;
  }
  .footer-credit a:hover .ogbit-mark { opacity: 0.85; }

  /* ───────────────────── FLOATING WA ───────────────────── */
  .wa-float {
    position: fixed;
    bottom: 22px; right: 22px;
    z-index: 90;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--wa-green);
    display: grid; place-items: center;
    box-shadow: 0 12px 32px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0.5);
    transition: transform 0.2s;
    animation: wa-pulse 2.4s ease-out infinite;
  }
  .wa-float:hover { transform: scale(1.08); }
  .wa-float svg { width: 28px; height: 28px; color: #fff; }
  @keyframes wa-pulse {
    0% { box-shadow: 0 12px 32px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0.5); }
    70% { box-shadow: 0 12px 32px rgba(37,211,102,0.4), 0 0 0 18px rgba(37,211,102,0); }
    100% { box-shadow: 0 12px 32px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0); }
  }

  /* ───────────────────── LIGHTBOX ───────────────────── */
  .lightbox {
    position: fixed; inset: 0;
    z-index: 200;
    background: rgba(0,0,0,0.92);
    display: none;
    align-items: center; justify-content: center;
    padding: 40px;
    backdrop-filter: blur(8px);
  }
  .lightbox.open { display: flex; }
  .lightbox-frame {
    width: 100%; max-width: 960px; aspect-ratio: 4 / 3;
    background: var(--bg-2);
    border: 1px solid var(--line);
    position: relative;
  }
  .lightbox-close {
    position: absolute; top: -48px; right: 0;
    font-family: "JetBrains Mono", monospace;
    font-size: 12px; letter-spacing: 0.2em;
    color: var(--text); text-transform: uppercase;
    padding: 8px 14px;
    border: 1px solid var(--line-strong);
  }
  .lightbox-close:hover { border-color: var(--pink); color: var(--pink); }
  .lightbox-caption {
    position: absolute; bottom: -42px; left: 0;
    font-family: "JetBrains Mono", monospace;
    font-size: 11px; letter-spacing: 0.22em;
    color: var(--text-dim); text-transform: uppercase;
  }

  /* ───────────────────── REDUCED MOTION ───────────────────── */
  @media (prefers-reduced-motion: reduce) {
    .hero-eyebrow, .cube-stage, .hero-headline, .hero-sub, .hero-ctas, .scroll-hint,
    .wa-float { animation: none; }
    .reveal-hidden { opacity: 1; transform: none; transition: none; }
  }

  /* ═══════════════════════════════════════════════════════════
     MOTION & WOW PACK
     Headline word reveals, parallax, orbs, grain, shimmer,
     tilt-ready cards, staggered grids, cursor spotlight.
     Everything degrades gracefully under prefers-reduced-motion.
     ═══════════════════════════════════════════════════════════ */

  /* ── Scroll progress (nav underline) ── */
  .scroll-progress {
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 2px;
    background: linear-gradient(90deg, var(--pink), var(--pink-bright));
    box-shadow: 0 0 12px rgba(255,45,138,0.55);
    transform: scaleX(0);
    transform-origin: 0 50%;
    pointer-events: none;
  }

  /* ── Hero: drifting ambient orbs ── */
  .hero-orbs {
    position: absolute; inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
  }
  .orb {
    position: absolute;
    display: block;
    border-radius: 50%;
    will-change: transform;
  }
  .orb-a {
    width: 46vmax; height: 46vmax; left: -14vmax; top: -16vmax;
    background: radial-gradient(circle, rgba(255,45,138,0.11) 0%, transparent 60%);
    animation: orb-a 26s ease-in-out infinite alternate;
  }
  .orb-b {
    width: 40vmax; height: 40vmax; right: -12vmax; bottom: -18vmax;
    background: radial-gradient(circle, rgba(118,80,255,0.11) 0%, transparent 62%);
    animation: orb-b 32s ease-in-out infinite alternate;
  }
  .orb-c {
    width: 26vmax; height: 26vmax; left: 32%; bottom: -12vmax;
    background: radial-gradient(circle, rgba(255,45,138,0.08) 0%, transparent 65%);
    animation: orb-c 22s ease-in-out infinite alternate;
  }
  @keyframes orb-a { to { transform: translate(9vmax, 7vmax) scale(1.15); } }
  @keyframes orb-b { to { transform: translate(-8vmax, -9vmax) scale(1.1); } }
  @keyframes orb-c { to { transform: translate(-6vmax, -5vmax) scale(1.2); } }

  /* Hero grid slowly pans — pattern repeats every 64px so the loop is seamless */
  .hero::before { animation: grid-pan 60s linear infinite; }
  @keyframes grid-pan {
    from { background-position: 0 0, 0 0; }
    to   { background-position: 64px 64px, 64px 64px; }
  }

  /* ── Headline: masked word-by-word rise ── */
  .hero-headline .hw {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    padding-bottom: 0.08em;
    margin-bottom: -0.08em;
  }
  .hero-headline .hw > span {
    display: inline-block;
    transform: translateY(115%);
    animation: word-rise 0.85s cubic-bezier(0.16,1,0.3,1) var(--wd, 0.3s) both;
  }
  @keyframes word-rise { to { transform: translateY(0); } }

  /* Accent words get a live shimmer sweep on top of the brand pink */
  .hero-headline .accent .hw > span,
  .cta-strip h2 .pink {
    background: linear-gradient(100deg,
      var(--pink) 0%, #ff8ec0 25%, var(--pink) 50%, var(--pink) 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .hero-headline .accent .hw > span {
    animation:
      word-rise 0.85s cubic-bezier(0.16,1,0.3,1) var(--wd, 0.3s) both,
      shimmer 4.5s linear 1.8s infinite;
  }
  /* text-shadow bleeds through transparent gradient-clipped glyphs and muddies
     the pink — swap it for drop-shadow, which applies to the rendered pixels. */
  .hero-headline .accent {
    text-shadow: none;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.55)) drop-shadow(0 0 18px rgba(255,45,138,0.45));
  }
  .cta-strip h2 .pink {
    animation: shimmer 4.5s linear infinite;
    text-shadow: none;
    filter: drop-shadow(0 0 18px rgba(255,45,138,0.35));
  }
  @keyframes shimmer {
    from { background-position: 120% 0; }
    to   { background-position: -120% 0; }
  }

  /* ── Cube: idle float + breathing glow ── */
  .cube-wrap { animation: cube-float 7s ease-in-out 1.4s infinite alternate; }
  @keyframes cube-float {
    from { transform: translateY(-6px); }
    to   { transform: translateY(9px); }
  }
  .cube-glow { animation: glow-breathe 6s ease-in-out infinite alternate; }
  @keyframes glow-breathe {
    from { opacity: 0.75; transform: scale(0.96); }
    to   { opacity: 1;    transform: scale(1.05); }
  }

  /* ── Scroll reveal: blur + directional variants ── */
  .reveal-hidden {
    filter: blur(6px);
    transition:
      opacity 0.7s ease,
      transform 0.85s cubic-bezier(0.16,1,0.3,1),
      filter 0.7s ease;
    transition-delay: var(--reveal-delay, 0ms);
  }
  .reveal-hidden[data-reveal="left"]  { transform: translateX(-40px); }
  .reveal-hidden[data-reveal="right"] { transform: translateX(40px); }
  .reveal-hidden[data-reveal="scale"] { transform: scale(0.94) translateY(16px); }
  .reveal-hidden.is-visible { opacity: 1; transform: none; filter: none; }

  /* Inner cascade: title and lede follow their section head in */
  .section-title, .section-lede {
    transition:
      opacity 0.7s ease 0.12s,
      transform 0.8s cubic-bezier(0.16,1,0.3,1) 0.12s;
  }
  .section-lede {
    transition:
      opacity 0.7s ease 0.26s,
      transform 0.8s cubic-bezier(0.16,1,0.3,1) 0.26s;
  }
  .reveal-hidden:not(.is-visible) .section-title { opacity: 0; transform: translateY(28px); }
  .reveal-hidden:not(.is-visible) .section-lede  { opacity: 0; transform: translateY(20px); }

  /* Section label line draws itself in */
  .section-label::before { transition: width 0.9s cubic-bezier(0.16,1,0.3,1) 0.2s; }
  .reveal-hidden:not(.is-visible) .section-label::before { width: 0; }

  /* ── Stats ── */
  .stat .num { text-shadow: 0 0 26px rgba(255,45,138,0.35); }

  /* ── Service cards: photo zoom + shine sweep + lit number chip ── */
  .service-card .photo { transition: transform 0.7s cubic-bezier(0.2,0.8,0.2,1); }
  .service-card:hover .photo { transform: scale(1.07); }
  .service-thumb::before {
    content: "";
    position: absolute;
    top: -20%; bottom: -20%; left: -45%;
    width: 38%;
    background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,0.16) 50%, transparent 100%);
    transform: skewX(-18deg);
    transition: transform 0.85s cubic-bezier(0.3,0.7,0.3,1);
    z-index: 1;
    pointer-events: none;
  }
  .service-card:hover .service-thumb::before { transform: skewX(-18deg) translateX(440%); }
  .service-num { transition: border-color 0.3s, box-shadow 0.3s, background 0.3s; }
  .service-card:hover .service-num {
    border-color: var(--pink);
    background: rgba(255,45,138,0.16);
    box-shadow: 0 0 16px rgba(255,45,138,0.35);
  }

  /* ── Work grid: staggered (re)entry + zoom + sliding overlay ── */
  .work-item {
    animation: work-item-in 0.55s cubic-bezier(0.16,1,0.3,1) both;
    animation-delay: calc(var(--i, 0) * 55ms);
  }
  .work-item .photo { transition: transform 0.7s cubic-bezier(0.2,0.8,0.2,1); }
  .work-item:hover .photo { transform: scale(1.07); }
  .work-overlay .cat, .work-overlay .ttl {
    transform: translateY(14px);
    opacity: 0;
    transition: transform 0.45s cubic-bezier(0.16,1,0.3,1), opacity 0.35s ease;
  }
  .work-overlay .ttl { transition-delay: 0.06s; }
  .work-item:hover .work-overlay .cat,
  .work-item:hover .work-overlay .ttl { transform: none; opacity: 1; }
  .filter-chip:hover { transform: translateY(-1px); }
  .filter-chip.active { box-shadow: 0 0 18px rgba(255,45,138,0.4); }

  /* ── About: slow photo zoom on hover ── */
  .about-visual .photo { transition: transform 1.2s cubic-bezier(0.2,0.8,0.2,1); }
  .about-visual:hover .photo { transform: scale(1.05); }

  /* ── Clients band: edge fades so the marquee dissolves in/out ── */
  .clients-band { position: relative; }
  .clients-band::before, .clients-band::after {
    content: "";
    position: absolute; top: 0; bottom: 0;
    width: clamp(60px, 12vw, 180px);
    z-index: 2;
    pointer-events: none;
  }
  .clients-band::before { left: 0;  background: linear-gradient(90deg,  var(--bg-2), transparent); }
  .clients-band::after  { right: 0; background: linear-gradient(270deg, var(--bg-2), transparent); }
  /* ── CTA strip: slow rotating light beams behind the copy ── */
  .cta-strip::before {
    content: "";
    position: absolute;
    left: 50%; top: 50%;
    width: 160vmax; height: 160vmax;
    margin: -80vmax 0 0 -80vmax;
    background: conic-gradient(from 0deg,
      transparent 0deg,
      rgba(255,45,138,0.07) 40deg,
      transparent 85deg,
      transparent 180deg,
      rgba(118,80,255,0.05) 225deg,
      transparent 265deg);
    animation: beam-spin 26s linear infinite;
    pointer-events: none;
  }
  .cta-strip > * { position: relative; z-index: 1; }
  @keyframes beam-spin { to { transform: rotate(360deg); } }

  /* ── Buttons: fill sweep on ghosts, sheen on WhatsApp ── */
  .btn-ghost {
    background-image: linear-gradient(100deg, rgba(255,45,138,0.20), rgba(255,45,138,0.06));
    background-repeat: no-repeat;
    background-size: 0% 100%;
    transition:
      border-color 0.25s, color 0.25s,
      background-size 0.45s cubic-bezier(0.2,0.8,0.2,1),
      transform 0.25s, box-shadow 0.25s;
  }
  /* no translateY here — the magnetic JS owns transform on hover-capable devices */
  .btn-ghost:hover {
    background-size: 100% 100%;
    border-color: var(--pink);
    color: #fff;
    box-shadow: 0 10px 30px rgba(255,45,138,0.18);
  }
  .wa-btn { position: relative; overflow: hidden; }
  .wa-btn::after {
    content: "";
    position: absolute; top: 0; bottom: 0; left: -60%;
    width: 40%;
    background: linear-gradient(105deg, transparent, rgba(255,255,255,0.35), transparent);
    transform: skewX(-20deg);
    transition: transform 0.65s ease;
    pointer-events: none;
  }
  .wa-btn:hover::after { transform: skewX(-20deg) translateX(400%); }

  /* ── Nav links: underline grows in on hover ── */
  .nav-links a::before {
    content: "";
    position: absolute;
    left: 14px; right: 14px; bottom: 2px;
    height: 2px;
    background: rgba(255,255,255,0.35);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.35s cubic-bezier(0.2,0.8,0.2,1);
  }
  .nav-links a:hover::before { transform: scaleX(1); }
  .nav-links a.active::before { display: none; }

  /* ── Lightbox: animated open ── */
  .lightbox.open { animation: lb-bg 0.3s ease both; }
  .lightbox.open .lightbox-frame { animation: lb-frame 0.5s cubic-bezier(0.16,1,0.3,1) both; }
  @keyframes lb-bg { from { opacity: 0; } }
  @keyframes lb-frame { from { opacity: 0; transform: scale(0.93) translateY(18px); } }

  /* ── Film grain over everything (below the lightbox) ── */
  body::after {
    content: "";
    position: fixed;
    left: -50%; top: -50%;
    width: 200%; height: 200%;
    pointer-events: none;
    z-index: 70; /* under the nav (80) and WhatsApp float (90) so chrome stays crisp */
    opacity: calc(var(--grain-op) * 0.2);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    animation: grain-shift 0.9s steps(1) infinite;
  }
  @keyframes grain-shift {
    0%   { transform: translate(0, 0); }
    25%  { transform: translate(-1%, 1%); }
    50%  { transform: translate(1%, -0.5%); }
    75%  { transform: translate(-0.5%, -1%); }
    100% { transform: translate(0, 0); }
  }

  /* ── Reduced motion: hold the look, drop the movement ── */
  @media (prefers-reduced-motion: reduce) {
    .hero-headline .hw > span,
    .hero-headline .accent .hw > span,
    .orb, .hero::before, .cube-wrap, .cube-glow,
    .cta-strip::before, .cta-strip h2 .pink,
    .work-item, body::after, .clients-track {
      animation: none !important;
    }
    .hero-headline .hw > span { transform: none; }
    .work-overlay .cat, .work-overlay .ttl { transform: none; opacity: 1; transition: none; }
    .section-title, .section-lede { transition: none; }
    .reveal-hidden:not(.is-visible) .section-title,
    .reveal-hidden:not(.is-visible) .section-lede { opacity: 1; transform: none; }
    .reveal-hidden:not(.is-visible) .section-label::before { width: 28px; }
    .reveal-hidden { filter: none; }
  }

  /* ═══════════ REFINEMENTS ROUND 2 ═══════════ */

  /* Brand-pink text selection */
  ::selection { background: var(--pink); color: #fff; text-shadow: none; }

  /* Visible keyboard focus, on brand */
  a:focus-visible, button:focus-visible {
    outline: 2px solid var(--pink);
    outline-offset: 3px;
    border-radius: 2px;
  }

  /* Themed scrollbar */
  html { scrollbar-color: #2e2e38 var(--bg); }
  ::-webkit-scrollbar { width: 11px; }
  ::-webkit-scrollbar-track { background: var(--bg); }
  ::-webkit-scrollbar-thumb {
    background: #2a2a32;
    border-radius: 6px;
    border: 2px solid var(--bg);
  }
  ::-webkit-scrollbar-thumb:hover { background: var(--pink); }

  /* Logo glows when you hover the brand */
  .nav-brand img { transition: filter 0.3s ease; }
  .nav-brand:hover img { filter: drop-shadow(0 0 10px rgba(255,45,138,0.55)); }

  /* Eyebrow tracks in from loose letter-spacing */
  .hero-eyebrow {
    animation:
      hero-up 0.75s cubic-bezier(0.16,1,0.3,1) 0.05s both,
      track-in 1.2s cubic-bezier(0.16,1,0.3,1) 0.05s both;
  }
  @keyframes track-in { from { letter-spacing: 0.55em; } }

  /* The cube invites interaction */
  .cube-stage { cursor: grab; }
  .cube-stage:active { cursor: grabbing; }

  @media (prefers-reduced-motion: reduce) {
    .hero-eyebrow { animation: none; }
  }

  /* ─────────────── SHORT-VIEWPORT HERO COMPRESSION ───────────────
     Laptop screens (768px tall minus browser chrome ≈ 620–700px) can't fit
     the full-size cube + 92px headline. Compress proportionally so the hero
     stays a one-screen splash instead of relying on min-height growth. */
  @media (max-height: 940px) {
    .hero { --cube-size: clamp(180px, 28vmin, 290px); }
    .hero-inner { gap: 14px; }
    .cube-stage { height: min(calc(var(--cube-size) * 1.35), 330px); }
    .hero-headline { font-size: clamp(34px, 6vw, 72px); margin-top: 10px; }
    .hero-sub { font-size: clamp(14px, 1.4vw, 17px); }
    .scroll-hint { bottom: 14px; }
    .scroll-hint::after { height: 22px; }
  }
  @media (max-height: 660px) {
    .hero { --cube-size: clamp(150px, 24vmin, 220px); }
    .hero-inner { gap: 10px; padding-bottom: 72px; }
    .hero-headline { font-size: clamp(30px, 5.2vw, 58px); }
    .scroll-hint { display: none; } /* no lane left — hero scrolls instead */
  }

  /* Narrow screens: the nowrap accent line ("impossible to ignore.") is wider
     than the viewport and overflow:hidden clips its glyphs — let it wrap and
     keep the type big instead of shrinking the statement. */
  @media (max-width: 600px) {
    .hero-headline .accent { white-space: normal; }
    /* Phones crop the photo's side taper hardest, so the pink reaches the edges
       most here — deepen the edge-vignette to compensate. */
    .hero { --hero-vignette: 1.35; }
  }

  /* ───────────────────── REFINEMENTS ROUND 3 ─────────────────────
     From the screenshot design critique: anchor offsets, footer overflow,
     FAB clearance, nav balance, CTA hierarchy, label legibility. */

  /* Native anchor jumps land sections clear of the 74px fixed nav */
  html { scroll-padding-top: 88px; }

  /* Footer links wrapped on phones instead of clipping off-canvas;
     extra bottom padding keeps content out of the WhatsApp FAB's corner */
  .footer-links { flex-wrap: wrap; row-gap: 10px; }
  .footer { padding-bottom: 96px; }

  /* Nav CTA pill — fills the dead top-right corner left by the hidden
     burger, and gives the page a persistent conversion path */
  .nav-cta {
    display: inline-flex; align-items: center;
    padding: 9px 18px;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 700; letter-spacing: 0.18em; font-size: 12px;
    text-transform: uppercase;
    color: var(--pink);
    border: 1px solid rgba(255, 45, 138, 0.45);
    border-radius: 999px;
    transition: background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
  }
  .nav-cta:hover {
    background: var(--pink); color: #fff; border-color: var(--pink);
    box-shadow: 0 0 24px rgba(255, 45, 138, 0.45);
  }
  @media (max-width: 880px) { .nav-cta { display: none; } }

  /* Hero CTA hierarchy: one filled primary, one ghost — mirrors the CTA band */
  .hero-ctas .btn-primary {
    background: linear-gradient(120deg, var(--pink) 0%, #c4186b 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 28px rgba(255, 45, 138, 0.35);
  }
  .hero-ctas .btn-primary:hover {
    color: #fff; border-color: transparent;
    box-shadow: 0 10px 36px rgba(255, 45, 138, 0.5);
  }

  /* Resting-state legibility: card links and contact labels were ~3:1 contrast */
  .service-arrow { color: var(--text-dim); }
  .contact-row .lbl { color: #8a8494; }

  /* Mobile filter chips up to comfortable touch size */
  @media (max-width: 600px) {
    .filter-chip { padding: 12px 20px; font-size: 13px; }
  }

  /* Call/WhatsApp chooser popover (JS existed as onclick, never implemented) */
  .contact-num-wrap { position: relative; }
  .contact-chooser {
    position: absolute; top: calc(100% + 8px); left: 0;
    display: flex; flex-direction: column; gap: 2px;
    min-width: 170px;
    background: var(--bg-2);
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    padding: 6px;
    z-index: 20;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
    animation: chooser-in 0.18s ease both;
  }
  .contact-chooser a {
    padding: 9px 14px; border-radius: 6px;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 600; letter-spacing: 0.14em; font-size: 13px;
    text-transform: uppercase;
    color: var(--text-dim);
  }
  .contact-chooser a:hover { background: rgba(255, 45, 138, 0.12); color: var(--pink); }
  @keyframes chooser-in { from { opacity: 0; transform: translateY(-6px); } }

  @media (prefers-reduced-motion: reduce) {
    .contact-chooser { animation: none; }
  }

  /* display:flex above would override the UA's [hidden]{display:none} —
     restate it so the hidden attribute actually hides the popover */
  .contact-chooser[hidden] { display: none; }
