/* ============================================
   Vacaville Bulldogs XC — 2025/26
   Futuristic black & orange
============================================ */

:root {
  --black: #0a0a0c;
  --black-2: #111114;
  --black-3: #16161b;
  --ink: #1e1e24;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --white: #f7f7f5;
  --dim: #a0a0a8;
  --mute: #6b6b74;

  --orange: #ff6b1a;
  --orange-2: #ff8a3d;
  --orange-deep: #d94d00;
  --orange-glow: rgba(255, 107, 26, 0.45);

  --radius-s: 4px;
  --radius-m: 10px;
  --radius-l: 22px;

  --f-display: "Bebas Neue", "Space Grotesk", system-ui, sans-serif;
  --f-body: "Space Grotesk", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --max: 1400px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--f-body);
  color: var(--white);
  background: var(--black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

/* -------- Background layers -------- */

.grid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 80%);
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.glow {
  position: fixed;
  z-index: 0;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  opacity: 0.5;
}

.glow--one {
  top: -300px;
  right: -200px;
  background: radial-gradient(circle, var(--orange-glow), transparent 70%);
}

.glow--two {
  bottom: -400px;
  left: -200px;
  background: radial-gradient(circle, rgba(255, 138, 61, 0.25), transparent 70%);
}

/* -------- Nav -------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 48px);
  background: rgba(10, 10, 12, 0.55);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav__mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-s);
  box-shadow: 0 0 24px var(--orange-glow);
  position: relative;
  overflow: hidden;
  background: var(--black-2);
}

.nav__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nav__mark::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid var(--orange);
  border-radius: 8px;
  opacity: 0.35;
  pointer-events: none;
}

.nav__meta {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav__team {
  font-family: var(--f-display);
  font-size: 18px;
  letter-spacing: 2px;
}

.nav__sport {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--dim);
}

.nav__links {
  display: flex;
  gap: 32px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav__links a {
  position: relative;
  color: var(--dim);
  transition: color 0.2s ease;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--orange);
  transition: width 0.25s ease;
}

.nav__links a:hover { color: var(--white); }
.nav__links a.is-active { color: var(--white); }
.nav__links a.is-active::after { width: 100%; }
.nav__links a:hover::after { width: 100%; }

/* -------- Waffle launcher -------- */

.nav__tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.waffle {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-s);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.waffle:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(255, 107, 26, 0.08);
}

.waffle svg { width: 20px; height: 20px; }

.launcher {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
}

.launcher.is-open { display: block; }

.launcher__scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  animation: fade 0.3s ease;
}

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.launcher__panel {
  position: absolute;
  top: 80px;
  right: clamp(20px, 4vw, 48px);
  width: min(540px, calc(100vw - 40px));
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  background: rgba(15, 15, 18, 0.95);
  backdrop-filter: blur(24px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-l);
  padding: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 60px var(--orange-glow);
  animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideIn {
  from { transform: translateY(-20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.launcher__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.launcher__title {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--orange);
  text-transform: uppercase;
}

.launcher__close {
  width: 32px; height: 32px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--dim);
  border-radius: var(--radius-s);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 18px;
  line-height: 1;
  transition: all 0.2s ease;
}

.launcher__close:hover {
  color: var(--white);
  border-color: var(--orange);
}

.launcher__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}

.tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 18px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.tile:hover {
  border-color: var(--orange);
  background: rgba(255, 107, 26, 0.07);
  transform: translateY(-2px);
}

.tile.is-active {
  border-color: var(--orange);
  background: rgba(255, 107, 26, 0.1);
}

.tile__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 107, 26, 0.15);
  color: var(--orange);
  display: grid;
  place-items: center;
}

.tile__icon svg { width: 18px; height: 18px; }

.tile__label {
  font-family: var(--f-display);
  font-size: 17px;
  letter-spacing: 1px;
  color: var(--white);
  line-height: 1;
}

