/* Skaterz website: the game's street look (game/assets/ui/ui.css) on the web. Ink panels like grip
   tape, tape strips for titles, deck-shaped buttons with their truck bolts, wheels for the round
   buttons, die-cut stickers. Skaterz Display (Bowlby One, cleaned) for titles, buttons and big numbers, Knewave for the shouts,
   Barlow Condensed for labels and words. */
/* (block: the site's own letters from the first paint, never a plain stand-in swapped out; all five are
   preloaded and small. One that doesn't come through on a patchy line is fetched again: site.js) */
@font-face { font-family: 'Skaterz Display'; src: url('../fonts/skaterz-display.woff2') format('woff2'); font-display: block; }
@font-face { font-family: 'Knewave'; src: url('../fonts/knewave-400.woff2') format('woff2'); font-display: block; }
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; src: url('../fonts/barlow-condensed-700.woff2') format('woff2'); font-display: block; }
@font-face { font-family: 'Barlow Condensed'; font-weight: 800; src: url('../fonts/barlow-condensed-800.woff2') format('woff2'); font-display: block; }
@font-face { font-family: 'Barlow Condensed'; font-weight: 900; src: url('../fonts/barlow-condensed-900.woff2') format('woff2'); font-display: block; }

:root {
  --ink: #12112A;
  --ink-2: #1D1B3B;
  --ink-3: #292653;
  --ink-4: #35316A;
  --lane: #2E2A5C;
  --mute: #A7A1DA;
  --soft: #DCD8F5;
  --paper: #FFF6E8;
  --orange: #FF5A1F;
  --yellow: #FFC633;
  --red: #FF3B5B;
  --cyan: #35C9F2;
  --mint: #3BE0A0;
  --sign: #17774A;
  --pad: clamp(16px, 5vw, 64px);
  /* a fine grain, like grip tape: light specks for the ink, dark ones for the paper */
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.6 -0.62'/></filter><rect width='120' height='120' filter='url(%23n)' opacity='.28'/></svg>");
  --grain-dark: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .07  0 0 0 0 .07  0 0 0 0 .16  0 0 0 1.4 -0.6'/></filter><rect width='160' height='160' filter='url(%23n)' opacity='.16'/></svg>");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--bar) + 12px); }
body {
  margin: 0; min-height: 100vh; background-color: var(--ink); background-image: var(--grain); color: var(--paper);
  font-family: 'Barlow Condensed', system-ui, sans-serif; font-weight: 700; font-size: 18px; line-height: 1.3;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
img, video, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--paper); outline-offset: 4px; }
.paper :focus-visible { outline-color: var(--ink); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
[hidden] { display: none !important; }
/* the skip link: out of sight until a keyboard reaches it */
.skip { position: fixed; left: 12px; top: 12px; z-index: 100; padding: 12px 18px; border-radius: 14px; background: var(--paper); color: var(--ink); border: 3px solid var(--ink); font-weight: 800; text-decoration: none; transform: translateY(-160%); }
.skip:focus { transform: none; }

/* type (no paragraph ends on one word alone) */
p { text-wrap: pretty; }
.h {font-family: 'Skaterz Display', sans-serif; font-weight: 400; line-height: 1; letter-spacing: .01em; text-wrap: balance; }
.hand { font-family: 'Knewave', sans-serif; font-weight: 400; line-height: 1; }
.lab { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; line-height: 1; }
/* letters with a round ink edge and an ink drop under them: the edge is a ring of the letters' own shadow,
   --o out all round (half of --sw, the width the edge had as a stroke), and the drop the same ring --dy lower.
   (A text stroke can't round its corners: the heading font's sharp corners came out as spikes.) */
.out, .deck > span, .racer .art .big {
  --o: calc(var(--sw, 7px) / 2);
  text-shadow:
    var(--o) 0 0 var(--ink), calc(var(--o) * .924) calc(var(--o) * .383) 0 var(--ink),
    calc(var(--o) * .707) calc(var(--o) * .707) 0 var(--ink), calc(var(--o) * .383) calc(var(--o) * .924) 0 var(--ink),
    0 var(--o) 0 var(--ink), calc(var(--o) * -.383) calc(var(--o) * .924) 0 var(--ink),
    calc(var(--o) * -.707) calc(var(--o) * .707) 0 var(--ink), calc(var(--o) * -.924) calc(var(--o) * .383) 0 var(--ink),
    calc(var(--o) * -1) 0 0 var(--ink), calc(var(--o) * -.924) calc(var(--o) * -.383) 0 var(--ink),
    calc(var(--o) * -.707) calc(var(--o) * -.707) 0 var(--ink), calc(var(--o) * -.383) calc(var(--o) * -.924) 0 var(--ink),
    0 calc(var(--o) * -1) 0 var(--ink), calc(var(--o) * .383) calc(var(--o) * -.924) 0 var(--ink),
    calc(var(--o) * .707) calc(var(--o) * -.707) 0 var(--ink), calc(var(--o) * .924) calc(var(--o) * -.383) 0 var(--ink),
    var(--o) var(--dy, 5px) 0 var(--ink), calc(var(--o) * .924) calc(var(--dy, 5px) + var(--o) * .383) 0 var(--ink),
    calc(var(--o) * .707) calc(var(--dy, 5px) + var(--o) * .707) 0 var(--ink), calc(var(--o) * .383) calc(var(--dy, 5px) + var(--o) * .924) 0 var(--ink),
    0 calc(var(--dy, 5px) + var(--o)) 0 var(--ink), calc(var(--o) * -.383) calc(var(--dy, 5px) + var(--o) * .924) 0 var(--ink),
    calc(var(--o) * -.707) calc(var(--dy, 5px) + var(--o) * .707) 0 var(--ink), calc(var(--o) * -.924) calc(var(--dy, 5px) + var(--o) * .383) 0 var(--ink),
    calc(var(--o) * -1) var(--dy, 5px) 0 var(--ink);
}
.out { color: #fff; }

/* panels: ink like grip tape, a faint light on top, a hard ink drop */
.pan {
  position: relative; background-color: var(--ink-2);
  background-image: var(--grain), linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, 0) 38%);
  border: 4px solid var(--ink); border-radius: 28px;
  box-shadow: 0 8px 0 var(--ink), inset 0 0 0 2px rgba(255, 255, 255, .06), 0 22px 44px rgba(6, 5, 24, .32);
}

