:root {
  /* ---- Design tokens: change the look here, nowhere else. ---- */
  /* Colour */
  --lime: #C6FF1A;          /* brand: the page, buttons, highlights */
  --ink: #0D0F0A;           /* text, dark sections */
  --paper: #F3F6EA;         /* light sections, text on dark */
  --white: #FFFFFF;
  --black: #000000;
  --live: #FF3B30;          /* the "on air" dot */
  --live-soft: #FF6B61;
  --radio-accent: #FF4F8B;  /* the radio's colour before a station is picked */
  --marker-ink: var(--white);  /* the coach's marker */
  --bezel: #1A1D16;         /* the black frame round the flat watch screen */
  --tyre-print: grayscale(1) brightness(0.3) contrast(1.3);   /* the mud tyre prints; set to none for the original brown */
  --ink-soft: color-mix(in srgb, var(--ink) 70%, transparent);
  /* Type */
  --marker: "Permanent Marker", "Marker Felt", cursive;                     /* coach's notes on the crown */
  --display: "Barlow Condensed", "SF Pro Display", system-ui, sans-serif;   /* headlines, labels */
  --body: "Barlow", system-ui, sans-serif;                                   /* body copy */
  /* (Fonts load from Google Fonts in index.html: change that link too if you change a family.) */
  /* Space */
  --gutter: clamp(18px, 4vw, 64px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--lime); }
body {
  background: var(--lime);
  color: var(--ink);
  font: 400 17px/1.5 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ---------- Type ---------- */
.wordmark, h2, .eyebrow, .pill, nav a, .label b, .posters b, .posters i, .specs, .scroll-hint, .store, .legend i, .legend b,
.turn-label, .tab, .featured, .station h3, .genre, .signoff, #dial-name, .caption {
  font-family: var(--display);
}
.wordmark {
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  line-height: 0.84;
}
h2 {
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  line-height: 0.88;
  letter-spacing: -0.005em;
}
.eyebrow {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
}

/* ---------- Header ---------- */
.top {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  pointer-events: none;
}
.top > * { pointer-events: auto; }
.top { transition: color .25s, translate .45s cubic-bezier(.2, .8, .2, 1); }
.top.hide { translate: 0 -120%; }
.top.dark { color: var(--paper); }
.top.dark .pill:not(:hover) { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { display: block; border-radius: 9px; box-shadow: 0 2px 8px color-mix(in srgb, var(--ink) 25%, transparent); }
.brand .wordmark { font-size: 22px; line-height: 1; }
nav { display: flex; gap: 26px; align-items: center; }
nav a {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 13px;
  text-decoration: none;
}
.pill {
  display: inline-block;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 8px 16px 7px;
  text-decoration: none;
  background: var(--lime);
  transition: background .2s, color .2s, transform .2s;
}
.pill:hover { background: var(--ink); color: var(--lime); }
.pill.big {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 13px 24px 12px;
  background: var(--ink);
  color: var(--lime);
}
.pill.big:hover { transform: translateY(-2px); }

/* ---------- Scroll scenes ---------- */
.scene { position: relative; height: var(--len); }
.stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;   /* the visible height, so on phones the scene fills the screen whatever the browser bars do */
  overflow: hidden;
}
.scene.pass .stage { position: relative; height: 100%; }   /* scrolls straight past, nothing pinned */
@media (max-width: 760px) { #crown { --len: 80vh !important; } }
.gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.copy { will-change: opacity, transform; opacity: 0; }

/* ---------- 1. Intro ---------- */
#intro .stage { background: var(--bg, var(--lime)); }
.hero {
  position: absolute;
  left: var(--gutter);
  top: 50%;
  translate: 0 -48%;
  max-width: 560px;
}
.hero .lede { max-width: 26ch; color: color-mix(in srgb, var(--ink) 80%, transparent); }
.hero .wordmark { font-size: clamp(76px, 12vw, 210px); line-height: .86; margin: 0 0 26px; letter-spacing: -0.02em; }
.wordmark.h1 { display: block; }
.caption {
  margin-top: 22px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.lede {
  font-size: clamp(17px, 1.45vw, 21px);
  color: var(--ink-soft);
  max-width: 30ch;
  margin-bottom: 30px;
}
.scroll-hint {
  position: absolute;
  left: var(--gutter);
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.scroll-hint span {
  width: 1.5px; height: 34px; background: var(--ink);
  transform-origin: top;
  animation: drip 1.8s ease-in-out infinite;
}
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

.roads {
  position: absolute;
  left: 47vw;
  right: var(--gutter);
  top: 50%;
  translate: 0 -48%;
  max-width: 660px;
}
.roads h2 { font-size: clamp(48px, 5.6vw, 96px); margin: 12px 0 20px; }
.specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0 12px;
  margin-bottom: 28px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.specs span + span::before { content: "/"; margin-right: 12px; opacity: 0.4; }
.posters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px 14px;
}
.posters li { cursor: pointer; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; }
.posters img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;            /* landscape: the posters' dark lower edge is cropped away */
  object-fit: cover;
  object-position: 50% 22%;
  border-radius: 3px;
  outline: 0 solid var(--ink);
  outline-offset: 3px;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), outline-width .2s;
}
.posters li:hover img, .posters li.on img { transform: translateY(-3px); outline-width: 2px; }
.posters i { order: 1; margin-top: 10px; font-style: normal; font-weight: 700; font-size: 12px; letter-spacing: 0.1em; opacity: 0.45; }
.posters b {
  order: 2;
  font-weight: 800;
  font-style: italic;
  font-size: 17px;
  text-transform: uppercase;
}
.featured {
  position: absolute;
  left: 0; top: 0;
  width: 260px;
  margin-left: -130px;
  text-align: center;
  pointer-events: none;
}
.featured b { display: block; font-weight: 800; font-style: italic; font-size: 22px; text-transform: uppercase; }
.featured span { display: block; font: 500 13px var(--body); color: var(--ink-soft); margin-top: 2px; }

