/* SurgeLab homepage on phones (≤ 900px): "the scroll film" (direction A, with B's ChatGPT and
   "Named first" moments). index.html links this file with media="(max-width: 900px)", so wide screens
   never apply it; the .mf blocks it styles are hidden on wide screens by a one-line rule in the page head.
   Two modes:
   - html.mf-film (set in the head on phones without reduced motion): scrubbed scenes. They use CSS
     position: sticky (no JS pinning), each about 1.2 to 1.5 screens long; home-m.js drives them.
   - without it (reduced motion, or the scripts failed): every scene shows its finished picture, still.
   Readability: body text ≥ 17px, labels ≥ 12px, taps ≥ 48px. */

@media (max-width: 900px) {
  /* ---------- sections this replaces on phones ---------- */
  body.home #why, body.home #how, body.home #team { display: none !important; }

  /* ---------- shared pieces ---------- */
  .mf-pad { padding-left: var(--g); padding-right: var(--g); }
  .mf-w { display: inline-block; }
  .mf-eye { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 500 12.5px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--or-text); }
  .mf-eye::before { content: ""; width: 18px; height: 2px; background: currentColor; flex: none; }
  .mf-h2 { margin: 0; max-width: 15ch; font-size: clamp(34px, 9.6vw, 46px); font-weight: 600; line-height: 1.03; letter-spacing: -.038em; text-wrap: balance; }
  .mf-body { margin: 16px 0 0; max-width: 34ch; font-size: 18px; line-height: 1.5; color: var(--body); text-wrap: pretty; }
  .mf-or { color: var(--or-ink); }
  .mf-soft { color: var(--mute); }
  .mf-src { margin: 14px 0 0; font-size: 14px; line-height: 1.4; color: var(--mute); }
  .mf-tag { flex: none; padding: 5px 8px; border-radius: 6px; background: var(--bg); color: var(--mute); font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
  .mf-lg { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--bg); }
  .mf-lg img { width: 24px; height: 24px; }
  .mf-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .mf-progress { position: fixed; left: 0; right: 0; top: 0; z-index: 21; height: 2px; pointer-events: none; }
  .mf-progress i { display: block; height: 100%; background: var(--or); transform: scaleX(0); transform-origin: 0 50%; }
  html.menu-open .mf-progress, html.sheet-open .mf-progress { visibility: hidden; }

  /* =====================================================================
     1 · THE FILM. The glass staircase fills the screen; "Your customers ask AI what to buy."
     gives way to the real H1 "Be the one [AI] recommends." and the waitlist button.
     ===================================================================== */
  body.home .scrolly { background: #efe8de; }
  body.home .scrolly .pin { position: relative; height: 100vh; height: 100svh; min-height: 560px; display: block; padding: 0; overflow: hidden; }
  body.home .scrolly canvas { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; min-height: 0; max-height: none; -webkit-mask-image: none; mask-image: none; }
  body.home .scrolly .shade { display: none; }
  /* scrims keep the type readable over the film: --st (top) and --sb (bottom) */
  body.home .scrolly .pin::before, body.home .scrolly .pin::after { content: ""; position: absolute; left: 0; right: 0; z-index: 1; pointer-events: none; }
  body.home .scrolly .pin::before { top: 0; height: 60%; opacity: var(--st, 1); background: linear-gradient(to bottom, rgba(244,240,233,.97) 0%, rgba(244,240,233,.88) 48%, rgba(244,240,233,0) 100%); }
  body.home .scrolly .pin::after { bottom: 0; height: 58%; opacity: var(--sb, 1); background: linear-gradient(to top, rgba(244,240,233,.98) 0%, rgba(244,240,233,.92) 42%, rgba(244,240,233,0) 100%); }
  body.home .scrolly .beat[data-beat="0"], body.home .scrolly .beat[data-beat="1"] { display: none; }
  body.home .scrolly .hero-copy { position: absolute; left: 0; right: 0; top: 0; z-index: 2; height: 100%; max-width: none; margin: 0; padding: 84px var(--g) calc(26px + env(safe-area-inset-bottom) + var(--cookie-h, 0px)); display: flex; flex-direction: column; pointer-events: none; }
  body.home .scrolly .hero-copy h1 { order: 1; margin: 0; max-width: none; font-size: clamp(40px, 13.2vw, 62px); font-weight: 600; line-height: .98; letter-spacing: -.047em; transform-origin: 0 0; }
  body.home .scrolly .hero-copy .lede.ph-only { order: 2; margin: auto 0 0; max-width: 30ch; font-size: 19px; line-height: 1.42; color: var(--body); }
  body.home .scrolly .hero-btns { order: 3; display: flex; gap: 10px; margin-top: 20px; pointer-events: auto; }
  body.home .scrolly .hero-btns .pill { flex: 1 1 auto; width: auto; min-height: 58px; font-size: 17.5px; font-weight: 600; background: var(--or-ink); color: #fff; box-shadow: 0 14px 30px -12px rgba(214,63,28,.6); }
  body.home .scrolly .hero-btns .pill.ghost { flex: 0 0 auto; padding: 0 20px; background: rgba(255,255,255,.82); color: var(--ink); font-weight: 500; box-shadow: none; }
  body.home .scrolly .hero-eye { order: 4; margin: 14px 0 0; text-align: center; color: var(--body); font-size: 12.5px; }
  body.home .scrolly .cue { display: none; }

  html.mf-film body.home .scrolly { height: 240vh !important; height: 240svh !important; }
  html.mf-film body.home .scrolly .pin { position: sticky; top: 0; height: 100vh; height: 100lvh; min-height: 0; }
  html.mf-film body.home .scrolly .hero-copy { height: 100vh; height: 100svh; }
  html.mf-film body.home .scrolly .pin { --st: 0; }
  html.mf-film body.home .scrolly .beat[data-beat="0"] { display: flex; position: absolute; left: 0; right: 0; top: 0; z-index: 2; height: 100vh; height: 100svh; margin: 0; padding: 0 var(--g) calc(104px + env(safe-area-inset-bottom)); align-items: flex-end; }
  html.mf-film body.home .scrolly .beat[data-beat="0"] .big { margin: 0; max-width: 11ch; font-size: clamp(40px, 13.2vw, 62px); font-weight: 600; line-height: .98; letter-spacing: -.047em; color: var(--ink); text-shadow: none; }
  html.mf-film body.home .scrolly .cue { display: flex; position: absolute; left: 50%; top: calc(100svh - 74px - env(safe-area-inset-bottom)); z-index: 2; transform: translateX(-50%); flex-direction: column; align-items: center; gap: 8px; font-size: 12px; color: var(--body); }

  /* =====================================================================
     2 · THE CHATGPT MOMENT (from B). Dark; a phone-style chat card plays once in view.
     ===================================================================== */
  .mf-chat { background: var(--ink); color: #f4f0e9; padding: 92px var(--g) 76px; overflow: hidden; }
  .mf-chat-in { max-width: 520px; margin: 0 auto; display: flex; flex-direction: column; }
  .mf-kick { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font: 500 12.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(244,240,233,.75); }
  .mf-kick .mf-tag { margin-left: auto; background: rgba(244,240,233,.1); color: rgba(244,240,233,.75); }
  .mf-live { width: 8px; height: 8px; border-radius: 50%; background: var(--or); box-shadow: 0 0 0 4px rgba(245,80,43,.25); flex: none; }
  .mf-dev { margin: 0; padding: 4px; border-radius: 28px; background: var(--paper); color: var(--ink); box-shadow: 0 40px 80px -36px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.06); }
  .mf-dev-bar { display: flex; align-items: center; gap: 8px; padding: 13px 14px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .mf-dev-bar span { margin-left: auto; font-size: 13.5px; color: var(--mute); }
  .mf-dev-body { display: flex; flex-direction: column; gap: 14px; padding: 16px 14px 18px; }
  .mf-bub { align-self: flex-end; max-width: 88%; min-height: 48px; margin: 0; padding: 12px 15px; border-radius: 20px 20px 6px 20px; background: #ece6dc; font-size: 17.5px; line-height: 1.35; }
  .mf-caret { display: none; width: 2px; height: 1.05em; margin-left: 1px; vertical-align: -3px; background: var(--ink); animation: mf-blink 1s steps(1) infinite; }
  @keyframes mf-blink { 50% { opacity: 0; } }
  .mf-bot { display: flex; align-items: flex-start; gap: 10px; }
  .mf-bot-ic { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: #fff; }
  .mf-bot-txt { position: relative; flex: 1; min-height: 54px; }
  .mf-think { position: absolute; left: 0; top: 8px; display: flex; gap: 5px; opacity: 0; }
  .mf-think i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); opacity: .25; animation: mf-th 1s infinite; }
  .mf-think i:nth-child(2) { animation-delay: .15s; } .mf-think i:nth-child(3) { animation-delay: .3s; }
  @keyframes mf-th { 0%, 100% { opacity: .2; transform: none; } 40% { opacity: .9; transform: translateY(-3px); } }
  .mf-said { margin: 0; font-size: 18.5px; line-height: 1.45; }
  .mf-said mark, .mf-a2 mark { --hl: 1; padding: 0 3px; border-radius: 5px; color: inherit; font-weight: 650; background: linear-gradient(var(--or), var(--or)) 0 100% / calc(var(--hl) * 100%) 2px no-repeat, linear-gradient(rgba(245,80,43,.24), rgba(245,80,43,.24)) 0 0 / calc(var(--hl) * 100%) 100% no-repeat; }
  .mf-rank { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0 0 0 40px; }
  .mf-rank li { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 15px 0 6px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 17px; font-weight: 500; }
  .mf-rank b { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; }
  .mf-chat-h { margin: 38px 0 0; max-width: 10ch; font-size: clamp(42px, 12vw, 58px); font-weight: 600; line-height: 1; letter-spacing: -.047em; color: #f4f0e9; }
  .mf-chat .mf-or { color: var(--or); }
  .mf-replay { all: unset; box-sizing: border-box; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; margin-top: 24px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(244,240,233,.3); color: #f4f0e9; font: 500 16px var(--sans); cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .mf-replay:focus-visible { outline: 2px solid var(--or); outline-offset: 2px; }
  .mf-replay[hidden] { display: none; }

  /* =====================================================================
     3 · WHY NOW. 45% counts up, then flies into its sentence. Two number cards follow.
     ===================================================================== */
  .mf-stat { position: relative; background: var(--bg); }
  .mf-stat-in { max-width: 560px; margin: 0 auto; padding: 88px var(--g) 20px; display: flex; flex-direction: column; }
  .mf-stat-h { margin: 0; max-width: 14ch; font-size: clamp(30px, 8.6vw, 40px); font-weight: 600; line-height: 1.05; letter-spacing: -.035em; text-wrap: balance; }
  .mf-big-wrap { display: none; }
  .mf-big { display: flex; align-items: flex-start; color: var(--or); font-size: min(58vw, 270px); font-weight: 700; line-height: .8; letter-spacing: -.07em; font-variant-numeric: tabular-nums; will-change: transform; }
  .mf-big small { margin: .08em 0 0 .02em; font-size: .42em; letter-spacing: -.04em; }
  .mf-big-lab { position: relative; width: 100%; height: 18px; margin: 20px 0 0; text-align: center; font: 500 12.5px/18px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
  .mf-big-lab span { position: absolute; left: 0; right: 0; }
  .mf-big-lab .mf-l-b { color: var(--or-text); opacity: 0; }
  .mf-sent { margin: 30px 0 0; font-size: clamp(26px, 7.4vw, 34px); font-weight: 500; line-height: 1.14; letter-spacing: -.025em; text-wrap: pretty; }
  .mf-ph { color: var(--or-ink); font-weight: 700; }
  html.mf-film .mf-stat { height: 220vh; height: 220svh; }
  html.mf-film .mf-stat .mf-stick, html.mf-film .mf-ans .mf-stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
  html.mf-film .mf-stat-in { height: 100%; padding: 84px var(--g) calc(26px + env(safe-area-inset-bottom)); }
  html.mf-film .mf-big-wrap { display: flex; position: absolute; left: 0; right: 0; top: 50%; flex-direction: column; align-items: center; transform: translateY(-40%); pointer-events: none; }
  html.mf-film .mf-sent { margin-top: auto; }
  html.mf-film .mf-ph { display: inline-block; }

  .mf-stats2 { max-width: 560px; margin: 0 auto; padding: 28px var(--g) 36px; display: grid; gap: 18px; }
  .mf-s2 { padding: 26px 22px 22px; border-radius: 28px; background: #fff; box-shadow: 0 1px 0 rgba(21,20,18,.04), 0 24px 50px -30px rgba(21,20,18,.25); }
  .mf-s2-n { margin-bottom: 16px; font-size: clamp(80px, 25vw, 116px); font-weight: 700; line-height: .86; letter-spacing: -.065em; font-variant-numeric: tabular-nums; }
  .mf-s2 > p:not(.mf-src) { margin: 0; font-size: 19px; line-height: 1.4; }
  .mf-bars { display: grid; gap: 12px; margin-top: 20px; }
  .mf-bar span { display: block; margin-bottom: 6px; font: 500 12px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
  .mf-bar i { display: block; width: calc(var(--w) * 100%); height: 14px; border-radius: 7px; background: rgba(21,20,18,.16); transform-origin: 0 50%; }
  .mf-bar-or i { background: var(--or); }
  .mf-dots { display: flex; gap: 12px; margin: 0 0 18px; }
  .mf-dots i { flex: 1 1 0; max-width: 64px; aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(21,20,18,.18); }
  .mf-dots i.on { background: var(--or); border-color: var(--or); }

  /* their own words: a still row of question cards you swipe */
  .mf-cities { padding: 64px 0 44px; }
  .mf-rail { display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0 var(--g); scrollbar-width: none; padding: 28px var(--g) 8px; }
  .mf-rail::-webkit-scrollbar { display: none; }
  .mf-rail:focus-visible { outline: 2px solid var(--or); outline-offset: -2px; }
  .mf-qc { position: relative; flex: 0 0 calc(100% - 2 * var(--g) - 22px); max-width: 420px; min-height: 340px; display: flex; flex-direction: column; padding: 22px 22px 20px; border-radius: 28px; background: var(--ink); color: #f4f0e9; scroll-snap-align: start; overflow: hidden; }
  .mf-qc::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(245,80,43,.42), transparent 70%); pointer-events: none; }
  .mf-qc-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font: 500 12px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(244,240,233,.62); }
  .mf-qc-city { display: flex; align-items: center; gap: 8px; font: 600 16px/1 var(--sans); letter-spacing: -.01em; text-transform: none; color: #f4f0e9; }
  .mf-qc-city::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--or); box-shadow: 0 0 0 4px rgba(245,80,43,.25); }
  .mf-qc-q { margin: 26px 0 auto; font-size: clamp(25px, 7.2vw, 31px); font-weight: 600; line-height: 1.12; letter-spacing: -.025em; text-wrap: balance; }
  .mf-qc-ai { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding: 12px 14px; border-radius: 18px; background: rgba(244,240,233,.08); }
  .mf-qc-ai .mf-lg { width: 40px; height: 40px; border-radius: 12px; background: #fff; }
  .mf-qc-ai .mf-lg img { width: 22px; height: 22px; }
  .mf-qc-ai small { display: block; font-size: 14px; color: rgba(244,240,233,.66); }
  .mf-qc-ai b { font-size: 19px; color: var(--or); }
  .mf-rail-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
  .mf-rail-dots i { width: 7px; height: 7px; border-radius: 4px; background: rgba(21,20,18,.2); transition: width .3s, background .3s; }
  .mf-rail-dots i.on { width: 22px; background: var(--ink); }

  /* =====================================================================
     4 · HOW IT WORKS. One example answer changes as you scroll: Check, Fix, Named (B's rewrite
     with the "Named first" badge), Prove (the Monday line).
     ===================================================================== */
  .mf-how { background: var(--bg); }
  .mf-how-intro { padding-top: 72px; padding-bottom: 6px; }
  .mf-ans-in { max-width: 560px; margin: 0 auto; padding: 28px var(--g) 48px; display: flex; flex-direction: column; }
  .mf-steps { display: none; }
  .mf-card { position: relative; overflow: hidden; border-radius: 26px; background: #fff; box-shadow: 0 30px 60px -30px rgba(21,20,18,.35), 0 0 0 1px rgba(21,20,18,.05); transition: box-shadow .5s; }
  .mf-card.is-named { box-shadow: 0 0 0 2px rgba(245,80,43,.9), 0 30px 60px -24px rgba(245,80,43,.45); }
  .mf-scr { display: flex; flex-direction: column; padding: 18px 18px 16px; }
  .mf-ctop { display: flex; align-items: center; gap: 10px; min-height: 30px; }
  .mf-who { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; }
  .mf-named { margin-left: auto; padding: 6px 10px; border-radius: 999px; background: var(--or-ink); color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; }
  .mf-q { align-self: flex-start; margin: 12px 0 0; padding: 11px 14px; border-radius: 18px 18px 18px 6px; background: var(--bg); font-size: clamp(19px, 5.3vw, 22px); font-weight: 600; line-height: 1.18; letter-spacing: -.02em; }
  .mf-answ { position: relative; margin-top: 12px; }
  .mf-a1, .mf-a2 { margin: 0; font-size: 17.5px; line-height: 1.42; }
  .mf-a1 { display: none; }
  .mf-sw { white-space: nowrap; }
  .mf-sw s { --st: 0%; padding: 0 2px; border-radius: 4px; color: #c4321a; text-decoration: none; background: linear-gradient(#c4321a, #c4321a) 0 55% / var(--st) 2px no-repeat; box-shadow: inset 0 -2px 0 rgba(196,50,26,.35); }
  .mf-sw b { display: inline-block; max-width: 0; overflow: hidden; padding-left: .25em; vertical-align: bottom; white-space: nowrap; color: #14783a; font-weight: 700; opacity: 0; }
  .mf-cfoot { position: relative; margin-top: 14px; }
  .mf-warn { display: none; margin: 0; padding: 11px 13px; border-radius: 14px; background: #fff2ee; color: #7a1f0c; font-size: 16px; line-height: 1.38; }
  .mf-warn b { color: #b8361a; }
  .mf-fixes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .mf-fix { padding: 9px 11px; border-radius: 14px; background: var(--bg); }
  .mf-fix span { display: block; margin-bottom: 3px; font: 500 10.5px/1.25 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--mute); }
  .mf-fix b { font-size: 16px; }
  .mf-ok { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border-radius: 14px; background: #14783a; color: #fff; font-size: 16px; font-weight: 600; }
  .mf-mon { margin: 4px; border-radius: 22px; background: var(--ink); color: #f4f0e9; }
  .mf-mon .mf-tag { background: rgba(244,240,233,.12); color: rgba(244,240,233,.75); }
  .mf-m-h { margin: 16px 0 12px; font-size: clamp(23px, 6.4vw, 27px); font-weight: 600; line-height: 1.1; letter-spacing: -.025em; }
  .mf-m-row { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 6px 10px; padding: 10px 0; border-top: 1px solid rgba(244,240,233,.12); font-size: 16px; color: rgba(244,240,233,.8); }
  .mf-m-row b { color: #fff; font-size: 22px; font-weight: 650; font-variant-numeric: tabular-nums; }
  .mf-m-row b i { font-style: normal; font-size: 15px; font-weight: 500; color: rgba(244,240,233,.5); }
  .mf-m-row:first-of-type b > span { color: var(--or); }
  .mf-m-bar { grid-column: 1 / -1; height: 10px; overflow: hidden; border-radius: 5px; background: rgba(244,240,233,.1); }
  .mf-m-bar i { display: block; height: 100%; border-radius: 5px; background: var(--or); }
  .mf-m-g .mf-m-bar i { background: rgba(244,240,233,.45); }
  .mf-m-orders { margin-top: 10px; padding-top: 12px; border-top: 1px solid rgba(244,240,233,.12); font-size: 16px; color: rgba(244,240,233,.8); }
  .mf-m-orders b { display: block; margin-top: 6px; color: #fff; font-size: clamp(38px, 11.4vw, 52px); font-weight: 700; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
  .mf-caps { list-style: none; margin: 8px 0 0; padding: 0; }
  .mf-caps li { margin-top: 18px; font-size: 20px; font-weight: 500; line-height: 1.3; letter-spacing: -.015em; text-wrap: balance; }
  .mf-caps li span { display: block; margin-bottom: 6px; font: 500 12.5px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--or-text); }

  html.mf-film .mf-ans { height: 250vh; height: 250svh; }
  html.mf-film .mf-ans-in { height: 100%; padding: 72px var(--g) calc(14px + env(safe-area-inset-bottom)); }
  html.mf-film .mf-steps { list-style: none; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 12px; padding: 0; border-bottom: 2px solid var(--line); }
  html.mf-film .mf-steps li { padding: 11px 0; text-align: center; font-size: 16px; font-weight: 600; color: var(--mute); transition: color .3s; }
  html.mf-film .mf-steps li.on { color: var(--ink); }
  html.mf-film .mf-steps-bar { position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px; background: var(--or); transform: scaleX(.02); transform-origin: 0 50%; }
  html.mf-film .mf-card { flex: 1 1 auto; min-height: 0; max-height: 470px; }
  html.mf-film .mf-scr { position: absolute; inset: 0; }
  html.mf-film .mf-mon { margin: 0; border-radius: 26px; }
  html.mf-film .mf-answ { flex: 1; min-height: 0; }
  html.mf-film .mf-a1, html.mf-film .mf-a2 { display: block; position: absolute; inset: 0; }
  html.mf-film .mf-cfoot { min-height: 104px; }
  html.mf-film .mf-warn { display: block; }
  html.mf-film .mf-warn, html.mf-film .mf-fixes { position: absolute; left: 0; right: 0; bottom: 0; }
  html.mf-film .mf-m-orders { margin-top: auto; }
  html.mf-film .mf-caps { position: relative; flex: none; height: 92px; margin-top: 14px; }
  html.mf-film .mf-caps li { position: absolute; inset: 0; margin: 0; opacity: 0; transform: translateY(12px); transition: opacity .45s cubic-bezier(.2,.9,.2,1), transform .45s cubic-bezier(.2,.9,.2,1); }
  html.mf-film .mf-caps li.on { opacity: 1; transform: none; }

  /* =====================================================================
     5 · YOUR AI TEAM. Three cards; each slides over the last and the one beneath settles back.
     ===================================================================== */
  .mf-team { padding: 72px 0 32px; background: var(--paper); }
  .mf-stack { position: relative; padding: 28px 12px 0; }
  .mf-tcard { margin-bottom: 14px; padding: 22px 20px 24px; border-radius: 28px; background: #fff; box-shadow: 0 -1px 0 rgba(21,20,18,.04), 0 -20px 40px -24px rgba(21,20,18,.25); transform-origin: 50% 0; }
  .mf-tcard:nth-child(2) { background: #f6f1e9; }
  .mf-tcard:nth-child(3) { background: var(--ink); color: #f4f0e9; }
  .mf-t-head { display: flex; align-items: baseline; gap: 12px; }
  .mf-t-head span { font: 500 12.5px var(--mono); color: var(--or-text); }
  .mf-tcard:nth-child(3) .mf-t-head span { color: var(--or); }
  .mf-tcard h3 { margin: 0; font-size: clamp(29px, 8.2vw, 36px); font-weight: 600; line-height: 1; letter-spacing: -.035em; }
  .mf-t-role { margin: 18px 0 0; font-size: 21px; font-weight: 600; letter-spacing: -.015em; }
  .mf-tcard ul { list-style: none; display: grid; gap: 8px; margin: 10px 0 0; padding: 0; }
  .mf-tcard li { position: relative; padding-left: 24px; font-size: 17.5px; line-height: 1.4; opacity: .86; }
  .mf-tcard li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 10px; height: 2px; background: var(--or); }
  .mf-dia { position: relative; height: 164px; margin-top: 18px; overflow: hidden; border-radius: 20px; background: var(--bg); }
  .mf-tcard:nth-child(3) .mf-dia { background: rgba(244,240,233,.07); }
  .mf-dia * { animation-play-state: paused; }
  .mf-dia.run * { animation-play-state: running; }
  .mf-bubx { position: absolute; left: 16px; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 14px; background: #fff; box-shadow: 0 8px 20px -12px rgba(21,20,18,.3); font-size: 16px; font-weight: 600; }
  .mf-b1 { top: 20px; } .mf-b2 { top: 88px; left: 40px; }
  .mf-p { position: relative; display: inline-block; min-width: 44px; margin-left: 4px; }
  .mf-p s { color: #c4321a; text-decoration: none; background: linear-gradient(#c4321a, #c4321a) 0 55% / 0 2px no-repeat; animation: mf-strike 4s infinite; }
  .mf-p b { position: absolute; left: 0; top: 0; color: #14783a; opacity: 0; animation: mf-fixin 4s infinite; }
  .mf-b2 .mf-p s, .mf-b2 .mf-p b { animation-delay: .4s; }
  .mf-stamp { position: absolute; right: 16px; top: 50%; padding: 6px 10px; border: 2.5px solid #14783a; border-radius: 10px; color: #14783a; font: 500 17px var(--mono); letter-spacing: .1em; text-transform: uppercase; opacity: 0; transform: translateY(-50%) rotate(-10deg) scale(1.6); animation: mf-stamp 4s infinite; }
  .mf-scan { position: absolute; top: 0; bottom: 0; left: -60px; width: 60px; background: linear-gradient(90deg, transparent, rgba(245,80,43,.18), transparent); animation: mf-scan 4s infinite; }
  @keyframes mf-strike { 0%, 25% { background-size: 0 2px; opacity: 1; } 38% { background-size: 100% 2px; opacity: 1; } 48%, 100% { background-size: 100% 2px; opacity: 0; } }
  @keyframes mf-fixin { 0%, 45% { opacity: 0; transform: translateY(8px); } 55%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
  @keyframes mf-stamp { 0%, 58% { opacity: 0; transform: translateY(-50%) rotate(-10deg) scale(1.6); } 66%, 92% { opacity: 1; transform: translateY(-50%) rotate(-10deg) scale(1); } 100% { opacity: 0; } }
  @keyframes mf-scan { 0% { left: -60px; } 30%, 100% { left: 100%; } }
  .mf-src-tag { position: absolute; padding: 6px 8px; border-radius: 8px; background: #fff; box-shadow: 0 6px 16px -10px rgba(21,20,18,.35); font: 500 11px var(--mono); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
  .mf-t1 { left: 12px; top: 18px; } .mf-t2 { left: 26%; top: 62px; } .mf-t3 { right: 12px; top: 18px; }
  .mf-pub-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
  .mf-pub-lines path { fill: none; stroke: var(--or); stroke-width: 1.6; stroke-dasharray: 4 5; opacity: .6; vector-effect: non-scaling-stroke; animation: mf-dash 1.2s linear infinite; }
  @keyframes mf-dash { to { stroke-dashoffset: -18; } }
  .mf-you { position: absolute; right: 14%; bottom: 16px; padding: 8px 14px; border-radius: 999px; background: var(--or-ink); color: #fff; font-size: 15px; font-weight: 600; }
  .mf-env { position: absolute; left: 14%; top: 40px; color: var(--ink); animation: mf-fly 3.2s cubic-bezier(.2,.9,.2,1) infinite; }
  @keyframes mf-fly { 0% { transform: translate(0, 0) scale(.8); opacity: 0; } 15% { opacity: 1; } 70% { transform: translate(170%, 190%) scale(1); opacity: 1; } 100% { transform: translate(190%, 200%) scale(.6); opacity: 0; } }
  .mf-dia-clerk { display: flex; align-items: flex-end; gap: 16px; padding: 18px 18px 14px; }
  .mf-col { flex: 0 0 76px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 8px; }
  .mf-col i { width: 100%; border-radius: 10px 10px 4px 4px; transform-origin: 50% 100%; }
  .mf-col span { font: 500 10.5px var(--mono); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; color: rgba(244,240,233,.66); }
  .mf-c-or { height: 72%; background: var(--or); animation: mf-growA 3.6s cubic-bezier(.2,.9,.2,1) infinite; }
  .mf-c-g { height: 44%; background: rgba(244,240,233,.35); animation: mf-growB 3.6s cubic-bezier(.2,.9,.2,1) infinite; }
  @keyframes mf-growA { 0% { transform: scaleY(.53); } 45%, 90% { transform: scaleY(1); } 100% { transform: scaleY(.53); } }
  @keyframes mf-growB { 0% { transform: scaleY(.9); } 45%, 90% { transform: scaleY(1); } 100% { transform: scaleY(.9); } }
  .mf-ledger { flex: 1; align-self: center; display: grid; gap: 9px; }
  .mf-ledger i { height: 10px; border-radius: 5px; background: rgba(244,240,233,.18); transform-origin: 0 50%; animation: mf-ledger 3.6s cubic-bezier(.2,.9,.2,1) infinite; }
  .mf-ledger i:nth-child(2) { width: 80%; animation-delay: .25s; } .mf-ledger i:nth-child(3) { width: 90%; animation-delay: .5s; } .mf-ledger i:nth-child(4) { width: 60%; background: var(--or); animation-delay: .75s; }
  @keyframes mf-ledger { 0% { transform: scaleX(0); } 30%, 90% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
  .mf-team-out { margin: 18px 0 0; font-size: clamp(23px, 6.6vw, 29px); font-weight: 600; line-height: 1.2; letter-spacing: -.02em; text-wrap: balance; }
  .mf-yes { display: inline-block; margin-right: 6px; padding: 6px 12px; border-radius: 999px; background: var(--or-ink); color: #fff; font: 500 13px var(--mono); letter-spacing: .06em; text-transform: uppercase; vertical-align: middle; transform: translateY(-3px); }
  .mf-note { margin: 14px 0 0; font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
  html.mf-film .mf-tcard { position: sticky; top: calc(76px + var(--i) * 14px); margin-bottom: 46vh; margin-bottom: 46svh; will-change: transform; }
  html.mf-film .mf-tcard:last-child { margin-bottom: 6svh; }

  /* =====================================================================
     6 · SEVEN ASSISTANTS. A still grid: it assembles once as it comes into view, then stays put.
     (James removed moving banners on 8 Nov: nothing here moves by itself after that.)
     ===================================================================== */
  .mf-every { padding: 80px 0 44px; background: var(--bg); overflow: hidden; }
  .mf-ais { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 10px; margin: 32px 0 0; padding: 0 var(--g); }
  .mf-ais li { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 60px; padding: 0 20px 0 9px; border-radius: 999px; background: #fff; box-shadow: 0 14px 30px -20px rgba(21,20,18,.35), 0 0 0 1px rgba(21,20,18,.05); font-size: 21px; font-weight: 600; letter-spacing: -.025em; white-space: nowrap; }
  .mf-ais li:nth-child(3n+2) { background: var(--ink); color: #f4f0e9; }
  .mf-ais li:nth-child(3n+2) .mf-lg { background: #fff; }
  .mf-tick { position: absolute; top: -5px; right: -3px; width: 22px; height: 22px; border-radius: 50%; background: var(--or-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; box-shadow: 0 0 0 3px var(--bg); }
  .mf-every .mf-body { margin-top: 30px; }

  /* =====================================================================
     7 · THE LAB (the page's own #lab): its four steps on a line that draws as you scroll.
     ===================================================================== */
  body.home #lab { padding-top: 72px; padding-bottom: 80px; }
  body.home #lab .lab { display: block; }
  body.home #lab .loop { --lp: 1; position: relative; display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: 36px; padding-left: 32px; }
  body.home #lab .loop::before, body.home #lab .loop::after { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
  body.home #lab .loop::after { background: var(--or); transform: scaleY(var(--lp)); transform-origin: 50% 0; }
  body.home #lab .loop li, body.home #lab .loop li.now { position: relative; display: block; min-height: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
  body.home #lab .loop li.now { transform: none; }
  body.home #lab .loop li::before { content: ""; position: absolute; left: -32px; top: 2px; z-index: 1; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); background: var(--paper); transition: border-color .3s, background .3s; }
  body.home #lab .loop li.lit::before { border-color: var(--or); background: var(--or); box-shadow: 0 0 0 4px rgba(245,80,43,.18); }
  body.home #lab .loop li .mono, body.home #lab .loop li.now .mono { color: var(--or-text); font-size: 12.5px; }
  body.home #lab .loop li b { display: block; margin-top: 6px; font-size: 23px; font-weight: 600; letter-spacing: -.02em; }
  body.home #lab .loop li span:last-child { display: block; margin-top: 4px; font-size: 17px; line-height: 1.45; color: var(--body); }
  html.mf-film body.home #lab .loop { --lp: 0; }
  html:not(.mf-film) body.home #lab .loop li::before { border-color: var(--or); background: var(--or); }

  /* =====================================================================
     8 · S1 DIGITAL (the page's own #partner): a dark band that opens edge to edge; logos assemble.
     ===================================================================== */
  body.home #partner { padding: 112px var(--g) 104px; }
  body.home #partner .sub.dt-only { display: block !important; margin-top: 18px; font-size: 18px; line-height: 1.5; color: rgba(244,240,233,.74); }
  body.home #partner .sub.ph-only { display: none !important; }
  body.home #partner h2 { font-size: clamp(34px, 9.6vw, 46px); }
  body.home #partner .logos { grid-template-columns: 1fr 1fr; gap: 10px; }
  body.home #partner .logos li:nth-child(n) { display: flex; align-items: center; justify-content: center; min-height: 86px; padding: 14px 16px; border-radius: 18px; background: #f4f0e9; }
  body.home #partner .logos li.lead { grid-column: 1 / -1; }
  body.home #partner .logos li img, body.home #partner .logos li:hover img { max-width: 100%; max-height: 44px; filter: none; opacity: 1; mix-blend-mode: multiply; }
  body.home #partner .logos li.lead img { width: 176px; max-height: none; }
  html.mf-film body.home #partner { clip-path: inset(0 12px round 32px); }

  /* 9 · FAQ (the page's own #faq): big, readable rows */
  body.home .faq summary { min-height: 64px; font-size: 18px; font-weight: 500; }
  body.home .faq details p { font-size: 17px; }

  /* =====================================================================
     10 · CLOSING (the page's own call to action): the mark draws itself, the staircase rises.
     ===================================================================== */
  body.home .cta.cta-3d { position: relative; align-items: stretch; padding: 92px var(--g) 0; overflow: hidden; text-align: left; background: linear-gradient(var(--paper) 0%, #f1e9de 100%); }
  body.home .cta-3d .cta-copy { position: relative; z-index: 1; align-items: flex-start; }
  body.home .cta-3d h2 { margin: 0; max-width: 9ch; font-size: clamp(40px, 13.2vw, 62px); font-weight: 600; line-height: .98; letter-spacing: -.047em; }
  body.home .cta-3d .cta-copy .sub { font-size: 18px; }
  body.home .cta-3d .wl, body.home .cta-3d .wl-msg { width: 100%; text-align: left; }
  .mf-mark { display: block; margin-bottom: 22px; }
  .mf-mark path { stroke-dasharray: 150; stroke-dashoffset: 0; }
  .mf-mark .mf-mk-or { stroke-dasharray: 50; }
  html.mf-film .mf-mark .mf-mk-ink { stroke-dashoffset: 150; }
  html.mf-film .mf-mark .mf-mk-or { stroke-dashoffset: 50; }
  .mf-close-art { position: relative; z-index: 0; height: 62vh; height: 62svh; min-height: 320px; margin: 4px calc(-1 * var(--g)) 0; overflow: hidden; }
  .mf-close-art::before { content: ""; position: absolute; left: 0; right: 0; top: 0; z-index: 1; height: 38%; background: linear-gradient(#f3ece2, rgba(243,236,226,0)); }
  .mf-close-art img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 74%; will-change: transform; }
}

/* small phones */
@media (max-width: 374px) {
  body.home .scrolly .hero-btns .pill { font-size: 16px; }
  body.home .scrolly .hero-btns .pill.ghost { padding: 0 14px; }
  .mf-ais li { font-size: 19px; min-height: 56px; }
  .mf-rank { padding-left: 0; }
}
/* short screens: the answer card and captions give up a little room */
@media (max-width: 900px) and (max-height: 700px) {
  html.mf-film .mf-ans-in { padding-top: 66px; }
  html.mf-film .mf-steps li { padding: 8px 0; }
  html.mf-film .mf-caps { height: 80px; margin-top: 10px; }
  html.mf-film .mf-caps li { font-size: 18px; }
  .mf-q { font-size: 18px; padding: 9px 12px; }
  .mf-a1, .mf-a2 { font-size: 17px; line-height: 1.38; }
  .mf-scr { padding: 14px 14px 12px; }
  .mf-tcard ul { gap: 4px; }
  .mf-dia { height: 140px; }
}
@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .mf-dia *, .mf-caret, .mf-think i { animation: none !important; }
  .mf-p s { opacity: 0; } .mf-p b { opacity: 1; }
  .mf-stamp { opacity: 1; transform: translateY(-50%) rotate(-10deg); }
  .mf-scan, .mf-env { display: none; }
  .mf-rail-dots i, .mf-card { transition: none; }
}
