/* The Replay as a scroll show, round 4 (MEXA-1656): a slideshow of colour worlds in Shown's language.
   Light and dark scenes alternate; every scene owns its palette through the custom properties below. No glows, no purple. */
@font-face { font-family: "Archivo"; src: url("/fonts/archivo-var.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif-italic.woff2") format("woff2"); font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif.woff2") format("woff2"); font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/Inter-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/fonts/ibm-plex-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/fonts/ibm-plex-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  /* the dark world is the default; every scene overrides these */
  --bg: #0a0a0c; --bg2: #141418; --ink: #f3f0e8; --ink2: #b4b2aa; --ink3: #7d7d86; --line: #26262d; --accent: #f3f0e8; --tint: #0a0a0c;
  --company: #ffffff; --influencer: #ffb020; --critic: #ff4040; --community: #7f8794;
  --blue: #0055fe; --sky: #36aeff; --sky2: #73c6fe; --paper: #f4f2f0; --orange: #ff5c39; --lime: #c8f03c; --yellow: #ffe14d;
  --display: "Archivo", "Inter", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --mono: "Plex Mono", ui-monospace, Menlo, monospace;
  --pad: clamp(18px, 4vw, 64px);
}
.light { --bg: #f4f2f0; --bg2: #ffffff; --ink: #111113; --ink2: #4a4a50; --ink3: #80808a; --line: rgba(17,17,19,.14); --accent: #0055fe; --tint: #f4f2f0; --company: #111113; --influencer: #ff9f1c; --critic: #e5173f; --community: #9a9aa2; }
* { box-sizing: border-box; }
html { background: #0a0a0c; color: var(--ink); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 400 16px/1.5 var(--sans); overflow-x: hidden; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
canvas { display: block; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink2); }
.overline { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.skip { position: absolute; left: -999px; top: 8px; background: #111; color: #fff; padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

/* type */
.display { font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: clamp(40px, 7.2vw, 108px); line-height: .94; letter-spacing: -.02em; text-wrap: balance; color: var(--ink); }
.display-sm { font-family: var(--display); font-weight: 700; font-stretch: 108%; font-size: clamp(28px, 4.2vw, 56px); line-height: 1; letter-spacing: -.02em; text-wrap: balance; color: var(--ink); }
.serif-h { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(40px, 7vw, 104px); line-height: .98; letter-spacing: -.01em; color: var(--ink); }
.num { font-family: var(--display); font-stretch: 68%; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.narr { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.1vw, 28px); line-height: 1.25; color: var(--ink); }
.slot.empty { font-family: var(--serif); font-style: italic; color: var(--ink3); }
.slot.empty::before { content: ""; display: inline-block; width: 22px; height: 1px; background: var(--ink3); vertical-align: middle; margin-right: 10px; }
/* kinetic type: letters rise in with a stagger, driven by --k from JS (0 → 1) */
.kin .l { display: inline-block; transform: translateY(calc((1 - var(--k, 1)) * 110%)) rotate(calc((1 - var(--k, 1)) * 8deg)); opacity: var(--k, 1); will-change: transform; }
.kin .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .06em; margin-bottom: -.06em; }

/* broadcast bug + rail */
.bug { position: fixed; inset: 0 0 auto 0; z-index: 30; display: flex; justify-content: space-between; align-items: center; padding: 16px var(--pad); pointer-events: none; mix-blend-mode: difference; color: #fff; }
.bug > * { pointer-events: auto; }
.wordmark { font-family: var(--display); font-weight: 800; font-stretch: 118%; font-size: 15px; letter-spacing: .14em; text-decoration: none; white-space: nowrap; }
.bug-now { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; text-align: right; opacity: 0; transition: opacity .3s; }
.bug-now.on { opacity: 1; }
.rail { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 30; display: flex; flex-direction: column; gap: 10px; mix-blend-mode: difference; }
.rail a { display: block; width: 7px; height: 7px; border-radius: 50%; background: #fff; opacity: .4; transition: transform .25s, opacity .25s; }
.rail a.on { opacity: 1; transform: scale(1.5); }
.rail a.ch { border-radius: 2px; }
@media (max-width: 720px) {
  .rail { right: 0; left: 0; top: auto; bottom: 0; transform: none; flex-direction: row; gap: 0; height: 3px; }
  .rail a { flex: 1; height: 3px; border-radius: 0; opacity: .3; }
  .rail a.on { transform: none; opacity: 1; }
  .bug-now { max-width: 60vw; white-space: nowrap; overflow: hidden; text-overflow: clip; }
  .wordmark { font-size: 13px; }
}

/* scene wipe: a colour block covers the stage as it scrolls in and slides away. --w goes 0 → 1 as the stage enters. */
.wipe { position: absolute; inset: 0; z-index: 9; background: var(--wipe, var(--ink)); pointer-events: none; }
.w-diag .wipe { clip-path: polygon(calc(var(--w, 1) * 130%) 0, 100% 0, 100% 100%, calc(var(--w, 1) * 130% - 30%) 100%); }
.w-up .wipe { clip-path: inset(0 0 calc(var(--w, 1) * 100%) 0); }
.w-circle .wipe { clip-path: circle(calc((1 - var(--w, 1)) * 120%) at 50% 50%); }
.w-blinds .wipe { clip-path: polygon(0 0, 25% 0, 25% calc(var(--w, 1) * 100%), 0 calc(var(--w, 1) * 100%), 0 0, 25% 0, 50% 0, 50% calc(var(--w, 1) * 100%), 25% calc(var(--w, 1) * 100%), 25% 0, 50% 0, 75% 0, 75% calc(var(--w, 1) * 100%), 50% calc(var(--w, 1) * 100%), 50% 0, 75% 0, 100% 0, 100% calc(var(--w, 1) * 100%), 75% calc(var(--w, 1) * 100%), 75% 0); clip-path: inset(calc(var(--w, 1) * 100%) 0 0 0); }
.w-blinds .wipe { background: repeating-linear-gradient(90deg, var(--wipe, var(--ink)) 0 25%, color-mix(in oklab, var(--wipe, var(--ink)) 70%, var(--bg)) 25% 50%); }
.wipe[hidden] { display: none; }

/* 0 · hero: the iMessage open on an off-white stage, then the phone flies into THE REPLAY */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; background: var(--bg); color: var(--ink); perspective: 1400px; }
.hero-field { position: absolute; inset: 0; width: 100%; height: 100%; }
/* the video sits under the open, hidden until play; letterboxed on ink, since the cut keeps its labels near the edges */
.hero-media { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .5s; }
.hero-media video { display: block; width: 100%; height: 100%; object-fit: contain; background: var(--ink); }
.hero.playing .hero-media { opacity: 1; pointer-events: auto; }
.phone-stage { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; perspective: 1400px; transform-style: preserve-3d; }
.phone { position: relative; width: 300px; height: 610px; border-radius: 46px; background: #15151a; padding: 12px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.35), inset 0 0 0 2px #3a3a42; transform-style: preserve-3d; animation: phone-in 1s cubic-bezier(.2,.8,.2,1) both, phone-fly .9s cubic-bezier(.6,0,.9,.2) 3.9s both; }
.phone::before { content: ""; position: absolute; left: 50%; top: 20px; width: 92px; height: 26px; margin-left: -46px; background: #15151a; border-radius: 14px; z-index: 2; }
.phone .screen { width: 100%; height: 100%; border-radius: 36px; background: #fff; overflow: hidden; display: flex; flex-direction: column; font-family: var(--sans); color: #111; }
.im-head { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 54px 0 10px; border-bottom: 1px solid #e6e6ea; font-size: 11px; font-weight: 500; }
.im-avatar { width: 42px; height: 42px; border-radius: 50%; background: #c9c9cf; }
.im-thread { display: flex; flex-direction: column; gap: 6px; padding: 14px 12px; }
.im-day { font-size: 10px; color: #8a8a90; text-align: center; margin-bottom: 4px; }
.im { max-width: 82%; padding: 9px 13px; border-radius: 18px; font-size: 15px; line-height: 1.3; opacity: 0; transform: translateY(14px) scale(.9); animation: pop .45s cubic-bezier(.2,1.3,.3,1) forwards; }
.im.grey { align-self: flex-start; background: #e9e9eb; border-bottom-left-radius: 6px; }
.im.blue { align-self: flex-end; background: #1b8cff; color: #fff; border-bottom-right-radius: 6px; }
.im.typing { align-self: flex-start; background: #e9e9eb; display: flex; gap: 4px; padding: 11px 13px; animation: pop .35s cubic-bezier(.2,1.3,.3,1) forwards, typing-out .2s linear forwards; }
.im.typing i { width: 7px; height: 7px; border-radius: 50%; background: #9a9aa0; animation: dots 1s infinite; }
.im.typing i:nth-child(2) { animation-delay: .15s; } .im.typing i:nth-child(3) { animation-delay: .3s; }
.im:nth-child(2) { animation-delay: 1s; } .im:nth-child(3) { animation-delay: 1.9s; } .im.typing { animation-delay: 2.5s, 3.3s; } .im:nth-child(5) { animation-delay: 3.35s; }
@keyframes pop { to { opacity: 1; transform: none; } }
@keyframes typing-out { to { opacity: 0; height: 0; padding: 0; margin: -6px 0 0; } }
@keyframes dots { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
@keyframes phone-in { from { opacity: 0; transform: translateY(120px) rotateY(-28deg) rotateX(8deg); } to { opacity: 1; transform: translateY(0) rotateY(-14deg) rotateX(4deg); } }
@keyframes phone-fly { from { transform: translateY(0) rotateY(-14deg) rotateX(4deg) scale(1); opacity: 1; } 60% { opacity: 1; } to { transform: translateY(-60px) rotateY(10deg) rotateX(-6deg) scale(8); opacity: 0; } }
.hero-poster { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 var(--pad); transition: opacity .5s; opacity: 0; animation: poster-in .9s cubic-bezier(.2,.8,.2,1) 4.4s forwards; }
@keyframes poster-in { from { opacity: 0; transform: scale(.86); } to { opacity: 1; transform: none; } }
/* once poster-in has played, the page drops the animation (so its fill state can't pin opacity at 1) and the playing rule can fade it */
.hero-poster.in { animation: none; opacity: 1; transform: none; }
.hero.playing .hero-poster, .hero.playing .hero-field, .hero.playing .phone-stage, .hero.playing .cursor { opacity: 0; pointer-events: none; }
.hero.playing .cursor, .hero.playing .hero-foot { visibility: hidden; }
.hero-title { font-family: var(--display); font-weight: 900; font-stretch: 125%; font-size: clamp(64px, 17vw, 240px); line-height: .82; letter-spacing: -.03em; margin: 18px 0 22px; display: flex; flex-direction: column; color: var(--ink); }
.hero-title span:first-child { font-size: .38em; font-stretch: 100%; font-weight: 600; letter-spacing: .32em; margin-left: .2em; margin-bottom: .18em; color: var(--blue); }
.hero-sub { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.6vw, 34px); color: var(--ink2); max-width: 30em; }
.play { position: relative; width: 112px; height: 112px; margin: 40px 0 24px; background: none; border: 0; cursor: pointer; padding: 0; }
.play-ring { position: absolute; inset: 0; border-radius: 50%; background: var(--blue); box-shadow: 0 14px 30px -12px rgba(0,85,254,.6), inset 0 -6px 0 rgba(0,0,0,.18); transition: transform .35s cubic-bezier(.2, .8, .2, 1), background .35s; }
.play-ring::after { content: ""; position: absolute; inset: -14px; border: 1.5px solid var(--blue); border-radius: 50%; opacity: .3; animation: ring 2.6s ease-out infinite; }
.play-tri { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: translate(-40%, -50%); border-style: solid; border-width: 15px 0 15px 26px; border-color: transparent transparent transparent #fff; }
.play:hover .play-ring, .play:focus-visible .play-ring, .play.clicked .play-ring { transform: scale(1.1); background: #0043c9; }
@keyframes ring { 0% { transform: scale(.9); opacity: .35; } 100% { transform: scale(1.35); opacity: 0; } }
.hero-line { font-family: var(--serif); font-style: italic; font-size: clamp(18px, 1.9vw, 24px); max-width: 34em; color: var(--ink); }
.hero-foot { position: absolute; left: var(--pad); right: var(--pad); bottom: 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; opacity: 0; animation: fade .6s 4.8s forwards; }
.scroll-cue { text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.scroll-cue i { display: inline-block; width: 1px; height: 28px; background: var(--ink2); animation: cue 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0%, 100% { transform: scaleY(.3); opacity: .4; } 50% { transform: scaleY(1); opacity: 1; } }
@keyframes fade { to { opacity: 1; } }
/* the chunky 3D cursor */
.cursor { position: absolute; width: 44px; height: 52px; z-index: 12; pointer-events: none; filter: drop-shadow(3px 5px 0 rgba(0,0,0,.28)); opacity: 0; will-change: transform; }
.hero .cursor { left: 50%; top: 50%; animation: cursor-hero 1.6s cubic-bezier(.3,.7,.2,1) 5.3s forwards; }
@keyframes cursor-hero { 0% { opacity: 0; transform: translate(260px, 420px) rotate(-10deg); } 25% { opacity: 1; } 70% { transform: translate(14px, 40px) rotate(0deg); } 80% { transform: translate(14px, 40px) scale(.86); } 100% { opacity: 1; transform: translate(14px, 40px) scale(1); } }
@media (max-width: 720px) {
  .hero { min-height: 100svh; }
  .phone { width: 230px; height: 470px; border-radius: 38px; padding: 9px; }
  .phone .screen { border-radius: 30px; } .im { font-size: 13px; } .im-head { padding-top: 44px; }
  .hero-foot { flex-direction: column; align-items: flex-start; bottom: 28px; } .play { width: 88px; height: 88px; margin: 30px 0 18px; }
  .hero .cursor { animation-name: cursor-hero-m; }
  @keyframes cursor-hero-m { 0% { opacity: 0; transform: translate(140px, 300px) rotate(-10deg); } 25% { opacity: 1; } 70% { transform: translate(10px, 10px); } 80% { transform: translate(10px, 10px) scale(.86); } 100% { opacity: 1; transform: translate(10px, 10px) scale(1); } }
}

/* scenes */
.scene { position: relative; height: calc(var(--len) * 100svh); background: var(--bg); color: var(--ink); }
.stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--bg); }
.cold-beat { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 var(--pad); opacity: 0; will-change: opacity, transform; }
.cold .display { max-width: 12em; }
.cold .display em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--sky); }
.counters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; width: min(1240px, 100%); }
.counter .who { margin-top: 14px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink2); }
.counter .who b { color: var(--ink); font-weight: 500; }
.counter .what { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--ink2); margin-top: 6px; }
@media (max-width: 720px) { .counters { grid-template-columns: 1fr; gap: 18px; } }
.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 28px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink2); }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; background: var(--c); vertical-align: -1px; }
.honesty { margin-top: 40px; max-width: 42em; font-size: 14px; color: var(--ink3); }
.cold .display-sm { color: var(--ink2); margin-bottom: 18px; }

/* split-flap / odometer board */
.board { display: inline-flex; gap: 4px; font-family: var(--display); font-stretch: 72%; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1; --cell: 1em; }
.board .cell { position: relative; width: .74em; height: 1.18em; border-radius: .08em; background: var(--board, #1c1c22); color: var(--board-ink, #fff); overflow: hidden; box-shadow: inset 0 -.04em 0 rgba(0,0,0,.35), inset 0 .04em 0 rgba(255,255,255,.08); }
.board .cell::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,.5); }
.board .cell.sym { background: transparent; box-shadow: none; color: var(--board-sym, var(--ink)); }
.board .cell.sym::after { display: none; }
.board .col { position: absolute; left: 0; right: 0; top: .09em; text-align: center; transition: transform .09s linear; will-change: transform; }
.board .col span { display: block; height: 1.18em; }
.board .cell.sym .col { transition: none; }
.counter .board { font-size: clamp(56px, 7.6vw, 128px); --board: #1c1c22; --board-ink: #fff; }
.counter.paper .board { --board: #fff; --board-ink: #111; }
@media (max-width: 720px) { .counter .board { font-size: clamp(48px, 15vw, 80px); } }

/* chapters: --bg/--ink etc. are set per chapter in JS */
.chapter .stage { display: grid; grid-template-rows: auto 1fr; }
.ch-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 60px var(--pad) 6px; }
.ch-bug { opacity: 0; transition: opacity .25s; }
.ch-bug .n { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--ink2); }
.ch-bug h2 { font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: clamp(22px, 2.4vw, 34px); line-height: 1; letter-spacing: -.02em; }
.legend-mini { display: flex; gap: 12px; margin-top: 6px; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink2); }
.legend-mini span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; background: var(--c); vertical-align: 0; }
.board-wrap { text-align: right; font-variant-numeric: tabular-nums; opacity: 0; transition: opacity .25s; display: flex; gap: clamp(20px, 3vw, 48px); align-items: flex-start; }
.clock-rel { font-family: var(--display); font-stretch: 72%; font-weight: 700; font-size: clamp(30px, 3.6vw, 52px); line-height: 1; color: var(--ink); }
.run .board { font-size: clamp(30px, 3.6vw, 52px); --board: var(--ink); --board-ink: var(--bg); --board-sym: var(--ink); }
.clock-abs, .run-k { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink2); margin-top: 6px; }
.run-k b { color: var(--ink); font-weight: 500; }
.short { display: none; }
.ch-body { position: relative; min-height: 0; }
.plot { position: absolute; inset: 0; }
.plot canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.under { position: absolute; left: var(--pad); right: var(--pad); bottom: 22px; display: flex; justify-content: flex-end; align-items: flex-end; pointer-events: none; }
.under > * { pointer-events: auto; }
.lower { position: absolute; left: var(--pad); bottom: 22px; z-index: 2; max-width: 46%; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
.lower.on { opacity: 1; transform: none; }
.lower .tag { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--bg); background: var(--ink); padding: 3px 8px; margin-bottom: 8px; border-radius: 4px; }
.lower p { font-size: 14px; line-height: 1.45; color: var(--ink); background: var(--bg2); padding: 10px 12px; border-left: 3px solid var(--ink); border-radius: 0 8px 8px 0; box-shadow: 0 10px 24px -14px rgba(0,0,0,.4); }
.lower a { color: var(--ink2); font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; margin-left: 8px; white-space: nowrap; }
.booth { width: min(360px, 40%); display: flex; flex-direction: column; gap: 12px; }
.card { position: relative; background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px 12px; box-shadow: 0 14px 30px -18px rgba(0,0,0,.45); }
.card header { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--ink2); flex-wrap: wrap; }
.card header b { color: var(--ink); font-weight: 500; }
.card .chip { width: 9px; height: 9px; border-radius: 50%; background: var(--g); flex: none; }
.card .text { margin: 8px 0 10px; font-size: 13.5px; line-height: 1.4; color: var(--ink2); white-space: pre-line; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.card .stats { display: flex; flex-wrap: wrap; gap: 6px 12px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink2); }
.card .stats b { color: var(--ink); font-weight: 500; }
.card .stats a { margin-left: auto; color: var(--accent); text-decoration: none; }
.card .label { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink3); margin-bottom: 8px; }
.booth .narr { font-size: clamp(18px, 1.7vw, 24px); }
.booth .narr .at { font-family: var(--mono); font-style: normal; font-size: 11px; letter-spacing: .12em; color: var(--accent); display: block; margin-bottom: 6px; }
.booth .pin { opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .35s; }
.booth .pin.on { opacity: 1; transform: none; }
/* the cloud chapter: floating real post cards drift in the sky behind the field */
.floaters { position: absolute; inset: 0; z-index: 0; pointer-events: none; perspective: 1200px; }
.floater { position: absolute; width: 200px; transition: opacity .3s; filter: blur(.6px); opacity: .6; background: #fff; color: #111; border-radius: 12px; padding: 10px 12px; font-size: 11px; line-height: 1.35; box-shadow: 0 20px 40px -18px rgba(0,30,80,.45); transform: rotateY(var(--ry)) rotateX(var(--rx)) translateY(calc(var(--bob) * 1px)) scale(.86); will-change: transform; }
.floater b { display: block; font-family: var(--mono); font-size: 10px; color: #555; margin-bottom: 4px; }
.floater .t { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
/* the big moment: the post at centre stage */
.beat-stage { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.beat { position: absolute; left: 50%; top: 52%; width: min(820px, calc(100% - 2 * var(--pad))); transform: translate(-50%, -50%) scale(var(--k, 1)); background: var(--bg2); color: var(--ink); border: 1px solid var(--line); border-radius: 18px; padding: 26px 32px 24px; pointer-events: auto; will-change: transform, opacity; box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); }
.beat header { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--ink2); flex-wrap: wrap; }
.beat header b { color: var(--ink); font-weight: 500; }
.beat .chip { width: 12px; height: 12px; border-radius: 50%; background: var(--g); flex: none; }
.beat .when { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--bg); background: var(--ink); padding: 3px 8px; margin-right: 6px; border-radius: 4px; }
.beat .text { margin: 16px 0 18px; font-size: clamp(19px, 2vw, 28px); line-height: 1.3; letter-spacing: -.01em; white-space: pre-line; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; overflow: hidden; }
.beat .count { display: flex; align-items: baseline; gap: 14px; }
.beat .count .board { font-size: clamp(48px, 6vw, 92px); --board: var(--ink); --board-ink: var(--bg); --board-sym: var(--ink); }
.beat .count .unit { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink2); }
.beat .stats { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink2); }
.beat .stats b { color: var(--ink); font-weight: 500; }
.beat .stats a { margin-left: auto; color: var(--accent); text-decoration: none; }