/* ---------- Icons (Lucide, from assets/icons.svg) ---------- */
.ico { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico.solid { fill: currentColor; }

/* ---------- 2. Crown ---------- */
.turn {
  position: absolute;
  width: 600px; height: 600px;
  left: 0; top: 0;
  margin: -300px 0 0 -300px;
  overflow: visible;
  pointer-events: none;
  color: var(--marker-ink);
}
.turn .mk { fill: none; stroke: currentColor; stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; }
.turn .thin { stroke-width: 2.6; opacity: .85; }
.turn .rim { stroke-width: 5.5; }
.turn .stripe { stroke-width: 9; stroke-linecap: butt; }
.turn .link { stroke-dasharray: 2 12; stroke-width: 4; }
.turn .note { fill: currentColor; stroke: none; font: 30px var(--marker); }
.turn .tape { fill: var(--ink); stroke: none; }   /* a strip of black tape under the note, so the white marker reads on lime */
.crown-copy {
  position: absolute;
  left: var(--gutter);
  width: min(44vw, 560px);
  top: 50%;
  translate: 0 -50%;
  max-width: 560px;
}
.crown-copy h2 { font-size: clamp(56px, 7vw, 120px); margin: 0; }
.crown-lede { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-soft); max-width: 32ch; margin-bottom: 30px; }
.legend { border-bottom: 1px solid var(--ink); max-width: 480px; }
.legend li { position: relative; transition: color .35s; color: color-mix(in srgb, var(--ink) 42%, transparent); }
.legend li span { transition: color .35s; color: inherit !important; }
.legend li.now { color: var(--ink); }
.legend li::after {
  content: "";
  position: absolute;
  left: 0; top: -1px;
  height: 3px; width: 100%;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s cubic-bezier(.16, .9, .22, 1);
}
.legend li.now::after { transform: none; }
.legend li {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: baseline;
  gap: 12px;
  padding: 13px 0 12px;
  border-top: 1px solid var(--ink);
}
.legend i { font-style: normal; font-weight: 700; font-size: 13px; letter-spacing: 0.1em; opacity: 0.5; }
.legend b { font-weight: 800; font-style: italic; font-size: 22px; text-transform: uppercase; line-height: 1; }
.legend span { font-size: 15px; color: var(--ink-soft); text-align: right; }
.turn-label {
  position: absolute;
  left: 0; top: 0;
  font-weight: 800;
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
}
.tab {
  position: absolute;
  right: var(--gutter);
  top: 96px;
  background: var(--ink);
  color: var(--lime);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 9px 14px 8px;
  border-radius: 3px;
}

