/* ============================================================
   PISTE CLUB — the indoor 250
   Palette: pine #E8E4DB · infield #17181C · sprinter red #D93A2B
            côte d'azur #3FA0C4 · chalk #F2EFE8
   Type: Anybody (variable wdth — velocity axis) · Readex Pro · B612 Mono
   ============================================================ */

:root {
  --pine: #E8E4DB;
  --infield: #17181C;
  --red: #D93A2B;
  --azur: #3FA0C4;
  --azur-ink: #2E7FA0;      /* blue dark enough for small text on pine */
  --chalk: #F2EFE8;
  --ink: #17181C;
  --ink-soft: #45474e;
  --chalk-soft: #b9bcc4;
  --hall: #0d0e11;

  --vel-wdth: 92;            /* Anybody width axis, driven by scroll velocity */

  --font-display: "Anybody", "Arial Narrow", sans-serif;
  --font-body: "Readex Pro", system-ui, sans-serif;
  --font-mono: "B612 Mono", ui-monospace, monospace;

  --wrap: 1160px;
  --ease-bank: cubic-bezier(.22,.9,.24,1);   /* fast in, held out — like entering the banking */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--ink);
  background: var(--pine);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--red); color: var(--chalk); }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip {
  position: fixed; top: -100px; left: 16px; z-index: 100;
  background: var(--infield); color: var(--chalk); padding: 10px 18px;
  font-family: var(--font-mono); font-size: 13px; transition: top .2s;
}
.skip:focus { top: 12px; }

a { color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 2px; }

/* ---------- display type — the velocity axis ---------- */
.vel, .h-display {
  font-family: var(--font-display);
  font-variation-settings: "wdth" var(--vel-wdth);
  font-weight: 800;
  line-height: .92;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.h-display { font-size: clamp(2.5rem, 6.2vw, 5.2rem); }

@media (prefers-reduced-motion: reduce) {
  :root { --vel-wdth: 100 !important; }
}

.eyebrow {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-soft);
  display: flex; align-items: center; gap: 10px; margin-bottom: 18px;
}
.eb-num {
  display: inline-grid; place-items: center;
  width: 30px; height: 30px; border: 2px solid currentColor; border-radius: 4px;
  font-weight: 700; font-size: 12px;
}

.mono-inline { font-family: var(--font-mono); font-size: .92em; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px;
  mix-blend-mode: difference; color: #E8E4DB;
  transition: transform .45s var(--ease-bank);
}
.nav.nav-hide { transform: translateY(-115%); }
@media (prefers-reduced-motion: reduce) { .nav { transition: none; } }
.nav-mark { font-size: 19px; text-decoration: none; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em;
  text-transform: uppercase; text-decoration: none; opacity: .85;
}
.nav-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.nav-cta { border: 1.5px solid currentColor; padding: 7px 13px; border-radius: 3px; opacity: 1 !important; }
@media (max-width: 760px) { .nav-links a:not(.nav-cta) { display: none; } }

/* ---------- hero ---------- */
.hero { height: 460vh; background: var(--hall); color: var(--chalk); }
.hero-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; }
#bowl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-pin::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(10,11,14,.5) 0%, rgba(10,11,14,.18) 22%, transparent 40%);
}
@media (max-width: 640px) {
  .hero-pin::after {
    background: linear-gradient(to top, rgba(10,11,14,.88) 0%, rgba(10,11,14,.55) 38%, rgba(10,11,14,.2) 58%, transparent 74%);
  }
}

.hero-fallback {
  position: absolute; inset: 0; display: none;
  background:
    radial-gradient(120% 90% at 50% 110%, #2a241c 0%, #17181c 45%, #0d0e11 100%);
}
.hero-fallback::after {
  content: ""; position: absolute; left: 50%; top: 58%; width: min(80vw, 900px); aspect-ratio: 2.1;
  transform: translate(-50%, -50%) rotateX(58deg);
  border-radius: 50% / 46%;
  border: 3px solid #E8E4DB55;
  box-shadow: 0 0 0 14px #D93A2B22, 0 0 0 34px #3FA0C41c;
}
.no-js .hero-fallback, .no3d .hero-fallback { display: block; }
.no-js .hero { height: auto; min-height: 100vh; }
.no-js .hero-pin { position: relative; height: 100vh; }
.no-js .flight-caption, .no-js .scroll-hint { display: none; }

.hero-copy {
  position: absolute; z-index: 3;
  left: max(28px, 6vw); bottom: 12vh; max-width: 660px;
  transition: opacity .3s linear;
}
.chalk-eb { color: var(--chalk-soft); }
.hero-copy h1 { font-size: clamp(4rem, 13vw, 11.5rem); margin: 6px 0 22px; }
.hero-sub { max-width: 520px; color: #d8d5cd; font-size: 17px; margin-bottom: 30px; text-wrap: pretty; }

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; text-decoration: none; border-radius: 4px;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  padding: 15px 26px; border: 1.5px solid transparent;
  transition: transform .25s var(--ease-bank), background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red); color: var(--chalk); }