.tile__sub {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--dim);
  text-transform: uppercase;
}

.launcher__section {
  margin-top: 20px;
}

.launcher__heading {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 2.5px;
  color: var(--mute);
  text-transform: uppercase;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.launcher__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.launcher__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--white);
  font-size: 14px;
  transition: all 0.15s ease;
}

.launcher__list a:hover {
  background: rgba(255, 107, 26, 0.08);
  color: var(--orange);
}

.launcher__list a span:last-child {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--dim);
  letter-spacing: 1px;
}

.nav__burger {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  width: 44px; height: 44px;
  border-radius: var(--radius-s);
  cursor: pointer;
  position: relative;
}

.nav__burger span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}
.nav__burger span:nth-child(1) { top: 14px; }
.nav__burger span:nth-child(2) { top: 21px; }
.nav__burger span:nth-child(3) { top: 28px; }

.nav__burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

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

.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px clamp(20px, 4vw, 48px) 80px;
  overflow: hidden;
  z-index: 2;
  display: flex;
  align-items: center;
}

.hero__imgwrap {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.05) brightness(0.6) saturate(1.1);
  transform: scale(1.05);
  animation: slowzoom 18s ease-in-out infinite alternate;
}

@keyframes slowzoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.15); }
}

.hero__vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,12,0.8) 0%, rgba(10,10,12,0.3) 40%, rgba(10,10,12,0.95) 100%),
    radial-gradient(ellipse at 70% 40%, transparent 30%, rgba(10,10,12,0.6) 80%);
}

.hero__scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    180deg,
    transparent 0,
    transparent 3px,
    rgba(255, 255, 255, 0.015) 3px,
    rgba(255, 255, 255, 0.015) 4px
  );
  mix-blend-mode: overlay;
}

.hero__content {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  position: relative;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  background: rgba(10, 10, 12, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 100px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--dim);
  margin-bottom: 36px;
}

.hero__tag .dot {
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--orange);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero__title {
  font-family: var(--f-display);
  font-size: clamp(72px, 13vw, 220px);
  line-height: 0.88;
  letter-spacing: -0.01em;
  margin-bottom: 40px;
}

.hero__line {
  display: block;
}

.hero__line--accent {
  color: transparent;
  -webkit-text-stroke: 2px var(--orange);
  position: relative;
  background: linear-gradient(90deg, var(--orange), var(--orange-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 30px var(--orange-glow));
}

.hero__line--sub {
  font-size: clamp(22px, 3vw, 38px);
  letter-spacing: 0.4em;
  color: var(--dim);
  margin-top: 16px;
  font-family: var(--f-display);
}

.hero__quote {
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--white);
  max-width: 560px;
  margin-bottom: 40px;
  font-style: italic;
  border-left: 2px solid var(--orange);
  padding-left: 20px;
}

.hero__quote em {
  color: var(--orange);
  font-weight: 700;
  font-style: normal;
}

.hero__quote-mark {
  color: var(--orange);
  font-size: 1.3em;
  font-style: normal;
}

.hero__quote-author {
  display: block;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--dim);
  text-transform: uppercase;
  font-style: normal;
  margin-top: 10px;
}

.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.hero__stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  max-width: 720px;
}

.stat {
  display: flex;
  align-items: flex-end;
  gap: 14px;
}

.stat__num {
  font-family: var(--f-display);
  font-size: clamp(44px, 5vw, 64px);
  color: var(--orange);
  line-height: 1;
  letter-spacing: 0.02em;
}

.stat__label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--dim);
  text-transform: uppercase;
  line-height: 1.4;
  padding-bottom: 6px;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  right: clamp(20px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--dim);
}

.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, var(--orange), transparent);
  animation: scrollline 2s ease-in-out infinite;
}

@keyframes scrollline {
  0%, 100% { transform: scaleY(1); transform-origin: top; }
  50% { transform: scaleY(0.4); transform-origin: top; }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}