/* ---------- 3. Fan ---------- */
.scr {
  aspect-ratio: 416 / 496;
  border-radius: 24% / 20%;
  padding: 4.5%;
  background: var(--bezel);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--paper) 16%, transparent), 0 40px 80px -30px color-mix(in srgb, var(--black) 90%, transparent);
  transition: box-shadow .4s;
}
.scr img, .scr video { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 20% / 16.5%; }
@keyframes road-in { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Garage ---------- */
.garage {
  background: var(--paper);
  padding: clamp(80px, 12vh, 140px) var(--gutter);
  position: relative;
}
.garage-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 10px 40px; margin-bottom: 56px; }
.garage-head .eyebrow { grid-column: 1 / -1; }
.garage-head h2 { font-size: clamp(48px, 6vw, 104px); }
.garage-lede { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-soft); max-width: 28ch; padding-bottom: 8px; }
.grid-stage { position: relative; height: clamp(460px, 50vw, 680px); }
/* The starting grid: designed hairlines drawn by main.js between the cars, aimed at one vanishing point. */
.grid-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.grid-lines line { stroke: var(--ink); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.grid-lines line.foot { stroke-width: 1; opacity: .35; }
.pole-name {
  position: absolute;
  left: -0.04em; top: 10%;
  font: italic 900 clamp(130px, 23vw, 360px)/0.82 var(--display);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--ink);
  pointer-events: none;
  overflow: hidden;
}
.pole-name span { display: block; }
.pole-name.swap span { animation: pole-in .7s cubic-bezier(.16, .9, .22, 1); }
@keyframes pole-in { from { transform: translateX(-12%); opacity: 0; } }
.cars { position: absolute; inset: 0; }
.cars li {
  --x: -1%; --b: -3%; --w: min(42%, 500px);
  position: absolute;
  left: var(--x); bottom: var(--b); width: var(--w);
  z-index: 4;
  transition: left .65s cubic-bezier(.2, .8, .2, 1), bottom .65s cubic-bezier(.2, .8, .2, 1), width .65s cubic-bezier(.2, .8, .2, 1);
}
.cars li[data-slot="1"] { --x: 36%; --b: 17%; --w: min(20%, 240px); z-index: 3; }
.cars li[data-slot="2"] { --x: 55%; --b: 31%; --w: min(13.5%, 165px); z-index: 2; }
.cars li[data-slot="3"] { --x: 69%; --b: 41%; --w: min(9.5%, 116px); z-index: 1; }
.cars button { display: block; width: 100%; text-align: center; }
.cars img {
  display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; object-position: center bottom;
  filter: drop-shadow(0 18px 16px color-mix(in srgb, var(--ink) 22%, transparent));
  transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}
.cars li:not([data-slot="0"]) button:hover img { transform: translateY(-6px) rotate(-1.5deg); }
.cars b { display: block; margin-top: -2px; font: italic 900 clamp(13px, 1.4vw, 20px) var(--display); text-transform: uppercase; }
.cars li[data-slot="0"] b { display: none; }
.pole-card {
  position: absolute;
  right: 0; bottom: 0;
  width: min(30%, 340px);
  padding: 18px 0 0 18px;
  border-top: 1px solid var(--ink);
  background: var(--paper);
  z-index: 5;
}
.pole-card .kind { font: 700 12px var(--display); letter-spacing: 0.16em; text-transform: uppercase; }
.pole-card h3 { font: italic 900 clamp(34px, 3.4vw, 50px)/0.95 var(--display); text-transform: uppercase; margin: 4px 0 10px; }
.pole-card .blurb { font-size: 16px; color: color-mix(in srgb, var(--ink) 80%, transparent); margin-bottom: 16px; }
.stats { display: grid; gap: 6px; }
.stat { display: grid; grid-template-columns: 52px 1fr; align-items: center; }
.stat em { font: 700 11px var(--display); letter-spacing: 0.14em; text-transform: uppercase; font-style: normal; opacity: 0.6; }
.pips {
  height: 6px;
  background: linear-gradient(90deg, var(--ink) calc(var(--n) * 20%), color-mix(in srgb, var(--ink) 12%, transparent) 0);
  -webkit-mask: repeating-linear-gradient(90deg, var(--black) 0 calc(20% - 3px), transparent 0 20%);
          mask: repeating-linear-gradient(90deg, var(--black) 0 calc(20% - 3px), transparent 0 20%);
}