/* tape: a strip of it with torn ends, a title on it */
.tape-w { display: inline-block; filter: drop-shadow(0 4px 0 var(--ink)); }
.tape {
  display: inline-block; padding: .25em .85em .3em; color: var(--ink); background-color: var(--yellow);
  background-image: linear-gradient(90deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 26%, rgba(255, 255, 255, 0) 72%, rgba(0, 0, 0, .07));
  clip-path: polygon(0 0, 100% 0, 98.4% 14%, 100% 27%, 98.6% 41%, 100% 55%, 98.3% 69%, 100% 83%, 98.6% 100%, 0 100%, 1.6% 86%, 0 72%, 1.5% 58%, 0 45%, 1.7% 31%, 0 17%, 1.4% 6%);
  font-family: 'Knewave', sans-serif; font-weight: 400; font-size: var(--tf, 34px); line-height: 1; white-space: nowrap;
}
.tape.red { background-color: var(--red); color: #fff; }
.tape.cyan { background-color: var(--cyan); }
.tape.mint { background-color: var(--mint); }
.tape.orange { background-color: var(--orange); color: #fff; }
.tilt-l { transform: rotate(-2.5deg); }
.tilt-r { transform: rotate(2deg); }

/* the deck: the main button, a skateboard seen from under, its trucks' bolts at the ends */
.deck {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--bh, 72px); padding: 0 56px; border-radius: 999px; border: 4px solid var(--ink);
  background: linear-gradient(180deg, #FF9A4E 0%, #FF6B25 40%, #F5500F 60%, #DA3B06 100%);
  box-shadow: 0 7px 0 var(--ink), inset 0 4px 0 rgba(255, 255, 255, .38), inset 0 -6px 0 rgba(110, 22, 0, .22);
  color: #fff; font-family: 'Skaterz Display', sans-serif; font-weight: 400; font-size: var(--bf, 28px); line-height: 1;
  white-space: nowrap; text-decoration: none; text-transform: uppercase; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: transform .06s, box-shadow .06s, filter .12s;
}
.deck > span { --sw: 6px; --dy: 4px; }
.deck::before, .deck::after {
  content: ''; position: absolute; top: 50%; width: 16px; height: 16px; transform: translateY(-50%);
  background: radial-gradient(circle, rgba(18, 17, 42, .85) 0 2.3px, rgba(255, 255, 255, .5) 2.4px 3px, transparent 3.1px) 0 0 / 8px 8px;
}
.deck::before { left: 22px; }
.deck::after { right: 22px; }
.deck { max-width: 100%; }
@media (max-width: 600px) {
  .deck.sm { --bf: clamp(15px, 4.4vw, 19px); padding: 0 clamp(34px, 9.4vw, 40px); }
  .deck.sm::before { left: clamp(9px, 2.6vw, 14px); }
  .deck.sm::after { right: clamp(9px, 2.6vw, 14px); }
  .deck:not(.sm) { --bh: 64px; --bf: clamp(17px, 5.3vw, 26px); padding: 0 clamp(32px, 9vw, 52px); }
  .deck:not(.sm) > span { --sw: 5px; --dy: 3px; }
  .deck:not(.sm)::before { left: clamp(10px, 3vw, 20px); }
  .deck:not(.sm)::after { right: clamp(10px, 3vw, 20px); }
}
.deck:active { transform: translateY(5px); box-shadow: 0 2px 0 var(--ink), inset 0 4px 0 rgba(255, 255, 255, .38), inset 0 -6px 0 rgba(110, 22, 0, .22); }
.deck.sm { --bh: 52px; --bf: 19px; padding: 0 40px; }
.deck.sm > span { --sw: 5px; --dy: 3px; }
.deck.sm::before { left: 14px; }
.deck.sm::after { right: 14px; }
.deck[aria-disabled='true'] { filter: saturate(.25) brightness(.8); }
/* a way in that isn't open yet (the waitlist, for now): a plain board, greyed, Soon slapped on it, that
   can't be pressed */
.deck.locked {
  filter: none; cursor: default; color: #EEEBFF;
  background: linear-gradient(180deg, #918DBA 0%, #736EA4 40%, #645F95 60%, #4F4A82 100%);
  box-shadow: 0 7px 0 var(--ink), inset 0 4px 0 rgba(255, 255, 255, .25), inset 0 -6px 0 rgba(18, 17, 42, .25);
}
.deck.locked:active { transform: none; box-shadow: 0 7px 0 var(--ink), inset 0 4px 0 rgba(255, 255, 255, .25), inset 0 -6px 0 rgba(18, 17, 42, .25); }
.deck.locked .soon { position: absolute; top: -14px; right: 16px; font-size: 15px; font-style: normal; transform: rotate(5deg); }
.deck.sm.locked .soon { top: -13px; right: 12px; font-size: 13px; }

/* the other buttons: ink plates */
.plate {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--bh, 56px); padding: 0 22px;
  border-radius: 18px; border: 4px solid var(--ink); background: var(--ink-3);
  box-shadow: 0 6px 0 var(--ink), inset 0 3px 0 rgba(255, 255, 255, .09);
  color: var(--paper); font-family: 'Skaterz Display', sans-serif; font-weight: 400; font-size: var(--bf, 18px); line-height: 1;
  white-space: nowrap; text-decoration: none; text-transform: uppercase; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: transform .06s, box-shadow .06s, filter .12s;
}
.plate svg { width: 28px; height: 28px; flex: none; }
.plate:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--ink), inset 0 3px 0 rgba(255, 255, 255, .09); }
.plate.light { background: var(--paper); color: var(--ink); box-shadow: 0 6px 0 var(--ink), inset 0 3px 0 #fff; }

/* a wheel: the round buttons */
.wheel {
  display: grid; place-items: center; flex: none; width: var(--ws, 56px); height: var(--ws, 56px); padding: 0; border-radius: 50%;
  border: 4px solid var(--ink); background: radial-gradient(circle, var(--hub, var(--cyan)) 0 38%, var(--ink) 38% 44%, #FFEFD6 44% 100%);
  box-shadow: 0 6px 0 var(--ink), inset 0 -5px 0 rgba(120, 80, 40, .16); color: var(--ink); cursor: pointer;
  -webkit-tap-highlight-color: transparent; transition: transform .06s, box-shadow .06s, filter .12s;
}
.wheel svg { width: 52%; height: 52%; }
.wheel:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--ink), inset 0 -5px 0 rgba(120, 80, 40, .16); }
.wheel.flat { background: #FFEFD6; }
.wheel.flat svg { width: 46%; height: 46%; }
@media (hover: hover) { .deck:hover, .plate:hover, .wheel:hover { filter: brightness(1.07); } .deck.locked:hover { filter: none; } }

/* stickers: die cut, a white edge round them */
.sticker {
  display: inline-block; padding: 7px 14px 9px; border-radius: 14px; background: var(--red); color: #fff;
  border: 4px solid #fff; box-shadow: 0 0 0 3px var(--ink), 0 6px 0 3px var(--ink);
  font-family: 'Knewave', sans-serif; font-weight: 400; font-size: var(--sf, 22px); line-height: 1; white-space: nowrap;
}
.sticker.yellow { background: var(--yellow); color: var(--ink); }
.sticker.cyan { background: var(--cyan); color: var(--ink); }
.sticker.mint { background: var(--mint); color: var(--ink); }
.sticker.ink { background: var(--ink-2); color: var(--paper); }
/* a rider's number plate */
.num {
  display: grid; place-items: center; width: 64px; height: 48px; border-radius: 50%; background: var(--yellow); color: var(--ink);
  border: 4px solid #fff; box-shadow: 0 0 0 3px var(--ink), 0 5px 0 3px var(--ink);
  font-family: 'Skaterz Display', sans-serif; font-size: 22px; line-height: 1;
}

/* ---------------------------------------------------------------- the top bar
   always a solid ink bar like grip tape, every page a tab on it; the page starts under it */
body { padding-top: var(--bar); }
:root { --bar: 76px; }
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  height: var(--bar); padding: 0 var(--pad); background-color: var(--ink-2); background-image: var(--grain);
  border-bottom: 4px solid var(--ink); box-shadow: 0 10px 24px rgba(6, 5, 24, .25);
}
.brand { display: block; flex: none; }
.brand img { height: 50px; width: auto; filter: drop-shadow(0 3px 0 rgba(18, 17, 42, .55)); }
.links { display: flex; align-items: center; gap: 8px; }
.tab {
  display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border-radius: 14px; border: 3px solid transparent;
  color: var(--paper); text-decoration: none; white-space: nowrap;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 21px; letter-spacing: .1em; text-transform: uppercase;
  transition: background-color .12s;
}
.tab:hover { background-color: var(--ink-3); }
/* the page you're on: the yellow of the game's picked button */
.tab[aria-current='page'] { color: var(--ink); background: linear-gradient(180deg, #FFD86A, #FFB51C); border-color: var(--ink); box-shadow: 0 4px 0 var(--ink), inset 0 3px 0 rgba(255, 255, 255, .45); }
.links .wheel { --ws: 46px; margin-left: 10px; }
/* the links in the foot */
.lk {
  position: relative; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: #fff;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 21px; letter-spacing: .1em; text-transform: uppercase;
}
.lk::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 4px; border-radius: 4px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .15s; }
.lk:hover::after { transform: scaleX(1); }
/* (on the bar, the menu and the foot: a way in that isn't open yet, greyed) */
.tab.locked, .lk.locked, .menu nav .locked { color: var(--mute); cursor: default; }
.tab.locked:hover { background-color: transparent; }
.lk.locked::after { display: none; }
.soon { display: inline-block; padding: 3px 7px 4px; border-radius: 8px; background: var(--red); color: #fff; border: 2px solid #fff; box-shadow: 0 0 0 2px var(--ink); font-family: 'Knewave', sans-serif; font-size: 13px; letter-spacing: 0; text-shadow: none; transform: rotate(-4deg); }
.menu-btn { display: none; --bh: 46px; --bf: 17px; padding: 0 16px 0 10px; gap: 6px; }
/* the bar's right end: the links (a computer), the music's speaker, the menu button (a phone) */
.end { display: flex; align-items: center; gap: 12px; }
.sound { --ws: 46px; }
.wheel.flat.sound svg { width: 60%; height: 60%; }
.sound .on, .sound[aria-pressed='true'] .off { display: none; }
.sound[aria-pressed='true'] .on { display: inline; }
/* (lit while the music plays: the yellow of the page you're on) */
.wheel.flat.sound[aria-pressed='true'] { background: linear-gradient(180deg, #FFD86A, #FFB51C); }
.menu-btn svg { width: 30px; height: 30px; }

/* the menu on a phone: a panel over everything */
.menu {
  position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; padding: 18px var(--pad) 28px; overflow-y: auto;
  overscroll-behavior: contain;
  background-color: var(--ink-2); background-image: var(--grain);
}
.menu-top { display: flex; align-items: center; justify-content: space-between; height: 58px; flex: none; }
.menu nav { display: flex; flex-direction: column; gap: 6px; margin: 34px 0 30px; }
.menu nav a, .menu nav .locked { display: flex; align-items: center; gap: 12px; padding: 10px 0; color: #fff; text-decoration: none; font-family: 'Skaterz Display', sans-serif; font-size: 40px; line-height: 1.05; }
.menu nav .soon { font-size: 15px; }
.menu nav .locked { color: var(--mute); }
.menu nav a[aria-current='page'] { color: var(--yellow); }
.menu .deck { width: 100%; }
.menu .x-row { display: flex; align-items: center; gap: 12px; margin-top: 26px; color: var(--soft); text-decoration: none; font-size: 19px; letter-spacing: .08em; text-transform: uppercase; font-weight: 800; }

@media (max-width: 1180px) {
  .links { gap: 4px; }
  .tab { padding: 0 11px; font-size: 19px; }
  .links .wheel { margin-left: 6px; }
  .end { gap: 8px; }
}
/* (just wide enough for the bar's own links: the shut Waitlist tab's Soon needs the room) */
@media (max-width: 1060px) {
  .links { gap: 2px; }
  .tab { padding: 0 9px; font-size: 18px; letter-spacing: .08em; }
}
@media (max-width: 960px) {
  .links { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 820px) {
  :root { --bar: 64px; }
  .brand img { height: 40px; }
}

/* ---------------------------------------------------------------- home: the clip */
.hero { position: relative; height: calc(100vh - var(--bar)); height: calc(100svh - var(--bar)); min-height: 520px; overflow: hidden; background: #3E6FA8 url('../video/hero_l.webp') center / cover no-repeat; isolation: isolate; }
/* (the clip's own first frame, the same picture the clip shows before it runs) */
@media (max-aspect-ratio: 20/21) { .hero { background-image: url('../video/hero_p.webp'); } }
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
/* a shade behind the words (top left; on a phone the top and the foot), ink, nothing else: the
   Racer rides through the middle of the clip, so the words keep to the side of him */
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, rgba(18, 17, 42, .62) 0, rgba(18, 17, 42, .34) 30%, rgba(18, 17, 42, 0) 54%); }
.hero-copy { position: absolute; left: var(--pad); top: clamp(22px, 7vh, 72px); width: min(720px, 52vw); }
.hero .tape { --tf: clamp(22px, 2.2vw, 30px); }
.hero h1 { margin: 16px 0 0; font-size: clamp(36px, min(4.7vw, 8.6vh), 84px); line-height: .98; --sw: clamp(6px, .8vw, 9px); --dy: clamp(4px, .5vw, 6px); }
.hero h1 span { display: block; white-space: nowrap; }
.hero p { max-width: 520px; margin: 18px 0 0; font-size: clamp(19px, 1.6vw, 22px); color: #fff; text-shadow: 0 2px 0 rgba(18, 17, 42, .85), 0 0 14px rgba(18, 17, 42, .5); }
.cta { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 22px; margin-top: 28px; }
.cta .sticker { transform: rotate(-4deg); pointer-events: none; }
.cta .deck.locked .soon { right: auto; left: 18px; transform: rotate(-5deg); }
@media (max-width: 820px) {
  .hero { min-height: 560px; }
  .hero::after { background: linear-gradient(180deg, rgba(18, 17, 42, .72) 0, rgba(18, 17, 42, .42) 30%, rgba(18, 17, 42, 0) 50%),
    linear-gradient(0deg, rgba(18, 17, 42, .6) 0, rgba(18, 17, 42, 0) 24%); }
  /* the words at the top, the button at the foot, the Racer between them */
  .hero-copy { top: 20px; bottom: 26px; right: var(--pad); width: auto; display: flex; flex-direction: column; }
  .hero h1 { margin-top: 12px; font-size: min(9.3vw, 54px); --sw: 6px; --dy: 4px; }
  .hero p { margin-top: 12px; font-size: 18.5px; max-width: 360px; }
  .cta { margin-top: auto; }
  .cta .deck { width: 100%; }
  .cta .sticker { position: absolute; right: -4px; top: -30px; --sf: 17px; transform: rotate(6deg); }
}

/* a phone on its side: a slimmer bar, and the words and the button fit in the first screen */
@media (max-height: 520px) and (orientation: landscape) {
  :root { --bar: 60px; }
  .brand img { height: 38px; }
  .menu-btn { --bh: 42px; }
  .sound { --ws: 42px; }
  .hero { min-height: 0; }
  .hero-copy { top: 14px; width: min(560px, 62vw); }
  .hero .tape { --tf: 19px; }
  .hero h1 { margin-top: 10px; font-size: min(5.2vw, 11vh); --sw: 6px; --dy: 4px; }
  .hero p { margin-top: 10px; font-size: 16px; max-width: 470px; }
  .cta { margin-top: 14px; gap: 14px; }
  .cta .deck { --bh: 52px; --bf: 19px; padding: 0 40px; }
  .cta .deck > span { --sw: 5px; --dy: 3px; }
  .cta .deck::before { left: 14px; }
  .cta .deck::after { right: 14px; }
  .cta .sticker { --sf: 17px; }
}

/* ---------------------------------------------------------------- sections */
.sec { position: relative; padding: clamp(64px, 9vw, 124px) var(--pad); }
.wrap { max-width: 1180px; margin: 0 auto; }
.paper { background-color: var(--paper); background-image: var(--grain-dark); color: var(--ink); }
.sec-title { display: flex; flex-direction: column; align-items: center; text-align: center; margin: 0 0 clamp(34px, 5vw, 56px); }
.sec-title .tape { --tf: clamp(28px, 3.4vw, 42px); }
.sec-title p { max-width: 560px; margin: 18px 0 0; font-size: 21px; }

/* how it plays: three panels, each with a picture from the game */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 34px); }
.card { padding: 12px 12px 26px; color: var(--paper); }
.card .shot { position: relative; border-radius: 18px; border: 4px solid var(--ink); aspect-ratio: 16 / 9; background: var(--ink-3); }
.card .shot img { border-radius: 14px; }
.card .shot img { width: 100%; height: 100%; object-fit: cover; }
.card .num { position: absolute; top: -16px; left: -12px; transform: rotate(-6deg); z-index: 2; }
.card h3 { margin: 22px 12px 10px; font-size: clamp(22px, 1.9vw, 27px); color: #fff; }
.card p { margin: 0 12px; font-size: 19.5px; line-height: 1.32; color: var(--soft); }
@media (max-width: 900px) { .cards { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; } }

/* the controls, drawn as the game's How to ride screen draws them */
.controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 34px); margin-top: clamp(30px, 4vw, 48px); }
.controls .pan { padding: 26px clamp(18px, 2.4vw, 30px) 28px; color: var(--paper); }
.controls h3 { margin: 0 0 20px; font-size: clamp(22px, 2.2vw, 27px); color: #fff; }
.move { display: flex; align-items: center; gap: 14px; }
.move + .move { margin-top: 12px; }
.move .mic { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--ink-3); border: 3px solid var(--ink); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .07); }
.move .mic svg { width: 40px; height: 40px; }
.move .k { display: block; font-size: 13px; color: var(--mute); }
.move .v { display: block; margin-top: 5px; font-family: 'Skaterz Display', sans-serif; font-size: 19px; line-height: 1.1; color: #fff; text-wrap: balance; }
.keys { display: flex; gap: 6px; flex: none; width: 124px; }
.cap { display: inline-grid; place-items: center; min-width: 52px; height: 48px; padding: 0 10px; border-radius: 10px; background: var(--paper); color: var(--ink); border: 3px solid var(--ink); box-shadow: 0 4px 0 var(--ink); font-weight: 900; font-size: 16px; letter-spacing: .06em; }
.cap svg { width: 26px; height: 26px; }
.tip { margin: clamp(26px, 3.4vw, 40px) auto 0; max-width: 620px; text-align: center; font-size: 20px; }
@media (max-width: 900px) { .controls { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; } }
@media (max-width: 420px) {
  .keys { width: 104px; }
  .cap { min-width: 46px; height: 44px; padding: 0 7px; font-size: 14px; }
  .move .v { font-size: 17.5px; }
}

/* meet the Racer: his number behind him, the words beside */
.racer { overflow: hidden; }
.racer .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 24px; }
.racer .words { position: relative; z-index: 2; }
.racer .words .tape { --tf: clamp(26px, 3vw, 38px); }
.racer h2 { margin: 22px 0 0; font-size: clamp(56px, 8.4vw, 118px); line-height: .9; --sw: clamp(7px, 1vw, 11px); --dy: 7px; }
.racer p { max-width: 460px; margin: 22px 0 0; font-size: 22px; color: var(--soft); }
.racer .tags { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.racer .tags .sticker:nth-child(1) { transform: rotate(-3deg); }
.racer .tags .sticker:nth-child(2) { transform: rotate(2deg); }
.racer .art { position: relative; display: grid; place-items: center; min-height: 520px; }
.racer .art .big {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 0; pointer-events: none; user-select: none;
  font-family: 'Skaterz Display', sans-serif; font-size: clamp(240px, 30vw, 440px); line-height: 1; letter-spacing: -.04em;
  color: var(--orange); --sw: 12px; --dy: 14px; transform: rotate(-6deg);
}
.racer .art img { position: relative; z-index: 1; width: min(100%, 470px); height: auto; }
@media (max-width: 900px) {
  .racer .wrap { grid-template-columns: minmax(0, 1fr); }
  .racer .art { min-height: 0; order: -1; margin: 0 auto -10px; width: min(100%, 420px); }
  .racer .art img { width: 82%; }
}

/* the band at the end: the crew at the start line, the waitlist under them */
.join { padding: 0 0 clamp(64px, 9vw, 120px); }
.join .shot { position: relative; border-bottom: 4px solid var(--ink); }
.join .shot img { width: 100%; height: auto; }
.join .panel { position: relative; z-index: 2; width: min(760px, calc(100% - 2 * var(--pad))); margin: clamp(-90px, -7vw, -40px) auto 0; padding: clamp(28px, 4vw, 44px) clamp(20px, 4vw, 48px) clamp(32px, 4vw, 46px); text-align: center; }
.join h2 { margin: 18px 0 0; font-size: clamp(30px, min(8.2vw, 4vw + 16px), 66px); --sw: 7px; --dy: 5px; white-space: nowrap; }
.join p { max-width: 520px; margin: 16px auto 0; font-size: 21px; color: var(--soft); }
.join .deck { margin-top: 28px; }

/* ---------------------------------------------------------------- the foot */
/* (over the street pages' picture, which stays put behind the page: without its own layer the foot
   would show the street through it and lose its last line under it) */
.foot { position: relative; z-index: 1; padding: 40px var(--pad) 44px; border-top: 4px solid var(--ink); background-color: var(--ink-2); background-image: var(--grain); }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 30px; }
.foot .brand img { height: 44px; }
.foot nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; }
.foot .lk { font-size: 18px; }
.foot small { display: block; width: 100%; color: var(--mute); font-size: 16px; letter-spacing: .06em; }

/* ---------------------------------------------------------------- pages on the street: waitlist, collabs, play */
.street { position: relative; min-height: calc(100vh - var(--bar)); min-height: calc(100svh - var(--bar)); padding: 40px var(--pad) 72px; isolation: isolate; }
.street::before { content: ''; position: fixed; inset: 0; z-index: -2; background: #3E6FA8 url('../img/key_l.webp') center / cover no-repeat; }
.street::after { content: ''; position: fixed; inset: 0; z-index: -1; background: rgba(18, 17, 42, .34); }
@media (max-width: 820px) {
  .street { padding-top: 30px; }
  .street::before { background-image: url('../img/key_p.webp'); }
}
.head { display: flex; flex-direction: column; align-items: center; text-align: center; margin: 0 auto 34px; max-width: 860px; }
.head .tape { --tf: clamp(26px, 3vw, 34px); }
.head h1 { margin: 16px 0 0; font-size: clamp(34px, min(9.2vw, 6vw + 12px), 78px); line-height: .96; --sw: clamp(6px, .9vw, 10px); --dy: 6px; white-space: nowrap; }
.head p { max-width: 520px; margin: 16px 0 0; font-size: clamp(19px, 1.8vw, 22px); color: #fff; text-shadow: 0 2px 0 rgba(18, 17, 42, .8); }

/* a page that only says soon */
.soon-page { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; max-width: 1080px; margin: 0 auto; }
.soon-page .panel { width: min(640px, 100%); padding: clamp(30px, 4vw, 46px) clamp(22px, 4vw, 48px) clamp(34px, 4vw, 48px); text-align: center; }
.soon-page .panel h1 { margin: 18px 0 0; font-size: clamp(46px, 7vw, 80px); line-height: .95; --sw: 8px; --dy: 6px; }
.soon-page .panel p { max-width: 460px; margin: 18px auto 0; font-size: 21px; color: var(--soft); }
.soon-page .row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 30px; }
/* (a plate beside a small deck: the deck's height, so the two line up) */
.soon-page .row .plate, .done .row .plate { --bh: 52px; }
.soon-page .rider { width: min(300px, 62vw); margin: 0 auto -18px; position: relative; z-index: 2; filter: drop-shadow(0 10px 0 rgba(18, 17, 42, .35)); }
@media (min-width: 980px) {
  .soon-page.with-rider { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 30px; min-height: calc(100vh - var(--bar) - 150px); }
  .soon-page.with-rider .rider { margin: 0 auto; width: min(100%, 440px); }
}

/* ---------------------------------------------------------------- the waitlist */
.wl { max-width: 680px; margin: 0 auto; }
.form { padding: clamp(22px, 3.4vw, 36px) clamp(16px, 3.4vw, 36px) clamp(26px, 3.4vw, 38px); }
.step + .step { margin-top: 30px; padding-top: 28px; border-top: 3px solid rgba(255, 255, 255, .07); }
.step-h { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.step-h .n { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--yellow); color: var(--ink); border: 3px solid var(--ink); box-shadow: 0 4px 0 var(--ink); font-family: 'Skaterz Display', sans-serif; font-size: 21px; transform: rotate(-5deg); }
.step-h h2 { margin: 0; font-family: 'Skaterz Display', sans-serif; font-weight: 400; font-size: clamp(20px, min(5.6vw, 2vw + 12px), 28px); color: #fff; line-height: 1.05; white-space: nowrap; }
.step-h .count { margin-left: auto; color: var(--mute); font-size: 17px; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; white-space: nowrap; }
/* a field: a lane with the text on it */
.field { display: flex; align-items: center; height: 60px; border-radius: 18px; background: var(--lane); border: 4px solid var(--ink); box-shadow: inset 0 5px 0 rgba(0, 0, 0, .22); transition: border-color .12s; }
.field:focus-within { border-color: var(--paper); }
/* (the display font's @ sits high: down onto the line of the words beside it) */
.field .pre { padding: 0 0 0 18px; color: var(--mute); font-family: 'Skaterz Display', sans-serif; font-size: 22px; transform: translateY(.16em); }
.field input { flex: 1; min-width: 0; height: 100%; padding: 0 18px; border: 0; background: none; color: #fff; outline: none;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 22px; letter-spacing: .03em; }
.field .pre + input { padding-left: 6px; }
.field input::placeholder { color: #7D77B5; font-weight: 700; }
.field.bad { border-color: var(--red); }
.field.good { border-color: var(--mint); }
.hint { margin: 10px 2px 0; color: var(--mute); font-size: 17px; }
.hint:empty { display: none; }
.err { margin: 10px 2px 0; color: #FF8DA1; font-size: 18px; min-height: 0; }
.err:empty { display: none; }
/* the tasks */
.tasks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.task { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 14px; padding: 10px 10px 10px 12px; border-radius: 20px; background: var(--ink-3); border: 3px solid var(--ink); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .06); }
/* each task's sign on a round ink badge (flat: it isn't a button), the sign in its middle */
.task .ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ink-4); border: 3px solid var(--ink); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .1); }
.task .ico svg { width: 31px; height: 31px; }
.task .t { font-size: 20px; color: #fff; line-height: 1.15; text-wrap: balance; }
.task .t b { font-weight: 900; color: var(--yellow); }
.task .t small { display: block; margin-top: 2px; font-size: 16px; color: var(--mute); font-weight: 700; text-wrap: pretty; }
.task .go { --bh: 46px; --bf: 16px; padding: 0 18px; min-width: 104px; }
/* (a task he's done: ticked, not .done, which is the card's panel) */
.task.ticked { border-color: #1E7A57; background: #213B4B; }
.task.ticked .go { background: var(--mint); color: var(--ink); box-shadow: 0 6px 0 var(--ink), inset 0 3px 0 rgba(255, 255, 255, .45); }
.task .more { grid-column: 1 / -1; margin-top: 12px; }
.task .more .hint { margin: 0 2px 10px; }
.task .more .field { height: 54px; }
.task .more .field input { font-size: 19px; }
@media (max-width: 520px) {
  .task { column-gap: 10px; }
  .task .ico { width: 40px; height: 40px; }
  .task .ico svg { width: 26px; height: 26px; }
  .task .t { font-size: 18.5px; }
  .task .go { min-width: 86px; padding: 0 14px; --bf: 15px; }
}
.form .send { display: flex; flex-direction: column; align-items: center; margin-top: 34px; }
.form .send .deck { width: 100%; max-width: 420px; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }

/* the card, once he's on the list */
.done { padding: clamp(24px, 3.4vw, 36px) clamp(16px, 3.4vw, 36px) clamp(28px, 3.4vw, 38px); text-align: center; }
.done { scroll-margin-top: calc(var(--bar) + 16px); }
.done h2 { margin: 18px 0 0; font-size: clamp(28px, min(7.6vw, 3.4vw + 16px), 52px); --sw: 7px; --dy: 5px; white-space: nowrap; }
.field input, .task .go { scroll-margin-top: calc(var(--bar) + 44px); scroll-margin-bottom: 40px; }
.done .lead { margin: 12px auto 0; max-width: 460px; font-size: 20px; color: var(--soft); }
.done .card-img { width: 100%; height: auto; margin: 26px 0 0; border-radius: 18px; border: 4px solid var(--ink); box-shadow: 0 8px 0 var(--ink); background: var(--ink-3); aspect-ratio: 16 / 9; }
.done .row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 18px; margin-top: 32px; }
.done .credit { margin: 18px 0 0; color: #7D77B5; font-size: 14px; letter-spacing: .04em; }
.done .credit a { color: inherit; }
.done .again { margin-top: 24px; border: 0; background: none; color: var(--mute); font-size: 17px; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
