/* ==========================================================================
   ADHARVA ACADEMY — "Floodlit Grit"
   Design system + components. Tokens live in :root; change them there only.
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  /* Surface */
  --ink:        #07080A;
  --ink-2:      #0D0F13;
  --ink-3:      #14171D;
  --ink-4:      #1C2027;

  /* Type */
  --chalk:      #F4F1EA;
  --chalk-dim:  #B9B6AE;
  --mute:       #8A8F99;

  /* Brand */
  --gold:       #E6B54A;
  --gold-deep:  #B98A2A;
  --ember:      #FF4D22;
  --turf:       #2E8B62;
  --pool:       #3BA3C7;

  /* Lines */
  --hair:       rgba(244, 241, 234, 0.10);
  --hair-2:     rgba(244, 241, 234, 0.18);

  /* Type families */
  --f-display: "Big Shoulders", "Big Shoulders Display", "Arial Narrow", sans-serif;
  --f-body:    "Plus Jakarta Sans", system-ui, sans-serif;
  --f-mono:    "JetBrains Mono", ui-monospace, monospace;

  /* Fluid scale */
  --t-mega:  clamp(2.6rem, 9.4vw, 9rem);
  --t-xxl:   clamp(2.3rem, 6.4vw, 5.6rem);
  --t-xl:    clamp(2.1rem, 5.2vw, 4.4rem);
  --t-lg:    clamp(1.55rem, 3vw, 2.5rem);
  --t-md:    clamp(1.15rem, 1.6vw, 1.45rem);
  --t-body:  1.0625rem;
  --t-sm:    0.9rem;
  --t-label: 0.6875rem;

  /* Rhythm */
  --gut:     clamp(1.25rem, 5vw, 5.5rem);
  --sect:    clamp(5.5rem, 13vh, 11rem);
  --maxw:    88rem;

  /* Motion */
  --ease:    cubic-bezier(0.32, 0.72, 0, 1);
  --ease-o:  cubic-bezier(0.22, 1, 0.36, 1);
  --fast:    220ms;
  --med:     520ms;
  --slow:    900ms;

  /* Radii */
  --r-sm: 0.625rem;
  --r-md: 1.125rem;
  --r-lg: 2rem;
  --r-xl: 2.75rem;
}

/* ---------- 2. Reset ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--ink);
  color: var(--chalk);
  font-family: var(--f-body);
  font-size: var(--t-body);
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--gold); color: var(--ink); }

/* ---------- 3. Typography ----------------------------------------------- */
.display {
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 100%;
  line-height: 0.84;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  text-wrap: balance;
}
.t-mega { font-size: var(--t-mega); }
.t-xxl  { font-size: var(--t-xxl); }
.t-xl   { font-size: var(--t-xl); }
.t-lg   { font-size: var(--t-lg); line-height: 0.95; }

.lede {
  font-size: var(--t-md);
  line-height: 1.5;
  color: var(--chalk-dim);
  max-width: 46ch;
  font-weight: 300;
}
p { text-wrap: pretty; }
.muted { color: var(--mute); }
.body-sm { font-size: var(--t-sm); color: var(--chalk-dim); }

.label {
  font-family: var(--f-mono);
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
}
.label--gold { color: var(--gold); }

/* Eyebrow pill */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.85rem 0.4rem 0.7rem;
  border: 1px solid var(--hair-2);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: var(--t-label);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--chalk-dim);
  background: rgba(244, 241, 234, 0.03);
  backdrop-filter: blur(8px);
  width: fit-content;
  justify-self: start;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(230, 181, 74, 0.18);
}

.gold { color: var(--gold); }
.ember { color: var(--ember); }

/* Outlined display text — used for ghost headlines */
.stroke {
  -webkit-text-stroke: 1px var(--hair-2);
  color: transparent;
}

