/* =====================================================================
   JS RACING — styles
   Brand colours sampled from the JSR logo files.
   ===================================================================== */

:root {
  --navy: #0A1630;
  --navy-2: #0F1F42;
  --navy-3: #16295A;
  --lime: #D7FF1F;
  --lime-2: #85A126;
  --lime-3: #475C2A;
  --blue: #2E7BFF;
  --white: #FFFFFF;
  --ink: #0A1630;
  --muted: #9AA6C2;
  --muted-dark: #4A5675;
  --line: rgba(255, 255, 255, .1);
  --line-dark: rgba(10, 22, 48, .12);

  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

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

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
strong { font-weight: 600; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--lime); color: var(--navy); padding: 8px 14px; font-weight: 600;
}
.skip:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 15px;
  color: var(--lime);
  margin-bottom: 14px;
}
.eyebrow--dark { color: var(--navy); }
.slashes { letter-spacing: -.02em; margin-right: 4px; }
.eyebrow--dark .slashes { color: var(--blue); }

.h2 {
  font-family: var(--display);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(44px, 7vw, 84px);
  line-height: .92;
  letter-spacing: -.01em;
  margin: 0 0 24px;
}
.hl { color: var(--lime); }
.hl-dark { color: var(--blue); }

.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section__head { max-width: 760px; margin-bottom: 48px; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section__sub { color: var(--muted); font-size: 18px; max-width: 620px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent; --fg: var(--white); --bd: currentColor;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 17px;
  line-height: 1;
  padding: 17px 30px;
  color: var(--fg);
  background: var(--bg);
  border: 2px solid var(--bd);
  text-decoration: none;
  cursor: pointer;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: transform .2s var(--ease), background .2s, color .2s;
}
.btn:hover { transform: translateX(3px); }
.btn--lime { --bg: var(--lime); --fg: var(--navy); --bd: var(--lime); }
.btn--lime:hover { --bg: #E6FF6B; }
.btn--ghost { --fg: var(--white); --bd: rgba(255,255,255,.5); }
.btn--ghost:hover { --bd: var(--lime); --fg: var(--lime); }
.btn--navy { --bg: var(--navy); --fg: var(--white); --bd: var(--navy); }
.btn--navy:hover { --bg: var(--blue); --bd: var(--blue); }
.btn--sm { padding: 11px 20px; font-size: 15px; }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, box-shadow .3s, padding .3s;
  padding: 18px 0;
}
.nav.is-scrolled {
  background: rgba(10, 22, 48, .88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
  padding: 10px 0;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo img { height: 40px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a:not(.btn) {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 16px;
  text-decoration: none;
  position: relative;
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px;
  background: var(--lime); transition: right .25s var(--ease);
}
.nav__links a:not(.btn):hover::after,
.nav__links a[aria-current="page"]::after { right: 0; }
.nav__links a[aria-current="page"] { color: var(--lime); }

.nav__toggle {
  display: none;
  width: 44px; height: 44px; padding: 10px;
  background: none; border: 0; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 6px;
}
.nav__toggle span { display: block; height: 2px; background: var(--white); transition: transform .3s, opacity .3s; }
.nav__toggle span:nth-child(2) { width: 70%; margin-left: auto; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; gap: 28px;
    background: var(--navy);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; }
  .nav__links a:not(.btn) { font-size: 34px; font-weight: 800; font-style: italic; }
  .nav__links .btn { margin-top: 12px; font-size: 18px; padding: 16px 30px; }
  .nav__logo img { height: 34px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: min(100svh, 1080px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 140px 0 0;
  overflow: hidden;
  isolation: isolate;
}
.hero::before, .page-hero::before {
  /* fade the stripes into the navy so the text stays readable */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 38%, rgba(10,22,48,.6) 55%, rgba(10,22,48,0) 75%);
}
.hero__grid {
  position: absolute; inset: 0; z-index: -3;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
  opacity: .5;
}
.hero__stripes {
  position: absolute; z-index: -2;
  top: -10%; bottom: -10%; right: -8%;
  width: min(54vw, 760px);
  display: flex; gap: 4.5%;
  transform: skewX(var(--skew));
  pointer-events: none;
  /* fade out under the nav so the links stay readable */
  -webkit-mask-image: linear-gradient(to bottom, transparent 9%, #000 22%);
  mask-image: linear-gradient(to bottom, transparent 9%, #000 22%);
}
.hero__stripes span {
  flex: 1;
  background: var(--lime);
  animation: stripe-in 1.1s var(--ease) both;
}
.hero__stripes span:nth-child(1) { opacity: .95; animation-delay: .05s; }
.hero__stripes span:nth-child(2) { background: var(--lime-2); opacity: .9; animation-delay: .15s; }
.hero__stripes span:nth-child(3) { background: var(--lime-3); opacity: .9; animation-delay: .25s; }
@keyframes stripe-in {
  from { transform: translateY(110%); }
  to   { transform: translateY(0); }
}

.hero__inner { position: relative; padding-bottom: 60px; }
.hero__title {
  font-family: var(--display);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(64px, 13vw, 176px);
  line-height: .84;
  letter-spacing: -.015em;
  margin: 0 0 32px;
}
.hero__title span { display: block; }
.hero__lede { max-width: 540px; font-size: clamp(17px, 1.6vw, 20px); color: #C9D2E6; margin-bottom: 36px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* Next race strip */
.next {
  position: relative;
  margin-top: auto;
  background: rgba(15, 31, 66, .85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
}
.next__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; }
.next__label { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.next__tag {
  font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .12em;
  font-size: 14px; color: var(--navy); background: var(--lime); padding: 4px 10px;
  transform: skewX(var(--skew)); display: inline-block;
}
.next__track { font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 30px; line-height: 1; }
.next__meta { color: var(--muted); font-size: 15px; }
.countdown { display: flex; gap: 10px; }
.countdown div { text-align: center; min-width: 64px; }
.countdown b {
  display: block;
  font-family: var(--display); font-weight: 800; font-size: 38px; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.countdown span { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }

/* ---------- Ticker ---------- */
.ticker {
  background: var(--lime);
  color: var(--navy);
  overflow: hidden;
  padding: 14px 0;
  border-block: 1px solid var(--navy);
}
.ticker__track {
  display: flex; width: max-content;
  animation: ticker 40s linear infinite;
}
.ticker__track span {
  font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase;
  font-size: 24px; letter-spacing: .04em; white-space: nowrap; padding-right: 28px;
}
.ticker__track span.sep { color: var(--lime-3); letter-spacing: -.04em; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about { overflow: hidden; }
.about__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about__copy > p:not(.eyebrow) { color: #C9D2E6; max-width: 560px; }
.facts { display: flex; flex-wrap: wrap; gap: 0; margin: 32px 0 0; border-top: 1px solid var(--line); }
.facts div { padding: 18px 32px 0 0; margin-right: 32px; }
.facts div + div { padding-left: 32px; border-left: 1px solid var(--line); }
.facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 24px; }

.plate-wrap { position: relative; justify-self: center; width: min(100%, 400px); aspect-ratio: 1; }
.plate {
  position: absolute; inset: 9% 9% 9% 9%; z-index: 1;
  background: var(--lime);
  color: var(--navy);
  border-radius: 18px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 30px 80px -20px rgba(215, 255, 31, .35), inset 0 0 0 10px var(--navy), inset 0 0 0 14px var(--lime);
  transform: rotate(-4deg);
}
.plate__num {
  font-family: var(--display); font-weight: 900; font-style: italic;
  font-size: clamp(120px, 20vw, 210px); line-height: .8; letter-spacing: -.03em;
}
.plate__logo { width: 34%; margin-top: 14px; }
.plate-wrap__stripes { position: absolute; inset: 0; display: flex; gap: 6%; transform: skewX(var(--skew)); opacity: .9; }
.plate-wrap__stripes span { flex: 1; background: var(--navy-3); }
.plate-wrap__stripes span:nth-child(2) { background: var(--navy-2); }
.plate-wrap__stripes span:nth-child(3) { background: rgba(46,123,255,.25); }

.stats {
  list-style: none; margin: clamp(60px, 8vw, 100px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stats li { padding: 34px 24px; position: relative; }
.stats li + li { border-left: 1px solid var(--line); }
.stats b {
  display: block;
  font-family: var(--display); font-weight: 900; font-style: italic;
  font-size: clamp(56px, 7vw, 92px); line-height: .9; color: var(--lime);
  font-variant-numeric: tabular-nums;
}
.stats span { text-transform: uppercase; letter-spacing: .14em; font-size: 13px; color: var(--muted); }

/* ---------- Season ---------- */
.season { background: var(--navy-2); }
.season::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: repeating-linear-gradient(90deg, var(--white) 0 24px, var(--navy) 24px 48px);
  opacity: .9;
}
.rounds {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px;
}
.round {
  position: relative;
  background: var(--navy);
  border: 1px solid var(--line);
  padding: 24px 24px 22px;
  min-height: 190px;
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease), border-color .25s;
  overflow: hidden;
}
.round:hover { transform: translateY(-4px); border-color: rgba(215,255,31,.4); }
.round__no {
  font-family: var(--display); font-weight: 900; font-style: italic;
  font-size: 64px; line-height: .8; color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,.28);
  position: absolute; right: 16px; top: 18px;
}
.round__label { font-size: 12px; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.round__track {
  font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase;
  font-size: 30px; line-height: 1; margin: 8px 0 4px; padding-right: 60px;
}
.round__loc { color: var(--muted); font-size: 15px; }
.round__foot { margin-top: auto; padding-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.round__date { font-weight: 600; font-size: 15px; }
.chip {
  font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .1em;
  font-size: 13px; padding: 3px 10px; border: 1px solid rgba(255,255,255,.25); color: var(--muted);
  transform: skewX(var(--skew)); display: inline-block; white-space: nowrap;
}
.round.is-next { border-color: var(--lime); background: linear-gradient(160deg, rgba(215,255,31,.12), var(--navy) 60%); }
.round.is-next .round__no { -webkit-text-stroke-color: var(--lime); }
.round.is-next .chip { background: var(--lime); color: var(--navy); border-color: var(--lime); }
.round.is-done { opacity: .6; }
.round.is-done .chip { border-style: dashed; }

/* ---------- Results ---------- */
.champ {
  display: flex; align-items: center; gap: 14px;
  border: 1px solid var(--line); padding: 12px 20px;
}
.champ span { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.champ b { font-family: var(--display); font-weight: 900; font-style: italic; font-size: 48px; line-height: 1; color: var(--lime); }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); }
.table { width: 100%; border-collapse: collapse; min-width: 560px; }
.table th, .table td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table thead th {
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--muted);
  background: var(--navy-2);
}
.table tbody tr { transition: background .2s; }
.table tbody tr:hover { background: rgba(255,255,255,.03); }
.table tbody tr:last-child > * { border-bottom: 0; }
.table .num { text-align: right; }
.table td.rd { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 20px; color: var(--muted); width: 60px; }
.table .track { font-weight: 800; font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 22px; }
.table td.pts { font-family: var(--display); font-weight: 800; font-size: 22px; text-align: right; font-variant-numeric: tabular-nums; }
.pos {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 46px; height: 32px; padding: 0 8px;
  font-family: var(--display); font-weight: 800; font-style: italic; font-size: 18px;
  border: 1px solid rgba(255,255,255,.18);
  transform: skewX(var(--skew));
}
.pos > i { transform: skewX(calc(var(--skew) * -1)); font-style: inherit; }
.pos--1 { background: var(--lime); color: var(--navy); border-color: var(--lime); }
.pos--2, .pos--3 { background: var(--white); color: var(--navy); border-color: var(--white); }
.pos--out { color: #FF8A8A; border-color: rgba(255,138,138,.4); }
.fl { display: inline-block; width: 10px; height: 10px; background: var(--blue); transform: rotate(45deg); margin-left: 8px; vertical-align: middle; }
.legend { margin-top: 14px; font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.legend .fl { margin: 0 4px 0 0; }

/* ---------- Partners (light section) ---------- */
.partners { background: var(--white); color: var(--ink); overflow: hidden; }
.partners .section__sub { color: var(--muted-dark); }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.tier {
  border: 1px solid var(--line-dark);
  padding: 34px 30px 30px;
  position: relative;
  background: #F5F7FB;
}
.tier::before {
  content: ""; position: absolute; left: 30px; top: 0; width: 46px; height: 5px;
  background: linear-gradient(90deg, var(--navy) 0 30%, transparent 30% 35%, #6B7385 35% 65%, transparent 65% 70%, #B5B9C1 70%);
  transform: skewX(var(--skew));
}
.tier__kicker {
  font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .14em;
  font-size: 14px; color: var(--blue); margin-bottom: 6px;
}
.tier h3 {
  font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase;
  font-size: 34px; line-height: .95; margin: 0 0 20px;
}
.tier ul { list-style: none; margin: 0; padding: 0; }
.tier li { padding: 10px 0 10px 26px; border-top: 1px solid var(--line-dark); position: relative; font-size: 16px; }
.tier li::before {
  content: ""; position: absolute; left: 2px; top: 18px; width: 12px; height: 8px;
  background: var(--blue); transform: skewX(var(--skew));
}
.tier--feature { background: var(--navy); color: var(--white); border-color: var(--navy); transform: translateY(-12px); }
.tier--feature .tier__kicker { color: var(--lime); }
.tier--feature li { border-top-color: var(--line); }
.tier--feature li::before { background: var(--lime); }
.tier--feature::before { background: linear-gradient(90deg, var(--lime) 0 30%, transparent 30% 35%, var(--lime-2) 35% 65%, transparent 65% 70%, var(--lime-3) 70%); }

.partners__title {
  font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .14em;
  font-size: 16px; color: var(--muted-dark); margin: 80px 0 20px;
}
/* Logo strip just under the Partners hero */
.partner-strip { background: var(--white); color: var(--ink); padding: 48px 0 56px; }
.partner-strip .partners__title { margin: 0 0 20px; }
.logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.logos li {
  aspect-ratio: 16 / 9;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-dark); background: #F5F7FB; padding: 24px;
}
.logos a, .logos img { display: block; width: 100%; height: 100%; object-fit: contain; }
.logos img { filter: grayscale(1); opacity: .8; transition: filter .25s, opacity .25s; }
.logos a:hover img { filter: none; opacity: 1; }
.logos li.empty {
  border: 2px dashed rgba(10,22,48,.2); background: transparent;
  font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .1em;
  color: rgba(10,22,48,.35); font-size: 16px; text-align: center; text-decoration: none;
  transition: border-color .2s, color .2s;
}
.logos li.empty:hover { border-color: var(--blue); color: var(--blue); }
.logos li.empty a { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.partners__cta { margin-top: 40px; }

/* ---------- Contact ---------- */
.contact { overflow: hidden; isolation: isolate; }
.hero__stripes--soft { opacity: .14; right: -20%; }
.hero__stripes--soft span { animation: none; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.contact__grid > div > p:not(.eyebrow) { color: #C9D2E6; max-width: 460px; }
.contact__email {
  display: inline-block; margin-top: 12px;
  font-family: var(--display); font-weight: 800; font-style: italic;
  font-size: clamp(28px, 4vw, 44px); line-height: 1.1;
  text-decoration: none; color: var(--lime);
  border-bottom: 2px solid transparent; transition: border-color .2s;
  word-break: break-word;
}
.contact__email:hover { border-color: var(--lime); }
.socials { list-style: none; margin: 32px 0 0; padding: 0; display: flex; gap: 12px; }
.socials a {
  width: 48px; height: 48px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.25); transition: background .2s, border-color .2s, color .2s;
}
.socials a:hover { background: var(--lime); border-color: var(--lime); color: var(--navy); }
.socials svg { width: 20px; height: 20px; }

.form { background: var(--navy-2); border: 1px solid var(--line); padding: clamp(24px, 4vw, 40px); }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 8px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit; font-size: 16px; color: var(--white);
  background: var(--navy); border: 1px solid rgba(255,255,255,.18); border-radius: 0;
  padding: 14px 16px;
  transition: border-color .2s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--lime) 50%), linear-gradient(135deg, var(--lime) 50%, transparent 50%);
  background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%;
  background-size: 6px 6px; background-repeat: no-repeat;
  padding-right: 44px;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lime); }
.field.has-error input, .field.has-error textarea { border-color: #FF8A8A; }
.form__note { font-size: 13px; color: var(--muted); margin: 12px 0 0; text-align: center; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 64px 0 32px; background: #08122A; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__logo { height: 34px; width: auto; margin-bottom: 14px; }
.footer__brand p { color: var(--muted); font-size: 14px; max-width: 260px; }
.footer__col h2 {
  font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .14em;
  font-size: 14px; color: var(--lime); margin: 0 0 14px;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col li + li { margin-top: 8px; }
.footer__col a { text-decoration: none; color: #C9D2E6; font-size: 15px; }
.footer__col a:hover { color: var(--lime); }
.footer__col .socials { margin-top: 16px; }
.footer__col .socials a { width: 40px; height: 40px; }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 13px;
}
.footer__bottom p { margin: 0; }

/* ---------- Sample-data tag ---------- */
.sample-tag {
  display: inline-block; vertical-align: middle;
  font-family: var(--body); font-style: normal; font-weight: 600; font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: #3A3000; background: #FFE066; padding: 3px 8px; margin-left: 10px; border-radius: 2px;
}

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

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

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .plate-wrap { width: min(100%, 340px); }
  .tiers { grid-template-columns: 1fr; }
  .tier--feature { transform: none; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li:nth-child(3) { border-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding-top: 120px; }
  .hero__stripes { width: 90vw; right: -40%; opacity: .55; }
  .hero__cta .btn { flex: 1 1 auto; }
  .next__inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .countdown { width: 100%; justify-content: space-between; }
  .countdown div { min-width: 0; flex: 1; }
  .countdown b { font-size: 32px; }
  .facts div, .facts div + div { padding: 16px 20px 0 0; margin-right: 20px; border-left: 0; }
  .stats li { padding: 26px 16px; }
  .round__track { font-size: 26px; }
  .table th, .table td { padding: 14px 12px; }
}

/* =====================================================================
   MULTI-PAGE ADDITIONS
   ===================================================================== */

/* ---------- Inner page header ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(150px, 18vw, 210px) 0 clamp(70px, 9vw, 110px);
  border-bottom: 1px solid var(--line);
}
.page-hero .hero__stripes { width: min(44vw, 600px); right: -10%; }
.page-hero .hero__grid { opacity: .35; }
.page-hero__title {
  font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase;
  font-size: clamp(56px, 10vw, 128px); line-height: .86; letter-spacing: -.015em;
  margin: 0 0 24px; max-width: 900px;
}
.page-hero__lede { max-width: 600px; font-size: clamp(17px, 1.6vw, 20px); color: #C9D2E6; margin: 0; }

/* ---------- Generic helpers ---------- */
.section--alt { background: var(--navy-2); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .1em;
  font-size: 16px; color: var(--lime); text-decoration: none;
}
.link-arrow::after { content: "\2192"; font-style: normal; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(5px); }
.link-arrow--dark { color: var(--blue); }
.section__foot { margin-top: 40px; display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.empty-note { color: var(--muted); border: 1px dashed var(--line); padding: 24px; }

/* ---------- Home: latest results cards ---------- */
.latest { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.latest li {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); background: var(--navy);
  padding: 26px 26px 24px; min-height: 200px;
  display: flex; flex-direction: column;
}
.latest__rd { font-size: 12px; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.latest__track { font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 28px; line-height: 1; margin: 8px 0 0; }
.latest__pos {
  margin-top: auto; padding-top: 20px;
  font-family: var(--display); font-weight: 900; font-style: italic; font-size: 84px; line-height: .8;
}
.latest__pos small { font-size: 13px; font-weight: 600; font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-left: 10px; font-family: var(--body); }
.latest li.is-win { border-color: var(--lime); background: linear-gradient(160deg, rgba(215,255,31,.14), var(--navy) 60%); }
.latest li.is-win .latest__pos { color: var(--lime); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--lime); color: var(--navy); position: relative; overflow: hidden; isolation: isolate; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-top: clamp(60px, 8vw, 96px); padding-bottom: clamp(60px, 8vw, 96px); }
.cta-band h2 {
  font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase;
  font-size: clamp(44px, 6.5vw, 80px); line-height: .9; margin: 0; max-width: 720px;
}
.cta-band p { margin: 14px 0 0; max-width: 560px; font-size: 18px; color: #2B3A10; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band .btn--ghost { --fg: var(--navy); --bd: var(--navy); }
.cta-band .btn--ghost:hover { --fg: var(--white); --bg: var(--navy); }
.cta-band__stripes { position: absolute; z-index: -1; right: -4%; top: -20%; bottom: -20%; width: 300px; display: flex; gap: 14px; transform: skewX(var(--skew)); opacity: .14; }
.cta-band__stripes span { flex: 1; background: var(--navy); }

/* ---------- About: kart spec + journey ---------- */
.specs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.specs li { padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.specs span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.specs b { display: block; margin-top: 6px; font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 26px; line-height: 1.05; }

.journey { list-style: none; margin: 0; padding: 0; position: relative; }
.journey::before { content: ""; position: absolute; left: 116px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.journey li { display: grid; grid-template-columns: 116px 1fr; gap: 0 40px; padding-bottom: 40px; position: relative; }
.journey li:last-child { padding-bottom: 0; }
.journey li::before {
  content: ""; position: absolute; left: 110px; top: 10px; width: 14px; height: 14px;
  background: var(--navy-2); border: 2px solid var(--lime); transform: rotate(45deg);
}
.journey li:last-child::before { background: var(--lime); }
.journey__year { grid-row: 1 / span 2; font-family: var(--display); font-weight: 900; font-style: italic; font-size: 32px; line-height: 1; color: var(--lime); }
.journey h3 { grid-column: 2; margin: 0 0 6px; font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 28px; line-height: 1; }
.journey p { grid-column: 2; margin: 0; color: #C9D2E6; max-width: 620px; }

/* ---------- Partners: value props ---------- */
.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.values li { border: 1px solid var(--line); padding: 30px; background: var(--navy); }
.values b { display: block; font-family: var(--display); font-weight: 900; font-style: italic; font-size: clamp(52px, 6vw, 76px); line-height: .9; color: var(--lime); }
.values h3 { margin: 14px 0 8px; font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 24px; line-height: 1; }
.values p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Partners: livery map ---------- */
.livery { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.livery__svg { width: 100%; max-width: 560px; justify-self: center; }
.livery__svg .hot circle { fill: var(--blue); stroke: var(--white); stroke-width: 3; }
.livery__svg .hot text { fill: var(--white); font: italic 800 20px var(--display); text-anchor: middle; dominant-baseline: central; }
.zones { list-style: none; margin: 0; padding: 0; counter-reset: z; }
.zones li { display: grid; grid-template-columns: 32px 1fr auto; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line-dark); }
.zones li:last-child { border-bottom: 1px solid var(--line-dark); }
.zones li::before {
  counter-increment: z; content: counter(z);
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue); color: var(--white); font: italic 800 16px var(--display);
}
.zones b { font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 22px; line-height: 1; }
.zones span { font-size: 12px; color: var(--muted-dark); text-transform: uppercase; letter-spacing: .1em; text-align: right; }

/* ---------- Sponsor page ---------- */
.apply { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.apply__aside { position: sticky; top: 110px; }
.steps { list-style: none; margin: 28px 0 0; padding: 0; counter-reset: s; }
.steps li { position: relative; padding: 0 0 26px 58px; }
.steps li::before {
  counter-increment: s; content: counter(s, decimal-leading-zero);
  position: absolute; left: 0; top: -4px;
  font: italic 900 34px/1 var(--display); color: transparent; -webkit-text-stroke: 1.5px var(--lime);
}
.steps b { display: block; font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 22px; line-height: 1.1; }
.steps span { color: var(--muted); font-size: 15px; }
.apply__direct { margin-top: 10px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.apply__direct a { color: var(--lime); }

/* ---------- Forms (shared) ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field--full { grid-column: 1 / -1; }
.form__section {
  grid-column: 1 / -1;
  font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .12em;
  font-size: 15px; color: var(--lime); margin: 12px 0 18px; padding-top: 22px; border-top: 1px solid var(--line);
}
.form__section:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.field .opt { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted); opacity: .8; }
.field__error { display: none; color: #FF8A8A; font-size: 13px; margin-top: 6px; }
.field.has-error .field__error { display: block; }
.field.has-error select, .field.has-error input[type="email"], .field.has-error input[type="text"] { border-color: #FF8A8A; }
.field.has-error .choice > span, .field.has-error .check span::before { border-color: #FF8A8A; }
fieldset.field { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
fieldset.field legend { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 10px; font-weight: 600; padding: 0; }

.field label.choice, .field label.chip-check, .field label.check {
  text-transform: none; letter-spacing: 0; font-weight: 400; margin: 0;
}
.field label.choice, .field label.chip-check { font-size: inherit; color: inherit; display: block; }
.field label.chip-check { display: inline-block; }
.field label.check { display: flex; font-size: 14px; color: #C9D2E6; }
.rounds[data-rounds^="upcoming"] { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .rounds[data-rounds^="upcoming"] { grid-template-columns: 1fr; } }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice > span {
  display: block; height: 100%;
  border: 1px solid rgba(255,255,255,.18); background: var(--navy);
  padding: 14px 16px 14px 46px; position: relative;
  transition: border-color .2s, background .2s;
}
.choice > span::before {
  content: ""; position: absolute; left: 16px; top: 17px; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.4); transition: border-color .2s, box-shadow .2s;
}
.choice b { display: block; font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 20px; line-height: 1.1; }
.choice small { color: var(--muted); font-size: 13px; }
.choice:hover > span { border-color: rgba(215,255,31,.5); }
.choice input:checked + span { border-color: var(--lime); background: rgba(215,255,31,.08); }
.choice input:checked + span::before { border-color: var(--lime); box-shadow: inset 0 0 0 3px var(--navy), inset 0 0 0 10px var(--lime); }
.choice input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 2px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-check { cursor: pointer; position: relative; }
.chip-check input { position: absolute; opacity: 0; pointer-events: none; }
.chip-check span {
  display: inline-block; padding: 9px 16px; border: 1px solid rgba(255,255,255,.22);
  font-size: 14px; font-weight: 500; transition: background .2s, border-color .2s, color .2s;
}
.chip-check span::before { content: "+ "; color: var(--muted); }
.chip-check:hover span { border-color: rgba(215,255,31,.5); }
.chip-check input:checked + span { background: var(--lime); border-color: var(--lime); color: var(--navy); }
.chip-check input:checked + span::before { content: "\2713  "; color: var(--navy); }
.chip-check input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 2px; }

.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 14px; color: #C9D2E6; position: relative; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check span { position: relative; padding-left: 34px; }
.check span::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px;
  border: 2px solid rgba(255,255,255,.4); background: var(--navy); transition: background .2s, border-color .2s;
}
.check input:checked + span::before { background: var(--lime); border-color: var(--lime); }
.check input:checked + span::after {
  content: ""; position: absolute; left: 7px; top: 4px; width: 6px; height: 11px;
  border: solid var(--navy); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}
.check input:focus-visible + span::before { outline: 3px solid var(--lime); outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__alert { display: none; background: rgba(255,138,138,.1); border: 1px solid rgba(255,138,138,.4); color: #FFC2C2; padding: 12px 16px; font-size: 14px; margin-bottom: 18px; }
.form__alert.is-shown { display: block; }

/* ---------- Thanks / 404 ---------- */
.centered { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; text-align: center; padding-bottom: 80px; }
.centered .wrap { max-width: 780px; }
.centered .page-hero__title { margin-left: auto; margin-right: auto; }
.centered .page-hero__lede { margin: 0 auto 36px; }
.centered .hero__cta { justify-content: center; }
.centered .hero__stripes { opacity: .22; }
.centered::before { background: radial-gradient(ellipse at 50% 55%, var(--navy) 35%, rgba(10,22,48,.5) 75%); }
.big-check {
  width: 92px; height: 92px; margin: 0 auto 30px; display: grid; place-items: center;
  background: var(--lime); color: var(--navy); transform: skewX(var(--skew));
}
.big-check svg { width: 46px; height: 46px; transform: skewX(12deg); }

/* ---------- Responsive (additions) ---------- */
@media (max-width: 960px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .latest, .values { grid-template-columns: 1fr; }
  .latest li { min-height: 0; }
  .livery { grid-template-columns: 1fr; }
  .apply { grid-template-columns: 1fr; }
  .apply__aside { position: static; }
}
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .choice-grid { grid-template-columns: 1fr; }
  .journey::before { left: 6px; }
  .journey li { grid-template-columns: 1fr; padding-left: 36px; }
  .journey li::before { left: 0; }
  .journey .journey__year { grid-row: auto; margin-bottom: 6px; font-size: 26px; }
  .journey h3, .journey p { grid-column: 1; }
  .page-hero .hero__stripes { width: 80vw; right: -45%; opacity: .5; }
  .cta-band__actions { width: 100%; }
  .cta-band__actions .btn { flex: 1 1 auto; }
  .zones span { display: none; }
}

/* ---------- Empty states (before the first race) ---------- */
.empty-card {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  border: 1px dashed rgba(215,255,31,.35);
  background: linear-gradient(120deg, rgba(215,255,31,.06), transparent 60%);
  padding: clamp(24px, 4vw, 40px);
}
.empty-card > div { flex: 1 1 320px; }
.empty-card h3 { margin: 0 0 6px; font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(28px, 3.4vw, 40px); line-height: 1; }
.empty-card p { margin: 0; color: var(--muted); max-width: 560px; }
.empty-card__mark { display: flex; gap: 6px; transform: skewX(var(--skew)); }
.empty-card__mark i { width: 12px; height: 56px; background: var(--lime); }
.empty-card__mark i:nth-child(2) { background: var(--lime-2); }
.empty-card__mark i:nth-child(3) { background: var(--lime-3); }

/* ---------- Plate with no race number ---------- */
.plate.no-num .plate__num { display: none; }
.plate.no-num .plate__logo { width: 72%; margin: 0; }
.pos--none { opacity: .4; }

/* Facts row: wraps cleanly with longer values */
.facts { column-gap: 44px; }
.facts div, .facts div + div { padding: 18px 0 0; margin-right: 0; border-left: 0; }