/* ---------- 4. Radio ---------- */
.radio {
  --accent: var(--radio-accent);
  background: color-mix(in srgb, var(--accent) 30%, var(--ink));
  background-image: radial-gradient(90% 70% at 15% 20%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 70%);
  transition: background-color .9s ease;
  color: var(--paper);
  padding: clamp(56px, 8vh, 96px) var(--gutter) clamp(64px, 9vh, 104px);
  position: relative;
  z-index: 2;
}
.radio-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 10px 40px; margin-bottom: 32px; }
.radio-head h2 { font-size: clamp(48px, 6vw, 104px); }
.radio-head h2 .ln:last-child { color: var(--lime); }
.radio-lede { font-size: clamp(17px, 1.4vw, 20px); color: color-mix(in srgb, var(--paper) 70%, transparent); max-width: 30ch; padding-bottom: 10px; }
.stations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.station {
  --accent: var(--white);
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 52px 1fr;
  grid-template-rows: auto auto 1fr auto;
  column-gap: 18px;
  align-items: start;
  text-align: left;
  padding: 20px 18px 18px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--paper) 5%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--paper) 10%, transparent);
  transition: background .3s, box-shadow .3s, transform .3s cubic-bezier(.2, .8, .2, 1);
}
.station:hover { transform: translateY(-4px); background: color-mix(in srgb, var(--paper) 8%, transparent); }
.station.on { box-shadow: inset 0 0 0 1px var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.badge {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}
.badge img { width: 32px; height: 32px; }
.station.on .badge { animation: spin 3.2s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.genre { font: 700 11px var(--display); letter-spacing: 0.16em; color: var(--accent); }
.station h3 { font: italic 800 26px/1 var(--display); text-transform: uppercase; margin: 4px 0 8px; grid-column: 2; }
.station .badge { grid-row: 1 / span 4; margin: 0; }
.station .genre, .station .tag, .station .tune-in { grid-column: 2; }
.station .tag { font-size: 16px; line-height: 1.4; color: color-mix(in srgb, var(--paper) 62%, transparent); flex: 1; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Sticky on-air bar ---------- */
.onair {
  --accent: var(--lime);
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 30;
  width: min(660px, calc(100vw - 2 * var(--gutter)));
  translate: -50% calc(100% + 30px);
  display: grid;
  grid-template-columns: auto auto 1fr 120px auto;
  align-items: center;
  gap: 18px;
  padding: 8px 12px 8px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 92%, transparent);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  color: var(--paper);
  box-shadow: 0 20px 50px -20px color-mix(in srgb, var(--black) 60%, transparent), inset 0 0 0 1px color-mix(in srgb, var(--paper) 12%, transparent);
  transition: translate .6s cubic-bezier(.2, .8, .2, 1);
}
.onair.up { translate: -50% 0; }
.oa-play {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  display: grid; place-items: center;
}
.oa-play .ico { width: 16px; height: 16px; }
.playing .oa-brand { display: grid; line-height: 1.1; }
.oa-brand b { font: italic 900 16px var(--display); text-transform: uppercase; white-space: nowrap; }
.live { font: 700 10px var(--display); letter-spacing: 0.18em; text-transform: uppercase; color: color-mix(in srgb, var(--paper) 60%, transparent); display: flex; align-items: center; gap: 6px; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--live); }
.playing .live { color: var(--live-soft); }
.playing .live i { animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--live) 60%, transparent); } 50% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--live) 0%, transparent); } }
.oa-station { display: flex; align-items: center; gap: 12px; min-width: 0; padding-left: 18px; border-left: 1px solid color-mix(in srgb, var(--paper) 15%, transparent); }
.oa-station > span:last-child { min-width: 0; }
.oa-badge { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--accent); display: grid; place-items: center; transition: background .3s; }
.oa-badge img { width: 20px; height: 20px; }
.playing .oa-badge { animation: spin 3.2s linear infinite; }
.oa-station b { display: block; font: italic 800 17px/1.1 var(--display); text-transform: uppercase; }
.oa-station small { display: block; font-size: 12px; color: color-mix(in srgb, var(--paper) 60%, transparent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wave { display: flex; align-items: center; justify-content: center; gap: 3px; height: 26px; }
.wave i { width: 3px; height: 4px; border-radius: 2px; background: var(--accent); opacity: 0.4; transition: height .3s, opacity .3s; }
.playing .wave i { opacity: 1; animation: eq2 .9s ease-in-out infinite alternate; animation-delay: calc(var(--d) * -1s); }
@keyframes eq2 { 0% { height: 4px; } 100% { height: calc(6px + var(--h) * 20px); } }
.oa-tune { display: flex; gap: 4px; }
.oa-tune button {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--paper);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--paper) 25%, transparent);
}
.oa-tune .ico { width: 18px; height: 18px; }
.oa-tune button:hover { background: color-mix(in srgb, var(--paper) 12%, transparent); }

.bars { display: flex; gap: 5px; align-items: center; height: 44px; }
.bars i { width: 5px; height: 12px; border-radius: 3px; background: var(--lime); }
@keyframes eq { to { height: 42px; } }