/* ---------- 4. Layout --------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.section { padding-block: var(--sect); position: relative; }
.section--tight { padding-block: clamp(3rem, 7vh, 5.5rem); }

.sect-head {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
@media (min-width: 60rem) {
  .sect-head { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 3rem; }
}

.rule {
  height: 1px;
  background: var(--hair);
  border: 0;
  margin: 0;
}

.grid-2 { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 52rem) { .grid-2 { grid-template-columns: 1fr 1fr; } }

.grid-3 { display: grid; gap: clamp(1.25rem, 2vw, 1.75rem); }
@media (min-width: 46rem) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 70rem) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 5. Atmosphere: grain, glow, vignette ------------------------ */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 9000;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 7s steps(6) infinite;
  will-change: transform;
}
@keyframes grainShift {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-3%, 2%); }
  40%  { transform: translate(2%, -3%); }
  60%  { transform: translate(-2%, -2%); }
  80%  { transform: translate(3%, 1%); }
  100% { transform: translate(0, 0); }
}

/* Floodlight — big soft radial pools of light */
.flood {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}
.flood--gold  { background: radial-gradient(circle, rgba(230,181,74,0.55), transparent 70%); }
.flood--ember { background: radial-gradient(circle, rgba(255,77,34,0.40), transparent 70%); }
.flood--pool  { background: radial-gradient(circle, rgba(59,163,199,0.32), transparent 70%); }

/* Chalk field lines, like pitch markings */
.field-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--hair) 1px, transparent 1px),
    linear-gradient(to bottom, var(--hair) 1px, transparent 1px);
  background-size: clamp(60px, 9vw, 130px) clamp(60px, 9vw, 130px);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 20%, transparent 78%);
}

/* ---------- 6. Preloader ------------------------------------------------ */
.preload {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: var(--ink);
  display: grid;
  place-items: center;
  gap: 1rem;
}
.preload__inner { text-align: center; }
.preload__mark {
  width: clamp(5.5rem, 16vw, 9rem);
  height: auto;
  margin-inline: auto;
  opacity: 0.95;
}
.preload__bar {
  margin: 1.4rem auto 0;
  width: min(42vw, 280px);
  height: 2px;
  background: var(--hair);
  overflow: hidden;
}
.preload__fill {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--gold);
}
.preload__pct {
  margin-top: 0.9rem;
  font-family: var(--f-mono);
  font-size: var(--t-label);
  letter-spacing: 0.22em;
  color: var(--mute);
}

/* ---------- 7. Scroll progress + cursor --------------------------------- */
.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 8000;
  background: transparent;
  pointer-events: none;
}
.progress__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--ember));
}

.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold);
  z-index: 9200;
  pointer-events: none;
  mix-blend-mode: difference;
  transform: translate3d(-100px, -100px, 0);
  transition: width var(--fast) var(--ease), height var(--fast) var(--ease),
              opacity var(--fast) linear, background-color var(--fast) linear;
}
.cursor--active { width: 46px; height: 46px; background: rgba(230, 181, 74, 0.55); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- 8. Navigation ----------------------------------------------- */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  background: var(--gold);
  color: var(--ink);
  padding: 0.75rem 1.25rem;
  font-weight: 700;
}
.skip:focus { left: 1rem; top: 1rem; }

.nav {
  position: fixed;
  inset: clamp(0.9rem, 2vw, 1.6rem) 0 auto 0;
  z-index: 8500;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.nav__pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 2rem);
  padding: 0.5rem 0.55rem 0.5rem 1.15rem;
  border: 1px solid var(--hair-2);
  border-radius: 999px;
  background: rgba(13, 15, 19, 0.62);
  backdrop-filter: blur(22px) saturate(160%);
  box-shadow: 0 18px 50px -24px rgba(0, 0, 0, 0.9);
  max-width: calc(100vw - 2rem);
}
.nav__brand { display: flex; align-items: center; flex: 0 0 auto; }
.nav__brand img {
  height: 1.75rem;
  width: auto;
  opacity: 0.95;
  transition: opacity var(--fast) var(--ease);
}
.nav__brand:hover img { opacity: 1; }
@media (max-width: 26rem) { .nav__brand img { height: 1.45rem; } }
.nav__links { display: none; gap: 1.5rem; align-items: center; }
@media (min-width: 64rem) { .nav__links { display: flex; } }
.nav__link {
  font-family: var(--f-mono);
  font-size: var(--t-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--chalk-dim);
  position: relative;
  padding-block: 0.35rem;
  transition: color var(--fast) var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--med) var(--ease);
}
.nav__link:hover { color: var(--chalk); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--gold); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

