@font-face {
  font-family: Geist; src: url('/assets/geist-latin.woff2') format('woff2');
  font-style: normal; font-weight: 100 900; font-display: swap;
}
@font-face {
  font-family: 'Geist Mono'; src: url('/assets/geist-mono-latin.woff2') format('woff2');
  font-style: normal; font-weight: 100 900; font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #191d23; --panel: #222832; --panel-hover: #283442;
  --navy: #14283e; --navy-deep: #111f30; --blue: #04afff;
  --text: #f4f7fa; --muted: #acb8c6; --line: #35414f;
  --font: Geist, Arial, Helvetica, sans-serif;
  --mono: 'Geist Mono', monospace;
  --content-width: 1480px; --radius: 6px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 1rem; font-weight: 420; line-height: 1.7; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
h1,h2,h3,p,dl,dd,figure { margin: 0; }
h1,h2,h3 { font-family: var(--font); font-weight: 850; letter-spacing: -.045em; line-height: 1.12; text-wrap: balance; }
h2 { font-size: clamp(2rem, 2.75vw, 3rem); text-transform: uppercase; }
h2 > span { color: var(--blue); }
h3 { font-size: 1.25rem; font-weight: 750; letter-spacing: -.025em; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button,input,select,textarea { font: inherit; }
button { cursor: pointer; }
a,button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: not-allowed; }
svg { display: block; }
button svg,a svg { width: 19px; height: 19px; flex: none; }
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
::selection { background: var(--blue); color: #031624; }
[hidden] { display: none !important; }
.wrap { width: calc(100% - 96px); max-width: var(--content-width); margin-inline: auto; }
.section { padding-block: 76px; }
.blue { color: var(--blue); }
.mono,.eyebrow,.partner-category { font-family: var(--mono); }
.mono { font-size: .75rem; letter-spacing: .025em; }
.eyebrow { color: var(--blue); font-size: .75rem; font-weight: 550; line-height: 1.65; letter-spacing: .09em; }
.eyebrow-line { display: inline-block; width: 24px; height: 2px; margin: 0 10px 4px 0; background: var(--blue); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 32px; }
.section-heading h2 { margin-top: 12px; }
body[data-page=home] .section-heading { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: end; text-align: center; }
body[data-page=home] .section-heading > div { grid-column: 2; }
body[data-page=home] .section-heading > .text-link { grid-column: 3; justify-self: end; }
.section-note { color: var(--muted); font-size: .875rem; }
.text-link { display: inline-flex; align-items: center; gap: 22px; padding: 8px 0; font-size: .875rem; font-weight: 650; white-space: nowrap; }
.text-link:hover { color: var(--blue); }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 12px 22px; border: 1px solid transparent; border-radius: 4px; font-size: .875rem; font-weight: 700; line-height: 1.5; transition: background .18s, border-color .18s, transform .18s; }
.button.primary { background: var(--blue); color: #061d2c; }
.button.primary:hover { background: #4ac6ff; transform: translateY(-2px); }
.button.secondary { background: #17243599; border-color: #586c82; color: var(--text); }
.button.secondary:hover { background: #2b4159; border-color: #8ea7c2; transform: translateY(-2px); }
.button.primary:disabled { background: #28455c; color: #b3c5d5; transform: none; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; background: var(--blue); color: #061d2c; padding: 12px 20px; }
.skip-link:focus { top: 12px; }

/* One navigation and page frame throughout V3. */
.utility-bar { background: #131820; border-bottom: 1px solid #2c3542; }
.utility-inner { display: flex; justify-content: flex-end; align-items: center; min-height: 34px; gap: 20px; color: #a5b4c6; font: .75rem/1.5 var(--mono); letter-spacing: .025em; }
.utility-inner b { color: var(--blue); margin-right: 10px; }
.utility-inner .socials { gap: 4px; }
.utility-inner .socials a { width: 34px; height: 34px; border: 0; border-radius: 0; }
.utility-inner .socials a:hover { background: #1b2c3e; }
.utility-inner .socials a:focus-visible { outline-offset: -3px; }
.site-header { position: sticky; top: 0; z-index: 30; background: #191f27f5; border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.header-inner { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { flex: 0 0 200px; padding-block: 17px; }
.brand img { width: 200px; }
.site-header nav { align-self: stretch; display: flex; align-items: center; gap: 26px; }
.site-header nav a { position: relative; align-self: stretch; display: flex; align-items: center; white-space: nowrap; font-size: .875rem; font-weight: 600; color: #bcc8d6; }
.site-header nav a:hover,.site-header nav a[aria-current] { color: var(--text); }
.site-header nav a[aria-current]:after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--blue); }
.nav-twitch { padding-left: 25px; border-left: 1px solid #435064; line-height: 1.4; flex: 0 0 165px; min-height: 48px; display: flex; flex-direction: column; justify-content: center; }
.nav-twitch > span { color: #9daec2; font: .75rem var(--mono); display: flex; align-items: center; gap: 8px; }
.twitch-label svg { width: 15px; height: 15px; flex: none; }
.nav-twitch strong { color: #bcc8d6; font-size: .875rem; font-weight: 650; display: flex; align-items: center; gap: 9px; margin-top: 7px; white-space: nowrap; }
.stream-dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: currentColor; }
.nav-twitch:hover strong { color: var(--text); }
.nav-twitch[data-twitch-state="live"] strong { color: #ff8d9a; animation: twitch-live-pulse 3s ease-in-out infinite; }
.nav-twitch[data-twitch-state="live"] .stream-dot { box-shadow: 0 0 10px #ff365980; }
@keyframes twitch-live-pulse {
  0%,100% { opacity: 1; text-shadow: 0 0 12px #ff36594d; }
  50% { opacity: .82; text-shadow: 0 0 0 #ff365900; }
}
.menu-toggle { display: none; }
.page-intro { background: linear-gradient(108deg, #14283e, #1a2533 62%, #1b222c); border-bottom: 1px solid #3a495c; }
.page-intro-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; padding-block: 52px 44px; }
.page-intro-copy { max-width: 850px; min-width: 0; }
.page-intro .eyebrow { display: flex; align-items: center; gap: 14px; color: #aabed5; }
.page-intro .eyebrow a { color: var(--blue); }
.page-intro .eyebrow > span { color: #66829f; }
.page-intro h1 { font-size: clamp(2.5rem,4.3vw,4.25rem); font-weight: 900; line-height: 1.05; letter-spacing: -.065em; text-transform: uppercase; margin: 18px 0 17px; }
.page-intro h1 > span { color: var(--blue); }
.page-intro .page-title-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.page-title-hidden + .page-description { margin-top: 18px; }
.page-description { max-width: 720px; font-size: 1rem; color: #b9c8da; line-height: 1.7; }
.intro-meta { flex: 0 0 auto; display: flex; flex-direction: column; gap: 11px; text-align: right; padding-bottom: 3px; }
.intro-meta > span { color: #8ea8c4; font: .75rem var(--mono); letter-spacing: .04em; }
.intro-meta strong { font-size: .875rem; font-weight: 550; color: #d1ddeb; }

/* Slideshow and homepage. */
.hero { position: relative; isolation: isolate; overflow: hidden; background: #101e2e; }
.hero-slides { position: absolute; inset: 0; z-index: -3; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.2s ease; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide img { position: absolute; right: 0; top: 0; width: 80%; max-width: none; height: 100%; object-fit: cover; object-position: 55% 55%; }
/* Fade the fitted photo itself, so its edges blend into the hero blue at every size. */
.hero-slide-team { display: flex; align-items: center; justify-content: flex-end; --photo-edge-fade: linear-gradient(90deg,transparent 0%,#0006 16%,#000 36%,#000 94%,transparent 100%); }
.hero-slide.hero-slide-team img {
  position: static; flex: none; width: auto; height: auto; max-width: 80%; max-height: 100%; object-fit: contain;
  -webkit-mask-image: var(--photo-edge-fade),linear-gradient(0deg,transparent 0%,#000 14%,#000 88%,transparent 100%);
  mask-image: var(--photo-edge-fade),linear-gradient(0deg,transparent 0%,#000 14%,#000 88%,transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.hero-slide-opener img { transform: translateX(clamp(-20px,-1vw,-6px)); }
.hero:before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#111f30 0%,#111f30f5 19%,#111f30b8 40%,#111f3033 70%,#111f3010),linear-gradient(0deg,#101d2ff5 0%,#101d2f1a 54%); }
.hero-content { min-height: 660px; position: relative; display: flex; align-items: center; padding-block: 100px 170px; }
.hero-copy { max-width: 870px; min-width: 0; }
.hero h1 { font-size: clamp(3.2rem,5.1vw,5.75rem); font-weight: 900; letter-spacing: -.065em; line-height: 1.03; margin: 22px 0 25px; text-wrap: initial; }
.hero h1 span { color: var(--blue); font-style: italic; padding-right: .08em; }
.hero-description { font-size: 1.125rem; color: #c8d5e6; line-height: 1.7; }
.hero-side-label { display: none; }
.hero-bottom { position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; }
.slideshow-controls { width: 100%; }
.slide-selectors { display: grid; grid-template-columns: repeat(var(--slide-count,8),minmax(0,1fr)); gap: 2px; width: 100%; }
.slide-selectors button { display: flex; align-items: flex-end; width: 100%; min-width: 0; height: 44px; padding: 0; border: 0; border-radius: 0; background: none; }
.slide-selectors button span { position: relative; display: block; width: 100%; height: 3px; overflow: hidden; background: #37536e; opacity: .75; transition: opacity .25s ease; }
.slide-selectors button span::after { content: ''; position: absolute; inset: 0; background: var(--blue); transform: scaleX(var(--slide-progress,0)); transform-origin: left center; }
.slide-selectors button[aria-pressed=true] span { opacity: 1; }
.slide-selectors button[aria-pressed=true] span::after { transform: scaleX(var(--slide-progress,1)); }
.slide-selectors button:focus-visible { outline-offset: -4px; }
.race-band { background: #202c3a; border-block: 1px solid #3a4c62; }
.race-band-inner { display: grid; grid-template-columns: minmax(240px,1fr) 115px 115px 165px auto; gap: 32px; align-items: center; padding-block: 25px; }
.race-band-title .eyebrow { display: block; color: #9fb5cf; }
.race-band-title strong { font-size: 1.375rem; font-weight: 800; letter-spacing: -.035em; display: block; margin-top: 7px; }
.race-band-stat { display: flex; flex-direction: column; gap: 6px; border-left: 1px solid #3e526b; padding-left: 24px; }
.race-band-stat > span { font: .75rem/1.5 var(--mono); color: #a7b9cf; }
.race-band-stat strong { font-size: 1.75rem; letter-spacing: -.05em; font-weight: 800; line-height: 1.2; }
.race-band-stat.gain strong { color: var(--blue); }
.race-band .text-link { justify-self: end; }
.upcoming-band { background: #202c3a; border-block: 1px solid #3a4c62; }
.upcoming-band-inner { display: grid; grid-template-columns: minmax(260px,1.2fr) minmax(240px,1fr) auto; gap: 32px; align-items: center; padding-block: 28px; }
.upcoming-planning { display: flex; justify-content: space-between; flex-wrap: wrap; }
.upcoming-band-title,.upcoming-band-time,.upcoming-band-clock { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; min-width: 0; }
.upcoming-band-title strong { font-size: 1.5rem; font-weight: 800; letter-spacing: -.035em; }
.upcoming-band-title > span:last-child { color: #b0c4db; font-size: .875rem; line-height: 1.5; }
.upcoming-band-time { border-left: 1px solid #405570; padding-left: 28px; }
.upcoming-band-time > .mono,.upcoming-band-clock > .mono { color: #a7bed7; font-size: .75rem; }
.upcoming-band-time time { font-size: 1rem; font-weight: 600; line-height: 1.6; }
.upcoming-band-time > span:last-child { font: .75rem/1.5 var(--mono); color: #a7bed7; }
.upcoming-band-clock strong { font: 600 1.25rem/1.5 var(--mono); color: var(--blue); font-variant-numeric: tabular-nums; }
.upcoming-band-clock .text-link { font-size: .875rem; }
.race-schedule-band [data-home-event][hidden] { display: none; }
.story-copy h2 span { font-style: italic; }
.results-section { background: #161d26; border-block: 1px solid #303d4d; }
.stats-strip { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); margin: 0 0 28px; }
.stats-strip > div { border-right: 1px solid var(--line); padding: 24px 28px; min-width: 0; }
.stats-strip > div:last-child { border-right: 0; }
.stats-strip dt { font-size: .8125rem; color: #a7b8cc; }
.stats-strip dd { font-size: 2.5rem; font-weight: 850; letter-spacing: -.055em; line-height: 1.2; margin-top: 12px; font-variant-numeric: tabular-nums; }
.stats-strip dd span { display: block; color: #93a7c0; font-size: .75rem; font-weight: 450; letter-spacing: 0; margin-top: 6px; }
.result-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.result-card { min-width: 0; padding: 25px 26px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; transition: background .2s,border-color .2s,transform .2s; }
.result-card:hover { background: var(--panel-hover); border-color: #4d779e; transform: translateY(-3px); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #a2b4c9; }
.result-position { display: flex; align-items: center; gap: 22px; margin: 25px 0; }
.result-position strong { font-size: 3.5rem; font-weight: 850; letter-spacing: -.065em; line-height: 1; font-variant-numeric: tabular-nums; }
.result-position > span { max-width: 105px; font: .75rem/1.7 var(--mono); color: #aab9cc; }
.podium { color: var(--blue); }
.result-card h3 { font-size: 1.375rem; line-height: 1.35; letter-spacing: -.035em; font-weight: 750; text-wrap: initial; }
.result-card > p { font-size: .875rem; color: var(--muted); margin: 11px 0 26px; }
.card-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 17px; margin-top: auto; border-top: 1px solid #3c4b5d; font: .75rem/1.7 var(--mono); color: #a2b3c8; }
.card-bottom b { font-size: .875rem; font-weight: 600; margin-left: 4px; }
.card-bottom b.blue { margin-left: 0; }
.driver-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 20px; }
.driver-card { min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); overflow: hidden; transition: border-color .2s,transform .2s; }
.driver-card:hover { border-color: #517ca5; transform: translateY(-3px); }
.driver-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 9px; padding: 18px 18px 12px; }
.driver-top .mono { font-size: .75rem; color: #94a8c0; letter-spacing: 0; }
.role { color: #b8c9dd; border: 1px solid #495a71; padding: 3px 8px; font-size: .75rem; line-height: 1.5; border-radius: 4px; }
.role.owner { border-color: #355f83; background: #183750; color: #8ed6ff; }
.driver-monogram { display: grid; place-items: center; align-self: center; width: 90px; height: 90px; border: 1px solid #3a5673; border-radius: 50%; margin: 13px auto 23px; background: #183047; color: #7497b9; font-size: 1.75rem; font-weight: 700; letter-spacing: -.045em; user-select: none; }
.driver-monogram > span { display: none; }
.driver-info { padding: 21px 18px 0; border-top: 1px solid #354459; background: #1b232d; text-align: center; flex: 1; display: flex; flex-direction: column; }
.country { font: .75rem/1.6 var(--mono); color: #9eafc5; }
.driver-info h3 { font-size: 1.25rem; min-height: 54px; line-height: 1.3; margin: 10px 0 20px; letter-spacing: -.035em; }
.driver-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding-block: 16px; margin-top: auto; border-top: 1px solid #38465a; font-size: .75rem; color: #b0c0d3; }
.driver-bottom > span:last-child { white-space: nowrap; }
.partners-section { padding-top: 20px; }
.partners-grid { display: grid; grid-template-columns: 1fr 3fr; gap: 24px; }
.partner-item,.technical-partners { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 22px; }
.partner-category { color: #91a8c1; font-size: .75rem; letter-spacing: .05em; display: block; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.partner-item > div,.resource > div { height: 125px; padding: 22px 15px; display: flex; align-items: center; justify-content: center; }
.partner-item img { max-width: 210px; max-height: 90px; object-fit: contain; }
.partner-item > span:last-child,.resource > span { display: flex; align-items: center; justify-content: center; gap: 14px; font-size: .8125rem; color: #bdcbdc; }
.resource-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.resource { min-width: 0; }
.resource img { width: 100%; max-width: 170px; max-height: 55px; object-fit: contain; }
.partner-item:hover,.technical-partners:focus-within { border-color: #557ca3; }
.resource:hover > span { color: var(--blue); }

/* Shared contact treatment. */
.contact-section { background: #161f2b; border-top: 1px solid #334359; }
.contact-intro { text-align: center; max-width: 820px; margin: 0 auto 30px; }
.contact-intro h2 { margin: 13px 0 17px; }
.contact-intro > p:last-child { color: var(--muted); }
.contact-panel { width: 100%; max-width: 820px; margin: 0 auto; padding: 34px; border: 1px solid #3a4b62; border-radius: var(--radius); background: #202a37; }
.contact-live { text-align: center; }
.contact-live h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 16px 0; }
.contact-live > p:not(.eyebrow) { max-width: 580px; margin: 0 auto 26px; color: var(--muted); line-height: 1.75; }
.contact-live .button { max-width: 100%; white-space: normal; }
.contact-panel label { display: flex; flex-direction: column; gap: 9px; margin-bottom: 23px; font-size: .875rem; font-weight: 550; color: #cad5e4; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
input,select,textarea { min-width: 0; width: 100%; min-height: 48px; border: 1px solid #465c76; border-radius: 4px; background: #172230; color: var(--text); padding: 12px 14px; font-size: 1rem; line-height: 1.5; }
input::placeholder,textarea::placeholder { color: #8eabc5; }
textarea { resize: vertical; min-height: 130px; }
select { padding-right: 30px; }
.form-end { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.form-end p { font-size: .75rem; color: #a4b6cb; }
.contact-discord { text-align: center; font-size: .875rem; color: #a6b8cd; margin-top: 25px; }
.contact-discord a { display: inline-flex; gap: 10px; color: #cddded; margin-left: 5px; }
.contact-discord a:hover { color: var(--blue); }
body[data-page=contact] .contact-section { border-top: 0; background: var(--bg); }

/* About page. Keep the story and driver lineup connected at every breakpoint. */
.team-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: 48px; }
.team-story.section { padding-block: 40px 8px; }
.team-lineup.section { padding-top: 24px; }
.story-image { min-height: 460px; position: relative; overflow: hidden; border: 1px solid #3a4a5e; border-radius: var(--radius); }
/* Keep the car and pit crew in view within the responsive photo frame. */
.story-image img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% center; }
.story-image:after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg,#0d1e32e6,transparent 65%); }
.image-label { position: absolute; z-index: 1; left: 28px; bottom: 27px; font-size: 1.375rem; font-weight: 850; letter-spacing: -.045em; }
.story-copy { padding: 10px 0; }
.story-copy h2 { font-size: clamp(1.75rem,2.35vw,2.625rem); margin: 14px 0 24px; }
.story-copy > p:not(.eyebrow) { color: var(--muted); line-height: 1.8; margin-bottom: 17px; }
.values { border-top: 1px solid var(--line); margin-top: 25px; }
.values > div { display: flex; align-items: center; gap: 23px; border-bottom: 1px solid var(--line); padding-block: 14px; font-size: .875rem; font-weight: 500; }
.values b { font: .75rem var(--mono); color: var(--blue); }
.team-culture { background: linear-gradient(110deg,#152438,#1a2029 65%); border-top: 1px solid var(--line); }
.team-culture.section { padding-block: 56px; }
.culture-layout { display: grid; grid-template-columns: minmax(0,.7fr) minmax(0,1.5fr); gap: 56px; align-items: start; }
.culture-overview { padding-top: 7px; }
.culture-overview h2 { font-size: clamp(2rem,2.5vw,2.875rem); line-height: 1.12; margin-block: 18px 22px; }
.culture-intro { max-width: 35ch; color: #b8c6d7; line-height: 1.8; }
.culture-principles { list-style: none; margin: 0; padding: 0; border-top: 1px solid #465a73; }
.culture-principles li { display: grid; grid-template-columns: 32px minmax(0,.75fr) minmax(0,1.25fr); align-items: start; gap: 24px; padding-block: 24px; border-bottom: 1px solid #35465b; }
.culture-number { font: 1.125rem/1.5 var(--mono); color: var(--blue); }
.culture-stage { font: .75rem/1.6 var(--mono); letter-spacing: .035em; color: #9db3cc; margin-bottom: 9px; }
.culture-principle h3 { font-size: 1.25rem; line-height: 1.3; letter-spacing: -.035em; }
.culture-detail { color: #bdc8d6; font-size: .9375rem; line-height: 1.75; }
.join-section { background: #142a40; border-block: 1px solid #3b516b; }
.join-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 75px; }
.join-grid h2 { font-size: clamp(2.5rem,3.6vw,4rem); font-weight: 900; line-height: 1.05; letter-spacing: -.06em; margin: 16px 0 25px; }
.join-grid > div > p:not(.eyebrow) { max-width: 550px; color: #b4c7dc; font-size: 1rem; }
.join-grid .button { margin-top: 28px; }
.requirements { padding: 30px 34px; background: #1b3249; border: 1px solid #405974; border-radius: var(--radius); }
.requirements dl > div { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 23px; border-bottom: 1px solid #40536e; padding-block: 20px; }
.requirements dt { font-size: 1.875rem; font-weight: 800; letter-spacing: -.05em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.requirements dd { color: #c0d0e2; font-size: .875rem; line-height: 1.5; }
.requirements ul { list-style: none; padding: 0; margin: 20px 0 0; font-size: .875rem; color: #b6cbe0; }
.requirements li { padding: 6px 0 6px 20px; position: relative; }
.requirements li:before { content: '+'; position: absolute; left: 0; color: var(--blue); }

/* Results and Race Center share the same data surfaces. */
.archive-section,.race-center-section { padding-top: 38px; }
.result-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 30px 0 22px; }
.result-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.result-filters button { min-height: 44px; padding: 10px 18px; border: 1px solid #435a73; border-radius: 4px; background: #202b39; color: #c0ccdc; font-size: .875rem; line-height: 1.5; }
.result-filters button[aria-pressed=true] { background: var(--blue); color: #062032; border-color: var(--blue); font-weight: 700; }
.result-filters button:hover { border-color: var(--blue); }
.sort-label { display: flex; align-items: center; gap: 13px; color: #acbdd2; font-size: .875rem; }
.sort-label select { min-height: 44px; font-size: .875rem; width: 152px; }
.ledger-heading,.result-row { display: grid; grid-template-columns: 92px minmax(0,1fr) 82px 82px; gap: 24px; align-items: center; }
.ledger-heading { color: #92a9c5; font: .75rem var(--mono); padding: 16px 26px; }
.result-ledger { border: 1px solid #3c4d62; border-radius: var(--radius); overflow: hidden; }
.result-row { padding: 25px 26px; border-bottom: 1px solid #3c4d62; background: var(--panel); transition: background .18s; }
.result-row:last-child { border-bottom: 0; }
.result-row:nth-child(even) { background: #1d2733; }
.result-row:hover { background: #2a3a4d; }
.row-position { font-size: 2rem; font-weight: 850; letter-spacing: -.065em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.row-position small,.row-start small,.row-gain small { display: block; margin-top: 7px; font: .6875rem/1.5 var(--mono); letter-spacing: 0; color: #97abc5; }
.row-event { min-width: 0; }
.row-event h3 { font-size: 1rem; font-weight: 650; letter-spacing: -.02em; line-height: 1.5; text-wrap: initial; }
.row-event p { font-size: .875rem; color: #b1c2d6; margin-top: 4px; }
.row-event > span { display: block; font-size: .75rem; line-height: 1.7; color: #97abc5; margin-top: 8px; }
.row-event > span.row-drivers { margin-top: 2px; }
.row-start,.row-gain { display: flex; flex-direction: column; }
.row-start span,.row-gain span { display: none; }
.row-start b,.row-gain b { font: 500 1.125rem var(--mono); }
.row-start b { color: #bdcce0; }
.ledger-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 25px; }
.ledger-footer p { color: #9fb4ce; font-size: .875rem; }
.empty-state { padding: 50px 25px; background: var(--panel); color: #acbfd8; text-align: center; }
.race-status-track { list-style: none; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); padding: 0; margin: 0 0 25px; border: 1px solid #3c4f66; border-radius: var(--radius); overflow: hidden; background: #222d3b; }
.race-status-track li { position: relative; display: flex; align-items: center; gap: 15px; padding: 19px 23px; border-right: 1px solid #3c4f66; color: #b3c4d9; font-size: .875rem; }
.race-status-track li:last-child { border-right: 0; }
.race-status-track li > span { font: .75rem var(--mono); color: #839ebc; }
.race-status-track li[aria-current] { background: #183a57; color: #ddf2ff; }
.race-status-track li[aria-current]:after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--blue); }
.race-status-track li[aria-current] > span { color: var(--blue); }
.race-center-grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 24px; align-items: stretch; }
.race-report { border: 1px solid #3c4e64; border-radius: var(--radius); background: var(--panel); padding: 32px; }
.race-report-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.status-badge { border: 1px solid #3c7198; background: #183e5b; border-radius: 4px; color: #8dd2ff; font: .75rem/1.5 var(--mono); padding: 5px 9px; }
.race-report h2 { font-size: clamp(1.7rem,2.6vw,2.5rem); font-weight: 850; letter-spacing: -.05em; text-transform: none; margin: 25px 0 12px; }
.circuit-name { color: #b6c7dc; font-size: 1rem; }
.race-facts { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; margin: 26px 0; padding-block: 25px; border-block: 1px solid #40516a; }
.race-facts dt { color: #95afcd; font-size: .75rem; margin-bottom: 7px; }
.race-facts dd { color: #d0dfef; font-size: .875rem; line-height: 1.7; }
.race-finish-stats { display: flex; align-items: center; gap: 30px; padding: 24px; margin: 25px 0; background: #182738; border: 1px solid #374e69; border-radius: 4px; }
.race-finish-stats div { display: flex; flex-direction: column; gap: 10px; }
.race-finish-stats div:last-child { border-left: 1px solid #415a76; padding-left: 28px; margin-left: auto; }
.race-finish-stats span { color: #9fb6d0; font: .75rem var(--mono); }
.race-finish-stats strong { font-size: 2.75rem; font-weight: 850; letter-spacing: -.065em; line-height: 1.1; }
.race-finish-stats .finish-arrow { color: #6e91b5; font: 1.5rem var(--font); }
.race-summary { color: #b1c4dc; font-size: 1rem; line-height: 1.8; margin: 25px 0; }
.race-aside { display: flex; flex-direction: column; gap: 24px; }
.next-race-panel { background: #152e47; border: 1px solid #405c7a; border-top: 3px solid var(--blue); border-radius: var(--radius); padding: 28px; }
.next-race-panel h3 { font-size: 1.625rem; font-weight: 800; letter-spacing: -.04em; margin: 15px 0; }
.next-race-panel > p:last-child { color: #b0c8e2; font-size: 1rem; }
.race-planning { margin-bottom: 40px; }
.race-planning h2 { margin-block: 14px 12px; }
.race-series { font-size: 1.125rem; font-weight: 650; color: var(--blue); margin-bottom: 14px; }
.race-session-note { color: #9fb5ce; font-size: .875rem; line-height: 1.7; }
.countdown-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin-block: 27px; }
.countdown-grid > div { display: flex; flex-direction: column-reverse; gap: 10px; text-align: center; }
.countdown-grid dt { font: .75rem/1.5 var(--mono); text-transform: uppercase; color: #abc6e2; }
.countdown-grid dd { font: 700 clamp(1.75rem,2.4vw,2.5rem)/1 var(--mono); color: #e6f4ff; font-variant-numeric: tabular-nums; }
.countdown-grid[hidden],.race-countdown [data-countdown-message][hidden] { display: none; }
.race-countdown > p:last-child { font-size: .875rem; line-height: 1.7; }
.race-countdown time { display: inline-block; margin-top: 5px; }
.planned-driver-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.planned-driver { display: flex; flex-direction: column; padding: 27px; border: 1px solid #3a506c; border-radius: var(--radius); background: var(--panel); }
.planned-driver:hover { border-color: var(--blue); background: #233449; }
.planned-driver > .mono { color: var(--blue); }
.planned-driver h3 { margin-block: 15px 23px; font-size: 1.375rem; }
.planned-driver-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 15px; padding-top: 20px; border-top: 1px solid #405574; color: #aec2da; font-size: .875rem; }
.planned-driver-bottom > span:last-child { color: #d4eaff; }
.previous-race { margin-top: 64px; padding-top: 52px; border-top: 1px solid #3a4c62; }
.previous-race > .race-report .race-facts { grid-template-columns: repeat(4,minmax(0,1fr)); }
.previous-race .race-drivers { margin-top: 32px; }
.scheduled-event + .scheduled-event { margin-top: 48px; padding-top: 40px; border-top: 1px solid #3a4c62; }
.event-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 18px; }
.event-heading time { font-size: .875rem; color: #b7cce3; }
.event-lineup { margin-block: 25px; }
.event-lineup h3 { font-size: 1rem; font-weight: 750; letter-spacing: -.015em; }
.event-lineup ul { list-style: none; padding: 0; margin-top: 16px; border-top: 1px solid #405574; }
.event-lineup li { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 18px; padding-block: 15px; border-bottom: 1px solid #405574; }
.event-lineup li a { display: inline-flex; align-items: center; gap: 13px; font-size: 1rem; font-weight: 600; line-height: 1.5; }
.event-lineup li > strong { font-size: 1rem; font-weight: 600; line-height: 1.5; }
.event-lineup li > span { font: .75rem/1.5 var(--mono); text-transform: uppercase; color: var(--blue); }
.track-panel { position: relative; display: flex; flex-direction: column; min-height: 310px; flex: 1; background: #1b2532; border: 1px solid #3c4f68; border-radius: var(--radius); padding: 25px; }
.track-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.track-panel-head > span:last-child { color: #a4b9d4; font: .75rem var(--mono); }
.track-images { position: relative; height: 210px; min-height: 210px; flex: 1; width: 100%; margin-block: 16px; }
.track-images img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.map-credit { color: #91a8c4; font-size: .75rem; }
.race-drivers { margin-top: 56px; }
.driver-stats-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.driver-stats-grid.single-driver { grid-template-columns: minmax(0,1fr); }
.driver-stats-grid article { padding: 27px; border: 1px solid #3a506c; border-radius: var(--radius); background: var(--panel); }
.driver-stats-name .mono { color: var(--blue); }
.driver-stats-name h3 { font-size: 1.25rem; margin-top: 13px; }
.driver-stats-grid dl { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; border-top: 1px solid #405574; padding-top: 23px; margin-top: 25px; }
.driver-stats-grid dl.four-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
.driver-stats-grid dt { color: #a0b6d2; font-size: .75rem; }
.driver-stats-grid dd { font: 500 1.0625rem var(--mono); color: #d8e5f6; margin-top: 11px; white-space: nowrap; }
.broadcast-strip { display: flex; align-items: center; justify-content: space-between; gap: 30px; background: #152e46; border: 1px solid #3d5a7a; border-radius: var(--radius); padding: 28px 32px; margin-top: 38px; }
.broadcast-strip > div { display: flex; align-items: center; gap: 23px; }
.broadcast-strip svg { width: 30px; height: 30px; color: var(--blue); flex: none; }
.broadcast-strip h3 { font-size: 1.375rem; font-weight: 800; letter-spacing: -.035em; }
.broadcast-strip p { color: #aac4df; font-size: .875rem; margin-top: 7px; }
.broadcast-strip .button { white-space: nowrap; }

/* Secondary pages and footer. */
.not-found { min-height: 260px; }
.site-footer { background: #121a24; padding-block: 45px 23px; border-top: 1px solid #354355; }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.footer-brand { text-align: center; flex: none; }
.footer-brand img { width: 215px; }
.footer-brand p { font-size: .8125rem; color: #a1b4cc; margin-top: 15px; }
.footer-main nav { display: flex; align-items: center; gap: 26px; font-size: .875rem; font-weight: 500; color: #aabdd6; }
.footer-main nav a:hover { color: var(--blue); }
.socials { display: flex; align-items: center; gap: 10px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #3b526d; border-radius: 4px; color: #adc6df; }
.socials a:hover { border-color: var(--blue); color: var(--blue); }
.socials svg { width: 17px; height: 17px; }
.footer-bottom { border-top: 1px solid #314458; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 22px; margin-top: 35px; font-size: .75rem; color: #93a9c4; }
.footer-bottom a:hover { color: var(--blue); }
.back-top { position: fixed; right: 23px; bottom: 22px; z-index: 20; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #4a6b90; border-radius: 4px; background: #1b324d; color: var(--blue); font-size: .875rem; font-weight: 650; opacity: 0; visibility: hidden; transition: opacity .2s; }
.back-top.is-visible { opacity: 1; visibility: visible; }

/* Shared responsive breakpoints keep all routes aligned. */
@media(min-width:1800px) {
  .hero-content { min-height: 725px; padding-top: 120px; }
  .section { padding-block: 88px; }
  .partners-section { padding-top: 24px; }
  .archive-section,.race-center-section { padding-top: 42px; }
}
@media(max-width:1200px) {
  .wrap { width: calc(100% - 64px); }
  .header-inner { gap: 24px; }
  .nav-twitch { padding-left: 18px; flex-basis: 145px; }
  .site-header nav { gap: 16px; }
  .header-inner { gap: 22px; }
  .upcoming-band-inner { gap: 24px; grid-template-columns: minmax(230px,1.1fr) minmax(220px,1fr) auto; }
  .upcoming-band-time { padding-left: 22px; }
  .site-header nav { gap: 25px; }
  .brand,.brand img { width: 185px; flex-basis: 185px; }
  .hero-content { min-height: 640px; padding-block: 90px 170px; }
  .race-band-inner { grid-template-columns: minmax(210px,1fr) 100px 100px 145px auto; gap: 22px; }
  .race-band-stat { padding-left: 20px; }
  .race-band-title strong { font-size: 1.25rem; }
  .race-band .text-link { gap: 13px; }
  .driver-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .driver-info h3 { min-height: 30px; }
  .partner-item,.technical-partners { padding: 20px; }
  .partner-item img { max-width: 170px; }
  .resource > span { gap: 8px; }
  .team-story { gap: 36px; }
  .join-grid { gap: 45px; }
  .intro-meta { max-width: 230px; flex-shrink: 1; }
  .race-report { padding: 27px; }
  .race-finish-stats { padding: 22px; gap: 20px; }
  .race-finish-stats .finish-arrow { display: none; }
  .race-finish-stats div:last-child { padding-left: 22px; }
  .race-finish-stats strong { font-size: 2.4rem; }
  .driver-stats-grid dd { font-size: 1rem; }
  .footer-main nav { gap: 20px; }
}
@media(max-width:960px) {
  html { scroll-padding-top: 98px; }
  .utility-inner { flex-wrap: wrap; gap: 0 8px; }
  .utility-inner .socials { gap: 0; }
  .utility-inner .socials a { width: 44px; height: 44px; }
  .header-inner { min-height: 80px; }
  .menu-toggle { display: flex; align-items: center; gap: 15px; min-height: 44px; padding: 10px 0 10px 15px; background: none; border: none; color: #dfedfb; font-size: .875rem; }
  .menu-lines { position: relative; width: 21px; height: 13px; border-top: 1.5px solid #d4e6fa; border-bottom: 1.5px solid #d4e6fa; }
  .menu-toggle[aria-expanded=true] .menu-lines { transform: translateY(4px) rotate(45deg); border-bottom: 0; }
  .menu-toggle[aria-expanded=true] .menu-lines:after { content: ''; position: absolute; top: -1.5px; left: 0; width: 21px; height: 1.5px; background: #d4e6fa; transform: rotate(90deg); }
  .site-header nav { display: none; position: absolute; left: 0; right: 0; top: 100%; padding: 14px 32px 25px; background: #17283c; border-block: 1px solid #405571; max-height: calc(100dvh - 114px); overflow-y: auto; gap: 0; }
  .site-header nav.is-open { display: flex; flex-direction: column; align-items: stretch; }
  .site-header nav a { display: flex; align-self: stretch; min-height: 52px; padding: 12px 7px; border-bottom: 1px solid #354e6a; font-size: 1rem; }
  .site-header nav a[aria-current]:after { width: 3px; height: 20px; left: 0; right: auto; top: 18px; }
  .site-header nav a[aria-current] { padding-left: 17px; }
  .hero-content { min-height: 625px; }
  .hero h1 { font-size: clamp(3.2rem,6vw,4rem); }
  .hero-slide img { width: 100%; }
  .hero-slide.hero-slide-team img { max-width: 100%; }
  .hero:before { background: linear-gradient(90deg,#101f30e8,#101f3099 62%,#101f3044),linear-gradient(0deg,#101f30f5,transparent 65%); }
  .race-band-inner { grid-template-columns: minmax(230px,1fr) 100px 100px 145px; gap: 18px; }
  .race-band .text-link { display: none; }
  .result-cards { gap: 16px; }
  .result-card { padding: 23px 20px; }
  .result-card h3 { font-size: 1.1875rem; }
  .card-top .mono { font-size: .75rem; }
  .result-position { gap: 16px; }
  .result-position strong { font-size: 3rem; }
  .card-bottom { flex-direction: column; }
  .partners-grid { grid-template-columns: 1fr; }
  .partner-item { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 25px; }
  .partner-category { padding-bottom: 15px; }
  .partner-item .partner-category { border-bottom: 0; padding: 0; }
  .partner-item > div { height: 90px; padding: 10px; }
  .page-intro-inner { gap: 30px; }
  .intro-meta { max-width: 195px; }
  .page-intro h1 { font-size: 3rem; }
  .team-story { grid-template-columns: 1fr; gap: 30px; }
  .story-image { min-height: 380px; }
  .story-copy h2 { font-size: 2.5rem; }
  .culture-layout { grid-template-columns: 1fr; gap: 30px; }
  .culture-overview { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; padding-top: 0; }
  .culture-overview > .eyebrow { grid-column: 1 / -1; }
  .culture-overview h2 { margin-bottom: 0; }
  .culture-intro { max-width: none; align-self: end; }
  .join-grid { gap: 30px; }
  .requirements { padding: 28px; }
  .requirements dl > div { grid-template-columns: 96px 1fr; gap: 15px; }
  .ledger-heading,.result-row { grid-template-columns: 75px minmax(0,1fr) 62px 62px; gap: 18px; }
  .race-center-grid { grid-template-columns: 1fr; }
  .upcoming-band-inner { grid-template-columns: 1fr 1fr; }
  .upcoming-band-clock { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 25px; padding-top: 18px; border-top: 1px solid #405570; }
  .upcoming-band-clock .text-link { margin-left: auto; }
  .previous-race > .race-report .race-facts { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .race-aside { display: grid; grid-template-columns: 1fr 1.15fr; align-items: stretch; }
  .race-finish-stats { justify-content: space-between; }
  .race-finish-stats div:last-child { margin-left: 0; padding-left: 40px; }
  .race-finish-stats strong { font-size: 2.75rem; }
  .track-panel-head { flex-wrap: wrap; }
  .driver-stats-grid dl { gap: 12px; }
  .driver-stats-grid article { padding: 23px; }
  .driver-stats-grid dd { font-size: .875rem; }
  .footer-main { flex-wrap: wrap; }
  .footer-main nav { order: 3; flex-basis: 100%; justify-content: center; padding-top: 24px; border-top: 1px solid #314458; }
}
@media(max-width:700px) {
  html { scroll-padding-top: 156px; }
  .header-inner { flex-wrap: wrap; gap: 12px; }
  .nav-twitch { order: 3; flex: 1 0 100%; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 11px 0 0; border-left: 0; border-top: 1px solid #354d68; }
  .nav-twitch > span { grid-column: 1; align-self: center; }
  .nav-twitch strong { grid-column: 2; margin-top: 0; gap: 8px; font-size: .75rem; }
  .upcoming-band-inner { grid-template-columns: 1fr; gap: 21px; }
  .upcoming-band-time { border-left: 0; border-top: 1px solid #405570; padding: 20px 0 0; }
  .upcoming-band-clock { flex-direction: column; align-items: flex-start; gap: 9px; }
  .upcoming-band-clock .text-link { margin-left: 0; }
  .planned-driver-grid { grid-template-columns: 1fr; gap: 19px; }
  .planned-driver { padding: 23px; }
  .previous-race { margin-top: 44px; padding-top: 38px; }
  .scheduled-event + .scheduled-event { margin-top: 38px; padding-top: 32px; }
  .event-heading { flex-direction: column; align-items: flex-start; gap: 8px; }
  .wrap { width: calc(100% - 40px); }
  .section { padding-block: 54px; }
  .header-inner { min-height: 78px; }
  .brand,.brand img { width: 173px; flex-basis: 173px; }
  .site-header nav { padding-inline: 20px; }
  .hero-content { min-height: 665px; padding-block: 65px 190px; }
  .hero-copy { width: 100%; }
  .hero h1 { font-size: clamp(2.45rem,7.7vw,3.5rem); letter-spacing: -.065em; line-height: 1.08; margin-block: 23px; }
  .hero .eyebrow { letter-spacing: .045em; }
  .hero-description { font-size: 1rem; max-width: 310px; }
  .hero .actions { margin-top: 25px; }
  .hero .button { padding: 12px 17px; gap: 17px; }
  .hero-slide img { object-position: 60% 50%; }
  /* Fit the full Porsche into a narrow hero without stretching the photo. */
  .hero-slide-team { align-items: flex-end; }
  .hero-slide.hero-slide-team img { max-width: 170%; max-height: calc(100% - 35px); margin-right: -12%; margin-bottom: 35px; }
  .hero-slide.hero-slide-corner img { margin-right: -27%; }
  .hero-slide.hero-slide-pack img { margin-right: -22%; }
  .hero:before { background: linear-gradient(90deg,#0d2034ed,#0d2034b3 70%,#0d203484),linear-gradient(0deg,#111f33,transparent 80%); }
  .race-band-inner { grid-template-columns: repeat(3,minmax(0,1fr)); padding-block: 25px; gap: 25px 16px; }
  .race-band-title { grid-column: 1/-1; display: flex; align-items: center; justify-content: space-between; gap: 17px; }
  .race-band-title strong { font-size: 1.125rem; margin: 0; }
  .race-band-title .eyebrow { letter-spacing: 0; }
  .race-band-stat { padding-left: 18px; gap: 8px; }
  .race-band-stat:nth-child(2) { border-left: 0; padding-left: 0; }
  .race-band-stat > span { min-height: 36px; font-size: .75rem; line-height: 1.5; }
  .race-band-stat strong { font-size: 1.75rem; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 18px; margin-bottom: 25px; }
  .section-heading h2 { font-size: 2rem; margin-top: 12px; }
  .section-heading .text-link { padding: 0; }
  body[data-page=home] .section-heading { grid-template-columns: minmax(0,1fr); justify-items: center; }
  body[data-page=home] .section-heading > div,body[data-page=home] .section-heading > .text-link { grid-column: 1; justify-self: center; }
  .stats-strip { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .stats-strip > div { padding: 22px; border-bottom: 1px solid var(--line); }
  .stats-strip > div:nth-child(2n) { border-right: 0; }
  .stats-strip > div:nth-child(n+3) { border-bottom: 0; }
  .stats-strip dd { font-size: 2.25rem; }
  .result-cards { grid-template-columns: 1fr; gap: 17px; }
  .result-card { padding: 25px; }
  .result-card h3 { font-size: 1.375rem; }
  .result-position strong { font-size: 3.5rem; }
  .result-position { gap: 22px; }
  .card-bottom { flex-direction: row; }
  .driver-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
  .driver-top { padding: 15px 14px 12px; gap: 7px; }
  .driver-top .mono { flex-basis: 100%; }
  .driver-monogram { width: 78px; height: 78px; font-size: 1.5rem; margin-block: 10px 20px; }
  .driver-info { padding: 18px 14px 0; }
  .driver-info h3 { font-size: 1.1875rem; min-height: 52px; margin-bottom: 20px; line-height: 1.35; }
  .driver-bottom { gap: 7px; font-size: .75rem; }
  .country { font-size: .75rem; }
  .partners-section { padding-top: 0; }
  .partner-item { display: block; padding: 24px; text-align: center; }
  .partner-item .partner-category { padding-bottom: 15px; border-bottom: 1px solid var(--line); text-align: left; }
  .partner-item > div { height: 130px; padding: 20px; }
  .partner-item img { max-width: 220px; max-height: 98px; }
  .technical-partners { padding: 22px 18px; }
  .resource-grid { gap: 12px; }
  .resource > div { height: 105px; padding: 18px 3px; }
  .resource > span { display: block; text-align: center; font-size: .75rem; line-height: 1.7; }
  .resource > span > span { display: none; }
  .contact-intro h2 { font-size: 2rem; }
  .contact-panel { padding: 25px 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-end { flex-direction: column; align-items: stretch; gap: 17px; }
  .form-end p { text-align: center; }
  .contact-discord { font-size: .875rem; }
  .page-intro-inner { display: block; padding-block: 38px 34px; }
  .page-intro h1 { font-size: clamp(2.1rem,6.9vw,3rem); letter-spacing: -.06em; margin-block: 17px; }
  .page-description { font-size: 1rem; }
  .intro-meta { max-width: none; border-top: 1px solid #3c506a; padding-top: 20px; margin-top: 23px; text-align: left; gap: 9px; }
  .intro-meta > span { font-size: .75rem; }
  .intro-meta strong { font-size: .875rem; }
  .team-story.section { padding-block: 28px 0; }
  .story-image { min-height: 315px; }
  .story-copy h2 { font-size: 2rem; }
  .image-label { font-size: 1.25rem; left: 22px; bottom: 22px; }
  .team-culture.section { padding-block: 40px; }
  .culture-overview { display: block; }
  .culture-overview h2 { margin-block: 15px 19px; }
  .culture-principles li { grid-template-columns: 28px minmax(0,1fr); gap: 12px 18px; padding-block: 22px; }
  .culture-detail { grid-column: 2; }
  .culture-stage { margin-bottom: 6px; }
  .join-grid { grid-template-columns: 1fr; gap: 35px; }
  .join-grid h2 { font-size: 2.75rem; }
  .requirements { padding: 26px; }
  .requirements dl > div { grid-template-columns: 98px 1fr; gap: 19px; }
  .requirements dt { font-size: 1.75rem; }
  .archive-section,.race-center-section { padding-top: 26px; }
  .result-toolbar { flex-direction: column; align-items: stretch; gap: 20px; margin-block: 24px 20px; }
  .result-filters { gap: 7px; }
  .result-filters button { flex: 1; padding: 10px 13px; }
  .sort-label { justify-content: flex-end; }
  .ledger-heading { display: none; }
  .result-row { grid-template-columns: 53px minmax(0,1fr); gap: 13px; padding: 23px 17px; }
  .row-position { font-size: 1.75rem; align-self: start; margin-top: 4px; }
  .row-event h3 { font-size: .9375rem; }
  .row-event p { font-size: .8125rem; line-height: 1.6; margin-top: 6px; }
  .row-event > span { font-size: .75rem; }
  .row-start,.row-gain { grid-column: 2; flex-direction: row; align-items: center; gap: 13px; }
  .row-start { grid-row: 2; }
  .row-gain { grid-row: 3; }
  .row-start span,.row-gain span { display: block; font: .75rem var(--mono); min-width: 44px; color: #a0b6d0; }
  .row-start b,.row-gain b { font-size: .875rem; }
  .ledger-footer { flex-direction: column; align-items: stretch; text-align: center; gap: 20px; }
  .race-status-track li { flex-direction: column; align-items: flex-start; padding: 15px 9px; gap: 9px; font-size: .75rem; }
  .race-report { padding: 25px 22px; }
  .race-report-top { align-items: flex-start; gap: 15px; }
  .race-report-top .eyebrow { max-width: 175px; letter-spacing: 0; }
  .race-report h2 { font-size: 1.875rem; }
  .race-facts { grid-template-columns: 1fr 1fr; gap: 22px 20px; }
  .race-finish-stats { padding: 20px 17px; gap: 15px; }
  .race-finish-stats strong { font-size: 2rem; }
  .race-finish-stats div:last-child { padding-left: 17px; }
  .race-finish-stats span { font-size: .75rem; }
  .race-summary { font-size: 1rem; }
  .race-report .button { width: 100%; }
  .race-aside { display: flex; flex-direction: column; }
  .next-race-panel { padding: 26px; }
  .track-panel { padding: 25px; }
  .race-drivers { margin-top: 44px; }
  .driver-stats-grid { grid-template-columns: 1fr; gap: 19px; }
  .driver-stats-grid article { padding: 23px; }
  .driver-stats-grid dd { font-size: .9375rem; }
  .broadcast-strip { flex-direction: column; align-items: stretch; padding: 25px; gap: 23px; margin-top: 30px; }
  .broadcast-strip > div { gap: 20px; }
  .broadcast-strip h3 { font-size: 1.25rem; }
  .broadcast-strip svg { width: 25px; height: 25px; }
  .footer-main { flex-direction: column; gap: 28px; }
  .footer-main nav { order: 0; width: 100%; flex-wrap: wrap; gap: 17px 25px; }
  .footer-brand img { width: 210px; }
  .footer-bottom { flex-wrap: wrap; justify-content: center; text-align: center; gap: 13px 25px; padding-top: 24px; margin-top: 28px; }
  .footer-bottom > span:nth-child(2) { display: none; }
  .back-top { right: 14px; bottom: 14px; }
}
@media(max-width:390px) {
  .wrap { width: calc(100% - 32px); }
  .hero h1 { font-size: 2.3rem; }
  .hero .actions { max-width: 260px; }
  .hero-content { min-height: 700px; padding-bottom: 195px; }
  .hero .eyebrow { font-size: .75rem; letter-spacing: 0; }
  .race-band-title strong { font-size: 1rem; }
  .race-band-stat { padding-left: 12px; }
  .race-facts { grid-template-columns: 1fr; }
  .race-finish-stats { padding: 19px 12px; gap: 12px; }
  .race-finish-stats strong { font-size: 1.875rem; }
  .race-finish-stats div:last-child { padding-left: 12px; }
  .driver-stats-grid article { padding: 22px 19px; }
  .driver-stats-grid dl { gap: 9px; }
  .driver-stats-grid dd { font-size: .8125rem; }
  .driver-info { padding-inline: 12px; }
  .driver-info h3 { font-size: 1.125rem; min-height: 72px; }
  .role { padding-inline: 6px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *,*:before,*:after { animation: none !important; transition: none !important; }
  .button:hover,.driver-card:hover,.result-card:hover { transform: none; }
}

/* Mobile usability only. Preserve the desktop presentation at 961px and above. */
@media (max-width: 960px) {
  html { scroll-padding-top: calc(var(--mobile-header-height, 140px) + 16px); }
  .wrap { width: calc(100% - max(28px, env(safe-area-inset-left, 0px)) - max(28px, env(safe-area-inset-right, 0px))); }
  .site-header { padding-top: env(safe-area-inset-top, 0px); }
  .header-inner { gap: 16px; }
  .menu-toggle { min-width: 88px; min-height: 48px; padding: 12px 0 12px 12px; }
  .site-header nav {
    max-height: var(--mobile-nav-space, calc(100dvh - 180px));
    padding: 8px max(28px, env(safe-area-inset-right, 0px)) max(20px, env(safe-area-inset-bottom, 0px)) max(28px, env(safe-area-inset-left, 0px));
    overflow-y: auto; overscroll-behavior-y: contain; scrollbar-gutter: stable;
    box-shadow: 0 16px 24px #06101c55;
  }
  .site-header nav a { flex: none; min-height: 52px; white-space: normal; overflow-wrap: anywhere; }
  .nav-twitch { min-width: 0; max-width: 50%; }
  .text-link,.contact-discord a,.event-lineup li a,.page-intro .eyebrow a,.footer-main nav a { min-height: 44px; display: inline-flex; align-items: center; white-space: normal; }
  .button { min-height: 48px; white-space: normal; }
  .socials a { width: 48px; height: 48px; }
  .sort-label select { min-height: 48px; font-size: 1rem; }
  .result-toolbar { flex-wrap: wrap; }
  .result-filters button { min-height: 48px; }
  .result-filters { min-width: 0; }
  .race-report,.race-aside,.race-facts > div,.driver-stats-grid dl > div,.requirements dd,.intro-meta,.culture-principle,.culture-detail { min-width: 0; }
  .race-facts dd,.row-event,.race-summary,.driver-info h3,.driver-stats-name h3,.requirements dd { overflow-wrap: anywhere; }
  .race-facts dt,.stats-strip dt,.driver-stats-grid dt { font-size: .875rem; }
  .driver-stats-grid dd { white-space: normal; overflow-wrap: anywhere; line-height: 1.5; }
  .race-report-top { flex-wrap: wrap; }
  .section-heading .text-link { padding-block: 10px; }
  .footer-main nav { gap: 8px 24px; }
  .footer-main nav a { padding: 8px; }
  .site-footer { padding-bottom: max(28px, env(safe-area-inset-bottom, 0px)); }
  .back-top { width: 48px; height: 48px; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - max(20px, env(safe-area-inset-left, 0px)) - max(20px, env(safe-area-inset-right, 0px))); }
  .header-inner { gap: 0 12px; min-height: 68px; }
  .brand { padding-block: 13px; }
  .brand,.brand img { width: 168px; flex-basis: 168px; }
  .site-header nav { padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px)); }
  .nav-twitch { flex-basis: 100%; max-width: none; grid-template-columns: minmax(0,1fr) minmax(0,1.4fr); gap: 6px 12px; min-height: 48px; padding-block: 10px; }
  .nav-twitch > span { font-size: .75rem; line-height: 1.5; }
  .nav-twitch strong { justify-self: end; text-align: right; font-size: .875rem; line-height: 1.5; }
  .hero-content { min-height: 580px; min-height: clamp(560px, 74svh, 650px); padding-block: 38px 210px; align-items: flex-start; }
  .hero h1 { font-size: clamp(2.25rem, 7.7vw, 3.5rem); line-height: 1.1; margin-block: 20px; }
  .hero-description { max-width: 36ch; }
  .hero .actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; max-width: 420px; margin-top: 24px; }
  .hero .button { gap: 9px; padding: 12px 10px; font-size: .875rem; }
  .hero-slide.hero-slide-team img { max-width: 145%; max-height: 100%; margin-bottom: 15px; }
  .hero-slide.hero-slide-prototype img { max-width: 125%; margin-right: -12%; }
  .hero-slide.hero-slide-oval-pit img { margin-right: -22%; }
  .hero-slide.hero-slide-oval-onboard img { max-width: 100%; margin-right: 0; }
  .slide-selectors button { height: 48px; }
  .slide-selectors button span { height: 4px; }
  .section { padding-block: 44px; }
  .section-heading h2 { font-size: clamp(1.8rem,6.5vw,2.3rem); line-height: 1.15; }
  .stats-strip > div { padding: 20px; }
  .result-card { padding: 22px; }
  .result-card > p { font-size: 1rem; }
  .card-top { flex-wrap: wrap; }
  .upcoming-band-title strong { line-height: 1.3; }
  .upcoming-band-clock strong { overflow-wrap: anywhere; max-width: 100%; }
  .page-intro-inner { padding-block: 28px; }
  .page-intro h1 { line-height: 1.12; }
  .page-intro .eyebrow { flex-wrap: wrap; gap: 6px 12px; }
  .team-story { gap: 26px; }
  .story-image { min-height: 0; aspect-ratio: 4 / 3; }
  .story-copy { padding-top: 0; }
  .culture-intro { max-width: none; }
  .culture-detail { font-size: 1rem; }
  .join-grid h2 { font-size: clamp(2rem,7.5vw,2.75rem); }
  .join-grid .button { width: 100%; }
  .driver-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
  .driver-info h3 { min-height: 0; font-size: 1.25rem; }
  .driver-bottom,.country { font-size: .875rem; }
  .driver-top .mono { flex-basis: auto; }
  .resource-grid { grid-template-columns: 1fr; gap: 0; }
  .resource { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: 18px; padding-block: 14px; }
  .resource + .resource { border-top: 1px solid var(--line); }
  .resource > div { height: 64px; padding: 8px; }
  .resource > span { font-size: .875rem; text-align: left; }
  .partner-item > span:last-child { font-size: .875rem; }
  .result-toolbar { gap: 16px; }
  .result-filters { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
  .result-filters button { padding-inline: 8px; }
  .sort-label { justify-content: space-between; }
  .sort-label select { width: auto; flex: 1; max-width: 240px; }
  .result-row { grid-template-columns: 54px minmax(0,1fr); padding: 22px 16px; gap: 12px; }
  .row-event h3 { font-size: 1rem; }
  .row-event p { font-size: .875rem; }
  .row-start,.row-gain { flex-wrap: wrap; gap: 6px 10px; }
  .row-start small,.row-gain small { margin-top: 0; font-size: .75rem; }
  .row-position small { font-size: .75rem; }
  .race-status-track { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .race-status-track li { flex-direction: row; align-items: center; gap: 10px; padding: 15px 12px; font-size: .875rem; }
  .race-status-track li:nth-child(2) { border-right: 0; }
  .race-status-track li:nth-child(-n+2) { border-bottom: 1px solid #3c4f66; }
  .race-report { padding: 24px 20px; }
  .race-facts,.previous-race > .race-report .race-facts { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 18px; }
  .race-facts dd { font-size: 1rem; }
  .race-finish-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 18px 12px; gap: 12px; align-items: start; }
  .race-finish-stats div { min-width: 0; gap: 10px; }
  .race-finish-stats div:last-child { margin-left: 0; padding-left: 12px; }
  .race-finish-stats span { line-height: 1.5; overflow-wrap: anywhere; }
  .race-finish-stats strong { font-size: clamp(1.625rem,6.7vw,2rem); }
  .driver-stats-grid dl { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 14px; }
  .driver-stats-grid dd { font-size: 1rem; }
  .countdown-grid { gap: 8px; }
  .countdown-grid dd { font-size: clamp(1.5rem,6vw,2.125rem); }
  .contact-panel { padding: 24px 20px; }
  .footer-main nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px 16px; text-align: center; }
  .footer-main nav a { justify-content: center; }
  .footer-bottom { padding-bottom: 52px; }
}
@media (max-width: 480px) {
  .driver-grid { grid-template-columns: minmax(0,1fr); }
  .driver-card { display: grid; grid-template-columns: 82px minmax(0,1fr); }
  .driver-top { grid-column: 1 / -1; padding: 16px 18px 12px; }
  .driver-monogram { width: 56px; height: 56px; font-size: 1.125rem; align-self: start; margin: 18px 0 18px 18px; }
  .driver-info { min-width: 0; padding: 16px 18px 0 0; border-top: 0; background: none; text-align: left; }
  .driver-info h3 { margin-block: 8px 16px; min-height: 0; font-size: 1.25rem; }
  .driver-bottom { padding-block: 12px; }
  .requirements dl > div { grid-template-columns: 85px minmax(0,1fr); gap: 14px; }
}
@media (max-width: 380px) {
  .wrap { width: calc(100% - max(16px, env(safe-area-inset-left, 0px)) - max(16px, env(safe-area-inset-right, 0px))); }
  .brand,.brand img { width: 150px; flex-basis: 150px; }
  .hero .actions { grid-template-columns: minmax(0,1fr); max-width: 290px; }
  .hero-content { padding-bottom: 180px; }
  .race-facts,.previous-race > .race-report .race-facts { grid-template-columns: minmax(0,1fr); }
  .driver-stats-grid article { padding: 22px 18px; }
}
