/* ==============================================================
   ENTRANCE HOME EXPERIENCE — "Signal Line"
   Homepage-only layer. Loaded after styles.css; scoped to
   body.hx-home so shared pages are untouched. One motif — a thin
   orange signal line — travels the page: season telemetry (hero),
   racing line (next race), gap graph (championship), finish rule
   (result), waveform (stats), the E mark (closing).
   ============================================================== */

.hx-home {
  /* palette */
  --hx-night: #08090d;
  --hx-night-2: #0e1015;
  --hx-coal: #15171d;
  --hx-cream: #f3f0e7;
  --hx-cream-2: #e9e4d8;
  --hx-ink: #141510;
  --hx-cream-ink: #f3efe4;
  --hx-muted-on-dark: #aaa69c;
  --hx-muted-on-light: #686357;
  --hx-orange: #ff5d00;
  --hx-orange-deep: #d14a00;
  --hx-line-on-dark: rgba(243, 239, 228, 0.16);
  --hx-line-on-light: rgba(20, 21, 16, 0.18);
  /* layout */
  --hx-max: 1480px;
  --hx-sect: clamp(92px, 9.5vw, 148px);
  --hx-header-h: 64px;
  /* type */
  --hx-display: "Arial Narrow", "Helvetica Neue", "Roboto Condensed", "Segoe UI", Arial, sans-serif;
  --hx-serif: Georgia, "Times New Roman", serif;
  --hx-body: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  /* motion */
  --hx-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --hx-ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --hx-fast: 220ms;
  --hx-med: 640ms;
  --hx-slow: 950ms;

  margin: 0;
  background: var(--hx-night);
  color: var(--hx-cream-ink);
  font-family: var(--hx-body);
  font-size: 16px;
  line-height: 1.6;
}

html:has(body.hx-home) {
  background: var(--hx-night);
  scroll-padding-top: calc(64px + 16px);
}

.hx-home main {
  opacity: 1;
  animation: none;
}

.hx-home .wrap {
  width: 100%;
  max-width: var(--hx-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 4.6vw, 72px);
}

.hx-main {
  overflow: clip;
}

.hx-home ::selection {
  background: rgba(255, 93, 0, 0.32);
  color: inherit;
}

.hx-home :focus-visible {
  outline: 2px solid var(--hx-orange);
  outline-offset: 3px;
  border-radius: 2px;
}

.hx-skip {
  position: fixed;
  z-index: 1200;
  top: 10px;
  left: 10px;
  padding: 12px 18px;
  background: var(--hx-orange);
  color: var(--hx-night);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateY(calc(-100% - 20px));
}

.hx-skip:focus-visible {
  transform: translateY(0);
  outline-color: var(--hx-cream);
}

/* --------------------------------------------------------------
   Shared editorial atoms
   -------------------------------------------------------------- */

.hx-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--hx-orange);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.22em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hx-kicker::before {
  content: "";
  flex: 0 0 auto;
  width: 26px;
  height: 1.5px;
  background: currentColor;
}

.hx-home h2 {
  margin: 0;
  font-family: var(--hx-display);
  font-weight: 750;
  font-stretch: condensed;
  font-size: clamp(42px, 5.4vw, 82px);
  line-height: 0.96;
  letter-spacing: 0.002em;
  text-transform: uppercase;
}

.hx-home h2 em {
  font-family: var(--hx-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: lowercase;
  letter-spacing: 0;
  color: var(--hx-orange);
}

.hx-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 34px;
  margin-bottom: clamp(44px, 5.5vw, 80px);
}

.hx-section-head .hx-kicker {
  margin-bottom: 22px;
}

.hx-section-note {
  max-width: 320px;
  margin: 10px 0 0;
  font-size: 14.5px;
  line-height: 1.65;
}

.hx-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid var(--hx-line-on-dark);
  background: rgba(8, 9, 13, 0.58);
  color: var(--hx-cream-ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: translate3d(var(--hx-mx, 0px), var(--hx-my, 0px), 0);
  transition: border-color var(--hx-fast) var(--hx-ease), background var(--hx-fast) var(--hx-ease), color var(--hx-fast) var(--hx-ease);
}

.hx-btn .hx-btn-arrow {
  color: var(--hx-orange);
  font-size: 14px;
  transition: transform var(--hx-fast) var(--hx-ease);
}

.hx-btn:hover {
  border-color: var(--hx-orange);
}

.hx-btn:hover .hx-btn-arrow {
  transform: translate(3px, -3px);
}

.hx-btn-solid {
  border-color: var(--hx-orange);
  background: var(--hx-orange);
  color: var(--hx-night);
}

.hx-btn-solid .hx-btn-arrow {
  color: var(--hx-night);
}

.hx-btn-solid:hover {
  background: var(--hx-orange-deep);
  border-color: var(--hx-orange-deep);
}

.hx-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding-bottom: 8px;
  color: inherit;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hx-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
}

.hx-link::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--hx-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 340ms var(--hx-ease);
}

.hx-link:hover::before {
  transform: scaleX(1);
}

.hx-link span {
  color: var(--hx-orange);
  transition: transform var(--hx-fast) var(--hx-ease);
}

.hx-link:hover span {
  transform: translate(3px, -3px);
}

.hx-microcopy {
  margin: 10px 0 0;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--hx-muted-on-dark);
}

/* Signal line strokes (shared) */
.hx-signal-ghost {
  stroke: rgba(240, 236, 223, 0.13);
  fill: none;
}