.btn:hover svg { transform: translateX(4px); }

.btn--primary {
  background: var(--orange);
  color: var(--black);
  box-shadow: 0 8px 30px var(--orange-glow);
}

.btn--primary:hover {
  background: var(--orange-2);
  box-shadow: 0 12px 40px var(--orange-glow);
  transform: translateY(-2px);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--white);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
}

.btn--ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(255, 107, 26, 0.05);
}

.btn--lg {
  padding: 18px 36px;
  font-size: 13px;
}

/* -------- Ticker -------- */

.ticker {
  position: relative;
  z-index: 3;
  background: var(--orange);
  color: var(--black);
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.ticker__track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  font-family: var(--f-display);
  font-size: 28px;
  letter-spacing: 3px;
  animation: tickscroll 40s linear infinite;
}

.ticker__track .sep {
  color: var(--black);
  opacity: 0.7;
}

@keyframes tickscroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* -------- Sections base -------- */

section {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 28px;
}

.eyebrow__bar {
  width: 40px;
  height: 1px;
  background: var(--orange);
}

.h2 {
  font-family: var(--f-display);
  font-size: clamp(44px, 6vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}

.accent { color: var(--orange); }

.lead {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--dim);
  max-width: 560px;
  line-height: 1.6;
}

.lead strong {
  color: var(--white);
  font-weight: 600;
}

/* -------- Split section (mission/vision) -------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  padding: clamp(80px, 10vw, 160px) clamp(20px, 4vw, 48px);
  max-width: var(--max);
  margin: 0 auto;
  align-items: center;
}

.split--reverse .split__media { order: 2; }
.split--reverse .split__body  { order: 1; }

.split__media {
  position: relative;
}

.split__imgwrap {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--black-2);
}

.split__imgwrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  filter: contrast(1.05) saturate(1.1);
  transition: transform 0.8s ease;
}

.split__imgwrap:hover img {
  transform: scale(1.04);
}

.split__frame {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 107, 26, 0.4);
  border-radius: calc(var(--radius-l) - 10px);
  pointer-events: none;
}

.split__frame::before,
.split__frame::after {
  content: "";
  position: absolute;
  width: 20px; height: 20px;
  border: 2px solid var(--orange);
}

.split__frame::before {
  top: -2px; left: -2px;
  border-right: none;
  border-bottom: none;
}

.split__frame::after {
  bottom: -2px; right: -2px;
  border-left: none;
  border-top: none;
}

.split__badge {
  position: absolute;
  bottom: 28px;
  left: 28px;
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-m);
  padding: 16px 22px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.split__badge span {
  font-family: var(--f-display);
  font-size: 36px;
  color: var(--orange);
  line-height: 1;
}

.split__badge small {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--dim);
  text-transform: uppercase;
}

.pillars {
  list-style: none;
  margin-top: 48px;
  display: grid;
  gap: 20px;
}

.pillars li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  transition: all 0.25s ease;
}

.pillars li:hover {
  border-color: var(--orange);
  background: rgba(255, 107, 26, 0.06);
  transform: translateX(6px);
}

.pillars__num {
  font-family: var(--f-display);
  font-size: 48px;
  color: var(--orange);
  line-height: 0.9;
}

.pillars h3 {
  font-family: var(--f-display);
  font-size: 26px;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.pillars p {
  font-size: 14px;
  color: var(--dim);
  line-height: 1.5;
}

.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  margin-top: 40px;
}

.vision-grid > div {
  background: var(--black-2);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: background 0.2s ease;
}

.vision-grid > div:hover {
  background: var(--black-3);
}

.vision-grid__k {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--orange);
  text-transform: uppercase;
}

.vision-grid__v {
  font-family: var(--f-display);
  font-size: 28px;
  letter-spacing: 1px;
}

/* -------- Quote section -------- */

