/* ==========================================================================
   NMR1 Racing — main.css
   Mobile-first baseline: fonts, tokens, base, components and the small-screen
   layout. Collection grids (cars, shorts, gallery…) use auto-fit tracks, so they
   gain columns on their own as space allows. desktop.css (loaded from 40em)
   holds the few overrides that need a real breakpoint.
   ========================================================================== */

/* Fonts ------------------------------------------------------------------- */

@font-face {
  font-family: "Archivo";
  src: url(../fonts/archivo-latin-var.woff2) format("woff2");
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Geist Mono";
  src: url(../fonts/geist-mono-400-latin.woff2) format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Local fallbacks resized to the web fonts' metrics, so text keeps its line
   breaks and line heights when the web fonts swap in (no layout shift). */
@font-face {
  font-family: "Archivo Fallback";
  src: local("Arial"), local("ArialMT"), local("Helvetica"), local("Liberation Sans"), local("Arimo");
  size-adjust: 97.9%;
  ascent-override: 89.7%;
  descent-override: 21.45%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Archivo Fallback Roboto";
  src: local("Roboto"), local("Roboto-Regular");
  size-adjust: 98.3%;
  ascent-override: 89.3%;
  descent-override: 21.35%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Geist Mono Fallback";
  src: local("Menlo"), local("Menlo-Regular"), local("DejaVu Sans Mono"), local("Liberation Mono"), local("Cousine"), local("Roboto Mono"), local("Courier New");
  size-adjust: 99.7%;
  ascent-override: 100.8%;
  descent-override: 29.6%;
  line-gap-override: 0%;
}

/* Tokens ------------------------------------------------------------------ */

:root {
  --bg: #F5F5F9;
  --surface: #FFFFFF;
  --ink: #14121F;
  --ink-hover: #2A2640;
  --ink-2: #3A3848;
  --ink-3: #5D5A6E;
  --ink-4: #716D82;          /* quietest text on light backgrounds (AA contrast) */
  --violet: #948CF3;
  --violet-ink: #5B4BD1;
  --tint: #ECEBF3;
  --placeholder: #E7E7EE;
  --on-dark: #B9B6C8;
  --on-dark-2: #DAD8E4;
  --on-dark-3: #8E8AA0;

  --sans: "Archivo", "Archivo Fallback", "Archivo Fallback Roboto", Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", "Geist Mono Fallback", ui-monospace, Menlo, Consolas, monospace;

  --gutter: clamp(18px, 4vw, 48px);
  --section-y: clamp(80px, 10vw, 144px);
}

/* Base -------------------------------------------------------------------- */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, figure, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; }
b { font-weight: inherit; }
[hidden] { display: none !important; }

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--violet-ink); }
:focus-visible { outline: 2px solid var(--violet-ink); outline-offset: 2px; }
::selection { background: var(--violet); color: var(--ink); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@keyframes blink {
  0%, 60% { opacity: 1; }
  61%, 100% { opacity: .25; }
}

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

/* Layout ------------------------------------------------------------------ */

.wrap { max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }

.band--white { background: var(--surface); border-block: 1px solid rgba(20, 18, 31, .08); }
.band--dark { background: var(--ink); color: var(--bg); }

/* Two-column sections: stacked here, side by side in desktop.css. */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--split-gap, 48px) clamp(40px, 6vw, 96px); }
.split--nmr1 { --split-gap: 56px; }
.split--log { --split-gap: 88px; }

/* Type -------------------------------------------------------------------- */

.display { font-weight: 850; font-stretch: 70%; text-transform: uppercase; }

.h-xl {
  font-weight: 800;
  font-stretch: 76%;
  text-transform: uppercase;
  font-size: clamp(44px, 6vw, 92px);
  line-height: .9;
  letter-spacing: -.015em;
}

.h-lg {
  margin-bottom: 32px;
  font-weight: 800;
  font-stretch: 76%;
  text-transform: uppercase;
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: .9;
}

.lede { max-width: 420px; font-size: 17px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }

/* Numbered section header: "01 — OUR STORY ……… WHY NMR1 RACING" */
.kicker {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(40px, 6vw, 72px);
  padding-top: 14px;
  border-top: 1px solid rgba(20, 18, 31, .18);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--ink-3);
}
.kicker b { color: var(--violet-ink); }
.kicker--short { margin-bottom: 40px; }
.kicker--gallery { margin-bottom: 24px; }
.band--dark .kicker { border-top-color: rgba(245, 245, 249, .2); color: var(--on-dark); }
.band--dark .kicker b { color: var(--violet); }

