/* Racing N8 — design tokens */
:root {
  --bg: #070708;
  --bg-2: #0d0d0f;
  --panel: #131316;
  --fg: #f4f3ef;
  --muted: rgba(244, 243, 239, .66);
  --dim: rgba(244, 243, 239, .42);
  --line: rgba(244, 243, 239, .12);
  --line-2: rgba(244, 243, 239, .2);
  --red: #e3231c;
  --red-btn: #d41d16;
  --red-text: #ff4a3f;
  --silver: #b9bdc4;
  --font-display: 'Saira', 'Arial Narrow', sans-serif;
  --font-body: 'General Sans', 'Helvetica Neue', Arial, sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease: cubic-bezier(.4, 0, .2, 1);
  --gutter: clamp(20px, 4.4vw, 64px);
  --max: 1280px;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); overflow-x: clip; }
body {
  margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.6; color: var(--fg); background: var(--bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip;
}
body.is-locked { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: rgba(227, 35, 28, .55); color: #fff; }
:focus-visible { outline: 2px solid var(--red-text); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 200; background: var(--fg); color: #000; padding: 10px 16px; border-radius: 6px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 16px; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* Scroll progress: the racing line */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 90; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--red); transform: scaleX(0); transform-origin: 0 50%; }

/* Type */
.label {
  font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
  display: flex; align-items: center; gap: 14px;
}
.label b { color: var(--red-text); font-weight: 700; font-style: italic; }
.label b::after { content: ''; display: inline-block; width: 36px; height: 1px; background: var(--line-2); margin-left: 14px; vertical-align: middle; }
.h2 {
  font-family: var(--font-display); font-style: italic; font-weight: 800; font-stretch: 112%; text-transform: uppercase;
  font-size: clamp(2rem, 3.75vw, 3.6rem); line-height: .98; letter-spacing: -.012em; margin-top: 22px; text-wrap: balance;
}
.h2--xl { font-size: clamp(2.6rem, 8.4vw, 7.5rem); line-height: .9; }
.h2 em { font-style: inherit; color: var(--red-text); }
.h3 { font-family: var(--font-display); font-style: italic; font-weight: 700; font-stretch: 110%; text-transform: uppercase; font-size: 1.25rem; letter-spacing: .02em; line-height: 1.1; }
.prose { color: var(--muted); max-width: 34rem; margin-top: 24px; }
.prose a, .fine a, .logbook__head a, .facts a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.prose a:hover, .fine a:hover, .logbook__head a:hover, .facts a:hover { color: var(--red-text); }
.fine { font-size: 13.5px; line-height: 1.55; color: var(--dim); max-width: 36rem; margin-top: 22px; }
.fine a { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 26px;
  font-family: var(--font-display); font-style: italic; font-weight: 700; font-stretch: 108%; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 13px; }
.btn--red { background: var(--red-btn); color: #fff; }
.btn--red:hover { background: #f02a22; }
.btn--ghost { background: rgba(244, 243, 239, .1); color: var(--fg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--ghost:hover { background: var(--fg); color: #0a0a0b; }
.btn:active { transform: scale(.97); }
.btn__arrow { display: inline-block; transition: transform .25s var(--ease-out); font-style: normal; }
.btn:hover .btn__arrow { transform: translateX(4px); }
.link-btn { font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); min-height: 44px; border-bottom: 1px solid var(--line-2); transition: color .2s, border-color .2s; }
.link-btn:hover { color: var(--fg); border-color: var(--red); }

/* NAV */
.nav {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 80; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transition: background-color .3s var(--ease), transform .7s var(--ease-out), opacity .5s var(--ease), border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck { background: rgba(7, 7, 8, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav__brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--font-display); font-style: italic; font-weight: 800; font-stretch: 115%; text-transform: uppercase; letter-spacing: .04em; font-size: 15px; min-height: 44px; }
.nav__brand img { width: 44px; height: 44px; border-radius: 50%; }
.nav__links { display: flex; gap: clamp(18px, 2.6vw, 36px); }
.nav__links a { position: relative; text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding: 14px 0; transition: color .2s; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s var(--ease-out); }
.nav__links a:hover, .nav__links a.is-active { color: var(--fg); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }

/* HERO */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding-top: calc(var(--nav-h) + 8px); }
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__poster, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.hero__video { opacity: 0; transition: opacity .9s linear; }
.hero__video.is-ready { opacity: 1; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 7, 8, .96) 0%, rgba(7, 7, 8, .86) 30%, rgba(7, 7, 8, .3) 62%, rgba(7, 7, 8, .1) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(7, 7, 8, .72) 20%, rgba(7, 7, 8, 0) 48%),
    linear-gradient(180deg, rgba(7, 7, 8, .7) 0%, rgba(7, 7, 8, 0) 22%);
}
.hero__inner { position: relative; padding-bottom: clamp(20px, 3.4vh, 44px); }
.eyebrow { font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.eyebrow i { color: var(--red-text); font-style: normal; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red-text); box-shadow: 0 0 0 4px rgba(255, 74, 63, .18); margin-right: 4px; }

.wordmark { position: relative; width: min(52vw, 86vh, 760px); margin: clamp(10px, 2vh, 22px) 0 clamp(14px, 2.6vh, 28px) -1.5%; transform-origin: 50% 50%; }
.wordmark svg { width: 100%; height: auto; overflow: visible; }
.wordmark text { font-family: var(--font-display); font-style: italic; font-weight: 900; font-stretch: 125%; }
.wm-racing text { font-size: 152px; }
.wm-big { font-size: 276px; }
.wm-edge { fill: none; stroke: url(#gEdge); stroke-width: 15; stroke-linejoin: round; }
.wm-face { stroke: #08080a; stroke-width: 7; stroke-linejoin: round; paint-order: stroke fill; }
.wm-face--white { fill: #f7f6f2; }
.wm-face--silver { fill: url(#gSilver); }
.wm-face--red { fill: url(#gRed); }
.wordmark .wm-tagline { font-size: 25px; font-weight: 700; font-stretch: 108%; fill: #f4f3ef; letter-spacing: .5px; }

.hero__lede { max-width: 31rem; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.55; color: rgba(244, 243, 239, .8); text-shadow: 0 2px 18px rgba(0, 0, 0, .5); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(18px, 3vh, 30px); }

.hero__stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.hero__stats > div { display: flex; align-items: baseline; gap: 14px; padding: clamp(14px, 2.2vh, 22px) 20px clamp(14px, 2.2vh, 22px) 0; }
.hero__stats > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.hero__stats dt { font-family: var(--font-display); font-style: italic; font-weight: 800; font-stretch: 112%; font-size: clamp(22px, 2.2vw, 30px); line-height: 1; font-variant-numeric: tabular-nums; }
.hero__stats dd { font-size: 13px; line-height: 1.35; color: var(--muted); max-width: 13rem; }

/* INTRO */
.intro { position: fixed; inset: 0; z-index: 60; background: #050506; --w: 0; clip-path: polygon(calc(var(--w) * 1%) 0, 101% 0, 101% 101%, calc(var(--w) * 1% - 22%) 101%); overflow: hidden; }
.intro__streaks { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro__glow { position: absolute; inset: 0; background: radial-gradient(64% 50% at 50% 15%, rgba(227, 35, 28, .32), rgba(227, 35, 28, .12) 42%, rgba(227, 35, 28, 0) 78%); opacity: 0; transition: opacity .25s linear; }
.gantry { position: absolute; left: 50%; top: clamp(56px, 12vh, 120px); transform: translateX(-50%); display: flex; gap: clamp(10px, 1.6vw, 22px); padding: 0 clamp(10px, 1.6vw, 22px); }
.gantry__bar { position: absolute; left: -4%; right: -4%; top: 50%; height: 8px; margin-top: -4px; background: #1b1b1f; border-radius: 4px; }
.pod { position: relative; display: grid; gap: clamp(6px, .8vw, 10px); padding: clamp(7px, .9vw, 12px); background: #101013; border: 1px solid #26262b; border-radius: clamp(8px, 1vw, 14px); }
.pod i { display: block; width: clamp(26px, 4.4vw, 58px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #3a1512, #1c0907 70%); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .6); transition: background .06s linear, box-shadow .06s linear; }
.pod.is-on i { background: radial-gradient(circle at 35% 30%, #ff9a8f, #ff2a1f 45%, #b9100a 100%); box-shadow: 0 0 18px 4px rgba(255, 42, 31, .75), 0 0 70px 18px rgba(255, 42, 31, .35); }
.intro__status { position: absolute; left: 0; right: 0; bottom: clamp(70px, 13vh, 120px); text-align: center; font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: var(--dim); }
.intro__flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.intro__skip { position: absolute; right: var(--gutter); bottom: clamp(20px, 4vh, 36px); min-height: 44px; padding: 0 18px; font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; transition: color .2s, border-color .2s; }
.intro__skip:hover { color: var(--fg); border-color: var(--fg); }
.intro-edge { position: fixed; top: 0; bottom: 0; left: 0; width: 46px; z-index: 61; pointer-events: none; opacity: 0; transform: translateX(-30vw);
  background:
    linear-gradient(90deg, var(--red) 0 14px, transparent 14px),
    repeating-conic-gradient(#f4f3ef 0% 25%, #0a0a0b 0% 50%) 14px 0 / 32px 32px;
}
/* during the intro the wordmark sits above the curtain; everything else waits */
body.is-intro .wordmark { z-index: 62; }
body.is-intro:not(.is-reveal) .nav { transform: translateY(-110%); opacity: 0; }
[data-hero] { transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.hero__lede[data-hero] { transition-delay: .08s; }
.hero__cta[data-hero] { transition-delay: .16s; }
.hero__stats[data-hero] { transition-delay: .26s; }
.js body.is-intro:not(.is-reveal) [data-hero] { opacity: 0; transform: translateY(22px); transition: none; }
/* cover the page until the script takes over; lifts itself if the script never arrives */
html.intro-pending body::before { content: ''; position: fixed; inset: 0; z-index: 59; background: #050506; pointer-events: none; animation: coverOut .4s 3.5s forwards; }
@keyframes coverOut { to { opacity: 0; visibility: hidden; } }

/* TICKER */
.ticker { background: var(--red-btn); overflow: hidden; border-block: 1px solid rgba(0, 0, 0, .3); }
.ticker__track { display: flex; align-items: center; width: max-content; animation: ticker 36s linear infinite; }
.ticker span { font-family: var(--font-display); font-style: italic; font-weight: 800; font-stretch: 115%; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: #fff; padding: 15px 26px; white-space: nowrap; }
.ticker b { width: 18px; height: 18px; flex: none; background: repeating-conic-gradient(#0a0a0b 0% 25%, #fff 0% 50%) 0 0 / 9px 9px; transform: skewX(-12deg); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* SECTIONS */
.section { position: relative; padding-block: clamp(76px, 9vw, 136px); }

/* Driver */
.driver__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.driver__head { position: sticky; top: calc(var(--nav-h) + 40px); }
.manifesto { font-family: var(--font-body); font-weight: 500; font-size: clamp(1.45rem, 2.5vw, 2.25rem); line-height: 1.22; letter-spacing: -.02em; }
.manifesto .w { color: var(--fg); opacity: .16; transition: opacity .25s linear; }
.manifesto .w.is-lit { opacity: 1; }
.driver__body .prose { margin-top: 32px; }

.logbook { margin-top: clamp(64px, 8vw, 112px); }
.logbook__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; padding-bottom: 18px; border-bottom: 1px solid var(--line-2); }
.logbook__head p { font-size: 13.5px; color: var(--dim); }
.logbook__list a { display: grid; grid-template-columns: 96px minmax(0, 1fr) minmax(0, 300px) 28px; align-items: center; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; min-height: 64px; transition: padding .35s var(--ease-out), background-color .25s; }
@media (hover: hover) { .logbook__list a:hover { padding-inline: 14px; background: rgba(244, 243, 239, .04); } }
.logbook__list time { font-family: var(--font-display); font-weight: 600; font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--red-text); }
.logbook__what { font-size: 17px; }
.logbook__result { font-size: 14px; color: var(--muted); display: flex; align-items: baseline; gap: 12px; }
.logbook__result b { font-family: var(--font-display); font-style: italic; font-weight: 800; font-stretch: 112%; font-size: 24px; color: var(--fg); white-space: nowrap; }
.logbook__go { color: var(--dim); transition: color .2s, transform .25s var(--ease-out); }
.logbook__list a:hover .logbook__go { color: var(--red-text); transform: translate(3px, -3px); }

.gallery { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: clamp(10px, 1.4vw, 20px); margin-top: clamp(64px, 8vw, 112px); padding-inline: var(--gutter); max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; }
.shot { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; background: var(--panel); text-decoration: none; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%); }
.shot:nth-child(2) { margin-top: clamp(24px, 4vw, 64px); }
.shot:nth-child(3) { margin-top: clamp(48px, 8vw, 128px); }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.shot:nth-child(1) img { object-position: 50% 30%; }
.shot:hover img { transform: scale(1.05); }
.shot::after { content: ''; position: absolute; inset: 45% 0 0 0; background: linear-gradient(0deg, rgba(7, 7, 8, .85), rgba(7, 7, 8, 0)); pointer-events: none; }
.shot span { position: absolute; left: 18px; right: 40px; bottom: 16px; z-index: 1; font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.gallery__credit { grid-column: 1 / -1; font-size: 13px; color: var(--dim); margin-top: 6px; }

/* Team */
.team { background: var(--bg-2); border-block: 1px solid var(--line); }
.team__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.team__photo { position: relative; }
.team__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 36px, 100% 100%, 36px 100%, 0 calc(100% - 36px)); }
.team__photo::before { content: ''; position: absolute; left: -12px; top: -12px; width: 38%; height: 5px; background: var(--red); }
.team__photo figcaption { margin-top: 14px; font-size: 13px; color: var(--dim); }
.facts { margin-top: 40px; border-top: 1px solid var(--line-2); }
.facts > div { display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--font-display); font-style: italic; font-weight: 800; font-stretch: 112%; font-size: clamp(28px, 3vw, 40px); line-height: 1; }
.facts dd { font-size: 15.5px; color: var(--muted); line-height: 1.5; }
.facts a { font-size: 13px; white-space: nowrap; margin-left: 4px; color: var(--muted); }

/* Season */
.season__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.season__side { position: sticky; top: calc(var(--nav-h) + 40px); }
.next { margin-top: 36px; padding: 22px 24px 24px; background: var(--panel); border-left: 4px solid var(--red); max-width: 26rem; }
.next__k { font-family: var(--font-display); font-weight: 600; font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--red-text); }
.next__days { display: flex; align-items: baseline; gap: 12px; margin-top: 4px; }
.next__days b { font-family: var(--font-display); font-style: italic; font-weight: 800; font-stretch: 112%; font-size: clamp(56px, 6vw, 84px); line-height: 1; font-variant-numeric: tabular-nums; }
.next__days span { font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.next__what { margin-top: 6px; font-size: 15px; color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip { min-height: 44px; padding: 0 18px; border: 1px solid var(--line-2); border-radius: 999px; font-family: var(--font-display); font-weight: 600; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: background-color .2s, color .2s, border-color .2s; }
.chip sup { font-size: 10px; margin-left: 4px; opacity: .7; }
.chip:hover { color: var(--fg); border-color: var(--fg); }
.chip.is-on { background: var(--fg); border-color: var(--fg); color: #0a0a0b; }
.cal { border-top: 1px solid var(--line-2); }
.ev { display: grid; grid-template-columns: 116px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); transition: opacity .3s, background-color .3s; }
.ev[hidden] { display: none; }
.ev__date { font-family: var(--font-display); font-style: italic; font-weight: 800; font-stretch: 110%; font-size: 19px; line-height: 1.1; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.ev__date span { display: inline-block; white-space: nowrap; }
.ev__date small { display: block; font-style: normal; font-weight: 600; font-size: 11px; letter-spacing: .2em; color: var(--dim); margin-bottom: 3px; }
.ev__name { font-size: 16.5px; line-height: 1.3; }
.ev__venue { display: block; font-size: 13.5px; color: var(--dim); margin-top: 2px; }
.ev__tag { font-family: var(--font-display); font-weight: 600; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; padding: 6px 10px 5px; border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap; }
.ev--west .ev__tag { border-color: var(--red); color: var(--red-text); }
.ev--final .ev__tag { background: var(--red-btn); border-color: var(--red-btn); color: #fff; }
.ev.is-next { background: linear-gradient(90deg, rgba(227, 35, 28, .16), rgba(227, 35, 28, 0) 70%); padding-left: 14px; box-shadow: inset 3px 0 0 var(--red); }
.ev.is-next .ev__name::after { content: 'Next up'; display: block; margin-top: 5px; font-family: var(--font-display); font-weight: 700; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--red-text); white-space: nowrap; }
.ev.is-past { opacity: .45; }

/* Goal */
.goal { background: var(--bg-2); border-block: 1px solid var(--line); overflow: hidden; }
.goal__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.goal__gauge { position: relative; text-align: center; max-width: 620px; width: 100%; margin-inline: auto; }
.goal__gauge svg { width: 100%; height: auto; overflow: visible; }
.g-track { fill: none; stroke: rgba(244, 243, 239, .1); stroke-width: 14; }
.g-fill { fill: none; stroke: url(#gArc); stroke-width: 14; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 2.4s cubic-bezier(.3, .9, .25, 1); }
.g-ticks line { stroke: rgba(244, 243, 239, .5); stroke-width: 1.5; }
.g-ticks line.is-red { stroke: var(--red-text); }
.g-ticks text { font-family: var(--font-display); font-weight: 600; font-size: 11px; fill: rgba(244, 243, 239, .6); text-anchor: middle; }
.g-needle { transform-origin: 200px 200px; transform: rotate(-90deg); transition: transform 2.4s cubic-bezier(.3, 1.3, .35, 1); }
.g-needle path { fill: var(--red); }
.g-hub { fill: #0a0a0b; stroke: var(--fg); stroke-width: 2; }
.goal__gauge.is-live .g-fill { stroke-dashoffset: 0; }
.goal__gauge.is-live .g-needle { transform: rotate(90deg); }
.goal__num { margin-top: 18px; font-family: var(--font-display); font-style: italic; font-weight: 800; font-stretch: 115%; font-size: clamp(3rem, 8vw, 6.5rem); line-height: .9; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.goal__num sup { font-size: .45em; color: var(--red-text); vertical-align: top; position: relative; top: .1em; margin-left: 4px; }
.goal__cap { margin-top: 12px; font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.costs { margin-top: 36px; border-top: 1px solid var(--line-2); }
.costs li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.costs span { font-weight: 500; }
.costs i { font-style: normal; font-size: 14px; color: var(--dim); }

/* Partner */
.partner__head { max-width: 60rem; }
.livery { margin-top: clamp(40px, 5vw, 72px); }
.livery__stage { position: relative; overflow: hidden; background: #050506; border: 1px solid var(--line); aspect-ratio: 16 / 9; }
.livery__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.livery__pod { position: absolute; left: 27.6%; width: 37%; top: 52.4%; height: 13%; display: flex; align-items: center; justify-content: center; container-type: size; }
.livery__pod span { font-family: var(--font-display); font-style: italic; font-weight: 800; font-stretch: 118%; text-transform: uppercase; letter-spacing: .01em; line-height: 1; white-space: nowrap; color: var(--ink, #f4f3ef); opacity: .94; text-shadow: 0 1px 0 rgba(0, 0, 0, .5); transition: color .25s; }
.livery__note { position: absolute; left: 16px; bottom: 12px; font-size: 12px; color: var(--dim); }
.livery__form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 18px; max-width: 640px; }
.livery__form label { font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.livery__field { display: flex; gap: 14px; align-items: center; }
.livery__field input { flex: 1; min-width: 0; height: 56px; padding: 0 18px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 0; color: var(--fg); font-family: var(--font-display); font-style: italic; font-weight: 700; font-stretch: 110%; font-size: 20px; text-transform: uppercase; letter-spacing: .03em; transition: border-color .2s; }
.livery__field input::placeholder { color: var(--dim); }
.livery__field input:focus { outline: none; border-color: var(--red-text); box-shadow: 0 0 0 1px var(--red-text); }
.swatches { display: flex; gap: 6px; }
.sw { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }
.sw::before { content: ''; width: 24px; height: 24px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--line-2); transition: box-shadow .2s; }
.sw.is-on::before { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--fg); }

.partner__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); margin-top: clamp(56px, 7vw, 104px); align-items: start; }
.places { margin-top: 22px; border-top: 1px solid var(--line-2); }
.places li { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.places b { font-family: var(--font-display); font-style: italic; font-weight: 800; font-stretch: 112%; font-size: 20px; text-transform: uppercase; }
.places span { color: var(--muted); font-size: 16px; }
.partner__cta { background: var(--panel); padding: clamp(24px, 3vw, 40px); border-top: 4px solid var(--red); }
.partner__cta p { margin-top: 16px; color: var(--muted); font-size: 16px; }
.partner__cta p b { color: var(--fg); font-weight: 600; }
.partner__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.partner__cta .partner__link { font-size: 13px; color: var(--dim); margin-top: 16px; user-select: all; }
.partner__cta .toast { min-height: 1.4em; font-size: 13.5px; color: var(--red-text); margin-top: 6px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding-block: clamp(48px, 6vw, 88px) 28px; }
.footer__grid { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.footer__brand img { width: clamp(120px, 12vw, 168px); height: auto; border-radius: 50%; }
.footer__tag { font-family: var(--font-display); font-style: italic; font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.02; margin-bottom: 14px; }
.footer__src ul { margin-top: 14px; display: grid; gap: 2px; }
.footer__src a { display: inline-block; padding: 6px 0; font-size: 14px; color: var(--muted); text-decoration: none; border-bottom: 1px solid transparent; transition: color .2s; }
.footer__src a:hover { color: var(--fg); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: clamp(36px, 5vw, 64px); padding-top: 20px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--dim); }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1020px) {
  .nav__links { display: none; }
  .driver__grid, .season__grid, .team__grid, .goal__grid, .partner__grid { grid-template-columns: minmax(0, 1fr); }
  .driver__head, .season__side { position: static; }
  .team__photo { max-width: 560px; }
  .team__grid, .goal__grid { gap: 0; }
  .team__copy, .goal__copy { display: contents; }
  .team__copy > .label, .team__copy > .h2, .goal__copy > .label, .goal__copy > .h2 { order: 1; }
  .team__photo, .goal__gauge { order: 2; margin-top: 40px; }
  .team__copy > *, .goal__copy > * { order: 3; }
  .team__copy > .label, .team__copy > .h2, .goal__copy > .label, .goal__copy > .h2 { order: 1; }
  .goal__gauge { margin-bottom: 12px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero__stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero__stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .wordmark { width: min(78vw, 60vh, 640px); }
  .logbook__list a { grid-template-columns: 78px minmax(0, 1fr) 24px; row-gap: 6px; }
  .logbook__result { grid-column: 2; grid-row: 2; }
  .logbook__go { grid-column: 3; grid-row: 1; }
}
@media (max-width: 640px) {
  :root { --nav-h: 64px; }
  body { font-size: 16px; }
  .nav__brand span { display: none; }
  .hero__poster, .hero__video { object-position: 78% 50%; }
  .hero__scrim { background:
    linear-gradient(0deg, var(--bg) 0%, rgba(7, 7, 8, .86) 34%, rgba(7, 7, 8, .5) 56%, rgba(7, 7, 8, .14) 82%, rgba(7, 7, 8, .1) 100%),
    linear-gradient(180deg, rgba(7, 7, 8, .75) 0%, rgba(7, 7, 8, 0) 24%); }
  .wordmark { width: min(94vw, 52vh); margin-left: -2%; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__stats > div { flex-direction: column; gap: 4px; padding-right: 12px; }
  .hero__stats > div + div { padding-left: 16px; }
  .hero__stats > div:nth-child(3) { padding-left: 0; }
  .hero__stats dd { font-size: 12.5px; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .shot { margin-top: 0 !important; }
  .shot:nth-child(1) { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .shot span { left: 12px; right: 12px; bottom: 12px; font-size: 11px; letter-spacing: .12em; }
  .facts > div { grid-template-columns: 84px 1fr; gap: 16px; }
  .places li { grid-template-columns: 96px 1fr; gap: 14px; }
  .places b { font-size: 16.5px; }
  .ev { grid-template-columns: 96px minmax(0, 1fr); gap: 6px 14px; }
  .ev__date { font-size: 15.5px; }
  .ev__tag { grid-column: 2; justify-self: start; }
  .costs li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .livery__stage { aspect-ratio: 3 / 2; }
  .livery__stage img { object-position: 50% 50%; }
  .livery__pod { left: 26.9%; width: 39%; top: 53.4%; height: 11.4%; }
  .livery__field { flex-wrap: wrap; }
  .livery__field input { flex: 1 1 100%; }
  .partner__btns .btn { flex: 1 1 100%; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .intro__skip { right: 50%; transform: translateX(50%); }
}
@media (max-height: 620px) and (min-width: 641px) {
  .hero__lede { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__track { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .manifesto .w { opacity: 1; }
  .g-fill, .g-needle { transition: none; }
  .hero__video { display: none; }
  * { transition-duration: .01ms !important; }
}
