/* ============================================================
   THE MOTOCHAP — "Paddock"
   Race-team identity · midnight navy · royal blue · signal red
   Italic geometric caps display matching the logo wordmark
   ============================================================ */

/* ---------- Tokens ---------------------------------------- */
:root {
  /* Palette — direct from the logo */
  --ink:           #060A1B;   /* near-black with navy hint — primary */
  --midnight:      #0B1638;   /* deep navy from shield interior */
  --carbon:        #131A33;   /* lifted dark surface */
  --carbon-2:      #1A2240;   /* alt surface */
  --royal:         #1E4FCF;   /* royal blue from logo */
  --royal-glow:    #3D6EE8;   /* lighter royal for hover */
  --royal-deep:    #143699;
  --racing:        #D5222E;   /* signal red from flag accents */
  --racing-deep:   #A91923;
  --bone:          #FFFFFF;
  --mist:          #C4CBE0;   /* subtle blue-tinted off-white */
  --steel:         #6B7390;   /* muted blue-grey */
  --hairline:      rgba(255,255,255,0.12);
  --hairline-bold: rgba(255,255,255,0.22);

  /* Type — bold italic geometric matching the wordmark */
  --f-display:   "Saira", "Arial Narrow", sans-serif;          /* heavy italic caps */
  --f-condensed: "Saira Condensed", "Arial Narrow", sans-serif; /* labels, UI */
  --f-body:      "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --f-stencil:   "Saira Stencil One", "Saira", sans-serif;     /* rare accent */

  /* Scale */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --s-9: 96px; --s-10: 128px; --s-11: 192px;

  /* Container */
  --container: 1320px;
  --container-narrow: 920px;
  --gutter: 22px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}
@media (min-width: 768px)  { :root { --gutter: 40px; } }
@media (min-width: 1200px) { :root { --gutter: 56px; } }

/* ---------- Reset ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  font-size: 16.5px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--bone);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; padding: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--racing); color: var(--bone); }

/* Atmospheric background — radial pools of royal + racing red */
body {
  background:
    radial-gradient(ellipse at 18% 0%, rgba(30, 79, 207, 0.16) 0%, transparent 45%),
    radial-gradient(ellipse at 100% 88%, rgba(213, 34, 46, 0.08) 0%, transparent 50%),
    var(--ink);
  background-attachment: fixed;
}

/* ---------- Typography ------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  color: var(--bone);
  letter-spacing: -0.005em;
  line-height: 0.9;
}

h1 {
  font-size: clamp(2.8rem, 8.5vw, 8.5rem);
  letter-spacing: -0.01em;
}
h2 {
  font-size: clamp(2.2rem, 5.8vw, 5.4rem);
}
h3 {
  font-size: clamp(1.6rem, 2.9vw, 2.6rem);
}
h4 {
  font-family: var(--f-body);
  font-style: normal;
  text-transform: none;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.3;
  letter-spacing: -0.005em;
}

p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--mist);
}

/* Duotone headline — the MOTO + CHAP pattern */
.duo .a { color: var(--bone); }
.duo .b { color: var(--royal-glow); }

/* Stroke/outline variant — racing decal feel */
.stroke {
  color: transparent;
  -webkit-text-stroke: 2px var(--bone);
}

/* Lead */
.lead {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.55;
  color: var(--mist);
  max-width: 640px;
}

/* Label / kicker */
.kicker {
  font-family: var(--f-condensed);
  font-weight: 700;
  font-style: italic;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--racing);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.kicker::before {
  content: "";
  display: inline-block;
  width: 24px; height: 10px;
  background:
    linear-gradient(90deg, var(--bone) 0 8px, transparent 8px 16px, var(--racing) 16px 24px);
}

/* Caption — small italic */
.caption {
  font-family: var(--f-condensed);
  font-style: italic;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--steel);
}

/* Body link */
.body-link {
  color: var(--royal-glow);
  border-bottom: 1.5px solid var(--royal-glow);
  transition: color 220ms var(--ease), border-color 220ms var(--ease);
}
.body-link:hover { color: var(--racing); border-color: var(--racing); }

/* ---------- Layout primitives ----------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 2;
}
.container.narrow { max-width: var(--container-narrow); }

section { position: relative; padding: clamp(72px, 11vw, 144px) 0; }
section.tight { padding: clamp(48px, 7vw, 96px) 0; }

/* Surfaces */
.surface-ink     { background: var(--ink); }
.surface-night   { background: var(--midnight); }
.surface-carbon  { background: var(--carbon); }
.surface-royal   {
  background: linear-gradient(135deg, var(--royal-deep) 0%, var(--royal) 100%);
}
.surface-racing  {
  background: linear-gradient(135deg, var(--racing-deep) 0%, var(--racing) 100%);
}

/* Chevron section divider — sharp angled clip */
.chevron-divider {
  position: relative;
  height: 60px;
  background: var(--midnight);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), 50% 100%, 0 calc(100% - 30px));
  margin-top: -1px;
}
.chevron-divider.up {
  clip-path: polygon(0 30px, 50% 0, 100% 30px, 100% 100%, 0 100%);
}