/* Heading + intro paragraph row */
.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px 48px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head--media { margin-bottom: 40px; }

/* Small mono label on a light plate (figure numbers) */
.tag { padding: 7px 10px; background: rgba(245, 245, 249, .92); }
.tag--corner {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--bg);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
}

.caption { margin-top: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--ink-3); }

/* Letter "o" struck through with the violet slash (NMR1 zero) */
.slash-o { position: relative; display: inline-block; }
.slash-o::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: .92em;
  height: .07em;
  margin: -.035em 0 0 -.46em;
  background: var(--violet);
  transform: rotate(-64deg);
}

/* Buttons ----------------------------------------------------------------- */

.btn {
  display: flex;
  align-items: center;
  height: 52px;
  padding: 0 18px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
}
.btn__icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--violet);
  color: var(--ink);
}
.btn__icon--play { font-size: 12px; }

.btn--solid { gap: 16px; padding: 0 7px 0 18px; background: var(--ink); color: var(--bg); }
.btn--solid:hover { background: var(--ink-hover); color: var(--bg); }

.btn--outline { justify-content: center; box-sizing: border-box; border: 1.5px solid var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--bg); }

.btn--light { gap: 16px; padding: 0 7px 0 18px; background: var(--bg); color: var(--ink); }
.btn--light:hover { background: var(--surface); color: var(--ink); }

.btn--ghost { box-sizing: border-box; border: 1.5px solid rgba(245, 245, 249, .5); color: var(--bg); }
.btn--ghost:hover { border-color: var(--bg); color: var(--bg); }

.btn--sm { height: 44px; padding-inline: 16px; font-size: 11.5px; }
.btn--sm.btn--solid { gap: 12px; padding: 0 6px 0 16px; }
.btn--sm .btn__icon { width: 32px; height: 32px; }

.socials { display: flex; flex-wrap: wrap; gap: 8px; }

/* Status bar -------------------------------------------------------------- */

.statusbar {
  background: var(--ink);
  color: var(--on-dark);
  font-family: var(--mono);
  font-size: 10.5px;
  /* Full .14em tracking from ~380px; tightens below that so the bar never overflows. */
  letter-spacing: clamp(0px, (100vw - 322px) / 39, .14em);
}
.statusbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 12px;
  min-height: 32px;
}
.statusbar__session { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.statusbar__session > span:nth-child(2) { color: var(--bg); }
.statusbar__note { display: none; }
.statusbar a { color: var(--on-dark); white-space: nowrap; }
.statusbar a:hover { color: var(--bg); }

.blink { width: 6px; height: 6px; background: var(--violet); animation: blink 1.6s steps(1) infinite; }

/* Header ------------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(20, 18, 31, .1);
  background: rgba(245, 245, 249, .92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 76px;
}
.site-header__logo { flex: none; display: flex; align-items: center; height: 44px; }
.site-header__logo img { width: auto; height: 100%; }

/* Desktop navigation is styled in desktop.css. */
.site-nav, .site-header__actions { display: none; }

/* Menu button: only shown when JavaScript is available to drive it. */
.menu-btn { display: none; }
.js .menu-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
  height: 44px;
  margin: 0;
  padding: 0 14px;
  border: 1.5px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  cursor: pointer;
}
.menu-btn__icon { width: 14px; height: 4px; border-block: 1.5px solid currentColor; }

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 8px var(--gutter) 20px;
  border-top: 1px solid rgba(20, 18, 31, .1);
  background: var(--bg);
}
.mobile-nav a:not(.btn) {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(20, 18, 31, .1);
  font-weight: 800;
  font-stretch: 78%;
  text-transform: uppercase;
  font-size: 30px;
  line-height: 1;
}
.mobile-nav a:not(.btn) span { font-family: var(--mono); font-size: 11px; font-weight: 400; color: var(--violet-ink); }
.mobile-nav__cta { justify-content: space-between; margin-top: 18px; }

/* Hero -------------------------------------------------------------------- */

.hero__media {
  position: relative;
  height: clamp(300px, 42vw, 580px);
  overflow: hidden;
  background: #C9CCD3;
}
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% 89%;
}
.hero__media::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 56px;
  background: linear-gradient(180deg, rgba(245, 245, 249, 0), var(--bg));
}
.hero__tags {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-block: 20px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
}
.hero__coords { display: none; }

