/* =========================================================
   UWR — University of Wolverhampton Racing
   Concept site design system
   ========================================================= */

@view-transition { navigation: auto; }

:root {
  --bg: #0a0f14;
  --bg-2: #101820;
  --surface: #151e27;
  --surface-2: #1d2731;
  --surface-3: #26323d;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .16);
  --text: #f3f6f8;
  --text-2: #c9d2d9;
  --muted: #8d9aa6;
  --cyan: #4dbdd7;
  --cyan-2: #7fd6ea;
  --cyan-deep: #1c7f98;
  --yellow: #fac817;
  --pink: #f5357f;
  --green: #59b985;
  --light: #f1f3f5;

  --f-display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --f-body: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --skew: -12deg;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--cyan); color: var(--bg); }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--yellow); color: #000; padding: 10px 16px; font-weight: 700; }
.skip:focus { left: 8px; }

/* subtle grain over everything */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 200; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 860px; }
.section { padding-block: clamp(72px, 10vw, 140px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--alt { background: var(--bg-2); }
.section--light { background: var(--light); color: #0d151c; }
.section--light .muted, .section--light .lede { color: #4a5864; }
.grid { display: grid; gap: clamp(20px, 3vw, 32px); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .g-2, .g-3, .g-4 { grid-template-columns: minmax(0, 1fr); } }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }

/* ---------- Type ---------- */
h1, h2, h3, h4, .display {
  font-family: var(--f-display); font-weight: 800; line-height: .92; letter-spacing: -.005em;
  text-transform: uppercase; margin: 0 0 .4em; text-wrap: balance;
}
.display-xl { font-size: clamp(3.4rem, 11.5vw, 11rem); font-style: italic; font-weight: 900; line-height: .84; }
.display-l { font-size: clamp(2.8rem, 7.5vw, 6.8rem); font-style: italic; font-weight: 900; line-height: .88; }
h2, .h2 { font-size: clamp(2.3rem, 5.4vw, 4.6rem); font-style: italic; }
h3, .h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
h4 { font-size: 1.25rem; letter-spacing: .02em; }
p { margin: 0 0 1.1em; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.32rem); color: var(--text-2); line-height: 1.6; max-width: 62ch; }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px;
  font-family: var(--f-mono); font-size: .76rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; transform: skewX(var(--skew)); }
.eyebrow--y { color: var(--yellow); }
.accent { color: var(--cyan); }
.accent-y { color: var(--yellow); }
.outline { color: transparent; -webkit-text-stroke: 1.5px var(--text); }
.mono { font-family: var(--f-mono); }
.kicker { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(36px, 5vw, 64px); flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head .lede { margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--cyan); --c: #04121a;
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 28px; font-family: var(--f-display); font-weight: 800; font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--c); isolation: isolate; transition: color .3s var(--ease), transform .3s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--b); transform: skewX(var(--skew)); transition: background .3s var(--ease), box-shadow .3s;
}
.btn:hover::before { background: var(--yellow); box-shadow: 0 10px 40px -10px rgba(250, 200, 23, .6); }
.btn:hover { transform: translateX(3px); }
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--ghost { --c: var(--text); }
.btn--ghost::before { background: transparent; border: 1.5px solid var(--line-2); }
.btn--ghost:hover { --c: #04121a; }
.btn--y { --b: var(--yellow); }
.btn--y:hover::before { background: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 18px 24px; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--cyan); }
.link-arrow svg { width: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center; transition: background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled, .nav--solid { background: rgba(10, 15, 20, .82); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { width: 54px; height: 30px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { font-family: var(--f-display); font-weight: 900; font-style: italic; font-size: 1.35rem; letter-spacing: .04em; }
.brand-text span { font-family: var(--f-mono); font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: block; padding: 10px 13px; font-family: var(--f-display); font-weight: 700; font-size: 1rem; letter-spacing: .09em; text-transform: uppercase; color: var(--text-2);
  transition: color .2s;
}
.nav-links > li > a:hover, .nav-links > li > a[aria-current="page"], .nav-links > li.is-active > a { color: #fff; }
.nav-links > li > a[aria-current="page"]::after, .nav-links > li.is-active > a::after { content: ""; display: block; height: 2px; background: var(--cyan); margin-top: 4px; transform: skewX(var(--skew)); }
.dropdown {
  position: absolute; top: 100%; left: -12px; min-width: 260px; padding: 12px; list-style: none; margin: 0;
  background: rgba(16, 24, 32, .97); border: 1px solid var(--line); border-top: 2px solid var(--cyan);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s var(--ease); backdrop-filter: blur(14px);
}
.nav-links > li:hover .dropdown, .nav-links > li:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: flex; justify-content: space-between; gap: 16px; padding: 9px 12px; font-size: .95rem; color: var(--text-2); border-radius: 2px; }
.dropdown a small { font-family: var(--f-mono); font-size: .66rem; color: var(--muted); letter-spacing: .1em; align-self: center; }
.dropdown a:hover { background: var(--surface-2); color: #fff; }
.nav-cta { margin-left: 10px; padding: 11px 20px; font-size: .92rem; }
.burger { display: none; width: 46px; height: 46px; margin-left: auto; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; transition: transform .35s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; right: 17px; } .burger span:nth-child(3) { top: 28px; }
.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); right: 11px; }
@media (max-width: 1180px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; }
}
.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--bg); padding: calc(var(--nav-h) + 24px) var(--gutter) 40px;
  overflow-y: auto; clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease); visibility: hidden;
}
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu-open { overflow: hidden; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu > ul > li > a { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); font-family: var(--f-display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(2rem, 8vw, 3rem); line-height: 1.05; }
.mobile-menu > ul > li > a small { font-family: var(--f-mono); font-style: normal; font-size: .7rem; font-weight: 500; color: var(--cyan); letter-spacing: .12em; }
.mobile-menu .sub { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 10px 0 16px; }
.mobile-menu .sub a { color: var(--muted); font-size: .95rem; }
.mobile-menu .btn { margin-top: 32px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; padding-bottom: clamp(48px, 8vh, 96px); }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; animation: kenburns 24s ease-out both; }
@keyframes kenburns { from { transform: scale(1.14) translate3d(1.5%, 1%, 0); } to { transform: scale(1.0) translate3d(0, 0, 0); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 15, 20, .7) 0%, rgba(10, 15, 20, 0) 26%),
    linear-gradient(90deg, rgba(10, 15, 20, .92) 0%, rgba(10, 15, 20, .5) 48%, rgba(10, 15, 20, .1) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(10, 15, 20, 0) 45%);
}
.hero-stripes { position: absolute; right: -6%; top: 0; bottom: 0; width: 42%; z-index: -1; pointer-events: none; opacity: .9; }
.hero-stripes i { position: absolute; top: -10%; bottom: -10%; width: 9%; transform: skewX(var(--skew)); background: var(--cyan); opacity: .18; animation: stripe 1.4s var(--ease) both; }
.hero-stripes i:nth-child(1) { left: 30%; animation-delay: .2s; }
.hero-stripes i:nth-child(2) { left: 44%; width: 3%; background: var(--yellow); opacity: .5; animation-delay: .35s; }
.hero-stripes i:nth-child(3) { left: 52%; width: 1.2%; opacity: .4; animation-delay: .5s; }
@keyframes stripe { from { transform: skewX(var(--skew)) translateY(-110%); } to { transform: skewX(var(--skew)) translateY(0); } }
.hero-content { width: 100%; }
.hero h1 { margin-bottom: .25em; }
.hero h1 .line { display: block; overflow: hidden; padding-right: .1em; }
.hero h1 .line > span { display: inline-block; animation: rise 1s var(--ease) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
.hero .lede { animation: fade 1s .5s var(--ease) both; }
.hero .btn-row { animation: fade 1s .7s var(--ease) both; margin-top: 32px; }
@keyframes fade { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero-meta { display: flex; gap: 10px 28px; flex-wrap: wrap; margin-bottom: 24px; animation: fade 1s .1s var(--ease) both; }
.hero-meta span { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .live { color: var(--yellow); }
.hero-meta .live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 0 rgba(250, 200, 23, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(250, 200, 23, 0); } 100% { box-shadow: 0 0 0 0 rgba(250, 200, 23, 0); } }
.scroll-cue { position: absolute; right: var(--gutter); bottom: 40px; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .2em; color: var(--muted); writing-mode: vertical-rl; display: flex; align-items: center; gap: 12px; }
.scroll-cue::after { content: ""; width: 1px; height: 60px; background: linear-gradient(var(--cyan), transparent); animation: cue 2s infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 700px) {
  .scroll-cue { display: none; } .hero-stripes { width: 70%; right: -30%; opacity: .5; }
  .hero::before { background: linear-gradient(180deg, rgba(10, 15, 20, .55) 0%, rgba(10, 15, 20, .35) 25%, rgba(10, 15, 20, .82) 55%, var(--bg) 100%); }
}

/* Inner page hero */
.page-hero { position: relative; min-height: clamp(460px, 72vh, 760px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; padding: calc(var(--nav-h) + 60px) 0 clamp(40px, 6vw, 72px); }
.page-hero--short { min-height: clamp(380px, 52vh, 540px); }
.page-hero .hero-media img { animation-duration: 18s; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(10, 15, 20, .9) 0%, rgba(10, 15, 20, .45) 60%, rgba(10, 15, 20, .2) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(10, 15, 20, 0) 55%), linear-gradient(180deg, rgba(10, 15, 20, .6), rgba(10, 15, 20, 0) 30%);
}
.page-hero--plain { background: radial-gradient(120% 90% at 85% 0%, rgba(77, 189, 215, .18), transparent 55%), radial-gradient(60% 60% at 0% 100%, rgba(250, 200, 23, .07), transparent 60%), var(--bg); }
.page-hero--plain::before { display: none; }
.page-hero h1 { font-size: clamp(3rem, 9vw, 8.4rem); font-style: italic; font-weight: 900; line-height: .86; margin-bottom: .2em; }
.page-hero .lede { margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); list-style: none; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-2); }
.crumbs a:hover { color: var(--cyan); }
.bignum { position: absolute; right: var(--gutter); bottom: -0.12em; font-family: var(--f-display); font-weight: 900; font-style: italic; font-size: clamp(10rem, 30vw, 28rem); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .14); z-index: -1; pointer-events: none; user-select: none; }