/* ---------- 5. Download ---------- */
#download .stage { background: var(--lime); }
#download .face {
  position: absolute;
  left: 28vw; top: 50%;
  height: min(66vh, 600px);
  aspect-ratio: 416 / 496;
  margin: calc(min(66vh, 600px) / -2) 0 0 calc(min(66vh, 600px) * 416 / 496 / -2);
  will-change: transform;
}
#download .face .scr { height: 100%; background: var(--ink); box-shadow: 0 50px 90px -40px color-mix(in srgb, var(--ink) 60%, transparent); }
.cta {
  position: absolute;
  left: 56vw;
  right: var(--gutter);
  top: 50%;
  translate: 0 -50%;
}
.cta h2 { font-size: clamp(64px, 9vw, 150px); line-height: .9; margin: 0; }
.cta p:not(.eyebrow) { font-size: clamp(17px, 1.5vw, 21px); color: var(--ink-soft); margin: 18px 0 30px; max-width: 26ch; }
/* Apple's official badge, used as supplied: no recolouring, clear space around it. */
.store { display: inline-block; line-height: 0; transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
.store img { display: block; height: 60px; width: auto; }
.store:hover { transform: translateY(-3px); }

/* The waitlist: one email box and the ink pill, side by side (stacked on a phone). */
.join { max-width: 520px; }
.join-row {
  display: flex;
  gap: 8px;
  padding: 6px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: color-mix(in srgb, var(--white) 55%, transparent);
}
.join input[type="email"], .join input[name="name"] {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  padding: 0 14px;
  font: 500 17px/1 var(--body);
  color: var(--ink);
  outline: none;
}
.join input[name="name"] { flex: 0 1 30%; border-right: 1.5px solid color-mix(in srgb, var(--ink) 25%, transparent); }
.join input::placeholder { color: color-mix(in srgb, var(--ink) 45%, transparent); }
.join-row:focus-within { box-shadow: 0 0 0 3px color-mix(in srgb, var(--ink) 18%, transparent); }
.join .pill.big { white-space: nowrap; }
.join .pill.big:disabled { cursor: default; transform: none; }
.join-note { font-size: 14px !important; margin: 12px 0 0 !important; padding-left: 16px; color: var(--ink-soft); max-width: none !important; }
.store[hidden], .join[hidden] { display: none; }
.join-note[data-kind="error"] { color: var(--ink); font-weight: 600; }
.join-note[data-kind="done"] { color: var(--ink); font-weight: 600; }
.join.done .join-row { background: var(--ink); }
.join.done input { color: var(--lime); }
.join.done input[name="name"] { border-right-color: transparent; }
.join-check:not(:empty) { margin-top: 10px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 760px) {
  .join-row { flex-direction: column; border-radius: 26px; padding: 6px; }
  .join input[type="email"] { padding: 14px; }
  .join .pill.big { text-align: center; }
  .join-note { padding-left: 4px; }
}

/* ---------- Footer ---------- */
.more {
  background: var(--paper);
  padding: clamp(64px, 10vh, 120px) var(--gutter);
  position: relative;
  z-index: 2;
}
.more h2 { font-size: clamp(44px, 5.4vw, 88px); margin: 0 0 clamp(28px, 4vh, 44px); }
.more-apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; margin: 0; padding: 0; }
.more-apps a {
  display: flex; align-items: center; gap: 18px;
  padding: 20px;
  border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
  border-radius: 22px;
  color: var(--ink); text-decoration: none;
  transition: transform .25s, border-color .25s, background-color .25s;
}
.more-apps a:hover { transform: translateY(-3px); border-color: var(--ink); background: var(--white); }
.more-apps img { width: 64px; height: 64px; border-radius: 15px; flex: none; box-shadow: 0 8px 18px -10px color-mix(in srgb, var(--ink) 50%, transparent); }
.more-apps b { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-family: var(--display); font-weight: 900; font-style: italic; font-size: 26px; text-transform: uppercase; line-height: 1; }
.more-apps b i { font: 700 10px var(--body); letter-spacing: .12em; text-transform: uppercase; font-style: normal; background: var(--lime); padding: 5px 8px; border-radius: 99px; }
.more-apps small { display: block; margin-top: 6px; font-size: 15px; color: var(--ink-soft); }
@media (max-width: 900px) { .more-apps { grid-template-columns: 1fr; } }

footer {
  background: var(--ink);
  color: var(--paper);
  padding: 72px var(--gutter) 120px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
}
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-brand img { border-radius: 10px; }
.foot-brand .wordmark { font-size: 34px; }
.foot-links { gap: 28px; }
.foot-links a { color: var(--paper); }
.signoff {
  grid-column: 1 / -1;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(56px, 9vw, 150px);
  line-height: 0.86;
  color: var(--lime);
  margin: 24px 0 12px;
}
.credit {
  grid-column: 1 / -1;
  font-size: 14px;
  color: color-mix(in srgb, var(--paper) 60%, transparent);
  border-top: 1px solid color-mix(in srgb, var(--paper) 15%, transparent);
  padding-top: 20px;
}

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .stations { grid-template-columns: repeat(2, 1fr); }
  nav a:not(.pill) { display: none; }
  .legend li { grid-template-columns: 36px 1fr; }
  .legend span { grid-column: 2; text-align: left; }
}