.hero__intro {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 6px;
  padding-bottom: clamp(32px, 4vw, 48px);
}
.hero__title {
  /* The min() only kicks in below ~340px, so "IMPROVE." (3.81em wide) still fits. */
  font-size: clamp(min(84px, (100vw - 36px) / 3.85), 15.2vw, 216px);
  line-height: .8;
  letter-spacing: -.022em;
  white-space: nowrap;       /* always exactly two lines, whatever the font state */
}
.hero__aside { max-width: 400px; padding-bottom: 10px; }
.hero__meta {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(20, 18, 31, .14);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  color: var(--ink-3);
}
.hero__lede { font-size: clamp(16px, 1.4vw, 18px); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero__actions .btn { flex: 1 1 auto; }
.hero__actions .btn--solid { justify-content: space-between; }

/* Timing strip: CARS on its own row, BEST LAP | EVENTS, then ROAD (desktop.css: 3 + 1, then one row). */
.timing { border-block: 1px solid rgba(20, 18, 31, .14); }
.timing__grid { display: grid; grid-template-columns: 1fr 1fr; font-family: var(--mono); }
.timing__cell { display: block; padding: 16px 0; border-top: 1px solid rgba(20, 18, 31, .1); }
.timing__cars { border-top: 0; }
.timing__cars, .timing__road { grid-column: 1 / -1; }
.timing__best { padding-right: 16px; box-shadow: 1px 0 0 rgba(20, 18, 31, .1); }
.timing__events { padding-left: 16px; }
.timing__label { display: block; font-size: 10px; letter-spacing: .14em; color: var(--ink-3); }
.timing__value { display: block; margin-top: 6px; font-size: 14px; }
.timing__road:hover { background: var(--surface); }
.timing__road-head { display: flex; justify-content: space-between; gap: 12px; }
.timing__road-head span + span { color: var(--ink); }
.timing__road .progress { margin-top: 10px; }

/* Four-segment progress bar; the filled share of a segment comes from --fill. */
.progress {
  --track: rgba(20, 18, 31, .12);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  height: 6px;
}
.progress > span { background: linear-gradient(90deg, var(--violet) var(--fill, 0%), var(--track) 0); }
.progress--lg { --track: rgba(20, 18, 31, .1); gap: 4px; height: 8px; margin-bottom: 12px; }

/* 01 Story ---------------------------------------------------------------- */

.story__title { text-wrap: balance; }
.story__figure { position: relative; margin-top: clamp(32px, 4vw, 56px); }
.story__figure img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.story__body {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 580px;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--ink-2);
}
.story__body p { text-wrap: pretty; }

/* Ordered lists numbered 01, 02… in the left column */
.numbered, .services { counter-reset: item; }
.numbered li, .services li { display: grid; grid-template-columns: 52px 1fr; counter-increment: item; }
.numbered li::before, .services li::before {
  content: counter(item, decimal-leading-zero);
  content: counter(item, decimal-leading-zero) / "";
  font-family: var(--mono);
}

.numbered { margin-top: 18px; border-top: 1px solid rgba(20, 18, 31, .18); color: var(--ink); }
.numbered li { padding: 14px 0; border-bottom: 1px solid rgba(20, 18, 31, .1); }
.numbered li::before { padding-top: 3px; font-size: 13px; color: var(--ink-4); }
.numbered li:last-child::before { color: var(--violet-ink); }

/* 02 Road to Time Attack -------------------------------------------------- */

.road__here { margin-bottom: 40px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--ink-3); }

.sectors { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); column-gap: 28px; }
.sector { padding: 24px 0 32px; border-top: 2px solid rgba(20, 18, 31, .2); }
.sector.is-current { border-top-color: var(--violet); }
.sector__status { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--ink-3); }
.is-current .sector__status { color: var(--violet-ink); }
.sector h3 { margin: 14px 0 10px; font-weight: 800; font-stretch: 80%; text-transform: uppercase; font-size: 32px; line-height: 1; }
.sector p:last-child { font-size: 16px; line-height: 1.55; color: var(--ink-2); }

/* 03 Cars ----------------------------------------------------------------- */

.cars { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr)); gap: 20px; }