/* Hamburger that morphs into an X */
.burger {
  width: 46px; height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(244, 241, 234, 0.07);
  display: grid;
  place-items: center;
  cursor: pointer;
  position: relative;
  flex: 0 0 auto;
  transition: background var(--fast) var(--ease);
}
.burger:hover { background: rgba(230, 181, 74, 0.2); }
.burger__line {
  position: absolute;
  left: 50%;
  width: 17px; height: 1.5px;
  background: var(--chalk);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform var(--med) var(--ease), opacity var(--fast) linear;
}
.burger__line:nth-child(1) { top: 18px; }
.burger__line:nth-child(2) { bottom: 18px; }
.burger[aria-expanded="true"] .burger__line:nth-child(1) {
  top: 50%; transform: translate(-50%, -50%) rotate(45deg);
}
.burger[aria-expanded="true"] .burger__line:nth-child(2) {
  bottom: auto; top: 50%; transform: translate(-50%, -50%) rotate(-45deg);
}

/* Full-screen overlay menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 8400;
  background: rgba(7, 8, 10, 0.86);
  backdrop-filter: blur(28px) saturate(140%);
  display: grid;
  align-content: center;
  padding: 6rem var(--gut) 3rem;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path var(--slow) var(--ease), visibility 0s linear var(--slow);
}
.menu.is-open {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path var(--slow) var(--ease), visibility 0s linear 0s;
}
.menu__list { display: grid; gap: clamp(0.25rem, 1vw, 0.6rem); max-width: var(--maxw); margin-inline: auto; width: 100%; }
.menu__item { overflow: hidden; }
.menu__link {
  display: flex;
  align-items: baseline;
  gap: clamp(0.8rem, 2vw, 2rem);
  padding-block: clamp(0.3rem, 1vw, 0.7rem);
  transform: translateY(110%);
  transition: transform var(--slow) var(--ease);
}
.menu.is-open .menu__link { transform: translateY(0); }
.menu__num {
  font-family: var(--f-mono);
  font-size: var(--t-label);
  color: var(--gold);
  letter-spacing: 0.2em;
  flex: 0 0 auto;
}
.menu__text {
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.3rem, 9vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.015em;
  transition: color var(--fast) var(--ease), transform var(--med) var(--ease);
}
.menu__link:hover .menu__text { color: var(--gold); transform: translateX(clamp(6px, 1.2vw, 20px)); }
.menu__meta {
  margin-top: clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  max-width: var(--maxw);
  margin-inline: auto;
  width: 100%;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hair);
}

/* ---------- 9. Buttons -------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.55rem 0.55rem 0.55rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background var(--med) var(--ease), color var(--med) var(--ease),
              border-color var(--med) var(--ease), transform var(--med) var(--ease);
  will-change: transform;
}
.btn__ic {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  transition: transform var(--med) var(--ease), background var(--med) var(--ease);
}
.btn__ic svg { width: 15px; height: 15px; }

.btn--primary { background: var(--gold); color: var(--ink); }
.btn--primary .btn__ic { background: rgba(7, 8, 10, 0.14); }
.btn--primary:hover { background: var(--chalk); }
.btn--primary:hover .btn__ic { transform: translateX(3px) rotate(45deg); }

.btn--ember { background: var(--ember); color: #100502; }
.btn--ember .btn__ic { background: rgba(0, 0, 0, 0.16); }
.btn--ember:hover { background: var(--gold); }
.btn--ember:hover .btn__ic { transform: translateX(3px) rotate(45deg); }

.btn--ghost { background: transparent; color: var(--chalk); border-color: var(--hair-2); }
.btn--ghost .btn__ic { background: rgba(244, 241, 234, 0.08); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--ghost:hover .btn__ic { transform: translateX(3px) rotate(45deg); background: rgba(230, 181, 74, 0.18); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--f-mono);
  font-size: var(--t-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  padding-block: 0.4rem;
}
.link-arrow svg { width: 13px; height: 13px; transition: transform var(--med) var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- 10. Bezel cards (nested hardware look) ---------------------- */
.bezel {
  background: rgba(244, 241, 234, 0.035);
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  padding: 0.4rem;
  transition: border-color var(--med) var(--ease), background var(--med) var(--ease),
              transform var(--med) var(--ease);
  will-change: transform;
}
.bezel:hover { border-color: var(--hair-2); background: rgba(244, 241, 234, 0.055); }
.bezel__core {
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
  border-radius: calc(var(--r-lg) - 0.4rem);
  box-shadow: inset 0 1px 0 rgba(244, 241, 234, 0.07);
  height: 100%;
  overflow: hidden;
}
.pad { padding: clamp(1.4rem, 2.4vw, 2.2rem); }