/* Racing stripe — 4-bar accent (white / royal / white / red) */
.race-stripe {
  height: 6px;
  display: flex;
}
.race-stripe span:nth-child(1) { flex: 1.6; background: var(--bone); }
.race-stripe span:nth-child(2) { flex: 3; background: var(--royal); }
.race-stripe span:nth-child(3) { flex: 1; background: var(--bone); }
.race-stripe span:nth-child(4) { flex: 2; background: var(--racing); }

/* Chevron arrow icon */
.chev::after {
  content: "›";
  display: inline-block;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 900;
  font-size: 1.2em;
  line-height: 1;
  margin-left: 8px;
  transition: transform 240ms var(--ease-out);
}
.chev:hover::after { transform: translateX(6px); }
.chev-double::after { content: "››"; letter-spacing: -0.05em; }

/* ---------- Buttons --------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 28px;
  font-family: var(--f-condensed);
  font-weight: 700;
  font-style: italic;
  font-size: 0.92rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: 0;
  position: relative;
  transition: background 220ms var(--ease), color 220ms var(--ease), border-color 220ms var(--ease), transform 220ms var(--ease-out);
  cursor: pointer;
  overflow: hidden;
}
.btn::after {
  content: "›";
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 900;
  font-size: 1.1em;
  line-height: 1;
  transition: transform 240ms var(--ease-out);
}
.btn:hover::after { transform: translateX(6px); }

.btn-racing  { background: var(--racing); color: var(--bone); border-color: var(--racing); }
.btn-racing:hover  { background: var(--racing-deep); border-color: var(--racing-deep); }

.btn-royal   { background: var(--royal); color: var(--bone); border-color: var(--royal); }
.btn-royal:hover { background: var(--royal-glow); border-color: var(--royal-glow); }

.btn-light   { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.btn-light:hover { background: var(--racing); color: var(--bone); border-color: var(--racing); }

.btn-ghost   { background: transparent; color: var(--bone); border-color: var(--hairline-bold); }
.btn-ghost:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }

/* Inline arrow link — bold italic uppercase */
.inline-link {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  color: var(--bone);
  font-family: var(--f-condensed);
  font-weight: 700;
  font-style: italic;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--racing);
  transition: color 220ms var(--ease), border-color 220ms var(--ease);
}
.inline-link::after {
  content: "›";
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 900;
  font-size: 1.05em;
  line-height: 1;
  transition: transform 240ms var(--ease-out);
}
.inline-link:hover { color: var(--royal-glow); border-bottom-color: var(--royal-glow); }
.inline-link:hover::after { transform: translateX(6px); }

/* ---------- Header / Nav --------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(6, 10, 27, 0.78);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: padding 240ms var(--ease), border-color 240ms var(--ease), background 240ms var(--ease);
}
.site-header.scrolled {
  padding: 10px 0;
  border-bottom-color: var(--hairline);
  background: rgba(6, 10, 27, 0.92);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand .badge {
  width: 72px; height: 72px;
  object-fit: contain;
  transition: width 240ms var(--ease), height 240ms var(--ease);
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
}
.site-header.scrolled .brand .badge { width: 56px; height: 56px; }
@media (max-width: 640px) {
  .brand .badge { width: 56px; height: 56px; }
  .site-header.scrolled .brand .badge { width: 48px; height: 48px; }
}
.brand-text {
  display: flex; flex-direction: column; line-height: 1; gap: 5px;
}
.brand-text .name {
  font-family: var(--f-display);
  font-weight: 900;
  font-style: italic;
  font-size: 1.45rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--bone);
}
.brand-text .name .b { color: var(--royal-glow); }
.brand-text .strap {
  font-family: var(--f-condensed);
  font-weight: 700;
  font-style: italic;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--racing);
}
@media (max-width: 480px) {
  .brand-text .name { font-size: 1.2rem; }
  .brand-text .strap { font-size: 0.56rem; letter-spacing: 0.2em; }
}

.nav-links {
  display: none;
  align-items: center;
  gap: 30px;
}
@media (min-width: 1000px) { .nav-links { display: flex; } }
.nav-links a {
  font-family: var(--f-condensed);
  font-weight: 700;
  font-style: italic;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mist);
  padding: 6px 0;
  position: relative;
  transition: color 200ms var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--racing);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 280ms var(--ease-out);
}
.nav-links a:hover { color: var(--bone); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--bone); }

.nav-cta { display: none; }
@media (min-width: 1000px) { .nav-cta { display: inline-flex; } }

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  padding: 13px 10px;
  border: 2px solid var(--hairline-bold);
}
.menu-toggle span { display: block; height: 2px; background: var(--bone); transition: transform 240ms var(--ease), opacity 200ms var(--ease); }
@media (min-width: 1000px) { .menu-toggle { display: none; } }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(30,79,207,0.25) 0%, transparent 50%),
    var(--ink);
  z-index: 99;
  padding: 130px var(--gutter) 56px;
  transform: translateY(-100%);
  transition: transform 420ms var(--ease-out);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-drawer.open { transform: translateY(0); }
.mobile-drawer a {
  font-family: var(--f-display);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(2.4rem, 9vw, 3.4rem);
  text-transform: uppercase;
  color: var(--bone);
  padding: 16px 0;
  border-bottom: 1px solid var(--hairline);
  display: flex; justify-content: space-between; align-items: center;
  letter-spacing: -0.01em;
}
.mobile-drawer a .num {
  font-family: var(--f-condensed);
  font-style: italic;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  color: var(--racing);
}
.mobile-drawer .mobile-cta { margin-top: auto; padding-top: 36px; }
@media (min-width: 1000px) { .mobile-drawer { display: none; } }

/* ---------- Hero — Home ----------------------------------- */
.hero-home {
  padding-top: clamp(140px, 16vw, 220px);
  padding-bottom: clamp(48px, 8vw, 96px);
  position: relative;
  overflow: hidden;
}
/* Background race stripe + speed lines */
.hero-home::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 70%; height: 100%;
  background:
    radial-gradient(circle at 80% 50%, rgba(30, 79, 207, 0.22) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.hero-home::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, transparent 0, transparent calc(100% - 1px), rgba(255,255,255,0.04) 100%),
    linear-gradient(0deg, transparent 0, transparent calc(100% - 1px), rgba(255,255,255,0.04) 100%);
  background-size: 80px 80px;
  pointer-events: none;
  opacity: 0.6;
  z-index: 0;
}

