/* Pod. The waitlist issue.
   Zinc and white, one red. Manrope everywhere; Instrument Serif for exactly
   two italic words (cover, back page), the pattern Pod's own pricing page uses.
   Every photograph on the page is a proof photo, shown the way Pod shows one. */

:root {
  --sc-canvas:     #f4f4f2;
  --sc-surface:    #ffffff;
  --sc-ink:        #18181b;
  --sc-ink-soft:   #52525b;
  --sc-accent:     #dc2626;   /* the stakes. Losing zone, consequences. Nothing else. */
  --sc-accent-ink: #ffffff;
  --sc-font-display: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --sc-font-text:    "Manrope", "Helvetica Neue", Arial, sans-serif;

  --zinc-50: #fafafa; --zinc-100: #f4f4f5; --zinc-200: #e4e4e7; --zinc-300: #d4d4d8;
  --zinc-400: #a1a1aa; --zinc-500: #71717a; --zinc-800: #27272a; --zinc-900: #18181b; --zinc-950: #0c0c0d;
  --red-50: #fef2f2; --red-200: #fecaca; --red-300: #fca5a5; --red-700: #b91c1c;
  --amber: #f5b301;

  --sc-shadow-color: 40 6% 30%;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --pop: cubic-bezier(0.34, 1.56, 0.64, 1);   /* Pod's pop-in / tick */
  --rise: cubic-bezier(0.16, 1, 0.3, 1);      /* Pod's rise-in / row-lift */
  --r-card: 16px; --r-btn: 12px;
  --chrome-h: 64px;
}

html { background: var(--sc-canvas); }
body { color: var(--sc-ink); }
[hidden] { display: none !important; }
:focus-visible { outline-color: var(--sc-ink); }
[data-dark] :focus-visible { outline-color: #fff; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.skip {
  position: fixed; left: 12px; top: 12px; z-index: 100;
  background: var(--zinc-900); color: #fff; padding: 10px 14px; border-radius: var(--r-btn);
  transform: translateY(-160%); transition: transform 160ms var(--sc-ease-out);
  text-decoration: none; font-weight: 600;
}
.skip:focus { transform: none; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  background: var(--zinc-900); color: #fff; border: 0; border-radius: var(--r-btn);
  font-weight: 700; font-size: 0.95rem; letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer; box-shadow: var(--sc-e2);
  transition: transform 140ms var(--sc-ease-out), background-color 160ms var(--sc-ease-out);
}
.btn:active { transform: scale(0.97); }
.btn[disabled] { opacity: 0.55; cursor: default; }
.btn--small { min-height: 40px; padding: 0 16px; font-size: 0.86rem; box-shadow: none; }
.btn--block { width: 100%; }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: #000; } }
.pill { display: inline-flex; align-items: center; border-radius: 999px; font-size: 0.75rem; font-weight: 700; padding: 3px 9px; white-space: nowrap; }
.pill--dark { background: var(--zinc-900); color: #fff; }
.pill--red  { background: var(--sc-accent); color: #fff; }

/* ----------------------------------------------------------------- chrome */
.chrome {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: calc(var(--chrome-h) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) var(--sc-gutter) 0;
  display: flex; align-items: center; justify-content: space-between;
  color: var(--chrome-ink, var(--sc-ink)); transition: color 300ms var(--sc-ease-out);
  pointer-events: none;
}
.chrome > * { pointer-events: auto; }
.chrome__mark { font-weight: 700; font-size: 1.3rem; letter-spacing: -0.03em; text-decoration: none; color: inherit; }
.chrome__right { display: flex; align-items: center; gap: 10px; }
.chrome__contents {
  min-height: 40px; padding: 0 12px; background: transparent; border: 0; cursor: pointer; color: inherit;
  font-weight: 600; font-size: 0.86rem;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.3em;
}
html.is-dark .chrome { --chrome-ink: #fafafa; }
html.is-dark .chrome .btn { background: #fff; color: var(--zinc-900); }

.contents {
  position: fixed; z-index: 70; top: calc(var(--chrome-h) + env(safe-area-inset-top, 0px)); right: var(--sc-gutter);
  width: min(26rem, calc(100vw - 2 * var(--sc-gutter))); max-height: calc(100svh - var(--chrome-h) - 24px); overflow: auto;
  background: var(--sc-surface); color: var(--sc-ink); border-radius: var(--r-card); padding: 22px 22px 14px;
  box-shadow: var(--sc-e3); animation: contents-in 240ms var(--rise);
}
@keyframes contents-in { from { opacity: 0; transform: translateY(-6px) scale(0.98); } }
.contents__title { margin: 0 0 8px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sc-ink-soft); }
.contents__list { list-style: none; margin: 0; padding: 0; }
.contents__list a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-top: 1px solid var(--zinc-200); text-decoration: none; }
.contents__list span { font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em; }
.contents__list em { font-style: normal; color: var(--sc-ink-soft); font-size: 0.86rem; text-align: right; }
.contents__list a[aria-current="true"] span::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--zinc-900); margin: 0 8px 2px 0; }