.btn-red:hover { background: #c53023; }
.btn-ghost { border-color: #f2efe866; color: var(--chalk); }
.btn-ghost:hover { border-color: var(--chalk); }

.flight-caption {
  position: absolute; z-index: 2; left: max(28px, 6vw); bottom: 16vh; max-width: 520px;
  opacity: 0; transform: translateY(18px); pointer-events: none;
  transition: opacity .4s linear, transform .5s var(--ease-bank);
  padding: 48px 56px;
  background: radial-gradient(closest-side, rgba(10,11,14,.8), rgba(10,11,14,.45) 62%, transparent);
}
.flight-caption.on { opacity: 1; transform: none; }
.fc-right { left: auto; right: max(28px, 6vw); text-align: right; }
.fc-big { font-size: clamp(2rem, 5.4vw, 4.4rem); margin-bottom: 12px; text-shadow: 0 2px 30px #0009; }
.fc-sub { color: #cfccc4; font-size: 15.5px; text-shadow: 0 1px 12px #000c; text-wrap: pretty; }
.fc-right .fc-sub { margin-left: auto; }

.lap-hud {
  position: absolute; z-index: 3; right: max(28px, 6vw); top: 92px;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--chalk-soft); background: rgba(13,14,17,.55);
  border: 1px solid #f2efe822; border-radius: 3px; padding: 9px 14px;
  font-variant-numeric: tabular-nums;
}
.hud-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); transition: transform .15s; }
.lap-hud.hud-flash { color: var(--chalk); border-color: #d93a2b88; }
.lap-hud.hud-flash .hud-dot { transform: scale(1.5); }
@media (max-width: 760px) { .lap-hud { display: none; } }

.scroll-hint {
  position: absolute; z-index: 3; right: max(28px, 6vw); bottom: 5vh;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--chalk-soft); display: flex; align-items: center; gap: 12px;
  transition: opacity .3s;
}
.sh-line { width: 54px; height: 1px; background: var(--chalk-soft); display: inline-block; position: relative; overflow: visible; }
.sh-line::after {
  content: ""; position: absolute; top: -2.5px; left: 0; width: 6px; height: 6px; border-radius: 50%;
  background: var(--red); animation: shDot 2.4s var(--ease-bank) infinite;
}
@keyframes shDot { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: 48px; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .sh-line::after { animation: none; left: 24px; } }

/* ---------- sections ---------- */
.sec { padding: clamp(84px, 11vw, 150px) 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 4.5vw, 48px); }

/* faint plank seams — the boards follow you off the track */
.sec-pine {
  background: var(--pine);
  background-image: repeating-linear-gradient(90deg, transparent 0 94px, rgba(23,24,28,.045) 94px 95px);
  color: var(--ink);
}
.sec-chalk {
  background: var(--chalk);
  background-image: repeating-linear-gradient(90deg, transparent 0 94px, rgba(23,24,28,.03) 94px 95px);
  color: var(--ink);
}
.sec-dark { background: var(--infield); color: var(--chalk); }
.sec-dark .eyebrow { color: var(--chalk-soft); }
.sec-dark + .sec-dark { padding-top: 0; }

.sec-head { margin-bottom: 38px; }
.sec-head h2 { text-wrap: balance; }

.lede { font-size: clamp(17px, 1.5vw, 19.5px); line-height: 1.65; max-width: 62ch; text-wrap: pretty; }
.lede strong { font-weight: 600; }
.lede-narrow { max-width: 56ch; margin-bottom: 44px; }
.lede-grid { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: start; margin-bottom: 54px; }
.lede-side {
  font-size: 15px; color: var(--ink-soft); border-left: 3px solid var(--red);
  padding-left: 18px; text-wrap: pretty;
}
.sec-dark .lede-side { color: var(--chalk-soft); }
@media (max-width: 820px) { .lede-grid { grid-template-columns: 1fr; gap: 22px; } }