.quote {
  padding: clamp(80px, 10vw, 160px) clamp(20px, 4vw, 48px);
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quote__rail {
  position: absolute;
  left: -20%; right: -20%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 60px;
  font-family: var(--f-display);
  font-size: clamp(100px, 15vw, 220px);
  color: rgba(255, 107, 26, 0.04);
  letter-spacing: 0.05em;
  white-space: nowrap;
  pointer-events: none;
  z-index: -1;
  animation: raildrift 30s linear infinite;
}

@keyframes raildrift {
  from { transform: translate(0, -50%); }
  to   { transform: translate(-50%, -50%); }
}

.quote__body {
  position: relative;
}

.quote__body p {
  font-size: clamp(18px, 2.1vw, 26px);
  line-height: 1.55;
  font-weight: 500;
  color: var(--white);
  max-width: 900px;
  margin: 0 auto 32px;
}

.quote__hi {
  color: var(--orange);
  font-weight: 600;
}

.quote__mark {
  color: var(--orange);
  font-family: var(--f-display);
  font-size: 1.4em;
}

.quote__body cite {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--dim);
  text-transform: uppercase;
  font-style: normal;
}

/* -------- Schedule -------- */

.schedule {
  padding: clamp(80px, 10vw, 160px) clamp(20px, 4vw, 48px);
  max-width: var(--max);
  margin: 0 auto;
}

.schedule__head {
  max-width: 720px;
  margin-bottom: 64px;
}

.schedule__list {
  display: grid;
  gap: 16px;
}

.race {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 28px 32px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.race::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--orange);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s ease;
}

.race:hover {
  border-color: var(--line-strong);
  background: rgba(255, 107, 26, 0.04);
  transform: translateY(-2px);
}

.race:hover::before { transform: scaleY(1); transform-origin: top; }

.race__date {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-right: 1px solid var(--line);
  padding-right: 24px;
}

.race__month {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--orange);
  text-transform: uppercase;
}

.race__day {
  font-family: var(--f-display);
  font-size: 56px;
  line-height: 0.9;
  color: var(--white);
}

.race__body h3 {
  font-family: var(--f-display);
  font-size: 30px;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.race__body p {
  font-size: 14px;
  color: var(--dim);
}

.race__tag {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--orange);
  text-transform: uppercase;
  border: 1px solid var(--orange);
  padding: 8px 14px;
  border-radius: 100px;
  background: rgba(255, 107, 26, 0.08);
}

.schedule__foot {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

/* -------- Program grid -------- */

.program {
  padding: clamp(80px, 10vw, 160px) clamp(20px, 4vw, 48px);
  max-width: var(--max);
  margin: 0 auto;
}

.program__head {
  text-align: center;
  margin-bottom: 72px;
}

.program__head .eyebrow { justify-content: center; }

.program__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.card {
  position: relative;
  padding: 40px 32px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  transition: all 0.3s ease;
  overflow: hidden;
  min-height: 240px;
  display: flex;
  flex-direction: column;
}

.card::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 100px; height: 100px;
  background: radial-gradient(circle at top right, var(--orange-glow), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  background: linear-gradient(180deg, rgba(255, 107, 26, 0.06), rgba(255, 107, 26, 0.01));
}

.card:hover::after { opacity: 1; }

.card__num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--orange);
  margin-bottom: 20px;
}

.card h3 {
  font-family: var(--f-display);
  font-size: 28px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.card p {
  font-size: 14px;
  color: var(--dim);
  line-height: 1.55;
  flex: 1;
}

.card__arrow {
  margin-top: 24px;
  font-size: 24px;
  color: var(--orange);
  transition: transform 0.25s ease;
  align-self: flex-start;
}

.card:hover .card__arrow {
  transform: translateX(8px);
}

/* -------- CTA -------- */

.cta {
  padding: clamp(80px, 10vw, 160px) clamp(20px, 4vw, 48px);
  text-align: center;
  position: relative;
}

.cta__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 40px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-l);
  background:
    radial-gradient(ellipse at top, rgba(255, 107, 26, 0.08), transparent 60%),
    rgba(255, 255, 255, 0.015);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.cta__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--orange) 0, transparent 2px, transparent calc(100% - 2px), var(--orange) 100%) top/100% 2px no-repeat,
    linear-gradient(to right, var(--orange) 0, transparent 2px, transparent calc(100% - 2px), var(--orange) 100%) bottom/100% 2px no-repeat;
  opacity: 0.4;
  pointer-events: none;
}