/* the rank you carry */
.standing {
  margin: 0 auto 0 16px; display: flex; align-items: center; gap: 8px; white-space: nowrap;
  min-height: 34px; padding: 3px 12px 3px 3px;
  background: var(--zinc-900); color: #fff; border-radius: 999px; font-size: 0.8rem; font-weight: 600;
  transition: background-color 300ms var(--sc-ease-out), transform 260ms var(--pop);
}
.standing__rank { min-width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center; background: rgba(255,255,255,0.15); font-weight: 800; font-size: 0.78rem; font-variant-numeric: tabular-nums; }
.standing__state { color: var(--zinc-400); font-weight: 500; }
.standing.is-danger { background: var(--sc-accent); }
.standing.is-danger .standing__state { color: #fff; }
.standing.is-leading .standing__rank { background: var(--amber); color: var(--zinc-900); }
.standing.is-bump { animation: bump 420ms var(--pop); }
@keyframes bump { 40% { transform: scale(1.08); } }
html.is-dark .standing:not(.is-danger) { background: #fff; color: var(--zinc-900); }
html.is-dark .standing:not(.is-danger) .standing__rank { background: var(--zinc-100); }
html.is-dark .standing:not(.is-danger) .standing__state { color: var(--zinc-500); }

/* ================================================================ THE ISSUE */
.stage { position: relative; }
.spread { position: relative; min-height: 100svh; overflow: hidden; background: var(--ground, var(--sc-canvas)); }
.spread--cover { --ground: #ecebe7; }
.spread--proof { --ground: #efeeea; }
.spread--back { --ground: #e9e8e4; }
.layer { position: absolute; inset: 0; }
.no-js .layer--copy, .no-js .layer--card { position: relative; min-height: 100svh; }
.spread[data-dark] { color: #fafafa; --sc-ink: #fafafa; --sc-ink-soft: #a1a1aa; }
.no-js .spread[data-dark] { background: var(--zinc-950); }

html.js .stage { position: fixed; inset: 0; height: 100svh; overflow: hidden; background: var(--ground-now, var(--sc-canvas)); }
html.js .spread { position: absolute; inset: 0; min-height: 0; overflow: visible; background: transparent; }
html.js .layer { transform-origin: 50% 50%; backface-visibility: hidden; }
html.js .layer.is-flying { will-change: transform, opacity; }
.track { height: 0; }

/* ------------------------------------------------------------ type scale */
.display { font-family: var(--sc-font-display); font-weight: 700; font-size: clamp(2.4rem, 1.5rem + 3.4vw, 5rem); line-height: 0.98; letter-spacing: -0.045em; margin: 0; text-wrap: balance; }
.display--md { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 4rem); }
.lede { font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.3rem); line-height: 1.5; letter-spacing: -0.012em; color: var(--sc-ink); margin: 0; max-width: 38ch; text-wrap: pretty; }
.aside { font-size: 0.92rem; line-height: 1.55; color: var(--sc-ink-soft); margin: 0; max-width: 42ch; text-wrap: pretty; }

/* ================================================================== COVER */
.layer--light { background: radial-gradient(60% 70% at 62% 42%, #fbfaf8 0%, rgba(251,250,248,0) 70%), radial-gradient(120% 90% at 50% 110%, rgba(24,24,27,0.07), rgba(24,24,27,0) 60%); }

.masthead {
  position: absolute; left: 50%; top: calc(var(--chrome-h) + 1.5vh); transform: translateX(-50%);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--zinc-900); font-size: min(25vw, 36vh); line-height: 0.8; letter-spacing: -0.06em;
  white-space: nowrap; user-select: none;
}
.masthead__br { font-weight: 800; transform: translateX(var(--br, 0)); transition: transform 900ms var(--rise); }
.masthead__br--l { --br: 1.35em; }
.masthead__br--r { --br: -1.35em; }
.masthead__word { display: inline-block; overflow: hidden; padding: 0.06em 0.04em; }
.masthead__word > span { display: inline-block; clip-path: inset(0 50% 0 50%); transition: clip-path 900ms var(--rise); }
.masthead.is-open .masthead__br { --br: 0; }
.masthead.is-open .masthead__word > span { clip-path: inset(0 0 0 0); }
.no-js .masthead__br { --br: 0; }
.no-js .masthead__word > span { clip-path: none; }

/* the phone: Pod's real welcome loop, rebuilt in markup */
.phone {
  position: absolute; left: 70%; top: calc(var(--chrome-h) + 19vh);
  height: min(64svh, 600px); aspect-ratio: 9 / 19.2; transform: translateX(-50%);
  background: #0f0f10; border-radius: 13% / 6.2%; padding: 3.2%;
  box-shadow: 0 2px 0 1px #2a2a2d inset, 0 40px 70px -20px rgba(20,20,20,0.45), 0 12px 24px -8px rgba(20,20,20,0.3);
}
.phone::before { content: ""; position: absolute; left: 50%; top: 4.2%; width: 30%; height: 3.6%; transform: translateX(-50%); background: #0f0f10; border-radius: 999px; z-index: 2; }
.phone__screen {
  position: relative; height: 100%; border-radius: 10% / 4.8%; overflow: hidden; background: var(--zinc-50); color: var(--zinc-900);
  font-size: min(1.55svh, 14px);
}
.app__mark { position: absolute; top: 10%; left: 0; right: 0; margin: 0; text-align: center; font-weight: 700; font-size: 1.45em; letter-spacing: -0.03em; }
.app__scene { position: absolute; left: 7%; right: 7%; top: 22%; bottom: 8%; opacity: 0; transform: translateY(8px); transition: opacity 320ms var(--rise), transform 320ms var(--rise); }
.phone__screen[data-scene="0"] .app__scene--task,
.phone__screen[data-scene="1"] .app__scene--verify,
.phone__screen[data-scene="2"] .app__scene--board { opacity: 1; transform: none; }
.app__scene--task { top: auto; bottom: 26%; }
.app__label { margin: 0 0 0.7em; font-weight: 800; font-size: 1em; letter-spacing: 0.02em; text-transform: uppercase; }
.app__label--row { display: flex; align-items: center; justify-content: space-between; text-transform: none; letter-spacing: -0.01em; }
.app-task { display: flex; align-items: center; gap: 0.8em; background: #fff; border: 1.5px solid var(--zinc-900); border-radius: 1.1em; padding: 0.9em; }
.app-task__icon { width: 2.6em; height: 2.6em; border-radius: 0.8em; background: var(--zinc-900); color: #fff; display: grid; place-items: center; flex: none; }
.app-task__icon svg { width: 1.2em; height: 1.2em; }
.app-task__body { display: grid; flex: 1; }
.app-task__body small { color: var(--zinc-500); font-size: 0.86em; }
.app-task__state { background: var(--zinc-100); color: var(--zinc-500); border-radius: 999px; padding: 0.3em 0.7em; font-weight: 600; font-size: 0.86em; }
.app__scene--verify { display: grid; justify-items: center; align-content: center; gap: 0.5em; top: 30%; bottom: 30%; }
.app-ring { width: 4.6em; height: 4.6em; transform: rotate(-90deg); }
.app-ring circle { fill: none; stroke-width: 2.6; }
.app-ring__track { stroke: var(--zinc-200); }
.app-ring__arc { stroke: var(--zinc-900); stroke-linecap: round; stroke-dasharray: 119.4; stroke-dashoffset: 119.4; }
.app-ring__check { fill: none; stroke: var(--zinc-900); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 26; stroke-dashoffset: 26; transform: rotate(90deg); transform-origin: 22px 22px; }
.phone__screen[data-scene="1"] .app-ring__arc { stroke-dashoffset: 0; transition: stroke-dashoffset 460ms var(--rise) 120ms; }
.phone__screen[data-scene="1"] .app-ring__check { stroke-dashoffset: 0; transition: stroke-dashoffset 300ms var(--rise) 560ms; }
.app-verify__pts { font-size: 1.5em; letter-spacing: -0.03em; margin-top: 0.2em; }
.app__scene--board { top: auto; bottom: 20%; }
.app-banner { background: var(--zinc-900); color: #fff; border-radius: 999px; padding: 0.3em 0.7em; font-size: 0.78em; font-weight: 800; opacity: 0; transform: scale(0.95); transition: opacity 200ms ease, transform 260ms var(--pop); }
.app-rows { position: relative; height: 8.4em; }
.app-row {
  position: absolute; left: 0; right: 0; height: 3.8em; display: flex; align-items: center; gap: 0.6em; padding: 0 0.8em;
  background: #fff; border: 1px solid var(--zinc-200); border-radius: 1em;
  transition: transform 650ms var(--rise), background-color 260ms ease, color 260ms ease;
}
.app-row__rank { width: 1.8em; height: 1.8em; border-radius: 50%; display: grid; place-items: center; background: var(--zinc-100); font-weight: 800; font-size: 0.8em; flex: none; }
.app-row__av { width: 2.3em; height: 2.3em; border-radius: 50%; display: grid; place-items: center; background: var(--zinc-900); color: #fff; font-weight: 700; font-size: 0.86em; flex: none; }
.app-row__main { flex: 1; display: grid; gap: 0.35em; }
.app-row__main i { display: block; height: 0.36em; border-radius: 99px; background: var(--zinc-100); overflow: hidden; }
.app-row__main s { display: block; height: 100%; width: 100%; background: var(--zinc-900); transform-origin: left; transform: scaleX(var(--w)); border-radius: inherit; }
.app-row__pts { text-align: right; } .app-row__pts b { display: block; } .app-row__pts small { color: var(--zinc-400); font-size: 0.8em; }
/* before the swap: Alex leads, you are second */
.app-row--alex { transform: translateY(0); background: var(--zinc-900); color: #fff; border-color: transparent; }
.app-row--alex .app-row__rank { background: var(--amber); color: var(--zinc-900); }
.app-row--alex .app-row__av { background: #fff; color: var(--zinc-900); }
.app-row--alex s { background: #fff; } .app-row--alex i { background: rgba(255,255,255,0.15); }
.app-row--you { transform: translateY(4.3em); }
.phone__screen.is-swapped .app-row--you { transform: translateY(0); background: var(--zinc-900); color: #fff; border-color: transparent; }
.phone__screen.is-swapped .app-row--you .app-row__rank { background: var(--amber); color: var(--zinc-900); }
.phone__screen.is-swapped .app-row--you .app-row__av { background: #fff; color: var(--zinc-900); }
.phone__screen.is-swapped .app-row--you s { background: #fff; } .phone__screen.is-swapped .app-row--you i { background: rgba(255,255,255,0.15); }
.phone__screen.is-swapped .app-row--alex { transform: translateY(4.3em); background: #fff; color: var(--zinc-900); border-color: var(--zinc-200); }
.phone__screen.is-swapped .app-row--alex .app-row__rank { background: var(--zinc-100); color: inherit; }
.phone__screen.is-swapped .app-row--alex .app-row__av { background: var(--zinc-900); color: #fff; }
.phone__screen.is-swapped .app-row--alex s { background: var(--zinc-900); } .phone__screen.is-swapped .app-row--alex i { background: var(--zinc-100); }
.phone__screen.is-swapped .app-banner { opacity: 1; transform: none; }

.cover-band { display: none; }
.cover-copy { position: absolute; left: var(--sc-gutter); bottom: clamp(3rem, 12vh, 8rem); width: min(27rem, 36vw); display: grid; gap: 18px; justify-items: start; }
.cover-h { margin: 0; font-weight: 700; letter-spacing: -0.045em; line-height: 0.95; font-size: clamp(2.6rem, 1.2rem + 3.6vw, 4.9rem); text-wrap: balance; }
.cover-h .serif { font-size: 1.08em; letter-spacing: -0.02em; }
.cover-sub { margin: 0; font-size: 1.02rem; line-height: 1.5; color: var(--sc-ink-soft); max-width: 30ch; }

/* proof photos, passing the camera */
.mini-proof {
  position: absolute; margin: 0; width: clamp(8.5rem, 11vw, 11rem);
  background: #fff; border-radius: 16px; padding: 6px 6px 8px; box-shadow: var(--sc-e3);
}
.mini-proof img { width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; border-radius: 11px; max-width: none; }
.mini-proof figcaption { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 7px 4px 0; font-size: 0.75rem; }
.mini-proof figcaption b { font-weight: 700; white-space: nowrap; }
.mini-proof .pill { font-size: 0.65rem; padding: 2px 7px; }
.mini-proof--a { left: 37vw; top: 40vh; transform: rotate(-6deg); }
.mini-proof--b { right: 4vw; top: 22vh; transform: rotate(5deg); }
.mini-proof--c { right: 17vw; bottom: 5vh; transform: rotate(-3deg); }

/* the invitation to scroll: the owner's request, in Pod's own words */
.cue {
  position: absolute; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  display: grid; justify-items: center; gap: 8px; transition: opacity 300ms ease;
}
.cue__text { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--zinc-900); }
.cue__line { width: 1.5px; height: 34px; background: var(--zinc-300); position: relative; overflow: hidden; border-radius: 2px; }
.cue__line::after { content: ""; position: absolute; inset: 0; background: var(--zinc-900); transform-origin: top; animation: cue-draw 1.8s var(--rise) infinite; }
@keyframes cue-draw { 0% { transform: scaleY(0); } 55% { transform: scaleY(1); transform-origin: top; } 56% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
html.has-scrolled .cue { opacity: 0; }
.no-js .cue { display: none; }

/* =============================================================== THE FLAW */
.flaw-copy { position: absolute; left: var(--sc-gutter); top: 50%; transform: translateY(-46%); width: min(44rem, 52vw); display: grid; gap: 28px; }
.flaw-copy .display { font-size: clamp(2.6rem, 1.4rem + 4.4vw, 6rem); max-width: 11ch; }
.notice { position: absolute; right: 9vw; top: 50%; transform: translateY(-50%); width: min(24rem, 32vw); display: grid; gap: 18px; }
.notice__card {
  display: flex; gap: 12px; padding: 14px 16px; border-radius: 22px; background: #fff; box-shadow: var(--sc-e3);
  transform: translateX(calc(var(--dismiss, 0) * 115%)) rotate(calc(var(--dismiss, 0) * 6deg)); opacity: calc(1 - var(--dismiss, 0) * 0.9);
}
.notice__icon { width: 38px; height: 38px; border-radius: 10px; background: var(--zinc-300); flex: none; }
.notice__body { display: grid; gap: 2px; font-size: 0.92rem; line-height: 1.35; color: var(--zinc-800); }
.notice__meta { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--zinc-500); }
.notice__meta b { font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; }
.notice__after { margin: 0; font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; opacity: var(--after, 0); }
.no-js .notice__after { opacity: 1; }

/* ============================================================= THE SEASON */
.season-grid { position: absolute; inset: calc(var(--chrome-h) + 4vh) var(--sc-gutter) 6vh; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 5vw; align-items: center; }
.season-copy { display: grid; gap: 26px; }
.season-copy .display { max-width: 12ch; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; max-width: 34rem; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2rem 1fr; gap: 10px; font-size: 0.98rem; line-height: 1.5; color: var(--sc-ink-soft); padding-top: 12px; border-top: 1px solid var(--zinc-300); }
.steps li::before { content: counter(s); font-weight: 800; color: var(--sc-ink); font-variant-numeric: tabular-nums; }
.steps strong { color: var(--sc-ink); font-weight: 700; }
.lockin { background: #fff; border-radius: 20px; padding: 22px; display: grid; gap: 14px; box-shadow: var(--sc-e3); max-width: 24rem; justify-self: end; width: 100%; }
.lockin__label { margin: 0; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--zinc-500); }
.seg { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.seg legend { padding: 0; margin-bottom: 6px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: grid; place-items: center; min-height: 40px; border-radius: var(--r-btn); background: var(--zinc-100); font-weight: 600; font-size: 0.86rem; transition: background-color 160ms ease, color 160ms ease; }
.seg input:checked + span { background: var(--zinc-900); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--zinc-900); outline-offset: 2px; }
.lockin__tasks { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: baseline; gap: 6px; background: var(--zinc-100); border-radius: 999px; padding: 7px 12px; font-size: 0.86rem; font-weight: 600; }
.chip small { color: var(--zinc-500); font-weight: 500; font-size: 0.75rem; }
.field { display: grid; gap: 6px; }
.field__label { font-size: 0.86rem; font-weight: 600; }
.field__input, .join__input { min-height: 48px; padding: 0 14px; border-radius: var(--r-btn); border: 1px solid var(--zinc-300); background: var(--zinc-50); color: var(--zinc-900); font-size: 1rem; outline: none; transition: border-color 160ms var(--sc-ease-out), box-shadow 160ms var(--sc-ease-out); }
.field__input:focus-visible, .join__input:focus-visible { border-color: var(--zinc-900); box-shadow: 0 0 0 3px rgba(24,24,27,0.14); outline: none; }
.lockin__note { margin: 0; font-size: 0.8rem; color: var(--zinc-500); line-height: 1.45; }
.lockin.is-locked .btn::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); margin-right: 10px; }

/* ================================================================== PROOF */
.proof-copy { position: absolute; left: var(--sc-gutter); top: 50%; transform: translateY(-50%); width: min(34rem, 44vw); display: grid; gap: 22px; }
.proof-card { position: absolute; right: 13vw; top: 50%; transform: translateY(-47%); width: min(23rem, 30vw, 44vh); margin: 0; background: #fff; border-radius: 24px; padding: 10px; box-shadow: var(--sc-e3); }
.proof-card__photo { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 4.6; }
.proof-card__photo img { width: 100%; height: 100%; object-fit: cover; max-width: none; }
.proof-card__scan { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 40%, rgba(255,255,255,0.55) 50%, transparent 60%); transform: translateY(calc(-60% + var(--scan, 0) * 120%)); opacity: var(--scan-o, 0); }
.proof-card__foot { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; padding: 14px 8px 8px; }
.ring { width: 44px; height: 44px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 3; }
.ring__track { stroke: var(--zinc-200); }
.ring__arc { stroke: var(--zinc-900); stroke-linecap: round; stroke-dasharray: 119.4; stroke-dashoffset: calc(119.4 * (1 - var(--ring, 0))); }
.ring__check { fill: none; stroke: var(--zinc-900); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 26; stroke-dashoffset: calc(26 * (1 - var(--check, 0))); transform: rotate(90deg); transform-origin: 22px 22px; }
.proof-card__task { display: grid; justify-items: start; gap: 4px; }
.proof-card:not(.is-verified) .proof-card__pill { background: var(--zinc-100); color: var(--zinc-500); }
.proof-card__pts { font-weight: 800; font-size: 1.05rem; letter-spacing: -0.02em; white-space: nowrap; opacity: 0; transform: scale(0.95); transition: opacity 200ms ease, transform 260ms var(--pop); }
.proof-card.is-verified .proof-card__pts { opacity: 1; transform: none; }
.stack-proof { position: absolute; margin: 0; width: min(19rem, 25vw, 36vh); aspect-ratio: 4 / 5; background: #fff; border-radius: 22px; padding: 9px; box-shadow: var(--sc-e2); }
.stack-proof img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; max-width: none; }
.stack-proof--1 { right: 26vw; top: 50%; transform: translateY(-58%) rotate(-9deg); }
.stack-proof--2 { right: 4vw; top: 50%; transform: translateY(-40%) rotate(8deg); }

/* =============================================================== RESEARCH */
.research { position: absolute; inset: calc(var(--chrome-h) + 4vh) var(--sc-gutter) 6vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 3vh 6vw; align-content: center; }
.research__lead { display: grid; gap: 20px; align-content: start; }
.research__lead .display { max-width: 12ch; }
.research__figure { grid-row: span 2; align-self: center; border-top: 2px solid var(--zinc-900); padding-top: 18px; display: grid; gap: 12px; }
.bignum { margin: 0; font-weight: 800; letter-spacing: -0.06em; line-height: 0.86; font-size: clamp(5rem, 2rem + 9vw, 11rem); font-variant-numeric: tabular-nums; }
.bignum__label { margin: 0; font-size: 1.1rem; line-height: 1.4; max-width: 28ch; font-weight: 600; }
.bars { display: grid; gap: 10px; margin-top: 10px; }
.bar { display: grid; grid-template-columns: 11.5rem 1fr 3.4rem; align-items: center; gap: 12px; font-size: 0.92rem; }
.bar i { display: block; height: 12px; border-radius: 99px; background: var(--zinc-400); transform-origin: left; transform: scaleX(calc(var(--v) * var(--grow, 1))); }
.bar b { text-align: right; font-variant-numeric: tabular-nums; }
.bar--win span, .bar--win b { font-weight: 800; }
.bar--win i { background: var(--zinc-900); }
.bars__note { margin: 0; font-size: 0.8rem; color: var(--sc-ink-soft); }
.research__after { margin: 6px 0 0; font-size: 1rem; font-weight: 700; }
.research__notes { align-self: end; display: grid; gap: 8px; font-size: 0.8rem; line-height: 1.5; color: var(--sc-ink-soft); max-width: 44ch; }
.research__notes p { margin: 0; }
.research__notes a { color: var(--sc-ink); font-weight: 600; }

/* =============================================================== WATCHING */
.watching { position: absolute; inset: 0; display: grid; place-items: center; padding: 0 var(--sc-gutter); }
.watching__h { margin: 0; font-weight: 600; font-size: clamp(1.4rem, 1.1rem + 1.3vw, 2.2rem); letter-spacing: -0.03em; color: #fafafa; text-align: center; }

/* ============================================================== STANDINGS */
.standings { position: absolute; inset: calc(var(--chrome-h) + 2vh) var(--sc-gutter) 5vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 33rem); gap: 6vw; align-items: center; }
.standings__voice { display: grid; gap: 22px; align-content: center; }
.banner { margin: 0; justify-self: start; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--zinc-900); border-radius: 999px; padding: 6px 14px; font-weight: 800; font-size: 0.86rem; letter-spacing: 0.02em; }
.banner::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.banner.is-neg { background: var(--sc-accent); color: #fff; }
.banner.is-neg::before { background: #fff; }
.banner.is-pop { animation: pop 300ms var(--pop); }
@keyframes pop { from { transform: scale(0.95); opacity: 0.4; } }
.voice { margin: 0; font-weight: 700; letter-spacing: -0.045em; line-height: 0.98; font-size: clamp(2.4rem, 1.4rem + 3.6vw, 5.2rem); color: #fafafa; max-width: 13ch; text-wrap: balance; }
.voice.is-swap { animation: rise 420ms var(--rise); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.voice-after { margin: 0; font-size: 1.05rem; color: var(--zinc-400); opacity: var(--after, 0); transition: opacity 300ms ease; }
.board-wrap { display: grid; gap: 12px; }
.board__meta { margin: 0; display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--zinc-400); }
.board__meta span:first-child { color: #fafafa; font-weight: 700; font-size: 0.95rem; }
.board-frame { position: relative; --row-step: min(80px, 9.4vh); }
.board { list-style: none; margin: 0; padding: 0; position: relative; height: calc(6 * var(--row-step)); }
.row {
  position: absolute; left: 0; right: 0; top: 0; height: calc(var(--row-step) - 8px);
  display: flex; align-items: center; gap: 12px; padding: 0 18px;
  background: #fff; color: var(--zinc-900); border: 1px solid var(--zinc-200); border-radius: var(--r-card);
  transform: translateY(calc(var(--rank-i) * var(--row-step)));
  transition: transform 650ms var(--rise), background-color 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}
.row__rank { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 0.75rem; font-weight: 800; background: var(--zinc-100); flex: none; font-variant-numeric: tabular-nums; }
.row__av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 0.8rem; font-weight: 700; background: var(--zinc-900); color: #fff; flex: none; }
.row__main { display: block; flex: 1; min-width: 0; }
.row__name { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.98rem; }
.row__name b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.row__bar { display: block; height: 6px; border-radius: 999px; background: var(--zinc-100); overflow: hidden; margin-top: 7px; }
.row__bar i { display: block; height: 100%; border-radius: inherit; background: var(--zinc-900); transform-origin: left; transform: scaleX(var(--pct, 0)); transition: transform 300ms ease-out; }
.row__pts { text-align: right; flex: none; }
.row__pts b { display: block; font-weight: 800; font-size: 1rem; font-variant-numeric: tabular-nums; }
.row__pts small { display: block; font-size: 0.75rem; color: var(--zinc-400); }
.row.is-first { background: var(--zinc-900); color: #fff; border-color: rgba(255,255,255,0.18); }
.row.is-first .row__rank { background: var(--amber); color: var(--zinc-900); }
.row.is-first .row__av { background: #fff; color: var(--zinc-900); }
.row.is-first .row__bar { background: rgba(255,255,255,0.15); }
.row.is-first .row__bar i { background: #fff; }
.row.is-danger { border-color: var(--red-200); }
.row.is-danger .row__rank { background: var(--red-50); color: var(--red-700); }
.row.is-danger .row__bar i { background: var(--sc-accent); }
.row.is-self { box-shadow: 0 0 0 2px #fafafa; }
.row.is-self.is-danger { border-color: var(--red-300); box-shadow: 0 0 0 2px var(--sc-accent); }
.row .pill--red { display: none; }
.row.is-self.is-danger .pill--red { display: inline-flex; }
.row.is-drop { animation: row-drop 650ms var(--rise); }
.row.is-crown { animation: row-crown 900ms var(--rise); }
@keyframes row-drop { 30% { transform: translateY(calc(var(--rank-i) * var(--row-step))) scale(0.985); } }
@keyframes row-crown { 35% { box-shadow: 0 18px 40px -10px rgba(0,0,0,0.5); } }
.zone-band { position: absolute; left: -12px; right: -12px; top: calc(4 * var(--row-step) - 5px); height: calc(2 * var(--row-step) + 2px); background: rgba(220, 38, 38, 0.13); border: 1px solid rgba(220, 38, 38, 0.35); border-radius: 22px; }
.zone-band span { position: absolute; left: -30px; top: 50%; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #f87171; }
.board__zone { margin: 0; font-size: 0.8rem; color: var(--zinc-400); }
.no-js #board, .no-js .zone-band { display: none; }
.board--static { height: auto; }

/* ================================================================= STAKES */
.stakes { position: absolute; left: var(--sc-gutter); top: 50%; transform: translateY(-50%); width: min(36rem, 44vw); display: grid; gap: 24px; }
.stakes .display { max-width: 13ch; }
.results { position: absolute; right: 9vw; top: 50%; transform: translateY(-48%); width: min(27rem, 38vw); background: #fff; border-radius: 22px; padding: 18px; box-shadow: var(--sc-e3); display: grid; gap: 8px; }
.results__head { margin: 0 0 6px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.results__head b { font-size: 1.1rem; letter-spacing: -0.02em; }
.results__head > span { font-size: 0.8rem; color: var(--zinc-500); }
.result { display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; column-gap: 12px; row-gap: 2px; padding: 12px; border-radius: var(--r-card); border: 1px solid var(--zinc-200); }
.result .medal { grid-row: span 2; align-self: center; }
.result__who { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.result__who b { font-size: 1rem; }
.result__who small { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--zinc-500); }
.result__what { font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em; }
.result--win { background: var(--zinc-900); color: #fff; border-color: transparent; }
.result--win .result__who small { color: var(--zinc-400); }
.result--you .result__what { color: var(--zinc-500); font-weight: 600; }
.result--lose { border-color: var(--red-200); background: var(--red-50); }
.result--lose .result__who small { color: var(--red-700); }
.medal { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 0.8rem; background: var(--amber); color: var(--zinc-900); }
.medal--mid { background: var(--zinc-100); color: var(--zinc-900); }
.medal--lose { background: #fff; color: var(--red-700); border: 1px solid var(--red-200); }

/* ============================================================== BACK PAGE */
.layer--brackets { display: flex; align-items: center; justify-content: center; gap: min(36rem, 62vw); }
.bookend { font-weight: 800; font-size: min(78vh, 46vw); line-height: 0.8; color: var(--zinc-900); user-select: none; transform: translateY(-2%); }
.layer--card { display: grid; place-items: center; padding: calc(var(--chrome-h) + 2vh) var(--sc-gutter) 3vh; }
.card { position: relative; width: min(30rem, 100%); background: #fff; border-radius: 22px; padding: 28px 28px 22px; box-shadow: var(--sc-e3); display: grid; gap: 14px; }
.card__kicker { margin: 0; font-size: 0.95rem; font-weight: 600; color: var(--zinc-500); letter-spacing: -0.01em; }
.card__mark { font-weight: 700; color: var(--zinc-900); letter-spacing: -0.03em; }
.card__h { margin: 0; font-weight: 700; letter-spacing: -0.045em; line-height: 0.98; font-size: clamp(2.3rem, 1.6rem + 2.4vw, 3.6rem); }
.card__h .serif { font-size: 1.08em; }
.card__sub { margin: 0; color: var(--sc-ink-soft); line-height: 1.5; font-size: 0.98rem; }
.card__row:empty { display: none; }
.card__row .row { position: relative; transform: none; height: 60px; --rank-i: 0; box-shadow: none; }
.card__row .row.is-self.is-danger { box-shadow: 0 0 0 2px var(--sc-accent); }
.join { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.join__msg { margin: 0; font-size: 0.86rem; line-height: 1.45; color: var(--sc-ink-soft); }
.join__msg:empty { display: none; }
.join__msg.is-error { color: var(--red-700); }
.colophon { position: absolute; left: var(--sc-gutter); right: var(--sc-gutter); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); display: flex; gap: 14px; align-items: baseline; justify-content: center; font-size: 0.75rem; color: var(--sc-ink-soft); text-align: center; }
.colophon__mark { font-weight: 700; color: var(--sc-ink); font-size: 0.9rem; letter-spacing: -0.03em; }
.no-js .colophon { position: static; padding: 24px 0; }

/* ======================================================= PHONE COMPOSITION */
@media (max-width: 860px) {
  :root { --chrome-h: 56px; }
  .chrome__contents { text-decoration: none; padding: 0 6px; }
  .chrome .btn--small { padding: 0 12px; font-size: 0.8rem; }
  .standing { margin-left: 10px; padding-right: 10px; }
  .standing__name { display: none; }

  .masthead { font-size: 29vw; top: calc(var(--chrome-h) + 1vh); }
  .phone { left: 50%; top: calc(var(--chrome-h) + 17vw); height: 44svh; }
  .cover-band { display: block; position: absolute; left: 0; right: 0; bottom: 0; height: 40svh; background: linear-gradient(180deg, rgba(236,235,231,0) 0%, #ecebe7 26%); }
  .cover-copy { left: var(--sc-gutter); right: var(--sc-gutter); width: auto; bottom: calc(74px + env(safe-area-inset-bottom, 0px)); gap: 12px; }
  .cover-h { font-size: clamp(2.2rem, 10.5vw, 3.3rem); }
  .cover-sub { font-size: 0.95rem; }
  .cue { bottom: calc(12px + env(safe-area-inset-bottom, 0px)); gap: 6px; }
  .cue__line { height: 24px; }
  .mini-proof { width: 25vw; padding: 4px 4px 6px; border-radius: 12px; }
  .mini-proof img { border-radius: 8px; }
  .mini-proof figcaption { display: none; }
  .mini-proof--a { left: 3vw; top: calc(var(--chrome-h) + 40vw); }
  .mini-proof--b { right: 3vw; top: calc(var(--chrome-h) + 30vw); }
  .mini-proof--c { display: none; }

  .flaw-copy { top: auto; bottom: 9svh; transform: none; width: auto; right: var(--sc-gutter); gap: 18px; }
  .flaw-copy .display { font-size: clamp(2.3rem, 11vw, 3.4rem); }
  .notice { right: var(--sc-gutter); left: var(--sc-gutter); top: calc(var(--chrome-h) + 8svh); transform: none; width: auto; }

  .season-grid { grid-template-columns: 1fr; inset: calc(var(--chrome-h) + 3vh) var(--sc-gutter) auto; gap: 22px; align-items: start; padding-bottom: 12svh; }
  .lockin { justify-self: stretch; max-width: none; }
  .steps li { font-size: 0.92rem; }
  .layer[data-read] {
    -webkit-mask-image: linear-gradient(180deg, transparent calc(var(--chrome-h) + 2px), #000 calc(var(--chrome-h) + 28px));
            mask-image: linear-gradient(180deg, transparent calc(var(--chrome-h) + 2px), #000 calc(var(--chrome-h) + 28px));
  }

  .proof-copy { top: calc(var(--chrome-h) + 3vh); transform: none; width: auto; right: var(--sc-gutter); gap: 14px; }
  .proof-card { right: 50%; top: auto; bottom: 8svh; transform: translateX(50%); width: min(17rem, 70vw, 36svh); }
  .proof-card__photo { aspect-ratio: 4 / 3.6; }
  .stack-proof { width: 44vw; }
  .stack-proof--1 { right: 50vw; top: auto; bottom: 16svh; transform: rotate(-9deg); }
  .stack-proof--2 { right: 4vw; top: auto; bottom: 14svh; transform: rotate(8deg); }

  .research { grid-template-columns: 1fr; grid-template-rows: none; inset: calc(var(--chrome-h) + 4vh) var(--sc-gutter) auto; gap: 22px; padding-bottom: 12svh; }
  .research__figure { grid-row: auto; }
  .bignum { font-size: clamp(4.4rem, 26vw, 7rem); }
  .bar { grid-template-columns: 8.2rem 1fr 3rem; font-size: 0.85rem; gap: 8px; }

  .standings { grid-template-columns: 1fr; inset: calc(var(--chrome-h) + 1vh) var(--sc-gutter) 11svh; gap: 16px; align-content: start; align-items: start; }
  .standings__voice { gap: 12px; }
  .voice { font-size: clamp(1.9rem, 9vw, 2.8rem); min-height: 2.94em; display: flex; align-items: flex-end; }
  .voice-after { font-size: 0.95rem; }
  .board-frame { --row-step: min(64px, 7.4svh); }
  .row { padding: 0 12px; gap: 10px; }
  .row__av { width: 30px; height: 30px; }
  .row__name { font-size: 0.88rem; }
  .zone-band span { display: none; }

  .stakes { top: calc(var(--chrome-h) + 3vh); transform: none; width: auto; right: var(--sc-gutter); gap: 14px; }
  .stakes .lede { font-size: 0.95rem; }
  .results { right: var(--sc-gutter); left: var(--sc-gutter); width: auto; top: auto; bottom: 5svh; transform: none; padding: 14px; gap: 6px; }
  .result { padding: 10px; }
  .result__what { font-size: 0.95rem; }

  .layer--brackets { gap: 84vw; }
  .bookend { font-size: 56vh; color: var(--zinc-300); }
  .card { padding: 24px 20px 20px; }
  .join { grid-template-columns: 1fr; }
  .join .btn { width: 100%; }
  .colophon { flex-direction: column; gap: 4px; }
}
@media (max-width: 480px) {
  .standing__state { display: none; }
  .standing { padding-right: 3px; }
}
@media (max-width: 860px) and (max-height: 700px) {
  .cover-sub { display: none; }
  .phone { height: 40svh; }
  .notice { top: calc(var(--chrome-h) + 3svh); }
  .stakes .lede { display: none; }
  .layer--card { place-items: start center; padding-top: calc(var(--chrome-h) + 1.5vh); }
  .card { gap: 10px; padding: 20px 18px 16px; }
  .card__h { font-size: 2.1rem; }
  .colophon { bottom: 6px; }
}

/* ========================================================= REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  .masthead__br, .masthead__word > span, .row, .row__bar i, .voice, .banner, .standing, .app__scene, .app-row, .app-banner { transition-duration: 1ms !important; animation: none !important; }
  .masthead__br { --br: 0 !important; }
  .masthead__word > span { clip-path: none !important; }
  .cue__line::after { animation: none; transform: scaleY(1); }
}
@media (prefers-reduced-motion: reduce) { .notice__card { transform: none; } }
.mini-proof img { height: auto; }
.phone { padding: min(1.3svh, 11px); }
.phone { container-type: inline-size; }
.phone__screen { font-size: 5cqw; }
.cue { white-space: nowrap; }
.app-banner { white-space: nowrap; }
@media (max-width: 860px) {
  .phone { top: calc(var(--chrome-h) + 25vw); height: 41svh; }
  .mini-proof--a { top: calc(var(--chrome-h) + 52vw); }
  .mini-proof--b { top: calc(var(--chrome-h) + 38vw); }
}
@media (max-width: 860px) and (max-height: 700px) {
  .phone { height: 37svh; }
}
@media (min-width: 861px) { .masthead { font-size: min(22vw, 32vh); top: calc(var(--chrome-h) + 3vh); } }

/* ============================================ THE CLIMB (back page, on join)
   Your row sits alone until you join. Then the four above you slide into the
   card and you pass all of them: the app's row-crown move, at card scale. */
.climb { --step: 50px; position: relative; }
.climb__banner {
  position: absolute; right: 0; top: -34px; margin: 0; z-index: 2;
  background: var(--zinc-900); color: #fff; border-radius: 999px; padding: 5px 12px;
  font-size: 0.75rem; font-weight: 800; letter-spacing: 0.02em; display: inline-flex; align-items: center; gap: 7px;
  opacity: 0; transform: translateY(6px) scale(0.95); transition: opacity 200ms ease, transform 300ms var(--pop);
}
.climb__banner::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.climb.is-crowned .climb__banner { opacity: 1; transform: none; }
.climb__reveal { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 480ms var(--rise); }
.climb__reveal > div { overflow: hidden; }
.climb__space { height: calc(4 * var(--step)); }
.climb.is-open .climb__reveal { grid-template-rows: 1fr; }
.climb__slot { height: var(--step); }
.climb__rows { list-style: none; margin: 0; padding: 0; position: absolute; left: 0; right: 0; bottom: 0; height: 0; }
.card__row .row.climb__row {
  position: absolute; left: 0; right: 0; top: auto; bottom: 0; height: calc(var(--step) - 6px); padding: 0 14px; gap: 10px;
  transform: translateY(calc((var(--pos) - 4) * var(--step))); box-shadow: none;
  transition: transform 760ms var(--rise), background-color 300ms ease, color 300ms ease, border-color 300ms ease, opacity 320ms ease;
}
.card__row .row.climb__row .row__av { width: 30px; height: 30px; }
.card__row .row.climb__row .row__bar { margin-top: 5px; }
.card__row .row.climb__row .row__pts small { display: none; }
.climb__other { opacity: 0; }
.climb.is-open .climb__other { opacity: 1; transition-delay: 0ms, 0ms, 0ms, 0ms, 160ms; }
.card__row .row.climb__row.is-self { z-index: 1; box-shadow: 0 10px 24px -12px rgba(24,24,27,0.5); }
.card__row .row.climb__row.is-self.is-danger { box-shadow: 0 0 0 2px var(--sc-accent); }
.card__row .row.climb__row.is-crown { animation: climb-crown 900ms var(--rise); }
@keyframes climb-crown { 35% { box-shadow: 0 0 0 3px var(--amber), 0 18px 34px -12px rgba(24,24,27,0.55); } }
@media (prefers-reduced-motion: reduce) {
  .climb__reveal, .card__row .row.climb__row, .climb__banner { transition-duration: 1ms !important; animation: none !important; }
}
@media (max-width: 860px) and (max-height: 700px) { .climb { --step: 42px; } }

/* ===================================== STEP-THROUGH MODE (?mode=steps, a test) */
html.is-steps, html.is-steps body { overflow: hidden; height: 100%; }
html.is-steps .cue { display: none; }
.stepper {
  position: fixed; z-index: 65; right: var(--sc-gutter); bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 8px;
}
.stepper button { border: 0; cursor: pointer; font: inherit; transition: transform 140ms var(--sc-ease-out), background-color 160ms ease, color 160ms ease; }
.stepper button:active { transform: scale(0.96); }
.stepper__prev {
  width: 48px; height: 48px; border-radius: 999px; display: grid; place-items: center;
  background: #fff; color: var(--zinc-900); box-shadow: var(--sc-e2);
}
.stepper__next {
  min-height: 48px; padding: 0 16px 0 20px; border-radius: 999px; display: inline-flex; align-items: center; gap: 10px;
  background: var(--zinc-900); color: #fff; box-shadow: var(--sc-e2); white-space: nowrap;
}
.stepper__kicker { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--zinc-400); }
.stepper__label { font-weight: 700; font-size: 0.95rem; letter-spacing: -0.01em; }
@media (hover: hover) and (pointer: fine) {
  .stepper__next:hover { background: #000; }
  .stepper__next:hover svg { transform: translateX(2px); }
  .stepper__next svg { transition: transform 160ms var(--sc-ease-out); }
}
html.is-dark .stepper__next { background: #fff; color: var(--zinc-900); }
html.is-dark .stepper__next .stepper__kicker { color: var(--zinc-500); }
html.is-dark .stepper__prev { background: var(--zinc-800); color: #fff; }
@media (max-width: 860px) {
  .stepper { bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
  .stepper__prev { width: 44px; height: 44px; }
  .stepper__next { min-height: 44px; padding: 0 12px 0 16px; }
  /* make room at the foot of each phone composition for the stepper */
  html.is-steps .cover-copy { bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
  html.is-steps .results { bottom: calc(5svh + 52px); }
  html.is-steps .standings { bottom: calc(11svh + 30px); }
  html.is-steps .proof-card { bottom: calc(8svh + 40px); }
  html.is-steps .flaw-copy { bottom: calc(9svh + 40px); }
  html.is-steps .colophon { display: none; }
}
.climb__crown {
  display: inline-flex; align-items: center; gap: 5px; margin-left: 2px;
  background: #fff; color: var(--zinc-900); border-radius: 999px; padding: 2px 8px;
  font-size: 0.66rem; font-weight: 800; letter-spacing: 0.02em; white-space: nowrap;
  opacity: 0; transform: scale(0.9); transition: opacity 200ms ease, transform 300ms var(--pop);
}
.climb__crown::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.climb.is-crowned .climb__crown { opacity: 1; transform: none; }
@media (max-width: 860px) { html.is-steps .season-grid, html.is-steps .research { padding-bottom: calc(12svh + 64px); } }

/* ================================================= ROUND 4: MARKS AND MOTION
   Red is the stakes colour, and the owner likes it as the marker: a red
   highlighter, a red underline, a red strike through "promises". Each mark
   draws itself once the camera has landed on its spread (.is-here). */
.mark { position: relative; display: inline-block; isolation: isolate; white-space: nowrap; }
.mark__line { position: absolute; left: -3%; width: 106%; height: 0.3em; bottom: -0.1em; overflow: visible; pointer-events: none; }
.mark__line path { fill: none; stroke: var(--sc-accent); stroke-width: 5px; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.mark--strike .mark__line { bottom: auto; top: 44%; height: 0.22em; }
.mark--strike .mark__line path { stroke-width: 4px; }
.mark--hl::before {
  content: ""; position: absolute; z-index: -1; left: -0.08em; right: -0.08em; top: 0.5em; bottom: 0;
  background: rgba(220, 38, 38, 0.24); border-radius: 0.06em 0.12em 0.08em 0.14em;
  transform: scaleX(0); transform-origin: left;
}
html.js .mark__line path { transition: stroke-dashoffset 820ms cubic-bezier(0.65, 0, 0.35, 1) 450ms; }
html.js .mark--hl::before { transition: transform 900ms cubic-bezier(0.65, 0, 0.35, 1) 450ms; }
.spread.is-here .mark__line path, .no-js .mark__line path { stroke-dashoffset: 0; }
.spread.is-here .mark--hl::before, .no-js .mark--hl::before { transform: scaleX(1); }
.spread--cover.is-here .mark__line path { transition-delay: 1300ms; }   /* after the masthead opens */
@media (max-width: 860px) { .mark__line path { stroke-width: 3.5px; } .mark--strike .mark__line path { stroke-width: 3px; } }

/* research: the bars grow slowly, one after another, after the number starts */
html.js .bar i { transform: scaleX(0); transition: transform 2400ms cubic-bezier(0.22, 1, 0.36, 1); }
html.js .spread.is-here .bar i { transform: scaleX(var(--v)); }
.spread.is-here .bar:nth-child(1) i { transition-delay: 900ms; }
.spread.is-here .bar:nth-child(2) i { transition-delay: 1400ms; }
.spread.is-here .bar:nth-child(3) i { transition-delay: 1900ms; }
html.js .bar b, html.js .bars__note, html.js .research__after { opacity: 0; transition: opacity 600ms ease; }
html.js .spread.is-here .bar b { opacity: 1; }
.spread.is-here .bar:nth-child(1) b { transition-delay: 2600ms; }
.spread.is-here .bar:nth-child(2) b { transition-delay: 3000ms; }
.spread.is-here .bar:nth-child(3) b { transition-delay: 3400ms; }
html.js .spread.is-here .bars__note { opacity: 1; transition-delay: 3700ms; }
html.js .spread.is-here .research__after { opacity: 1; transition-delay: 4300ms; }

/* stakes: the three sentences land one by one, then the Season closes */
.stakes .line { display: block; }
html.js .stakes .line { opacity: 0; transform: translateY(16px); transition: opacity 500ms ease, transform 700ms var(--rise); }
html.js .spread.is-here .stakes .line { opacity: 1; transform: none; }
.spread.is-here .stakes .line:nth-child(2) { transition-delay: 260ms; }
.spread.is-here .stakes .line:nth-child(3) { transition-delay: 520ms; }
.spread--stakes .mark__line path { transition-delay: 1100ms; }
html.js .stakes .lede { opacity: 0; transition: opacity 600ms ease 900ms; }
html.js .spread.is-here .stakes .lede { opacity: 1; }
html.js .results { opacity: 0; transition: opacity 500ms ease 700ms, translate 800ms var(--rise) 700ms; translate: 0 24px; }
html.js .spread.is-here .results { opacity: 1; translate: 0 0; }
html.js .result { opacity: 0; translate: 0 14px; transition: opacity 400ms ease, translate 600ms var(--rise), background-color 400ms ease, box-shadow 400ms ease; }
html.js .spread.is-here .result { opacity: 1; translate: 0 0; }
.spread.is-here .result--win { transition-delay: 1300ms; }
.spread.is-here .result--you { transition-delay: 1700ms; }
.spread.is-here .result--lose { transition-delay: 2100ms; }
html.js .result .medal { scale: 0.4; transition: scale 420ms var(--pop); }
html.js .spread.is-here .result .medal { scale: 1; }
.spread.is-here .result--win .medal { transition-delay: 1500ms; }
.spread.is-here .result--you .medal { transition-delay: 1900ms; }
.spread.is-here .result--lose .medal { transition-delay: 2300ms; }
.result--lose { position: relative; overflow: hidden; }
.spread.is-here .result--lose { animation: owe-flash 900ms ease 2700ms both; }
@keyframes owe-flash { 0% { box-shadow: 0 0 0 0 rgba(220,38,38,0); } 35% { box-shadow: 0 0 0 3px rgba(220,38,38,0.45); } 100% { box-shadow: 0 0 0 1px rgba(220,38,38,0.25); } }
.stamp {
  position: absolute; right: 12px; bottom: 10px; padding: 2px 8px; border: 2px solid var(--sc-accent); border-radius: 6px;
  color: var(--sc-accent); font-weight: 800; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  transform: rotate(-8deg); opacity: 0;
}
.spread.is-here .stamp { animation: stamp 420ms var(--pop) 2900ms both; }
@keyframes stamp { from { opacity: 0; transform: rotate(-8deg) scale(1.8); } to { opacity: 1; transform: rotate(-8deg) scale(1); } }
.no-js .stamp { opacity: 1; }
.result--lose .result__what { padding-right: 64px; }

/* the stepper, mid-phase: a quieter pill so "Continue" reads as within the page */
.stepper__next.is-phase .stepper__kicker { display: none; }

@media (prefers-reduced-motion: reduce) {
  .mark__line path, .mark--hl::before, .bar i, .bar b, .bars__note, .research__after, .stakes .line, .stakes .lede, .results, .result, .result .medal { transition-duration: 1ms !important; transition-delay: 0ms !important; }
  .spread.is-here .result--lose, .spread.is-here .stamp { animation-duration: 1ms !important; animation-delay: 0ms !important; }
}

/* ============================================ ROUND 5: ONE MARK, THE UNDERLINE
   The owner kept the underline and dropped the highlighter. The line is a
   pseudo-element sized to the word's own box, so it always spans the whole
   word or phrase, drawn left to right once the page has landed (.is-here). */
.mark--hl::before { content: none; }
.mark::after {
  content: ""; position: absolute; left: -0.03em; right: -0.03em; bottom: -0.02em;
  height: max(3px, 0.075em); border-radius: 99px; background: var(--sc-accent);
  transform: scaleX(0) rotate(-0.6deg); transform-origin: left center;
}
.mark--strike::after { bottom: auto; top: 55%; height: max(3px, 0.06em); transform: scaleX(0) rotate(-2deg); }
html.js .mark::after { transition: transform 900ms cubic-bezier(0.65, 0, 0.35, 1) 450ms; }
.spread.is-here .mark::after, .no-js .mark::after { transform: scaleX(1) rotate(-0.6deg); }
.spread.is-here .mark--strike::after, .no-js .mark--strike::after { transform: scaleX(1) rotate(-2deg); }
.spread--cover.is-here .mark::after { transition-delay: 1300ms; }
.spread--stakes.is-here .mark::after { transition-delay: 1100ms; }
.result--lose .result__what { padding-right: 0; }

/* standings: every change is slow enough to watch happen */
.row { transition: transform 1500ms cubic-bezier(0.22, 1, 0.36, 1), background-color 600ms ease, border-color 600ms ease, box-shadow 600ms ease; }
.row__bar i { transition: transform 1200ms cubic-bezier(0.22, 1, 0.36, 1); }
.row.is-drop { animation: row-drop 1500ms cubic-bezier(0.22, 1, 0.36, 1); }
.banner.is-pop { animation: pop 600ms var(--pop); }
.voice.is-swap { animation: rise 900ms var(--rise); }
.standing { transition: background-color 700ms ease, transform 400ms var(--pop); }
@media (prefers-reduced-motion: reduce) { .mark::after { transition-duration: 1ms !important; transition-delay: 0ms !important; } }

/* ============================================= ROUND 6: A HAND-DRAWN WIGGLE
   The underline is a wave, not a rule. One seamless wave tile repeats across
   the whole word (so it always spans it), and a clip wipes it on left to right,
   the way a pen would draw it. */
.mark::after, .mark--strike::after {
  height: 0.24em; min-height: 7px; bottom: -0.16em; border-radius: 0; background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='10' viewBox='0 0 24 10'%3E%3Cpath d='M0 5 Q6 0.8 12 5 T24 5' fill='none' stroke='%23dc2626' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: repeat-x; background-size: auto 100%; background-position: left center;
  transform: rotate(-0.8deg); clip-path: inset(-2px 100% -2px -2px);
}
.mark--strike::after { top: 42%; bottom: auto; height: 0.2em; transform: rotate(-2deg); }
html.js .mark::after { transition: clip-path 950ms cubic-bezier(0.65, 0, 0.35, 1) 450ms; }
.spread.is-here .mark::after, .no-js .mark::after { clip-path: inset(-2px -2px -2px -2px); transform: rotate(-0.8deg); }
.spread.is-here .mark--strike::after, .no-js .mark--strike::after { transform: rotate(-2deg); }
.spread--cover.is-here .mark::after { transition-delay: 1300ms; }
.spread--stakes.is-here .mark::after { transition-delay: 1100ms; }
@media (prefers-reduced-motion: reduce) { .mark::after { transition-duration: 1ms !important; transition-delay: 0ms !important; } }

/* ======================================= ROUND 7: HAND-DRAWN, ONE LINE EACH
   Every mark carries its own baked stroke (lab/patch-wiggle.cjs): mostly two or
   three long loose waves, a couple of them tighter. The SVG spans the word's
   box, so the stroke always reaches both ends; a clip wipes it on left to right. */
.mark::after { content: none !important; }
.mark__wig {
  position: absolute; left: -2%; width: 104%; height: 0.34em; bottom: -0.24em;
  overflow: visible; pointer-events: none; clip-path: inset(-40% 100% -40% -2%);
}
.mark__wig path { fill: none; stroke: var(--sc-accent); stroke-width: max(2.5px, 0.065em); stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
html.js .mark__wig { transition: clip-path 1000ms cubic-bezier(0.65, 0, 0.35, 1) 450ms; }
.spread.is-here .mark__wig, .no-js .mark__wig { clip-path: inset(-40% -2% -40% -2%); }
.spread--cover.is-here .mark__wig { transition-delay: 1300ms; }
.spread--stakes.is-here .line:nth-child(2) .mark__wig { transition-delay: 1000ms; }
.spread--stakes.is-here .line:nth-child(3) .mark__wig { transition-delay: 1500ms; }
@media (prefers-reduced-motion: reduce) { .mark__wig { transition-duration: 1ms !important; transition-delay: 0ms !important; } }
.join__trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ================================= ROUND 8: FINGER SCROLL ON LONG PHONE PAGES
   In the paged issue, a spread taller than the phone (Season, Research) scrolls
   with the finger inside its own page; Next always goes to the next spread. */
@media (max-width: 860px) {
  html.is-steps .layer[data-read] {
    overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch; touch-action: pan-y; scrollbar-width: none;
  }
  html.is-steps .layer[data-read]::-webkit-scrollbar { display: none; }
  html.is-steps .layer[data-read] .read {
    position: relative; inset: auto;
    margin: calc(var(--chrome-h) + 3vh) var(--sc-gutter) 0;
    padding-bottom: calc(14svh + 72px);
  }
}
/* standings: "You stopped to watch" arrives by itself after the last overtake */
.voice-after { opacity: 0; transition: opacity 600ms ease; }
.voice-after.is-shown { opacity: 1; transition-delay: 2500ms; }
@media (prefers-reduced-motion: reduce) { .voice-after.is-shown { transition-delay: 0ms; } }

/* joining: the headline becomes a welcome */
.card__h.is-welcome, .card__sub.is-welcome { animation: rise 600ms var(--rise); }