/* ---------- Phone ---------- */
@media (max-width: 760px) {
  .brand .wordmark { display: none; }
  .hero { top: auto; bottom: 30px; translate: 0 0; right: var(--gutter); }
  .hero .eyebrow { display: none; }
  .hero .wordmark { font-size: 76px; margin: 0 0 12px; }
  .hero .wordmark br { display: none; }
  .lede { font-size: 16px; margin-bottom: 18px; }
  .scroll-hint { display: none; }

  /* Phones: headline up top, the watch in the middle, a 3 x 2 grid of named posters at the foot. */
  .roads { left: var(--gutter); right: var(--gutter); top: 76px; bottom: 18px; translate: 0 0; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
  .roads > * { pointer-events: auto; }
  .roads h2 { font-size: 44px; margin: 0; }
  .posters { grid-template-columns: repeat(3, 1fr); gap: 12px 8px; }
  .posters i { display: none; }
  .posters b { font-size: 13px; margin-top: 6px; line-height: 1.1; }
  .posters img { border-radius: 6px; }
  .featured { display: none; }
  .caption { display: none; }

  .crown-copy { left: var(--gutter); right: var(--gutter); width: auto; top: auto; bottom: 20px; translate: 0 0; }
  .crown-copy h2 { font-size: 42px; margin: 8px 0 10px; }
  .crown-copy h2 br { display: none; }
  .turn-label { font-size: 11px; }
  .turn { scale: 0.62; }

  .garage-head { grid-template-columns: 1fr; margin-bottom: 32px; }
  .garage-head h2 { font-size: 46px; }
  .grid-stage { height: auto; display: grid; gap: 18px; }
  .grid-lines { display: none; }
  .pole-name { position: static; font-size: 26vw; }
  .cars { position: relative; height: 92vw; }
  .cars li { --x: 0%; --b: 30vw; --w: 66%; }
  .cars li[data-slot="1"] { --x: 0%; --b: 0%; --w: 30%; }
  .cars li[data-slot="2"] { --x: 35%; --b: 0%; --w: 30%; }
  .cars li[data-slot="3"] { --x: 70%; --b: 0%; --w: 30%; }
  .cars b { font-size: 13px; }
  .pole-card { position: static; width: auto; }
  .label { font-size: 10px; }
  .label b { font-size: 15px; }

  .radio-head { margin-bottom: 28px; }
  .radio-head h2 br { display: none; }
  .radio-head { grid-template-columns: 1fr; }
  .stations { grid-template-columns: 1fr; gap: 10px; }
  .station { padding: 16px 14px; }
  .badge { width: 52px; height: 52px; margin-bottom: 14px; }
  .badge img { width: 30px; height: 30px; }
  .station h3 { font-size: 20px; }
  .onair { grid-template-columns: auto 1fr auto; bottom: 10px; gap: 12px; padding: 8px 10px 8px 8px; width: calc(100vw - 20px); }
  .oa-brand, .wave { display: none; }
  .oa-station { padding-left: 0; border: 0; }
  .oa-play { width: 42px; height: 42px; }

  .cta { left: var(--gutter); top: auto; bottom: 40px; translate: 0 0; }
  #download .face { left: 50%; top: 23%; height: 32vh; margin: -16vh 0 0 calc(-16vh * 416 / 496); }
  .cta h2 { font-size: 76px; }
  .cta p:not(.eyebrow) { margin: 12px 0 18px; }
  .join input[type="email"], .join input[name="name"] { padding: 10px 14px; flex: 1 1 auto; }
  .join input[name="name"] { border-right: 0; border-bottom: 1.5px solid color-mix(in srgb, var(--ink) 20%, transparent); }
  .join .pill.big { padding: 12px 20px 11px; }
  footer { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-hint span, .station.on .badge, .playing .oa-badge, .playing .wave { animation: none; }
}

/* ---------- Motion: masked headline lines ---------- */
.ln { display: block; overflow: hidden; padding: 0 0.12em 0.06em 0; margin: 0 -0.12em -0.06em 0; }
.ln > span { display: block; transform: translateY(108%) rotate(4deg); transform-origin: 0 100%; transition: transform 1s cubic-bezier(.16, .9, .22, 1); }
.in .ln > span, .ln.in > span, h2.in .ln > span { transform: none; }
.ln:nth-child(2) > span { transition-delay: .07s; }
.ln:nth-child(3) > span { transition-delay: .14s; }

/* ---------- Mud ---------- */
.mud {
  position: absolute;
  pointer-events: none;
  user-select: none;
  height: auto;
  clip-path: inset(0 0 calc((1 - var(--draw, 1)) * 100%) 0);
  filter: var(--tyre-print);
}
.mud-hero { width: 118vh; left: calc(63vw - 59vh); top: 0vh; }   /* behind the watch, clear of the wordmark */
.mud-crown { width: 30vh; left: 60vw; top: -26vh; rotate: 22deg; scale: 2; }
.mud-shop { width: 30vh; left: 6vw; top: -22vh; rotate: -16deg; scale: 2; }

/* ---------- Ticker ---------- */
.ticker {
  position: relative;
  overflow: hidden;
  background: var(--lime);
  padding: 22px 0 18px;
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
}
.ticker p {
  position: relative;
  z-index: 2;
  white-space: nowrap;
  font: italic 900 clamp(52px, 6.6vw, 100px)/0.9 var(--display);
  text-transform: uppercase;
  will-change: transform;
}
.ticker i {
  display: inline-block;
  width: 0.34em; height: 0.34em;
  margin: 0 0.32em 0.12em;
  border-radius: 50%;
  background: currentColor;
  vertical-align: middle;
}

/* ---------- Motion: garage and radio entrances ---------- */
/* Cars roll up their lanes into the grid, with a little nose dip as they stop. */
.cars li button { transform: translate(-260px, 340px); opacity: 0; }
.cars.in li button { transform: none; opacity: 1; transition: transform .9s cubic-bezier(.16, .9, .3, 1) calc(var(--i) * 90ms), opacity .25s calc(var(--i) * 90ms); animation: nose-dip .2s ease-out calc(var(--i) * 90ms + .8s); }
@keyframes nose-dip { 50% { rotate: 1deg; translate: 0 3px; } }
.stations li { opacity: 0; transform: translateY(18px); }
.stations.in li { opacity: 1; transform: none; transition: opacity .6s, transform .8s cubic-bezier(.16, .9, .22, 1); transition-delay: calc(var(--i) * 70ms); }

@media (prefers-reduced-motion: reduce) {
  .ln > span, .cars li button, .stations li { transform: none !important; opacity: 1 !important; transition: none !important; }
  .pips { clip-path: none; }
}
@media (max-width: 760px) {
  .mud-hero { left: calc(50vw - 36vh); top: -6vh; width: 72vh; }
  .mud-crown, .mud-shop { width: 30vh; }
  .mud-shop { left: 22vw; top: -36vh; rotate: -58deg; }   /* across the top, behind the screen, clear of the headline */
  .ticker { padding: 18px 0 16px; }
    }

/* ---------- Wordmark: letters flick through rally glyphs, then settle ---------- */
.word { white-space: nowrap; }
.ch { display: inline-block; position: relative; }
.ch.g { color: transparent !important; }
.ch.g::after {
  content: "";
  position: absolute;
  inset: 0.02em -0.06em 0.06em;
  background: var(--g) center / contain no-repeat;
  animation: glyph-pop .16s cubic-bezier(.3, 1.6, .5, 1);
}
.ch.land { animation: glyph-land .32s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes glyph-pop { from { transform: scale(.6) rotate(-10deg); opacity: 0; } }
@keyframes glyph-land { from { transform: translateY(-.08em) scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .ch.g { color: inherit !important; } .ch.g::after { display: none; } }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

/* Race sound toggle: unmutes the hero's real race clip. */
.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sound {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 24px 14px 18px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 2px var(--ink);
  color: var(--ink);
  font: 700 15px var(--display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform .25s, background-color .25s, color .25s;
}
.sound .ico { width: 20px; height: 20px; margin-top: -1px; }
.sound:hover { transform: translateY(-2px); }
.sound[aria-pressed="true"] { background: var(--ink); color: var(--lime); }
@media (max-width: 760px) {
  .hero-actions { flex-wrap: nowrap; gap: 10px; }
  .sound { padding: 0; width: 50px; height: 50px; justify-content: center; flex: none; }
  .sound-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}

/* ---------- The hairpin: the crown section ends with the page taking the corner ---------- */
.wipe { position: absolute; inset: 0; background: var(--ink); clip-path: circle(0 at -12% 118%); pointer-events: none; }
.corner { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.corner p {
  position: absolute;
  left: 0; top: 50%;
  white-space: nowrap;
  font: italic 900 clamp(140px, 24vw, 420px)/0.84 var(--display);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--ink);
  opacity: 0;
  will-change: transform;
}
.corner.inv p { color: var(--lime); }

/* ---------- Radio tuner: one big station, five on the dial ---------- */
.tuner { display: grid; grid-template-columns: 1fr minmax(260px, 32%); gap: 48px; align-items: start; }
.now-station { --accent: var(--lime); --lvl: 0; position: relative; display: grid; grid-template-columns: auto 1fr; gap: 0 28px; align-items: start; }
.ns-badge { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: var(--accent); transition: background .3s; }
.ns-badge img { width: 56px; height: 56px; }
.now-station.playing .ns-badge { animation: spin 3.2s linear infinite; }
.ns-genre { font: 700 13px var(--display); letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.ns-name {
  font: italic 900 clamp(56px, 7vw, 116px)/0.86 var(--display);
  text-transform: uppercase;
  letter-spacing: -0.015em;
  margin: 4px 0 10px;
  transform: translateY(calc(var(--lvl) * -4px));
}
.ns-tag { font-size: clamp(16px, 1.3vw, 19px); color: color-mix(in srgb, var(--paper) 72%, transparent); }
.ns-now { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin: 16px 0 20px; font-size: 15px; }
.ns-now #ns-track { font-weight: 700; }
.ns-artist { color: color-mix(in srgb, var(--paper) 60%, transparent); }
.ns-artist::before { content: "·"; margin-right: 10px; }
.ns-dot { width: 8px; height: 8px; border-radius: 50%; background: color-mix(in srgb, var(--paper) 35%, transparent); }
.now-station.playing .ns-dot { background: var(--live); animation: pulse 1.4s ease-in-out infinite; }
.ns-controls { display: flex; align-items: center; gap: 10px; }
.ns-skip { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: var(--paper); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--paper) 25%, transparent); transition: background .2s; }
.ns-skip:hover { background: color-mix(in srgb, var(--paper) 12%, transparent); }
.ns-skip .ico { width: 18px; height: 18px; }
.now-station.swap .ns-name, .now-station.swap .ns-tag, .now-station.swap .ns-genre { animation: road-in .5s cubic-bezier(.16, .9, .22, 1); }
.ns-play {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 20px 8px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  font: 700 14px var(--display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background .3s, transform .25s;
}
.ns-play:hover { transform: translateY(-2px); }
.ns-play span { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--accent); display: grid; place-items: center; }
.ns-play .ico { width: 15px; height: 15px; }
.now-station.playing .ns-level { position: absolute; right: 0; top: 6px; display: flex; gap: 4px; align-items: center; height: 20px; }
.ns-level i { width: 3px; height: 3px; border-radius: 2px; background: var(--lime); }
.tuner .stations { display: flex; flex-direction: column; gap: 0; border-top: 1px solid color-mix(in srgb, var(--paper) 18%, transparent); }
.tuner .station {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  grid-template-rows: none;
  align-items: center;
  gap: 14px;
  height: 54px;
  padding: 0 4px;
  border-radius: 0;
  background: none;
  box-shadow: none;
  border-bottom: 1px solid color-mix(in srgb, var(--paper) 18%, transparent);
}
.tuner .station:hover { transform: none; background: color-mix(in srgb, var(--paper) 4%, transparent); padding-left: 10px; }
.tuner .station.on { box-shadow: inset 3px 0 0 var(--accent); background: color-mix(in srgb, var(--accent) 7%, transparent); }
.tuner .badge { width: 40px; height: 40px; grid-row: auto; margin: 0; }
.tuner .badge img { width: 24px; height: 24px; }
.st-name { font: italic 800 22px/1 var(--display); text-transform: uppercase; }
.tuner .station .genre { grid-column: auto; }
@media (max-width: 760px) {
  .tuner { grid-template-columns: 1fr; gap: 28px; }
  .ns-badge { width: 60px; height: 60px; }
  .ns-badge img { width: 34px; height: 34px; }
  .ns-name { font-size: 52px; }
  .now-station { gap: 0 18px; }
}
@media (prefers-reduced-motion: reduce) { .now-station.playing .ns-badge { animation: none; } }

/* Garage turntable: the 64-frame sprite shows only while a car spins or is dragged. */
.car-box { position: relative; display: block; }
.spin {
  position: absolute;
  background-size: 800% 800%;
  background-repeat: no-repeat;
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 18px 16px color-mix(in srgb, var(--ink) 22%, transparent));
}
.cars li.spinning .spin { opacity: 1; }
.cars li.spinning img { opacity: 0; }
.cars img { transition: transform .4s cubic-bezier(.2, .8, .2, 1), opacity .18s; }
.cars li[data-slot="0"] button { cursor: grab; touch-action: pan-y; }
.cars li[data-slot="0"] button:active { cursor: grabbing; }

.drag-hint {
  display: none;
  margin-top: 2px;
  font: 700 11px var(--display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--ink) 50%, transparent);
}
.drag-hint .ico { width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px; }
.cars li[data-slot="0"] .drag-hint { display: block; }