/* ---------- Ticker ---------- */
.ticker { background: var(--cyan); color: #04121a; overflow: hidden; border-block: 1px solid rgba(0, 0, 0, .2); position: relative; z-index: 2; }
.ticker--y { background: var(--yellow); }
.ticker--dark { background: var(--surface); color: var(--text-2); }
.ticker-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 14px; padding: 14px 28px; white-space: nowrap; font-family: var(--f-display); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .06em; font-size: 1.1rem; }
.ticker-item b { font-family: var(--f-mono); font-style: normal; font-size: .78rem; padding: 3px 8px; background: #04121a; color: var(--cyan); letter-spacing: .08em; }
.ticker--y .ticker-item b { color: var(--yellow); }
.ticker-item::after { content: "◆"; font-size: .6rem; margin-left: 14px; opacity: .6; font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: clamp(28px, 4vw, 48px) clamp(16px, 2.5vw, 32px); border-left: 1px solid var(--line); position: relative; }
.stat:first-child { border-left: 0; }
.stat-num { font-family: var(--f-display); font-weight: 900; font-style: italic; font-size: clamp(3.4rem, 7vw, 6.2rem); line-height: .85; display: flex; align-items: baseline; gap: 4px; }
.stat-num sup { font-size: .38em; color: var(--cyan); top: 0; }
.stat-label { margin-top: 12px; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }
.stat::before { content: ""; position: absolute; left: -1px; top: 0; width: 3px; height: 0; background: var(--cyan); transition: height 1.2s var(--ease); }
.stat.is-in::before { height: 40%; }
.stat:first-child::before { left: 0; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- Media frames ---------- */
.frame { position: relative; overflow: hidden; background: var(--surface); }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.frame:hover img { transform: scale(1.04); }
.frame--cut { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 48px), calc(100% - 48px) 100%, 0 100%); }
.frame--cut-l { clip-path: polygon(48px 0, 100% 0, 100% 100%, 0 100%, 0 48px); }
.ratio-169 { aspect-ratio: 16/9; } .ratio-43 { aspect-ratio: 4/3; } .ratio-32 { aspect-ratio: 3/2; } .ratio-45 { aspect-ratio: 4/5; } .ratio-11 { aspect-ratio: 1; } .ratio-21 { aspect-ratio: 21/9; }
.frame-tag { position: absolute; left: 0; bottom: 0; padding: 8px 14px; background: rgba(10, 15, 20, .85); font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); backdrop-filter: blur(8px); }
.frame-stack { position: relative; }
.frame-stack .frame:nth-child(2) { position: absolute; width: 46%; right: -6%; bottom: -12%; border: 6px solid var(--bg); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); }
@media (max-width: 900px) { .frame-stack .frame:nth-child(2) { right: 0; } }
.placeholder-img { width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(80% 80% at 70% 20%, rgba(77, 189, 215, .25), transparent 60%), repeating-linear-gradient(-12deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 22px), var(--surface-2); font-family: var(--f-display); font-weight: 900; font-style: italic; font-size: 2rem; color: rgba(255, 255, 255, .15); text-transform: uppercase; }