/* ---------- the track-rule divider (the painted lines) ---------- */
.track-rule { position: relative; height: 40px; margin: 10px 0 48px; }
.track-rule span { position: absolute; left: 0; right: 0; display: block; transform-origin: left; }
.tr-azur  { bottom: 0;  height: 9px; background: var(--azur); }
.tr-black { bottom: 15px; height: 3.5px; background: var(--infield); }
.tr-red   { bottom: 24px; height: 3px; background: var(--red); }
.tr-blue  { bottom: 33px; height: 2px; background: var(--azur); opacity: .55; }
.tr-dark .tr-black { background: var(--chalk); }

.js .track-rule span { transform: scaleX(0); transition: transform 1s var(--ease-bank); }
.js .track-rule.in .tr-azur  { transform: scaleX(1); transition-delay: 0s; }
.js .track-rule.in .tr-black { transform: scaleX(1); transition-delay: .08s; }
.js .track-rule.in .tr-red   { transform: scaleX(1); transition-delay: .16s; }
.js .track-rule.in .tr-blue  { transform: scaleX(1); transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .js .track-rule span { transform: none; transition: none; }
}

/* ---------- stats ---------- */
.stat-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: #17181c22; border: 1px solid #17181c22;
}
.stat { background: var(--pine); padding: 26px 24px 22px; }
.stat dt { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px; }
.stat-n { font-family: var(--font-display); font-variation-settings: "wdth" 110; font-weight: 800; font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1; }
.stat-u { font-family: var(--font-mono); font-size: 15px; margin-left: 6px; color: var(--ink-soft); }
.stat-note { font-size: 13.5px; color: var(--ink-soft); margin-top: 8px; }
@media (max-width: 900px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stat-row { grid-template-columns: 1fr; } }

/* ---------- cross-section figure ---------- */
.xsection { margin: 0 0 56px; background: var(--pine); border: 1px solid #17181c1f; border-radius: 6px; padding: clamp(10px, 2.5vw, 30px); overflow-x: auto; }
.xsection svg { width: 100%; min-width: 660px; height: auto; display: block; }
.xs-mono, .xs-name, .xs-note { font-family: var(--font-mono); }
.xs-mono { font-size: 13px; }
.xs-name { font-size: 14.5px; font-weight: 700; fill: var(--ink); letter-spacing: .04em; }
.xs-note { font-size: 12.5px; fill: #54565e; }
.xs-cap { font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft); margin-top: 14px; letter-spacing: .06em; }

.line-rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 40px); }
.lr h3 { font-family: var(--font-display); font-variation-settings: "wdth" 105; font-weight: 700; font-size: 19px; text-transform: uppercase; margin: 12px 0 8px; }
.lr p { font-size: 15px; color: var(--ink-soft); text-wrap: pretty; }
.lr-chip { display: block; width: 44px; height: 8px; border-radius: 2px; }
@media (max-width: 820px) { .line-rules { grid-template-columns: 1fr; gap: 26px; } }