.hero-home-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 1040px) {
  .hero-home-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 64px;
  }
}

/* Badge stage — the logo is the visual anchor */
.hero-badge-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  padding: 48px;
}
@media (min-width: 1040px) {
  .hero-badge-stage { order: 2; min-height: 580px; padding: 56px; }
}
.hero-badge {
  position: relative;
  width: clamp(260px, 40vw, 500px);
  filter: drop-shadow(0 32px 64px rgba(0,0,0,0.55)) drop-shadow(0 0 0 rgba(30,79,207,0.4));
  z-index: 3;
  animation: heroPulse 6s ease-in-out infinite;
}
@keyframes heroPulse {
  0%, 100% { filter: drop-shadow(0 32px 64px rgba(0,0,0,0.55)) drop-shadow(0 0 36px rgba(30,79,207,0.25)); }
  50%      { filter: drop-shadow(0 36px 72px rgba(0,0,0,0.6))  drop-shadow(0 0 60px rgba(30,79,207,0.45)); }
}
.hero-badge img { width: 100%; height: auto; }

/* Chevron frame around the badge */
.hero-badge-stage .frame {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.hero-badge-stage .frame::before,
.hero-badge-stage .frame::after {
  content: "";
  position: absolute;
  width: 64px; height: 64px;
  border: 3px solid var(--royal-glow);
}
.hero-badge-stage .frame::before { top: 0; left: 0; border-right: none; border-bottom: none; }
.hero-badge-stage .frame::after  { bottom: 0; right: 0; border-left: none; border-top: none; }
.hero-badge-stage .frame .alt-tl {
  position: absolute;
  top: 0; right: 0;
  width: 28px; height: 28px;
  border-top: 3px solid var(--racing);
  border-right: 3px solid var(--racing);
}
.hero-badge-stage .frame .alt-bl {
  position: absolute;
  bottom: 0; left: 0;
  width: 28px; height: 28px;
  border-bottom: 3px solid var(--racing);
  border-left: 3px solid var(--racing);
}

/* Speed lines decoration behind the badge */
.hero-badge-stage .speed {
  position: absolute;
  top: 50%;
  left: -10%;
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--racing));
  transform: translateY(-50%);
  z-index: 1;
  opacity: 0.5;
}
.hero-badge-stage .speed.s2 { top: 38%; width: 35%; opacity: 0.3; }
.hero-badge-stage .speed.s3 { top: 62%; width: 45%; opacity: 0.4; background: linear-gradient(90deg, transparent, var(--royal-glow)); }
.hero-badge-stage .speed.s4 { top: 28%; width: 25%; opacity: 0.2; background: linear-gradient(90deg, transparent, var(--bone)); }

/* Stage label — like a paddock placard */
.hero-badge-stage .placard {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  padding: 6px 16px;
  border: 1px solid var(--hairline-bold);
  font-family: var(--f-condensed);
  font-weight: 700;
  font-style: italic;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--steel);
  z-index: 4;
  white-space: nowrap;
}

/* Hero copy */
.hero-home-copy { order: 1; position: relative; z-index: 2; }
.hero-home-copy .kicker { margin-bottom: 24px; }
.hero-home-copy h1 { margin-bottom: 28px; }
.hero-home-copy .lead { margin-bottom: 40px; }
.hero-home-copy .cta-row {
  display: flex; gap: 18px; flex-wrap: wrap; align-items: center;
}