.car { display: flex; flex-direction: column; border: 1px solid rgba(20, 18, 31, .1); background: var(--surface); }
.car__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--placeholder); }
.car__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.car__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 68px;
  height: 44px;
  padding: 0 16px;
  background: var(--ink);
  color: var(--bg);
  clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 14px 100%, 0 50%);
  font-weight: 900;
  font-stretch: 62%;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -.03em;
}
.car__body { display: flex; flex-direction: column; flex: 1; padding: clamp(20px, 2.4vw, 32px); }
.car__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--ink-3);
}
.car__status { display: flex; align-items: center; gap: 8px; letter-spacing: .12em; color: var(--ink); }
.car__status::before { content: ""; width: 7px; height: 7px; background: var(--violet); }
.car__name { margin-top: 10px; font-weight: 800; font-stretch: 78%; text-transform: uppercase; font-size: clamp(34px, 3.4vw, 48px); line-height: .95; }

.specs { margin: 24px 0; border-top: 1px solid rgba(20, 18, 31, .16); font-family: var(--mono); font-size: 13px; }
.specs div { display: grid; grid-template-columns: 120px 1fr; padding: 11px 0; border-bottom: 1px solid rgba(20, 18, 31, .08); }
.specs dt, .specs .is-muted { color: var(--ink-3); }

.car__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  margin-top: auto;
  padding: 0 16px;
  border: 1.5px solid var(--ink);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .12em;
}
.car__link:hover { background: var(--ink); color: var(--bg); }

.car--planned {
  justify-content: space-between;
  min-height: 360px;
  padding: clamp(20px, 2.4vw, 32px);
  border: 1.5px dashed rgba(20, 18, 31, .22);
  background: none;
}
.car__dash { font-weight: 900; font-stretch: 62%; font-size: clamp(96px, 10vw, 140px); line-height: .8; letter-spacing: -.03em; color: rgba(20, 18, 31, .14); }
.car--planned h3 { margin: 18px 0 10px; font-weight: 800; font-stretch: 78%; text-transform: uppercase; font-size: clamp(28px, 2.8vw, 40px); line-height: .95; }
.car--planned div p:last-child { max-width: 360px; font-size: 16px; line-height: 1.55; color: var(--ink-2); }

/* 04 Build log + 05 Events ------------------------------------------------ */

.log { border-top: 1px solid rgba(20, 18, 31, .2); font-family: var(--mono); font-size: 13px; }
.log li {
  display: grid;
  grid-template-columns: 44px 100px minmax(0, 1fr);
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px dashed rgba(20, 18, 31, .18);
  color: var(--ink-3);
}
.log .log__entry { align-items: baseline; border-bottom: 1px solid rgba(20, 18, 31, .1); color: var(--ink); }
.log__num { color: var(--violet-ink); }
.log__entry time { color: var(--ink-3); }
.log__text { font-family: var(--sans); font-size: 16px; }
.log .is-empty { color: var(--ink-4); }
.log__note { max-width: 440px; margin-top: 24px; font-size: 15px; line-height: 1.55; color: var(--ink-3); }

.sheet { width: 100%; table-layout: fixed; border-collapse: collapse; font-family: var(--mono); font-size: 13px; }
.sheet th, .sheet td { padding: 15px 0 15px 12px; font-weight: 400; text-align: left; vertical-align: top; }
.sheet th:first-child, .sheet td:first-child { padding-left: 0; }
.sheet th:last-child, .sheet td:last-child { text-align: right; }
.sheet th { padding-block: 10px; border-bottom: 1px solid rgba(20, 18, 31, .3); font-size: 10px; letter-spacing: .14em; color: var(--ink-3); }
.sheet th:nth-child(1) { width: 56px; }
.sheet th:nth-child(3) { width: 54px; }
.sheet th:nth-child(4) { width: 108px; }
.sheet td { border-bottom: 1px dashed rgba(20, 18, 31, .18); color: var(--ink-3); }
.sheet td:nth-child(2) { color: var(--ink); }

.events__note { max-width: 440px; margin-top: 24px; font-size: 16px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding-bottom: 4px;
  border-bottom: 1.5px solid var(--violet);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--violet-ink);
}
.text-link:hover { color: var(--ink); }

/* Image placeholders (content not shot yet) -------------------------------- */

.ph {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-sizing: border-box;
  padding: 12px;
  background: #DFDFE5;
  color: rgba(20, 18, 31, .75);
  font: 500 13px/1.3 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  letter-spacing: .01em;
  text-align: center;
}
.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1.5px dashed rgba(20, 18, 31, .35);
}
.ph::after {
  content: "";
  order: -1;
  width: 28px;
  height: 28px;
  opacity: .45;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314121F' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='m21 15-5-5L5 21'/%3E%3C/svg%3E") center / contain no-repeat;
}
.car__media .ph, .episode .ph { position: absolute; inset: 0; }
.ph--9x16 { aspect-ratio: 9 / 16; }
.ph--4x5 { aspect-ratio: 4 / 5; }