/* ---------- 11. Image placeholders -------------------------------------- */
.ph {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(244,241,234,0.035) 0 1px, transparent 1px 11px),
    linear-gradient(160deg, var(--ink-4), var(--ink-2) 65%);
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  isolation: isolate;
}
.ph::before, .ph::after {
  content: "";
  position: absolute;
  background: var(--hair);
  z-index: 0;
}
.ph::before { left: 0; right: 0; top: 50%; height: 1px; }
.ph::after { top: 0; bottom: 0; left: 50%; width: 1px; }
.ph__tag {
  position: relative;
  z-index: 1;
  font-family: var(--f-mono);
  font-size: var(--t-label);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
  text-align: center;
  padding: 0.5rem 0.9rem;
  border: 1px dashed var(--hair-2);
  border-radius: 999px;
  background: rgba(7, 8, 10, 0.5);
  line-height: 1.5;
}
.ph--4x5 { aspect-ratio: 4 / 5; }
.ph--1x1 { aspect-ratio: 1 / 1; }
.ph--16x9 { aspect-ratio: 16 / 9; }
.ph--3x4 { aspect-ratio: 3 / 4; }
.ph--tall { aspect-ratio: 2 / 3; }

/* ---------- 12. Hero ---------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  align-content: center;
  padding-block: clamp(6.5rem, 13vh, 8.5rem) clamp(2.5rem, 7vh, 5rem);
  overflow: clip;
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(1.1rem, 2.2vw, 1.9rem);
}
.hero__cols { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 64rem) {
  .hero__cols { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; }
}
.hero__title { margin-block: 0.3rem 0.6rem; }
.hero__title .ln {
  display: block;
  /* Mask for the slide-up reveal. line-height < 1 means glyphs overflow the
     content box, so pad the clip edge below the baseline and pull the extra
     space back with a negative margin to keep the lines tight. */
  overflow: hidden;
  padding-bottom: 0.2em;
  margin-bottom: -0.16em;
}
.hero__title .ln > span { display: block; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem 1.1rem; align-items: center; }
.hero__aside { display: grid; gap: 1.25rem; }
.hero__aside .ph { aspect-ratio: 2 / 1; }
.hero__scroll {
  position: absolute;
  left: var(--gut);
  bottom: clamp(1.25rem, 3vh, 2.5rem);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 3;
}
.hero__scroll-line {
  width: 1px; height: 46px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 14px;
  background: var(--chalk);
  animation: scrollCue 1.9s var(--ease) infinite;
}
@keyframes scrollCue {
  0%   { transform: translateY(-100%); opacity: 0; }
  40%  { opacity: 1; }
  100% { transform: translateY(330%); opacity: 0; }
}

/* Kinetic oversized word behind hero */
.ghost-word {
  position: absolute;
  left: 50%;
  bottom: -4vh;
  transform: translateX(-50%);
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(6rem, 25vw, 26rem);
  line-height: 0.75;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 241, 234, 0.07);
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
  user-select: none;
}