/* Spec rail under the hero — race-data style */
.spec-rail {
  margin-top: 64px;
  padding: 22px 0;
  border-top: 2px solid var(--hairline);
  border-bottom: 2px solid var(--hairline);
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 720px)  { .spec-rail { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .spec-rail { grid-template-columns: repeat(4, 1fr); gap: 0; } }
.spec-rail .cell {
  padding: 6px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
@media (min-width: 1040px) {
  .spec-rail .cell {
    padding: 6px 28px;
    border-right: 1px solid var(--hairline);
  }
  .spec-rail .cell:first-child { padding-left: 0; }
  .spec-rail .cell:last-child { border-right: none; padding-right: 0; }
}
.spec-rail .cell .lab {
  font-family: var(--f-condensed);
  font-weight: 700;
  font-style: italic;
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--steel);
}
.spec-rail .cell .val {
  font-family: var(--f-display);
  font-weight: 900;
  font-style: italic;
  font-size: 1.7rem;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  color: var(--bone);
  line-height: 1;
}
.spec-rail .cell .val .accent { color: var(--racing); }

/* ---------- Page hero (subpages) -------------------------- */
.page-hero {
  padding: clamp(150px, 22vw, 260px) 0 clamp(56px, 9vw, 110px);
  position: relative;
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: 0; right: -10%;
  width: 60%; height: 100%;
  background: radial-gradient(ellipse, rgba(30,79,207,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero .breadcrumb {
  font-family: var(--f-condensed);
  font-weight: 700;
  font-style: italic;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.page-hero .breadcrumb a:hover { color: var(--bone); }
.page-hero .breadcrumb .sep {
  font-family: var(--f-display);
  font-weight: 900;
  color: var(--racing);
}
.page-hero h1 { max-width: 1100px; margin-bottom: 32px; }
.page-hero .lead { max-width: 720px; }

/* ---------- Manifesto / Pullquote ------------------------- */
.manifesto-block {
  position: relative;
  padding: 48px 0 48px 56px;
  border-left: 4px solid var(--racing);
}
@media (max-width: 720px) { .manifesto-block { padding: 32px 0 32px 32px; } }
.manifesto-block .quote {
  font-family: var(--f-display);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(1.8rem, 4.2vw, 3.4rem);
  line-height: 1.0;
  letter-spacing: -0.01em;
  color: var(--bone);
  max-width: 1100px;
}
.manifesto-block .quote em {
  color: var(--royal-glow);
  font-style: italic;
}
.manifesto-block .signed {
  margin-top: 32px;
  font-family: var(--f-condensed);
  font-weight: 700;
  font-style: italic;
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel);
  display: flex; align-items: center; gap: 14px;
}
.manifesto-block .signed::before {
  content: ""; width: 36px; height: 2px; background: var(--racing); display: inline-block;
}

/* ---------- Services — Race Card spreads ----------------- */
.race-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.race-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: clamp(48px, 8vw, 96px) 0;
  border-top: 1px solid var(--hairline);
  align-items: center;
  transition: background 280ms var(--ease);
}
.race-card:last-child { border-bottom: 1px solid var(--hairline); }
.race-card:hover { background: rgba(30, 79, 207, 0.04); }
@media (min-width: 920px) {
  .race-card {
    grid-template-columns: 220px 1fr 1fr;
    gap: 56px;
  }
}

.race-card .race-num {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.race-card .race-num .plate {
  width: 140px; height: 140px;
  border: 3px solid var(--bone);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display);
  font-weight: 900;
  font-style: italic;
  font-size: 5.5rem;
  line-height: 1;
  color: var(--bone);
  position: relative;
  transition: border-color 320ms var(--ease), color 320ms var(--ease), background 320ms var(--ease);
}
.race-card:hover .race-num .plate {
  background: var(--racing);
  border-color: var(--racing);
}
.race-card .race-num .plate::after {
  content: "";
  position: absolute;
  inset: -10px;
  border: 1px solid var(--hairline);
}
.race-card .race-num .tier-label {
  font-family: var(--f-condensed);
  font-weight: 700;
  font-style: italic;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--racing);
}
.race-card .race-info h3 { margin-bottom: 16px; }
.race-card .race-info h3 .b { color: var(--royal-glow); }
.race-card .race-info .summary {
  font-size: 1.05rem; color: var(--mist); margin-bottom: 22px;
}
.race-card .race-info .data {
  display: flex; flex-wrap: wrap; gap: 16px 24px;
  padding-top: 18px;
  border-top: 1px dashed var(--hairline);
}
.race-card .race-info .data .pair {
  display: flex; flex-direction: column; gap: 4px;
}
.race-card .race-info .data .pair .k {
  font-family: var(--f-condensed);
  font-weight: 700;
  font-style: italic;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel);
}
.race-card .race-info .data .pair .v {
  font-family: var(--f-display);
  font-weight: 900;
  font-style: italic;
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--bone);
  letter-spacing: -0.005em;
}
.race-card .race-action {
  display: flex; flex-direction: column; gap: 16px;
  align-items: flex-start;
}
@media (min-width: 920px) {
  .race-card .race-action { align-items: flex-end; text-align: right; }
}
.race-card .race-action ul {
  display: grid; gap: 10px;
  width: 100%;
}
.race-card .race-action ul li {
  font-family: var(--f-condensed);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--mist);
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--hairline);
}
.race-card .race-action ul li::before {
  content: "›"; font-family: var(--f-display); font-weight: 900; font-style: italic; color: var(--racing); font-size: 1.1em; line-height: 1;
}
@media (min-width: 920px) {
  .race-card .race-action ul li { justify-content: flex-end; flex-direction: row-reverse; }
}