/* 06 Media ---------------------------------------------------------------- */

.episode { position: relative; width: 100%; max-height: 760px; aspect-ratio: 16 / 9; background: var(--placeholder); }
.episode__overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(16px, 3vw, 36px);
}
.episode__card { max-width: 640px; padding: clamp(14px, 2vw, 24px) clamp(16px, 2.4vw, 28px); background: var(--bg); }
.episode__meta { display: flex; gap: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--ink-3); }
.episode__meta b { color: var(--violet-ink); }
.episode__title { margin-top: 8px; font-size: clamp(40px, 6vw, 96px); line-height: .82; letter-spacing: -.02em; }
.episode__card p:last-child { margin-top: 10px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.episode__play {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(52px, 6vw, 76px);
  height: clamp(52px, 6vw, 76px);
  background: var(--violet);
  color: var(--ink);
  font-size: 18px;
}

.shorts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 20px; margin-top: 20px; }

/* Gallery ----------------------------------------------------------------- */

.gallery { padding-bottom: var(--section-y); }
.gallery__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.gallery__grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* 07 Off track ------------------------------------------------------------ */

.off-track__title { font-size: clamp(min(52px, (100vw - 36px) / 5.9), 7.4vw, 120px); line-height: .84; letter-spacing: -.02em; text-wrap: balance; }

.loadtime {
  display: inline-grid;
  gap: 6px;
  margin-top: 40px;
  padding: 18px 22px;
  border: 1px solid rgba(245, 245, 249, .2);
  font-family: var(--mono);
}
.loadtime__label { font-size: 10px; letter-spacing: .14em; color: var(--on-dark); }
.loadtime__value { min-width: 6ch; font-size: 34px; line-height: 1.1; color: var(--violet); }
.loadtime__note { font-size: 10px; letter-spacing: .12em; color: var(--on-dark-3); }

.off-track__lede { max-width: 540px; margin-bottom: 32px; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.55; color: var(--on-dark-2); text-wrap: pretty; }

.services { border-top: 1px solid rgba(245, 245, 249, .2); }
.services li {
  padding: 18px 0;
  border-bottom: 1px solid rgba(245, 245, 249, .12);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 750;
  font-stretch: 82%;
  text-transform: uppercase;
  line-height: 1;
}
.services li::before { padding-top: 5px; font-size: 12px; font-weight: 400; color: var(--violet); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 32px; }

/* 08 Partners ------------------------------------------------------------- */

.partners__lede { max-width: 460px; margin-top: 24px; font-size: 17px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.partners__cta { display: inline-flex; margin-top: 28px; }

.partners { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.partner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  aspect-ratio: 3 / 2;
  border: 1px solid rgba(20, 18, 31, .14);
  background: var(--surface);
}
.partner__name { font-weight: 900; font-stretch: 125%; font-size: clamp(13px, 1.3vw, 17px); }
.partner__name--ridexy { font-stretch: 115%; }
.partner__role { font-family: var(--mono); font-size: 9px; letter-spacing: .14em; color: var(--ink-3); }
.partner--open { border: 1.5px dashed rgba(20, 18, 31, .2); background: none; font-family: var(--mono); font-size: 12px; color: var(--ink-3); }

/* Footer ------------------------------------------------------------------ */

.site-footer { border-top: 1px solid rgba(20, 18, 31, .1); background: var(--surface); }
.site-footer__inner { padding-top: clamp(64px, 8vw, 112px); padding-bottom: 28px; }
.site-footer__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 40px; }
.site-footer__title { font-size: clamp(60px, 10vw, 152px); line-height: .82; letter-spacing: -.022em; }

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 32px;
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: 28px;
  border-top: 1px solid rgba(20, 18, 31, .14);
}
.site-footer__logo { display: flex; align-items: flex-start; height: 44px; max-width: 200px; }
.site-footer__logo img { width: auto; height: 100%; }
.site-footer__col, .site-footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.site-footer__col { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; }
.site-footer__col h3 { font-size: 10px; font-weight: 400; letter-spacing: .14em; color: var(--ink-3); }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  color: var(--ink-3);
}