/* ---------- 13. Marquee ------------------------------------------------- */
.marquee {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--hair);
  padding-block: clamp(0.9rem, 1.8vw, 1.5rem);
  background: var(--ink-2);
}
.marquee__track {
  display: flex;
  gap: clamp(1.5rem, 3vw, 3rem);
  width: max-content;
  animation: slide 34s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.4rem, 3.2vw, 2.6rem);
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: var(--chalk-dim);
}
.marquee__item i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex: 0 0 auto;
}
@keyframes slide {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* ---------- 14. Stats --------------------------------------------------- */
.stats {
  display: grid;
  gap: 1px;
  background: var(--hair);
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  overflow: hidden;
}
@media (min-width: 40rem) { .stats { grid-template-columns: 1fr 1fr; } }
@media (min-width: 68rem) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  background: var(--ink-2);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  display: grid;
  gap: 0.5rem;
  align-content: start;
  transition: background var(--med) var(--ease);
}
.stat:hover { background: var(--ink-3); }
.stat__num {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(3rem, 7vw, 5.4rem);
  line-height: 0.88;
  color: var(--gold);
  display: flex;
  align-items: baseline;
  gap: 0.1em;
}
.stat__num sup { font-size: 0.4em; color: var(--chalk); }
.stat__k { font-weight: 600; font-size: 0.98rem; }