/* ---------- Section heads -------------------------------- */
.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: end;
  margin-bottom: 56px;
}
@media (min-width: 900px) {
  .section-head { grid-template-columns: 1.4fr 1fr; gap: 56px; }
}
.section-head .head-title h2 { margin-top: 18px; }
.section-head .head-side p { color: var(--steel); max-width: 420px; }

/* ---------- Behind / About preview ----------------------- */
.behind {
  position: relative;
  overflow: hidden;
}
.behind::before {
  content: "";
  position: absolute;
  top: -20%; left: -10%;
  width: 50%; height: 140%;
  background: radial-gradient(ellipse, rgba(213,34,46,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.behind-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 980px) {
  .behind-grid { grid-template-columns: 5fr 7fr; gap: 80px; }
}
.behind .badge-card {
  position: relative;
  padding: 48px 36px;
  background:
    linear-gradient(135deg, var(--carbon) 0%, var(--midnight) 100%);
  border: 1px solid var(--hairline-bold);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
  overflow: hidden;
}
.behind .badge-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  display: flex;
  background:
    linear-gradient(90deg, var(--bone) 0 32%, var(--royal) 32% 68%, var(--racing) 68% 100%);
}
.behind .badge-card .badge-img {
  width: 240px; max-width: 80%;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
}
.behind .badge-card .stamp {
  font-family: var(--f-condensed);
  font-weight: 700;
  font-style: italic;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--steel);
}
.behind .badge-card .stamp .b { color: var(--racing); }

.behind .behind-copy h2 { margin-bottom: 28px; }
.behind .prose p { margin-bottom: 20px; max-width: 560px; font-size: 1.05rem; color: var(--mist); }

/* Inline-numbers — race telemetry style */
.telemetry {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
  border-top: 2px solid var(--hairline);
}
@media (min-width: 640px) { .telemetry { grid-template-columns: repeat(3, 1fr); gap: 0; } }
.telemetry .cell {
  padding: 22px 0;
  border-bottom: 1px solid var(--hairline);
}
@media (min-width: 640px) {
  .telemetry .cell { padding: 22px; border-bottom: none; }
  .telemetry .cell:not(:last-child) { border-right: 1px solid var(--hairline); }
  .telemetry .cell:first-child { padding-left: 0; }
  .telemetry .cell:last-child { padding-right: 0; }
}
.telemetry .num {
  font-family: var(--f-display);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(2.4rem, 4.2vw, 3.4rem);
  line-height: 0.9;
  color: var(--bone);
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}
.telemetry .num .suffix { color: var(--racing); font-size: 0.7em; margin-left: 4px; }
.telemetry .lab {
  font-family: var(--f-condensed);
  font-weight: 700;
  font-style: italic;
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel);
}

/* ---------- Channel / YouTube feature -------------------- */
.channel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 980px) {
  .channel-grid { grid-template-columns: 7fr 5fr; gap: 80px; }
}
.channel-card {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--ink);
  border: 1px solid var(--hairline);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  transition: transform 380ms var(--ease-out), border-color 320ms var(--ease);
}
.channel-card:hover { transform: translateY(-4px); border-color: var(--racing); }
.channel-card::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(213, 34, 46, 0.32) 0%, transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(30, 79, 207, 0.22) 0%, transparent 55%),
    repeating-linear-gradient(135deg, transparent 0, transparent 16px, rgba(255,255,255,0.022) 16px, rgba(255,255,255,0.022) 17px);
}
.channel-card .play {
  position: relative; z-index: 2;
  width: 104px; height: 104px;
  border-radius: 50%;
  background: var(--racing);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 30px 60px -20px rgba(213,34,46,0.6);
  transition: transform 280ms var(--ease-out), background 280ms var(--ease);
}
.channel-card:hover .play { transform: scale(1.08); background: var(--racing-deep); }
.channel-card .play svg { width: 32px; height: 32px; fill: var(--bone); margin-left: 4px; }
.channel-card .live-tag {
  position: absolute;
  top: 22px; left: 22px;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-condensed);
  font-weight: 700;
  font-style: italic;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone);
  z-index: 2;
}
.channel-card .live-tag::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--racing);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(213, 34, 46, 0.5); }
  50% { opacity: 0.6; box-shadow: 0 0 0 12px rgba(213, 34, 46, 0); }
}
.channel-card .handle-tag {
  position: absolute;
  bottom: 22px; right: 22px;
  font-family: var(--f-condensed);
  font-weight: 700;
  font-style: italic;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--bone);
  opacity: 0.7;
  z-index: 2;
}

.channel-copy .handle {
  font-family: var(--f-display);
  font-weight: 900;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--racing);
  margin-bottom: 16px;
  letter-spacing: -0.005em;
}
.channel-copy h2 { margin-bottom: 24px; }
.channel-copy p { margin-bottom: 32px; max-width: 480px; }