/* ---------- Cards ---------- */
.card { position: relative; background: var(--surface); border: 1px solid var(--line); padding: clamp(24px, 3vw, 36px); transition: border-color .3s, transform .4s var(--ease), background .3s; }
.card:hover { border-color: var(--line-2); }
.card h3 { margin-bottom: .35em; }
.card p:last-child { margin-bottom: 0; }
.card-icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 22px; color: var(--cyan); border: 1px solid var(--line-2); transform: skewX(var(--skew)); }
.card-icon svg { width: 22px; height: 22px; transform: skewX(12deg); }
.card-num { position: absolute; top: 18px; right: 22px; font-family: var(--f-mono); font-size: .72rem; color: var(--muted); letter-spacing: .12em; }
a.card:hover { transform: translateY(-4px); background: var(--surface-2); }

.car-card { position: relative; display: block; overflow: hidden; background: var(--surface); isolation: isolate; min-height: 520px; }
.car-card .frame { position: absolute; inset: 0; z-index: -1; }
.car-card .frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 15, 20, .96) 8%, rgba(10, 15, 20, .25) 60%, rgba(10, 15, 20, .1)); }
.car-card-body { position: absolute; inset: auto 0 0; padding: clamp(22px, 3vw, 34px); }
.car-card .yr { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .14em; color: var(--cyan); }
.car-card h3 { font-size: clamp(2rem, 3.2vw, 2.9rem); font-style: italic; font-weight: 900; margin: 8px 0 10px; }
.car-card p { color: var(--text-2); margin: 0; font-size: .97rem; }
.car-card .no { position: absolute; top: 18px; right: 22px; font-family: var(--f-display); font-weight: 900; font-style: italic; font-size: 4.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .6); }
.car-card .chip { position: absolute; top: 24px; left: 24px; }
.car-card .go { display: inline-flex; margin-top: 18px; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); opacity: .0; transform: translateY(10px); transition: all .4s var(--ease); }
.car-card:hover .go { opacity: 1; transform: none; }
@media (hover: none) { .car-card .go { opacity: 1; transform: none; } }

.chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; font-family: var(--f-mono); font-size: .68rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; background: rgba(10, 15, 20, .7); border: 1px solid var(--line-2); color: var(--text-2); backdrop-filter: blur(8px); }
.chip--live { color: var(--yellow); border-color: rgba(250, 200, 23, .5); }
.chip--live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); }
.chip--cyan { color: var(--cyan); border-color: rgba(77, 189, 215, .5); }

.pos { display: inline-grid; place-items: center; min-width: 46px; padding: 3px 8px; font-family: var(--f-display); font-weight: 900; font-style: italic; font-size: 1.05rem; letter-spacing: .02em; background: var(--surface-3); color: var(--text); transform: skewX(var(--skew)); }
.pos > span { transform: skewX(12deg); display: inline-block; }
.pos--1 { background: var(--yellow); color: #111; }
.pos--2, .pos--3 { background: var(--cyan); color: #04121a; }
.pos--dnf { background: transparent; color: var(--pink); box-shadow: inset 0 0 0 1.5px var(--pink); }
.pos--q { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-2); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .96rem; }
th, td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-family: var(--f-mono); font-weight: 500; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); background: var(--bg-2); white-space: nowrap; }
tbody tr { transition: background .2s; }
tbody tr:hover { background: rgba(77, 189, 215, .05); }
tbody tr:last-child td { border-bottom: 0; }
td strong { font-family: var(--f-display); font-size: 1.1rem; letter-spacing: .03em; text-transform: uppercase; }

.spec { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.spec > div { padding: 22px 22px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec dt { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.spec dd { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; line-height: 1.05; text-transform: uppercase; }
.spec dd small { display: block; font-family: var(--f-body); font-weight: 400; font-size: .82rem; text-transform: none; color: var(--muted); margin-top: 6px; line-height: 1.4; }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: clamp(28px, 6vw, 0px); }
.timeline::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--line); transform: translateX(-50%); }
.timeline-progress { position: absolute; top: 0; left: 50%; width: 2px; background: linear-gradient(var(--cyan), var(--yellow)); transform: translateX(-50%); height: 0; }
.tl-year { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(48px, 8vw, 120px); margin-bottom: clamp(56px, 8vw, 110px); }
.tl-year:nth-child(odd) .tl-media { order: 2; }
.tl-marker { position: absolute; left: 50%; top: 6px; width: 18px; height: 18px; background: var(--bg); border: 2px solid var(--cyan); transform: translateX(-50%) rotate(45deg); z-index: 2; transition: background .4s; }
.tl-year.is-in .tl-marker { background: var(--cyan); box-shadow: 0 0 24px var(--cyan); }
.tl-y { font-family: var(--f-display); font-weight: 900; font-style: italic; font-size: clamp(4rem, 9vw, 7.5rem); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--cyan); margin-bottom: 18px; }
.tl-body h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-style: italic; }
.tl-body ul { padding-left: 0; list-style: none; margin: 18px 0 0; }
.tl-body li { position: relative; padding: 10px 0 10px 26px; border-top: 1px solid var(--line); color: var(--text-2); font-size: .97rem; }
.tl-body li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 10px; height: 2px; background: var(--cyan); transform: skewX(var(--skew)); }
.tl-media .frame { aspect-ratio: 4/3; }
@media (max-width: 860px) {
  .timeline::before, .timeline-progress { left: 8px; }
  .tl-year { grid-template-columns: 1fr; padding-left: 36px; gap: 24px; }
  .tl-year:nth-child(odd) .tl-media { order: 0; }
  .tl-marker { left: 8px; }
}

