/* homepage owns html/body here; other routes keep the Tailwind globals */
/* deploy trigger: scrollcraft-revamp preview build */
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--sc-canvas); color: var(--sc-ink); font-family: var(--sc-font-text); overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---- the rebrand: six colours + two faces. --------------------------- */
  :root {
    /* indigo-and-white, not blue-and-white: the whole palette's hue rotated
       toward violet-blue (client). Canvas/ink/grounds all carry the same
       indigo cast now, not just the accent. */
    --sc-canvas:     #EEEDFB;
    --sc-surface:    #FFFFFF;
    --sc-ink:        #1E1B4B;
    --sc-ink-soft:   #57548C;
    --sc-accent:     #4338CA;
    --sc-accent-ink: #F5F3FE;
    --sc-font-display: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
    --sc-font-text:    "Figtree", system-ui, sans-serif;

    /* nn-ground is tinted, not paper-white: pure #FFF next to near-navy ink
       read as "black and white" to more than one reviewer even inside an
       indigo palette, so it carries a whisper of the accent instead. */
    --ns-now-ground: #DBD9F3;
    --ns-nn-ground:  #F7F6FE;
    --ns-now-ink:    #454178;
    --ns-seam:       color-mix(in oklab, var(--sc-ink) 22%, transparent);
  }

  /* ---- page-local classes only. Nothing here touches [data-sc-*]. ----- */

  /* lives inside the NN (right) screen now, not floating over the whole
     page: the wordmark is part of the answer, not neutral chrome shared by
     both sides */
  .ns-mark {
    position: fixed; left: auto; right: clamp(1.2rem, 3.2vw, 3.5rem);
    top: clamp(1.2rem, 3.4vh, 2.2rem);
    transform: none; z-index: 40;
    font-family: var(--sc-font-display); font-weight: 700;
    font-size: var(--sc-t-sm); letter-spacing: -0.01em; color: var(--sc-ink);
    text-decoration: none; transition: opacity .3s var(--sc-ease-out);
  }
  body.hide-chrome .ns-mark, body.hide-chrome .ns-frame,
  body.hide-chrome .ns-cta, body.hide-chrome .ns-scroll-hint { opacity: 0; pointer-events: none; }

  /* the framing line used to be a small caption pinned near the top; it sat
     over a dead void between the two columns and read as an afterthought.
     It is the room's actual centrepiece now: a big two-line statement in
     the gap, colour on the second line so it also answers "add more colour",
     only while the split is being established */
  .ns-frame {
    position: fixed; left: 50%; top: 54%; transform: translate(-50%, -50%);
    z-index: 39; margin: 0; text-align: center; text-wrap: balance;
    font-family: var(--sc-font-display); font-weight: 600;
    font-size: calc(var(--sc-t-2xl) * 1.05); line-height: 1.08; letter-spacing: -0.025em;
    color: var(--sc-ink);
    opacity: var(--ns-frame-o, 1); transition: opacity .35s var(--sc-ease-out); pointer-events: none;
  }
  .ns-frame b { display: block; color: var(--sc-accent); font-weight: 600; }

  /* the one clear call to action on the first screen: outcome-led copy needs
     a single next step, not five lines of setup. Fades with the frame text
     it sits below, gone the moment the story actually starts */
  .ns-cta {
    position: fixed; left: 50%; top: calc(54% + 4.6rem); transform: translateX(-50%);
    z-index: 39; display: inline-flex; align-items: center;
    padding: 0.65rem 1.5rem; border-radius: 999px;
    font-family: var(--sc-font-display); font-weight: 600; font-size: var(--sc-t-sm);
    letter-spacing: -0.005em; color: var(--sc-accent-ink); background: var(--sc-accent);
    text-decoration: none; pointer-events: auto;
    opacity: var(--ns-frame-o, 1); transition: opacity .35s var(--sc-ease-out), background .16s var(--sc-ease-out);
  }
  .ns-cta:hover { background: color-mix(in oklab, var(--sc-accent) 88%, #000); }

  /* first-screen affordance: the split looks static until this moves. It fades
     the instant the first scroll lands and does not come back. */
  .ns-scroll-hint {
    position: fixed; left: 50%; bottom: clamp(1.4rem, 5vh, 2.6rem); transform: translateX(-50%);
    z-index: 39; display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
    font-family: var(--sc-font-mono); font-size: var(--sc-t-xs);
    letter-spacing: 0.16em; text-transform: uppercase; color: var(--sc-ink-soft);
    opacity: var(--ns-hint-o, 1); transition: opacity .4s var(--sc-ease-out); pointer-events: none;
  }
  .ns-scroll-rail {
    position: relative; width: 1px; height: 2.6rem; overflow: hidden;
    background: color-mix(in oklab, var(--sc-ink) 16%, transparent);
  }
  .ns-scroll-bead {
    position: absolute; left: -1.5px; top: 0; width: 4px; height: 4px; border-radius: 50%;
    background: var(--sc-accent);
  }
  @media (prefers-reduced-motion: no-preference) {
    .ns-scroll-bead { animation: ns-bead 1.8s var(--sc-ease-out) infinite; }
  }
  @keyframes ns-bead {
    0%   { transform: translateY(-5px); opacity: 0; }
    25%  { opacity: 1; }
    75%  { opacity: 1; }
    100% { transform: translateY(2.6rem); opacity: 0; }
  }
  @media (prefers-reduced-motion: reduce) {
    .ns-scroll-bead { top: auto; bottom: 0; }
  }
  @keyframes ns-chevron {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(4px); }
  }

  /* ---- the fixed split stage ---------------------------------------- */
  .ns-stage {
    /* the resting split is a true 1/3 (old system) : 2/3 (Numeronest) —
       bigger, and staying that size, is the point. The seam only ever
       moves once, in the close phase, collapsing left to hand the whole
       screen to the close card; it does not drift during the story itself */
    --ns-div: 33.34;
    position: fixed; inset: 0; z-index: 0;
    /* an accent wash, not a flat fill: depth without a second colour. Turned
       up from a 7% whisper after "the colour is still dull" — this is the
       ceiling before it starts fighting the ink/ground contrast */
    background: radial-gradient(120% 100% at 14% 0%,
                  color-mix(in oklab, var(--sc-accent) 16%, var(--sc-canvas)) 0%,
                  var(--sc-canvas) 66%);
    overflow: hidden;
    transition: opacity 300ms var(--sc-ease-out);
  }
  .ns-stage.is-hidden { opacity: 0; pointer-events: none; }

  .ns-col { position: absolute; inset: 0; }
  .ns-col--now {
    background: var(--ns-now-ground);
    clip-path: inset(0 calc(100% - var(--ns-div) * 1%) 0 0);
  }
  .ns-col--nn {
    background: var(--ns-nn-ground);
    clip-path: inset(0 0 0 calc(var(--ns-div) * 1%));
  }

  /* centred within its own column, not hugging the outer edge: left and
     right both pin to the column's span, and a fixed width plus auto
     margins centres the block in whatever room that leaves */
  .ns-inner {
    position: absolute; top: 46%; transform: translateY(-50%);
    width: min(32ch, 30vw); margin: 0 auto; text-align: center;
  }
  .ns-now .ns-inner {
    left: 0; right: calc((100 - var(--ns-div)) * 1%);
  }
  /* in the peak the index rail owns the left margin: keep NOW copy clear of
     it. No explicit width here — left and right both pin to real edges (the
     rail, and the seam with a small buffer), so the box is exactly as wide
     as that gap allows and can never overflow into, or past, the divider */
  .ns-stage.is-peak .ns-now .ns-inner {
    left: clamp(9rem, 16vw, 13rem);
    right: calc((100 - var(--ns-div)) * 1% + 0.9rem);
    width: auto;
  }
  /* centred to the right of the intro banner's own footprint, not the full
     (wider) NN column: the banner sits dead-centre on the seam side of
     that column, and centring on the column's own midpoint pulled this
     text back into the banner's territory */
  .ns-nn .ns-inner {
    left: 63%; right: 0;
    width: min(34ch, 27vw);
  }

  .ns-h {
    font-family: var(--sc-font-display); font-weight: 600;
    font-size: calc(var(--sc-t-2xl) * 1.12); line-height: 1.0; letter-spacing: -0.03em;
    color: var(--sc-ink); margin: 0 0 var(--sc-4); text-wrap: balance;
    /* the inner box is deliberately narrow (kept clear of the seam's own
       worst-case position), which a single long unbreakable word can still
       exceed at this size — "Numeronest" did, clipped flush against the
       browser edge by the stage's overflow:hidden. Break it rather than
       overflow past the viewport; a graceless line-break beats a clipped one. */
    overflow-wrap: break-word;
  }
  .ns-now .ns-h { font-weight: 500; color: #383465; }
  .ns-stage.is-peak .ns-h { font-size: calc(var(--sc-t-xl) * 1.08); line-height: 1.06; letter-spacing: -0.025em; }
  /* the right panel is the answer, not the setup, and its heading dropped
     ", with Numeronest" (that's said once, as the kicker above it now) — so
     it has the room to run larger than the left panel's */
  .ns-nn .ns-h { font-size: calc(var(--sc-t-2xl) * 1.22); }
  .ns-stage.is-peak .ns-nn .ns-h { font-size: calc(var(--sc-t-xl) * 1.18); }

  /* "With Numeronest" used to float alone in the centre void; now it leads
     directly into which business is on screen, so it reads as one line of
     thought split across the seam — "With Numeronest / A retail shop" —
     instead of a separate statement. Lives inside nn-inner, so it inherits
     that block's own vertical centring and its lean to the right for free;
     no fixed positioning of its own to fight the seam over. Shown only
     while a business is (the generic heading already says "With
     Numeronest" itself, so this would just repeat it at rest). */
  .ns-nn-kicker {
    display: block; margin: 0 0 var(--sc-2);
    font-family: var(--sc-font-display); font-weight: 700;
    font-size: calc(var(--sc-t-xl) * 1.05); letter-spacing: -0.02em;
    /* black, not accent: this is the right screen's title line, and it
       needs the same authority as the left screen's — colouring it reads
       as decoration, not a heading, and undercuts exactly the contrast
       this side is supposed to win */
    color: var(--sc-ink);
  }
  /* the kicker only ever shows alongside is-peak (it's unhidden in the same
     branch that sets that class), so this is the size that actually renders */
  .ns-stage.is-peak .ns-nn-kicker { font-size: calc(var(--sc-t-xl) * 1.0); }

  /* the gap between the seam and the NN copy read as dead space once the
     copy was pushed clear of the intro banner — this is what actually
     goes there while a business is on screen: a glimpse of the real
     product (retail) or a representative photo (the rest), swapped per
     business, sized to sit comfortably in that gap without crowding either
     the index rail or the copy */
  .ns-persona-media {
    position: absolute; top: 50%; transform: translateY(-50%);
    left: calc(var(--ns-div) * 1% + 2.2rem); right: 39%; margin: 0 auto;
    width: min(20rem, 100%); aspect-ratio: 4 / 5;
    border-radius: 1.25rem; overflow: hidden;
    box-shadow: 0 1.5rem 3rem -1.2rem color-mix(in oklab, var(--sc-ink) 45%, transparent);
    opacity: 0; transition: opacity .3s var(--sc-ease-out);
    pointer-events: none;
  }
  .ns-stage.is-peak .ns-persona-media { opacity: 1; }
  /* stacked exactly on top of one another, filling the card; toggling
     .on crossfades between whichever business is current */
  .ns-persona-visual {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; background: #000;
    opacity: 0; visibility: hidden;
    transition: opacity .35s var(--sc-ease-out);
  }
  .ns-persona-visual.on { opacity: 1; visibility: visible; }

  .ns-lines { list-style: none; margin: 0; padding: 0; }
  .ns-lines li {
    font-size: var(--sc-t-base); line-height: 1.5; color: var(--ns-now-ink);
    padding: 0.42rem 0; border-top: 1px solid color-mix(in oklab, var(--sc-ink) 12%, transparent);
    opacity: 0; transform: translateY(8px);
    transition: opacity .5s var(--sc-ease-out), transform .5s var(--sc-ease-out);
  }
  .ns-lines li.on { opacity: 1; transform: none; }
  .ns-lines li:last-child { padding-bottom: 0; }
  .ns-stage.is-peak .ns-lines li { font-size: var(--sc-t-sm); padding: 0.34rem 0; }

  .ns-nn .ns-body { font-size: calc(var(--sc-t-base) * 1.2); line-height: 1.48; color: var(--sc-ink-soft); margin: 0; max-width: 40ch; }
  .ns-meta {
    margin-top: var(--sc-5); opacity: var(--ns-meta-o, 1);
    display: flex; flex-wrap: wrap; justify-content: center; gap: 0.35rem 1.1rem;
    font-family: var(--sc-font-mono); font-size: var(--sc-t-xs); letter-spacing: 0.02em;
    color: var(--sc-ink-soft); text-transform: uppercase;
    transition: opacity .25s var(--sc-ease-out);
  }
  .ns-meta b { color: var(--sc-accent); font-weight: 600; }

  @keyframes ns-pulse { from { opacity: 0.4; } to { opacity: 1; } }
  .ns-pulse { animation: ns-pulse .3s var(--sc-ease-out); }

  /* ---- the quiet index: a readout, not a menu --------------------- */
  .ns-index {
    list-style: none; margin: 0; padding: 0;
    position: absolute; z-index: 7;
    left: clamp(1.4rem, 5vw, 5.2rem); top: 50%; transform: translateY(-50%);
    opacity: 0; visibility: hidden; transition: opacity .35s var(--sc-ease-out);
  }
  .ns-stage.is-peak .ns-index { opacity: 1; visibility: visible; }
  /* a hairline through the ticks, filled to the current business in accent */
  .ns-index::before {
    content: ""; position: absolute; left: 3.5px; top: 0.9rem; bottom: 0.9rem; width: 1px;
    background: color-mix(in oklab, var(--sc-ink) 16%, transparent);
  }
  .ns-index::after {
    content: ""; position: absolute; left: 3.5px; top: 0.9rem; width: 1px;
    height: calc(var(--ns-idxp, 0) * (100% - 1.8rem));
    background: var(--sc-accent); transition: height .3s var(--sc-ease-out);
  }
  .ns-index li { margin: 0; }
  .ns-index button {
    appearance: none; border: 0; background: none; cursor: pointer;
    display: flex; align-items: center; gap: 0.7rem; width: 100%;
    padding: 0.4rem 0; font-family: var(--sc-font-mono); font-size: var(--sc-t-xs);
    letter-spacing: 0.04em; text-transform: uppercase;
    font-weight: 400; color: var(--sc-ink-soft); text-align: left; white-space: nowrap;
    transition: color .16s var(--sc-ease-out);
  }
  .ns-index button:hover { color: var(--sc-ink); }
  .ns-tick {
    flex: none; width: 8px; height: 8px; border-radius: 50%;
    border: 1.5px solid currentColor; background: transparent;
    transition: background .16s var(--sc-ease-out), border-color .16s var(--sc-ease-out);
  }
  .ns-index button[aria-current="true"] { color: var(--sc-ink); font-weight: 600; }
  .ns-index button[aria-current="true"] .ns-tick { background: var(--sc-accent); border-color: var(--sc-accent); }
  .ns-index button:focus-visible { outline-offset: 4px; }

  /* ---- the divider ---------------------------------------------------- */
  /* a scrollbar, not a seam that wanders: left tracks --ns-div, which the
     JS now holds constant at the resting split for the whole story and only
     moves once, collapsing left into the close screen. The ::after fill
     below is the only thing that moves during the story itself, and it only
     moves vertically. */
  .ns-divider {
    position: absolute; top: 0; bottom: 0; left: calc(var(--ns-div) * 1%);
    width: 0; z-index: 6;
  }
  .ns-divider::before {
    content: ""; position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px;
    background: var(--ns-seam);
    box-shadow: 0 0 0 1px color-mix(in oklab, var(--sc-canvas) 55%, transparent);
  }
  /* scroll fills the seam top-to-bottom while the split is on screen */
  .ns-divider::after {
    content: ""; position: absolute; left: -1.5px; top: 0; width: 3px;
    height: calc(var(--ns-prog, 0) * 100%);
    background: var(--sc-accent); opacity: 0.65;
  }
  .ns-seam-dot {
    position: absolute; left: -5px; width: 10px; height: 10px; border-radius: 50%;
    background: var(--sc-accent); box-shadow: 0 0 0 3px var(--sc-canvas);
    top: calc(var(--ns-prog, 0) * 100%); transform: translateY(-50%);
    transition: opacity .3s var(--sc-ease-out);
  }
  .ns-stage.is-collapsed .ns-seam-dot { opacity: 0; }

  /* ---- the close, in the winning column -------------------------- */
  .ns-close {
    /* a flex column, not top:50%/translate(-50%): that centred on the
       block's own height (h2 + two paragraphs + contact block + fine
       print), which on shorter screens pushed the h2 above the viewport
       with no way to reach it. "safe center" falls back to top-aligned
       the moment content taller than the viewport would otherwise get
       clipped on either end, and overflow-y keeps the rest reachable */
    position: absolute; left: 50%; top: 0; bottom: 0; transform: translateX(-50%);
    width: min(58ch, 82vw); text-align: center; padding: 3rem 0;
    display: flex; flex-direction: column; justify-content: center;
    justify-content: safe center;
    overflow-y: auto;
    opacity: 0; visibility: hidden; transition: opacity .5s var(--sc-ease-out);
  }
  .ns-stage.is-collapsed .ns-close { opacity: 1; visibility: visible; }
  .ns-stage.is-collapsed .ns-nn .ns-inner { opacity: 0; }
  .ns-close h2 {
    font-family: var(--sc-font-display); font-weight: 600;
    font-size: calc(var(--sc-t-3xl) * 1.06); line-height: 1.0; letter-spacing: -0.035em;
    color: var(--sc-ink); margin: 0 0 var(--sc-5); text-wrap: balance;
  }
  .ns-close p {
    font-size: var(--sc-t-lg); line-height: 1.5; color: var(--sc-ink-soft);
    margin: 0 auto var(--sc-6); max-width: 46ch; text-wrap: pretty;
  }
  /* contact channels are the action now: tap the email to open a mail app,
     tap a number to start a call */
  .ns-contact-label {
    margin: 0 0 var(--sc-2);
    font-family: var(--sc-font-mono); font-size: var(--sc-t-xs);
    letter-spacing: 0.14em; text-transform: uppercase; color: var(--sc-ink-soft);
  }
  .ns-contact {
    display: flex; flex-direction: column; align-items: center; gap: 0.15rem;
    margin: 0 auto var(--sc-5);
  }
  .ns-contact a {
    display: inline-flex; align-items: center; min-height: 2.75rem;
    font-family: var(--sc-font-display); font-weight: 600;
    font-size: var(--sc-t-lg); letter-spacing: -0.01em;
    color: var(--sc-accent); text-decoration: none;
    transition: color .14s var(--sc-ease-out);
  }
  .ns-contact a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
  .ns-contact a:active { color: color-mix(in oklab, var(--sc-accent) 80%, #000); }
  .ns-fine { margin-top: var(--sc-4); font-size: var(--sc-t-sm); line-height: 1.7; color: var(--sc-ink-soft); }

  /* ---- scroll markers ------------------------------------------------ */
  .ns-marker { position: relative; z-index: 1; }
  #m1 { min-height: 130vh; }
  #m2 { min-height: 170vh; }
  #m3 { min-height: 560vh; }
  #m5 { min-height: 140vh; }

  /* ---- the proof act ---------------------------------------------- */
  #proof { position: relative; z-index: 3; }
  #proof [data-sc-stage] { background: #E6E3F8; }
  #proof .ns-proof-poster, #proof #ivms {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0;
  }
  /* a small pan, not a tour: this used to travel far enough that the frame
     under a given caption could show a different table than the one the
     caption named. Kept subtle and kept in the caption's own frame. */
  @media (prefers-reduced-motion: no-preference) {
    #proof .ns-proof-poster, #proof #ivms {
      object-position: calc(50% + (var(--sc-p, 0) - 0.5) * 4%) calc(var(--sc-p, 0) * 4%);
    }
  }
  #proof #ivms { opacity: 0; transition: opacity .5s var(--sc-ease-out); }
  #proof.is-playing #ivms { opacity: 1; }
  #proof .sc-scrim--lead {
    z-index: 2;
    /* denser and reaching further than the device default: the caption sits
       over a real screen recording, not a still, and needs a floor under it
       that never lets the footage's own contrast fight the text. */
    background: linear-gradient(to top right,
      color-mix(in oklab, var(--sc-canvas) 96%, transparent) 0%,
      color-mix(in oklab, var(--sc-canvas) 84%, transparent) 34%,
      color-mix(in oklab, var(--sc-canvas) 42%, transparent) 58%,
      transparent 78%);
  }
  #proof .ns-proof-cap { z-index: 4; display: grid; max-width: min(34rem, 74vw); }
  #proof .ns-proof-cap .sc-label { grid-column: 1; margin: 0 0 var(--sc-3); color: var(--sc-accent); }
  #proof .ns-proof-h {
    grid-area: 2 / 1; align-self: end;
    font-family: var(--sc-font-display); font-weight: 600; font-size: var(--sc-t-2xl);
    line-height: 1.02; letter-spacing: -0.03em; color: var(--sc-ink); margin: 0; text-wrap: balance;
  }

  .ns-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

  /* ---- mobile: stack the split ---------------------------------- */
  @media (max-width: 860px) {
    /* NOW on top, WITH NUMERONEST below, a horizontal seam. No seam-hug maths. */
    .ns-col--now { clip-path: inset(0 0 calc(100% - var(--ns-div) * 1%) 0); }
    .ns-col--nn  { clip-path: inset(calc(var(--ns-div) * 1%) 0 0 0); }
    .ns-now .ns-inner, .ns-nn .ns-inner,
    .ns-stage.is-peak .ns-now .ns-inner {
      position: absolute; transform: none; width: auto;
      left: clamp(1.1rem, 6vw, 1.5rem); right: clamp(1.1rem, 6vw, 1.5rem);
    }
    .ns-now .ns-inner, .ns-stage.is-peak .ns-now .ns-inner { top: clamp(3.4rem, 11vh, 5.5rem); }
    .ns-nn  .ns-inner { top: auto; bottom: clamp(1.3rem, 5vh, 2.6rem); }
    .ns-stage .ns-h, .ns-stage.is-peak .ns-h { font-size: var(--sc-t-lg); line-height: 1.1; }
    .ns-nn .ns-body { font-size: var(--sc-t-sm); max-width: none; }
    .ns-lines li, .ns-stage.is-peak .ns-lines li { font-size: var(--sc-t-sm); padding: 0.28rem 0; }
    .ns-meta { margin-top: var(--sc-3); }

    /* index: a row of ticks at the top of the NOW band, current one labelled */
    .ns-index {
      position: absolute; top: clamp(1.4rem, 4.5vh, 2.4rem); transform: none;
      left: clamp(1.1rem, 6vw, 1.5rem); right: clamp(1.1rem, 6vw, 1.5rem);
      display: flex; align-items: center; gap: 0.55rem;
    }
    .ns-index::before, .ns-index::after { display: none; }
    .ns-index li { display: flex; }
    .ns-index button { padding: 0.3rem 0; gap: 0; font-size: 0; }
    .ns-index button[aria-current="true"] { font-size: var(--sc-t-xs); gap: 0.45rem; }

    .ns-divider { top: calc(var(--ns-div) * 1%); left: 0; right: 0; bottom: auto; width: auto; height: 0; }
    .ns-divider::before { top: -1.5px; left: 0; right: 0; bottom: auto; width: auto; height: 3px; }
    .ns-divider::after { top: -1.5px; left: 0; height: 3px; width: calc(var(--ns-prog, 0) * 100%); }
    .ns-seam-dot { top: -1.5px; left: calc(var(--ns-prog, 0) * 100%); transform: translate(-50%, -50%); }

    .ns-mark { left: clamp(1.1rem,5vw,1.5rem); right: auto; transform: none; }
    .ns-frame, .ns-cta, .ns-persona-media { display: none; }
    /* a touch screen already reads as scrollable, but this page's pinned
       backdrop reads as "stuck" on the first frame if nothing moves yet: a
       small cue that rides the seam itself, clear of both columns' text,
       fades the same way the desktop rail does */
    .ns-scroll-hint {
      flex-direction: row; gap: 0.4rem;
      left: 50%; bottom: auto; top: calc(var(--ns-div, 33.34) * 1%);
      transform: translate(-50%, -50%);
    }
    .ns-scroll-rail { display: none; }
    .ns-scroll-hint span::after { content: " \2304"; display: inline-block; }

    #proof .ns-proof-poster, #proof #ivms { object-fit: contain; object-position: 50% 42%; }
    #proof .ns-proof-cap { max-width: 86vw; }
    #proof .ns-proof-h { font-size: var(--sc-t-xl); }

    .ns-close h2 { font-size: var(--sc-t-2xl); }
    .ns-close p { font-size: var(--sc-t-base); }
    #m1 { min-height: 130vh; } #m2 { min-height: 170vh; } #m3 { min-height: 560vh; } #m5 { min-height: 150vh; }
  }

  @media (max-width: 860px) and (prefers-reduced-motion: no-preference) {
    .ns-scroll-hint span::after { animation: ns-chevron 1.6s var(--sc-ease-out) infinite; }
  }

  @media (prefers-reduced-motion: reduce) {
    .ns-lines li { transition: none; }
  }

