/* SADAK FURY — site styles
   Palette from the game's art direction (docs/12): cream, fury red, ink, marigold, tea green + the logo gold.
   Display type: Bungee (OFL), the game's HUD and logo font. Body: the system UI stack (no download). */

@font-face {
  font-family: "Bungee";
  src: url("../fonts/Bungee-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@property --accent   { syntax: "<color>"; inherits: true; initial-value: #3e8e41; }
@property --accent-2 { syntax: "<color>"; inherits: true; initial-value: #19b5a5; }
@property --bike     { syntax: "<color>"; inherits: true; initial-value: #3e6fb5; }

:root {
  /* brand palette from the game team: gold #FFD12E, red #C8102E, blue #1F5FA8, marigold #F29F05, steel #4A5260, ink #151515, cream #F2E6CF */
  --ink: #151515;
  --ink-2: #1a1a1c;
  --blue: #1f5fa8;
  --steel: #4a5260;
  --panel: #1c1d21;
  --panel-2: #24262b;
  --asphalt: #2b2d31;
  --cream: #f2e6cf;
  --paper: #fff8ea;
  --fury: #c8102e;
  --fury-dark: #7a081b;
  --marigold: #f29f05;
  --gold: #ffd12e;
  --tea: #3e8e41;
  --sky: #1e9be0;
  --text: #f6efe2;
  --muted: #bdb5a6;
  --line: rgba(255, 255, 255, .09);
  --radius: 18px;
  --gutter: 16px;
  --font-display: "Bungee", "Arial Black", Impact, system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --gold-fill: linear-gradient(180deg, #fff6c0 0%, #ffd12e 42%, #f5a300 74%, #e07900 100%);
  interpolate-size: allow-keywords;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 1.0625rem/1.62 var(--font-body);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.04; margin: 0; letter-spacing: .005em; }
::selection { background: var(--fury); color: #fff; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, 100% - var(--gutter) * 2); margin-inline: auto; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 100; padding: .7em 1em; border-radius: 10px;
  background: var(--gold); color: var(--ink); font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

.section { position: relative; padding: clamp(84px, 11vw, 150px) 0; }
.kicker {
  display: inline-flex; align-items: center; gap: .65em;
  font: 400 .78rem/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--marigold);
}
.kicker::before {
  content: ""; width: 34px; height: 6px; border-radius: 2px;
  background: repeating-linear-gradient(90deg, currentColor 0 9px, transparent 9px 14px);
}
.section-title {
  font-size: clamp(2.1rem, 1.25rem + 3.7vw, 4rem);
  text-transform: uppercase; margin: .32em 0 .36em; text-wrap: balance; color: var(--cream);
}
.section-title em { font-style: normal; color: var(--gold); }
.lead { font-size: clamp(1.06rem, .98rem + .45vw, 1.3rem); color: var(--muted); max-width: 62ch; text-wrap: pretty; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--fury); --edge: var(--fury-dark);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.35em; border: 0; border-radius: 12px; cursor: pointer;
  background: var(--bg); color: #fff; text-decoration: none;
  font: 400 .95rem/1 var(--font-display); letter-spacing: .04em; text-transform: uppercase;
  box-shadow: 0 4px 0 var(--edge), 0 14px 28px -10px color-mix(in srgb, var(--bg) 70%, transparent);
  transition: transform .15s var(--ease-out), box-shadow .15s var(--ease-out), background .2s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .5) 50%, transparent 70%);
  transform: translateX(-130%); transition: transform .7s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: translateX(130%); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--edge); }
.btn--gold { --bg: var(--marigold); --edge: #9a5d00; color: var(--ink); }
.btn--ghost {
  --bg: rgba(255, 255, 255, .06); --edge: rgba(0, 0, 0, .5);
  color: var(--cream); box-shadow: inset 0 0 0 2px rgba(242, 230, 207, .35), 0 4px 0 var(--edge);
}
.btn--small { padding: .75em 1.05em; font-size: .78rem; border-radius: 10px; }

.store-row { display: flex; flex-wrap: wrap; gap: 12px; }
.store-btn {
  position: relative; display: inline-flex; align-items: center; gap: .8rem;
  min-width: 212px; padding: .72rem 1.15rem .72rem .9rem; border-radius: 14px;
  background: #0b0b0c; color: #fff; text-decoration: none;
  border: 2px solid rgba(255, 255, 255, .2);
  box-shadow: 0 10px 26px -12px rgba(0, 0, 0, .9);
  transition: transform .18s var(--ease-out), border-color .2s, box-shadow .2s;
}
.store-btn:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 16px 30px -12px rgba(255, 200, 61, .35); }
.store-btn svg { flex: 0 0 auto; width: 30px; height: 30px; }
.store-btn small {
  display: block; font: 700 .66rem/1.2 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: #c9c1b2;
}
.store-btn strong { display: block; font: 400 1.12rem/1.15 var(--font-display); letter-spacing: .01em; }
.store-btn .soon {
  position: absolute; top: -10px; right: -8px; padding: .32em .55em; border-radius: 6px;
  background: var(--fury); color: #fff; font: 400 .6rem/1 var(--font-display); letter-spacing: .08em;
  transform: rotate(4deg); box-shadow: 0 3px 0 var(--fury-dark);
}

/* ---------- Navigation ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 60; padding: 14px 0; transition: background .3s, box-shadow .3s, padding .3s; }
.nav.is-scrolled, .nav.is-open {
  padding: 8px 0; background: rgba(14, 14, 16, .86);
  -webkit-backdrop-filter: blur(12px) saturate(1.3); backdrop-filter: blur(12px) saturate(1.3);
  box-shadow: 0 1px 0 var(--line), 0 12px 30px -18px rgba(0, 0, 0, .9);
}
.nav-inner { display: flex; align-items: center; gap: 14px; }
.nav-logo {
  font: 400 1.28rem/1 var(--font-display); text-decoration: none; letter-spacing: .01em; white-space: nowrap;
  background: var(--gold-fill); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(2px 2px 0 var(--fury)) drop-shadow(1px 1px 0 var(--fury-dark));
  transform: rotate(-3deg); padding: 4px 2px;
}
.nav-links { display: flex; gap: 2px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.nav-links a {
  display: block; padding: .72em .78em; border-radius: 8px; text-decoration: none;
  font: 400 .74rem/1 var(--font-display); letter-spacing: .07em; text-transform: uppercase; color: var(--cream); opacity: .86;
  transition: background .2s, opacity .2s, color .2s;
}
.nav-links a:hover { background: rgba(255, 255, 255, .08); opacity: 1; color: var(--gold); }
.nav-toggle {
  display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .08); align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--cream); position: relative;
  transition: transform .25s var(--ease-out), background .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav.is-open .nav-toggle span { background: transparent; }
.nav.is-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .nav-links {
    position: absolute; top: calc(100% + 6px); left: var(--gutter); right: var(--gutter);
    flex-direction: column; gap: 0; padding: 8px; margin: 0; border-radius: 16px;
    background: #16171a; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .95), 0 0 0 1px var(--line);
    opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .2s, transform .2s;
  }
  .nav.is-open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 1em; font-size: .86rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(640px, 100svh); display: grid; align-items: end;
  padding: 120px 0 clamp(64px, 9vh, 110px); background: #0c0c0e;
}
.hero-slides { position: absolute; inset: 0; z-index: -3; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide picture, .hero-slide img { width: 100%; height: 100%; }
.hero-slide img { object-fit: cover; object-position: 28% 45%; transform: scale(1.06); }
.hero-slide.is-active img { animation: kenburns 9s ease-out both; }
@keyframes kenburns { from { transform: scale(1.16) translate3d(1.2%, 1%, 0); } to { transform: scale(1.03) translate3d(0, 0, 0); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(12, 12, 14, .94) 0%, rgba(12, 12, 14, .74) 30%, rgba(12, 12, 14, .18) 58%, rgba(12, 12, 14, 0) 76%),
    linear-gradient(0deg, #121214 0%, rgba(18, 18, 20, .6) 18%, rgba(18, 18, 20, 0) 42%),
    linear-gradient(180deg, rgba(12, 12, 14, .55) 0%, rgba(12, 12, 14, 0) 20%);
}
.hero-speed { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; }
.hero-copy { max-width: 640px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em; padding: .5em .85em; border-radius: 999px;
  background: rgba(0, 0, 0, .5); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
  font: 400 .72rem/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: var(--cream);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }

.hero-title { margin: 22px 0 0; }
.wordmark {
  display: inline-block; font-family: var(--font-display); text-transform: uppercase; line-height: .9;
  font-size: clamp(3.3rem, 1.4rem + 8.6vw, 7.6rem); letter-spacing: .01em;
  transform: rotate(-3deg); transform-origin: left bottom;
  filter: drop-shadow(.03em .03em 0 #e0263f) drop-shadow(.025em .025em 0 #a50c26) drop-shadow(.02em .02em 0 #6d0718) drop-shadow(0 .12em .14em rgba(0, 0, 0, .55));
}
.wm-line { display: block; white-space: nowrap; }
.wm-line + .wm-line { margin-left: .42em; }
.wm-letter {
  display: inline-block; color: transparent;
  background-image: linear-gradient(100deg, transparent 0 42%, rgba(255, 255, 255, .95) 50%, transparent 58% 100%), var(--gold-fill);
  background-size: 320% 100%, 100% 100%; background-repeat: no-repeat; background-position: 160% 0, 0 0;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-stroke: .03em #2b1100;
  animation: letterDrop .75s cubic-bezier(.2, 1.5, .4, 1) both, shine 5.5s ease-in-out infinite;
  animation-delay: calc(var(--i) * 55ms + .15s), calc(var(--i) * 70ms + 2s);
}
@keyframes letterDrop {
  0% { opacity: 0; transform: translateY(-1em) rotate(-10deg) scale(1.35); }
  55% { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
@keyframes shine {
  0%, 62% { background-position: 160% 0, 0 0; }
  82%, 100% { background-position: -60% 0, 0 0; }
}
.hero-tag {
  display: inline-block; margin-top: 18px; padding: .5em .8em .45em; border-radius: 6px;
  background: var(--fury); color: #fff; box-shadow: 5px 5px 0 #000;
  font: 400 clamp(.86rem, .7rem + .7vw, 1.2rem)/1 var(--font-display); letter-spacing: .04em; text-transform: uppercase;
  transform: rotate(-3deg) skewX(-6deg);
  animation: tagIn .6s .85s var(--ease-out) both;
}
@keyframes tagIn { from { opacity: 0; transform: rotate(-3deg) skewX(-6deg) translateX(-30px); } }
.hero-lead { margin: 26px 0 28px; max-width: 54ch; font-size: clamp(1.05rem, .98rem + .4vw, 1.25rem); color: #e9e1d2; text-wrap: pretty; }
.hero-lead strong { color: #fff; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.hero-chips li {
  display: inline-flex; align-items: center; gap: .45em; padding: .5em .8em; border-radius: 999px;
  background: rgba(0, 0, 0, .45); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  font-size: .86rem; font-weight: 600; color: var(--cream);
}
.hero-chips svg { width: 16px; height: 16px; color: var(--gold); }
.hero-copy > * { animation: rise .8s var(--ease-out) both; }
.hero-copy > :nth-child(1) { animation-delay: .05s; }
.hero-copy > :nth-child(3) { animation-delay: 1s; }
.hero-copy > :nth-child(4) { animation-delay: 1.12s; }
.hero-copy > :nth-child(5) { animation-delay: 1.24s; }
.hero-copy > .hero-title { animation: none; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

.hero-now { min-width: 250px; text-align: right; animation: rise .8s 1.3s var(--ease-out) both; }
.hero-now .label { font: 400 .66rem/1 var(--font-display); letter-spacing: .18em; color: var(--muted); }
.hero-now .place {
  display: block; margin: .35em 0 .2em; font: 400 clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem)/1 var(--font-display); color: #fff;
  text-shadow: 0 3px 0 rgba(0, 0, 0, .6);
}
.hero-now .sub { display: block; font-size: .9rem; color: var(--cream); opacity: .85; min-height: 1.4em; }
.hero-dots { display: flex; justify-content: flex-end; gap: 6px; margin-top: 14px; }
.hero-dot { position: relative; width: 38px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; }
.hero-dot::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .25); }
.hero-dot::after {
  content: ""; position: absolute; left: 0; top: 9px; height: 4px; width: 100%; border-radius: 4px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
}
.hero-dot.is-active::after { animation: dotFill var(--slide-ms, 6500ms) linear forwards; }
.hero.is-paused .hero-dot.is-active::after { animation-play-state: paused; }
@keyframes dotFill { to { transform: scaleX(1); } }
.place-swap { animation: placeIn .6s var(--ease-out); }
@keyframes placeIn { from { opacity: 0; transform: translateY(12px); filter: blur(4px); } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 2;
  display: grid; justify-items: center; gap: 6px; color: var(--muted); text-decoration: none;
  font: 400 .6rem/1 var(--font-display); letter-spacing: .2em;
}
.scroll-cue .road { width: 18px; height: 34px; border-radius: 9px; background: #2b2d31; position: relative; overflow: hidden; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .2); }
.scroll-cue .road::before {
  content: ""; position: absolute; left: 50%; top: -30px; width: 2px; height: 90px; margin-left: -1px;
  background: repeating-linear-gradient(180deg, var(--cream) 0 6px, transparent 6px 12px);
  animation: cueDash .6s linear infinite;
}
@keyframes cueDash { to { transform: translateY(12px); } }

@media (max-width: 860px) {
  .hero { align-items: end; padding-top: 96px; }
  .hero::before {
    background:
      linear-gradient(0deg, #121214 6%, rgba(18, 18, 20, .86) 42%, rgba(18, 18, 20, .25) 70%, rgba(18, 18, 20, .45) 100%);
  }
  .hero-slide img { object-position: 60% 40%; }
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero-now { text-align: left; min-width: 0; }
  .hero-dots { justify-content: flex-start; }
  .scroll-cue { display: none; }
}
@media (max-width: 520px) {
  .store-btn { min-width: 0; flex: 1 1 100%; }
  .wm-line + .wm-line { margin-left: .3em; }
  .hero-now { display: none; }
}

/* ---------- Marquee ---------- */
.marquee { position: relative; z-index: 3; margin: -34px 0 0; overflow: hidden; padding: 18px 0 26px; pointer-events: none; }
.marquee-row { display: flex; overflow: hidden; border-block: 3px solid #000; margin-inline: -4vw; }
.marquee-row--red { background: var(--fury); transform: rotate(-2deg); box-shadow: 0 10px 0 rgba(0, 0, 0, .35); }
.marquee-row--gold { background: var(--marigold); transform: rotate(1.3deg); margin-top: -8px; }
.marquee-track { display: flex; flex: 0 0 auto; align-items: center; padding: .5em 0; animation: marquee 40s linear infinite; }
.marquee-row--gold .marquee-track { animation-direction: reverse; animation-duration: 48s; }
.marquee-track span {
  display: inline-flex; align-items: center; gap: .9em; padding-right: .9em; white-space: nowrap;
  font: 400 clamp(1.05rem, .85rem + 1vw, 1.65rem)/1 var(--font-display); letter-spacing: .03em; color: var(--cream);
}
.marquee-row--gold .marquee-track span { color: var(--ink); }
.marquee-track span::after { content: ""; width: .7em; height: .7em; background: currentColor; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); opacity: .8; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- Stats band ---------- */
.stats-band { padding: 26px 0 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat-card {
  position: relative; overflow: hidden; padding: 20px 18px; border-radius: var(--radius);
  background: linear-gradient(160deg, #1d1e22, #141518); box-shadow: inset 0 0 0 1px var(--line);
}
.stat-card strong { display: block; font: 400 clamp(2.4rem, 1.8rem + 2.4vw, 3.6rem)/1 var(--font-display); color: var(--gold); text-shadow: 3px 3px 0 var(--fury-dark); }
.stat-card span { display: block; margin-top: 6px; font: 400 .78rem/1.25 var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--cream); }
.stat-card::after {
  content: ""; position: absolute; right: -18px; bottom: -18px; width: 90px; height: 90px; border-radius: 50%;
  border: 10px solid rgba(255, 255, 255, .04); border-top-color: rgba(242, 159, 5, .25);
}
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Race + fight ---------- */
.fight { background: radial-gradient(1100px 620px at 88% 0%, rgba(200, 16, 46, .2), transparent 60%), var(--ink); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.feature {
  position: relative; padding: 26px 22px 24px; border-radius: var(--radius);
  background: linear-gradient(180deg, #1f2024, #15161a);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), inset 0 0 0 1px var(--line), 0 24px 44px -26px #000;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.feature:hover { transform: translateY(-8px) rotate(-.6deg); box-shadow: inset 0 0 0 2px rgba(242, 159, 5, .55), 0 30px 50px -24px #000; }
.feature img { width: 76px; height: 76px; margin-bottom: 16px; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .65)); transition: transform .3s var(--ease-out); }
.feature:hover img { transform: scale(1.1) rotate(-8deg); }
.feature h3 { font-size: 1.4rem; color: var(--cream); margin-bottom: .45em; text-transform: uppercase; }
.feature p { margin: 0; color: var(--muted); font-size: 1rem; }
@media (max-width: 1020px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

.gameplay { position: relative; margin: clamp(52px, 7vw, 90px) 0 0; }
.gameplay-frame {
  position: relative; overflow: hidden; border-radius: 22px; background: #000; aspect-ratio: 1600 / 970;
  box-shadow: 0 0 0 3px rgba(242, 159, 5, .6), 0 40px 70px -40px #000;
}
.gameplay-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.gameplay > .tag--live {
  left: 50%; top: -15px; z-index: 2; display: inline-flex; align-items: center; gap: .5em; padding: .6em .85em; font-size: .68rem;
  background: var(--fury); box-shadow: 4px 4px 0 #000; transform: translateX(-50%) rotate(-2deg);
}
.gameplay > .tag--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: blink 1.2s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.gameplay-toggle {
  flex: 0 0 auto; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%;
  background: #1f2024; color: var(--cream); cursor: pointer; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .18), 0 3px 0 #000;
  transition: background .2s, color .2s, transform .15s;
}
.gameplay-toggle:hover { background: var(--marigold); color: var(--ink); }
.gameplay-toggle:active { transform: translateY(2px); }
.gameplay-toggle svg { width: 18px; height: 18px; }
.gameplay-toggle .i-play { display: none; }
.gameplay-toggle.is-paused .i-play { display: block; }
.gameplay-toggle.is-paused .i-pause { display: none; }
.gameplay figcaption { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 16px; color: var(--muted); font-size: .95rem; text-align: left; }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; margin-top: clamp(64px, 8vw, 110px); }
.split--flip { grid-template-columns: 1fr 1.1fr; }
.split--flip .split-media { order: 2; }
@media (max-width: 900px) { .split, .split--flip { grid-template-columns: 1fr; } .split--flip .split-media { order: 0; } }
.split h3 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem); text-transform: uppercase; color: var(--cream); margin: .35em 0 .45em; }
.split h3 em { font-style: normal; color: var(--gold); }
.split p { color: var(--muted); }

.comic-frame {
  position: relative; border: 4px solid #000; border-radius: 8px; background: #000;
  box-shadow: 10px 10px 0 var(--fury), 10px 10px 0 4px #000; transform: rotate(-1.2deg);
}
.comic-frame picture { overflow: hidden; border-radius: 4px; }
.comic-frame img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.comic-frame--gold { box-shadow: -10px 10px 0 var(--marigold), -10px 10px 0 4px #000; transform: rotate(1.2deg); }
.burst {
  position: absolute; z-index: 2; display: grid; place-items: center; text-align: center;
  width: clamp(104px, 14vw, 150px); aspect-ratio: 1; padding: 16px;
  font: 400 clamp(.8rem, .62rem + .7vw, 1.1rem)/.95 var(--font-display); color: var(--ink); text-transform: uppercase;
  background: var(--gold);
  clip-path: polygon(50% 0, 61% 18%, 82% 7%, 80% 30%, 100% 34%, 86% 51%, 100% 67%, 79% 71%, 83% 94%, 62% 82%, 50% 100%, 38% 82%, 17% 94%, 21% 71%, 0 67%, 14% 51%, 0 34%, 20% 30%, 18% 7%, 39% 18%);
  filter: drop-shadow(4px 4px 0 #000);
}
.burst--tr { top: -46px; right: -34px; transform: rotate(10deg); }
.burst--bl { bottom: -48px; left: -36px; transform: rotate(-8deg); background: var(--fury); color: #fff; }
.js .burst { opacity: 0; transform: scale(.2) rotate(-30deg); }
.js .is-in .burst { animation: pop .55s .35s cubic-bezier(.2, 1.6, .4, 1) forwards; }
.js .is-in .burst--bl { animation-delay: .6s; }
@keyframes pop { to { opacity: 1; transform: scale(1) rotate(var(--rot, 8deg)); } }
.burst--tr { --rot: 10deg; }
.burst--bl { --rot: -8deg; }
@media (max-width: 560px) { .burst--tr { right: -6px; } .burst--bl { left: -6px; } }

.weapon-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.weapon-list li {
  padding: .55em .85em; border-radius: 8px; background: #1f2024; box-shadow: inset 0 0 0 1px var(--line), 0 3px 0 #000;
  font: 400 .8rem/1 var(--font-display); letter-spacing: .04em; color: var(--cream); text-transform: uppercase;
  transition: transform .2s, background .2s, color .2s;
}
.weapon-list li:hover { transform: translateY(-3px) rotate(-2deg); background: var(--marigold); color: var(--ink); }

/* ---------- Road divider ---------- */
.road-divider { position: relative; height: 34px; background: #26282c; overflow: hidden; box-shadow: inset 0 3px 0 rgba(0, 0, 0, .35), inset 0 -3px 0 rgba(0, 0, 0, .35); }
.road-divider::before {
  content: ""; position: absolute; left: -80px; right: 0; top: 50%; height: 5px; margin-top: -2px;
  background: repeating-linear-gradient(90deg, var(--cream) 0 44px, transparent 44px 88px);
  animation: roadDash 1s linear infinite;
}
.road-divider::after {
  content: ""; position: absolute; inset: 4px 0; border-block: 2px solid rgba(242, 230, 207, .5);
}
@keyframes roadDash { to { transform: translateX(88px); } }

/* ---------- States ---------- */
.states {
  --accent: #3e8e41; --accent-2: #19b5a5;
  overflow: hidden; background: #0f1012;
  transition: --accent .8s ease, --accent-2 .8s ease;
}
.states::before {
  content: ""; position: absolute; inset: -10% -20% auto; height: 90%; pointer-events: none;
  background:
    radial-gradient(40% 50% at 70% 40%, color-mix(in srgb, var(--accent) 34%, transparent), transparent 70%),
    radial-gradient(30% 40% at 20% 70%, color-mix(in srgb, var(--accent-2) 22%, transparent), transparent 70%);
  filter: blur(10px);
}
.states .container { position: relative; }
.state-tabs {
  display: flex; gap: 8px; margin: 34px 0 30px; padding: 4px; overflow-x: auto; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); mask-image: linear-gradient(90deg, #000 90%, transparent);
}
.state-tabs::-webkit-scrollbar { display: none; }
.state-tab {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: .55em; cursor: pointer;
  padding: .78em 1.1em; border-radius: 999px; border: 0;
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .12);
  font: 400 .82rem/1 var(--font-display); letter-spacing: .05em; text-transform: uppercase; color: var(--cream);
  transition: background .25s, color .25s, box-shadow .25s, transform .2s;
}
.state-tab:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 2px var(--tab); }
.state-tab .pip { width: 11px; height: 11px; border-radius: 50%; background: var(--tab); box-shadow: 0 0 12px var(--tab); }
.state-tab[aria-selected="true"] { background: var(--tab); color: var(--tab-ink, #111); box-shadow: 0 10px 26px -10px var(--tab); }
.state-tab[aria-selected="true"] .pip { background: var(--tab-ink, #111); box-shadow: none; }
.state-panel { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.state-panel[hidden] { display: none; }
html:not(.js) .state-panel[hidden] { display: grid; margin-top: 56px; }
.state-art {
  position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 2 / 1; background: #000;
  box-shadow: 0 34px 60px -34px #000, 0 0 0 3px color-mix(in srgb, var(--accent) 70%, transparent);
}
.state-art img { width: 100%; height: 100%; object-fit: cover; }
.state-art .route-chip {
  position: absolute; left: 14px; bottom: 14px; padding: .55em .8em; border-radius: 8px;
  background: rgba(0, 0, 0, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font: 400 .72rem/1 var(--font-display); letter-spacing: .08em; color: #fff;
}
.state-panel.is-entering .state-art { animation: wipeIn .75s cubic-bezier(.7, 0, .2, 1); }
.state-panel.is-entering .state-copy > * { animation: rise .6s var(--ease-out) both; }
.state-panel.is-entering .state-copy > :nth-child(2) { animation-delay: .06s; }
.state-panel.is-entering .state-copy > :nth-child(3) { animation-delay: .12s; }
.state-panel.is-entering .state-copy > :nth-child(4) { animation-delay: .18s; }
@keyframes wipeIn {
  from { clip-path: polygon(0 0, 0 0, -30% 100%, -30% 100%); }
  to { clip-path: polygon(0 0, 130% 0, 100% 100%, -30% 100%); }
}
.state-name { font-size: clamp(2.3rem, 1.5rem + 3vw, 4.1rem); color: var(--accent); text-transform: uppercase; text-shadow: 3px 3px 0 #000; }
.state-sub { display: block; margin: .5em 0 1em; font: 400 .86rem/1.3 var(--font-display); letter-spacing: .06em; color: var(--cream); text-transform: uppercase; }
.state-copy p { color: #ddd5c6; }
.route-stops { position: relative; margin: 20px 0 0; padding: 0 0 0 4px; list-style: none; }
.route-stops::before {
  content: ""; position: absolute; left: 10px; top: 8px; bottom: 8px; width: 3px;
  background: repeating-linear-gradient(180deg, var(--accent) 0 8px, transparent 8px 14px);
}
.route-stops li { position: relative; padding: 0 0 11px 30px; font-size: .98rem; color: var(--cream); }
.route-stops li::before {
  content: ""; position: absolute; left: 1px; top: .32em; width: 15px; height: 15px; border-radius: 50%;
  background: #0f1012; box-shadow: inset 0 0 0 3px var(--accent);
}
.route-stops li:first-child::before, .route-stops li:last-child::before { background: var(--accent); }
.state-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.state-shots figure { position: relative; margin: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 2 / 1; background: #000; box-shadow: 0 0 0 1px var(--line); }
.state-shots img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.state-shots figure:hover img { transform: scale(1.06); }
.tag {
  position: absolute; left: 8px; top: 8px; z-index: 1; padding: .38em .55em; border-radius: 6px;
  background: rgba(0, 0, 0, .72); color: #fff; font: 400 .58rem/1 var(--font-display); letter-spacing: .12em;
}
@media (max-width: 900px) { .state-panel { grid-template-columns: 1fr; } }

/* ---------- Riders (comic page) ---------- */
.riders {
  color: var(--ink); background-color: var(--cream);
  background-image: radial-gradient(rgba(60, 30, 0, .12) 1.3px, transparent 1.5px);
  background-size: 15px 15px;
}
.riders .kicker { color: var(--fury); }
.riders .section-title { color: var(--ink); }
.riders .section-title em { color: var(--fury); }
.riders .lead { color: #4b4337; }
.rider-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 22px; margin-top: 46px; }
.rider {
  --c: var(--fury); --r: 0deg;
  position: relative; display: flex; flex-direction: column; background: #fff; border: 3px solid #111; border-radius: 6px;
  box-shadow: 7px 7px 0 #111; transform: rotate(var(--r)); transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.rider:nth-child(4n + 1) { --r: -1deg; }
.rider:nth-child(4n + 2) { --r: .8deg; }
.rider:nth-child(4n + 3) { --r: -.5deg; }
.rider:nth-child(4n) { --r: 1.1deg; }
.rider:hover { transform: rotate(0) translateY(-8px); box-shadow: 12px 14px 0 #111; z-index: 2; }
.rider-art { position: relative; aspect-ratio: 2 / 1; overflow: hidden; border-bottom: 3px solid #111; background: #222; }
.rider-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.rider:hover .rider-art img { transform: scale(1.08); }
.rider-body { position: relative; flex: 1; padding: 16px 16px 18px; }
.rider-name { font-size: 1.55rem; color: #111; text-transform: uppercase; }
.rider-role { display: block; margin: .3em 0 .7em; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--c); }
.rider-body p { margin: 0; font-size: .95rem; line-height: 1.5; color: #3a342b; }
.bubble {
  position: absolute; z-index: 2; left: 12px; right: 30%; top: calc(-1 * clamp(40px, 5vw, 52px));
  padding: .5em .7em; border: 3px solid #111; border-radius: 16px; background: #fff; color: #111;
  font: 400 .72rem/1.2 var(--font-display); text-transform: uppercase;
  transform: rotate(-2deg); transform-origin: left bottom; transition: transform .25s cubic-bezier(.2, 1.6, .4, 1);
}
.bubble::after {
  content: ""; position: absolute; left: 22px; bottom: -12px; width: 16px; height: 12px; background: #fff;
  border: 3px solid #111; border-top: 0; border-left: 0; transform: skewX(35deg); border-bottom-right-radius: 4px;
}
.rider:hover .bubble { transform: rotate(-4deg) scale(1.06); }
.weapon-tag {
  display: inline-flex; align-items: center; gap: .45em; margin-top: 12px; padding: .38em .6em; border-radius: 5px;
  background: #111; color: #fff; font: 400 .66rem/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase;
}
.weapon-tag i { width: 9px; height: 9px; border-radius: 2px; background: var(--c); transform: rotate(45deg); }
.rider--you { --c: #c8102e; }
@media (max-width: 1100px) { .rider-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) {
  .rider-grid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(78vw, 320px);
    overflow-x: auto; scroll-snap-type: x mandatory; padding: 56px var(--gutter) 22px; margin-inline: calc(var(--gutter) * -1);
    scrollbar-width: none;
  }
  .rider-grid::-webkit-scrollbar { display: none; }
  .rider { scroll-snap-align: center; }
}
.swipe-hint { display: none; margin-top: 4px; font: 400 .7rem/1 var(--font-display); letter-spacing: .12em; color: #6b5f4d; }
@media (max-width: 820px) { .swipe-hint { display: block; } }

/* ---------- Career ---------- */
.career { background: linear-gradient(180deg, #101114 0%, #0b0b0d 100%); overflow: hidden; }
.leagues { --p: 0; position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin: 50px 0 0; padding: 0; list-style: none; }
.leagues::before, .leagues::after {
  content: ""; position: absolute; left: 6%; right: 6%; top: 38px; height: 6px; border-radius: 3px;
}
.leagues::before { background: repeating-linear-gradient(90deg, rgba(242, 230, 207, .25) 0 18px, transparent 18px 30px); }
.leagues::after { background: linear-gradient(90deg, var(--marigold), var(--fury)); transform: scaleX(var(--p)); transform-origin: left; box-shadow: 0 0 18px rgba(242, 159, 5, .6); }
.league { position: relative; z-index: 1; padding: 0 6px; text-align: center; }
.league .medal {
  display: grid; place-items: center; width: 82px; height: 82px; margin: 0 auto 14px; border-radius: 50%;
  background: #1c1d21; box-shadow: inset 0 0 0 3px rgba(242, 230, 207, .18), 0 10px 20px -8px #000;
  font: 400 1.9rem/1 var(--font-display); color: var(--muted);
  transition: background .4s, color .4s, box-shadow .4s, transform .4s var(--ease-out);
}
.league.is-lit .medal { background: var(--marigold); color: var(--ink); box-shadow: inset 0 0 0 3px #000, 0 0 0 5px rgba(242, 159, 5, .25), 0 14px 26px -8px rgba(242, 159, 5, .6); transform: scale(1.06); }
.league.final .medal { font-size: 1.4rem; }
.league.final.is-lit .medal { background: var(--fury); color: #fff; box-shadow: inset 0 0 0 3px #000, 0 0 0 6px rgba(200, 16, 46, .3), 0 14px 30px -8px rgba(200, 16, 46, .8); }
.league h3 { font-size: 1.02rem; color: var(--cream); text-transform: uppercase; }
.league p { margin: .45em 0 0; font-size: .9rem; color: var(--muted); line-height: 1.4; }
@media (max-width: 900px) {
  .leagues { grid-template-columns: 1fr; gap: 0; max-width: 520px; }
  .leagues::before, .leagues::after { left: 40px; right: auto; top: 40px; bottom: 40px; width: 6px; height: auto; }
  .leagues::before { background: repeating-linear-gradient(180deg, rgba(242, 230, 207, .25) 0 18px, transparent 18px 30px); }
  .leagues::after { background: linear-gradient(180deg, var(--marigold), var(--fury)); transform: scaleY(var(--p)); transform-origin: top; }
  .league { display: grid; grid-template-columns: 82px 1fr; column-gap: 18px; align-items: center; padding: 10px 0; text-align: left; }
  .league .medal { margin: 0; grid-row: span 2; }
  .league p { margin: .25em 0 0; }
}
.dhaba-card {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; margin-top: clamp(56px, 7vw, 90px); border-radius: 22px; overflow: hidden;
  background: #17181b; box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -30px #000;
}
.dhaba-card picture img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.dhaba-copy { padding: clamp(24px, 4vw, 48px); }
.dhaba-copy h3 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); text-transform: uppercase; color: var(--cream); margin-bottom: .5em; }
.dhaba-copy h3 em { font-style: normal; color: var(--gold); }
.dhaba-copy p { color: var(--muted); }
.check-list { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; color: var(--cream); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 6px; background: var(--tea);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Crect width='20' height='20' rx='6'/%3E%3C/svg%3E");
}
.check-list li::after {
  content: ""; position: absolute; left: 6px; top: calc(.2em + 4px); width: 6px; height: 10px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg);
}
@media (max-width: 860px) { .dhaba-card { grid-template-columns: 1fr; } }

/* ---------- Garage / showroom ---------- */
.garage {
  --bike: #3e6fb5;
  background:
    radial-gradient(700px 440px at 34% 44%, color-mix(in srgb, var(--bike) 30%, transparent), transparent 70%),
    linear-gradient(180deg, #0c0d0f, #121316);
  transition: --bike .7s ease;
}
.showroom { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; margin-top: 30px; }
/* The bike renders were made on a white studio backdrop (their cut-outs lose some white highlights), so they sit on a
   bright studio card: every cut-away highlight shows white again and no white fringe shows. */
.bike-stage {
  position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden; border-radius: 26px;
  background: radial-gradient(120% 95% at 50% 32%, #ffffff 0%, #f7f4ee 45%, #e3ddd1 100%);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--bike) 75%, transparent), 0 0 90px -24px color-mix(in srgb, var(--bike) 70%, transparent), 0 34px 60px -34px #000;
  transition: box-shadow .7s ease;
}
.bike-stage::before {
  content: ""; position: absolute; left: 7%; right: 7%; bottom: 8%; height: 15%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(20, 16, 10, .30), rgba(20, 16, 10, 0)); filter: blur(5px);
}
.bike-stage::after {
  content: ""; position: absolute; left: 18%; right: 18%; bottom: 7%; height: 9%; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--bike) 55%, transparent), transparent); filter: blur(10px);
}
.bike-stage picture { position: relative; z-index: 1; width: 86%; }
.bike-stage img {
  width: 100%; aspect-ratio: 16 / 11; object-fit: contain;
  transition: transform .5s var(--ease-out), opacity .25s ease;
}
.bike-stage.is-switching img { opacity: 0; transform: translateX(70px) scale(.95); }
.bike-stage .speed-lines {
  position: absolute; inset: 20% 0 30% -4%; z-index: 0; opacity: .45;
  background: repeating-linear-gradient(180deg, transparent 0 14px, color-mix(in srgb, var(--bike) 70%, transparent) 14px 16px);
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 60%); mask-image: linear-gradient(90deg, #000, transparent 60%);
  animation: lines 0.8s linear infinite;
}
@keyframes lines { from { background-position: 0 0; } to { background-position: 0 32px; } }
.bike-class-chip {
  display: inline-block; padding: .42em .7em; border-radius: 6px; background: var(--bike); color: #fff;
  font: 400 .72rem/1 var(--font-display); letter-spacing: .12em; text-shadow: 0 1px 0 rgba(0, 0, 0, .5);
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .25);
}
.bike-name { margin: .35em 0 .2em; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); color: var(--cream); text-transform: uppercase; }
.bike-blurb { min-height: 3.1em; margin: 0 0 18px; font-size: 1.1rem; font-style: italic; color: var(--gold); }
.bike-stats { display: grid; gap: 14px; margin: 0 0 8px; }
.bike-stat { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: baseline; }
.bike-stat dt { font: 400 .72rem/1 var(--font-display); letter-spacing: .1em; color: var(--muted); }
.bike-stat dd { margin: 0; font: 400 1rem/1 var(--font-display); color: var(--cream); }
.bike-stat .bar { grid-column: 1 / -1; height: 10px; border-radius: 10px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.bike-stat .bar i {
  display: block; height: 100%; width: calc(var(--v, 0) * 100%); border-radius: inherit;
  background: linear-gradient(90deg, var(--marigold), var(--fury)); transition: width .8s var(--ease-out);
}
.bike-stat[hidden] { display: none; }
.class-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 34px 0 16px; }
.class-tab {
  padding: .7em 1em; border-radius: 10px; border: 0; cursor: pointer; background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .1); color: var(--cream);
  font: 400 .78rem/1 var(--font-display); letter-spacing: .08em;
  transition: background .2s, color .2s, box-shadow .2s;
}
.class-tab small { font: inherit; opacity: .6; margin-left: .35em; }
.class-tab[aria-pressed="true"] { background: var(--cream); color: var(--ink); box-shadow: 0 6px 0 #000; }
.bike-list {
  display: flex; gap: 10px; margin: 0; padding: 6px 2px 16px; list-style: none; overflow-x: auto; scroll-snap-type: x proximity;
  scrollbar-width: thin; scrollbar-color: #444 transparent;
}
.bike-list li { flex: 0 0 auto; scroll-snap-align: start; }
.bike-list li[hidden] { display: none; }
.bike-thumb {
  display: grid; justify-items: center; gap: 6px; width: 138px; padding: 10px 8px 12px; cursor: pointer;
  border: 0; border-radius: 14px; background: radial-gradient(110% 90% at 50% 30%, #ffffff, #ebe5d9); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08);
  font: 400 .66rem/1.15 var(--font-display); letter-spacing: .04em; color: #1b1b1d; text-transform: uppercase; text-align: center;
  transition: transform .2s var(--ease-out), box-shadow .2s, background .2s;
}
.bike-thumb img { width: 116px; height: 72px; object-fit: contain; transition: transform .3s var(--ease-out); }
.bike-thumb:hover { transform: translateY(-4px); }
.bike-thumb:hover img { transform: scale(1.06) translateX(3px); }
.bike-thumb[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--thumb, var(--gold)), 0 12px 26px -10px var(--thumb, var(--gold)); }
@media (max-width: 900px) { .showroom { grid-template-columns: 1fr; } .bike-stage { aspect-ratio: 16 / 9; } }

/* ---------- Modes ---------- */
.modes { background: #0f1012; }
.mode-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.mode {
  position: relative; overflow: hidden; padding: 26px 24px; border-radius: var(--radius);
  background: linear-gradient(160deg, #1c1d21, #141518); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.mode::before {
  content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--m) 45%, transparent), transparent);
  transition: transform .5s var(--ease-out);
}
.mode:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--m) 70%, transparent); }
.mode:hover::before { transform: scale(1.6); }
.mode svg { position: relative; width: 44px; height: 44px; color: var(--m); margin-bottom: 14px; }
.mode h3 { position: relative; font-size: 1.2rem; color: var(--cream); text-transform: uppercase; margin-bottom: .4em; }
.mode p { position: relative; margin: 0; color: var(--muted); font-size: .98rem; }
@media (max-width: 900px) { .mode-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .mode-grid { grid-template-columns: 1fr; } }

/* ---------- Multiplayer ---------- */
.mp { overflow: hidden; background: radial-gradient(900px 600px at 80% 50%, rgba(30, 155, 224, .22), transparent 65%), linear-gradient(160deg, #0d1a22, #0c0f12 60%); }
.mp .kicker { color: #6cc9ff; }
.mp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.mp-graphic { position: relative; aspect-ratio: 5 / 4; }
.phone {
  position: absolute; width: 64%; aspect-ratio: 20 / 9; border-radius: 22px; overflow: hidden; background: #000;
  border: 7px solid #0a0a0b; box-shadow: 0 0 0 2px #2e3137, 0 34px 50px -24px #000;
}
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone::after { content: ""; position: absolute; left: 7px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: #111; box-shadow: 0 0 0 2px #1c1c1c; }
.phone--1 { left: 0; top: 4%; transform: rotate(-9deg); }
.phone--2 { right: 0; top: 30%; transform: rotate(6deg); z-index: 2; }
.phone--3 { left: 12%; bottom: 0; transform: rotate(-3deg); z-index: 1; }
.js .mp-graphic .phone { opacity: 0; translate: 0 40px; transition: opacity .7s var(--ease-out), translate .7s var(--ease-out); }
.js .mp-graphic.is-in .phone { opacity: 1; translate: 0 0; }
.js .mp-graphic.is-in .phone--2 { transition-delay: .15s; }
.js .mp-graphic.is-in .phone--3 { transition-delay: .3s; }
.wifi { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; z-index: 3; }
.wifi i {
  position: absolute; left: 50%; top: 50%; width: 260px; height: 260px; margin: -130px 0 0 -130px; border-radius: 50%;
  border: 3px solid rgba(108, 201, 255, .7); opacity: 0; animation: wave 3s ease-out infinite;
}
.wifi i:nth-child(2) { animation-delay: 1s; }
.wifi i:nth-child(3) { animation-delay: 2s; }
@keyframes wave { 0% { transform: scale(.1); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
.name-tag {
  position: absolute; z-index: 4; padding: .45em .7em; border-radius: 8px; background: var(--t); color: #111;
  font: 400 .66rem/1 var(--font-display); letter-spacing: .06em; box-shadow: 0 4px 0 rgba(0, 0, 0, .55);
  animation: bob 3.4s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(-8px); } }
.mp-list { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.mp-list li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; color: var(--cream); }
.mp-list svg { width: 36px; height: 36px; padding: 7px; border-radius: 10px; background: rgba(108, 201, 255, .12); color: #6cc9ff; }
.mp-list strong { display: block; font: 400 .92rem/1.2 var(--font-display); text-transform: uppercase; letter-spacing: .03em; margin-bottom: 2px; }
.mp-list span { color: var(--muted); font-size: .98rem; }
@media (max-width: 900px) { .mp-grid { grid-template-columns: 1fr; } .mp-graphic { max-width: 560px; width: 100%; margin: 0 auto; } }

/* ---------- Fair play ---------- */
.fair { background: #121214; }
.fair-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 44px; }
.fair-item {
  padding: 24px 18px; border-radius: 16px; text-align: center; background: rgba(62, 142, 65, .08);
  box-shadow: inset 0 0 0 2px rgba(62, 142, 65, .45); transition: transform .3s var(--ease-out), background .3s;
}
.fair-item:hover { transform: translateY(-6px) rotate(-1deg); background: rgba(62, 142, 65, .16); }
.fair-item svg { width: 46px; height: 46px; margin: 0 auto 12px; color: #6fd36f; }
.fair-item h3 { font-size: .98rem; text-transform: uppercase; color: var(--cream); margin-bottom: .45em; }
.fair-item p { margin: 0; font-size: .92rem; color: var(--muted); line-height: 1.45; }
@media (max-width: 1020px) { .fair-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .fair-grid { grid-template-columns: repeat(2, 1fr); } .fair-item:last-child { grid-column: 1 / -1; } }

/* ---------- Gallery ---------- */
.gallery { background: linear-gradient(180deg, #0f1012, #121214); }
.gallery-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.gallery-nav { display: flex; gap: 10px; }
.round-btn {
  display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; cursor: pointer;
  background: #1f2024; color: var(--cream); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .12), 0 4px 0 #000;
  transition: background .2s, transform .15s, color .2s;
}
.round-btn:hover { background: var(--marigold); color: var(--ink); }
.round-btn:active { transform: translateY(3px); }
.round-btn svg { width: 22px; height: 22px; }
.gallery-strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(80vw, 600px); gap: 16px;
  margin-top: 36px; padding: 6px max(var(--gutter), calc((100vw - 1200px) / 2)) 24px; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), calc((100vw - 1200px) / 2));
  scrollbar-width: thin; scrollbar-color: #3a3c42 transparent;
}
.shot {
  position: relative; display: block; margin: 0; padding: 0; border: 0; border-radius: 16px; overflow: hidden; cursor: zoom-in;
  aspect-ratio: 16 / 9; background: #000; scroll-snap-align: start; box-shadow: 0 0 0 1px var(--line), 0 24px 40px -26px #000;
}
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.shot:hover img, .shot:focus-visible img { transform: scale(1.05); }
.shot .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px; text-align: left;
  background: linear-gradient(transparent, rgba(0, 0, 0, .82)); font: 400 .8rem/1 var(--font-display); letter-spacing: .05em; color: #fff;
}
.lightbox {
  width: min(96vw, 1500px); max-width: none; padding: 0; border: 0; background: transparent; color: #fff; overflow: visible;
}
.lightbox::backdrop { background: rgba(6, 6, 8, .9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox[open] { animation: lbIn .3s var(--ease-out); }
@keyframes lbIn { from { opacity: 0; transform: scale(.96); } }
.lightbox figure { margin: 0; }
.lightbox img { width: 100%; height: auto; max-height: 82vh; object-fit: contain; border-radius: 14px; background: #000; }
.lightbox figcaption { margin-top: 12px; text-align: center; font: 400 .9rem/1.2 var(--font-display); letter-spacing: .05em; }
.lightbox .round-btn { background: rgba(14, 14, 16, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox .round-btn:hover { background: var(--marigold); }
.lightbox .round-btn[hidden] { display: none; }
.lb-close { position: absolute; top: 10px; right: 10px; }
.lb-prev, .lb-next { position: absolute; top: calc(50% - 20px); margin-top: -26px; }
.lb-prev { left: 10px; }
.lb-next { right: 10px; }

/* any thumbnail that opens the viewer */
.zoom { display: block; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: none; color: inherit; cursor: zoom-in; }
.zoom img { width: 100%; height: 100%; object-fit: cover; }
.state-shots figure:hover .zoom img { transform: scale(1.06); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; }
.faq-list { margin-top: 36px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  position: relative; list-style: none; cursor: pointer; padding: 22px 56px 22px 0;
  font: 400 clamp(1rem, .92rem + .4vw, 1.2rem)/1.3 var(--font-display); color: var(--cream); text-transform: uppercase; letter-spacing: .01em;
  transition: color .2s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--gold); }
.faq-list summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat,
    var(--marigold);
  transition: transform .3s var(--ease-out), background-color .3s;
}
.faq-list details[open] summary::after { transform: rotate(135deg); }
.faq-list details p { margin: 0; padding: 0 0 22px; color: var(--muted); max-width: 70ch; }
.faq-list details::details-content { block-size: 0; overflow: hidden; transition: block-size .35s var(--ease-out), content-visibility .35s allow-discrete; }
.faq-list details[open]::details-content { block-size: auto; }

/* ---------- Download CTA ---------- */
.download { position: relative; isolation: isolate; overflow: hidden; padding: clamp(110px, 14vw, 180px) 0; text-align: center; }
.download > picture img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.download::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 70% at 50% 50%, rgba(12, 12, 14, .55), rgba(12, 12, 14, .92)), linear-gradient(180deg, #121214 0%, transparent 25%, transparent 75%, #0c0c0e 100%);
}
.download .wordmark { font-size: clamp(2.8rem, 1.4rem + 6vw, 6rem); transform-origin: center; }
.download .wm-letter { animation: shine 5.5s ease-in-out infinite; animation-delay: calc(var(--i) * 70ms + 1s); }
.download .lead { margin: 22px auto 30px; color: #f1eadc; text-shadow: 0 2px 14px rgba(0, 0, 0, .9); }
.download .fine { text-shadow: 0 1px 8px rgba(0, 0, 0, .9); }
.download .store-row { justify-content: center; }
.download .fine { margin-top: 20px; font-size: .85rem; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { padding: 56px 0 40px; background: #0c0c0e; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer .nav-logo { display: inline-block; font-size: 1.6rem; }
.footer h4 { font-size: .8rem; letter-spacing: .12em; color: var(--cream); margin-bottom: 14px; text-transform: uppercase; }
.footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.footer a { text-decoration: none; color: var(--muted); transition: color .2s; }
.footer a:hover { color: var(--gold); }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .82rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Speedometer (scroll gauge) ---------- */
.speedo {
  position: fixed; right: 18px; bottom: 18px; z-index: 55; width: 122px; height: 122px; padding: 0; border: 0; border-radius: 50%;
  background: none; cursor: pointer; opacity: 0; transform: translateY(24px) scale(.9); pointer-events: none;
  transition: opacity .35s, transform .35s var(--ease-out); filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .6));
}
.speedo.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.speedo:hover { transform: scale(1.06); }
.speedo svg { width: 100%; height: 100%; overflow: visible; }
.speedo .needle { transform-origin: 60px 60px; transform: rotate(var(--deg, -120deg)); transition: transform .25s var(--ease-out); }
@media (max-width: 760px) { .speedo { width: 66px; height: 66px; right: 10px; bottom: 10px; } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(34px) skewY(1.2deg); transition: opacity .8s ease, transform .9s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Simple pages (privacy, press, 404) ---------- */
.page { padding: 130px 0 90px; }
.page-head { padding-bottom: 28px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.8rem); text-transform: uppercase; color: var(--cream); margin: .25em 0 .3em; }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.35rem; color: var(--cream); text-transform: uppercase; margin: 2em 0 .6em; }
.prose h3 { font-size: 1.05rem; color: var(--gold); text-transform: uppercase; margin: 1.6em 0 .5em; }
.prose p, .prose li { color: #d9d1c2; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .45em; }
.prose a { color: var(--gold); }
.note {
  padding: 16px 18px; border-radius: 12px; background: rgba(242, 159, 5, .1); box-shadow: inset 0 0 0 1px rgba(242, 159, 5, .4);
  color: var(--cream); font-size: .95rem;
}
.fact-table { width: 100%; border-collapse: collapse; margin: 10px 0 0; }
.fact-table th, .fact-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.fact-table th { width: 34%; font: 400 .78rem/1.3 var(--font-display); letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.press-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-top: 18px; }
.press-item { margin: 0; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); background: #17181b; }
.press-item .zoom { height: auto; overflow: hidden; }
.press-item img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; transition: transform .4s var(--ease-out); }
.press-item .zoom:hover img { transform: scale(1.04); }
.press-item video { display: block; width: 100%; height: auto; aspect-ratio: 1600 / 970; background: #000; }
.press-item figcaption { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; }
.press-item figcaption span { font: 400 .72rem/1.2 var(--font-display); letter-spacing: .05em; color: var(--cream); }
.press-item .dl {
  flex: 0 0 auto; padding: .5em .75em; border-radius: 8px; background: var(--marigold); color: var(--ink); text-decoration: none;
  font: 400 .64rem/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 3px 0 #9a5d00;
}
.press-item .dl:hover { background: var(--gold); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-speed, .wifi, .bike-stage .speed-lines { display: none; }
  .js .burst { opacity: 1; transform: rotate(var(--rot, 8deg)); }
}