/* ---------- News ---------- */
.news-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); height: 100%; transition: transform .4s var(--ease), border-color .3s; }
.news-card:hover { transform: translateY(-5px); border-color: rgba(77, 189, 215, .4); }
.news-card .frame { aspect-ratio: 16/10; }
.news-card-body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.news-meta { display: flex; gap: 14px; align-items: center; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.news-meta .cat { color: var(--cyan); }
.news-card h3 { font-size: 1.55rem; line-height: 1; margin-bottom: 12px; transition: color .2s; }
.news-card:hover h3 { color: var(--cyan); }
.news-card p { color: var(--muted); font-size: .95rem; margin: 0; }
.news-card .link-arrow { margin-top: auto; padding-top: 20px; font-size: .9rem; }
.news-feature { display: grid; grid-template-columns: 1.4fr 1fr; background: var(--surface); border: 1px solid var(--line); }
.news-feature .frame { min-height: 420px; }
.news-feature .news-card-body { padding: clamp(28px, 4vw, 52px); justify-content: center; }
.news-feature h3 { font-size: clamp(2rem, 3.4vw, 3.2rem); font-style: italic; }
@media (max-width: 860px) { .news-feature { grid-template-columns: 1fr; } .news-feature .frame { min-height: 260px; } }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter { padding: 9px 16px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--line-2); color: var(--text-2); transition: all .2s; }
.filter:hover { border-color: var(--cyan); color: #fff; }
.filter.is-active { background: var(--cyan); color: #04121a; border-color: var(--cyan); }
[data-filter-item].is-hidden { display: none; }

/* ---------- Article / prose ---------- */
.prose { font-size: 1.1rem; line-height: 1.8; color: var(--text-2); }
.prose > * { max-width: 70ch; }
.prose h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); color: var(--text); margin: 1.6em 0 .5em; }
.prose h3 { color: var(--text); margin: 1.5em 0 .5em; }
.prose a { color: var(--cyan); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--cyan); }
.prose blockquote { margin: 1.8em 0; padding: 4px 0 4px 28px; border-left: 3px solid var(--yellow); font-family: var(--f-display); font-style: italic; font-weight: 700; font-size: 1.7rem; line-height: 1.2; color: var(--text); text-transform: none; }
.prose figure { margin: 2em 0; max-width: none; }
.prose figcaption { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.prose strong { color: var(--text); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 6vw, 88px); }
.article-aside { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; display: grid; gap: 20px; }
@media (max-width: 960px) { .article-layout { grid-template-columns: 1fr; } .article-aside { position: static; } }
.note { padding: 18px 20px; border: 1px dashed var(--line-2); font-size: .88rem; color: var(--muted); line-height: 1.6; }
.note strong { color: var(--text-2); }
.source-list { font-size: .88rem; color: var(--muted); padding-left: 1.1em; }
.source-list a { color: var(--text-2); word-break: break-word; }

/* ---------- Partners ---------- */
.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logo-tile { position: relative; min-height: 130px; display: grid; place-items: center; text-align: center; padding: 22px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s; }
.logo-tile:hover { background: var(--surface); }
.logo-tile .wm { font-family: var(--f-display); font-weight: 800; font-size: 1.32rem; letter-spacing: .04em; text-transform: uppercase; line-height: 1.05; color: var(--text); }
.logo-tile small { display: block; margin-top: 8px; font-family: var(--f-mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.logo-tile img { max-height: 54px; max-width: 160px; object-fit: contain; filter: grayscale(1) brightness(1.6); opacity: .8; transition: all .3s; }
.logo-tile:hover img { filter: none; opacity: 1; }
.tier-title { display: flex; align-items: center; gap: 16px; margin: 56px 0 20px; font-family: var(--f-mono); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); }
.tier-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.partner-hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.partner-big { padding: 36px; background: linear-gradient(135deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); position: relative; overflow: hidden; }
.partner-big::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border: 1px solid rgba(77, 189, 215, .25); transform: rotate(45deg); }
.partner-big .wm { font-family: var(--f-display); font-weight: 900; font-style: italic; font-size: 2.3rem; text-transform: uppercase; line-height: 1; margin: 10px 0 14px; }
.partner-big p { color: var(--text-2); font-size: .95rem; margin: 0; }