.cta__title {
  font-family: var(--f-display);
  font-size: clamp(60px, 9vw, 140px);
  line-height: 0.9;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.cta__sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--dim);
  max-width: 560px;
  margin: 0 auto 40px;
}

.cta__row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

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

.foot {
  border-top: 1px solid var(--line);
  padding: 60px clamp(20px, 4vw, 48px) 32px;
  background: rgba(10, 10, 12, 0.8);
  position: relative;
  z-index: 3;
}

.foot__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  max-width: var(--max);
  margin: 0 auto 40px;
}

.foot__brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.foot__mark {
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-s);
  overflow: hidden;
  background: var(--black-2);
  box-shadow: 0 0 18px var(--orange-glow);
}

.foot__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.foot__brand strong {
  font-family: var(--f-display);
  font-size: 22px;
  letter-spacing: 2px;
  display: block;
}

.foot__brand small {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--dim);
}

.foot__links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.foot__links a {
  color: var(--dim);
  transition: color 0.2s ease;
}

.foot__links a:hover { color: var(--orange); }

.foot__bar {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--mute);
  text-transform: uppercase;
}

/* -------- Reveal animations -------- */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }

  .nav__links.is-open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(10, 10, 12, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px clamp(20px, 4vw, 48px);
    gap: 20px;
    border-bottom: 1px solid var(--line);
  }

  .hero { padding: 120px 20px 60px; }
  .hero__scroll { display: none; }
  .hero__stats { gap: 28px; }
  .stat__num { font-size: 40px; }

  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .split--reverse .split__media { order: 1; }
  .split--reverse .split__body  { order: 2; }
  .split__imgwrap { aspect-ratio: 4/3; }

  .pillars li {
    grid-template-columns: 44px 1fr;
    gap: 14px;
    padding: 20px;
  }
  .pillars__num { font-size: 36px; }

  .vision-grid { grid-template-columns: 1fr; }

  .race {
    grid-template-columns: 90px 1fr;
    padding: 22px;
    gap: 20px;
  }
  .race__tag {
    grid-column: 1 / -1;
    justify-self: start;
  }
  .race__day { font-size: 42px; }
  .race__body h3 { font-size: 22px; }

  .cta__inner { padding: 48px 24px; }

  .foot__top { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .hero__quote {
    padding-left: 14px;
    font-size: 15px;
  }
  .ticker__track { font-size: 20px; }
  .hero__stats { gap: 18px; }
  .stat { flex: 1; min-width: 90px; }
}

/* -------- Sub-page hero -------- */

.subhero {
  position: relative;
  padding: 160px clamp(20px, 4vw, 48px) 80px;
  overflow: hidden;
  z-index: 2;
  border-bottom: 1px solid var(--line);
}

.subhero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.subhero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: brightness(0.35) saturate(1.1) contrast(1.05);
}

.subhero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,12,0.6) 0%, rgba(10,10,12,0.85) 100%),
    radial-gradient(ellipse at 30% 50%, rgba(255, 107, 26, 0.18), transparent 60%);
}

.subhero__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.subhero__crumbs {
  display: flex;
  gap: 10px;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--dim);
  text-transform: uppercase;
  margin-bottom: 28px;
}

.subhero__crumbs a {
  color: var(--dim);
  transition: color 0.2s ease;
}

.subhero__crumbs a:hover { color: var(--orange); }

.subhero__crumbs .sep { color: var(--mute); }