/* chapter title card */
.ch-title { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 var(--pad); z-index: 3; pointer-events: none; }
.ch-title .n { font-family: var(--mono); font-size: 13px; letter-spacing: .2em; color: var(--ink2); margin-bottom: 14px; }
.ch-title h2 { font-family: var(--display); font-weight: 900; font-stretch: 118%; font-size: clamp(56px, 12vw, 190px); line-height: .86; letter-spacing: -.035em; color: var(--ink); }
.ch-title .date { font-family: var(--mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink2); margin: 18px 0 20px; }
.ch-title .date b { color: var(--ink); font-weight: 500; }
.ch-title .narr { max-width: 26em; }
.ch-title .block { position: absolute; left: 0; top: 0; bottom: 0; width: var(--pad); background: var(--ink); transform-origin: left; transform: scaleX(calc(var(--k, 1) * .35)); opacity: .9; }
.motif { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

/* verdict act */
.verdict { position: absolute; inset: 0; z-index: 4; display: grid; grid-template-columns: 1fr 1fr; gap: 24px clamp(24px, 5vw, 96px); align-content: center; padding: 72px var(--pad) 40px; opacity: 0; pointer-events: none; }
.verdict.on { pointer-events: auto; }
.dialbox { display: flex; flex-direction: column; align-items: center; position: relative; }
.rain { position: absolute; right: 0; top: 0; width: 50%; height: 190px; pointer-events: none; opacity: 0; transition: opacity .4s; }
.rain.on { opacity: 1; }
.dial { width: min(100%, 420px); position: relative; }
.dial-labels { display: flex; justify-content: space-between; width: min(100%, 420px); font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink2); margin-top: -10px; }
.dial-labels span:last-child { color: #19c37d; } .light .dial-labels span:last-child { color: #0a7a46; }
.dial-state { font-family: var(--display); font-stretch: 80%; font-weight: 700; font-size: clamp(22px, 2.4vw, 34px); letter-spacing: .02em; text-transform: uppercase; margin-top: 18px; color: var(--ink); text-align: center; }
.dial-state small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--ink3); margin-top: 4px; font-weight: 400; }
.evidence-list { margin: 18px 0 0; padding: 0; list-style: none; max-width: 32em; font-size: 15px; color: var(--ink2); }
.evidence-list li { padding: 6px 0 6px 18px; position: relative; }
.evidence-list li:not(.empty)::before { content: ""; position: absolute; left: 0; top: 14px; width: 8px; height: 1px; background: var(--accent); }
.evidence-list li.empty { padding-left: 0; }
.steal { border: 1px solid var(--line); border-radius: 16px; padding: 24px 26px; background: var(--bg2); box-shadow: 0 24px 50px -30px rgba(0,0,0,.5); }
.steal .overline { margin-bottom: 10px; }
.steal .narr { font-size: clamp(22px, 2.3vw, 32px); }
.all-posts { margin-top: 20px; align-self: start; background: var(--ink); color: var(--bg); border: 0; border-radius: 999px; padding: 12px 18px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: transform .2s; }
.all-posts:hover { transform: translateY(-2px); }
.vcol { display: flex; flex-direction: column; }

