/* ==== 00-base.css ==== */
/* BATON PASS v2 — THE RACE PROGRAMME. Swiss athletics-games identity on sun-dust.
   Motion: html.rm (boot.js); hide-until-seen gated on html.js:not(.rm). No inline styles (CSP). Built by src/build.py. */
:root {
  --dust: #F7D5AE; --tartan: #E9A584; --sun: #FBC970; --baton: #1B7447; --grip: #2FA064; --track: #BE4A1C; --track-ink: #A63E17;
  --lane: #FFFBF2; --ink: #171A10; --ink-2: #4F3B26; --hair: rgba(23, 26, 16, .12);
  --sans: 'Nata Sans', 'Segoe UI', system-ui, sans-serif; --it: 'Piazzolla', Georgia, serif; --mono: 'M PLUS Code Latin', ui-monospace, Consolas, monospace; --hand: 'Nothing You Could Do', cursive;
  --m: 40px; --nav: 72px; --ease: cubic-bezier(.2, .7, 0, 1);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background-color: var(--dust); scroll-padding-top: calc(var(--nav) + 8px); -webkit-text-size-adjust: 100%; }
html.js:not(.rm) { scroll-behavior: smooth; }
body { margin: 0; background-color: var(--dust); color: var(--ink); font: 400 18px/1.55 var(--sans); overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-family: var(--it); font-style: italic; font-weight: 700; letter-spacing: -.01em; word-spacing: .06em; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 100; padding: 12px 18px; border-radius: 999px; background-color: var(--ink); color: var(--lane); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.field-baton :focus-visible, .field-ink :focus-visible { outline-color: var(--lane); }

/* layout */
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--m); }
.g12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.sec { position: relative; padding: 120px 0; }
.field-dust { background-color: var(--dust); color: var(--ink); }
.field-tartan { background-color: var(--tartan); color: var(--ink); }
.field-sun { background-color: var(--sun); color: var(--ink); }
.field-baton { background-color: var(--baton); color: var(--lane); }
.field-ink { background-color: var(--ink); color: var(--lane); }

/* type */
.eyebrow { font: 700 12px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.fig { font: 500 12px/1.45 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.field-baton .fig, .field-ink .fig { color: rgba(255, 251, 242, .82); }
.script { font-family: var(--hand); font-weight: 400; }
h2 { font: 800 clamp(40px, 4.4vw, 64px)/.98 var(--sans); letter-spacing: -.025em; }
h2 em { display: block; margin-top: .06em; font-size: 1.02em; }
.sh { position: relative; }
.sh-num { font: 900 clamp(80px, 8vw, 128px)/.8 var(--sans); letter-spacing: -.045em; margin-bottom: 14px; }
.sh .eyebrow { margin-bottom: 14px; }
.intro { margin-top: 20px; max-width: 34em; font-size: 19px; }

/* buttons */
.pill { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 24px; border: 0; border-radius: 999px;
  font: 700 17px/1 var(--sans); letter-spacing: -.005em; text-decoration: none; white-space: nowrap; }
.pill.sm { height: 44px; padding: 0 18px; font-size: 15px; gap: 8px; }
.pill.buy { background-color: var(--track); color: var(--lane); box-shadow: 0 10px 24px rgba(190, 74, 28, .28); }
.pill.line { background-color: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.pill.line:hover { background-color: rgba(23, 26, 16, .07); }
.pill.line.on-dark { color: var(--lane); box-shadow: inset 0 0 0 2px var(--lane); }
.pill.line.on-dark:hover { background-color: rgba(255, 251, 242, .12); }
.pill.lane { background-color: var(--lane); color: var(--ink); box-shadow: 0 2px 0 rgba(23, 26, 16, .18); }
.pill .mk { flex: none; width: 20px; height: 20px; }
.pill.buy .mk { box-sizing: content-box; padding: 3px; border-radius: 50%; background-color: var(--lane); }
.pill.line .mk.x, .pill.line .mk.dex { width: 16px; height: 16px; }
.pill.line.on-dark .mk.x, .pill.line.on-dark .mk.dex { filter: invert(1); }
.pill .arr { width: 0; overflow: hidden; opacity: 0; font-weight: 800; }
html.js:not(.rm) .pill { transition: transform .18s var(--ease), background-color .18s, box-shadow .18s; }
html.js:not(.rm) .pill:hover { transform: translateY(-2px); }
html.js:not(.rm) .pill:active { transform: scale(.97); }
html.js:not(.rm) .pill.buy .mk { transition: transform .25s var(--ease); }
html.js:not(.rm) .pill.buy:hover .mk { transform: rotate(-12deg); }
html.js:not(.rm) .pill.buy .arr { transition: width .25s var(--ease), opacity .25s; }
.pill.buy:hover .arr { width: 14px; opacity: 1; }
.rnd { width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; border: 0; padding: 0; background-color: transparent; box-shadow: inset 0 0 0 2px var(--ink); color: var(--ink); text-decoration: none; }
.rnd img { width: 18px; height: 18px; }
.rnd:hover { background-color: rgba(23, 26, 16, .07); }
.pg { width: 24px; height: 24px; flex: none; fill: currentColor; }

/* THE CA BATON — white relay baton, green grip = copy */
.cab { position: relative; display: flex; align-items: stretch; width: min(640px, 100%); height: 64px; border-radius: 999px; background-color: var(--lane);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .9) 0, rgba(255, 255, 255, 0) 38%, rgba(23, 26, 16, 0) 62%, rgba(23, 26, 16, .09) 100%);
  box-shadow: inset 0 0 0 1.5px var(--ink), 0 8px 18px rgba(79, 59, 38, .16); }
.cab-body { flex: 1; min-width: 0; display: grid; align-content: center; gap: 3px; padding: 0 18px 0 26px; }
.cab-l { font: 700 12px/1 var(--mono); letter-spacing: .12em; color: var(--ink-2); }
.cab .ca { font: 500 15px/1.2 var(--mono); letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ca-pre { font: 500 14px/1.25 var(--sans); color: var(--ink); }
.cab-grip { position: relative; flex: none; width: 132px; display: grid; place-items: center; border: 0; border-radius: 0 999px 999px 0; background-color: var(--grip); color: var(--ink);
  background-image: repeating-linear-gradient(90deg, transparent 0 22px, rgba(23, 26, 16, .22) 22px 23px, transparent 23px 30px), linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, .12));
  box-shadow: inset 0 0 0 1.5px var(--ink); }
.cab-t { position: relative; padding: 4px 8px; border-radius: 6px; background-color: rgba(47, 160, 100, .92); font: 700 12px/1.1 var(--mono); letter-spacing: .1em; text-align: center; }
button.cab-grip:hover .cab-t { background-color: var(--lane); }
.cab.pre .cab-grip { cursor: default; }
.cab-strap { position: absolute; left: 26px; top: -14px; padding: 5px 10px; border-radius: 6px; background-color: var(--grip); color: var(--ink); font: 700 11px/1 var(--mono); letter-spacing: .1em; opacity: 0; pointer-events: none; }
.cab.ok .cab-strap { opacity: 1; }
.cab.ok .cab-grip { background-color: var(--lane); }
.cab-sm { height: 52px; width: min(520px, 100%); }
.cab-sm .cab .ca, .cab-sm .ca { font-size: 13px; }
.cab-sm .cab-grip { width: 108px; }
html.js:not(.rm) .cab.ok { animation: pass .9s var(--ease) 1; }
html.js:not(.rm) .cab.ok .cab-grip { animation: squeeze .18s ease-out 1; }
html.js:not(.rm) .cab-strap { transition: opacity .2s, transform .3s var(--ease); transform: translateY(6px); }
html.js:not(.rm) .cab.ok .cab-strap { transform: none; }
@keyframes pass { 0% { transform: none; } 30% { transform: translateX(14px); } 100% { transform: none; } }
@keyframes squeeze { 50% { transform: scaleY(.94) scaleX(.97); } }

/* header */
.top { position: sticky; top: 0; z-index: 50; height: var(--nav); display: flex; align-items: center; gap: 24px; padding: 0 var(--m);
  background-color: var(--dust); border-bottom: 1px solid var(--ink); }