/* ---------- 15. Horizontal discipline rail ------------------------------ */
.rail { position: relative; overflow: clip; }
.rail__viewport { display: flex; gap: clamp(1rem, 2vw, 1.75rem); width: max-content; padding-inline: var(--gut); }
.rail__card {
  width: clamp(16rem, 78vw, 24rem);
  flex: 0 0 auto;
}
.disc {
  position: relative;
  height: 100%;
  min-height: clamp(23rem, 46vh, 32rem);
  display: grid;
  align-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.4rem, 2.4vw, 2.1rem);
  background: linear-gradient(170deg, var(--ink-3), var(--ink-2) 70%);
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--med) var(--ease), transform var(--med) var(--ease);
}
.disc:hover { border-color: rgba(230, 181, 74, 0.45); }
.disc__glow {
  position: absolute;
  width: 16rem; height: 16rem;
  right: -6rem; top: -6rem;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.38;
  transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease);
}
.disc:hover .disc__glow { opacity: 0.75; transform: scale(1.18); }
.disc__ic {
  width: 56px; height: 56px;
  border-radius: 14px;
  border: 1px solid var(--hair-2);
  display: grid;
  place-items: center;
  background: rgba(7, 8, 10, 0.5);
  position: relative;
  z-index: 1;
}
.disc__ic svg { width: 28px; height: 28px; stroke: var(--gold); fill: none; stroke-width: 1.25; }
.disc__head { position: relative; z-index: 1; display: grid; gap: 0.8rem; }
.disc__idx {
  position: absolute;
  right: clamp(1.2rem, 2vw, 1.8rem);
  top: clamp(1.1rem, 2vw, 1.6rem);
  font-family: var(--f-mono);
  font-size: var(--t-label);
  letter-spacing: 0.2em;
  color: var(--mute);
  z-index: 1;
}
.disc__body { position: relative; z-index: 1; display: grid; gap: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip {
  font-family: var(--f-mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--hair-2);
  border-radius: 999px;
  color: var(--chalk-dim);
}

/* ---------- 16. Method (pinned steps) ----------------------------------- */
.method { position: relative; }
.method__list { display: grid; gap: 1px; background: var(--hair); border-block: 1px solid var(--hair); }
.method__row {
  background: var(--ink);
  display: grid;
  gap: 1rem;
  padding: clamp(1.6rem, 3.5vw, 3rem) 0;
  align-items: start;
  position: relative;
  transition: background var(--med) var(--ease);
}
@media (min-width: 56rem) {
  .method__row { grid-template-columns: 7rem minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
}
.method__row:hover { background: var(--ink-2); }
.method__row::before {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  height: 1px; width: 0;
  background: var(--gold);
  transition: width var(--slow) var(--ease);
}
.method__row:hover::before { width: 100%; }
.method__n {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px var(--hair-2);
  transition: color var(--med) var(--ease), -webkit-text-stroke-color var(--med) var(--ease);
}
.method__row:hover .method__n { color: var(--gold); -webkit-text-stroke-color: transparent; }

/* ---------- 17. Champion cards ------------------------------------------ */
.champ-cascade { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
@media (min-width: 52rem) {
  .champ-cascade { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .champ-cascade > :nth-child(2) { transform: translateY(clamp(1.5rem, 4vw, 3.5rem)); }
  .champ-cascade > :nth-child(3) { transform: translateY(clamp(0.5rem, 1.5vw, 1.5rem)); }
}
.champ { position: relative; display: grid; gap: 1rem; }
.champ__media { position: relative; overflow: hidden; border-radius: var(--r-md); }
.champ__badge {
  position: absolute;
  left: 0.85rem; top: 0.85rem;
  z-index: 2;
  font-family: var(--f-mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 500;
}
.champ__badge--state { background: var(--chalk); }
.champ__badge--intl { background: var(--ember); color: #120400; }
.champ__name { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: var(--t-lg); line-height: 0.95; }
.champ__meta { display: flex; flex-wrap: wrap; gap: 0.35rem 0.9rem; }

/* Honour roll table-ish list */
.roll { border-top: 1px solid var(--hair); }
.roll__row {
  display: grid;
  gap: 0.35rem 1.5rem;
  padding: clamp(1.1rem, 2vw, 1.6rem) 0;
  border-bottom: 1px solid var(--hair);
  align-items: center;
  position: relative;
  transition: padding-left var(--med) var(--ease), background var(--med) var(--ease);
}
@media (min-width: 56rem) {
  .roll__row { grid-template-columns: 5rem minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.3fr) auto; }
}
.roll__row:hover { padding-left: 1rem; background: linear-gradient(90deg, rgba(230,181,74,0.07), transparent 60%); }
.roll__yr { font-family: var(--f-mono); font-size: var(--t-label); letter-spacing: 0.18em; color: var(--gold); }
.roll__name { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: 1.45rem; line-height: 1; }
.roll__tag {
  justify-self: start;
  font-family: var(--f-mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--hair-2);
  color: var(--chalk-dim);
}
@media (min-width: 56rem) { .roll__tag { justify-self: end; } }
.roll__tag--nat { border-color: var(--gold); color: var(--gold); }
.roll__tag--intl { border-color: var(--ember); color: var(--ember); }

/* Filter chips */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filter {
  font-family: var(--f-mono);
  font-size: var(--t-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  border: 1px solid var(--hair-2);
  border-radius: 999px;
  background: transparent;
  color: var(--chalk-dim);
  cursor: pointer;
  transition: all var(--fast) var(--ease);
}
.filter:hover { border-color: var(--gold); color: var(--gold); }
.filter[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* ---------- 18. Coaches ------------------------------------------------- */
.coach { position: relative; display: grid; gap: 1.1rem; }
.coach__media { position: relative; overflow: hidden; border-radius: var(--r-md); }
.coach__media .ph {
  aspect-ratio: 1 / 1;
  transition: transform var(--slow) var(--ease), filter var(--slow) var(--ease);
}
.coach:hover .coach__media .ph { transform: scale(1.04); }
.coach__overlay {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 1.1rem;
  background: linear-gradient(to top, rgba(7,8,10,0.94), transparent);
  transform: translateY(101%);
  transition: transform var(--med) var(--ease);
}
.coach:hover .coach__overlay, .coach:focus-within .coach__overlay { transform: translateY(0); }
.coach__role { font-family: var(--f-mono); font-size: var(--t-label); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }

/* ---------- 19. Timeline ------------------------------------------------ */
.tl { position: relative; display: grid; gap: 0; padding-left: 1.75rem; }
.tl::before {
  content: "";
  position: absolute;
  left: 4px; top: 0.6rem; bottom: 0.6rem;
  width: 1px;
  background: var(--hair);
}
.tl__item { position: relative; padding: clamp(1.1rem, 2vw, 1.8rem) 0; border-bottom: 1px solid var(--hair); }
.tl__item:last-child { border-bottom: 0; }
.tl__item::before {
  content: "";
  position: absolute;
  left: -1.75rem; top: calc(clamp(1.1rem, 2vw, 1.8rem) + 0.55rem);
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid var(--gold);
  transition: background var(--med) var(--ease), transform var(--med) var(--ease);
}
.tl__item:hover::before { background: var(--gold); transform: scale(1.3); }

/* ---------- 20. Quote --------------------------------------------------- */
.quote {
  display: grid;
  gap: 1.75rem;
  padding: clamp(1.75rem, 4vw, 3.5rem);
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(230, 181, 74, 0.08), transparent 55%),
    var(--ink-2);
  position: relative;
}
.quote__mark {
  font-family: var(--f-display);
  font-size: clamp(4rem, 9vw, 7rem);
  line-height: 0.6;
  color: var(--gold);
  opacity: 0.45;
}
.quote__text { font-size: clamp(1.15rem, 2.4vw, 1.8rem); line-height: 1.42; font-weight: 300; text-wrap: balance; }
.quote__by { display: flex; align-items: center; gap: 0.9rem; }

/* ---------- 21. Forms -------------------------------------------------- */
.form { display: grid; gap: 1.1rem; }
@media (min-width: 46rem) { .form { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.5rem; }
.field--full { grid-column: 1 / -1; }
.field > label {
  font-family: var(--f-mono);
  font-size: var(--t-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--chalk-dim);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.95rem 1.1rem;
  background: var(--ink-2);
  border: 1px solid var(--hair);
  border-radius: var(--r-sm);
  color: var(--chalk);
  transition: border-color var(--fast) var(--ease), background var(--fast) var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--mute); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--hair-2); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--ink-3);
}
.field textarea { resize: vertical; min-height: 7.5rem; }
.form__note { grid-column: 1 / -1; }

/* Accordion */
.acc { border-top: 1px solid var(--hair); }
.acc__item { border-bottom: 1px solid var(--hair); }
.acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.1rem, 2vw, 1.6rem) 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  line-height: 1.1;
  transition: color var(--fast) var(--ease);
}
.acc__btn:hover { color: var(--gold); }
.acc__ic {
  flex: 0 0 auto;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--hair-2);
  display: grid;
  place-items: center;
  position: relative;
  transition: transform var(--med) var(--ease), border-color var(--fast) var(--ease);
}
.acc__ic::before, .acc__ic::after {
  content: "";
  position: absolute;
  background: currentColor;
}
.acc__ic::before { width: 11px; height: 1px; }
.acc__ic::after { width: 1px; height: 11px; transition: transform var(--med) var(--ease); }
.acc__btn[aria-expanded="true"] .acc__ic { transform: rotate(180deg); border-color: var(--gold); }
.acc__btn[aria-expanded="true"] .acc__ic::after { transform: scaleY(0); }
.acc__panel { overflow: hidden; }
.js .acc__panel { height: 0; }
.acc__panel-inner { padding-bottom: 1.5rem; max-width: 62ch; }

/* ---------- 21b. Check lists ------------------------------------------- */
.checks { display: grid; gap: 0.55rem; }
.checks li {
  display: grid;
  grid-template-columns: 1.1rem 1fr;
  gap: 0.7rem;
  align-items: start;
  font-size: var(--t-sm);
  color: var(--chalk-dim);
  line-height: 1.5;
}
.checks li::before {
  content: "";
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  border-radius: 50%;
  border: 1px solid rgba(230, 181, 74, 0.45);
  background-color: rgba(230, 181, 74, 0.1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.3 4.9 8.5 9.4 3.9' fill='none' stroke='%23E6B54A' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.72rem 0.72rem;
}

/* ---------- 21c. Camp cards ------------------------------------------- */
.camp { display: grid; gap: 1rem; align-content: start; height: 100%; }
.camp__top { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; justify-content: space-between; }
.status {
  font-family: var(--f-mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: rgba(230, 181, 74, 0.14);
  border: 1px solid rgba(230, 181, 74, 0.4);
  color: var(--gold);
  white-space: nowrap;
}
.status--open { background: rgba(255, 77, 34, 0.14); border-color: rgba(255, 77, 34, 0.45); color: var(--ember); }
.status--soon { background: transparent; border-color: var(--hair-2); color: var(--mute); }

/* ---------- 22. Info rows ---------------------------------------------- */
.info { display: grid; gap: 0; border-top: 1px solid var(--hair); }
.info__row {
  display: grid;
  gap: 0.3rem 2rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--hair);
}
@media (min-width: 40rem) { .info__row { grid-template-columns: 9rem 1fr; align-items: baseline; } }

/* ---------- 23. CTA band ----------------------------------------------- */
.cta-band {
  position: relative;
  overflow: clip;
  border-radius: var(--r-xl);
  border: 1px solid var(--hair);
  background: linear-gradient(150deg, var(--ink-3), var(--ink) 70%);
  padding: clamp(2.2rem, 6vw, 5rem);
  display: grid;
  gap: 2rem;
  text-align: center;
  place-items: center;
}
.cta-band__inner { position: relative; z-index: 2; display: grid; gap: 1.5rem; place-items: center; }

/* ---------- 24. Footer ------------------------------------------------- */
.footer { position: relative; border-top: 1px solid var(--hair); background: var(--ink-2); overflow: clip; }
.footer__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}
@media (min-width: 56rem) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer__col { display: grid; gap: 0.85rem; align-content: start; }
.footer__logo { height: 2.9rem; width: auto; opacity: 0.9; }
.footer__col a { color: var(--chalk-dim); transition: color var(--fast) var(--ease); width: fit-content; }
.footer__col a:hover { color: var(--gold); }
.footer__word {
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(3.5rem, 17vw, 15rem);
  line-height: 0.72;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 241, 234, 0.1);
  text-align: center;
  user-select: none;
  padding-bottom: 0.5rem;
}
.footer__base {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
  padding-block: 1.5rem;
  border-top: 1px solid var(--hair);
}