@media (max-width: 720px) {
  .ch-top { padding: 48px var(--pad) 4px; align-items: flex-start; }
  .ch-bug .n { display: none; }
  .ch-bug h2 { font-size: 17px; }
  .legend-mini { display: none; }
  .board-wrap { gap: 14px; }
  .clock-rel, .run .board { font-size: 22px; white-space: nowrap; }
  .clock-abs, .run-k { font-size: 9.5px; margin-top: 3px; white-space: nowrap; }
  .run-k .long { display: none; }
  .ch-body { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
  .plot { position: relative; inset: auto; min-height: 0; }
  .under { position: static; flex-direction: column; align-items: stretch; gap: 0; padding: 0 var(--pad) 10px; margin-top: 4px; }
  .lower { left: var(--pad); right: var(--pad); bottom: 8px; max-width: none; }
  .lower p { font-size: 12.5px; padding: 8px 10px; }
  .lower .tag { margin-bottom: 6px; }
  .booth { width: auto; }
  .card { padding: 12px 12px 10px; }
  .card .text { -webkit-line-clamp: 2; }
  .floater { width: 130px; font-size: 10px; }
  .floater .t { -webkit-line-clamp: 2; }
  .beat { padding: 18px 18px 16px; top: auto; bottom: 14px; transform: translate(-50%, 0) scale(var(--k, 1)); transform-origin: 50% 100%; }
  .beat .text { font-size: 17px; margin: 12px 0 12px; -webkit-line-clamp: 7; }
  .beat .count .board { font-size: 42px; }
  .beat .stats { font-size: 11px; gap: 4px 10px; }
  .verdict { grid-template-columns: 1fr; gap: 18px; padding: 64px var(--pad) 20px; align-content: start; overflow: auto; }
  .dial { width: min(100%, 300px); }
  .dial-labels { width: min(100%, 300px); }
  .rain { height: 140px; }
  .dial-state { font-size: 20px; margin-top: 10px; }
  .evidence-list { font-size: 14px; margin-top: 10px; }
  .steal { padding: 16px 18px; }
  .steal .narr { font-size: 20px; }
  .all-posts { margin-top: 12px; }
  .ch-title h2 { font-size: clamp(40px, 13.5vw, 120px); font-stretch: 105%; }
  .ch-title .narr { font-size: 18px; }
  .ch-title .date { font-size: 11px; margin: 12px 0 14px; }
}

/* interlude: white world */
.pattern .stage { display: grid; grid-template-rows: auto 1fr auto auto; padding: 72px var(--pad) 40px; gap: 16px; }
.pattern-head .overline { margin-bottom: 10px; }
#pattern-canvas { width: 100%; height: 100%; min-height: 0; }
.pattern-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; opacity: 0; transition: opacity .4s; }
.pattern-stats.on { opacity: 1; }
.pstat { border-top: 3px solid var(--c); padding-top: 10px; }
.pstat .num { font-size: clamp(28px, 3.6vw, 52px); line-height: 1; color: var(--ink); }
.pstat .of { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--c); margin-left: 8px; }
.pstat .k { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink2); margin-top: 6px; }
.pstat .k b { color: var(--ink); font-weight: 500; }
.pattern-line { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.4vw, 32px); max-width: 30em; opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s; color: var(--ink); }
.pattern-line.on { opacity: 1; transform: none; }
.pattern-line b { font-weight: 400; color: var(--influencer); }
.pattern-line i { font-style: normal; color: var(--critic); }
@media (max-width: 720px) {
  .pattern .stage { padding: 56px var(--pad) 24px; gap: 10px; }
  .pattern-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pstat .num { font-size: 26px; }
  .pstat .k { font-size: 10px; }
  .pattern-line { font-size: 18px; }
}