.top.solid { background-color: rgba(255, 251, 242, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
html.js:not(.rm) .top { transition: background-color .25s; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 2px var(--ink); }
.brand b { font: 800 22px/1 var(--sans); letter-spacing: -.03em; }
.brand small { font: 700 12px/1 var(--mono); letter-spacing: .08em; padding: 5px 7px; border-radius: 5px; box-shadow: inset 0 0 0 1.5px var(--ink); }
.nav { display: flex; gap: 20px; margin: 0 auto; }
.nav a { position: relative; display: flex; gap: 6px; align-items: baseline; padding: 10px 0; font: 600 14px/1 var(--sans); text-decoration: none; }
.nav a span { font: 700 11px/1 var(--mono); color: var(--ink-2); }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 3px; height: 2px; background-color: var(--ink); transform: scaleX(0); transform-origin: 0 50%; }
.nav a:hover::after { transform: scaleX(1); }
html.js:not(.rm) .nav a::after { transition: transform .25s var(--ease); }
.nav-r { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.motion .dot { width: 9px; height: 9px; border-radius: 50%; background-color: var(--grip); box-shadow: 0 0 0 3px rgba(47, 160, 100, .25); }
html.rm .motion .dot { background-color: transparent; box-shadow: inset 0 0 0 1.5px var(--ink-2); }
.menu-btn { display: none; }
.laneline { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; pointer-events: none; }
.laneline i { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background-color: var(--grip); }
.laneline b { position: absolute; top: -3px; left: calc(var(--p, 0) * 100%); width: 16px; height: 9px; margin-left: -16px; border-radius: 5px; background-color: var(--lane); box-shadow: inset 0 0 0 1.5px var(--ink), inset -5px 0 0 var(--grip); }

/* menu sheet */
.sheet { position: fixed; z-index: 60; inset: 0; display: grid; align-content: start; gap: 6px; padding: 76px 24px 32px; background-color: var(--dust); overflow: auto; }
.sheet .eyebrow { margin-bottom: 10px; }
.sheet a.row { display: flex; gap: 14px; align-items: baseline; padding: 12px 0; border-top: 2px solid var(--ink); font: 800 28px/1 var(--sans); letter-spacing: -.02em; text-decoration: none; }
.sheet a.row span { font: 700 13px/1 var(--mono); }
.sheet-x { position: absolute; right: 16px; top: 10px; }
.sheet-r { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* toast */
.toast { position: fixed; z-index: 70; left: 50%; bottom: 24px; transform: translate(-50%, 150%); max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 12px; background-color: var(--ink); color: var(--lane); font-weight: 600; opacity: 0; pointer-events: none; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
html.js:not(.rm) .toast { transition: transform .3s var(--ease), opacity .3s; }

@media (max-width: 1359px) { .nav a span, .brand small { display: none; } .nav { gap: 18px; } }
.top .motion { box-shadow: none; padding: 0 10px; }
.top .motion:hover { box-shadow: inset 0 0 0 2px var(--ink); }
@media (max-width: 374px) { .top .hplay { display: none; } }
@media (min-width: 1100px) and (max-height: 820px) { .sec { padding: 76px 0; } .sh-num { font-size: clamp(64px, 6vw, 96px); margin-bottom: 10px; } }
@media (max-width: 1099px) {
  :root { --m: 24px; }
  .nav, .top .rnd:not(.menu-btn) { display: none; }
  .top .menu-btn { display: inline-grid; }
}
@media (max-width: 699px) {
  :root { --m: 16px; --nav: 56px; }
  body { font-size: 17px; }
  .g12 { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .g12 > * { grid-column: 1 / -1 !important; }
  .sec { padding: 84px 0; }
  .top { gap: 10px; }
  .brand { gap: 9px; } .brand img { width: 34px; height: 34px; } .brand b { font-size: 18px; } .brand small { display: none; }
  .top .motion { display: none; }
  .sh-num { font-size: 64px; margin-bottom: 12px; }
  .pill.sm { height: 40px; padding: 0 14px; font-size: 14px; }
  .intro { font-size: 17px; }
  .cab { height: 68px; }
  .cab .ca { font-size: 14px; white-space: normal; word-break: break-all; line-height: 1.25; }
  .cab-body { padding: 0 12px 0 20px; }
  .cab-grip { width: 84px; }
  .cab-t { font-size: 13px; }
}

/* ==== 10-hero.css ==== */
/* HERO — programme cover: text column on sun-dust with visible grid hairlines, the photo window bleeding right/bottom. */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, min(668px, 48vw)) minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 12px;
  min-height: calc(100svh - var(--nav)); padding-left: var(--m); background-color: var(--dust); isolation: isolate; }
.h-grid { position: absolute; z-index: -1; top: 0; bottom: 0; left: var(--m); width: min(668px, 48vw); display: grid; grid-template-columns: repeat(6, 1fr); pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 36%, transparent 52%); mask-image: linear-gradient(180deg, #000 0, #000 36%, transparent 52%); }
.h-grid i { border-left: 1px solid var(--hair); }
.h-grid i:last-child { border-right: 1px solid var(--hair); }
.h-grid i:nth-child(7) { display: none; }
.h-head { grid-column: 1; grid-row: 1; padding: 28px 24px 0 0; }
.h-head .eyebrow { margin-bottom: 12px; }
h1 { font: 800 clamp(52px, 5.3vw, 84px)/.94 var(--sans); letter-spacing: -.035em; }
h1 .ln { display: block; overflow: hidden; padding-bottom: .07em; margin-bottom: -.07em; }
h1 .ln > span { display: inline-block; }
h1 em { display: block; color: var(--track-ink); font-size: 1.04em; letter-spacing: -.01em; word-spacing: .06em; line-height: .92; }
.h-rest { grid-column: 1; grid-row: 2; padding: 0 24px 28px 0; }
.sub { margin-top: 20px; max-width: 600px; font-size: 18px; line-height: 1.5; }
.h-rest .cab { margin-top: 20px; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.cta .pg { width: 22px; height: 22px; }
.pill.buy.glow { box-shadow: 0 0 0 6px rgba(190, 74, 28, .25), 0 10px 24px rgba(190, 74, 28, .35); }

/* timetable */
.tt { margin-top: 26px; max-width: 668px; border-top: 2px solid var(--ink); }
.tt-h { display: flex; justify-content: space-between; padding: 8px 0 7px; }
.tt-r { display: grid; grid-template-columns: 94px 22px 118px minmax(0, 1fr) 214px; align-items: center; gap: 12px; height: 40px; padding: 0 6px; border-top: 1px solid rgba(23, 26, 16, .28); text-decoration: none; }
.tt-r:last-child { border-bottom: 1px solid rgba(23, 26, 16, .28); }
.tt-r:hover { background-color: rgba(255, 251, 242, .55); }
.tt-r .t { font: 500 13px/1 var(--mono); font-variant-numeric: tabular-nums; }
.tt-r .pg { width: 20px; height: 20px; }
.tt-r b { font: 700 15px/1.1 var(--sans); white-space: nowrap; }
.tt-r .w { font: 400 15px/1.1 var(--sans); color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tt-r .s { display: flex; align-items: center; gap: 7px; font: 700 12px/1 var(--mono); letter-spacing: .06em; white-space: nowrap; }
.tt-r.done { color: var(--ink-2); }
.tt-r.done b { text-decoration: line-through; text-decoration-thickness: 2px; }
.tt-r.now { background-color: rgba(255, 251, 242, .7); box-shadow: inset 3px 0 0 var(--grip); }
.nowdot { width: 9px; height: 9px; border-radius: 50%; background-color: var(--grip); box-shadow: 0 0 0 0 rgba(47, 160, 100, .5); }
[data-wait] { font-variant-numeric: tabular-nums; }

/* the photo window */
.shot { grid-column: 2; grid-row: 1 / span 2; position: relative; overflow: hidden; container-type: size; background-color: #d9a57a; }
.frame { position: absolute; aspect-ratio: 3 / 2; width: max(164cqh, 100cqw); height: auto; top: -2cqh;
  left: clamp(calc(100cqw - max(164cqh, 100cqw)), calc(60cqw - .71 * max(164cqh, 100cqw)), 0px);
  transform: translate3d(var(--px, 0px), calc(var(--out, 0) * -6% + var(--py, 0px)), 0); }
.fi { position: absolute; inset: 0; transform-origin: 72% 55%; }
.fi picture, .h-img, .h-take { position: absolute; inset: 0; width: 100%; height: 100%; }
.h-img, .h-take { max-width: none; object-fit: cover; }
.h-take { opacity: 0; }
.shot.took .h-take { opacity: 1; }
.sheen { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light; opacity: .75;
  background: radial-gradient(ellipse 28% 40% at 30% 30%, rgba(255, 214, 140, .95), rgba(255, 214, 140, 0) 70%); }
.shot::after { content: ''; position: absolute; inset: 0; pointer-events: none; background-color: #fff; opacity: 0; }
.shot.flash::after { opacity: .5; }
.shot { opacity: calc(1 - var(--out, 0) * .1); }

/* the shout (speech bubble) + Take-it ring */
.callout { position: absolute; z-index: 3; left: 3.5%; top: 31%; display: grid; gap: 2px; padding: 12px 16px 11px; border-radius: 14px; background-color: var(--lane); color: var(--ink); text-decoration: none;
  box-shadow: inset 0 0 0 2px var(--ink), 0 12px 24px rgba(23, 26, 16, .22); transform-origin: 100% 100%; }
.callout span { font: 900 28px/1 var(--sans); letter-spacing: -.02em; }
.callout small { font: 700 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.callout::after { content: ''; position: absolute; right: -16px; bottom: 10px; width: 22px; height: 16px; background-color: var(--lane); clip-path: polygon(0 0, 100% 100%, 0 100%); }
.callout::before { content: ''; position: absolute; right: -19px; bottom: 8px; width: 25px; height: 20px; background-color: var(--ink); clip-path: polygon(0 0, 100% 100%, 0 100%); }
.callout:hover { background-color: var(--sun); }
.callout:hover::after { background-color: var(--sun); }
.takeit { position: absolute; z-index: 3; left: 72.6%; top: 57.5%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border: 0; border-radius: 50%; background-color: rgba(255, 251, 242, .18);
  box-shadow: inset 0 0 0 3px var(--lane), 0 0 0 2px rgba(23, 26, 16, .5); }
.takeit span { position: absolute; inset: 14px; border-radius: 50%; background-color: var(--lane); box-shadow: 0 0 0 2px var(--ink); }
.takeit:hover span { background-color: var(--grip); }
.figv { position: absolute; z-index: 2; left: 0; top: 0; bottom: 0; padding: 14px 8px 16px; background-color: var(--dust); writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }
.h-tab { display: none; }
.took { position: absolute; z-index: 4; left: 50px; bottom: 22px; max-width: calc(100% - 74px); padding: 12px 16px; border-radius: 12px; background-color: var(--ink); color: var(--lane); font: 500 14px/1.35 var(--sans);
  opacity: 0; transform: translateY(8px); pointer-events: none; }
.took b { font: 700 13px/1 var(--mono); letter-spacing: .1em; margin-right: 6px; }
.took .took-live { display: none; }
html.live .took .took-live { display: inline; }
.shot.took .took { opacity: 1; transform: none; }

/* motion (never under html.rm) */
html.js:not(.rm) .h-grid i { animation: hdraw .5s var(--ease) both; transform-origin: 50% 0; }
html.js:not(.rm) .h-grid i:nth-child(2) { animation-delay: .04s; } html.js:not(.rm) .h-grid i:nth-child(3) { animation-delay: .08s; }
html.js:not(.rm) .h-grid i:nth-child(4) { animation-delay: .12s; } html.js:not(.rm) .h-grid i:nth-child(5) { animation-delay: .16s; } html.js:not(.rm) .h-grid i:nth-child(6) { animation-delay: .2s; }
@keyframes hdraw { from { transform: scaleY(0); } }
html.js:not(.rm) h1 .ln > span { animation: rise .8s var(--ease) both; }
html.js:not(.rm) h1 .ln:nth-child(2) > span { animation-delay: .06s; }
html.js:not(.rm) h1 em .ln:nth-child(1) > span { animation-delay: .14s; } html.js:not(.rm) h1 em .ln:nth-child(2) > span { animation-delay: .2s; }
@keyframes rise { from { transform: translateY(105%); } }
html.js:not(.rm) .shot { animation: gate .75s var(--ease) .1s both; }
@keyframes gate { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
html.js:not(.rm) .h-rest .cab, html.js:not(.rm) .h-rest .cta { animation: slidein .7s var(--ease) .35s both; }
@keyframes slidein { from { opacity: 0; transform: translateX(-24px); } }
html.js:not(.rm) .tt-r { animation: fadeup .5s var(--ease) both; }
html.js:not(.rm) .tt-r:nth-child(2) { animation-delay: .5s; } html.js:not(.rm) .tt-r:nth-child(3) { animation-delay: .55s; }
html.js:not(.rm) .tt-r:nth-child(4) { animation-delay: .6s; } html.js:not(.rm) .tt-r:nth-child(5) { animation-delay: .65s; }
@keyframes fadeup { from { opacity: 0; transform: translateY(8px); } }
html.js:not(.rm) .hero:not(.still) .fi { animation: nudge 3.4s ease-in-out infinite alternate; }
@keyframes nudge { to { transform: scale(1.012) translateX(-6px); } }
html.js:not(.rm) .hero:not(.still) .sheen { animation: sheen 9s ease-in-out infinite alternate; }
@keyframes sheen { from { transform: translateX(-18%); } to { transform: translateX(22%); } }
html.js:not(.rm) .hero:not(.still) .callout { animation: shout 7s var(--ease) 1.2s infinite; }
@keyframes shout { 0%, 16%, 100% { transform: none; } 4% { transform: scale(1.14) rotate(-3deg); } 8% { transform: scale(.97); } 11% { transform: scale(1.04); } }
html.js:not(.rm) .hero:not(.still) .nowdot { animation: ping 1.6s ease-out infinite; }
@keyframes ping { to { box-shadow: 0 0 0 9px rgba(47, 160, 100, 0); } }
html.js:not(.rm) .hero:not(.still) .takeit { animation: ring 2.4s ease-out infinite; }
@keyframes ring { 0% { box-shadow: inset 0 0 0 3px var(--lane), 0 0 0 2px rgba(23, 26, 16, .5), 0 0 0 0 rgba(255, 251, 242, .7); } 100% { box-shadow: inset 0 0 0 3px var(--lane), 0 0 0 2px rgba(23, 26, 16, .5), 0 0 0 18px rgba(255, 251, 242, 0); } }
html.js:not(.rm) .h-take { transition: opacity .35s ease; }
html.js:not(.rm) .shot::after { transition: opacity .12s; }
html.js:not(.rm) .took { transition: opacity .3s, transform .3s var(--ease); }
html.js:not(.rm) .pill.buy.glow { animation: glow 1.2s ease-out 1; }
@keyframes glow { 50% { box-shadow: 0 0 0 10px rgba(190, 74, 28, .3), 0 10px 24px rgba(190, 74, 28, .35); } }

/* laptops: tighten the column so the timetable stays in the first screen */
@media (min-width: 1100px) and (max-height: 820px) {
  h1 { font-size: clamp(46px, 4.6vw, 70px); }
  .sub { margin-top: 14px; font-size: 17px; }
  .tt { margin-top: 18px; }
  .tt-r { height: 36px; }
}
/* tablet + phone: programme cover order — H1, photo, CA + Buy, then the rest */
@media (max-width: 1099px) {
  .hero { display: flex; flex-direction: column; min-height: 0; padding-left: 0; }
  .h-grid { display: none; }
  .h-head { padding: 22px var(--m) 18px; }
  .shot { height: clamp(440px, 62svh, 640px); flex: none; }
  .h-rest { display: flex; flex-direction: column; padding: 16px var(--m) 32px; }
  .h-rest .cab { order: 1; margin-top: 0; }
  .h-rest .cta { order: 2; }
  .sub { order: 3; }
  .tt { order: 4; max-width: none; }
  .figv { display: none; }
}
@media (max-width: 699px) {
  h1 { font-size: clamp(34px, 9.8vw, 40px); line-height: .97; }
  .h-head { padding: 12px var(--m) 12px; }
  .h-head .eyebrow { display: none; }
  .shot { height: clamp(320px, calc(100svh - 330px), 440px); }
  .h-tab { display: block; position: absolute; z-index: 2; left: 0; top: 0; padding: 8px 12px; background-color: var(--dust); }
  .callout { left: auto; right: 8px; top: 36%; padding: 9px 12px 8px; }
  .callout span { font-size: 22px; }
  .callout small { display: none; }
  .callout::after, .callout::before { right: auto; left: -16px; transform: scaleX(-1); }
  .callout::before { left: -19px; }
  .took { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .h-rest { padding-top: 12px; }
  .cta { margin-top: 12px; }
  .cta .pill { flex: 1 1 calc(50% - 5px); padding: 0 10px; }
  .cta .pill.buy { flex-basis: 100%; }
  .sub { margin-top: 18px; font-size: 16px; }
  .tt-r { grid-template-columns: 70px minmax(0, 1fr) auto; gap: 8px; height: auto; min-height: 44px; padding: 6px 4px; }
  .tt-r .pg, .tt-r .w { display: none; }
  .tt-r .t { font-size: 12.5px; }
  .tt-r .s { font-size: 12px; }
}
html.js:not(.rm) .frame { transition: transform .5s var(--ease); }
@media (max-width: 699px) {
  .frame { width: max(186cqh, 100cqw); top: -4cqh; left: clamp(calc(100cqw - max(186cqh, 100cqw)), calc(56cqw - .71 * max(186cqh, 100cqw)), 0px); }
}

/* tablets: two-line H1, shorter photo so the CA + buttons reach the first screen */
@media (min-width: 700px) and (max-width: 1099px) {
  h1 .ln { display: inline-block; }
  .shot { height: clamp(400px, 48svh, 560px); }
  .callout { left: auto; right: 46%; top: 34%; }
}
/* landscape tablets: back to the two-column cover */
@media (min-width: 900px) and (max-width: 1099px) and (orientation: landscape) {
  .hero { display: grid; min-height: calc(100svh - var(--nav)); padding-left: var(--m); }
  .h-head { padding: 24px 24px 0 0; }
  .h-rest { display: block; padding: 0 24px 24px 0; }
  .h-rest .cab { margin-top: 16px; }
  .shot { height: auto; }
  .tt { display: none; }
  h1 .ln { display: block; }
  h1 { font-size: clamp(44px, 5vw, 60px); }
  .callout { left: 3.5%; right: auto; top: 31%; }
}

/* ==== 60-s06-lap.css ==== */
/* 06 PASS IT ON · 07 Q&A · YOUR LAP (finale) · FOOTER — lead part. Prefixes: pz- qz- lap- f- */
body.lock { overflow: hidden; }
.pill.ink { background-color: var(--ink); color: var(--lane); }
.pill.ink:hover { background-color: #2c3122; }
.pill.ink .mk { filter: invert(1); width: 18px; height: 18px; }

.pz-top { align-items: end; }
.pz-sh { grid-column: 1 / span 7; }
.pz-say { grid-column: 8 / span 5; padding-bottom: 6px; }
.pz-say .intro { margin-top: 0; }
.pz-say .cta { margin-top: 22px; }
.pz-note { margin-top: 18px; }
.pz-kit { margin-top: 64px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px 24px; align-items: end; }
.pz-k { position: relative; }
.pz-k img { width: 100%; object-fit: cover; background-color: var(--tartan); }
.pz-k1 { grid-column: 1 / span 6; } .pz-k1 img { aspect-ratio: 3 / 2; }
.pz-k2 { grid-column: 7 / span 3; } .pz-k2 img { aspect-ratio: 1; width: 82%; margin: 0 auto; border-radius: 50%; box-shadow: 0 0 0 2px var(--ink), 0 12px 24px rgba(79, 59, 38, .18); }
.pz-k3 { grid-column: 10 / span 3; } .pz-k3 img { aspect-ratio: 4 / 5; object-position: 52% 50%; }
.pz-k4 { grid-column: 1 / span 4; } .pz-k5 { grid-column: 5 / span 4; } .pz-k6 { grid-column: 9 / span 4; }
.pz-k4 img, .pz-k5 img, .pz-k6 img { aspect-ratio: 3 / 2; }
.pz-k figcaption { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; padding-top: 10px; border-top: 2px solid var(--ink); }
.pz-save { flex: none; }
.pz-save.done::before { content: '✓ '; white-space: pre; }
html.js:not(.rm) .pz-k img { transition: transform .5s var(--ease); }
html.js:not(.rm) .pz-k:hover img { transform: translateY(-4px); }

.qz { border-top: 2px solid var(--ink); }
.qz-pic { grid-column: 1 / span 5; }
.qz-pic figure { position: sticky; top: calc(var(--nav) + 32px); }
.qz-pic img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.qz-pic figcaption { margin-top: 12px; padding-top: 10px; border-top: 2px solid var(--ink); }
.qz-body { grid-column: 7 / span 6; }
.qz-list { margin-top: 36px; border-bottom: 2px solid var(--ink); }
.qz-list details { border-top: 2px solid var(--ink); }
.qz-list summary { position: relative; display: flex; align-items: center; gap: 14px; min-height: 68px; padding: 14px 44px 14px 0; cursor: pointer; list-style: none; font: 700 22px/1.2 var(--sans); letter-spacing: -.01em; }
.qz-list summary::-webkit-details-marker { display: none; }
.qz-list summary::after { content: '+'; position: absolute; right: 4px; top: 50%; margin-top: -16px; font: 400 32px/1 var(--sans); }
.qz-list details[open] summary::after { content: '−'; }
.qz-list summary:hover { color: var(--ink-2); }
.qz-list p { padding: 0 0 22px 38px; max-width: 36em; font-size: 18px; }
.qz-list p em { font-size: 1.12em; }
html.js:not(.rm) .qz-list details[open] p { animation: qzin .35s var(--ease) 1; }
@keyframes qzin { from { opacity: 0; transform: translateY(-6px); } }

.lap { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; background-color: var(--ink); color: var(--lane); }
.lap-bg { position: absolute; inset: 0; }
.lap-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 50%; }
.lap-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23, 26, 16, .86) 0, rgba(23, 26, 16, .62) 36%, rgba(23, 26, 16, 0) 64%); }
.lap-glow { position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: screen; opacity: .7; background: radial-gradient(ellipse 22% 30% at 57% 24%, rgba(255, 230, 170, .55), rgba(255, 230, 170, 0) 70%); }
html.js:not(.rm) .lap:not(.still) .lap-glow { animation: breathe 6s ease-in-out infinite alternate; }
@keyframes breathe { from { opacity: .55; } to { opacity: 1; } }
.lap-in { position: relative; z-index: 2; width: 100%; padding-top: 96px; padding-bottom: 96px; }
.lap-in > * { max-width: 620px; }
.lap-in .eyebrow { color: var(--sun); margin-bottom: 16px; }
.lap-in h2 { font-size: clamp(44px, 5vw, 76px); }
.lap-line { margin-top: 18px; font-size: 20px; }
.lap-in .cab { margin-top: 28px; }
.lap-in .cta { margin-top: 16px; max-width: 680px; }
.rnd.on-dark { box-shadow: inset 0 0 0 2px var(--lane); } .rnd.on-dark img { filter: invert(1); }

.foot { padding: 88px 0 44px; }
.foot::before { content: ''; display: block; height: 96px; margin: -88px 0 64px; background: url(/img/band-track.webp) 100% 50% / auto 100% no-repeat, linear-gradient(180deg, transparent 7%, rgba(255, 251, 242, .78) 7% 10%, transparent 10% 90%, rgba(255, 251, 242, .78) 90% 93%, transparent 93%), #A2311C; box-shadow: 0 2px 0 var(--lane); }
.f-top { padding-bottom: 28px; border-bottom: 2px solid var(--lane); }
.f-word { display: block; font: 800 clamp(56px, 15vw, 236px)/.8 var(--sans); letter-spacing: -.055em; white-space: nowrap; text-decoration: none; }
.f-word small { display: block; margin-top: 18px; font: 700 13px/1 var(--mono); letter-spacing: .12em; color: var(--sun); }
.marks li:has(> a[hidden]) { display: none; }
.marks:not(:has(a:not([hidden]))) { display: none; }
.marks { display: flex; flex-wrap: wrap; gap: 12px 30px; margin-top: 28px; }
.marks a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 700 16px/1 var(--sans); text-decoration: none; }
.marks a:hover { color: var(--sun); }
.marks img { width: 18px; height: 18px; }
.marks img.inv { filter: invert(1); }
.f-small { margin-top: 22px; max-width: 760px; font-size: 14px; color: rgba(255, 251, 242, .78); }
.f-small + .f-small { margin-top: 8px; }
.f-end { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; margin-top: 36px; }
.f-sign { font-size: 46px; line-height: 1; color: var(--sun); transform: rotate(-3deg); }
.f-btns { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 1099px) {
  .pz-sh, .pz-say { grid-column: 1 / -1; }
  .qz-pic { grid-column: 1 / span 5; } .qz-body { grid-column: 6 / span 7; }
}
@media (max-width: 699px) {
  .pz-kit { display: flex; gap: 14px; margin: 40px calc(-1 * var(--m)) 0; padding: 0 var(--m) 8px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scroll-padding-inline: var(--m); }
  .pz-k { flex: 0 0 82%; scroll-snap-align: start; }
  .pz-k img { aspect-ratio: 4 / 3 !important; }
  .pz-say .cta .pill { flex: 1 1 100%; }
  .qz-pic figure { position: static; }
  .qz-pic img { aspect-ratio: 4 / 3; }
  .qz-list summary { font-size: 19px; min-height: 60px; }
  .qz-list p { padding-left: 0; font-size: 17px; }
  .lap { display: block; min-height: 0; }
  .lap-bg { position: relative; height: 420px; }
  .lap-bg::after { background: linear-gradient(0deg, var(--ink) 0, rgba(23, 26, 16, 0) 40%); }
  .lap-bg img { object-position: 76% 50%; }
  .lap-in { margin-top: -60px; padding-top: 0; padding-bottom: 72px; }
  .lap-line { font-size: 17px; }
  .lap-in .cta .pill { flex: 1 1 calc(50% - 5px); padding: 0 12px; }
  .lap-in .cta .pill.buy { flex-basis: 100%; }
  .qz-body { display: contents; } .qz-body .sh { order: 1; } .qz-pic { order: 2; margin-top: 8px; } .qz-list { order: 3; }
  .foot::before { height: 64px; margin-bottom: 44px; }
}
.nf { min-height: 100svh; display: grid; align-content: center; justify-items: start; gap: 6px; padding: 40px var(--m); max-width: 1000px; }
.nf .cta { margin-top: 26px; }
.nf .pill.lane { box-shadow: inset 0 0 0 2px var(--ink); }
.nf h1 { font: 800 clamp(40px, 4.4vw, 64px)/.98 var(--sans); letter-spacing: -.025em; }
.nf h1 em { display: block; margin-top: .06em; }

/* ==== s01-02.css ==== */
/* 01 ORDER OF EVENTS + 02 RULES OF THE EXCHANGE — part s01-02, class prefix p1-.
   Motion: photo-finish wipes, the scroll-run race clock, the one-time 1/1000 s snap, the lane baton.
   Every hidden/animated state is gated on html.js:not(.rm); under html.rm all of it is static and visible. */

/* ---------------- 01 · ORDER OF EVENTS ---------------- */
.p1-prog, .p1-rules { overflow-x: clip; }
.p1-side { grid-column: 1 / span 4; }
.p1-stick { position: sticky; top: var(--p1-top, calc(var(--nav) + 24px)); }
.p1-tt { grid-column: 5 / span 8; }
.p1-dot { flex: none; display: block; width: 9px; height: 9px; border-radius: 50%; background-color: var(--grip); }

/* the race clock: a timing board */
.p1-clock { position: relative; margin-top: 36px; padding: 16px 20px 16px; border-radius: 16px; background-color: var(--ink); color: var(--lane); box-shadow: 0 16px 30px -10px rgba(79, 59, 38, .45); }
.p1-clock-l { display: flex; align-items: center; gap: 9px; font: 700 12px/1 var(--mono); letter-spacing: .12em; color: rgba(255, 251, 242, .74); }
.p1-clock-l .p1-dot { box-shadow: 0 0 0 0 rgba(47, 160, 100, 0); }
.p1-clock.p1-tick .p1-clock-l .p1-dot { box-shadow: 0 0 0 4px rgba(47, 160, 100, .32); }
.p1-clock.p1-fin .p1-clock-l .p1-dot { border-radius: 2px; background-color: var(--lane); }
.p1-clock-t { margin-top: 14px; font: 700 clamp(40px, 4.3vw, 64px)/.9 var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.035em; white-space: nowrap; }
.p1-hm { color: rgba(255, 251, 242, .42); }
.p1-bar { position: relative; height: 12px; margin-top: 18px; }
.p1-bar::before, .p1-bar-f { content: ''; position: absolute; left: 0; right: 0; top: 5px; height: 2px; background-color: rgba(255, 251, 242, .2); }
.p1-bar-f { background-color: var(--grip); transform-origin: 0 50%; transform: scaleX(var(--p1-p, 0)); }
.p1-bar b { position: absolute; top: 1px; width: 2px; height: 10px; margin-left: -1px; background-color: rgba(255, 251, 242, .5); }
.p1-bar b:nth-of-type(1) { left: 0; } .p1-bar b:nth-of-type(2) { left: 20%; } .p1-bar b:nth-of-type(3) { left: 40%; }
.p1-bar b:nth-of-type(4) { left: 60%; } .p1-bar b:nth-of-type(5) { left: 80%; } .p1-bar b:nth-of-type(6) { left: 100%; }
.p1-bar-d { position: absolute; inset: 0; transform: translateX(calc(var(--p1-p, 0) * 100%)); }
.p1-bar-d::after { content: ''; position: absolute; left: -7px; top: -1px; width: 14px; height: 14px; border-radius: 50%; background-color: var(--grip); box-shadow: 0 0 0 2.5px var(--ink); }
.p1-clock-e { display: flex; gap: 10px; margin-top: 12px; font: 700 12px/1.25 var(--mono); letter-spacing: .1em; }
.p1-clock-n { flex: none; color: rgba(255, 251, 242, .56); }

/* figures */
.p1-ph { position: relative; }
.p1-ph img { width: 100%; object-fit: cover; }
.p1-stands { margin-top: 26px; }
.p1-stands img { aspect-ratio: 4 / 3; object-position: 50% 35%; }
.p1-stands figcaption, .p1-warm figcaption { margin-top: 10px; }

/* photo-finish wipe: a 1px ink line sweeps left → right and uncovers the photo */
.p1-fl { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; }
.p1-fl::before { content: ''; position: absolute; top: -10px; bottom: -10px; left: -1px; width: 1px; background-color: var(--ink); box-shadow: 1px 0 0 rgba(255, 251, 242, .9); }
.p1-fl b { position: absolute; left: 0; top: -10px; transform: translate(-50%, -100%); padding: 4px 6px; border-radius: 4px; background-color: var(--ink); color: var(--lane); font: 700 12px/1 var(--mono); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
/* the photo itself is never clipped (so lazy loading still sees it): a field-coloured cover is cut away instead */
.p1-prog { --p1-bg: var(--tartan); } .p1-rules { --p1-bg: var(--dust); }
.p1-wipe::after { content: ''; position: absolute; inset: 0; z-index: 1; display: none; background-color: var(--p1-bg); pointer-events: none; }
html.js:not(.rm) .p1-wipe:not(.p1-in)::after, html.js:not(.rm) .p1-wipe.p1-go::after { display: block; }
html.js:not(.rm) .p1-wipe.p1-go::after { animation: p1-wipe 1.25s cubic-bezier(.66, 0, .22, 1) both; }
html.js:not(.rm) .p1-wipe.p1-go .p1-fl { animation: p1-scan 1.25s cubic-bezier(.66, 0, .22, 1) both, p1-fade .4s linear 1.25s both; }
@keyframes p1-wipe { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(0 0 0 100%); } }
@keyframes p1-scan { from { transform: translateX(0); } to { transform: translateX(100%); } }
@keyframes p1-fade { from { opacity: 1; } to { opacity: 0; } }

/* timetable rows */
.p1-row { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); grid-template-rows: auto 1fr; column-gap: 24px; align-content: start; padding: 22px 0 88px; border-top: 2px solid var(--ink); }
.p1-row:last-child { padding-bottom: 0; }
.p1-meta { grid-area: m; }
.p1-line { grid-area: l; margin-top: 12px; max-width: 30em; font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.p1-row > .p1-ph, .p1-take, .p1-mod { grid-area: p; }
.p1-time { display: inline-flex; align-items: center; gap: 8px; margin-left: -10px; padding: 7px 10px; border-radius: 6px; font: 500 15px/1 var(--mono); letter-spacing: .03em; font-variant-numeric: tabular-nums; }
.p1-time .p1-dot { display: none; }
.p1-row.p1-now .p1-time { background-color: var(--ink); color: var(--lane); }
.p1-row.p1-now .p1-time .p1-dot { display: block; }
/* the NOW time box swaps instantly (a fading box read as low contrast mid-way) */
.p1-ev { margin-top: 10px; font: 700 32px/1.02 var(--sans); letter-spacing: -.022em; }

.p1-r1 { grid-template-areas: "m m m p p p p p" "l l l p p p p p"; }
.p1-r1 .p1-ph img { aspect-ratio: 3 / 2; object-position: 50% 60%; }
.p1-r2, .p1-r3 { grid-template-rows: auto auto auto; grid-template-areas: "m m m m m . . ." "l l l l l . . ." "p p p p p p p p"; }
.p1-r3 { grid-template-rows: auto auto auto auto; grid-template-areas: "m m m m m . . ." "l l l l l . . ." "p p p p p p p p" "q q q q q q q ."; }
.p1-r2 > .p1-ph, .p1-r3 .p1-take { margin-top: 28px; }
.p1-r2 .p1-ph img { aspect-ratio: 2 / 1; object-position: 62% 52%; }
.p1-r4 { grid-template-areas: "p p p p p m m m" "p p p p p l l l"; }
.p1-r5 { grid-template-areas: "m m p p p p p p" "l l p p p p p p"; }
.p1-r5 .p1-ph img { aspect-ratio: 3 / 2; object-position: 50% 40%; }
.p1-r6 { grid-template-areas: "p p p p m m m m" "p p p p l l l l"; }
.p1-r6 .p1-ph img { aspect-ratio: 1 / 1; }

/* row 3: take-1536 bleeds off the right edge; the one-time 1/1000 s snap */
.p1-take { position: relative; margin-right: calc(-1 * (var(--m) + max(0px, (100vw - 1440px) / 2))); }
.p1-tk { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background-color: #C8663C; }
.p1-tk-in { position: absolute; inset: 0; transform-origin: 52% 70%; }
.p1-tk img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; transform-origin: 52% 70%; }
.p1-gh { display: none; }
.p1-g1 { --p1-go: .42; --p1-gs: .05; } .p1-g2 { --p1-go: .27; --p1-gs: .1; } .p1-g3 { --p1-go: .15; --p1-gs: .16; }
.p1-flash { position: absolute; inset: 0; background-color: var(--lane); opacity: 0; pointer-events: none; }
.p1-stamp { position: absolute; left: 28px; top: 28px; z-index: 2; display: grid; gap: 5px; padding: 10px 14px 11px; border: 2px solid var(--ink); border-radius: 6px; background-color: var(--lane); color: var(--ink);
  font: 700 26px/1 var(--mono); letter-spacing: -.01em; transform: rotate(-3deg); box-shadow: 0 10px 22px rgba(23, 26, 16, .28); }
.p1-stamp span { font-size: 12px; letter-spacing: .14em; color: var(--ink-2); }
html.js:not(.rm) .p1-take:not(.p1-snap) .p1-tk-in { transform: scale(1.05); filter: blur(calc(2.5px + 11.5px * (1 - var(--p1-q, 0)))); will-change: filter; }
html.js:not(.rm) .p1-take:not(.p1-snap) .p1-gh { display: block; opacity: calc(var(--p1-go) * (1 - var(--p1-q, 0) * .55)); transform: scale(calc(1 + var(--p1-gs) * (1 - var(--p1-q, 0) * .6))); }
html.js:not(.rm) .p1-take:not(.p1-snap) .p1-stamp { opacity: 0; }
html.js:not(.rm) .p1-take.p1-flashing .p1-flash { animation: p1-flash .12s linear both; }
html.js:not(.rm) .p1-take.p1-flashing .p1-stamp { animation: p1-stamp .5s cubic-bezier(.2, 1.4, .4, 1) .06s both; }
@keyframes p1-flash { 0%, 30% { opacity: .45; } 100% { opacity: 0; } }
@keyframes p1-stamp { from { opacity: 0; transform: rotate(-3deg) scale(1.2); } to { opacity: 1; transform: rotate(-3deg) scale(1); } }
.p1-q { grid-area: q; margin: 44px 0 0; padding-top: 22px; border-top: 2px solid var(--ink); }
.p1-q p { max-width: 15em; font: italic 700 clamp(30px, 3.05vw, 44px)/1.1 var(--it); letter-spacing: 0; word-spacing: .06em; text-indent: -.4em; padding-left: .4em; }

/* row 4: no photo — the flat baton-green module */
.p1-mod { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background-color: var(--baton); color: var(--lane); }
.p1-mod::after { content: ''; position: absolute; left: 0; right: 0; bottom: 17%; height: 3px; background-color: rgba(255, 251, 242, .55); }
.p1-mod-l, .p1-mod-r { position: absolute; top: 18px; font: 700 12px/1 var(--mono); letter-spacing: .12em; }
.p1-mod-l { left: 20px; } .p1-mod-r { right: 20px; color: rgba(255, 251, 242, .72); }
.p1-run { position: absolute; left: 53%; top: 49%; width: 50%; aspect-ratio: 1; transform: translate(-50%, -50%); }
.p1-run .pg { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--lane); }
.p1-rb { opacity: 0; }
.p1-trail { opacity: .16; transform: translateX(-14%); } .p1-t2 { opacity: .07; transform: translateX(-28%); }
.p1-mod:hover .p1-ra { opacity: 0; } .p1-mod:hover .p1-rb { opacity: 1; }
.p1-sp { position: absolute; left: 0; top: 0; bottom: 0; width: 40%; overflow: hidden; }
.p1-sp i { position: absolute; left: 10%; height: 5px; border-radius: 5px; background-color: rgba(255, 251, 242, .5); }
.p1-sp i:nth-child(1) { top: 34%; width: 38%; } .p1-sp i:nth-child(2) { top: 45%; width: 56%; left: 4%; }
.p1-sp i:nth-child(3) { top: 56%; width: 30%; left: 30%; } .p1-sp i:nth-child(4) { top: 67%; width: 46%; left: 14%; }
html.js:not(.rm) .p1-mod.p1-on .p1-ra { animation: p1-pa .3s steps(1) infinite; }
html.js:not(.rm) .p1-mod.p1-on .p1-rb { animation: p1-pb .3s steps(1) infinite; }
html.js:not(.rm) .p1-mod.p1-on .p1-run { animation: p1-bob .3s ease-in-out infinite alternate; }
html.js:not(.rm) .p1-mod.p1-on .p1-sp i { animation: p1-zip .62s linear infinite; }
.p1-sp i:nth-child(2) { animation-delay: -.2s !important; } .p1-sp i:nth-child(3) { animation-delay: -.45s !important; } .p1-sp i:nth-child(4) { animation-delay: -.33s !important; }
@keyframes p1-pa { 0% { opacity: 1; } 50% { opacity: 0; } }
@keyframes p1-pb { 0% { opacity: 0; } 50% { opacity: 1; } }
@keyframes p1-bob { from { transform: translate(-50%, -50%); } to { transform: translate(-50%, -53%); } }
@keyframes p1-zip { from { transform: translateX(120%); opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } to { transform: translateX(-140%); opacity: 0; } }

/* phone: the clock as a small sticky pill under the header while 01 is on screen */
.p1-pill { position: fixed; z-index: 40; right: var(--m); top: calc(var(--nav) + 10px); display: none; align-items: center; gap: 9px; height: 36px; padding: 0 15px 0 13px; border-radius: 999px;
  background-color: var(--ink); color: var(--lane); box-shadow: 0 8px 20px rgba(23, 26, 16, .28); transform: translateY(-14px); opacity: 0; visibility: hidden; pointer-events: none; white-space: nowrap; }
.p1-pill-t { font: 700 15px/1 var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.p1-pill-e { font: 700 12px/1 var(--mono); letter-spacing: .08em; color: rgba(255, 251, 242, .72); }
.p1-pill.p1-show { opacity: 1; visibility: visible; transform: none; }
html.js:not(.rm) .p1-pill { transition: opacity .25s, transform .35s var(--ease), visibility 0s linear .35s; }
html.js:not(.rm) .p1-pill.p1-show { transition: opacity .25s, transform .35s var(--ease), visibility 0s; }

/* ---------------- 02 · RULES OF THE EXCHANGE ---------------- */
.p1-rhead { align-items: end; }
.p1-rsh { grid-column: 1 / span 6; }
.p1-warm { grid-column: 8 / span 5; }
.p1-warm img { aspect-ratio: 3 / 2; object-position: 50% 55%; }
.p1-ann { display: flex; align-items: center; gap: 16px; margin-top: 32px; max-width: 36em; padding: 14px 24px 14px 14px; border-radius: 18px; background-color: var(--ink); color: var(--lane); font: 600 18px/1.4 var(--sans); }
.p1-ann-i { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background-color: var(--lane); color: var(--ink); }
.p1-ann-i .pg { width: 28px; height: 28px; }
.p1-ann b { font: 700 13px/1 var(--mono); letter-spacing: .12em; margin-right: 3px; }

/* THE LANE: one real track lane, full width; marks at the rule columns; a small baton runs it with scroll */
.p1-lane { position: relative; margin-top: 96px; --p1-h: max(200px, calc(11.6vw + 26px)); }
.p1-band { position: relative; height: var(--p1-h); overflow: hidden; background: #B7461F url(/img/band-track.webp) 0 50% / auto 100% no-repeat; box-shadow: 0 2px 0 var(--ink), 0 -2px 0 var(--ink); }
.p1-band::before { content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: calc(var(--p1-h) * 4.805); background: url(/img/band-track.webp) 100% 50% / auto 100% no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 200px); mask-image: linear-gradient(90deg, transparent, #000 200px); }
.p1-strip { display: none; }
.p1-mark { position: absolute; top: 11%; bottom: 8.6%; left: var(--p1-x); width: 5px; margin-left: -2px; background-color: rgba(255, 251, 242, .88); }
.p1-k0 { --p1-x: var(--p1-m0, calc(max(0px, (100% - 1440px) / 2) + var(--m))); }
.p1-k1 { --p1-x: var(--p1-m1, calc(max(0px, (100% - 1440px) / 2) + var(--m) + (min(100%, 1440px) - 2 * var(--m) + 24px) / 4)); }
.p1-k2 { --p1-x: var(--p1-m2, calc(max(0px, (100% - 1440px) / 2) + var(--m) + (min(100%, 1440px) - 2 * var(--m) + 24px) / 2)); }
.p1-k3 { --p1-x: var(--p1-m3, calc(max(0px, (100% - 1440px) / 2) + var(--m) + (min(100%, 1440px) - 2 * var(--m) + 24px) * .75)); }
.p1-k1, .p1-k2 { background-color: transparent; background-image: repeating-linear-gradient(180deg, rgba(255, 251, 242, .88) 0 16px, transparent 16px 28px); }
.p1-mark b { position: absolute; left: 14px; bottom: 12px; font: 700 18px/1 var(--mono); letter-spacing: .02em; color: rgba(255, 251, 242, .92); white-space: nowrap; }
.p1-bat { position: absolute; z-index: 2; left: 0; top: 50%; width: 128px; height: 28px; margin: -14px 0 0 -64px; border-radius: 999px; background-color: var(--lane);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .95) 0, rgba(255, 255, 255, 0) 42%, rgba(23, 26, 16, 0) 60%, rgba(23, 26, 16, .16) 100%);
  box-shadow: inset 0 0 0 1.5px var(--ink), 0 12px 12px -5px rgba(60, 14, 0, .5); transform: translate3d(var(--p1-x0, 0px), 0, 0); will-change: transform; }
.p1-bat::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 40%; border-radius: 0 999px 999px 0; background-color: var(--grip);
  background-image: repeating-linear-gradient(90deg, transparent 0 7px, rgba(23, 26, 16, .24) 7px 8px), linear-gradient(180deg, rgba(255, 255, 255, .32), rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, .14));
  box-shadow: inset 0 0 0 1.5px var(--ink); }
.p1-bat-sp { position: absolute; right: calc(100% + 8px); top: 50%; width: 130px; height: 20px; margin-top: -10px; opacity: var(--p1-v, 0); transform: scaleX(var(--p1-v, 0)); transform-origin: 100% 50%;
  background-image: linear-gradient(90deg, rgba(255, 251, 242, 0), rgba(255, 251, 242, .9)), linear-gradient(90deg, rgba(255, 251, 242, 0), rgba(255, 251, 242, .9)), linear-gradient(90deg, rgba(255, 251, 242, 0), rgba(255, 251, 242, .9));
  background-size: 70% 2px, 100% 2px, 55% 2px; background-position: 100% 2px, 100% 9px, 100% 16px; background-repeat: no-repeat; }
.p1-tag { position: absolute; left: 50%; bottom: calc(100% + 12px); transform: translateX(-50%); padding: 5px 8px; border-radius: 5px; background-color: var(--ink); color: var(--lane);
  font: 700 12px/1 var(--mono); letter-spacing: .05em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.p1-tag::after { content: ''; position: absolute; left: 50%; top: 100%; margin-left: -5px; border: 5px solid transparent; border-top-color: var(--ink); }

/* the four rules hang under their marks: 65% ink until the baton passes (still readable before it gets there) */
.p1-rule { grid-column: span 3; padding: 26px 12px 0 18px; border-left: 2px solid var(--ink); }
.p1-at { display: inline-block; padding: 6px 9px; border-radius: 5px; font: 700 13px/1 var(--mono); letter-spacing: .08em; box-shadow: inset 0 0 0 1.5px var(--ink); }
.p1-rule.p1-lit .p1-at { background-color: var(--ink); color: var(--lane); }
.p1-rule h3 { margin-top: 16px; font: 800 30px/1.02 var(--sans); letter-spacing: -.025em; }
.p1-rt { max-width: 34em; margin-top: 10px; font-size: 17px; line-height: 1.5; }
.p1-mk { display: inline-flex; align-items: center; gap: 9px; margin-top: 16px; font: 700 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.p1-mk img { width: 22px; height: 22px; }
.p1-cta { margin-top: 18px; }
.p1-pre { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 9px 18px 9px 14px; border-radius: 16px; border: 1.5px dashed var(--ink); font: 700 15px/1.3 var(--sans); }
.p1-pre .pg { width: 26px; height: 26px; }
html.js:not(.rm) .p1-rule { transition: border-color .45s; }
html.js:not(.rm) .p1-rule > * { transition: opacity .5s var(--ease); }
html.js:not(.rm) .p1-at { transition: background-color .3s, color .3s; }
html.js:not(.rm) .p1-rule:not(.p1-lit) { border-left-color: rgba(23, 26, 16, .3); }
html.js:not(.rm) .p1-rule:not(.p1-lit) > * { opacity: .65; }
.p1-fn { margin-top: 64px; font-size: 15px; color: var(--ink-2); }

/* ---------------- responsive ---------------- */
@media (max-width: 1099px) {
  .p1-rule h3 { font-size: 25px; }
  .p1-rt { font-size: 16px; }
  .p1-ev { font-size: 28px; }
}
@media (max-width: 899px) {
  .p1-side, .p1-tt { grid-column: 1 / -1; }
  .p1-stick { position: static; }
  .p1-tt { margin-top: 64px; }
  .p1-pill { display: flex; }
  html.rm .p1-pill { display: none; }
  .p1-r5 { grid-template-areas: "m m m p p p p p" "l l l p p p p p"; }
  .p1-rsh { grid-column: 1 / -1; }
  .p1-warm { grid-column: 1 / span 9; margin-top: 36px; }
}
@media (max-width: 699px) {
  .p1-clock { margin-top: 28px; padding: 14px 16px; }
  .p1-clock-t { font-size: clamp(40px, 12.4vw, 60px); }
  .p1-tt { margin-top: 56px; }
  .p1-row, .p1-r1, .p1-r2, .p1-r4, .p1-r5, .p1-r6 { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: "m" "l" "p"; padding: 18px 0 60px; }
  .p1-r3 { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: "m" "l" "p" "q"; padding: 18px 0 60px; }
  .p1-row:last-child { padding-bottom: 0; }
  .p1-row > .p1-ph, .p1-take, .p1-mod { margin-top: 20px; }
  .p1-r2 > .p1-ph, .p1-r3 .p1-take { margin-top: 20px; }
  .p1-r2 .p1-ph img { aspect-ratio: 3 / 2; }
  .p1-ev { font-size: 28px; margin-top: 8px; }
  .p1-line { margin-top: 8px; }
  .p1-take { margin-right: calc(-1 * var(--m)); }
  .p1-tk { aspect-ratio: 4 / 3; }
  /* phones: no live blur on the stacked exchange photo (too costly to re-rasterise while scrolling); the ghosts + zoom still read as motion */
  html.js:not(.rm) .p1-take:not(.p1-snap) .p1-tk-in { filter: none; will-change: auto; }
  .p1-stamp { left: 14px; top: 14px; font-size: 20px; padding: 8px 11px 9px; }
  .p1-q { margin-top: 32px; }
  .p1-q p { font-size: 30px; }
  .p1-mod-l, .p1-mod-r { top: 14px; } .p1-mod-l { left: 14px; } .p1-mod-r { right: 14px; }
  .p1-fl b { font-size: 12px; }

  .p1-warm { margin-top: 28px; }
  .p1-ann { align-items: flex-start; padding: 14px 16px 14px 12px; font-size: 17px; }
  .p1-ann-i { width: 42px; height: 42px; } .p1-ann-i .pg { width: 24px; height: 24px; }
  .p1-fn { margin-top: 48px; }
}
@media (max-width: 899px) {
  /* the lane turns into a vertical lane down the left edge, rules beside it */
  .p1-lane { margin-top: 56px; }
  .p1-band { position: absolute; left: 0; top: 0; bottom: 0; width: 52px; height: auto; background: none; box-shadow: 2px 0 0 var(--ink); }
  .p1-band::before { display: none; }
  .p1-strip { display: block; position: absolute; left: 0; top: 0; width: var(--p1-len, 1600px); height: 52px; transform-origin: 0 0; transform: rotate(90deg) translateY(-100%);
    background: #B7461F url(/img/band-track.webp) 0 50% / 100% 100% no-repeat; }
  .p1-mark { top: var(--p1-y); bottom: auto; left: 6px; right: 6px; width: auto; height: 4px; margin: -2px 0 0; }
  .p1-k0 { --p1-y: var(--p1-m0, 30px); } .p1-k1 { --p1-y: var(--p1-m1, 30%); } .p1-k2 { --p1-y: var(--p1-m2, 55%); } .p1-k3 { --p1-y: var(--p1-m3, 80%); }
  .p1-k1, .p1-k2 { background-image: repeating-linear-gradient(90deg, rgba(255, 251, 242, .88) 0 8px, transparent 8px 13px); }
  .p1-mark b { left: 50%; bottom: auto; top: 9px; transform: translateX(-50%); font-size: 12px; letter-spacing: 0; }
  .p1-bat { left: 50%; top: 0; width: 20px; height: 80px; margin: -40px 0 0 -10px; transform: translate3d(0, var(--p1-x0, 30px), 0); }
  .p1-bat::after { top: auto; left: 0; right: 0; bottom: 0; width: auto; height: 40%; border-radius: 0 0 999px 999px;
    background-image: repeating-linear-gradient(180deg, transparent 0 7px, rgba(23, 26, 16, .24) 7px 8px), linear-gradient(90deg, rgba(255, 255, 255, .32), rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, .14)); }
  .p1-bat { background-image: linear-gradient(90deg, rgba(255, 255, 255, .95) 0, rgba(255, 255, 255, 0) 42%, rgba(23, 26, 16, 0) 60%, rgba(23, 26, 16, .16) 100%); box-shadow: inset 0 0 0 1.5px var(--ink), 6px 8px 10px -4px rgba(60, 14, 0, .5); }
  .p1-bat-sp { right: auto; top: auto; left: 50%; bottom: calc(100% + 6px); width: 18px; height: 110px; margin: 0 0 0 -9px; transform: scaleY(var(--p1-v, 0)); transform-origin: 50% 100%;
    background-image: linear-gradient(180deg, rgba(255, 251, 242, 0), rgba(255, 251, 242, .9)), linear-gradient(180deg, rgba(255, 251, 242, 0), rgba(255, 251, 242, .9)), linear-gradient(180deg, rgba(255, 251, 242, 0), rgba(255, 251, 242, .9));
    background-size: 2px 70%, 2px 100%, 2px 55%; background-position: 2px 100%, 8px 100%, 14px 100%; }
  .p1-tag { display: none; }
  .p1-list { display: block; padding-left: calc(52px + 18px); }
  .p1-rule { border-left: 0; border-top: 2px solid var(--ink); padding: 18px 0 44px; }
  html.js:not(.rm) .p1-rule:not(.p1-lit) { border-top-color: rgba(23, 26, 16, .3); }
  .p1-rule:last-child { padding-bottom: 8px; }
  .p1-rule h3 { font-size: 26px; margin-top: 12px; }
}
@media (min-width: 700px) and (max-width: 899px) {
  .p1-band { width: 64px; }
  .p1-strip { height: 64px; }
  .p1-list { padding-left: calc(64px + 24px); }
  .p1-bat { width: 22px; height: 92px; margin: -46px 0 0 -11px; }
}

/* ==== s03.css ==== */
/* 03 HAND! — the toy (prefix hd-). The ONLY green field. Stage = exchange camera (16:10, 2px lane frame), board = Swiss
   scoreboard with the fitted call word, 3 baton markers, status + splits, and the one GRAB pill. Motion only under
   html.js:not(.rm); under html.rm every swap is instant and the game stays fully playable. */
.hd { --hd-hair: rgba(255, 251, 242, .32); --hd-deep: #0F4A2C; }
.hd-top { align-items: end; margin-bottom: 44px; }
.hd-sh { grid-column: 1 / 8; }
.hd-rulecol { grid-column: 8 / 13; padding-bottom: 4px; }
.hd .intro.hd-rule { margin-top: 0; }
.hd-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 22px; border-top: 2px solid var(--lane); }
.hd-facts li { padding: 12px 10px 0 0; font: 700 12px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.hd-facts li + li { padding-left: 14px; border-left: 1px solid var(--hd-hair); }
.hd-facts b { display: block; margin-bottom: 6px; font: 900 34px/1 var(--sans); letter-spacing: -.02em; text-transform: none; }

/* ---------- the arena ---------- */
.hd-arena { align-items: start; scroll-margin-top: 2px; }  /* #hand-play: lands nav + 10px down, like bringIntoView */
.hd-stage { grid-column: 1 / 8; position: relative; aspect-ratio: 16 / 10; overflow: hidden; border: 2px solid var(--lane); background-color: var(--hd-deep);
  cursor: pointer; touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
.hd-cam { position: absolute; inset: 0; }
.hd-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; pointer-events: none; }
.hd-ph.on { opacity: 1; }
.hd-ph[data-ph="banner"] { object-position: 60% 50%; transform-origin: 67% 44%; }
.hd-ph[data-ph="call"] { object-position: 50% 42%; }
.hd-ph[data-ph="drop"] { object-position: 50% 60%; }
.hd-ph[data-ph="boop"] { object-position: 45% 40%; }
.hd-ph[data-ph="take"] { object-position: 50% 50%; }
.hd-flash { position: absolute; inset: 0; background-color: var(--lane); opacity: 0; pointer-events: none; }

/* camera furniture */
.hd-lab, .hd-rec, .hd-tapme, .hd-stamp { position: absolute; margin: 0; font: 700 12px/1 var(--mono); letter-spacing: .12em; white-space: nowrap; pointer-events: none; }
.hd-lab { left: 12px; top: 12px; padding: 7px 9px; background-color: var(--lane); color: var(--ink); box-shadow: 0 0 0 1.5px var(--ink); }
.hd-rec { right: 12px; top: 12px; display: flex; align-items: center; gap: 7px; padding: 7px 9px; background-color: var(--ink); color: var(--lane); font-variant-numeric: tabular-nums; }
.hd-rec i { width: 8px; height: 8px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--lane); }
.hd-run .hd-rec i { background-color: var(--grip); box-shadow: none; }
.hd-vf { position: absolute; inset: 12px; pointer-events: none; }
.hd-vf::before, .hd-vf::after { content: ''; position: absolute; bottom: 0; width: 22px; height: 22px; border: 0 solid var(--lane); }
.hd-vf::before { left: 0; border-left-width: 2px; border-bottom-width: 2px; }
.hd-vf::after { right: 0; border-right-width: 2px; border-bottom-width: 2px; }
.hd-tapme { left: 50%; bottom: 16px; transform: translateX(-50%); padding: 9px 14px; border-radius: 999px; background-color: var(--ink); color: var(--lane); display: none; }
.hd-attract .hd-tapme { display: block; }
.hd-tapme { font-size: 13px; }
.hd-run .hd-stage { touch-action: none; }  /* during a round a touch is always a grab, never a scroll */

/* his shout: a lane box with a tail pointing at his mouth (same language as the hero HAND! callout) */
.hd-shout { position: absolute; right: 58%; top: 25%; max-width: 44%; margin: 0; padding: 8px 14px 9px; background-color: var(--lane); color: var(--ink);
  font: 900 clamp(18px, 2.5vw, 36px)/.95 var(--sans); letter-spacing: -.01em; text-align: center; opacity: 0; transform-origin: 100% 70%; pointer-events: none;
  box-shadow: 0 0 0 2px var(--ink), 0 8px 18px rgba(10, 30, 18, .28); }
.hd-shout::before, .hd-shout::after { content: ''; position: absolute; top: 50%; border-style: solid; border-color: transparent; }
.hd-shout::before { right: -21px; margin-top: -2px; border-width: 11px 0 11px 19px; border-left-color: var(--ink); }
.hd-shout::after { right: -15px; margin-top: 1px; border-width: 8px 0 8px 14px; border-left-color: var(--lane); }
.hd-onbanner .hd-shout { right: 43%; top: 21%; }
.hd-shouting .hd-shout { opacity: 1; }

/* result stamp on the photo */
.hd-stamp { right: 14px; bottom: 16px; padding: 11px 14px; background-color: var(--lane); color: var(--ink); font-size: 14px; letter-spacing: .1em; box-shadow: 0 0 0 2px var(--ink); transform: rotate(-3deg); transform-origin: 100% 100%; display: none; }
.hd-done .hd-stamp { display: block; }
.hd-done .hd-vf::after { display: none; }
.hd-done .hd-stage { cursor: default; }

/* ---------- the board ---------- */
.hd-board { grid-column: 8 / 13; align-self: stretch; display: flex; flex-direction: column; }
.hd-live { display: flex; flex-direction: column; border-top: 2px solid var(--lane); }
.hd-bh { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0 8px; border-bottom: 1px solid var(--hd-hair); }
.hd-exn { text-align: right; font-variant-numeric: tabular-nums; }
.hd-wordbox { position: relative; height: 182px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding-bottom: 2px; }
.hd-word { font: 900 var(--hd-fs, 112px)/.9 var(--sans); letter-spacing: -.025em; color: var(--lane); transform-origin: 0 70%; white-space: nowrap; }
.hd-word span { display: block; width: max-content; }
.hd-word.hd-no { opacity: .5; }
.hd-word.hd-no span, .hd-word.hd-x span { text-decoration: line-through; text-decoration-thickness: .085em; }
.hd-word.hd-sys { color: transparent; -webkit-text-stroke: 2px var(--lane); }
.hd-word.hd-time { font-variant-numeric: tabular-nums; letter-spacing: -.035em; }
.hd-wl { position: absolute; left: 0; top: 12px; font: 700 12px/1 var(--mono); letter-spacing: .12em; }
.hd-meas { position: absolute; left: 0; top: 0; visibility: hidden; white-space: nowrap; font: 900 100px/1 var(--sans); letter-spacing: -.025em; pointer-events: none; }
.hd-only { min-height: 36px; padding: 6px 0 4px; font: italic 700 22px/1.2 var(--it); }
.hd-marks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--hd-hair); border-bottom: 1px solid var(--hd-hair); }
.hd-mk { display: grid; gap: 9px; padding: 10px 10px 10px 0; }
.hd-mk + .hd-mk { padding-left: 14px; border-left: 1px solid var(--hd-hair); }
.hd-mk-n { font: 700 12px/1 var(--mono); letter-spacing: .12em; }
.hd-mk-t { font: 700 16px/1 var(--mono); font-variant-numeric: tabular-nums; }
/* the pictogram baton: white body, green grip — fills on a clean exchange, falls over on a DQ */
.hd-bt { position: relative; display: block; width: 68px; height: 14px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--lane); }
.hd-bt::after { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 24px; border-radius: 0 999px 999px 0; box-shadow: inset 0 0 0 1.5px var(--lane); }
.hd-mk.is-now .hd-bt { box-shadow: inset 0 0 0 2px var(--lane), 0 0 0 3px rgba(255, 251, 242, .22); }
.hd-mk.is-ok .hd-bt { background-color: var(--lane); background-image: linear-gradient(180deg, rgba(255, 255, 255, .8), rgba(23, 26, 16, .12)); box-shadow: inset 0 0 0 1.5px var(--ink); }
.hd-mk.is-ok .hd-bt::after { background-color: var(--grip); box-shadow: inset 0 0 0 1.5px var(--ink); }
.hd-mk.is-dq .hd-bt { transform: translateY(3px) rotate(14deg); background-image: repeating-linear-gradient(135deg, rgba(255, 251, 242, .5) 0 3px, transparent 3px 7px); }
.hd-status { min-height: 50px; padding-top: 11px; font: 700 14px/1.45 var(--mono); letter-spacing: .01em; }
.hd-status.hd-joke { padding-top: 10px; font: italic 700 21px/1.22 var(--it); letter-spacing: -.005em; }
.hd-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 6px 0 0; font: 700 12px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.hd-best b { font-weight: 700; }
.hd-grab { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 14px; width: 100%; height: 72px; margin-top: 12px;
  border: 0; border-radius: 999px; background-color: var(--lane); color: var(--ink); font: 900 28px/1 var(--sans); letter-spacing: .08em;
  box-shadow: 0 6px 0 var(--hd-deep), 0 14px 26px rgba(10, 30, 18, .35); touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.hd-grab .pg { width: 32px; height: 32px; }
.hd-run .hd-grab { position: sticky; bottom: max(12px, env(safe-area-inset-bottom)); }
.hd-grab:hover { background-color: #fff; }
.hd-grab:active, .hd-grab.hd-hit { transform: translateY(5px); box-shadow: 0 1px 0 var(--hd-deep), 0 6px 14px rgba(10, 30, 18, .3); }
.hd-grab:focus-visible { outline: 3px solid var(--lane); outline-offset: 4px; }

/* ---------- the result card (replaces the live board) ---------- */
.hd-card { flex: 1 0 auto; display: flex; flex-direction: column; border-top: 2px solid var(--lane); outline: none; }
.hd-card-e { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0 10px; border-bottom: 1px solid var(--hd-hair); }
.hd-card-v { padding: 3px 7px; margin: -3px 0; background-color: var(--lane); color: var(--ink); }
.hd-card-h { padding-top: 14px; font: 800 24px/1.1 var(--sans); letter-spacing: -.015em; }
.hd-card-k { margin-top: 16px; }
.hd-card-t { margin-top: 4px; font: 900 clamp(64px, 6.8vw, 100px)/.88 var(--sans); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.hd-card-u { margin-top: 16px; font: 800 20px/1.2 var(--sans); }
.hd-card-u:empty { display: none; }
.hd-card-g { margin-top: 10px; font: italic 700 24px/1.2 var(--it); }
.hd-card-s { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 16px; border-top: 1px solid var(--hd-hair); border-bottom: 1px solid var(--hd-hair); }
.hd-card-s li { padding: 10px 8px 10px 0; font: 700 12px/1 var(--mono); letter-spacing: .12em; }
.hd-card-s li + li { padding-left: 12px; border-left: 1px solid var(--hd-hair); }
.hd-card-s b { display: block; margin-top: 7px; font: 700 18px/1 var(--mono); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.hd-card-d, .hd-card-b { margin-top: 10px; font: 700 12px/1.45 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.hd-new { margin-left: 6px; padding: 2px 6px; background-color: var(--lane); color: var(--ink); }
.hd-card-a { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 18px; }
.hd-save.hd-ok { background-color: var(--grip); color: var(--ink); }

/* ---------- motion (never under html.rm) ---------- */
html.js:not(.rm) .hd:not(.hd-in) .hd-stage { clip-path: inset(0 100% 0 0); }
html.js:not(.rm) .hd:not(.hd-in) .hd-board { opacity: 0; transform: translateY(24px); }
html.js:not(.rm) .hd-stage { transition: clip-path .7s var(--ease); }
html.js:not(.rm) .hd-board { transition: opacity .5s .15s, transform .6s .15s var(--ease); }
html.js:not(.rm) .hd-attract .hd-ph[data-ph="banner"] { animation: hd-breathe 3.4s ease-in-out infinite alternate; }
html.js:not(.rm) .hd-zoom .hd-ph[data-ph="banner"] { transform: scale(1.3); transition: transform var(--hd-dur, 3s) cubic-bezier(.5, 0, .9, .7); }
html.js:not(.rm) .hd-punch .hd-ph[data-ph="call"] { animation: hd-punch .22s var(--ease) 1; }
html.js:not(.rm) .hd-shaking .hd-cam { animation: hd-shake .34s linear 1; }
html.js:not(.rm) .hd-flashing .hd-flash { animation: hd-flash .15s ease-out 1; }
html.js:not(.rm) .hd-shouting .hd-shout { animation: hd-pop .16s var(--ease) 1; }
html.js:not(.rm) .hd-word.hd-slam { animation: hd-slam .12s ease-out 1; }
html.js:not(.rm) .hd-run .hd-rec i { animation: hd-blink 1s steps(2, jump-none) infinite; }
html.js:not(.rm) .hd-mk.is-now .hd-bt { animation: hd-now 1s ease-in-out infinite alternate; }
html.js:not(.rm) .hd-grab.hd-ping { animation: hd-ping .9s ease-out 1; }
html.js:not(.rm) .hd-done .hd-stamp { animation: hd-stamp .32s var(--ease) 1; }
html.js:not(.rm) .hd-mk .hd-bt { transition: transform .35s var(--ease), background-color .2s; }
.hd-off .hd-ph, .hd-off .hd-rec i, .hd-off .hd-bt { animation-play-state: paused !important; }
@keyframes hd-breathe { from { transform: scale(1); } to { transform: scale(1.06); } }
@keyframes hd-punch { from { transform: scale(1.07); } to { transform: none; } }
@keyframes hd-shake { 0%, 100% { transform: none; } 15% { transform: translateX(-6px); } 35% { transform: translateX(6px); } 55% { transform: translateX(-5px); } 75% { transform: translateX(4px); } 90% { transform: translateX(-2px); } }
@keyframes hd-flash { from { opacity: .75; } to { opacity: 0; } }
@keyframes hd-pop { from { transform: scale(.82); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes hd-slam { from { transform: scale(1.3); opacity: .35; } to { transform: none; opacity: 1; } }
@keyframes hd-blink { 50% { opacity: .15; } }
@keyframes hd-now { to { box-shadow: inset 0 0 0 2px var(--lane), 0 0 0 6px rgba(255, 251, 242, .08); } }
@keyframes hd-ping { 0% { box-shadow: 0 6px 0 var(--hd-deep), 0 0 0 0 rgba(255, 251, 242, .7); } 100% { box-shadow: 0 6px 0 var(--hd-deep), 0 0 0 18px rgba(255, 251, 242, 0); } }
@keyframes hd-stamp { from { transform: rotate(-3deg) scale(1.35); opacity: 0; } to { transform: rotate(-3deg); opacity: 1; } }

/* ---------- widths ---------- */
@media (max-width: 1239px) {
  .hd-wordbox { height: 170px; }
  .hd-card-t { font-size: 72px; }
}
/* narrow desktops: the board is taller than a 16:10 frame, so the camera stretches to the board (photos crop to centre) */
@media (max-width: 1239px) and (min-width: 900px) {
  .hd-stage { align-self: stretch; aspect-ratio: auto; min-height: 340px; }
}
@media (max-width: 1099px) {
  .hd-sh { grid-column: 1 / -1; }
  .hd-rulecol { grid-column: 1 / 10; }
  .hd-wordbox { height: 150px; }
  .hd-key { display: none; }
  .hd-card-t { font-size: 60px; }
  .hd-card-g { font-size: 21px; }
  .hd-card-a .pill { height: 48px; padding: 0 16px; font-size: 15px; }
}
/* portrait tablets: the stage on top, the board as two columns under it */
@media (max-width: 899px) and (min-width: 700px) {
  .hd-rulecol { grid-column: 1 / -1; }
  .hd-stage { grid-column: 1 / -1; }
  .hd-board { grid-column: 1 / -1; }
  .hd-live { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: 24px; }
  .hd-bh { grid-column: 1 / -1; }
  .hd-wordbox, .hd-only { grid-column: 1; }
  .hd-wordbox { grid-row: 2; height: 128px; }
  .hd-only { grid-row: 3; }
  .hd-marks { grid-column: 2; grid-row: 2; align-self: end; }
  .hd-status { grid-column: 2; grid-row: 3 / 5; }
  .hd-foot { grid-column: 1; grid-row: 4; }
  .hd-grab { grid-column: 1 / -1; grid-row: 5; }
  .hd-card-t { font-size: 72px; }
}
/* short landscape screens: stage + board side by side, compact, so GRAB, the word and the stage all fit */
@media (min-width: 700px) and (max-height: 600px) {
  .hd-stage { grid-column: 1 / 8 !important; }
  .hd-board { grid-column: 8 / 13 !important; }
  .hd-live { display: flex; }
  .hd-bh { padding: 6px 0; }
  .hd-wordbox { height: 96px !important; }
  .hd-wl, .hd-only, .hd-foot, .hd-mk-n { display: none; }
  .hd-mk { padding: 8px 6px 8px 0; }
  .hd-status { min-height: 0; padding-top: 6px; font-size: 12px; }
  .hd-status.hd-joke { font-size: 15px; }
  .hd-grab { height: 56px; margin-top: 8px; font-size: 22px; }
}
@media (max-width: 699px) {
  .hd-top { margin-bottom: 28px; }
  .hd .intro.hd-rule { font-size: 17px; }
  .hd-facts b { font-size: 28px; }
  .hd-arena { gap: 12px; }
  .hd-stage { aspect-ratio: 358 / 240; }
  .hd-lab, .hd-rec { top: 8px; padding: 6px 7px; font-size: 12px; letter-spacing: .08em; }
  .hd-lab { left: 8px; } .hd-rec { right: 8px; }
  .hd-vf { inset: 8px; }
  .hd-vf::before, .hd-vf::after { width: 16px; height: 16px; }
  .hd-shout { top: 27%; padding: 6px 9px 7px; font-size: 17px; }
  .hd-shout::after { right: -11px; border-left-width: 12px; border-top-width: 7px; border-bottom-width: 7px; }
  .hd-tapme { bottom: 12px; font-size: 13px; }
  .hd-stamp { right: 10px; bottom: 12px; padding: 9px 11px; font-size: 12px; }
  .hd-bh { padding: 9px 0 8px; }
  .hd-wordbox { height: 122px; }
  .hd-wl { top: 9px; font-size: 12px; }
  .hd-status.hd-joke { font-size: 18px; }
  .hd-onbanner .hd-shout { right: 40%; top: 24%; }
  .hd-only { min-height: 30px; padding: 4px 0 2px; font-size: 19px; }
  .hd-mk { gap: 7px; padding: 10px 6px 10px 0; }
  .hd-mk + .hd-mk { padding-left: 10px; }
  .hd-bt { width: 56px; height: 12px; }
  .hd-bt::after { width: 20px; }
  .hd-mk-t { font-size: 14px; }
  .hd-status { min-height: 52px; padding-top: 9px; font-size: 13px; line-height: 1.4; }
  .hd-key { display: none; }
  .hd-grab { height: 68px; margin-top: 12px; font-size: 26px; }
  .hd-card-h { font-size: 20px; padding-top: 12px; }
  .hd-card-k { margin-top: 12px; }
  .hd-card-t { font-size: 64px; }
  .hd-card-g { font-size: 21px; }
  .hd-card-u { font-size: 18px; }
  .hd-card-s b { font-size: 16px; }
  .hd-card-a .hd-save, .hd-card-a .hd-buy { flex: 1 1 100%; }
  .hd-card-a .hd-post, .hd-card-a .hd-again { flex: 1 1 0; padding: 0 12px; }
}
/* narrow phones (320-374 px): 12px camera labels would touch, so tighten their tracking */
@media (max-width: 374px) {
  .hd-lab, .hd-rec { letter-spacing: .02em; }
}
/* short phones (320x640, 375x667): a tighter board so the stage, the word and GRAB still share one screen.
   Kept LAST so it beats the general max-width:699px rules above (same specificity). */
@media (max-width: 699px) and (max-height: 720px) {
  .hd-wordbox { height: 96px; }
  .hd-wl, .hd-foot { display: none; }
  .hd-only { min-height: 26px; font-size: 17px; }
  .hd-mk { padding: 8px 6px 8px 0; gap: 6px; }
  .hd-status { min-height: 40px; padding-top: 7px; font-size: 12px; }
  .hd-status.hd-joke { font-size: 16px; }
  .hd-grab { height: 60px; margin-top: 10px; font-size: 24px; }
}

/* ==== s04-05.css ==== */
/* 04 START LIST (sl-) + 05 OFFICIAL RESULTS (rs-). Part s04-05. Spotlight + photo-finish line are driven by CSS custom
   properties that s04-05.js writes (CSSOM only, CSP-safe). Entrance states are gated on html.js:not(.rm). */

/* registered so the spotlight can glide (falls back to a jump where @property is missing) */
@property --sl-x { syntax: '<percentage>'; inherits: true; initial-value: 61%; }
@property --sl-y { syntax: '<percentage>'; inherits: true; initial-value: 57%; }
@property --sl-rx { syntax: '<percentage>'; inherits: true; initial-value: 12%; }
@property --sl-ry { syntax: '<percentage>'; inherits: true; initial-value: 35%; }
@property --sl-tx { syntax: '<percentage>'; inherits: true; initial-value: 61%; }
@property --sl-ty { syntax: '<percentage>'; inherits: true; initial-value: 85%; }

/* ---------------- 04 START LIST ---------------- */
/* desktop: head + table + form on the left (cols 1-6); the team photo rides sticky on the right and bleeds off the edge */
.sl-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.sl-sh { grid-column: 1 / span 6; grid-row: 1; }
.sl-sh h2 { max-width: 9.5em; }
.sl-stage { display: contents; }
.sl-fig { grid-column: 7 / -1; grid-row: 1 / span 3; position: sticky; top: calc(var(--nav) + 32px); margin-top: 26px; margin-right: calc(-1 * (var(--m) + max(0px, (100vw - 1440px) / 2))); }
.sl-cap { margin-top: 12px; padding-right: var(--m); max-width: 62em; }
.sl-ph { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background-color: var(--ink-2);
  --sl-x: 61%; --sl-y: 57%; --sl-rx: 12%; --sl-ry: 35%; --sl-tx: 61%; --sl-ty: 85%; }
.sl-ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.sl-ph::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: soft-light;
  background-image: radial-gradient(var(--sl-rx) var(--sl-ry) at var(--sl-x) var(--sl-y), rgba(255, 226, 170, .38) 0%, rgba(255, 226, 170, 0) 70%); }
.sl-spot { position: absolute; inset: 0; z-index: 1; pointer-events: none; background-color: rgba(23, 26, 16, .24);
  -webkit-backdrop-filter: saturate(.8); backdrop-filter: saturate(.8);
  -webkit-mask-image: radial-gradient(var(--sl-rx) var(--sl-ry) at var(--sl-x) var(--sl-y), transparent 0%, transparent 62%, #000 100%);
  mask-image: radial-gradient(var(--sl-rx) var(--sl-ry) at var(--sl-x) var(--sl-y), transparent 0%, transparent 62%, #000 100%); }
.sl-tag { position: absolute; z-index: 2; left: var(--sl-tx); top: var(--sl-ty); transform: translateX(-50%); display: flex; align-items: center; gap: 8px; margin: 0;
  padding: 5px 11px 5px 5px; border-radius: 7px; background-color: var(--ink); color: var(--lane); white-space: nowrap; box-shadow: 0 6px 16px rgba(23, 26, 16, .3); }
.sl-tag-n { padding: 5px 7px; border-radius: 4px; background-color: var(--grip); color: var(--ink); font: 700 12px/1 var(--mono); letter-spacing: .08em; }
.sl-tag-t { font: 800 15px/1 var(--sans); letter-spacing: .01em; }
html.js:not(.rm) .sl-ph { transition: --sl-x .45s var(--ease), --sl-y .45s var(--ease), --sl-rx .45s var(--ease), --sl-ry .45s var(--ease), --sl-tx .45s var(--ease), --sl-ty .45s var(--ease); }
html.js:not(.rm) .sl-ph.sl-wide { --sl-rx: 110% !important; --sl-ry: 170% !important; }
html.js:not(.rm) .sl-ph.sl-wide .sl-tag { opacity: 0; transform: translate(-50%, 8px); }
html.js:not(.rm) .sl-tag { transition: opacity .35s .3s, transform .45s var(--ease); }
.sl-tag-t, .sl-flip, .sl [data-runner], .rs [data-runner] { display: inline-block; }
html.js:not(.rm) .sl-flip { animation: sl-flip .5s var(--ease) 1; }

/* the Swiss start-list table: LEG | RUNNER (+ note under it) | PB */
.sl-list { grid-column: 1 / span 6; grid-row: 2; position: relative; z-index: 0; isolation: isolate; margin-top: 64px; }
.sl-hd, .sl-row { display: grid; grid-template-columns: 122px minmax(0, 1fr) auto; grid-template-areas: 'leg who pb' 'leg note note'; column-gap: 20px; align-items: baseline; }
.sl-hd { padding: 11px 0 10px; border-top: 2px solid var(--ink); font: 700 12px/1 var(--mono); letter-spacing: .12em; color: var(--ink-2); }
.sl-hd span:first-child { grid-area: leg; text-align: right; padding-right: 16px; }
.sl-hd span:nth-child(2) { grid-area: who; }
.sl-hd span:last-child { grid-area: pb; text-align: right; padding-right: 16px; }
.sl-row { position: relative; padding: 20px 0 21px; cursor: pointer; }
.sl-row::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background-color: var(--ink); transform-origin: 0 50%; }
.sl-row:last-child { border-bottom: 2px solid var(--ink); }
.sl-row::after { content: ''; position: absolute; inset: 2px 0 0; z-index: -1; background-color: var(--lane); opacity: 0; }
.sl-row.sl-on::after { opacity: 1; }
html.js:not(.rm) .sl-row::after { transition: opacity .3s; }
.sl-row > [role='cell'] { position: relative; }
.sl-leg { grid-area: leg; align-self: start; font: 900 44px/.8 var(--sans); letter-spacing: -.04em; text-align: right; padding: 1px 16px 0 0; }
.sl-who { grid-area: who; font: 800 22px/1.12 var(--sans); letter-spacing: -.005em; }
.sl-pick { display: inline; padding: 0; border: 0; background: none; font: inherit; letter-spacing: inherit; text-align: left; text-decoration: none; }
.sl-pick:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.sl-was { position: relative; text-decoration: none; color: var(--ink-2); margin-right: 3px; }
.sl-was::after { content: ''; position: absolute; left: -4px; right: -4px; top: 50%; height: 3px; border-radius: 2px; background-color: var(--ink); transform: rotate(-5deg); }
.sl-late { display: inline-block; vertical-align: 3px; margin-left: 6px; padding: 5px 7px 4px; border-radius: 4px; background-color: var(--ink); color: var(--lane); font: 700 12px/1 var(--mono); letter-spacing: .1em; white-space: nowrap; }
.sl-note { grid-area: note; margin-top: 7px; padding-right: 16px; font-size: 15.5px; line-height: 1.45; max-width: 34em; }
.sl-pb { grid-area: pb; font: 700 19px/1 var(--mono); text-align: right; padding-right: 16px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sl-pbt { display: inline-block; margin-left: 4px; padding: 4px 5px 3px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px var(--ink); font-size: 12px; letter-spacing: .08em; vertical-align: 2px; }
.sl-pb-s { font: 700 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.sl-you-s { position: absolute; left: 0; top: 17px; transform: rotate(-8deg); font-size: 24px; line-height: 1; color: var(--ink); white-space: nowrap; pointer-events: none; }
/* rows draw in: an ink rule runs left to right, then the row fades up */
html.js:not(.rm) .sl-row::before { transition: transform .7s var(--ease); }
html.js:not(.rm) .sl-row > * { transition: opacity .5s .15s, transform .6s .15s var(--ease); }
html.js:not(.rm) .sl-list:not(.sl-drawn) .sl-row::before { transform: scaleX(0); }
html.js:not(.rm) .sl-list:not(.sl-drawn) .sl-row > * { opacity: 0; transform: translateY(12px); }
html.js:not(.rm) .sl-list:not(.sl-drawn) .sl-row > .sl-you-s { transform: translate(-10px, 0) rotate(-8deg); }
html.js:not(.rm) .sl-row:nth-child(3)::before { transition-delay: .12s; } html.js:not(.rm) .sl-row:nth-child(3) > * { transition-delay: .27s; }
html.js:not(.rm) .sl-row:nth-child(4)::before { transition-delay: .24s; } html.js:not(.rm) .sl-row:nth-child(4) > * { transition-delay: .39s; }
html.js:not(.rm) .sl-row:nth-child(5)::before { transition-delay: .36s; } html.js:not(.rm) .sl-row:nth-child(5) > * { transition-delay: .51s; }
html.js:not(.rm) .sl-row > .sl-you-s { transition: opacity .4s 1s, transform .6s 1s var(--ease); }

/* the late-change form (a slip under the table) */
.sl-form { grid-column: 1 / span 6; grid-row: 3; margin-top: 56px; padding-top: 11px; border-top: 2px solid var(--ink); }
.sl-lab { display: block; margin: 18px 0 14px; font: 800 26px/1.08 var(--sans); letter-spacing: -.02em; }
.sl-field { display: flex; gap: 8px; max-width: 540px; }
.sl-in { flex: 1; min-width: 0; height: 56px; padding: 0 22px; border: 2px solid var(--ink); border-radius: 999px; background-color: var(--lane); color: var(--ink);
  font: 700 18px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.sl-in::placeholder { color: var(--ink-2); opacity: .75; }
.sl-in:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.pill.sl-put { flex: none; background-color: var(--ink); color: var(--lane); box-shadow: 0 8px 18px rgba(23, 26, 16, .18); }
.pill.sl-put:hover { background-color: #2B2F21; }
.sl-help { margin-top: 10px; font-size: 14.5px; color: var(--ink-2); }
.sl-ok { margin-top: 6px; font: 700 12px/1.4 var(--mono); letter-spacing: .08em; }
.sl-ok:empty { display: none; }
.sl-appr { display: flex; gap: 10px; align-items: flex-start; margin-top: 24px; padding-top: 12px; border-top: 1px solid var(--ink); font: 700 12px/1.45 var(--mono); letter-spacing: .1em; }
.sl-appr .pg { width: 22px; height: 22px; margin-top: -2px; }
@keyframes sl-flip { 0% { transform: rotateX(0); } 45% { transform: rotateX(90deg); } 55% { transform: rotateX(-90deg); } 100% { transform: rotateX(0); } }

/* ---------------- 05 OFFICIAL RESULTS ---------------- */
.rs-top { align-items: end; }
.rs-sh { grid-column: 1 / span 7; }
.rs-intro { grid-column: 8 / -1; margin: 0 0 6px; }

/* photo finish */
.rs-pf { margin-top: 64px; }
.rs-pf-h { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0 10px; border-top: 2px solid var(--ink); }
.rs-pf-win { position: relative; aspect-ratio: 16 / 6; overflow: hidden; background-color: var(--ink-2); cursor: ew-resize; touch-action: pan-y; -webkit-user-select: none; user-select: none;
  --rs-x: 72.9%; }
.rs-pf-win img { position: absolute; left: 0; top: -29.51%; width: 100%; max-width: none; height: auto; pointer-events: none; -webkit-user-drag: none; }
.rs-pf-line { position: absolute; top: 0; bottom: 0; left: var(--rs-x); width: 44px; margin-left: -22px; cursor: ew-resize; touch-action: pan-y; }
.rs-pf-line::before { content: ''; position: absolute; top: 0; bottom: 0; left: 21px; width: 2px; background-color: var(--lane); box-shadow: 0 0 0 1px var(--ink); }
.rs-pf-line:focus-visible { outline: none; }
.rs-pf-knob { position: absolute; left: 50%; bottom: 16px; width: 40px; height: 40px; margin-left: -20px; border-radius: 50%; background-color: var(--lane); box-shadow: inset 0 0 0 1.5px var(--ink), 0 6px 14px rgba(23, 26, 16, .3); }
.rs-pf-knob::before, .rs-pf-knob::after { content: ''; position: absolute; top: 50%; width: 0; height: 0; margin-top: -6px; border: 6px solid transparent; }
.rs-pf-knob::before { left: 5px; border-right: 7px solid var(--ink); border-left-width: 0; }
.rs-pf-knob::after { right: 5px; border-left: 7px solid var(--ink); border-right-width: 0; }
/* lane, ink, lane rings: the focus shows on any part of the photo */
.rs-pf-line:focus-visible .rs-pf-knob { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 0 9px var(--lane), 0 6px 14px rgba(23, 26, 16, .3); }
.rs-pf-tag { position: absolute; top: 16px; left: var(--rs-tl, 60%); display: flex; align-items: baseline; gap: 9px; margin: 0; padding: 8px 12px 7px; border-radius: 7px;
  background-color: var(--ink); color: var(--lane); white-space: nowrap; pointer-events: none; box-shadow: 0 8px 18px rgba(23, 26, 16, .3); }
.rs-pf-t { font: 700 17px/1 var(--mono); font-variant-numeric: tabular-nums; }
.rs-pf-p { font: 700 13px/1 var(--mono); letter-spacing: .02em; }
.rs-lc { text-transform: none; }
.rs-pf-tag.rs-hit { background-color: var(--lane); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink), 0 8px 18px rgba(23, 26, 16, .3); }
.rs-pf-tag.rs-hit .rs-pf-p::before { content: '✓ '; }
.rs-pf-scale { position: relative; height: 38px; background-color: var(--lane); border-bottom: 2px solid var(--ink); overflow: hidden; }
.rs-tk { position: absolute; bottom: 0; left: var(--x); width: 1px; height: 7px; background-color: var(--ink); }
.rs-tk.rs-mj { height: 13px; width: 2px; margin-left: -1px; }
.rs-tl { position: absolute; top: 5px; left: var(--x); transform: translateX(-50%); padding: 3px 5px 2px; border-radius: 3px; font: 500 12px/1 var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rs-tl.rs-of { background-color: var(--ink); color: var(--lane); font-weight: 700; }
.rs-pf-note { margin-top: 10px; }

/* the results sheet */
.rs-sheet { margin-top: 88px; align-items: start; }
.rs-pod { grid-column: 1 / span 4; position: sticky; top: calc(var(--nav) + 28px); }
.rs-pod-ph { aspect-ratio: 4 / 5; overflow: hidden; background-color: var(--ink-2); }
.rs-pod-ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.rs-pod .fig { margin-top: 12px; }
.rs-body { grid-column: 5 / -1; padding-left: 32px; }
.rs-h3 { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 11px 0 10px; border-top: 2px solid var(--ink); font-size: inherit; }
.rs-wind { color: var(--ink-2); }
.rs-list { border-bottom: 2px solid var(--ink); }
.rs-r { position: relative; display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; column-gap: 18px; align-items: baseline; padding: 18px 16px 20px 14px; }
.rs-r::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background-color: var(--ink); transform-origin: 0 50%; }
.rs-win { background-color: var(--lane); }
.rs-pos { font: 900 52px/.8 var(--sans); letter-spacing: -.04em; }
.rs-team b { display: block; font: 800 27px/1.05 var(--sans); letter-spacing: -.015em; }
.rs-sub { display: block; margin-top: 6px; font-size: 16px; line-height: 1.4; color: var(--ink-2); }
.rs-time { font: 700 26px/1 var(--mono); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.rs-wr { display: inline-block; margin-left: 6px; padding: 5px 7px 4px; border-radius: 4px; background-color: var(--ink); color: var(--lane); font-size: 12px; letter-spacing: .08em; vertical-align: 4px; }
.rs-foot { margin-top: 12px; font-size: 15px; color: var(--ink-2); }
.rs-foot b { font: 700 12px/1 var(--mono); letter-spacing: .08em; color: var(--ink); margin-right: 4px; }
html.js:not(.rm) .rs-r::before { transition: transform .7s var(--ease); }
html.js:not(.rm) .rs-r > * { transition: opacity .5s .15s, transform .6s .15s var(--ease); }
html.js:not(.rm) .rs-list:not(.rs-drawn) .rs-r::before { transform: scaleX(0); }
html.js:not(.rm) .rs-list:not(.rs-drawn) .rs-r > * { opacity: 0; transform: translateY(12px); }
html.js:not(.rm) .rs-r:nth-child(2)::before { transition-delay: .12s; } html.js:not(.rm) .rs-r:nth-child(2) > * { transition-delay: .27s; }
html.js:not(.rm) .rs-r:nth-child(3)::before { transition-delay: .24s; } html.js:not(.rm) .rs-r:nth-child(3) > * { transition-delay: .39s; }
html.js:not(.rm) .rs-r:nth-child(4)::before { transition-delay: .36s; } html.js:not(.rm) .rs-r:nth-child(4) > * { transition-delay: .51s; }

.rs-data-w { margin-top: 64px; }
.rs-data { margin: 0; }
.rs-d { display: grid; grid-template-columns: 150px minmax(0, 1.1fr) minmax(0, 1fr); column-gap: 20px; align-items: baseline; padding: 15px 16px 15px 14px; border-top: 1px solid var(--ink); }
.rs-d:first-child { border-top: 0; }
.rs-d:last-child { border-bottom: 2px solid var(--ink); }
.rs-d dt { font: 700 12px/1.3 var(--mono); letter-spacing: .12em; }
.rs-v { margin: 0; font: 700 21px/1.2 var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.rs-n { margin: 0; font-size: 15.5px; line-height: 1.4; color: var(--ink-2); }
.rs-me { background-color: var(--lane); border-top: 2px solid var(--ink); }
.rs-best-a { font-weight: 700; color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.rs-sign-w { display: flex; flex-direction: column; align-items: flex-end; margin-top: 30px; }
.rs-sign { font-size: 38px; line-height: 1.1; padding: 0 8px 2px 0; transform: rotate(-4deg); transform-origin: 100% 100%; }
.rs-sign-l { min-width: 280px; margin-top: 4px; padding-top: 7px; border-top: 1px solid var(--ink); text-align: right; }
.rs-ca { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 44px; }

/* ---------------- tablet + phone ---------------- */
@media (max-width: 1099px) {
  .sl-grid { display: block; }
  .sl-sh { margin-bottom: 44px; }
  .sl-stage { display: block; position: relative; }
  /* tablets (and short screens) do not pin the photo: it would cover the list. Only tall phones pin it (block below). */
  .sl-fig { position: relative; top: auto; z-index: 3; margin: 0 calc(-1 * var(--m)); padding-bottom: 12px; background-color: var(--dust); }
  .sl-ph { aspect-ratio: 16 / 9; }
  .sl-cap { padding: 0 var(--m); }
  .sl-list { margin-top: 16px; }
  .sl-form { margin-top: 56px; max-width: 560px; }
  .rs-sh { grid-column: 1 / -1; }
  .rs-intro { grid-column: 1 / -1; margin-top: 4px; }
  .rs-pod { grid-column: 1 / span 5; }
  .rs-body { grid-column: 6 / -1; padding-left: 0; }
  .rs-d { grid-template-columns: 118px minmax(0, 1fr); row-gap: 4px; }
  .rs-n { grid-column: 2; }
}
@media (max-width: 699px) {
  .sl-sh { margin-bottom: 32px; }
  .sl-fig { padding-bottom: 10px; }
  .sl-tag { padding: 4px 9px 4px 4px; gap: 6px; }
  .sl-tag-n { font-size: 12px; padding: 4px 5px; }
  .sl-tag-t { font-size: 13px; }
  .sl-hd, .sl-row { grid-template-columns: 54px minmax(0, 1fr) auto; column-gap: 12px; }
  .sl-row { padding: 16px 0 18px; }
  .sl-leg { font-size: 38px; padding-right: 10px; }
  .sl-hd span:first-child { padding-right: 10px; }
  .sl-hd span:last-child, .sl-pb { padding-right: 10px; }
  .sl-who { font-size: 19px; }
  .sl-pb { font-size: 16px; }
  .sl-pb-s { white-space: normal; max-width: 6.2em; }
  .sl-note { padding-right: 10px; font-size: 15px; }
  .sl-late { margin: 6px 0 0; }
  .sl-you-s { top: auto; bottom: 18px; left: 1px; font-size: 19px; }
  .sl-lab { font-size: 23px; }
  .sl-field { flex-wrap: wrap; }
  .sl-in { flex-basis: 100%; }
  .pill.sl-put { width: 100%; }

  .rs-pf { margin-top: 44px; }
  .rs-pf-h { flex-direction: column; gap: 6px; }
  .rs-pf-win { aspect-ratio: 16 / 9; margin: 0 calc(-1 * var(--m)); }
  .rs-pf-win img { width: 130.17%; left: -11.86%; top: -20.33%; }
  .rs-pf-scale { margin: 0 calc(-1 * var(--m)); }
  .rs-pf-tag { top: 10px; padding: 6px 9px 5px; gap: 7px; }
  .rs-pf-t { font-size: 14px; }
  .rs-pf-p { font-size: 12px; }
  .rs-pf-knob { bottom: 10px; width: 36px; height: 36px; margin-left: -18px; }
  .rs-sheet { margin-top: 56px; }
  .rs-pod { position: static; }
  .rs-pod-ph { aspect-ratio: 1 / 1; }
  .rs-body { margin-top: 36px; }
  .rs-r { grid-template-columns: 44px minmax(0, 1fr) auto; column-gap: 12px; padding: 16px 12px 18px 10px; }
  .rs-pos { font-size: 40px; }
  .rs-team b { font-size: 21px; }
  .rs-sub { font-size: 15px; }
  .rs-time { font-size: 20px; }
  .rs-wr { display: block; width: max-content; margin: 8px 0 0 auto; }
  .rs-d { grid-template-columns: 104px minmax(0, 1fr); column-gap: 14px; padding: 13px 12px 13px 10px; }
  .rs-v { font-size: 18px; }
  .rs-n { font-size: 15px; }
  .rs-sign { font-size: 32px; }
  .rs-sign-l { min-width: 0; width: 100%; }
}
/* tall phones: only the photo pins under the header (shorter than 16:9 on short phones). The figure box steps aside
   (display: contents) so the caption stays under the photo, is read first, then scrolls away under it with the list.
   s04-05.js runs the scroll-driven light with this same media query. */
@media (max-width: 699px) and (min-height: 601px) {
  .sl-fig { display: contents; }
  .sl-ph { position: sticky; top: var(--nav); z-index: 3; margin: 0 calc(-1 * var(--m)); aspect-ratio: auto;
    height: min(56.25vw, 26vh); height: min(56.25vw, 26svh); box-shadow: 0 10px 0 var(--dust); }
  .sl-cap { margin-top: 12px; padding: 0; }
}
@media (max-height: 640px) {
  .rs-pod { position: static; }
}