.subhero__crumbs .here { color: var(--orange); }

.subhero h1 {
  font-family: var(--f-display);
  font-size: clamp(56px, 9vw, 140px);
  line-height: 0.9;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  max-width: 12ch;
}

.subhero__lead {
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--dim);
  max-width: 640px;
}

.subhero__lead strong { color: var(--white); }

/* -------- Page content wrapper -------- */

.page {
  padding: clamp(60px, 8vw, 120px) clamp(20px, 4vw, 48px);
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page__head {
  margin-bottom: 56px;
  max-width: 760px;
}

.page__head .h2 {
  margin-bottom: 16px;
}

.section-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 80px 0 40px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--orange);
  text-transform: uppercase;
}

.section-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--orange), transparent);
}

/* -------- Schedule table -------- */

.tablewrap {
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.015);
  margin-bottom: 40px;
}

.tablewrap__scroll {
  overflow-x: auto;
}

.tbl {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--f-body);
  min-width: 720px;
}

.tbl thead th {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 2.5px;
  color: var(--dim);
  text-transform: uppercase;
  text-align: left;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.3);
  font-weight: 500;
}

.tbl tbody td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  vertical-align: middle;
}

.tbl tbody tr {
  transition: background 0.15s ease;
}

.tbl tbody tr:hover {
  background: rgba(255, 107, 26, 0.04);
}

.tbl tbody tr:last-child td { border-bottom: none; }

.tbl .col-date {
  font-family: var(--f-mono);
  color: var(--orange);
  white-space: nowrap;
  font-size: 13px;
}

.tbl .col-day {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--dim);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.tbl .col-event {
  font-family: var(--f-display);
  font-size: 18px;
  letter-spacing: 0.5px;
  color: var(--white);
}

.tbl tr.is-home {
  background: rgba(255, 107, 26, 0.06);
}

.tbl tr.is-home:hover { background: rgba(255, 107, 26, 0.1); }

.tag {
  display: inline-block;
  padding: 4px 10px;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 100px;
  border: 1px solid var(--line-strong);
  color: var(--dim);
  white-space: nowrap;
}

.tag--home { border-color: var(--orange); color: var(--orange); background: rgba(255, 107, 26, 0.08); }
.tag--qual { border-color: rgba(255, 138, 61, 0.5); color: var(--orange-2); }
.tag--all { border-color: var(--white); color: var(--white); }

/* -------- Meet detail card -------- */

.meet {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(24px, 4vw, 60px);
  padding: clamp(28px, 4vw, 48px);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.meet::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--orange), transparent);
}

.meet__date {
  border-right: 1px solid var(--line);
  padding-right: clamp(20px, 3vw, 40px);
}

.meet__date small {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 2.5px;
  color: var(--orange);
  text-transform: uppercase;
}

.meet__date h3 {
  font-family: var(--f-display);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 0.95;
  margin: 8px 0 14px;
  letter-spacing: 0.5px;
}

.meet__date p {
  font-size: 14px;
  color: var(--dim);
  line-height: 1.55;
  margin-bottom: 10px;
}

.meet__date p strong { color: var(--white); }

.meet__body {
  display: grid;
  gap: 24px;
}

.meet__row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.meet__row:last-child { border-bottom: none; padding-bottom: 0; }

.meet__row dt {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 2.5px;
  color: var(--dim);
  text-transform: uppercase;
  padding-top: 3px;
}

.meet__row dd {
  font-size: 15px;
  line-height: 1.55;
  color: var(--white);
}

.meet__row dd a {
  color: var(--orange);
  border-bottom: 1px dotted var(--orange);
}

.meet__row dd a:hover { color: var(--orange-2); }

/* -------- Coach contact cards -------- */

.coaches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.coach {
  padding: 28px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  transition: all 0.25s ease;
  position: relative;
}