.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1000px) { .tiers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .tiers { grid-template-columns: 1fr; } }
.tier { position: relative; padding: 32px 26px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.tier--hot { border-color: var(--cyan); background: linear-gradient(180deg, rgba(77, 189, 215, .12), var(--surface) 40%); }
.tier--hot::before { content: "Most impact"; position: absolute; top: -12px; left: 24px; padding: 3px 10px; background: var(--cyan); color: #04121a; font-family: var(--f-mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; }
.tier h3 { font-size: 2rem; font-style: italic; margin: 6px 0 12px; }
.tier ul { list-style: none; padding: 0; margin: 18px 0 26px; font-size: .94rem; color: var(--text-2); }
.tier li { padding: 9px 0 9px 24px; border-top: 1px solid var(--line); position: relative; }
.tier li::before { content: ""; position: absolute; left: 0; top: 17px; width: 12px; height: 7px; border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(-45deg); }
.tier .btn { margin-top: auto; align-self: flex-start; }

/* ---------- People ---------- */
.person { background: var(--surface); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.person-ph { aspect-ratio: 4/5; position: relative; overflow: hidden; background: var(--surface-2); }
.person-ph img { width: 100%; height: 100%; object-fit: cover; }
.person-initials { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-display); font-weight: 900; font-style: italic; font-size: 5.6rem; color: rgba(255, 255, 255, .1); background: radial-gradient(90% 70% at 70% 10%, rgba(77, 189, 215, .22), transparent 60%), repeating-linear-gradient(-12deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 18px); }
.person-body { padding: 22px 22px 26px; }
.person-role { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.person h3 { font-size: 1.7rem; margin: 8px 0 8px; }
.person p { font-size: .93rem; color: var(--muted); margin: 0; }
.role-card { padding: 26px; border: 1px solid var(--line); background: var(--surface); }
.role-card h4 { margin: 0 0 8px; font-size: 1.35rem; }
.role-card p { font-size: .94rem; color: var(--muted); margin: 0; }
.role-card .card-icon { margin-bottom: 16px; }

/* ---------- Quote ---------- */
.quote { position: relative; padding: clamp(28px, 5vw, 64px) 0; }
.quote blockquote { margin: 0; font-family: var(--f-display); font-weight: 800; font-style: italic; font-size: clamp(2rem, 4.6vw, 4rem); line-height: 1; text-transform: uppercase; }
.quote blockquote::before { content: "“"; display: block; font-size: 2.2em; line-height: .5; color: var(--cyan); margin-bottom: 12px; }
.quote cite { display: block; margin-top: 24px; font-style: normal; font-family: var(--f-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(72px, 10vw, 140px); background: var(--cyan); color: #04121a; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(-12deg, rgba(0, 0, 0, .06) 0 2px, transparent 2px 26px); }
.cta-band::after { content: ""; position: absolute; right: -10%; top: -20%; bottom: -20%; width: 40%; z-index: -1; background: #04121a; transform: skewX(var(--skew)); opacity: .9; }
.cta-band h2 { font-size: clamp(2.6rem, 7vw, 6.4rem); margin: 0 0 .3em; font-weight: 900; max-width: 13ch; }
.cta-band p { max-width: 52ch; font-size: 1.15rem; color: #0b2a35; }
.cta-band .btn { --b: #04121a; --c: #fff; }
.cta-band .btn:hover { --c: #04121a; }
.cta-band .btn--ghost { --c: #04121a; }
.cta-band .btn--ghost::before { border-color: rgba(0, 0, 0, .4); }
.cta-band-side { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); z-index: 1; color: #fff; text-align: right; font-family: var(--f-display); font-weight: 900; font-style: italic; font-size: clamp(5rem, 13vw, 13rem); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .5); }
@media (max-width: 900px) { .cta-band::after, .cta-band-side { display: none; } }

/* ---------- Gallery ---------- */
.gallery { columns: 3 320px; column-gap: 14px; }
.gallery a { display: block; margin-bottom: 14px; break-inside: avoid; position: relative; overflow: hidden; background: var(--surface); }
.gallery img { width: 100%; transition: transform .8s var(--ease), filter .4s; }
.gallery a:hover img { transform: scale(1.04); filter: brightness(1.1); }
.gallery a figcaption { position: absolute; inset: auto 0 0; padding: 30px 14px 12px; background: linear-gradient(0deg, rgba(0, 0, 0, .85), transparent); font-size: .82rem; color: var(--text-2); opacity: 0; transform: translateY(10px); transition: all .3s; }
.gallery a:hover figcaption { opacity: 1; transform: none; }
.lightbox { position: fixed; inset: 0; z-index: 300; display: none; place-items: center; background: rgba(5, 8, 11, .95); padding: 60px 20px; }
.lightbox.is-open { display: grid; }
.lightbox img { max-height: 82vh; max-width: min(1600px, 94vw); width: auto; object-fit: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lightbox p { margin: 16px auto 0; max-width: 900px; text-align: center; color: var(--text-2); font-size: .92rem; }
.lightbox p small { display: block; font-family: var(--f-mono); color: var(--muted); font-size: .68rem; letter-spacing: .1em; margin-top: 4px; text-transform: uppercase; }
.lb-btn { position: absolute; width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid var(--line-2); color: #fff; background: rgba(10, 15, 20, .6); transition: background .2s; }
.lb-btn:hover { background: var(--cyan); color: #04121a; }
.lb-close { top: 18px; right: 18px; } .lb-prev { left: 18px; top: 50%; transform: translateY(-50%); } .lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-btn svg { width: 22px; }

.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }
@media (max-width: 420px) { .video-grid { grid-template-columns: 1fr; } }
.video { position: relative; aspect-ratio: 16/9; background: #000; overflow: hidden; cursor: pointer; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: opacity .3s, transform .8s var(--ease); }
.video:hover img { opacity: 1; transform: scale(1.03); }
.video .play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; display: grid; place-items: center; background: var(--cyan); color: #04121a; transform: skewX(var(--skew)); transition: background .2s; }
.video:hover .play { background: var(--yellow); }
.video .play svg { width: 26px; transform: skewX(12deg) translateX(2px); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-title { margin-top: 12px; font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; text-transform: uppercase; line-height: 1.1; }
.video-meta { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

/* ---------- Horizontal rail ---------- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 30%); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 18px; scrollbar-width: thin; scrollbar-color: var(--cyan) var(--surface); }
.rail > * { scroll-snap-align: start; }
@media (max-width: 860px) { .rail { grid-auto-columns: 82%; } }
.rail-ctrl { display: flex; gap: 10px; }
.rail-ctrl button { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--line-2); transition: all .2s; }
.rail-ctrl button:hover { background: var(--cyan); color: #04121a; border-color: var(--cyan); }
.rail-ctrl svg { width: 20px; }

/* ---------- Season / results ---------- */
.round { display: grid; grid-template-columns: 110px 1fr auto; gap: 24px; align-items: center; padding: 26px 0; border-top: 1px solid var(--line); }
.round:last-child { border-bottom: 1px solid var(--line); }
.round-no { font-family: var(--f-display); font-weight: 900; font-style: italic; font-size: 3.4rem; line-height: .8; color: transparent; -webkit-text-stroke: 1.2px var(--muted); }
.round h4 { margin: 0 0 4px; font-size: 1.6rem; }
.round p { margin: 0; color: var(--muted); font-size: .95rem; }
.round-res { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.round:hover .round-no { -webkit-text-stroke-color: var(--cyan); }
@media (max-width: 700px) { .round { grid-template-columns: 64px 1fr; } .round-no { font-size: 2.4rem; } .round-res { grid-column: 2; justify-content: flex-start; } }

.honours { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.honour { padding: 28px 24px; background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; }
.honour .y { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; color: var(--muted); }
.honour .t { font-family: var(--f-display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 2rem; line-height: .95; margin: 10px 0 8px; }
.honour p { font-size: .9rem; color: var(--muted); margin: 0; }
.honour--gold { border-color: rgba(250, 200, 23, .5); background: linear-gradient(160deg, rgba(250, 200, 23, .14), var(--surface) 50%); }
.honour--gold .t { color: var(--yellow); }
.honour svg.trophy { position: absolute; right: 16px; top: 16px; width: 30px; color: var(--yellow); opacity: .8; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; padding: 15px 16px; font: inherit; font-size: 1rem; color: var(--text); background: var(--bg); border: 1px solid var(--line-2); border-radius: 0; transition: border-color .2s, box-shadow .2s; appearance: none; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--cyan) 50%), linear-gradient(135deg, var(--cyan) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(77, 189, 215, .2); }
.form-note { font-size: .82rem; color: var(--muted); }
.form-ok { display: none; padding: 16px 18px; border-left: 3px solid var(--green); background: rgba(89, 185, 133, .1); color: var(--text-2); }
.form-ok.is-on { display: block; }

/* ---------- Accordion ---------- */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 24px 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.25rem, 2vw, 1.6rem); text-transform: uppercase; letter-spacing: .01em; line-height: 1.1; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--cyan); font-family: var(--f-mono); font-size: 1.2rem; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--cyan); color: #04121a; }
.faq .ans { padding: 0 0 26px; color: var(--text-2); max-width: 72ch; }

/* ---------- Steps ---------- */
.steps { counter-reset: s; display: grid; gap: 0; }
.step { counter-increment: s; display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding: 30px 0; border-top: 1px solid var(--line); }
.step::before { content: "0" counter(s); font-family: var(--f-display); font-weight: 900; font-style: italic; font-size: 3.4rem; line-height: .8; color: var(--cyan); }
.step h4 { margin: 0 0 8px; font-size: 1.5rem; }
.step p { margin: 0; color: var(--muted); }

/* ---------- Pit wall dashboard ---------- */
.pitwall { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pitwall > * { background: var(--bg-2); padding: clamp(24px, 3vw, 40px); }
.pw-label { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; display: flex; justify-content: space-between; }
.pw-big { font-family: var(--f-display); font-weight: 900; font-style: italic; font-size: clamp(4rem, 9vw, 8rem); line-height: .8; }
.pw-bars { display: flex; align-items: flex-end; gap: 10px; height: 160px; margin-top: 24px; }
.pw-bar { flex: 1; background: var(--surface-3); position: relative; height: 0; transition: height 1.4s var(--ease); }
.pw-bar.is-p { background: var(--cyan); }
.pw-bar.is-w { background: var(--yellow); }
.pw-bar span { position: absolute; bottom: -24px; left: 0; right: 0; text-align: center; font-family: var(--f-mono); font-size: .62rem; color: var(--muted); }
.pw-bar b { position: absolute; top: -26px; left: 0; right: 0; text-align: center; font-family: var(--f-display); font-style: italic; font-size: 1rem; }
@media (max-width: 860px) { .pitwall { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: #070b0f; border-top: 1px solid var(--line); padding: clamp(64px, 8vw, 110px) 0 32px; position: relative; overflow: hidden; }
.footer-giant { font-family: var(--f-display); font-weight: 900; font-style: italic; font-size: clamp(5rem, 22vw, 22rem); line-height: .78; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .09); margin: 0 0 56px -.04em; white-space: nowrap; user-select: none; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h5 { font-family: var(--f-mono); font-weight: 500; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); margin: 0 0 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--text-2); font-size: .95rem; transition: color .2s; }
.footer ul a:hover { color: #fff; }
.footer-about p { color: var(--muted); font-size: .95rem; max-width: 40ch; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--text-2); transition: all .2s; }
.socials a:hover { background: var(--cyan); border-color: var(--cyan); color: #04121a; }
.socials svg { width: 18px; height: 18px; }
.footer-base { margin-top: 64px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; font-size: .82rem; color: var(--muted); }
.footer-base a:hover { color: #fff; }

/* ---------- Misc ---------- */
.divider-stripes { height: 12px; background: repeating-linear-gradient(-60deg, var(--cyan) 0 10px, transparent 10px 20px); opacity: .5; }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; font-size: .95rem; }
.kv dt { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.kv dd { margin: 0; color: var(--text-2); }
.list-check { list-style: none; padding: 0; margin: 0; }
.list-check li { position: relative; padding: 12px 0 12px 32px; border-top: 1px solid var(--line); color: var(--text-2); }
.list-check li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 13px; height: 7px; border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(-45deg); }
.sticky-head { position: sticky; top: calc(var(--nav-h) + 24px); }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 16px; } .mt-2 { margin-top: 32px; } .mt-3 { margin-top: 56px; } .mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 32px; }
.hide-sm { } @media (max-width: 700px) { .hide-sm { display: none !important; } }
.callout { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; padding: 26px 28px; background: linear-gradient(90deg, rgba(250, 200, 23, .1), transparent); border-left: 3px solid var(--yellow); }
.callout svg { width: 28px; color: var(--yellow); }
.callout p { margin: 0; color: var(--text-2); }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (max-width: 700px) {
  [data-reveal="left"], [data-reveal="right"] { transform: translateY(30px); }
  .spec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec > div { padding: 16px 14px; }
  .spec dd { font-size: 1.25rem; }
  .page-hero { min-height: 0; padding-top: calc(var(--nav-h) + 120px); }
  .page-hero--short { padding-top: calc(var(--nav-h) + 60px); }
}
.no-js [data-reveal] { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: .08s; } [data-delay="2"] { transition-delay: .16s; } [data-delay="3"] { transition-delay: .24s; } [data-delay="4"] { transition-delay: .32s; } [data-delay="5"] { transition-delay: .4s; }

.wipe { position: relative; overflow: hidden; }
.wipe::after { content: ""; position: absolute; inset: 0; background: var(--cyan); transform: scaleX(1); transform-origin: right; transition: transform 1.1s var(--ease); z-index: 3; }
.wipe.is-in::after { transform: scaleX(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .wipe::after { display: none; }
}

/* Light theme override (rarely used — site is dark by design) */
:root[data-theme="light"] body { background: var(--bg); }