/* ---------- Cred / authority list ----------------------- */
.cred-list {
  display: grid;
  gap: 0;
  border-top: 2px solid var(--bone);
}
.cred-list .row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 24px 0;
  border-bottom: 1px solid var(--hairline);
  transition: padding 240ms var(--ease), background 240ms var(--ease);
}
.cred-list .row:hover { padding-left: 16px; background: rgba(255,255,255,0.02); }
@media (min-width: 700px) {
  .cred-list .row {
    grid-template-columns: 130px 1fr 220px;
    gap: 32px;
    align-items: baseline;
  }
}
.cred-list .row .yr {
  font-family: var(--f-display);
  font-weight: 900;
  font-style: italic;
  font-size: 1.1rem;
  letter-spacing: -0.005em;
  color: var(--racing);
}
.cred-list .row .ti {
  font-family: var(--f-display);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  font-size: 1.15rem;
  letter-spacing: -0.005em;
  color: var(--bone);
}
.cred-list .row .auth {
  font-family: var(--f-condensed);
  font-weight: 600;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--steel);
}

/* ---------- Editorial timeline ---------------------------- */
.race-timeline {
  display: grid;
  gap: 0;
  border-top: 2px solid var(--bone);
}
.race-timeline .entry {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 36px 0;
  border-bottom: 1px solid var(--hairline);
  transition: padding 240ms var(--ease);
}
.race-timeline .entry:hover { padding-left: 16px; }
@media (min-width: 760px) {
  .race-timeline .entry {
    grid-template-columns: 230px 1fr;
    gap: 56px;
    align-items: baseline;
  }
}
.race-timeline .entry .yr {
  font-family: var(--f-display);
  font-weight: 900;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--racing);
  letter-spacing: -0.005em;
}
.race-timeline .entry h3 { margin-bottom: 12px; }
.race-timeline .entry p { font-size: 1rem; color: var(--mist); }

/* ---------- Process — kinetic narrative ------------------ */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 2px solid var(--bone);
}
.process-grid .step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 36px 0;
  border-bottom: 1px solid var(--hairline);
}
@media (min-width: 760px) {
  .process-grid .step {
    grid-template-columns: 110px 240px 1fr;
    gap: 36px;
    align-items: baseline;
  }
}
.process-grid .step .num {
  font-family: var(--f-display);
  font-weight: 900;
  font-style: italic;
  font-size: 3rem;
  line-height: 0.85;
  color: var(--racing);
  letter-spacing: -0.02em;
}
.process-grid .step h4 {
  font-family: var(--f-display);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  letter-spacing: -0.005em;
  color: var(--bone);
}
.process-grid .step p { font-size: 1rem; color: var(--mist); }

/* ---------- Locations -------------------------------------- */
.locations {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 2px solid var(--bone);
  border-bottom: 1px solid var(--hairline);
}
@media (min-width: 640px)  { .locations { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .locations { grid-template-columns: repeat(4, 1fr); } }
.locations .loc {
  padding: 26px 24px;
  border-bottom: 1px solid var(--hairline);
  display: flex; align-items: baseline; gap: 14px;
  font-family: var(--f-display);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  font-size: 1.05rem;
  letter-spacing: -0.005em;
  color: var(--bone);
  transition: background 240ms var(--ease);
}
.locations .loc:hover { background: rgba(255,255,255,0.03); }
.locations .loc .pin {
  width: 10px; height: 10px; background: var(--racing); flex-shrink: 0;
  transform: rotate(45deg);
}
@media (min-width: 640px) {
  .locations .loc:not(:last-child) { border-right: 1px solid var(--hairline); }
}

/* ---------- Profile vignettes (Coaching) ----------------- */
.vignettes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 2px solid var(--bone);
}
.vignettes .vignette {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 44px 0;
  border-bottom: 1px solid var(--hairline);
}
@media (min-width: 760px) {
  .vignettes .vignette {
    grid-template-columns: 1fr 2fr;
    gap: 64px;
    align-items: start;
  }
}
.vignettes .v-head .v-num {
  font-family: var(--f-display);
  font-weight: 900;
  font-style: italic;
  font-size: 2.4rem;
  color: var(--racing);
  letter-spacing: -0.015em;
  margin-bottom: 8px;
  line-height: 1;
}
.vignettes .v-head h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.vignettes .v-body p { color: var(--mist); }
.vignettes .v-body .chips {
  margin-top: 18px;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.vignettes .v-body .chip {
  font-family: var(--f-condensed);
  font-weight: 700;
  font-style: italic;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 7px 14px;
  border: 1px solid var(--hairline-bold);
  color: var(--bone);
}

/* ---------- Video grid (real YouTube thumbnails) --------- */
.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 640px)  { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }

.video-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--midnight);
  border: 1px solid var(--hairline);
  overflow: hidden;
  transition: transform 320ms var(--ease-out), border-color 320ms var(--ease);
}
.video-card:hover { transform: translateY(-4px); border-color: var(--racing); }
.video-card .thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  overflow: hidden;
}
.video-card .thumb img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: transform 600ms var(--ease-out), filter 320ms var(--ease);
  filter: saturate(0.9);
}
.video-card:hover .thumb img { transform: scale(1.05); filter: saturate(1.1); }
.video-card .thumb::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(6, 10, 27, 0.85) 100%);
  pointer-events: none;
}
.video-card .thumb .pc {
  position: absolute;
  top: 50%; left: 50%;
  width: 64px; height: 64px;
  margin: -32px 0 0 -32px;
  border-radius: 50%;
  background: var(--racing);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 20px 40px -12px rgba(213, 34, 46, 0.6);
  transition: transform 300ms var(--ease-out), background 300ms var(--ease);
  z-index: 2;
}
.video-card:hover .thumb .pc { transform: scale(1.12); background: var(--racing-deep); }
.video-card .thumb .pc svg { width: 22px; height: 22px; fill: var(--bone); margin-left: 3px; }
.video-card .thumb .badge {
  position: absolute;
  top: 14px; left: 14px;
  font-family: var(--f-condensed);
  font-weight: 700;
  font-style: italic;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone);
  background: rgba(6, 10, 27, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 6px 10px;
  border-left: 2px solid var(--racing);
  z-index: 2;
}
.video-card .info {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.video-card .info h3 {
  font-family: var(--f-display);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  font-size: 1.05rem;
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--bone);
}
.video-card .info .meta {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
  font-family: var(--f-condensed);
  font-weight: 700;
  font-style: italic;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
}
.video-card .info .meta .watch {
  color: var(--bone);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 220ms var(--ease);
}
.video-card .info .meta .watch::after {
  content: "›"; font-family: var(--f-display); font-weight: 900; font-style: italic;
  transition: transform 240ms var(--ease-out);
}
.video-card:hover .info .meta .watch { color: var(--racing); }
.video-card:hover .info .meta .watch::after { transform: translateX(4px); }

/* When the home channel feature uses a real video thumbnail */
.channel-card.has-thumb { background-size: cover; background-position: center; }
.channel-card.has-thumb::before {
  background:
    linear-gradient(180deg, rgba(6, 10, 27, 0.35) 0%, rgba(6, 10, 27, 0.8) 100%),
    radial-gradient(circle at 30% 40%, rgba(213, 34, 46, 0.18) 0%, transparent 60%);
}

/* ---------- Series list (Videos) ------------------------- */
.series-list {
  display: grid;
  gap: 0;
  border-top: 2px solid var(--bone);
}
.series-list .series {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 32px 0;
  border-bottom: 1px solid var(--hairline);
  transition: padding 240ms var(--ease), background 240ms var(--ease);
}
.series-list .series:hover { padding-left: 16px; background: rgba(255,255,255,0.02); }
@media (min-width: 760px) {
  .series-list .series {
    grid-template-columns: 110px 1fr 90px;
    gap: 36px;
    align-items: baseline;
  }
}
.series-list .series .s-num {
  font-family: var(--f-display);
  font-weight: 900;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--racing);
}
.series-list .series h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin-bottom: 8px; }
.series-list .series p { font-size: 1rem; color: var(--mist); }
.series-list .series .s-go {
  font-family: var(--f-condensed);
  font-weight: 700;
  font-style: italic;
  font-size: 0.84rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone);
  display: inline-flex; align-items: center; gap: 8px;
  transition: color 220ms var(--ease);
}
.series-list .series:hover .s-go { color: var(--racing); }
.series-list .series .s-go::after {
  content: "›"; font-family: var(--f-display); font-weight: 900; font-style: italic;
  transition: transform 240ms var(--ease-out);
}
.series-list .series:hover .s-go::after { transform: translateX(6px); }