/* ---------- 25. Page header (inner pages) ------------------------------ */
.page-head {
  position: relative;
  padding-block: clamp(8rem, 20vh, 13rem) clamp(2.5rem, 6vh, 4.5rem);
  overflow: clip;
}
.page-head__grid { display: grid; gap: 1.75rem; position: relative; z-index: 2; }
@media (min-width: 64rem) {
  .page-head__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: end; gap: 3rem; }
}
.crumb { display: flex; align-items: center; gap: 0.6rem; }

/* ---------- 26. Reveal states ------------------------------------------ */
/* No-JS and pre-paint safety: nothing is hidden unless JS is confirmed.
   Pre-hiding uses opacity only — never transform. GSAP composes an existing
   CSS transform into its own base, so a pre-set translate would make every
   tween land back on the hidden offset. */
.preload { display: none; }
.js .preload { display: grid; }
.js [data-hero-line], .js [data-hero-fade] { opacity: 0; }
.js [data-reveal] { opacity: 0; }
.js [data-reveal="mask"] { overflow: hidden; padding-bottom: 0.2em; margin-bottom: -0.16em; }

/* ---------- 27. Utilities ---------------------------------------------- */
/* A `display` declaration outranks the UA rule for [hidden], so filtered
   rows would stay visible without this. */
[hidden] { display: none !important; }

.stack { display: grid; gap: 1.25rem; align-content: start; }
.stack-sm { display: grid; gap: 0.6rem; align-content: start; }
.row { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; align-items: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.center { text-align: center; }
.mt-auto { margin-top: auto; }
.pt-1 { padding-top: 0.5rem; }
.maxw-50 { max-width: 50ch; }
.maxw-62 { max-width: 62ch; }

/* ---------- 28. Reduced motion ----------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .grain { animation: none; }
  .marquee__track { animation: none; transform: none; }
  .hero__scroll-line::after { animation: none; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .js [data-reveal="mask"] > * { transform: none !important; }
  .js [data-hero-line], .js [data-hero-fade] { opacity: 1 !important; }
  .menu { transition: none; }
  .champ-cascade > :nth-child(n) { transform: none !important; }
}