.coach:hover {
  border-color: var(--orange);
  background: rgba(255, 107, 26, 0.05);
  transform: translateY(-2px);
}

.coach__role {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 2.5px;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.coach__name {
  font-family: var(--f-display);
  font-size: 28px;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.coach__contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--dim);
}

.coach__contact a {
  color: var(--white);
  word-break: break-all;
  transition: color 0.2s ease;
}

.coach__contact a:hover { color: var(--orange); }

/* -------- Generic info list -------- */

.info-list {
  display: grid;
  gap: 12px;
  list-style: none;
}

.info-list li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  font-size: 15px;
  line-height: 1.5;
}

.info-list .num {
  font-family: var(--f-display);
  color: var(--orange);
  font-size: 22px;
  line-height: 1;
}

/* -------- Action links list -------- */

.linklist {
  display: grid;
  gap: 8px;
}

.linklist a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  transition: all 0.2s ease;
}

.linklist a:hover {
  border-color: var(--orange);
  background: rgba(255, 107, 26, 0.05);
  transform: translateX(4px);
}

.linklist__main {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.linklist__title {
  font-family: var(--f-display);
  font-size: 20px;
  letter-spacing: 0.5px;
  color: var(--white);
}

.linklist__sub {
  font-size: 13px;
  color: var(--dim);
}

.linklist__arrow {
  font-size: 22px;
  color: var(--orange);
  transition: transform 0.2s ease;
}

.linklist a:hover .linklist__arrow { transform: translateX(6px); }

/* -------- Photo gallery -------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.gallery__item {
  position: relative;
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--black-2);
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transition: transform 0.6s ease;
}

.gallery__item:hover img { transform: scale(1.06); }

.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10,10,12,0.6) 100%);
  pointer-events: none;
}

.gallery__cap {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--white);
  text-transform: uppercase;
  z-index: 1;
}

.gallery__item--wide { grid-column: span 7; }
.gallery__item--tall { grid-column: span 5; }
.gallery__item--half { grid-column: span 6; }
.gallery__item--third { grid-column: span 4; }
.gallery__item--full { grid-column: span 12; aspect-ratio: 21/9; }
.gallery__item--full img { object-position: center 30%; }

@media (max-width: 800px) {
  .gallery__item--wide,
  .gallery__item--tall,
  .gallery__item--half,
  .gallery__item--third {
    grid-column: span 12;
  }
  .gallery { gap: 12px; }
}

/* -------- News article cards -------- */

.articles {
  display: grid;
  gap: 24px;
}

.article {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 32px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  transition: all 0.25s ease;
}

.article:hover {
  border-color: var(--line-strong);
  background: rgba(255, 107, 26, 0.03);
  transform: translateY(-2px);
}

.article__img {
  border-radius: var(--radius-m);
  overflow: hidden;
  aspect-ratio: 3/2;
  background: var(--black-2);
}

.article__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transition: transform 0.5s ease;
}

.article:hover .article__img img { transform: scale(1.04); }

.article__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.article__date {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.article__title {
  font-family: var(--f-display);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.article__excerpt {
  font-size: 15px;
  color: var(--dim);
  line-height: 1.6;
  margin-bottom: 18px;
}

.article__more {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--orange);
  text-transform: uppercase;
  align-self: flex-start;
}

@media (max-width: 800px) {
  .article { grid-template-columns: 1fr; gap: 18px; }
  .meet { grid-template-columns: 1fr; }
  .meet__date { border-right: none; border-bottom: 1px solid var(--line); padding-right: 0; padding-bottom: 24px; }
  .meet__row { grid-template-columns: 1fr; gap: 6px; }
  .launcher__grid { grid-template-columns: repeat(2, 1fr); }
}

/* -------- Schedule image -------- */

.schedule-img {
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  margin: 24px 0;
}

.schedule-img img {
  width: 100%;
  display: block;
}

/* -------- Reduced motion -------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
  .hero__img { animation: none; transform: scale(1); }
}