/* ---------- Contact form --------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}
@media (min-width: 980px) {
  .contact-grid { grid-template-columns: 5fr 7fr; gap: 80px; }
}
.contact-info .intro { margin-bottom: 40px; }
.contact-info .intro h3 { margin-bottom: 16px; }
.contact-info .info-list {
  display: grid; gap: 0;
  border-top: 2px solid var(--bone);
}
.contact-info .info-list .row {
  padding: 22px 0;
  border-bottom: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  align-items: baseline;
}
.contact-info .info-list .row .lab {
  font-family: var(--f-condensed);
  font-weight: 700;
  font-style: italic;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--steel);
}
.contact-info .info-list .row .val {
  font-family: var(--f-display);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  font-size: 1.1rem;
  letter-spacing: -0.005em;
  color: var(--bone);
}
.contact-info .info-list .row .val a:hover { color: var(--racing); }

.contact-form { display: grid; gap: 26px; }
.contact-form .heading h3 { margin-bottom: 16px; }
.contact-form .heading p { margin-bottom: 16px; }
.contact-form .row-2 { display: grid; grid-template-columns: 1fr; gap: 26px; }
@media (min-width: 640px) { .contact-form .row-2 { grid-template-columns: 1fr 1fr; } }
.contact-form .field { display: flex; flex-direction: column; gap: 8px; }
.contact-form .field label {
  font-family: var(--f-condensed);
  font-weight: 700;
  font-style: italic;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--steel);
}
.contact-form .field input,
.contact-form .field select,
.contact-form .field textarea {
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--hairline-bold);
  padding: 12px 0;
  color: var(--bone);
  font-family: var(--f-body);
  font-size: 1.1rem;
  font-weight: 500;
  transition: border-color 220ms var(--ease);
  outline: none;
  border-radius: 0;
}
.contact-form .field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg width='14' height='8' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 8'><path d='M1 1l6 6 6-6' stroke='%23FFFFFF' stroke-width='2' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 28px;
}
.contact-form .field option { background: var(--ink); color: var(--bone); }
.contact-form .field textarea { resize: vertical; min-height: 140px; }
.contact-form .field input:focus,
.contact-form .field select:focus,
.contact-form .field textarea:focus { border-color: var(--racing); }
.contact-form .field input::placeholder,
.contact-form .field textarea::placeholder { color: var(--steel); opacity: 0.7; }
.contact-form .note {
  font-family: var(--f-condensed);
  font-weight: 700;
  font-style: italic;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
  margin-top: -6px;
}

/* ---------- Closer / Big CTA ----------------------------- */
.closer {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, var(--royal-deep) 0%, var(--royal) 60%, var(--racing) 140%);
}
.closer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background:
    linear-gradient(90deg, var(--bone) 0 18%, var(--ink) 18% 30%, var(--bone) 30% 32%, var(--racing) 32% 100%);
}
.closer::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, transparent 0, transparent 70%, rgba(255,255,255,0.05) 70%, rgba(255,255,255,0.05) 75%, transparent 75%);
  pointer-events: none;
}
.closer .closer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: end;
}
@media (min-width: 980px) {
  .closer .closer-grid { grid-template-columns: 7fr 5fr; gap: 64px; }
}
.closer h2 {
  font-size: clamp(2.6rem, 7vw, 6rem);
  line-height: 0.92;
  max-width: 900px;
}
.closer p { color: rgba(255,255,255,0.9); max-width: 540px; margin-top: 24px; }
.closer .small-print {
  margin-top: 24px;
  font-family: var(--f-condensed);
  font-weight: 700;
  font-style: italic;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
.closer .closer-actions {
  display: flex; gap: 16px; flex-wrap: wrap; justify-content: flex-start;
}
@media (min-width: 980px) { .closer .closer-actions { justify-content: flex-end; } }
.closer .btn-light { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.closer .btn-light:hover { background: var(--bone); color: var(--ink); }

/* ---------- Footer --------------------------------------- */
.site-footer {
  position: relative;
  background: var(--ink);
  padding: 80px 0 32px;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  display: flex;
}
.site-footer::before {
  background:
    linear-gradient(90deg, var(--bone) 0 18%, var(--royal) 18% 56%, var(--bone) 56% 60%, var(--racing) 60% 100%);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 56px; } }
.footer-brand .brand .badge { width: 72px; height: 72px; }
.footer-brand p {
  margin-top: 22px;
  max-width: 380px;
  color: var(--steel);
  font-size: 0.98rem;
  line-height: 1.6;
}
.footer-col h5 {
  font-family: var(--f-condensed);
  font-weight: 700;
  font-style: italic;
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--racing);
  margin-bottom: 22px;
}
.footer-col ul { display: grid; gap: 12px; }
.footer-col ul a, .footer-col ul li {
  font-family: var(--f-display);
  font-weight: 900;
  font-style: italic;
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--mist);
  letter-spacing: -0.005em;
  transition: color 200ms var(--ease);
}
.footer-col ul a:hover { color: var(--racing); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom small {
  font-family: var(--f-condensed);
  font-weight: 700;
  font-style: italic;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 42px; height: 42px;
  border: 1.5px solid var(--hairline-bold);
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color 220ms var(--ease), background 220ms var(--ease);
}
.footer-social a:hover { border-color: var(--racing); background: rgba(213,34,46,0.12); }
.footer-social svg { width: 18px; height: 18px; fill: var(--bone); }

/* ---------- Scroll reveal -------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 780ms var(--ease-out), transform 780ms var(--ease-out);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 80ms; }
.reveal.d2 { transition-delay: 160ms; }
.reveal.d3 { transition-delay: 240ms; }
.reveal.d4 { transition-delay: 320ms; }

/* Hero load animation — staggered rise */
.hero-home-copy .kicker,
.hero-home-copy h1,
.hero-home-copy .lead,
.hero-home-copy .cta-row,
.hero-badge,
.spec-rail {
  opacity: 0;
  animation: rise 900ms var(--ease-out) forwards;
}
.hero-home-copy .kicker { animation-delay: 60ms; }
.hero-home-copy h1     { animation-delay: 140ms; }
.hero-home-copy .lead  { animation-delay: 360ms; }
.hero-home-copy .cta-row { animation-delay: 500ms; }
.hero-badge            { animation-delay: 240ms; }
.spec-rail             { animation-delay: 660ms; }
@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Misc ---------------------------------------- */
:target { scroll-margin-top: 110px; }
.text-center { text-align: center; }
.no-wrap { white-space: nowrap; }