/* Shown vs. the Field: the blue world */
.matrix { --bg: #0055fe; --bg2: #1a66ff; --ink: #ffffff; --ink2: #d6e4ff; --ink3: #9dbcff; --line: rgba(255,255,255,.22); --accent: #ffe14d; --tint: #0055fe; }
.matrix .stage { display: grid; grid-template-rows: auto 1fr auto; padding: 60px var(--pad) 20px; gap: 14px; }
.matrix-head .display-sm { font-size: clamp(24px, 2.8vw, 40px); }
.matrix-head .overline { margin-bottom: 10px; }
.matrix-head .narr { margin-top: 8px; max-width: 40em; font-size: clamp(18px, 1.7vw, 22px); }
.matrix-head .count { font-family: var(--serif); font-style: italic; font-size: clamp(18px, 1.8vw, 24px); color: var(--accent); margin-top: 6px; opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .5s; }
.matrix-head .count.on { opacity: 1; transform: none; }
.matrix-wrap { min-height: 0; overflow: auto; position: relative; }
.grid { border-collapse: separate; border-spacing: 3px; width: 100%; font-family: var(--mono); font-size: 11px; }
.grid th { font-weight: 500; text-align: left; letter-spacing: .06em; text-transform: uppercase; color: var(--ink2); padding: 2px 6px; white-space: nowrap; }
.grid thead th { vertical-align: bottom; }
.grid thead th:not(:first-child) { text-align: center; }
.grid th.cnt { color: var(--ink); }
.grid th.shown { color: var(--accent); font-weight: 700; }
.grid td { text-align: center; padding: 0; }
.grid td.cnt { color: var(--ink2); font-size: 11px; letter-spacing: .04em; white-space: nowrap; padding: 0 8px; opacity: 0; transition: opacity .4s; }
.grid td.cnt.on { opacity: 1; }
.grid .cell { display: block; width: 100%; height: clamp(16px, calc((100svh - 440px) / 13), 38px); border: 0; border-radius: 6px; background: rgba(255,255,255,.1); cursor: pointer; position: relative; transform: scale(.6); opacity: 0; transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .35s, outline-color .2s; outline: 2px solid transparent; font-family: var(--mono); color: #0b2a6b; }
.grid .cell.on { transform: none; opacity: 1; }
.grid .cell.n1 { background: #bcd4ff; }
.grid .cell.n2 { background: #e3eeff; }
.grid .cell.n3 { background: #ffffff; }
.grid .cell.empty { background: none; cursor: default; }
.grid .cell.empty::after { content: ""; position: absolute; left: 50%; top: 50%; width: 3px; height: 3px; margin: -1px; background: rgba(255,255,255,.35); }
.grid .cell:hover, .grid .cell.sel { outline-color: #fff; }
.grid td.shown .cell { background: rgba(255,225,77,.16); outline: 2px solid var(--accent); color: var(--accent); font-weight: 500; }
.grid td.shown .cell.yes { background: var(--accent); color: #111; }
.grid td.shown .cell.no { background: #0b2a6b; }
.grid td.shown .cell.partly { background: color-mix(in oklab, var(--accent) 50%, var(--bg)); color: #111; }
.grid tr.gap th { color: var(--accent); }
.grid tr.gap td { background: rgba(255,225,77,.12); }
.grid tr.gap td.shown .cell { background: #0b2a6b; color: var(--accent); outline-width: 3px; }
.grid tr.gap td.cnt { color: var(--accent); }
.matrix-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.matrix-foot .note { font-size: 12px; }
.evidence { min-height: 3em; font-size: 14px; color: var(--ink2); }
.evidence h3 { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin-bottom: 6px; }
.evidence ul { margin: 0; padding-left: 16px; }
.evidence li { margin: 4px 0; }
.evidence a, .lower a, .note a { color: var(--ink2); }
.note { font-size: 13px; color: var(--ink3); max-width: 40em; }
.matrix .cursor { opacity: 0; }
@media (max-width: 720px) {
  .matrix .stage { padding: 56px var(--pad) 20px; gap: 12px; }
  .grid { border-spacing: 2px; font-size: 10px; }
  .grid th { padding: 2px 3px; letter-spacing: 0; }
  .grid thead th:not(:first-child) { writing-mode: vertical-rl; transform: rotate(180deg); text-align: left; height: 72px; padding: 2px 0; }
  .grid .cell { height: 24px; min-width: 20px; font-size: 9px; border-radius: 4px; }
  .grid .long { display: none; } .grid .short { display: inline; }
  .grid .cnt, .grid th.cnt { display: none; }
  .matrix-head .count { font-size: 18px; }
  .matrix-foot { grid-template-columns: 1fr; gap: 8px; }
  .evidence { font-size: 12px; max-height: 20svh; overflow: auto; }
  .note { font-size: 11px; }
  .matrix-head .narr { font-size: 16px; }
}

/* tests: the off-white table, cards in Shown colours */
.tests .stage { display: grid; grid-template-rows: auto 1fr; padding: 72px var(--pad) 32px; gap: 10px; }
.table { position: relative; perspective: 1400px; min-height: 0; }
.tcard { position: absolute; width: min(400px, calc(100% - 8px)); border-radius: 18px; padding: 22px 24px 20px; transform-origin: 50% 100%; will-change: transform, opacity; box-shadow: 0 30px 60px -28px rgba(0,0,0,.45); }
.tcard.c0 { background: var(--blue); color: #fff; } .tcard.c1 { background: var(--orange); color: #1a0906; } .tcard.c2 { background: var(--lime); color: #11200a; } .tcard.c3 { background: #111; color: #fff; } .tcard.c4 { background: var(--yellow); color: #1b1500; }
.tcard .no { font-family: var(--display); font-stretch: 70%; font-weight: 800; font-size: 44px; line-height: 1; opacity: .5; }
.tcard h3 { font-family: var(--display); font-weight: 700; font-stretch: 108%; font-size: 22px; line-height: 1.1; letter-spacing: -.01em; margin: 6px 0 14px; }
.tcard dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: 14px; opacity: .92; }
.tcard dt { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; opacity: .7; padding-top: 3px; }
.tcard dd { margin: 0; }
.tcard .slot.empty { font-size: 15px; color: inherit; opacity: .75; }
.tcard .slot.empty::before { background: currentColor; }
@media (max-width: 720px) {
  .tests .stage { padding: 56px var(--pad) 20px; }
  .tcard { padding: 14px 16px 12px; border-radius: 14px; }
  .tcard .no { font-size: 30px; }
  .tcard h3 { font-size: 18px; margin: 4px 0 8px; }
  .tcard dl { font-size: 13px; gap: 4px 10px; }
}

/* flow sections */
.wrap { width: min(1100px, 100%); margin: 0 auto; padding: clamp(72px, 12vh, 140px) var(--pad); }
.wrap .overline { margin-bottom: 12px; }
.lede { font-family: var(--serif); font-style: italic; font-size: clamp(18px, 1.9vw, 24px); color: var(--ink2); margin-top: 14px; max-width: 34em; }
.pregame { background: var(--bg); color: var(--ink); }
.plan { list-style: none; margin: 40px 0 0; padding: 0; position: relative; }
.plan::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); transform: scaleY(0); transform-origin: top; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.plan.on::before { transform: none; }
.plan li { position: relative; display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0 14px 32px; opacity: 0; transform: translateX(-10px); transition: opacity .5s, transform .5s; transition-delay: var(--d); }
.plan.on li { opacity: 1; transform: none; }
.plan li::before { content: ""; position: absolute; left: 1px; top: 20px; width: 14px; height: 14px; border-radius: 50%; background: var(--orange); }
.plan .when { font-family: var(--display); font-stretch: 72%; font-weight: 700; font-size: 24px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.plan .what { font-size: 17px; line-height: 1.5; }
.plan .what .slot.empty { font-size: 18px; }
@media (max-width: 720px) { .plan li { grid-template-columns: 1fr; gap: 4px; } .plan .when { font-size: 20px; } }

/* tool: the sky world */
.tool { background: var(--bg); color: var(--ink); }
.tool-form { display: flex; gap: 10px; margin-top: 28px; max-width: 720px; }
.tool-form input { flex: 1; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: #111; padding: 14px 16px; font: 15px var(--mono); }
.tool-form input:focus { outline: none; border-color: var(--blue); }
.tool-form button { background: var(--blue); color: #fff; border: 0; border-radius: 12px; padding: 14px 22px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.tool-try { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink3); }
.tool-try button { background: #fff; border: 1px solid var(--line); border-radius: 999px; color: var(--ink2); padding: 7px 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; }
.tool-try button:hover { border-color: var(--blue); color: var(--blue); }
.tool-out { margin-top: 28px; }
.tool-err { font-family: var(--mono); font-size: 13px; color: var(--ink2); }
.tool-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; box-shadow: 0 24px 50px -30px rgba(0,40,120,.35); }
.panel .label { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink3); margin-bottom: 8px; }
.panel .meta { font-family: var(--mono); font-size: 12px; color: var(--ink2); }
.panel .meta a { color: var(--ink); }
.panel .text { margin: 10px 0 14px; font-size: 16px; line-height: 1.45; white-space: pre-line; overflow-wrap: anywhere; }
.panel .stats { display: flex; flex-wrap: wrap; gap: 6px 14px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink2); }
.panel .stats b { color: var(--ink); font-weight: 500; }
.panel .stats a { color: var(--blue); }
.mini { position: relative; height: 120px; margin-top: 10px; border-bottom: 1px solid var(--line); }
.mini .dot { position: absolute; top: 50%; transform: translate(-50%, -50%) scale(0); border-radius: 50%; animation: land .8s cubic-bezier(.2, 1.4, .3, 1) forwards; animation-delay: var(--d); }
.mini .tick { position: absolute; top: calc(50% + 34px); transform: translateX(-50%); font-family: var(--mono); font-size: 11px; color: var(--ink2); white-space: nowrap; opacity: 0; animation: fade .5s forwards; animation-delay: calc(var(--d) + .3s); }
.mini .tick.first { transform: none; } .mini .tick.last { transform: translateX(-100%); }
@keyframes land { to { transform: translate(-50%, -50%) scale(1); } }
.opening { font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.25; margin-bottom: 14px; }
.breakdown { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 14px; }
.breakdown dt { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); padding-top: 2px; }
.breakdown dd { margin: 0; }
@media (max-width: 720px) { .tool-grid { grid-template-columns: 1fr; } .tool-form { flex-direction: column; } .panel { padding: 16px; } }
@media (prefers-reduced-motion: reduce) { .mini .dot, .mini .tick { animation: none; transform: translate(-50%, -50%); opacity: 1; } .mini .tick { transform: translateX(-50%); } }

/* credits: black, with the pixel treatment */
.credits .stage { display: flex; align-items: center; justify-content: center; }
.roll { position: absolute; left: 0; right: 0; top: 100%; text-align: center; will-change: transform; padding: 0 var(--pad); }
.roll .k { font-family: var(--mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink2); margin: 56px 0 10px; }
.roll .v { font-family: var(--display); font-weight: 700; font-stretch: 108%; font-size: clamp(26px, 3.6vw, 48px); line-height: 1.05; letter-spacing: -.02em; max-width: 22em; margin: 0 auto; text-wrap: balance; }
.roll .v.serif { font-family: var(--serif); font-style: italic; font-weight: 400; font-stretch: 100%; font-size: clamp(20px, 2.4vw, 30px); color: var(--ink2); }
.roll .v.small { font-family: var(--sans); font-weight: 400; font-size: 15px; color: var(--ink2); max-width: 34em; line-height: 1.5; }
.end-card { text-align: center; opacity: 0; transform: scale(.96); width: 100%; }
.end-card canvas { display: block; margin: 0 auto; width: min(100%, 1100px); height: auto; }
.end-card .mono { margin-top: 16px; display: block; }

/* overlay: all posts */
.overlay { position: fixed; inset: 0; z-index: 40; background: #fff; color: #111; display: flex; flex-direction: column; --ink: #111; --ink2: #555; --line: rgba(0,0,0,.12); }
.overlay[hidden], .tip[hidden] { display: none; }
.overlay-bar { display: flex; justify-content: space-between; align-items: center; padding: 16px var(--pad); border-bottom: 1px solid var(--line); }
.overlay-bar h3 { font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: 20px; letter-spacing: -.01em; }
.close { background: #111; color: #fff; border: 0; border-radius: 999px; padding: 8px 14px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.overlay-body { overflow: auto; padding: 16px var(--pad) 40px; }
.tbl-actions { display: flex; gap: 10px; margin-bottom: 12px; }
.csv { background: var(--blue); color: #fff; border: 0; border-radius: 999px; padding: 10px 14px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.posts { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.posts th, .posts td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.posts th { font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink2); cursor: pointer; position: sticky; top: 0; background: #fff; }
.posts th[aria-sort="descending"]::after { content: " ↓"; } .posts th[aria-sort="ascending"]::after { content: " ↑"; }
.posts td.txt { white-space: normal; min-width: 280px; color: var(--ink2); }
.posts a { color: var(--blue); }
body.locked { overflow: hidden; }

/* tooltip */
.tip { position: fixed; z-index: 45; background: #111; color: #fff; padding: 8px 10px; border-radius: 8px; font-size: 13px; max-width: 280px; pointer-events: none; }
.tip .m { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; opacity: .7; margin-top: 2px; }

@media (prefers-reduced-motion: reduce) {
  .play-ring::after, .scroll-cue i, .im.typing i { animation: none; }
  .phone, .im, .hero-poster, .hero-foot, .hero .cursor { animation: none; opacity: 1; transform: none; }
  .phone { display: none; } .im.typing { display: none; }
  .hero .cursor { display: none; }
  .grid .cell, .plan::before, .plan li, .lower, .booth .pin, .pattern-line, .pattern-stats, .rail a, .board .col { transition: none; }
  .wipe { display: none; }
  .kin .l { transform: none; opacity: 1; }
}

/* "Now you drive": the big button after the video (or instead of it while the video is still coming) */
.drive { display: inline-flex; align-items: center; gap: 12px; margin: 10px 0 20px; background: #111; color: #fff; border: 0; border-radius: 999px; padding: 16px 28px; font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: clamp(18px, 2vw, 24px); letter-spacing: -.01em; cursor: pointer; box-shadow: 0 16px 34px -14px rgba(0,0,0,.5); transition: transform .25s cubic-bezier(.2,.8,.2,1), background .25s; }
.drive span { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); font-size: 13px; }
.drive:hover { transform: translateY(-2px) scale(1.03); background: #000; }
.hero.novideo .play { display: none; }
.hero.novideo .drive { margin-top: 36px; padding: 20px 34px; font-size: clamp(22px, 2.6vw, 32px); }
.hero.novideo .drive span { width: 38px; height: 38px; font-size: 16px; }
.hero:not(.novideo) .drive { opacity: .75; transform: scale(.9); }
.hero.watched .drive, .hero:not(.novideo) .drive:hover { opacity: 1; transform: none; }
.hero.watched .drive { animation: nudge 1.4s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* the guide: Dot in a bubble at the bottom, the spotlight, the controls */
.guide { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
.guide[hidden] { display: none; }
.spot { position: fixed; border-radius: 22px; box-shadow: 0 0 0 200vmax rgba(8, 10, 20, .55), 0 0 0 4px rgba(255,255,255,.55); transition: left .45s cubic-bezier(.2,.8,.2,1), top .45s cubic-bezier(.2,.8,.2,1), width .45s cubic-bezier(.2,.8,.2,1), height .45s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.spot[hidden] { display: none; }
.guide.moving .guide-bar { opacity: .35; }
.guide-bar { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); width: min(920px, calc(100% - 2 * var(--pad))); display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; align-items: center; background: #fff; color: #111; border-radius: 26px; padding: 14px 16px; box-shadow: 0 30px 60px -24px rgba(0,0,0,.55), 0 0 0 1px rgba(0,0,0,.06); pointer-events: auto; transition: opacity .3s, bottom .4s, top .4s; }
.guide-bar.top { bottom: auto; top: 62px; }
.dot-buddy { width: 84px; height: 84px; }
.dot-buddy svg { width: 100%; height: 100%; animation: bob 2.6s ease-in-out infinite; }
.dot-buddy .eyes { animation: blink 4.2s infinite; transform-origin: 32px 30px; }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-4px) rotate(2deg); } }
.bubble { position: relative; background: #f1f3f7; border-radius: 18px; padding: 14px 18px; min-height: 58px; display: flex; align-items: center; }
.bubble::before { content: ""; position: absolute; left: -9px; top: 50%; width: 18px; height: 18px; background: #f1f3f7; border-radius: 4px; transform: translateY(-50%) rotate(45deg); }
.say { font-family: var(--sans); font-weight: 600; font-size: clamp(17px, 1.6vw, 22px); line-height: 1.3; letter-spacing: -.01em; }
.controls { display: grid; grid-template-columns: auto auto; grid-auto-rows: auto; gap: 8px 10px; align-items: center; justify-items: end; }
.controls button { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; border: 0; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.g-next { grid-column: 1 / 3; background: var(--blue); color: #fff; padding: 14px 22px; font-family: var(--display) !important; font-weight: 800; font-stretch: 112%; font-size: 18px !important; letter-spacing: 0 !important; text-transform: none !important; display: inline-flex; gap: 8px; align-items: center; min-width: 150px; justify-content: center; }
.g-next:hover { background: #0043c9; }
.g-back { background: #eef0f4; color: #111; width: 40px; height: 40px; font-size: 20px !important; font-family: var(--display) !important; }
.g-back:disabled { opacity: .3; cursor: default; }
.g-count { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: #777; justify-self: start; }
.g-auto { background: #eef0f4; color: #111; padding: 8px 12px; }
.g-auto[aria-pressed="true"] { background: #111; color: #fff; }
.g-auto[aria-pressed="true"]::before { content: "■ "; }
.g-auto[aria-pressed="false"]::before { content: "▶ "; }
.g-exit { background: none; color: #777; padding: 6px 4px; text-decoration: underline; text-underline-offset: 3px; }
.guide-pill { position: fixed; right: 18px; bottom: 18px; z-index: 55; background: var(--blue); color: #fff; border: 0; border-radius: 999px; padding: 12px 18px; font-family: var(--display); font-weight: 800; font-size: 15px; cursor: pointer; box-shadow: 0 16px 30px -14px rgba(0,85,254,.6); pointer-events: auto; }
.guide-pill[hidden] { display: none; }
body.touring .rail, body.touring .guide-pill { display: none; }
@media (max-width: 720px) {
  .guide-bar { left: 10px; right: 10px; bottom: 12px; width: auto; transform: none; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; gap: 10px; padding: 12px; border-radius: 22px; }
  .guide-bar.top { top: 54px; }
  .dot-buddy { width: 56px; height: 56px; }
  .bubble { padding: 10px 12px; min-height: 48px; }
  .say { font-size: 15px; }
  .controls { grid-column: 1 / 3; grid-template-columns: 40px 1fr auto; justify-items: stretch; gap: 8px; }
  .g-next { grid-column: auto; min-width: 0; padding: 12px 14px; font-size: 16px !important; }
  .g-count { grid-row: 2; grid-column: 1 / 2; justify-self: start; font-size: 11px; white-space: nowrap; }
  .g-exit { grid-row: 2; grid-column: 2 / 4; justify-self: end; font-size: 11px; padding: 2px 4px; white-space: nowrap; }
  .guide-pill { right: 12px; bottom: 14px; padding: 10px 14px; font-size: 14px; }
  .drive { padding: 14px 22px; }
}
@media (prefers-reduced-motion: reduce) { .dot-buddy svg, .dot-buddy .eyes, .hero.watched .drive { animation: none; } .spot, .guide-bar { transition: none; } }

/* round 6: the picker and story mode */
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin: 10px 0 20px; }
.hero-ctas .drive { margin: 0; }
.drive.alt { background: #fff; color: #111; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.drive.alt span { background: #111; }
.hero.novideo .hero-ctas { margin-top: 36px; }
.hero.novideo .drive { padding: 18px 28px; font-size: clamp(20px, 2.2vw, 26px); }
.hero:not(.novideo) .drive { opacity: .75; transform: scale(.9); }
.hero.watched .drive, .hero:not(.novideo) .drive:hover { opacity: 1; transform: none; }
.hero.watched #pick { animation: nudge 1.4s ease-in-out infinite; }


/* the picker: eight tiles that fill a laptop screen (MEXA-1668), two columns that scroll on a phone */
.picker { position: fixed; inset: 0; z-index: 58; background: var(--bg); color: var(--ink); overflow: auto; }
.picker[hidden] { display: none; }
.picker-in { width: min(1520px, 100%); height: 100%; margin: 0 auto; padding: clamp(44px, 6vh, 84px) var(--pad) 28px; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: clamp(16px, 2.6vh, 28px); }
.picker-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 40px; flex-wrap: wrap; }
.picker-head .overline { margin-bottom: 8px; }
.picker .lede { margin: 0 0 4px; max-width: 30em; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 14px; min-height: 0; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: 0; padding: 18px 20px; border: 0; border-radius: 22px; background: var(--bg); color: var(--ink); text-align: left; cursor: pointer; box-shadow: 0 24px 50px -30px rgba(0,0,0,.5); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; overflow: hidden; }
.tile:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 34px 60px -28px rgba(0,0,0,.55); }
.tile .t-no { margin-bottom: auto; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--ink2); }
.tile .t-name { font-family: var(--display); font-weight: 900; font-stretch: 108%; font-size: clamp(24px, min(2.3vw, 4.4vh), 40px); line-height: .95; letter-spacing: -.03em; overflow-wrap: anywhere; }
.tile .t-line { font-family: var(--serif); font-style: italic; font-size: clamp(15px, min(1.25vw, 2.4vh), 22px); line-height: 1.2; color: var(--ink); max-width: 20em; }
.tile .t-meta { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink2); margin-top: 4px; }
.tile .t-go { margin-top: 8px; align-self: flex-start; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; background: var(--ink); color: var(--bg); padding: 7px 10px; border-radius: 999px; }
.picker-foot { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.p-show { background: #111; color: #fff; border: 0; border-radius: 999px; padding: 14px 22px; font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: 17px; cursor: pointer; }
.p-close { background: none; border: 0; color: var(--ink2); font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-height: 760px) and (min-width: 1024px) { .picker-in { padding-top: 34px; } .tile { padding: 14px 16px; gap: 4px; } .tile .t-go { margin-top: 4px; padding: 6px 9px; font-size: 10px; } }

/* story mode */
.story { position: fixed; inset: 0; z-index: 59; background: var(--bg); color: var(--ink); display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; }
.story[hidden] { display: none; }
.s-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px var(--pad) 6px; }
.s-back-pick { background: none; border: 0; color: var(--ink2); font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.s-title { text-align: center; }
.s-title b { display: block; font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: clamp(18px, 2vw, 26px); letter-spacing: -.02em; }
.s-title span { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink2); }
.s-count { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--ink2); min-width: 64px; text-align: right; }
.s-progress { position: relative; height: 50px; margin: 0 var(--pad); }
.s-segs { position: absolute; left: 0; right: 0; top: 0; display: flex; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink2); }
.s-segs span { border-left: 1px solid var(--line); padding: 0 0 0 6px; white-space: nowrap; overflow: hidden; }
.s-ticks { position: absolute; left: 0; right: 0; top: 30px; height: 2px; background: var(--line); }
.s-ticks i { position: absolute; top: 1px; width: var(--r); height: var(--r); margin: calc(var(--r) / -2) 0 0 calc(var(--r) / -2); border-radius: 50%; opacity: .25; transition: opacity .3s, transform .3s; }
.s-ticks i.lit { opacity: .85; }
.s-ticks i.now { opacity: 1; transform: scale(1.6); box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--ink); }
.s-ticks b { position: absolute; top: -5px; width: 10px; height: 10px; margin-left: -5px; background: var(--ink); transform: rotate(45deg); border-radius: 2px; }
.s-head { position: absolute; top: 20px; width: 2px; height: 22px; margin-left: -1px; background: var(--ink); transition: left .5s cubic-bezier(.2,.8,.2,1); }
.s-stage { position: relative; min-height: 0; display: grid; place-items: center; padding: 6px var(--pad) 4px; }
.s-card { width: min(1560px, 100%); max-height: 100%; overflow: auto; }
.s-card.k-how, .s-card.k-verdict, .s-card.k-end { width: min(1240px, 100%); }
.s-card.in > .st { animation: st-in .5s cubic-bezier(.2,.8,.2,1) both; }
@keyframes st-in { from { opacity: 0; transform: translateY(26px) scale(.98); } to { opacity: 1; transform: none; } }
.st { background: var(--bg2); border: 1px solid var(--line); border-radius: 24px; padding: 28px 34px 26px; box-shadow: 0 40px 80px -36px rgba(0,0,0,.5); }
.st-when { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink2); margin-bottom: 14px; }
.st-author { display: flex; align-items: center; gap: 14px; }
.st-av { width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--bg2); box-shadow: inset 0 0 0 4px var(--g); color: var(--ink); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 14px; letter-spacing: .02em; }
.st-author b { display: block; font-family: var(--display); font-weight: 800; font-stretch: 108%; font-size: clamp(18px, 1.5vw, 26px); line-height: 1.05; letter-spacing: -.02em; }
.st-author > div > span { display: block; margin-top: 3px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink2); }
.st-text { margin: 18px 0 8px; font-size: clamp(20px, min(2.1vw, 3.4vh), 42px); line-height: 1.28; letter-spacing: -.012em; white-space: pre-line; overflow-wrap: anywhere; }
.len-l .st-text { font-size: clamp(17px, min(1.6vw, 2.6vh), 28px); line-height: 1.32; }
.len-xl .st-text { font-size: clamp(15px, min(1.3vw, 2.1vh), 22px); line-height: 1.36; }
.len-s .st-text { font-size: clamp(30px, min(3.6vw, 6vh), 66px); line-height: 1.1; }
.st-views { display: flex; align-items: baseline; gap: 14px; margin: 14px 0 12px; }
.st-board { font-size: clamp(34px, min(4.2vw, 7.5vh), 96px); --board: var(--ink); --board-ink: var(--bg2); --board-sym: var(--ink); }
.st-board .col { transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.st-views-l { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink2); }
.st-stats { display: flex; flex-wrap: wrap; gap: 6px 18px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink2); }
.st-stats b { color: var(--ink); font-weight: 500; }
.st-stats a { margin-left: auto; color: var(--accent); text-decoration: none; }
.st-more { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 10px; }
.st-more summary { cursor: pointer; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.st-more p { font-size: 14px; line-height: 1.45; color: var(--ink2); margin: 10px 0 0; }
.st-more .tag, .tac b { display: inline-block; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--bg); background: var(--ink); padding: 2px 7px; border-radius: 4px; margin-right: 6px; }
.st-more a, .tac a { color: var(--ink2); font-family: var(--mono); font-size: 11px; }
.st-who { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink2); }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 12px; letter-spacing: .04em; }
.st-say { margin-top: 14px; font-family: var(--serif); font-style: italic; font-size: clamp(24px, 3vw, 40px); line-height: 1.18; letter-spacing: -.01em; text-wrap: pretty; }
.st.pin { border-color: var(--ink); }
.st.pin .st-say { font-size: clamp(28px, min(3.5vw, 6vh), 68px); line-height: 1.1; letter-spacing: -.015em; margin-top: 20px; }
.st.pin.len-l .st-say { font-size: clamp(24px, min(2.7vw, 4.6vh), 50px); }
.st.pin.len-xl .st-say { font-size: clamp(20px, min(2.1vw, 3.6vh), 38px); }
.st-h { font-family: var(--display); font-weight: 900; font-stretch: 118%; font-size: clamp(44px, min(7vw, 13vh), 120px); line-height: .9; letter-spacing: -.035em; margin: 10px 0 18px; overflow-wrap: anywhere; }
.st-h.sm { font-size: clamp(26px, 3.2vw, 44px); font-stretch: 110%; margin: 8px 0 16px; }
.st-hint { margin-top: 16px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink2); }
/* mini cards: the post a take is about, and the "meanwhile" stacks */
.mp { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mp-top { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--ink2); min-width: 0; }
.mp-top b { color: var(--ink); font-weight: 500; white-space: nowrap; flex: none; }
.mp-top > span:not(.chip):not(.mp-when) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.mp-top .chip { width: 10px; height: 10px; border-radius: 50%; background: var(--g); flex: none; }
.mp-when { margin-left: auto; color: var(--ink3); white-space: nowrap; }
.mp-text { font-size: 14px; line-height: 1.35; white-space: pre-line; overflow-wrap: anywhere; }
.mp-stats { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink2); }
.mp-stats b { color: var(--ink); font-weight: 500; }
.mp-stats a { margin-left: 6px; color: var(--accent); text-decoration: none; }
.mp.about { margin-bottom: 14px; }
.mp.about .mp-text { font-size: 16px; }
.minis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
/* the side panel: the launch as a scatter, this step lit */
.st-side { display: none; }
.st-side-h { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink2); margin-bottom: 12px; }
.sc { width: 100%; height: auto; display: block; overflow: visible; font-family: var(--mono); }
.sc-grid { stroke: var(--line); stroke-width: 1; }
.sc-seg { stroke: var(--line); stroke-dasharray: 2 3; }
.sc-axis { stroke: var(--ink3); }
.sc-launch { stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 3 3; opacity: .7; }
.sc-tick { font-size: 9px; letter-spacing: .08em; text-transform: uppercase; fill: var(--ink3); }
.sc-label { font-size: 11px; fill: var(--ink); font-weight: 500; letter-spacing: .02em; paint-order: stroke; stroke: var(--bg2); stroke-width: 4px; stroke-linejoin: round; }
.sc-dot { stroke: var(--bg2); stroke-width: 1.5; }
.sc-dot.past { opacity: .5; }
.sc-dot.future { opacity: .14; }
.sc-dot.now { opacity: 1; }
.sc-ring { fill: none; stroke: var(--ink); stroke-width: 2; }
.sc-pin { fill: var(--ink); opacity: .3; }
.sc-pin.past { opacity: 1; }
.st-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.st-facts b { display: block; font-family: var(--display); font-stretch: 80%; font-weight: 700; font-size: clamp(20px, 1.6vw, 30px); line-height: 1; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.st-facts span { display: block; margin-top: 4px; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink2); }
/* how, verdict, end */
.tactics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tac { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-size: 13.5px; line-height: 1.45; color: var(--ink); }
.tac b { margin-bottom: 6px; }
.tac p { margin: 6px 0 0; color: var(--ink2); }
.st.call { display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px 30px; align-items: center; }
.st.call .overline { grid-column: 1 / 3; }
.st-dial svg { width: 100%; }
.st-dial .needle { transition: transform 1.3s cubic-bezier(.2,.8,.2,1); }
.st-dial-labels { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink2); margin-top: -8px; }
.st-dial-state { font-family: var(--display); font-stretch: 80%; font-weight: 700; font-size: clamp(20px, 2.2vw, 30px); letter-spacing: .02em; text-transform: uppercase; margin-top: 12px; text-align: center; }
.st-dial-state small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--ink3); margin-top: 4px; font-weight: 400; }
.st.call .st-say { font-size: clamp(20px, 2.2vw, 30px); }
.st-ev { margin: 12px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--ink2); }
.st-ev li { padding: 4px 0 4px 16px; position: relative; }
.st-ev li::before { content: ""; position: absolute; left: 0; top: 13px; width: 8px; height: 1px; background: var(--ink); }
.st-steal { margin-top: 16px; border: 1px solid var(--ink); border-radius: 14px; padding: 14px 16px; }
.st-steal p:last-child { font-family: var(--serif); font-style: italic; font-size: clamp(18px, 1.8vw, 24px); line-height: 1.25; margin-top: 6px; }
.st-ends { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.st-ends button { border: 0; border-radius: 999px; padding: 14px 22px; font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: 18px; cursor: pointer; }
.e-next { background: var(--ink); color: var(--bg); }
.e-pick, .e-show { background: var(--bg); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.s-controls { display: flex; align-items: center; gap: 10px; padding: 8px var(--pad) 16px; }
.s-controls button { border: 0; border-radius: 999px; cursor: pointer; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.s-back { width: 44px; height: 44px; background: var(--bg2); color: var(--ink); font-family: var(--display) !important; font-size: 20px !important; box-shadow: 0 0 0 1px var(--line); }
.s-back:disabled { opacity: .3; cursor: default; }
.s-next { background: var(--ink); color: var(--bg); padding: 14px 24px; font-family: var(--display) !important; font-weight: 800; font-size: 18px !important; letter-spacing: 0 !important; text-transform: none !important; display: inline-flex; gap: 8px; align-items: center; min-width: 150px; justify-content: center; }
.s-next[hidden] { display: none; }
.s-auto { background: var(--bg2); color: var(--ink); padding: 10px 14px; box-shadow: 0 0 0 1px var(--line); }
.s-auto[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.s-auto[aria-pressed="true"]::before { content: "■ "; } .s-auto[aria-pressed="false"]::before { content: "▶ "; }
.s-all, .s-show { background: none; color: var(--ink2); padding: 8px 6px; text-decoration: underline; text-underline-offset: 3px; }
.s-show { margin-left: auto; }

/* a laptop (1024 and up): the card fills the stage, the step on the left, the launch's scatter on the right */
@media (min-width: 1024px) {
  .s-card.k-post, .s-card.k-pin, .s-card.k-group, .s-card.k-intro { height: 100%; }
  .st.post, .st.pin, .st.group, .st.intro { height: 100%; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: 0 clamp(28px, 2.6vw, 48px); padding: clamp(24px, 3vh, 36px) clamp(28px, 2.6vw, 44px); }
  .st-main { min-width: 0; min-height: 0; overflow: auto; display: flex; flex-direction: column; }
  .st-main > :first-child { margin-top: auto; } .st-main > :last-child { margin-bottom: auto; }
  .st-side { display: flex; flex-direction: column; justify-content: center; min-width: 0; min-height: 0; overflow: hidden; border-left: 1px solid var(--line); padding-left: clamp(24px, 2.4vw, 44px); }
  .st-side .sc { flex: 0 1 auto; min-height: 0; max-height: 52vh; }
  .st.pin .st-side .sc { max-height: 40vh; }
  .st.intro .st-h { margin: 14px 0 22px; }
  .st.call { gap: 24px 48px; padding: 36px 44px; }
  .st.call .st-say { font-size: clamp(22px, 2.1vw, 34px); }
  .st.how { padding: 32px 40px; }
}
@media (min-width: 1280px) {
  .minis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .group.n2 .minis, .group.n4 .minis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tactics { display: block; columns: 3; column-gap: 12px; } .tac { break-inside: avoid; margin-bottom: 12px; }
}
@media (min-width: 1024px) and (max-height: 760px) {
  .s-top { padding: 10px var(--pad) 2px; } .s-progress { height: 44px; } .s-ticks { top: 26px; } .s-head { top: 16px; }
  .s-controls { padding: 6px var(--pad) 10px; } .s-next { padding: 10px 20px; } .s-back { width: 38px; height: 38px; }
  .st-when { margin-bottom: 10px; } .st-text { margin: 12px 0 6px; } .st-views { margin: 8px 0 8px; } .st-more { margin-top: 10px; }
  .st-side-h { margin-bottom: 8px; } .st-facts { margin-top: 10px; padding-top: 10px; }
  .mp { padding: 10px 12px; gap: 4px; } .mp-text { font-size: 13px; }
}
@media (max-width: 1023px) {
  .st.pin .st-side { display: block; margin-top: 18px; }
  .st.pin .st-side .sc, .st.pin .st-side-h { display: none; }
  .st.pin .mp.about { margin: 0; }
}
@media (max-width: 720px) {
  .hero-ctas { flex-direction: column; align-items: center; gap: 8px; }
  .picker-in { height: auto; min-height: 100%; padding: 56px var(--pad) 36px; gap: 18px; display: block; }
  .picker-head { margin-bottom: 18px; }
  .tiles { grid-template-columns: 1fr 1fr; grid-template-rows: none; gap: 10px; }
  .tile { min-height: 190px; padding: 14px; border-radius: 16px; }
  .tile .t-name { font-size: 22px; } .tile .t-line { font-size: 14px; } .tile .t-meta { font-size: 9px; } .tile .t-go { font-size: 10px; padding: 6px 9px; }
  .picker-foot { margin-top: 24px; }
  .s-top { padding: 12px var(--pad) 6px; } .s-title b { font-size: 16px; } .s-title span { font-size: 9px; } .s-count { min-width: 50px; font-size: 11px; }
  .s-progress { height: 44px; } .s-segs { font-size: 8px; letter-spacing: .04em; } .s-segs span { padding-left: 4px; } .s-ticks { top: 26px; } .s-head { top: 16px; }
  .s-stage { padding: 6px var(--pad); }
  .st { padding: 16px 16px 14px; border-radius: 16px; }
  .st-av { width: 38px; height: 38px; font-size: 12px; box-shadow: inset 0 0 0 3px var(--g); } .st-author b { font-size: 17px; } .st-author span { font-size: 10px; }
  .st-text { font-size: 17px; margin: 12px 0 6px; } .len-s .st-text { font-size: 34px; } .len-l .st-text, .len-xl .st-text { font-size: 15px; }
  .st-board { font-size: clamp(24px, 7.5vw, 32px); } .st-views { margin: 8px 0 8px; gap: 10px; } .st-views-l { font-size: 10px; }
  .st-stats { font-size: 11px; gap: 4px 10px; }
  .st-say { font-size: 24px; } .st.pin .st-say, .st.pin.len-l .st-say { font-size: 24px; margin-top: 12px; } .st.pin.len-xl .st-say { font-size: 20px; } .st.call .st-say { font-size: 19px; }
  .st-h { font-size: clamp(40px, 13vw, 64px); } .st-h.sm { font-size: 24px; }
  .minis { grid-template-columns: 1fr; gap: 8px; } .mp { padding: 10px 12px; } .mp-text { font-size: 13px; }
  .tactics { grid-template-columns: 1fr; gap: 8px; } .tac { font-size: 12.5px; padding: 10px 12px; }
  .st.call { grid-template-columns: 1fr; gap: 12px; } .st.call .overline { grid-column: auto; }
  .st-dial { width: min(100%, 260px); margin: 0 auto; }
  .s-controls { flex-wrap: wrap; gap: 8px; padding: 8px var(--pad) 14px; }
  .s-next { flex: 1; min-width: 0; padding: 12px 14px; font-size: 16px !important; }
  .s-all, .s-show { font-size: 10px; padding: 4px 2px; } .s-show { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) { .s-card.in > .st, .hero.watched #pick { animation: none; } .st-dial .needle, .s-head, .tile, .st-board .col { transition: none; } }