.hx-signal-live {
  stroke: var(--hx-orange);
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --------------------------------------------------------------
   Intro — first session only, short, skippable
   -------------------------------------------------------------- */

.hx-intro {
  display: none;
}

html.hx-intro-pending {
  overflow: hidden;
}

html.hx-intro-pending .hx-intro {
  display: grid;
  place-items: center;
  position: fixed;
  z-index: 1500;
  inset: 0;
  background: var(--hx-night);
  color: var(--hx-cream-ink);
  transition: opacity 460ms var(--hx-ease), visibility 460ms;
}

html.hx-intro-pending .hx-intro.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.hx-intro-stage {
  display: grid;
  justify-items: center;
  gap: 18px;
  width: min(86vw, 640px);
  text-align: center;
}

.hx-intro-signal {
  width: 100%;
  color: var(--hx-orange);
}

.hx-intro-signal path {
  stroke-dasharray: 780;
  stroke-dashoffset: 780;
  animation: hx-intro-draw 900ms var(--hx-ease-io) 120ms forwards;
}

@keyframes hx-intro-draw {
  to { stroke-dashoffset: 0; }
}

.hx-intro-word {
  margin: 0;
  overflow: hidden;
  font-family: var(--hx-display);
  font-stretch: condensed;
  font-size: clamp(40px, 7vw, 74px);
  font-weight: 750;
  letter-spacing: 0.08em;
  line-height: 1.04;
  text-transform: uppercase;
}

html.hx-intro-pending .hx-intro-word {
  animation: hx-intro-word 640ms var(--hx-ease) 420ms both;
}

@keyframes hx-intro-word {
  from { opacity: 0; transform: translateY(0.55em); }
  to { opacity: 1; transform: translateY(0); }
}

.hx-intro-tag {
  margin: 0;
  color: var(--hx-muted-on-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

html.hx-intro-pending .hx-intro-tag {
  animation: hx-intro-word 600ms var(--hx-ease) 640ms both;
}

.hx-intro-skip {
  position: absolute;
  right: clamp(18px, 4vw, 44px);
  bottom: clamp(18px, 4vw, 40px);
  padding: 12px 18px;
  border: 1px solid var(--hx-line-on-dark);
  background: transparent;
  color: var(--hx-muted-on-dark);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color var(--hx-fast), border-color var(--hx-fast);
}

.hx-intro-skip:hover {
  color: var(--hx-cream-ink);
  border-color: var(--hx-orange);
}

/* --------------------------------------------------------------
   Header — transparent over hero, compact sticky, hide on down
   -------------------------------------------------------------- */

.hx-header {
  position: fixed;
  z-index: 900;
  top: 0;
  right: 0;
  left: 0;
  color: var(--hx-cream-ink);
  border-bottom: 1px solid transparent;
  /* no default transform: a transformed header would become the
     containing block for the fixed full-screen nav drawer */
  transition: transform 420ms var(--hx-ease), border-color 320ms var(--hx-ease);
}

/* The blur/tint lives on a pseudo-element: putting backdrop-filter on
   the header itself would turn it into a containing block and trap the
   fixed full-screen nav drawer inside the 58px bar. */
.hx-header::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(10, 10, 15, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 320ms var(--hx-ease);
}

.hx-header.is-solid {
  border-bottom-color: var(--hx-line-on-dark);
}

.hx-header.is-solid::before {
  opacity: 1;
}

.hx-header.is-hidden {
  transform: translateY(-102%);
}

.hx-header-bar {
  display: flex;
  align-items: center;
  gap: 26px;
  max-width: var(--hx-max);
  min-height: var(--hx-header-h);
  margin-inline: auto;
  padding-inline: clamp(20px, 4.4vw, 64px);
}

.hx-brand {
  position: relative;
  z-index: 1010;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.hx-brand-mark {
  display: block;
  width: clamp(132px, 13vw, 168px);
  height: auto;
}

.hx-header-edition {
  margin: 0 auto 0 6px;
  color: var(--hx-muted-on-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hx-header-progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--hx-orange);
  transform: scaleX(var(--hx-progress, 0));
  transform-origin: left;
  pointer-events: none;
}

/* Desktop nav: inline hairline links */
.hx-nav {
  margin-left: auto;
}

.hx-nav-scene,
.hx-nav-foot {
  display: none;
}

.hx-nav-list {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.2vw, 18px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.hx-nav-list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  color: var(--hx-muted-on-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: color var(--hx-fast) var(--hx-ease);
}

.hx-nav-list a i {
  display: none;
}

.hx-nav-list a::after {
  content: "";
  position: absolute;
  right: 4px;
  bottom: 8px;
  left: 4px;
  height: 1px;
  background: var(--hx-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms var(--hx-ease);
}

.hx-nav-list a:hover,
.hx-nav-list a[aria-current="page"] {
  color: var(--hx-cream-ink);
}

.hx-nav-list a:hover::after,
.hx-nav-list a[aria-current="page"]::after {
  transform: scaleX(1);
}

.hx-nav-contact a {
  color: var(--hx-orange);
}

.hx-menu-btn {
  position: relative;
  z-index: 1010;
  display: none;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin-left: auto;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: var(--hx-cream-ink);
  font-family: var(--hx-body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}

.hx-menu-lines {
  display: grid;
  gap: 5px;
  width: 26px;
}

.hx-menu-lines i {
  height: 2px;
  background: currentColor;
  transition: transform 300ms var(--hx-ease);
}

.hx-home.hx-nav-open .hx-menu-lines i:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.hx-home.hx-nav-open .hx-menu-lines i:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* Mobile / tablet: full-screen drawer */
@media (max-width: 1023px) {
  .hx-menu-btn {
    display: inline-flex;
  }

  .hx-header-edition {
    display: none;
  }

  .hx-nav {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: grid;
    grid-template-rows: 1fr auto;
    padding: calc(var(--hx-header-h) + 22px) clamp(20px, 6vw, 44px) 30px;
    background: var(--hx-night-2);
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
    transition: clip-path 560ms var(--hx-ease), visibility 0s 560ms;
    overflow-y: auto;
  }

  .hx-home.hx-nav-open .hx-nav {
    clip-path: inset(0 0 0 0);
    visibility: visible;
    transition: clip-path 560ms var(--hx-ease), visibility 0s;
  }

  .hx-home.hx-nav-open {
    overflow: hidden;
  }

  /* "none" (not translateY(0)): a transformed header would become the
     containing block for this fixed drawer and clip it to the bar */
  .hx-home.hx-nav-open .hx-header {
    transform: none;
  }

  .hx-nav-scene {
    display: block;
    position: absolute;
    right: -4vw;
    bottom: 4vh;
    pointer-events: none;
  }

  .hx-nav-scene span {
    font-family: var(--hx-display);
    font-stretch: condensed;
    font-size: clamp(90px, 24vw, 220px);
    font-weight: 750;
    line-height: 1;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1px rgba(240, 236, 223, 0.09);
  }

  .hx-nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    align-self: center;
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
  }

  .hx-nav-list li {
    border-bottom: 1px solid var(--hx-line-on-dark);
  }

  .hx-nav-list a {
    justify-content: flex-start;
    gap: 22px;
    min-height: 0;
    padding: 13px 4px;
    color: var(--hx-cream-ink);
    font-family: var(--hx-display);
    font-stretch: condensed;
    font-size: clamp(27px, 5.4vh, 40px);
    font-weight: 750;
    letter-spacing: 0.015em;
    opacity: 0;
    transform: translateY(22px);
    transition: color var(--hx-fast), opacity 480ms var(--hx-ease), transform 480ms var(--hx-ease);
    transition-delay: 0ms;
  }

  .hx-nav-list a::after {
    display: none;
  }

  .hx-nav-list a i {
    display: inline;
    font-style: normal;
    color: var(--hx-orange);
    font-family: var(--hx-body);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
  }

  .hx-home.hx-nav-open .hx-nav-list a {
    opacity: 1;
    transform: translateY(0);
  }

  .hx-home.hx-nav-open .hx-nav-list li:nth-child(1) a { transition-delay: 90ms; }
  .hx-home.hx-nav-open .hx-nav-list li:nth-child(2) a { transition-delay: 130ms; }
  .hx-home.hx-nav-open .hx-nav-list li:nth-child(3) a { transition-delay: 170ms; }
  .hx-home.hx-nav-open .hx-nav-list li:nth-child(4) a { transition-delay: 210ms; }
  .hx-home.hx-nav-open .hx-nav-list li:nth-child(5) a { transition-delay: 250ms; }
  .hx-home.hx-nav-open .hx-nav-list li:nth-child(6) a { transition-delay: 290ms; }
  .hx-home.hx-nav-open .hx-nav-list li:nth-child(7) a { transition-delay: 330ms; }
  .hx-home.hx-nav-open .hx-nav-list li:nth-child(8) a { transition-delay: 370ms; }
  .hx-home.hx-nav-open .hx-nav-list li:nth-child(9) a { transition-delay: 410ms; }

  .hx-nav-contact a {
    color: var(--hx-orange);
  }

  .hx-nav-foot {
    display: grid;
    gap: 6px;
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
    padding-top: 20px;
  }

  .hx-nav-foot a {
    color: var(--hx-cream-ink);
    font-size: 14px;
    font-weight: 700;
  }

  .hx-nav-foot a:hover {
    color: var(--hx-orange);
  }

  .hx-nav-foot span {
    color: var(--hx-muted-on-dark);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
  }
}

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

.hx-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: calc(var(--hx-header-h) + 30px) 0 92px;
  background: var(--hx-night);
  isolation: isolate;
  overflow: hidden;
}

.hx-hero-contour {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image:
    radial-gradient(circle at 76% 45%, rgba(255, 93, 0, 0.09), transparent 25%),
    linear-gradient(rgba(243, 239, 228, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 239, 228, 0.025) 1px, transparent 1px);
  background-size: auto, 72px 72px, 72px 72px;
  -webkit-mask-image: radial-gradient(100% 100% at 70% 42%, #000 25%, transparent 82%);
  mask-image: radial-gradient(100% 100% at 70% 42%, #000 25%, transparent 82%);
}

.hx-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.72fr);
  align-items: center;
  gap: clamp(34px, 5vw, 88px);
}

.hx-hero-inner {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hx-season-globe {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  min-width: 0;
  color: var(--hx-cream-ink);
}

.hx-globe-stage {
  position: relative;
  width: min(100%, 530px);
  aspect-ratio: 1;
  margin-inline: auto;
  touch-action: pan-y;
  cursor: grab;
}

.hx-globe-stage.is-dragging {
  cursor: grabbing;
}

.hx-globe-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hx-globe-stage::after {
  content: "";
  position: absolute;
  inset: 6%;
  border: 1px solid rgba(243, 239, 228, 0.07);
  border-radius: 50%;
  box-shadow: 0 0 90px rgba(255, 93, 0, 0.06);
  pointer-events: none;
}

.hx-globe-tooltip {
  position: absolute;
  z-index: 3;
  max-width: 180px;
  padding: 8px 10px;
  border: 1px solid rgba(243, 239, 228, 0.2);
  background: rgba(8, 9, 13, 0.94);
  color: var(--hx-cream-ink);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
  pointer-events: none;
}

.hx-globe-legend {
  position: absolute;
  top: 9%;
  right: 1%;
  display: grid;
  gap: 8px;
  color: var(--hx-muted-on-dark);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
}

.hx-globe-legend span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hx-globe-legend i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(243, 239, 228, 0.2);
}

.hx-globe-legend .is-upcoming { background: rgba(255, 93, 0, 0.72); }
.hx-globe-legend .is-next { background: var(--hx-orange); box-shadow: 0 0 0 5px rgba(255, 93, 0, 0.12); }

.hx-globe-instruction {
  position: absolute;
  right: 5%;
  bottom: 5%;
  margin: 0;
  color: var(--hx-muted-on-dark);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  pointer-events: none;
}

.hx-globe-race {
  width: min(100%, 530px);
  margin-inline: auto;
  border: 1px solid var(--hx-line-on-dark);
  background: rgba(12, 13, 18, 0.82);
}

.hx-globe-race-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px;
  padding: 15px 17px 14px;
  border-bottom: 1px solid var(--hx-line-on-dark);
}

.hx-globe-round,
.hx-globe-time-row span,
.hx-globe-countdown span {
  color: var(--hx-muted-on-dark);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hx-globe-round { color: var(--hx-orange); }

.hx-globe-race-head h2 {
  margin: 5px 0 0;
  font-family: var(--hx-display);
  font-size: clamp(21px, 2vw, 30px);
  font-stretch: condensed;
  line-height: 1;
  text-transform: uppercase;
}

.hx-globe-race-head p {
  margin: 0;
  color: var(--hx-muted-on-dark);
  font-size: 10px;
  line-height: 1.55;
  text-align: right;
}

.hx-globe-time-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid var(--hx-line-on-dark);
}

.hx-globe-time-row > div {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 12px 16px;
}

.hx-globe-time-row > div + div {
  border-left: 1px solid var(--hx-line-on-dark);
}

.hx-globe-time-row strong {
  overflow-wrap: anywhere;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.hx-globe-local strong { color: var(--hx-orange); }

.hx-globe-countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--hx-line-on-dark);
}

.hx-globe-countdown > div {
  display: grid;
  justify-items: center;
  gap: 1px;
  padding: 11px 5px 9px;
}

.hx-globe-countdown > div + div {
  border-left: 1px solid var(--hx-line-on-dark);
}

.hx-globe-countdown strong {
  display: block;
  min-width: 2ch;
  font-family: var(--hx-display);
  font-size: clamp(29px, 3vw, 42px);
  font-stretch: condensed;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  line-height: 1;
  text-align: center;
}

.hx-globe-detail {
  width: 100%;
  min-height: 46px;
  border: 0;
}

.hx-hero-kicker {
  margin-bottom: clamp(22px, 3vh, 38px);
}

.hx-hero-title {
  margin: 0;
  font-family: var(--hx-display);
  font-stretch: condensed;
  font-weight: 750;
  max-width: 760px;
  font-size: clamp(60px, 7.8vw, 112px);
  line-height: 0.9;
  letter-spacing: 0.002em;
  text-transform: uppercase;
}

.hx-hero-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}

.hx-hero-word {
  display: inline-block;
}

.hx-hero-line-accent em {
  font-family: var(--hx-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: lowercase;
  color: var(--hx-orange);
  letter-spacing: -0.01em;
}

.hx-hero-lede {
  max-width: 470px;
  margin: clamp(24px, 3.4vh, 40px) 0 0;
  color: var(--hx-muted-on-dark);
  font-size: 16.5px;
  line-height: 1.65;
}

.hx-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(28px, 4vh, 46px);
}

.hx-hero-cta .hx-btn:not(.hx-btn-solid) {
  border-color: transparent;
  background: transparent;
}

.hx-hero-cta .hx-btn:not(.hx-btn-solid):hover {
  border-color: var(--hx-line-on-dark);
}

/* Hero entrance choreography */
html.hx-js .hx-hero-kicker,
html.hx-js .hx-hero-lede,
html.hx-js .hx-hero-cta,
html.hx-js .hx-season-globe,
html.hx-js .hx-hero-foot {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--hx-med) var(--hx-ease), transform var(--hx-med) var(--hx-ease);
}

html.hx-js .hx-hero-word {
  transform: translateY(112%);
  transition: transform 860ms var(--hx-ease);
}

html.hx-js .hx-hero.is-ready .hx-hero-kicker { opacity: 1; transform: none; transition-delay: 80ms; }
html.hx-js .hx-hero.is-ready .hx-hero-line:nth-child(1) .hx-hero-word { transform: none; transition-delay: 160ms; }
html.hx-js .hx-hero.is-ready .hx-hero-line:nth-child(2) .hx-hero-word { transform: none; transition-delay: 260ms; }
html.hx-js .hx-hero.is-ready .hx-hero-line:nth-child(3) .hx-hero-word { transform: none; transition-delay: 360ms; }
html.hx-js .hx-hero.is-ready .hx-hero-lede { opacity: 1; transform: none; transition-delay: 520ms; }
html.hx-js .hx-hero.is-ready .hx-hero-cta { opacity: 1; transform: none; transition-delay: 640ms; }
html.hx-js .hx-hero.is-ready .hx-season-globe { opacity: 1; transform: none; transition-delay: 600ms; }
html.hx-js .hx-hero.is-ready .hx-hero-foot { opacity: 1; transform: none; transition-delay: 860ms; }

.hx-hero-foot {
  position: absolute;
  right: clamp(20px, 4.6vw, 72px);
  bottom: 26px;
  left: clamp(20px, 4.6vw, 72px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.hx-scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--hx-muted-on-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hx-scroll-cue i {
  position: relative;
  width: 1px;
  height: 44px;
  background: var(--hx-line-on-dark);
  overflow: hidden;
}

.hx-scroll-cue i::after {
  content: "";
  position: absolute;
  top: -40%;
  left: 0;
  width: 100%;
  height: 40%;
  background: var(--hx-orange);
  animation: hx-cue 2.1s var(--hx-ease-io) infinite;
}

@keyframes hx-cue {
  to { top: 110%; }
}

.hx-hero-coords {
  margin: 0;
  color: var(--hx-muted-on-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------
   02 / Manifesto — pinned kinetic typography (short)
   -------------------------------------------------------------- */

.hx-manifesto {
  position: relative;
  height: 170svh;
  background: var(--hx-night-2);
  color: var(--hx-cream-ink);
}

.hx-mani-pin {
  position: sticky;
  top: 0;
  display: grid;
  align-content: center;
  height: 100svh;
  overflow: clip;
  background-image:
    linear-gradient(120deg, rgba(255, 93, 0, 0.04), transparent 38%),
    repeating-radial-gradient(120% 100% at 110% -10%, transparent 0 86px, rgba(243, 239, 228, 0.035) 86px 87px);
}

.hx-mani-stage {
  position: relative;
}

.hx-mani-index {
  margin: 0 0 clamp(20px, 4vh, 44px);
  color: var(--hx-muted-on-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.26em;
  font-variant-numeric: tabular-nums;
}

.hx-mani-index span {
  color: var(--hx-orange);
}

.hx-mani-lines {
  display: grid;
  gap: clamp(6px, 1.4vh, 16px);
}

.hx-mani-line {
  margin: 0;
  font-family: var(--hx-display);
  font-stretch: condensed;
  font-weight: 750;
  font-size: clamp(46px, 7.8vw, 112px);
  line-height: 0.96;
  letter-spacing: 0.002em;
  text-transform: uppercase;
}

.hx-mani-line em {
  font-family: var(--hx-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: lowercase;
  color: var(--hx-orange);
}

.hx-mani-mask {
  position: relative;
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.06em;
}

.hx-mani-mask > span {
  display: inline-block;
}

/* Kinetic states (JS drives .is-on / .is-past per line) */
html.hx-js .hx-mani-mask > span {
  transform: translateY(108%);
  transition: transform 620ms var(--hx-ease);
}

html.hx-js .hx-mani-mask::after {
  content: "";
  position: absolute;
  inset: 0 0 0.06em;
  background: var(--hx-cream-ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 480ms var(--hx-ease-io);
}

html.hx-js .hx-mani-line.is-on .hx-mani-mask > span {
  transform: translateY(0);
}

html.hx-js .hx-mani-line.is-on .hx-mani-mask::after {
  transform: scaleX(0);
  transform-origin: right;
}

html.hx-js .hx-mani-line.is-coming .hx-mani-mask::after {
  transform: scaleX(1);
}

html.hx-js .hx-mani-line.is-past {
  opacity: 0.22;
  transition: opacity 500ms var(--hx-ease);
}

.hx-mani-line {
  transition: opacity 500ms var(--hx-ease);
}

.hx-mani-line:nth-child(2) .hx-mani-mask > span { transition-delay: 70ms; }
.hx-mani-line:nth-child(3) .hx-mani-mask > span { transition-delay: 70ms; }

.hx-mani-rule {
  position: absolute;
  top: 6px;
  right: 0;
  width: 1.5px;
  height: min(52vh, 420px);
  background: var(--hx-line-on-dark);
  overflow: hidden;
}

.hx-mani-rule::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--hx-orange);
  transform: scaleY(var(--hx-mani, 0));
  transform-origin: top;
}

.hx-mani-note {
  position: absolute;
  bottom: clamp(26px, 6vh, 58px);
  left: 0;
  right: 0;
  max-width: 460px;
  margin: 0;
  color: var(--hx-muted-on-dark);
  font-size: 15.5px;
  line-height: 1.65;
}

html.hx-js .hx-mani-note {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--hx-med) var(--hx-ease), transform var(--hx-med) var(--hx-ease);
}

html.hx-js .hx-mani-pin.is-note-on .hx-mani-note {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------
   03 / Paddock — spatial editorial gallery
   -------------------------------------------------------------- */

.hx-paddock {
  position: relative;
  padding: var(--hx-sect) 0;
  background: var(--hx-cream-2);
  color: var(--hx-ink);
  overflow: hidden;
}

.hx-paddock::before {
  content: "PADDOCK / 01—06";
  position: absolute;
  top: clamp(30px, 4vw, 56px);
  right: clamp(20px, 4.6vw, 72px);
  color: var(--hx-muted-on-light);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.hx-paddock .hx-section-note {
  color: var(--hx-muted-on-light);
}

.hx-paddock-field {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
}

.hx-card {
  --hx-card-line: var(--hx-line-on-light);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 270px;
  padding: clamp(20px, 2.4vw, 34px);
  border: 1px solid var(--hx-card-line);
  background: rgba(243, 240, 231, 0.72);
  color: var(--hx-ink);
  overflow: hidden;
  transform: translate3d(0, var(--hx-float-y, 0px), 0);
  transition: background 340ms var(--hx-ease), color 340ms var(--hx-ease);
}

.hx-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--hx-orange);
  clip-path: inset(0 100% 0 0);
  transition: clip-path 480ms var(--hx-ease);
  pointer-events: none;
}

.hx-card-calendar {
  grid-column: 1 / 8;
  min-height: 360px;
  border-color: var(--hx-night);
  background: var(--hx-night);
  color: var(--hx-cream-ink);
}

.hx-card-standings {
  grid-column: 8 / 13;
  min-height: 294px;
  margin-top: clamp(42px, 6vw, 90px);
  background: transparent;
}

.hx-card-drivers {
  grid-column: 1 / 5;
  min-height: 250px;
  margin-top: calc(clamp(22px, 3vw, 46px) * -1);
  border-right-color: transparent;
  background: transparent;
}

.hx-card-results {
  grid-column: 5 / 9;
  min-height: 344px;
  background: var(--hx-cream);
}

.hx-card-guides {
  grid-column: 9 / 13;
  min-height: 286px;
  margin-top: clamp(24px, 3.2vw, 48px);
  border-left-color: transparent;
  background: transparent;
}

.hx-card-stats {
  grid-column: 2 / 13;
  min-height: 220px;
  flex-direction: row;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  border-color: var(--hx-night-2);
  background: var(--hx-night-2);
  color: var(--hx-cream-ink);
}

.hx-card-calendar p,
.hx-card-stats p {
  color: var(--hx-muted-on-dark);
}

.hx-card-calendar .hx-card-meta,
.hx-card-stats .hx-card-meta {
  color: var(--hx-muted-on-dark);
}

.hx-card-calendar .hx-card-fig,
.hx-card-stats .hx-card-fig {
  color: var(--hx-cream-ink);
}

.hx-card-meta {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  color: var(--hx-muted-on-light);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: transform var(--hx-fast) var(--hx-ease), color var(--hx-fast) var(--hx-ease);
}

.hx-card-meta i {
  font-style: normal;
  color: var(--hx-orange);
  font-variant-numeric: tabular-nums;
}

.hx-card h3 {
  margin: 0;
  font-family: var(--hx-display);
  font-stretch: condensed;
  font-size: clamp(30px, 2.7vw, 42px);
  font-weight: 750;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.004em;
}

.hx-card p {
  max-width: 400px;
  margin: 0;
  color: var(--hx-muted-on-light);
  font-size: 14px;
  line-height: 1.6;
  transition: color 340ms var(--hx-ease);
}

.hx-card-arrow {
  position: absolute;
  right: clamp(18px, 2vw, 30px);
  top: clamp(16px, 2vw, 28px);
  color: var(--hx-orange);
  font-size: 19px;
  transition: transform var(--hx-fast) var(--hx-ease);
}

.hx-card-fig {
  width: 100%;
  max-width: 340px;
  margin-top: auto;
  color: var(--hx-ink);
  transition: color 340ms var(--hx-ease);
}

.hx-card-stats .hx-card-fig {
  max-width: none;
  flex: 1 1 46%;
  margin-top: 0;
}

.hx-card-stats > div,
.hx-card-stats-copy {
  flex: 1 1 54%;
}

/* card figure internals */
.hx-card-fig text {
  fill: currentColor;
  opacity: 0.55;
  font-family: var(--hx-body);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-anchor: middle;
}

.fig-base { stroke: currentColor; opacity: 0.3; }

.fig-tick line { stroke: currentColor; stroke-width: 1.5; opacity: 0.55; transition: stroke var(--hx-fast), opacity var(--hx-fast); }
.fig-tick.is-hot line { stroke: var(--hx-orange); opacity: 1; stroke-width: 2; }
.fig-tick.is-hot circle { stroke: var(--hx-orange); fill: none; opacity: 0.7; }
.fig-tick.is-hot text { fill: var(--hx-orange); opacity: 1; }

.fig-rank rect { fill: currentColor; opacity: 0.4; transition: transform 420ms var(--hx-ease), opacity var(--hx-fast); transform-origin: left; }
.fig-rank[data-i="1"] rect { fill: var(--hx-orange); opacity: 1; }
.fig-rank text { text-anchor: start; }

.hx-card-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin: auto 0 0 !important;
  font-family: var(--hx-display);
  font-stretch: condensed;
  gap: 4px 14px;
  font-size: clamp(32px, 3vw, 46px);
  font-weight: 750;
  line-height: 1.05;
  color: var(--hx-ink);
  opacity: 0.85;
}

.hx-card-numbers span { transition: color var(--hx-fast) var(--hx-ease), transform 340ms var(--hx-ease); }

.fig-step { fill: currentColor; opacity: 0.16; stroke: currentColor; stroke-width: 1; transition: transform 420ms var(--hx-ease); transform-origin: bottom; transform-box: fill-box; }
.fig-step[data-i="1"] { fill: var(--hx-orange); stroke: var(--hx-orange); opacity: 0.85; }
.hx-card-fig-podium text { font-family: var(--hx-display); font-size: 15px; font-weight: 750; opacity: 0.9; }

.fig-page { fill: var(--hx-cream); stroke: currentColor; stroke-width: 1; opacity: 0.75; transition: transform 380ms var(--hx-ease); transform-box: fill-box; }
.fig-page[data-i="1"] { opacity: 1; }
.fig-page-line { stroke: currentColor; opacity: 0.4; }

.fig-spark {
  stroke: var(--hx-orange);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* card hover microinteractions — fine pointers only */
@media (hover: hover) and (pointer: fine) {
  .hx-card:hover::after { clip-path: inset(0 0 0 0); }
  .hx-card:hover .hx-card-arrow { transform: translate(4px, -4px); }
  .hx-card:hover .hx-card-meta { transform: translateX(6px); }
  .hx-card:hover .hx-card-meta i { color: var(--hx-orange-deep); }

  .hx-card-calendar:hover .fig-tick line { stroke: var(--hx-orange); opacity: 0.9; }
  .hx-card-calendar:hover .fig-tick:nth-child(2) line { transition-delay: 60ms; }
  .hx-card-calendar:hover .fig-tick:nth-child(3) line { transition-delay: 120ms; }
  .hx-card-calendar:hover .fig-tick:nth-child(4) line { transition-delay: 180ms; }

  .hx-card-standings:hover .fig-rank[data-i="2"] rect { transform: scaleX(1.24); }
  .hx-card-standings:hover .fig-rank[data-i="3"] rect { transform: scaleX(1.42); }

  .hx-card-drivers:hover .hx-card-numbers span { color: var(--hx-orange); }
  .hx-card-drivers:hover .hx-card-numbers span:nth-child(odd) { transform: translateY(-4px); }
  .hx-card-drivers:hover .hx-card-numbers span:nth-child(even) { transform: translateY(3px); }

  .hx-card-results:hover .fig-step[data-i="2"] { transform: scaleY(1.28); }
  .hx-card-results:hover .fig-step[data-i="3"] { transform: scaleY(1.5); }

  .hx-card-guides:hover .fig-page[data-i="1"] { transform: translate(7px, -6px) rotate(1.6deg); }
  .hx-card-guides:hover .fig-page[data-i="3"] { transform: translate(-7px, 5px) rotate(-1.4deg); }

  .hx-card-stats:hover .fig-spark {
    stroke-dasharray: 720;
    stroke-dashoffset: 720;
    animation: hx-spark-run 1.3s var(--hx-ease-io) forwards;
  }
}

@keyframes hx-spark-run {
  to { stroke-dashoffset: 0; }
}

   05 / Championship — editorial ranking panel
   -------------------------------------------------------------- */

.hx-champ {
  position: relative;
  padding: var(--hx-sect) 0;
  background: var(--hx-coal);
  color: var(--hx-cream-ink);
  overflow: hidden;
}

.hx-champ::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--hx-orange) 0 24%, var(--hx-line-on-dark) 24% 100%);
}

.hx-champ .hx-section-head {
  align-items: flex-end;
}

.hx-champ .hx-section-head h2 {
  font-size: clamp(46px, 5vw, 76px);
}

.hx-champ-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: start;
}

.hx-champ-panel {
  padding-top: 18px;
  border-top: 1px solid var(--hx-line-on-dark);
}

.hx-champ-panel + .hx-champ-panel {
  opacity: 0.86;
}

.hx-panel-title {
  margin: 0 0 16px;
  color: var(--hx-muted-on-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hx-table {
  width: 100%;
  border-collapse: collapse;
}

.hx-table th {
  padding: 0 10px 12px;
  border-bottom: 1px solid var(--hx-line-on-dark);
  color: var(--hx-muted-on-dark);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: left;
}

.hx-table th.num,
.hx-table td.num,
.hx-table td.cell-end {
  text-align: right;
}

.hx-table td {
  padding: 18px 10px;
  border-bottom: 1px solid var(--hx-line-on-dark);
  font-size: 15.5px;
  vertical-align: middle;
}

.hx-table .hx-table-state {
  color: var(--hx-muted-on-dark);
  font-size: 13.5px;
}

.hx-table tr.accent-row td:first-child {
  box-shadow: inset 3px 0 0 var(--team-colour, var(--hx-orange));
}

.hx-table td.cell-pos {
  width: 58px;
  font-family: var(--hx-display);
  font-stretch: condensed;
  font-size: 25px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

.hx-table td.cell-main {
  font-weight: 700;
}

.hx-table td.cell-sub {
  color: var(--hx-muted-on-dark);
  font-size: 13.5px;
}

.hx-table td.cell-end {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.hx-table tbody tr {
  transition: background var(--hx-fast) var(--hx-ease);
}

.hx-table tbody tr:hover,
.hx-table tbody tr:focus-within {
  background: rgba(240, 236, 223, 0.045);
}

.hx-table tbody tr.accent-row:first-child {
  background: linear-gradient(90deg, rgba(255, 93, 0, 0.1), transparent 72%);
}

.hx-table tbody tr.accent-row:first-child td.cell-pos,
.hx-table tbody tr.accent-row:first-child td.cell-end {
  color: var(--hx-orange);
}

html.hx-js .hx-table tbody tr.accent-row {
  animation: hx-row-in 640ms var(--hx-ease) both;
}

html.hx-js .hx-table tbody tr.accent-row:nth-child(2) { animation-delay: 90ms; }
html.hx-js .hx-table tbody tr.accent-row:nth-child(3) { animation-delay: 180ms; }

@keyframes hx-row-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.hx-gap-viz {
  margin-top: 26px;
}

.hx-gap-title {
  margin: 0 0 14px;
  color: var(--hx-muted-on-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hx-gap-bars {
  display: grid;
  gap: 11px;
}

.hx-gap-row {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) 58px;
  align-items: center;
  gap: 14px;
}

.hx-gap-name {
  overflow: hidden;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.hx-gap-bar {
  position: relative;
  height: 4px;
  background: rgba(240, 236, 223, 0.09);
  overflow: hidden;
}

.hx-gap-bar i {
  position: absolute;
  inset: 0;
  background: var(--team-colour, var(--hx-orange));
  transform: scaleX(var(--hx-gap, 0));
  transform-origin: left;
  transition: transform 900ms var(--hx-ease) 120ms;
}

.hx-gap-delta {
  color: var(--hx-muted-on-dark);
  font-size: 12.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.hx-updated {
  margin: 18px 0 0;
  color: var(--hx-muted-on-dark);
  font-size: 12px;
  letter-spacing: 0.03em;
}

/* --------------------------------------------------------------
   06 / Latest result — podium behind the finish rule
   -------------------------------------------------------------- */

.hx-result {
  position: relative;
  padding: var(--hx-sect) 0;
  background: var(--hx-cream-2);
  color: var(--hx-ink);
}

.hx-finish-rule {
  position: absolute;
  top: -1px;
  right: 0;
  left: 0;
  height: 6px;
  background:
    repeating-linear-gradient(90deg, var(--hx-ink) 0 10px, transparent 10px 20px),
    repeating-linear-gradient(90deg, transparent 0 10px, var(--hx-ink) 10px 20px);
  background-size: 16px 3px;
  background-position: 0 0, 0 3px;
  background-repeat: repeat-x;
  opacity: 0.82;
}

.hx-result-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.78fr);
  gap: clamp(38px, 5vw, 84px);
  align-items: center;
}

.hx-result-head .hx-link {
  margin-top: 30px;
  color: var(--hx-ink);
}

.hx-result-head h2 {
  margin: 20px 0 0;
  font-size: clamp(46px, 5vw, 76px);
}

.hx-podium {
  display: grid;
  grid-template-areas: "p2 p1 p3";
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  align-items: end;
  border-bottom: 1px solid var(--hx-line-on-light);
}

.hx-podium .stat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px clamp(18px, 2vw, 30px) 30px;
  border: 0;
  border-left: 1px solid var(--hx-line-on-light);
  border-top: 2px solid var(--team-colour, var(--hx-orange));
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  min-height: 200px;
}

.hx-podium .podium-card:nth-child(1) {
  grid-area: p1;
  min-height: 285px;
  background: rgba(255, 255, 255, 0.24);
}

.hx-podium .podium-card:nth-child(2) {
  grid-area: p2;
  min-height: 235px;
}

.hx-podium .podium-card:nth-child(3) {
  grid-area: p3;
  min-height: 205px;
}

.hx-podium .podium-card:last-child {
  border-right: 1px solid var(--hx-line-on-light);
}

html.hx-js .hx-podium .podium-card {
  animation: hx-row-in 700ms var(--hx-ease) both;
}

html.hx-js .hx-podium .podium-card:nth-child(1) { animation-delay: 60ms; }
html.hx-js .hx-podium .podium-card:nth-child(2) { animation-delay: 180ms; }
html.hx-js .hx-podium .podium-card:nth-child(3) { animation-delay: 300ms; }

.hx-podium .podium-card:nth-child(1)::before { content: "01"; }
.hx-podium .podium-card:nth-child(2)::before { content: "02"; }
.hx-podium .podium-card:nth-child(3)::before { content: "03"; }

.hx-podium .podium-card::before {
  position: absolute;
  right: 16px;
  bottom: 10px;
  font-family: var(--hx-display);
  font-stretch: condensed;
  font-size: 56px;
  font-weight: 750;
  line-height: 1;
  color: var(--hx-ink);
  opacity: 0.1;
  font-variant-numeric: tabular-nums;
}

.hx-podium .stat-label {
  color: var(--hx-muted-on-light);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hx-podium .stat-value {
  font-family: var(--hx-display);
  font-stretch: condensed;
  font-size: clamp(24px, 2.3vw, 34px);
  font-weight: 750;
  line-height: 1.02;
  text-transform: uppercase;
}

.hx-podium .stat-card p {
  margin: auto 0 0;
  color: var(--hx-muted-on-light);
  font-size: 13px;
}

/* --------------------------------------------------------------
   07 / Stats Lab — waveform + product cards
   -------------------------------------------------------------- */

.hx-stats {
  position: relative;
  padding: calc(var(--hx-sect) * 1.08) 0 var(--hx-sect);
  background: var(--hx-night-2);
  color: var(--hx-cream-ink);
  overflow: hidden;
}

.hx-stats-wave {
  position: absolute;
  top: clamp(8px, 3vw, 40px);
  right: 0;
  left: 0;
  width: 100%;
  height: auto;
  max-height: 220px;
  opacity: 0.9;
  pointer-events: none;
}

.hx-stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.58fr);
  gap: clamp(30px, 4vw, 70px);
  align-items: start;
  margin-top: clamp(60px, 9vw, 130px);
}

.hx-stats-head h2 {
  margin: 20px 0 0;
  font-size: clamp(46px, 5vw, 76px);
}

.hx-stats-head p {
  max-width: 400px;
  margin: 18px 0 0;
  color: var(--hx-muted-on-dark);
  font-size: 15px;
  line-height: 1.65;
}

.hx-stats-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hx-stats-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  background: transparent;
  border-top: 1px solid var(--hx-line-on-dark);
  border-bottom: 1px solid var(--hx-line-on-dark);
}

.hx-stats-cards .stat-summary-card,
.hx-stats-cards .stat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-height: 224px;
  margin: 0;
  padding: 24px clamp(18px, 2vw, 28px);
  border: 0;
  border-right: 1px solid var(--hx-line-on-dark);
  background: transparent;
  color: var(--hx-cream-ink);
  overflow: hidden;
}

.hx-stats-cards .stat-summary-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: var(--hx-stat-span, 64%);
  height: 2px;
  background: var(--hx-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 900ms var(--hx-ease) 180ms;
}

.hx-stats-cards .stat-summary-card:nth-child(1) { --hx-stat-span: 74%; }
.hx-stats-cards .stat-summary-card:nth-child(2) { --hx-stat-span: 88%; }
.hx-stats-cards .stat-summary-card:nth-child(3) { --hx-stat-span: 58%; }

.hx-stats.is-inview .stat-summary-card::after {
  transform: scaleX(1);
}

.hx-stats-cards .stat-summary-card:last-child,
.hx-stats-cards .stat-card:last-child {
  border-right: 0;
}

html.hx-js .hx-stats-cards .stat-summary-card {
  animation: hx-row-in 640ms var(--hx-ease) both;
}

html.hx-js .hx-stats-cards .stat-summary-card:nth-child(2) { animation-delay: 100ms; }
html.hx-js .hx-stats-cards .stat-summary-card:nth-child(3) { animation-delay: 200ms; }

.hx-stats-cards .stat-summary-label,
.hx-stats-cards .stat-label {
  color: var(--hx-muted-on-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hx-stats-cards .stat-summary-value,
.hx-stats-cards .stat-value {
  margin-top: auto;
  font-family: var(--hx-display);
  font-stretch: condensed;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 750;
  line-height: 1;
  text-transform: uppercase;
  color: var(--hx-orange);
  text-align: left;
}

.hx-stats-cards .stat-summary-card p,
.hx-stats-cards .stat-card p {
  margin: 0;
  color: var(--hx-muted-on-dark);
  font-size: 13px;
  line-height: 1.55;
}

.hx-stats-cards .loading-card {
  position: relative;
  overflow: hidden;
  min-height: 90px;
  align-content: center;
}

.hx-stats-cards .loading-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(240, 236, 223, 0.05) 50%, transparent 80%);
  animation: hx-shimmer 1.6s linear infinite;
}

@keyframes hx-shimmer {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}

.hx-stats .notice {
  grid-column: 1 / -1;
  margin: 18px 0 0;
  padding: 18px 22px;
  border: 1px solid rgba(255, 93, 0, 0.5);
  background: rgba(255, 93, 0, 0.07);
  color: var(--hx-cream-ink);
}

.hx-stats .notice h3 {
  margin: 0 0 6px;
  font-family: var(--hx-display);
  font-stretch: condensed;
  font-size: 20px;
  text-transform: uppercase;
}

.hx-stats .notice p {
  margin: 0;
  color: var(--hx-muted-on-dark);
  font-size: 13.5px;
}

/* --------------------------------------------------------------
   08 / Closing + footer — the line resolves into the mark
   -------------------------------------------------------------- */

.hx-closing {
  position: relative;
  padding: calc(var(--hx-sect) * 1.1) 0 var(--hx-sect);
  background:
    radial-gradient(70% 80% at 50% 110%, rgba(255, 93, 0, 0.08), transparent 64%),
    linear-gradient(var(--hx-night-2), #060609);
  color: var(--hx-cream-ink);
  overflow: hidden;
  text-align: center;
}

.hx-closing-signal {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(120%, 1500px);
  height: auto;
  transform: translate(-50%, -58%) scale(var(--hx-closing-scale, 0.94));
  opacity: 0.62;
  pointer-events: none;
}

.hx-closing-inner {
  position: relative;
  display: grid;
  justify-items: center;
  gap: clamp(24px, 4vh, 40px);
}

.hx-closing h2 {
  max-width: 1100px;
  font-size: clamp(52px, 7.4vw, 116px);
}

.hx-closing-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.hx-closing-links a {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid var(--hx-line-on-dark);
  color: var(--hx-cream-ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: border-color var(--hx-fast) var(--hx-ease), background var(--hx-fast) var(--hx-ease), color var(--hx-fast) var(--hx-ease);
}

.hx-closing-links a span {
  color: var(--hx-orange);
  transition: transform var(--hx-fast) var(--hx-ease), color var(--hx-fast) var(--hx-ease);
}

.hx-closing-links a:hover {
  border-color: var(--hx-orange);
  background: var(--hx-orange);
  color: var(--hx-night);
}

.hx-closing-links a:hover span {
  color: var(--hx-night);
  transform: translate(3px, -3px);
}

.hx-footer {
  background: #060609;
  color: var(--hx-cream-ink);
  border-top: 1px solid var(--hx-line-on-dark);
}

.hx-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: clamp(30px, 4vw, 60px);
  padding-top: clamp(44px, 6vw, 76px);
  padding-bottom: clamp(38px, 5vw, 64px);
}

.hx-footer-brand {
  display: grid;
  gap: 18px;
  align-content: start;
  justify-items: start;
}

.hx-footer-brand img {
  width: 176px;
  height: auto;
}

.hx-footer-brand p {
  max-width: 340px;
  margin: 0;
  color: var(--hx-muted-on-dark);
  font-size: 13.5px;
  line-height: 1.65;
}

.hx-footer-mail {
  color: var(--hx-orange);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hx-footer-mail:hover {
  text-decoration: underline;
}

.hx-footer-col {
  display: grid;
  gap: 3px;
  align-content: start;
}

.hx-footer-col h3 {
  margin: 0 0 12px;
  color: var(--hx-muted-on-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hx-footer-col a {
  display: inline-block;
  padding: 5px 0;
  color: var(--hx-cream-ink);
  font-size: 14px;
  transition: color var(--hx-fast) var(--hx-ease), transform var(--hx-fast) var(--hx-ease);
}

.hx-footer-col a:hover {
  color: var(--hx-orange);
  transform: translateX(4px);
}

.hx-footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 20px;
  padding-bottom: 26px;
  border-top: 1px solid var(--hx-line-on-dark);
}

.hx-footer-meta p {
  margin: 0;
  color: var(--hx-muted-on-dark);
  font-size: 12px;
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------
   Section reveal choreography
   -------------------------------------------------------------- */

html.hx-js [data-hx-section] .hx-section-head,
html.hx-js [data-hx-section] .hx-result-head,
html.hx-js [data-hx-section] .hx-stats-head,
html.hx-js [data-hx-section] .hx-closing-inner,
html.hx-js [data-hx-section] .hx-champ-panel,
html.hx-js [data-hx-section] .hx-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 760ms var(--hx-ease), transform 760ms var(--hx-ease);
}

html.hx-js [data-hx-section].is-inview .hx-section-head,
html.hx-js [data-hx-section].is-inview .hx-result-head,
html.hx-js [data-hx-section].is-inview .hx-stats-head,
html.hx-js [data-hx-section].is-inview .hx-closing-inner,
html.hx-js [data-hx-section].is-inview .hx-champ-panel,
html.hx-js [data-hx-section].is-inview .hx-card {
  opacity: 1;
  transform: translate3d(0, var(--hx-float-y, 0px), 0);
}

html.hx-js [data-hx-section].is-inview .hx-champ-panel:nth-child(2) { transition-delay: 140ms; }
html.hx-js [data-hx-section].is-inview .hx-card:nth-child(2) { transition-delay: 90ms; }
html.hx-js [data-hx-section].is-inview .hx-card:nth-child(3) { transition-delay: 150ms; }
html.hx-js [data-hx-section].is-inview .hx-card:nth-child(4) { transition-delay: 210ms; }
html.hx-js [data-hx-section].is-inview .hx-card:nth-child(5) { transition-delay: 270ms; }
html.hx-js [data-hx-section].is-inview .hx-card:nth-child(6) { transition-delay: 330ms; }

/* once revealed and settled, cards drop the slow reveal transition
   so the float parallax var updates without lag */
html.hx-js [data-hx-section].is-settled .hx-card {
  transition: background 340ms var(--hx-ease), color 340ms var(--hx-ease);
}

/* keep the head/link rows non-transformed once revealed so
   float parallax only applies to cards */
html.hx-js [data-hx-section].is-inview .hx-section-head,
html.hx-js [data-hx-section].is-inview .hx-result-head,
html.hx-js [data-hx-section].is-inview .hx-stats-head,
html.hx-js [data-hx-section].is-inview .hx-closing-inner,
html.hx-js [data-hx-section].is-inview .hx-champ-panel {
  transform: none;
}

/* --------------------------------------------------------------
   Responsive
   -------------------------------------------------------------- */

@media (max-width: 1200px) {
  .hx-card-calendar { grid-column: 1 / 8; }
  .hx-card-standings { grid-column: 8 / 13; }
}

@media (min-width: 769px) and (max-height: 900px) {
  .hx-globe-stage { width: min(100%, calc(100svh - 400px), 460px); }
  .hx-globe-race { width: min(100%, 460px); }
  .hx-globe-race-head { padding-block: 12px; }
  .hx-globe-time-row > div { padding-block: 10px; }
  .hx-globe-countdown > div { padding-block: 9px 7px; }
}

@media (max-width: 1024px) {
  .hx-hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
    gap: 28px;
  }

  .hx-hero-title {
    font-size: clamp(58px, 8.4vw, 92px);
  }

  .hx-globe-stage,
  .hx-globe-race {
    width: min(100%, 440px);
  }

  .hx-champ-grid {
    grid-template-columns: 1fr;
  }

  .hx-result-grid,
  .hx-stats-grid {
    grid-template-columns: 1fr;
  }

  .hx-stats-grid {
    margin-top: clamp(90px, 14vw, 150px);
  }

  .hx-card-calendar { grid-column: 1 / 13; }
  .hx-card-standings { grid-column: 1 / 13; margin-top: 0; }
  .hx-card-drivers { grid-column: 1 / 7; margin-top: 0; }
  .hx-card-results { grid-column: 7 / 13; }
  .hx-card-stats { grid-column: 1 / 13; }
  .hx-card-guides { grid-column: 1 / 13; }
}

@media (max-width: 768px) {
  .hx-home {
    --hx-header-h: 58px;
  }

  .hx-closing-signal {
    top: 40%;
    opacity: 0.35;
  }

  .hx-section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .hx-hero {
    min-height: 0;
    padding: calc(var(--hx-header-h) + 48px) 0 86px;
  }

  .hx-hero-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hx-hero-title {
    max-width: 650px;
    font-size: clamp(58px, 14.5vw, 92px);
  }

  .hx-season-globe {
    width: min(100%, 430px);
    margin-inline: auto;
  }

  .hx-globe-stage {
    width: min(86vw, 390px);
  }

  .hx-globe-race {
    width: 100%;
  }

  .hx-hero-foot {
    bottom: 18px;
  }

  .hx-hero-coords {
    display: none;
  }

  .hx-manifesto {
    height: auto;
  }

  .hx-mani-pin {
    position: static;
    height: auto;
    padding: var(--hx-sect) 0;
  }

  .hx-mani-index,
  .hx-mani-rule {
    display: none;
  }

  .hx-mani-lines {
    gap: 18px;
  }

  html.hx-js .hx-mani-mask > span {
    transform: none;
  }

  html.hx-js .hx-mani-mask::after {
    display: none;
  }

  html.hx-js .hx-mani-line.is-past {
    opacity: 1;
  }

  .hx-mani-note,
  html.hx-js .hx-mani-note {
    position: static;
    margin-top: 38px;
    opacity: 1;
    transform: none;
  }

  .hx-paddock-field {
    display: flex;
    flex-direction: column;
  }

  .hx-card,
  .hx-card-stats {
    flex-direction: column;
    margin: 0;
  }

  .hx-card-fig,
  .hx-card-stats .hx-card-fig {
    max-width: 420px;
  }

  .hx-stats-cards {
    grid-template-columns: 1fr;
  }

  .hx-stats-cards .stat-summary-card,
  .hx-stats-cards .stat-card {
    min-height: 164px;
    border-right: 0;
    border-bottom: 1px solid var(--hx-line-on-dark);
  }

  .hx-stats-cards .stat-summary-card:last-child,
  .hx-stats-cards .stat-card:last-child {
    border-bottom: 0;
  }

  .hx-podium {
    grid-template-areas: "p1" "p2" "p3";
    grid-template-columns: 1fr;
  }

  .hx-podium .podium-card:nth-child(1),
  .hx-podium .podium-card:nth-child(2),
  .hx-podium .podium-card:nth-child(3) {
    min-height: 0;
  }

  .hx-podium .stat-card,
  .hx-podium .podium-card:last-child {
    border-right: 1px solid var(--hx-line-on-light);
  }

  .hx-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hx-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .hx-hero-kicker {
    display: block;
    position: relative;
    max-width: 330px;
    padding-left: 38px;
  }

  .hx-hero-kicker::before {
    position: absolute;
    top: 0.5em;
    left: 0;
  }

  .hx-hero-lede {
    font-size: 15px;
  }

  .hx-hero-cta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hx-hero-cta .hx-btn {
    justify-content: space-between;
  }

  .hx-mani-note {
    font-size: 14px;
  }

  .hx-globe-race-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 8px;
  }

  .hx-globe-race-head p { text-align: left; }
  .hx-globe-time-row { grid-template-columns: 1fr; }
  .hx-globe-time-row > div + div { border-top: 1px solid var(--hx-line-on-dark); border-left: 0; }
  .hx-globe-countdown strong { font-size: clamp(28px, 9vw, 38px); }

  /* stacked-card table conversion */
  .hx-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .hx-table,
  .hx-table tbody {
    display: block;
  }

  .hx-table tbody tr {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    grid-template-areas: "pos main end" "pos sub end";
    align-items: center;
    column-gap: 14px;
    padding: 13px 2px;
    border-bottom: 1px solid var(--hx-line-on-dark);
  }

  .hx-table td {
    display: block;
    padding: 0;
    border: 0;
  }

  .hx-table td.cell-pos { grid-area: pos; }
  .hx-table td.cell-main { grid-area: main; }
  .hx-table td.cell-sub { grid-area: sub; }
  .hx-table td.cell-end { grid-area: end; font-size: 17px; }

  .hx-table tr.accent-row td:first-child {
    box-shadow: none;
  }

  .hx-table tbody tr.accent-row {
    border-left: 3px solid var(--team-colour, var(--hx-orange));
    padding-left: 12px;
  }

  .hx-table .hx-table-state {
    padding: 14px 2px;
  }

  .hx-gap-row {
    grid-template-columns: 86px minmax(0, 1fr) 48px;
    gap: 10px;
  }

  .hx-stats-cards .stat-summary-card,
  .hx-stats-cards .stat-card {
    min-height: 148px;
  }

  .hx-stats-cards .stat-summary-value,
  .hx-stats-cards .stat-value {
    text-align: left;
  }

  .hx-closing-links {
    flex-direction: column;
    align-items: stretch;
  }

  .hx-closing-links a {
    justify-content: space-between;
  }

  .hx-footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* --------------------------------------------------------------
   Reduced motion — static, immediately readable
   -------------------------------------------------------------- */

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

  html.hx-js .hx-hero-kicker,
  html.hx-js .hx-hero-lede,
  html.hx-js .hx-hero-cta,
  html.hx-js .hx-season-globe,
  html.hx-js .hx-hero-foot,
  html.hx-js .hx-hero-word,
  html.hx-js .hx-mani-mask > span,
  html.hx-js .hx-mani-note,
  html.hx-js [data-hx-section] .hx-section-head,
  html.hx-js [data-hx-section] .hx-result-head,
  html.hx-js [data-hx-section] .hx-stats-head,
  html.hx-js [data-hx-section] .hx-closing-inner,
  html.hx-js [data-hx-section] .hx-champ-panel,
  html.hx-js [data-hx-section] .hx-card {
    opacity: 1 !important;
    transform: none !important;
  }

  html.hx-js .hx-mani-mask::after {
    display: none;
  }

  html.hx-js .hx-mani-line.is-past {
    opacity: 1;
  }

  .hx-manifesto {
    height: auto;
  }

  .hx-mani-pin {
    position: static;
    height: auto;
    padding: var(--hx-sect) 0;
  }

  .hx-mani-note {
    position: static;
    margin-top: 40px;
  }

  .hx-signal-live {
    stroke-dasharray: none !important;
    stroke-dashoffset: 0 !important;
  }

  .hx-signal-nodes circle {
    opacity: 0.9;
  }

  .hx-scroll-cue i::after,
  .hx-stats-cards .loading-card::after {
    animation: none !important;
  }

  .hx-header,
  .hx-header.is-hidden {
    transform: none;
  }
}