/* ---------- start lists ---------- */
.startlist-wrap { overflow-x: auto; margin-bottom: 18px; }
.startlist { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; }
.startlist th {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  text-align: left; color: var(--ink-soft); padding: 0 16px 12px; border-bottom: 3px solid var(--infield);
}
.startlist td { padding: 17px 16px; border-bottom: 1px solid #17181c26; vertical-align: top; }
.startlist tbody tr { transition: background .2s; }
.startlist tbody tr:hover { background: #17181c0a; }
.sl-gate { font-family: var(--font-mono); font-weight: 700; color: var(--ink-soft); width: 52px; transition: color .2s; }
.startlist tbody tr:hover .sl-gate { color: var(--red); }
.sl-name { font-family: var(--font-display); font-variation-settings: "wdth" 108; font-weight: 700; text-transform: uppercase; font-size: 16px; white-space: nowrap; }
.sl-tag {
  display: inline-block; margin-left: 10px; font-family: var(--font-mono); font-size: 10px; font-weight: 400;
  letter-spacing: .1em; background: var(--red); color: var(--chalk); padding: 3px 8px; border-radius: 3px;
  vertical-align: 3px;
}
.sl-taster { background: #d93a2b0d; }
.sl-pace { font-family: var(--font-mono); font-size: 13px; white-space: nowrap; color: var(--azur-ink); }
.sl-foot { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-soft); letter-spacing: .04em; }

/* ---------- calculator ---------- */
.calc { border: 1px solid #f2efe824; border-radius: 8px; padding: clamp(22px, 3.5vw, 44px); background: #1c1d22; }
.calc-io { display: flex; gap: clamp(16px, 3vw, 40px); align-items: end; flex-wrap: wrap; margin-bottom: 34px; }
.calc-field label { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--chalk-soft); margin-bottom: 8px; }
.calc-num { display: flex; align-items: baseline; gap: 10px; }
.calc-num input {
  font-family: var(--font-display); font-variation-settings: "wdth" 110; font-weight: 800;
  font-size: clamp(2.6rem, 5vw, 4rem); width: 5ch; line-height: 1;
  background: transparent; border: none; border-bottom: 3px solid var(--azur);
  color: var(--chalk); padding: 0 0 4px;
}
.calc-num input:focus { outline: none; border-bottom-color: var(--red); }
.calc-num input::-webkit-outer-spin-button, .calc-num input::-webkit-inner-spin-button { -webkit-appearance: none; }
.calc-num input[type=number] { -moz-appearance: textfield; appearance: textfield; }
.calc-unit { font-family: var(--font-mono); font-size: 14px; color: var(--chalk-soft); }
.calc-swap { font-size: 26px; color: var(--chalk-soft); padding-bottom: 14px; }

.calc-slider { position: relative; margin-bottom: 66px; }
.calc-slider input[type=range] { width: 100%; accent-color: var(--red); height: 28px; cursor: pointer; }
.calc-ticks { position: relative; height: 40px; font-family: var(--font-mono); }
.calc-ticks span {
  position: absolute; left: var(--at); transform: translateX(-50%);
  font-size: 11px; text-align: center; color: var(--chalk-soft); line-height: 1.5; white-space: nowrap;
}
.calc-ticks em { font-style: normal; color: #7c7f88; font-size: 10px; }

.calc-out { display: grid; grid-template-columns: repeat(3, auto) 1fr; gap: clamp(18px, 3vw, 44px); align-items: start; }
.calc-out dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--chalk-soft); margin-bottom: 6px; }
.calc-out dd { font-family: var(--font-mono); font-size: clamp(1.15rem, 1.8vw, 1.5rem); font-weight: 700; }
.calc-verdict dd { font-family: var(--font-body); font-weight: 300; font-size: 15px; color: #d8d5cd; max-width: 34ch; text-wrap: pretty; }
.calc-verdict { border-left: 3px solid var(--red); padding-left: 18px; }
@media (max-width: 900px) {
  .calc-out { grid-template-columns: repeat(3, 1fr); }
  .calc-verdict { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .calc-out { grid-template-columns: 1fr 1fr; }
  .calc-out dt { white-space: nowrap; }
}
.noscript-note { margin-top: 20px; font-family: var(--font-mono); font-size: 13px; color: var(--chalk-soft); }

/* ---------- hour wall ---------- */
.hourwall { list-style: none; border-top: 1px solid #f2efe824; }
.hourwall li {
  display: grid; grid-template-columns: 200px auto 1fr; gap: clamp(14px, 3vw, 40px); align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid #f2efe824;
}
.hw-cat { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--chalk-soft); }
.hw-dist { font-size: clamp(1.9rem, 4vw, 3.1rem); line-height: 1; white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .hw-dist { transition: font-variation-settings .5s var(--ease-bank); }
  .hourwall li:hover .hw-dist { font-variation-settings: "wdth" 132; }
}
.hw-dist em { font-style: normal; font-family: var(--font-mono); font-weight: 400; font-size: .38em; margin-left: 8px; color: var(--chalk-soft); }
.hw-name { font-size: 14.5px; color: var(--chalk-soft); text-wrap: pretty; }
.hourwall li:first-child .hw-dist { color: var(--red); }
.hw-note { margin-top: 26px; font-family: var(--font-mono); font-size: 13px; color: var(--chalk-soft); max-width: 60ch; }
@media (max-width: 820px) {
  .hourwall li { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; }
}

/* ---------- licence form ---------- */
.licence {
  background: var(--chalk); border: 2px solid var(--infield); border-radius: 8px;
  box-shadow: 6px 6px 0 #17181c2b; overflow: hidden;
}
.lic-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  background: var(--infield); color: var(--chalk); padding: 14px 24px;
}
.lic-title { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; font-weight: 700; }
.lic-no { font-size: 12px; color: var(--chalk-soft); }
.lic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 34px; padding: clamp(22px, 3.5vw, 40px); }
.lic-wide { grid-column: 1 / -1; }
.lic-field label, .lic-field legend {
  display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .13em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px;
}
.lic-field input[type=text], .lic-field input[type=date], .lic-field input[type=number], .lic-field select {
  width: 100%; font-family: var(--font-body); font-size: 16px; font-weight: 300; color: var(--ink);
  background: transparent; border: none; border-bottom: 2px solid #17181c55; padding: 8px 2px;
  border-radius: 0;
}
.lic-field input:focus, .lic-field select:focus { outline: none; border-bottom-color: var(--red); }
.lic-field ::placeholder { color: #8a8c94; }
fieldset.lic-field { border: none; }
.lic-radios { display: flex; gap: 26px; flex-wrap: wrap; font-size: 15px; }
.lic-radios label { display: flex; align-items: center; gap: 9px; font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--ink); margin: 0; }
.lic-radios input, .lic-check input { accent-color: var(--red); width: 17px; height: 17px; }
.lic-check { display: flex; gap: 12px; align-items: start; font-size: 14.5px; color: var(--ink-soft); cursor: pointer; }
.lic-check input { flex: none; margin-top: 3px; }
.lic-foot { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding: 0 clamp(22px, 3.5vw, 40px) clamp(22px, 3.5vw, 36px); }
.lic-foot .btn { border: none; cursor: pointer; font-weight: 700; }
.lic-small { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-soft); max-width: 46ch; }

.lic-confirm .conf-body { position: relative; padding: clamp(30px, 5vw, 60px) clamp(22px, 3.5vw, 40px); }
.conf-big { font-size: clamp(1.8rem, 4.4vw, 3rem); margin-bottom: 14px; }
.conf-sub { max-width: 52ch; color: var(--ink-soft); text-wrap: pretty; }
.conf-stamp {
  position: absolute; right: clamp(18px, 5vw, 60px); top: 50%;
  transform: translateY(-50%) rotate(-12deg);
  font-family: var(--font-mono); font-weight: 700; font-size: clamp(14px, 2.4vw, 22px); letter-spacing: .18em;
  color: var(--red); border: 3px solid var(--red); border-radius: 6px; padding: 10px 16px; opacity: .85;
}
@media (max-width: 640px) {
  .lic-grid { grid-template-columns: 1fr; }
  .conf-stamp { position: static; display: inline-block; transform: rotate(-8deg); margin-top: 22px; }
}

/* ---------- footer ---------- */
.footer { background: var(--hall); color: var(--chalk); padding: clamp(60px, 8vw, 100px) 0 36px; }
.footer .track-rule { margin-bottom: 54px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(24px, 4vw, 60px); margin-bottom: 64px; }
.foot-mark { font-size: 30px; margin-bottom: 12px; }
.foot-tag { color: var(--chalk-soft); font-size: 14.5px; max-width: 30ch; text-wrap: pretty; }
.foot-col h3 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--chalk-soft); margin-bottom: 14px; font-weight: 400; }
.foot-col p { font-size: 14.5px; line-height: 1.9; color: #d8d5cd; }
.foot-col a { color: #d8d5cd; text-decoration-color: #d8d5cd55; text-underline-offset: 4px; }
.foot-col a:hover { color: var(--chalk); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; gap: 30px; } }
.credit { font-family: var(--font-mono); font-size: 11.5px; color: #7c7f88; letter-spacing: .04em; }
.credit a { color: #9a9da5; text-underline-offset: 3px; }
.credit a:hover { color: var(--chalk); }

/* ---------- reveal ---------- */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .8s linear, transform .9s var(--ease-bank); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; transition: none; }
}

/* ---------- small screens ---------- */
@media (max-width: 640px) {
  .hero-copy { bottom: 9vh; right: 20px; }
  .hero-copy h1 { font-size: clamp(3.4rem, 19vw, 6rem); }
  .hero-sub { font-size: 15px; }
  .scroll-hint { display: none; }
  .flight-caption { bottom: 12vh; right: 20px; padding: 32px 28px; }
  .h-display { font-size: clamp(2.1rem, 9vw, 3.2rem); }
  .calc-io { gap: 18px; }
  .calc-swap { display: none; }

  /* start list becomes stacked start cards */
  .startlist-wrap { overflow: visible; }
  .startlist { min-width: 0; }
  .startlist thead { display: none; }
  .startlist, .startlist tbody { display: block; }
  .startlist tbody tr {
    display: grid; grid-template-columns: 40px 1fr auto; gap: 3px 12px;
    padding: 16px 4px; border-bottom: 1px solid #17181c26;
  }
  .startlist td { display: block; border: none; padding: 0; }
  .sl-gate { grid-column: 1; grid-row: 1; }
  .sl-name { grid-column: 2; grid-row: 1; white-space: normal; }
  .startlist td:nth-child(3) { grid-column: 3; grid-row: 1; font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft); text-align: right; white-space: nowrap; }
  .startlist td:nth-child(4) { grid-column: 2 / -1; grid-row: 2; font-size: 14px; color: var(--ink-soft); }
  .sl-pace { grid-column: 2 / -1; grid-row: 3; }
}
