/* ============================================================
   MERIDIAN ATHLETICS FEDERATION — Variant B
   Light, editorial, world-class international governing body.
   Palette: ivory/white + championship deep green + gold accent.
   Type: Fraunces (display serif) + Hanken Grotesk (body/UI).
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* primary — SWF royal purple */
  --green-900: #1E0E38;
  --green-800: #2A1250;
  --green-700: #3C186C;
  --green-600: #4A2178;
  --green-500: #6C5490;
  --green-300: #A892C4;
  --green-100: #ECE6F4;

  /* accent — Saudi green */
  --gold-700: #006A30;
  --gold-600: #00843C;
  --gold-500: #1A9952;
  --gold-400: #5CBF8A;
  --gold-100: #E3F6EC;

  /* neutrals — warm ivory */
  --ivory: #f8f6f0;
  --paper: #fffdf8;
  --paper-2: #f1eee5;
  --line: #e3ddcf;
  --line-soft: #ece7da;
  --ink-900: #16201b;
  --ink-700: #2c372f;
  --ink-500: #586059;
  --ink-400: #7c8378;

  /* medals */
  --medal-gold: #c9a227;
  --medal-silver: #9aa0a6;
  --medal-bronze: #b07a45;

  --maxw: 1240px;
  --gutter: clamp(1.1rem, 4vw, 3rem);
  --radius: 4px;
  --radius-lg: 14px;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, sans-serif;

  --shadow-sm: 0 1px 2px rgba(40, 18, 70, .06), 0 2px 8px rgba(40, 18, 70, .05);
  --shadow-md: 0 6px 24px rgba(40, 18, 70, .10), 0 2px 6px rgba(40, 18, 70, .06);
  --shadow-lg: 0 28px 70px rgba(40, 18, 70, .18);

  --header-h: 84px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body {
  font-family: var(--sans);
  color: var(--ink-900);
  background: var(--ivory);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 2px;
}

/* skip link */
.skip-link {
  position: absolute; left: 14px; top: -60px; z-index: 200;
  background: var(--green-800); color: #fff; padding: .7rem 1.1rem;
  border-radius: var(--radius); font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 14px; }

/* ---------- Type scale ---------- */
.display {
  font-family: var(--serif);
  font-weight: 540;
  line-height: 1.02;
  letter-spacing: -.012em;
  font-optical-sizing: auto;
}
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 560; line-height: 1.08; letter-spacing: -.01em; }
.kicker {
  font-family: var(--sans);
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--green-600);
  display: inline-flex; align-items: center; gap: .6rem;
}
.kicker::before {
  content: ""; width: 26px; height: 2px; background: var(--gold-500); display: inline-block;
}
.kicker.on-dark { color: var(--gold-400); }
.kicker.on-dark::before { background: var(--gold-400); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section-head { max-width: 60ch; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head h2 { font-size: clamp(2rem, 4.6vw, 3.3rem); margin-top: .9rem; color: var(--green-900); }
.section-head p { margin-top: 1rem; color: var(--ink-500); font-size: 1.06rem; max-width: 54ch; }
.lede { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--ink-700); line-height: 1.55; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .92rem 1.5rem; border-radius: var(--radius);
  font-weight: 650; font-size: .98rem; letter-spacing: .01em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn--primary { background: var(--green-700); color: var(--paper); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--green-800); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--gold { background: linear-gradient(135deg, var(--gold-500), var(--gold-600)); color: #fff; box-shadow: 0 6px 18px rgba(0,132,60,.32); font-weight: 700; }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,132,60,.42); }
.btn--ghost { background: transparent; color: var(--green-800); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--green-600); transform: translateY(-2px); }
.btn--on-dark { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); }
.btn--on-dark:hover { background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.85); transform: translateY(-2px); }
.btn--lg { padding: 1.05rem 1.9rem; font-size: 1.04rem; }

/* ============================================================
   CREST / WORDMARK
   ============================================================ */
.brand { display: inline-flex; align-items: center; gap: .75rem; }
.crest { width: 46px; height: 46px; flex: none; transition: transform .4s var(--ease); }
.brand:hover .crest { transform: rotate(-4deg) scale(1.04); }
.wordmark { display: flex; flex-direction: column; line-height: 1; }
.wordmark b {
  font-family: var(--serif); font-weight: 600; font-size: 1.18rem;
  letter-spacing: .005em; color: var(--green-900);
}
.wordmark span {
  font-family: var(--sans); font-weight: 700; font-size: .58rem;
  letter-spacing: .28em; text-transform: uppercase; color: var(--gold-700);
  margin-top: 3px;
}

/* ============================================================
   HEADER  (light interior; transparent-over-dark hero)
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: height .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s var(--ease);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; width: 100%; }

/* default light state (interior pages) */
.site-header {
  background: rgba(248, 246, 240, .9);
  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  box-shadow: 0 1px 0 var(--line);
}

/* transparent over a dark hero */
.site-header.over-hero {
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.site-header.over-hero .wordmark b { color: #fff; }
.site-header.over-hero .wordmark span { color: var(--gold-400); }
.site-header.over-hero .main-nav a { color: rgba(255,255,255,.9); }
.site-header.over-hero .main-nav a:hover,
.site-header.over-hero .main-nav a[aria-current="page"] { color: #fff; }
.site-header.over-hero .main-nav a::after { background: var(--gold-400); }
.site-header.over-hero .crest .crest-ground { fill: rgba(255,255,255,.08); }
.site-header.over-hero .crest .crest-ring { stroke: rgba(255,255,255,.7); }
.site-header.over-hero .crest .crest-mono,
.site-header.over-hero .crest .crest-laurel { fill: #fff; }
.site-header.over-hero .crest .crest-star { fill: var(--gold-400); }
.site-header.over-hero .nav-toggle span { background: #fff; }

/* shrunk / scrolled — always light glass even on hero pages */
.site-header.shrink {
  height: 66px;
  background: rgba(248, 246, 240, .94);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: var(--shadow-sm);
}
.site-header.shrink .wordmark b { color: var(--green-900); }
.site-header.shrink .wordmark span { color: var(--gold-700); }
.site-header.shrink .main-nav a { color: var(--ink-700); }
.site-header.shrink .main-nav a:hover,
.site-header.shrink .main-nav a[aria-current="page"] { color: var(--green-800); }
.site-header.shrink .crest .crest-ground { fill: var(--green-100); }
.site-header.shrink .crest .crest-ring { stroke: var(--green-700); }
.site-header.shrink .crest .crest-mono,
.site-header.shrink .crest .crest-laurel { fill: var(--green-800); }
.site-header.shrink .crest .crest-star { fill: var(--gold-600); }
.site-header.shrink .crest { width: 40px; height: 40px; }
.site-header.shrink .nav-toggle span { background: var(--green-900); }

.main-nav ul { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.1rem); }
.main-nav a {
  position: relative; font-weight: 600; font-size: .96rem; color: var(--ink-700);
  padding: .4rem 0; transition: color .2s var(--ease);
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%;
  background: var(--green-600); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 1rem; }

/* mobile toggle */
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: var(--radius);
  flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--green-900); transition: transform .3s var(--ease), opacity .2s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile drawer */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 99;
  background: var(--green-900);
  color: #fff;
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--gutter);
  transform: translateY(-100%);
  transition: transform .42s var(--ease);
  visibility: hidden;
}
.mobile-drawer.open { transform: translateY(0); visibility: visible; }
.mobile-drawer nav ul { display: flex; flex-direction: column; gap: .4rem; }
.mobile-drawer nav a {
  font-family: var(--serif); font-size: clamp(1.8rem, 8vw, 2.6rem); font-weight: 520;
  color: rgba(255,255,255,.92); padding: .35rem 0; display: inline-block;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mobile-drawer nav a:hover { color: var(--gold-400); }
.mobile-drawer .drawer-cta { margin-top: 2rem; }
.mobile-drawer .drawer-meta { margin-top: 2.5rem; color: rgba(255,255,255,.5); font-size: .85rem; letter-spacing: .03em; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: flex-end;
  padding-top: var(--header-h); color: #fff; overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(40,18,70,.62) 0%, rgba(40,18,70,.28) 32%, rgba(40,18,70,.40) 60%, rgba(40,18,70,.92) 100%),
    linear-gradient(100deg, rgba(40,18,70,.55) 0%, rgba(40,18,70,0) 55%);
}
.hero-inner { width: 100%; padding-bottom: clamp(3rem, 8vw, 6rem); }
.hero-eyebrow { margin-bottom: 1.4rem; }
.hero h1 {
  font-size: clamp(2.7rem, 8.2vw, 6.4rem);
  line-height: .98; letter-spacing: -.018em; max-width: 16ch;
  text-shadow: 0 2px 30px rgba(0,0,0,.25);
}
.hero h1 em { font-style: italic; color: var(--gold-400); }
.hero-sub { margin-top: 1.5rem; max-width: 46ch; font-size: clamp(1.05rem, 2vw, 1.3rem); color: rgba(255,255,255,.92); }
.hero-cta { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-signals {
  margin-top: 3.2rem; display: flex; flex-wrap: wrap; gap: 1.4rem 2.4rem; align-items: center;
  padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,.18);
}
.hero-signal { display: flex; align-items: center; gap: .7rem; font-size: .9rem; color: rgba(255,255,255,.85); font-weight: 500; }
.hero-signal svg { width: 26px; height: 26px; color: var(--gold-400); flex: none; }

/* hero scroll-reveal staging */
.hero [data-hero] { opacity: 0; transform: translateY(26px); }
.hero.is-ready [data-hero] { animation: heroRise .9s var(--ease) forwards; }
.hero.is-ready [data-hero="1"] { animation-delay: .12s; }
.hero.is-ready [data-hero="2"] { animation-delay: .24s; }
.hero.is-ready [data-hero="3"] { animation-delay: .36s; }
.hero.is-ready [data-hero="4"] { animation-delay: .48s; }
.hero.is-ready [data-hero="5"] { animation-delay: .62s; }
@keyframes heroRise { to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .hero [data-hero] { opacity: 1 !important; transform: none !important; animation: none !important; }
}

/* ============================================================
   PAGE HERO (interior pages — light editorial)
   ============================================================ */
.page-hero {
  position: relative; padding-top: calc(var(--header-h) + 3rem); padding-bottom: 3.4rem;
  background: var(--green-900); color: #fff; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -8%; top: -30%; width: 60%; height: 160%;
  background: radial-gradient(closest-side, rgba(26,153,82,.16), transparent 70%);
  pointer-events: none;
}
.page-hero .crumbs { font-size: .82rem; letter-spacing: .04em; color: rgba(255,255,255,.6); margin-bottom: 1rem; }
.page-hero .crumbs a:hover { color: var(--gold-400); }
.page-hero h1 { font-size: clamp(2.3rem, 6vw, 4.4rem); color: #fff; max-width: 18ch; }
.page-hero p { margin-top: 1.1rem; max-width: 56ch; color: rgba(255,255,255,.86); font-size: 1.08rem; }

/* ============================================================
   RANKINGS PREVIEW (home)
   ============================================================ */
.rank-band { background: var(--green-900); color: #fff; position: relative; overflow: hidden; }
.rank-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 90% -10%, rgba(26,153,82,.14), transparent 60%);
}
.rank-band .wrap { position: relative; }
.rank-grid { display: grid; grid-template-columns: 1.05fr 1.4fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.rank-intro h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3rem); }
.rank-intro p { color: rgba(255,255,255,.78); margin-top: 1rem; max-width: 42ch; }
.live-pill {
  display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1.2rem;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  padding: .42rem .9rem; border-radius: 999px; font-size: .8rem; font-weight: 600; letter-spacing: .04em;
}
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #1A9952; box-shadow: 0 0 0 0 rgba(26,153,82,.6); animation: livePulse 2s infinite; }
@keyframes livePulse { 70% { box-shadow: 0 0 0 9px rgba(26,153,82,0); } 100% { box-shadow: 0 0 0 0 rgba(26,153,82,0); } }
.rank-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg); padding: clamp(1.2rem, 2.5vw, 1.8rem); backdrop-filter: blur(6px);
}
.rank-card h3 { color: #fff; font-size: 1.05rem; font-family: var(--sans); font-weight: 700; letter-spacing: .03em; }
.rank-list { margin-top: 1rem; }
.rank-row {
  display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: .9rem;
  padding: .7rem .2rem; border-bottom: 1px solid rgba(255,255,255,.08);
}
.rank-row:last-child { border-bottom: none; }
.rank-pos { font-family: var(--serif); font-size: 1.2rem; color: var(--gold-400); width: 34px; text-align: center; }
.rank-row.top1 .rank-pos { color: var(--medal-gold); }
.rank-athlete { display: flex; align-items: center; gap: .7rem; }
.rank-athlete img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 1.5px solid rgba(255,255,255,.25); }
.rank-athlete b { font-weight: 600; }
.rank-athlete small { display: block; color: rgba(255,255,255,.55); font-size: .78rem; }
.rank-score { font-family: var(--serif); font-size: 1.1rem; color: #fff; }

/* ============================================================
   STATS COUNTERS
   ============================================================ */
.stats-band { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 3vw, 2rem); }
.stat { text-align: center; padding: .6rem; position: relative; }
.stat:not(:last-child)::after {
  content: ""; position: absolute; right: 0; top: 18%; height: 64%; width: 1px; background: var(--line);
}
.stat-num { font-family: var(--serif); font-weight: 580; font-size: clamp(2.4rem, 6vw, 3.8rem); color: var(--green-800); line-height: 1; letter-spacing: -.02em; }
.stat-num .suffix { color: var(--gold-600); }
.stat-label { margin-top: .6rem; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-500); font-weight: 600; }

/* ============================================================
   FEATURE / EDITORIAL CARDS
   ============================================================ */
.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 3vw, 2rem); }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--green-300); }
.card-media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-tag {
  position: absolute; left: 12px; top: 12px; background: rgba(40,18,70,.85); color: #fff;
  font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: .35rem .7rem; border-radius: 999px; backdrop-filter: blur(4px);
}
.card-body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.card-body .meta { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-700); font-weight: 700; }
.card-body h3 { font-size: 1.35rem; color: var(--green-900); }
.card-body p { color: var(--ink-500); font-size: .96rem; }
.card-link { margin-top: auto; padding-top: .8rem; font-weight: 650; color: var(--green-700); display: inline-flex; align-items: center; gap: .4rem; }
.card-link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.card:hover .card-link svg { transform: translateX(4px); }

/* ============================================================
   GOVERNANCE / CREDIBILITY BAND
   ============================================================ */
.gov-band { background: var(--paper-2); }
.gov-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.gov-figure { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.gov-figure img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gov-seal {
  position: absolute; right: 16px; bottom: 16px; width: 96px; height: 96px;
  background: var(--paper); border-radius: 50%; box-shadow: var(--shadow-md);
  display: grid; place-items: center;
}
.gov-points { display: grid; gap: 1.3rem; margin-top: 1.6rem; }
.gov-point { display: flex; gap: 1rem; align-items: flex-start; }
.gov-point .pt-icon {
  width: 46px; height: 46px; border-radius: 12px; flex: none; display: grid; place-items: center;
  background: var(--green-100); color: var(--green-700);
}
.gov-point .pt-icon svg { width: 22px; height: 22px; }
.gov-point h4 { font-size: 1.1rem; color: var(--green-900); margin-bottom: .25rem; }
.gov-point p { color: var(--ink-500); font-size: .95rem; }

/* ============================================================
   PARTNERS STRIP
   ============================================================ */
.partners { text-align: center; }
.partners .partners-cap { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-400); font-weight: 600; }
.partner-row {
  margin-top: 2rem; display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: clamp(1.6rem, 5vw, 3.6rem);
}
.partner { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink-500); font-weight: 700; letter-spacing: .02em; opacity: .8; transition: opacity .25s var(--ease), color .25s; }
.partner:hover { opacity: 1; color: var(--green-800); }
.partner svg { width: 30px; height: 30px; color: var(--green-600); }
.partner span { font-family: var(--serif); font-size: 1.05rem; }
.partner small { font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; display: block; }

/* ============================================================
   GALLERY / CHAMPIONSHIP MOMENTS
   ============================================================ */
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px;
}
.gallery-grid figure { position: relative; overflow: hidden; border-radius: var(--radius-lg); margin: 0; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery-grid figure:hover img { transform: scale(1.07); }
.gallery-grid figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 1rem .9rem;
  background: linear-gradient(transparent, rgba(40,18,70,.85));
  color: #fff; font-size: .85rem; font-weight: 600; letter-spacing: .02em;
  transform: translateY(8px); opacity: 0; transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.gallery-grid figure:hover figcaption,
.gallery-grid figure:focus-within figcaption { transform: translateY(0); opacity: 1; }
.gallery-grid .g-wide { grid-column: span 2; }
.gallery-grid .g-tall { grid-row: span 2; }

/* ============================================================
   NEWS TEASER
   ============================================================ */
.news-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 3vw, 2rem); }
.news-item { display: flex; flex-direction: column; gap: .7rem; }
.news-item .news-media { aspect-ratio: 3/2; border-radius: var(--radius-lg); overflow: hidden; }
.news-item .news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-item:hover .news-media img { transform: scale(1.05); }
.news-item time { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-700); font-weight: 700; }
.news-item h3 { font-size: 1.2rem; color: var(--green-900); }
.news-item h3 a:hover { color: var(--green-600); }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  position: relative; color: #fff; text-align: center; overflow: hidden;
  background: var(--green-800);
}
.cta-band .cta-media { position: absolute; inset: 0; z-index: 0; opacity: .22; }
.cta-band .cta-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(40,18,70,.82), rgba(40,18,70,.92)); z-index: 1; }
.cta-band .wrap { position: relative; z-index: 2; }
.cta-band h2 { font-size: clamp(2.1rem, 5vw, 3.6rem); max-width: 22ch; margin-inline: auto; }
.cta-band p { margin-top: 1rem; color: rgba(255,255,255,.85); max-width: 50ch; margin-inline: auto; font-size: 1.08rem; }
.cta-band .hero-cta { justify-content: center; margin-top: 2rem; }

/* ============================================================
   TABLES (results / rankings / records)
   ============================================================ */
.table-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.table-tab {
  padding: .6rem 1.1rem; border-radius: 999px; font-weight: 650; font-size: .9rem;
  background: var(--paper); border: 1px solid var(--line); color: var(--ink-700);
  transition: background .2s var(--ease), color .2s, border-color .2s;
}
.table-tab[aria-selected="true"] { background: var(--green-700); color: #fff; border-color: var(--green-700); }
.table-tab:hover:not([aria-selected="true"]) { border-color: var(--green-600); color: var(--green-800); }

.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); -webkit-overflow-scrolling: touch; }
table.standings { width: 100%; border-collapse: collapse; min-width: 640px; }
table.standings caption { text-align: left; padding: 1rem 1.2rem; font-family: var(--serif); font-size: 1.15rem; color: var(--green-900); border-bottom: 1px solid var(--line); }
table.standings thead th {
  text-align: left; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-500); font-weight: 700; padding: .85rem 1.2rem; background: var(--paper-2);
  border-bottom: 1px solid var(--line); position: sticky; top: 0;
}
table.standings th[scope="row"] { font-weight: 600; }
table.standings tbody td, table.standings tbody th { padding: .85rem 1.2rem; border-bottom: 1px solid var(--line-soft); vertical-align: middle; font-size: .96rem; }
table.standings tbody tr:last-child td, table.standings tbody tr:last-child th { border-bottom: none; }
table.standings tbody tr { transition: background .2s var(--ease); }
table.standings tbody tr:hover { background: var(--green-100); }
.col-num, .col-score, .col-time { text-align: right; font-variant-numeric: tabular-nums; }
.athlete-cell { display: flex; align-items: center; gap: .75rem; }
.athlete-cell img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 1.5px solid var(--line); flex: none; }
.athlete-cell .nat { color: var(--ink-400); font-size: .82rem; }
.medal-pos {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  font-family: var(--serif); font-weight: 600; font-size: .95rem; color: #fff;
}
.medal-1 { background: linear-gradient(135deg, #e3c04a, var(--medal-gold)); color: var(--green-900); }
.medal-2 { background: linear-gradient(135deg, #c4cad0, var(--medal-silver)); color: #2b3137; }
.medal-3 { background: linear-gradient(135deg, #cf975f, var(--medal-bronze)); color: #fff; }
.medal-x { background: var(--paper-2); color: var(--ink-500); }
.record-flag { display: inline-block; margin-left: .5rem; font-size: .66rem; font-weight: 800; letter-spacing: .06em; color: #fff; background: var(--gold-600); padding: .1rem .4rem; border-radius: 3px; vertical-align: middle; }
.table-note { margin-top: .9rem; font-size: .84rem; color: var(--ink-400); }
[role="tabpanel"][hidden] { display: none; }

/* ============================================================
   ATHLETES — roster
   ============================================================ */
.filter-bar { display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: flex-end; margin-bottom: 2rem; }
.filter-group { display: flex; flex-direction: column; gap: .4rem; }
.filter-group label { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--ink-500); }
.filter-group select, .search-field input {
  font: inherit; padding: .7rem 1rem; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--paper); color: var(--ink-900); min-width: 180px;
}
.search-field { position: relative; flex: 1; min-width: 220px; }
.search-field input { width: 100%; padding-left: 2.6rem; }
.search-field svg { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ink-400); }
.filter-count { margin-left: auto; font-size: .88rem; color: var(--ink-500); align-self: center; }
.filter-count b { color: var(--green-800); }

.roster-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.5vw, 1.6rem); }
.athlete-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.athlete-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--green-300); }
.athlete-photo { position: relative; aspect-ratio: 3/4; overflow: hidden; }
.athlete-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.athlete-card:hover .athlete-photo img { transform: scale(1.05); }
.athlete-photo .disc-badge {
  position: absolute; left: 10px; top: 10px; background: rgba(255,253,248,.92); color: var(--green-800);
  font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: .3rem .6rem; border-radius: 999px;
}
.athlete-photo .flag { position: absolute; right: 10px; top: 10px; font-size: 1.3rem; filter: drop-shadow(0 1px 2px rgba(0,0,0,.3)); }
.athlete-meta { padding: 1rem 1.1rem 1.3rem; }
.athlete-meta h3 { font-size: 1.18rem; color: var(--green-900); }
.athlete-meta .role { color: var(--gold-700); font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; margin-top: .15rem; }
.athlete-stats { margin-top: .8rem; display: flex; gap: 1.2rem; }
.athlete-stats div { font-size: .82rem; color: var(--ink-500); }
.athlete-stats b { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--green-800); }
.no-results { grid-column: 1 / -1; text-align: center; padding: 3rem 1rem; color: var(--ink-500); }
.no-results svg { width: 40px; height: 40px; color: var(--line); margin-bottom: .8rem; }

/* featured athlete spotlight */
.spotlight { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.spotlight-figure { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.spotlight-figure img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.spotlight-quote { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.3; color: var(--green-900); }
.spotlight-quote::before { content: "\201C"; color: var(--gold-500); }
.spotlight-name { margin-top: 1.4rem; font-weight: 700; color: var(--green-800); }
.spotlight-name span { display: block; color: var(--ink-500); font-weight: 500; font-size: .9rem; }
.spotlight-medals { margin-top: 1.6rem; display: flex; gap: 1.8rem; }
.spotlight-medals .m { text-align: center; }
.spotlight-medals .m b { font-family: var(--serif); font-size: 2rem; display: block; line-height: 1; color: var(--green-700); }
.spotlight-medals .m span { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-500); }

/* ============================================================
   ABOUT — leadership, timeline
   ============================================================ */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); }
.mv-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.4rem); }
.mv-card .mv-icon { width: 50px; height: 50px; border-radius: 12px; background: var(--green-100); color: var(--green-700); display: grid; place-items: center; margin-bottom: 1.1rem; }
.mv-card .mv-icon svg { width: 24px; height: 24px; }
.mv-card h3 { font-size: 1.5rem; color: var(--green-900); }
.mv-card p { margin-top: .7rem; color: var(--ink-500); }

.leaders-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.5vw, 1.6rem); }
.leader { text-align: center; }
.leader .leader-photo { aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.leader .leader-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.leader:hover .leader-photo img { transform: scale(1.05); }
.leader h3 { margin-top: 1rem; font-size: 1.12rem; color: var(--green-900); }
.leader .leader-role { color: var(--gold-700); font-weight: 700; font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; }
.leader .leader-loc { color: var(--ink-400); font-size: .85rem; margin-top: .15rem; }

.committee-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.6rem); }
.committee { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--green-600); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.committee h4 { font-size: 1.12rem; color: var(--green-900); }
.committee p { color: var(--ink-500); font-size: .92rem; margin-top: .35rem; }
.committee .chair { margin-top: .8rem; font-size: .82rem; color: var(--gold-700); font-weight: 700; }

.timeline { position: relative; margin-top: 1rem; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding-left: 3rem; padding-bottom: 2.2rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: 3px; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--green-600);
}
.tl-item.is-major::before { border-color: var(--gold-600); background: var(--gold-100); }
.tl-year { font-family: var(--serif); font-size: 1.5rem; color: var(--green-700); line-height: 1; }
.tl-item h4 { margin-top: .4rem; font-size: 1.15rem; color: var(--green-900); }
.tl-item p { color: var(--ink-500); margin-top: .3rem; max-width: 56ch; }

.statutes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.statute-link {
  display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.3rem; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius-lg); transition: border-color .2s var(--ease), transform .2s;
}
.statute-link:hover { border-color: var(--green-600); transform: translateY(-3px); }
.statute-link svg { width: 28px; height: 28px; color: var(--green-600); flex: none; }
.statute-link b { display: block; color: var(--green-900); }
.statute-link small { color: var(--ink-400); }

/* ============================================================
   EVENTS — calendar
   ============================================================ */
.calendar { display: grid; gap: .8rem; }
.cal-row {
  display: grid; grid-template-columns: 96px 1fr auto; gap: 1.4rem; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.1rem 1.4rem; transition: border-color .25s var(--ease), transform .25s, box-shadow .25s;
}
.cal-row:hover { border-color: var(--green-300); transform: translateX(4px); box-shadow: var(--shadow-sm); }
.cal-date { text-align: center; border-right: 1px solid var(--line); padding-right: 1.2rem; }
.cal-date .day { font-family: var(--serif); font-size: 2rem; color: var(--green-800); line-height: 1; }
.cal-date .mo { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-500); font-weight: 700; margin-top: .25rem; }
.cal-info h3 { font-size: 1.25rem; color: var(--green-900); }
.cal-info .where { color: var(--ink-500); font-size: .92rem; margin-top: .2rem; display: flex; align-items: center; gap: .4rem; }
.cal-info .where svg { width: 15px; height: 15px; color: var(--gold-600); }
.cal-tags { margin-top: .5rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.cal-tags span { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 999px; background: var(--green-100); color: var(--green-700); }
.cal-status { text-align: right; }
.cal-status .badge { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .35rem .7rem; border-radius: 999px; }
.cal-status .badge.upcoming { background: var(--gold-100); color: var(--gold-700); }
.cal-status .badge.live { background: #E3F6EC; color: #006A30; }
.cal-status .badge.done { background: var(--paper-2); color: var(--ink-500); }
.cal-status a { display: block; margin-top: .5rem; font-size: .85rem; font-weight: 650; color: var(--green-700); }

/* ============================================================
   MEMBERSHIP — tiers + form
   ============================================================ */
.tier-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.5vw, 1.5rem); }
.tier { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.8rem 1.5rem; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; }
.tier:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.tier.featured { border: 2px solid var(--gold-500); position: relative; }
.tier.featured::before { content: "Most chosen"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--gold-500); color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .8rem; border-radius: 999px; }
.tier h3 { font-size: 1.4rem; color: var(--green-900); }
.tier .tier-price { font-family: var(--serif); font-size: 2.2rem; color: var(--green-700); margin: .6rem 0; line-height: 1; }
.tier .tier-price small { font-family: var(--sans); font-size: .85rem; color: var(--ink-400); font-weight: 500; }
.tier ul { display: grid; gap: .65rem; margin: 1rem 0 1.6rem; }
.tier li { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; color: var(--ink-700); }
.tier li svg { width: 17px; height: 17px; color: var(--green-600); flex: none; margin-top: 3px; }
.tier .btn { margin-top: auto; justify-content: center; }

.form-shell { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.reg-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 2.6rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 700; color: var(--ink-700); letter-spacing: .02em; }
.field label .req { color: #b3402a; }
.field input, .field select, .field textarea {
  font: inherit; padding: .8rem 1rem; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--ivory); color: var(--ink-900); transition: border-color .2s var(--ease), box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(60,24,108,.12); outline: none; }
.field textarea { resize: vertical; min-height: 110px; }
.field .hint { font-size: .78rem; color: var(--ink-400); }
.field input:invalid:not(:placeholder-shown) { border-color: #c0573f; }
.radio-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.radio-chip { position: relative; }
.radio-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio-chip span { display: inline-block; padding: .6rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .9rem; transition: all .2s var(--ease); }
.radio-chip input:checked + span { background: var(--green-700); color: #fff; border-color: var(--green-700); }
.radio-chip input:focus-visible + span { outline: 3px solid var(--gold-500); outline-offset: 2px; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: var(--ink-700); margin-top: 1.2rem; }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--green-700); }
.form-submit { margin-top: 1.6rem; }
.form-success {
  display: none; margin-top: 1.4rem; padding: 1.1rem 1.3rem; background: #E3F6EC; border: 1px solid #5CBF8A;
  border-radius: var(--radius-lg); color: #006A30; font-weight: 600; align-items: center; gap: .7rem;
}
.form-success.show { display: flex; animation: heroRise .5s var(--ease); }
.form-success svg { width: 22px; height: 22px; flex: none; }

.contact-aside { display: grid; gap: 1.2rem; }
.contact-card { background: var(--green-900); color: #fff; border-radius: var(--radius-lg); padding: 1.6rem 1.7rem; }
.contact-card h3 { color: #fff; font-size: 1.3rem; }
.contact-card .c-row { display: flex; gap: .8rem; align-items: flex-start; margin-top: 1rem; color: rgba(255,255,255,.85); font-size: .94rem; }
.contact-card .c-row svg { width: 20px; height: 20px; color: var(--gold-400); flex: none; margin-top: 2px; }
.contact-card a:hover { color: var(--gold-400); }
.aside-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.aside-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--green-900); color: rgba(255,255,255,.74); padding-top: clamp(3.5rem, 7vw, 5.5rem); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(1.5rem, 4vw, 3rem); padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand .wordmark b { color: #fff; }
.footer-brand .wordmark span { color: var(--gold-400); }
.footer-brand p { margin-top: 1.2rem; max-width: 36ch; font-size: .94rem; color: rgba(255,255,255,.6); }
.footer-col h4 { font-family: var(--sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 1.1rem; font-weight: 700; }
.footer-col ul { display: grid; gap: .65rem; }
.footer-col a { font-size: .94rem; color: rgba(255,255,255,.72); transition: color .2s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-col .c-line { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; }
.footer-col .c-line svg { width: 17px; height: 17px; color: var(--gold-400); flex: none; margin-top: 3px; }
.socials { display: flex; gap: .7rem; margin-top: 1.2rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); transition: background .25s var(--ease), transform .25s; }
.socials a:hover { background: var(--gold-500); color: #fff; transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 1.6rem 0 2.4rem; font-size: .84rem; color: rgba(255,255,255,.5); }
.footer-bottom .affil { display: flex; flex-wrap: wrap; gap: 1.2rem; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: translateY(0); }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .feature-row, .news-list, .committee-grid, .statutes { grid-template-columns: repeat(2, 1fr); }
  .roster-grid, .leaders-grid { grid-template-columns: repeat(3, 1fr); }
  .tier-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .main-nav, .header-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .rank-grid, .gov-grid, .spotlight, .mv-grid, .form-shell { grid-template-columns: 1fr; }
  .gov-figure, .spotlight-figure { order: -1; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery-grid .g-wide { grid-column: span 2; }
  .gallery-grid .g-tall { grid-row: span 1; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .stat:nth-child(2)::after { display: none; }
  .feature-row, .news-list, .committee-grid, .statutes { grid-template-columns: 1fr; }
  .roster-grid, .leaders-grid { grid-template-columns: repeat(2, 1fr); }
  .tier-grid { grid-template-columns: 1fr; }
  .cal-row { grid-template-columns: 1fr; gap: .8rem; }
  .cal-date { display: flex; gap: .6rem; align-items: baseline; border-right: none; border-bottom: 1px solid var(--line); padding: 0 0 .7rem; text-align: left; }
  .cal-status { text-align: left; }
  .form-grid { grid-template-columns: 1fr; }
  .filter-count { margin-left: 0; width: 100%; }
}
@media (max-width: 420px) {
  .roster-grid, .leaders-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ★ ENHANCEMENT LAYER — video hero, motion, ticker, polish
   (additive; palette/fonts/structure unchanged)
   ============================================================ */

/* ---- Scroll-progress bar (purple → green) ---- */
.scroll-progress {
  position: fixed; left: 0; top: 0; height: 3px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%; z-index: 300;
  background: linear-gradient(90deg, var(--green-700), var(--green-500) 45%, var(--gold-500) 100%);
  box-shadow: 0 0 12px rgba(26,153,82,.4);
  will-change: transform; pointer-events: none;
}
@media (prefers-reduced-motion: reduce) { .scroll-progress { display: none; } }

/* ---- Video hero ---- */
.hero-media { z-index: -2; }
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0; transition: opacity 1.1s var(--ease);
}
.hero-video.is-playing { opacity: 1; }
.hero-fallback { width: 100%; height: 100%; object-fit: cover; }
/* gentle ambient zoom on the underlying media for cinematic life */
.hero-media { animation: heroDrift 26s ease-in-out infinite alternate; transform-origin: 52% 48%; }
@keyframes heroDrift { from { transform: scale(1.02); } to { transform: scale(1.09); } }
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none !important; }            /* poster only, no autoplay */
  .hero-media { animation: none !important; transform: none !important; }
}

/* ---- Parallax foreground (disabled under reduced-motion via JS not adding the var) ---- */
[data-parallax] { will-change: transform; }
@media (prefers-reduced-motion: reduce) { [data-parallax] { transform: none !important; } }

/* ---- Sliding ticker / marquee ---- */
.ticker-band {
  background: var(--green-900); color: #fff; overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08);
  position: relative;
}
.ticker-band::before, .ticker-band::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none;
}
.ticker-band::before { left: 0; background: linear-gradient(90deg, var(--green-900), transparent); }
.ticker-band::after { right: 0; background: linear-gradient(270deg, var(--green-900), transparent); }
.ticker { overflow: hidden; }
.ticker-track {
  display: inline-flex; align-items: center; gap: 0;
  white-space: nowrap; padding-block: .95rem;
  animation: tickerScroll 44s linear infinite; will-change: transform;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--serif); font-size: 1.02rem; color: rgba(255,255,255,.82);
  letter-spacing: .01em; padding-inline: 1.6rem; position: relative;
}
.ticker-item::after {
  content: "·"; position: absolute; right: -.15rem; color: rgba(255,255,255,.25);
}
.ticker-item .t-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); box-shadow: 0 0 0 0 rgba(26,153,82,.6); animation: livePulse 2s infinite; }
.ticker-rec { color: #fff; }
.ticker-rec b { color: var(--gold-400); font-family: var(--sans); font-weight: 800; font-size: .7rem; letter-spacing: .08em; margin-left: .25rem; }
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none !important; flex-wrap: wrap; white-space: normal; justify-content: center; gap: .4rem 0; }
  .ticker-band::before, .ticker-band::after { display: none; }
}

/* ---- Refined reveal: stagger children of a reveal group ---- */
[data-reveal-group] > * { opacity: 0; transform: translateY(22px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
[data-reveal-group].in > * { opacity: 1; transform: translateY(0); }
[data-reveal-group].in > *:nth-child(1) { transition-delay: .02s; }
[data-reveal-group].in > *:nth-child(2) { transition-delay: .08s; }
[data-reveal-group].in > *:nth-child(3) { transition-delay: .14s; }
[data-reveal-group].in > *:nth-child(4) { transition-delay: .20s; }
[data-reveal-group].in > *:nth-child(5) { transition-delay: .26s; }
[data-reveal-group].in > *:nth-child(6) { transition-delay: .32s; }
[data-reveal-group].in > *:nth-child(7) { transition-delay: .38s; }
[data-reveal-group].in > *:nth-child(8) { transition-delay: .44s; }
[data-reveal-group].in > *:nth-child(n+9) { transition-delay: .50s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal-group] > * { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---- Table-row reveal (events) ---- */
.standings tbody tr[data-row] { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.standings tbody tr[data-row].in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .standings tbody tr[data-row] { opacity: 1 !important; transform: none !important; }
}

/* ---- Micro-interactions / polish ---- */
/* CTA buttons get a subtle sheen sweep on hover */
.btn--gold { position: relative; overflow: hidden; }
.btn--gold::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-18deg); transition: left .6s var(--ease); pointer-events: none;
}
.btn--gold:hover::after { left: 130%; }
@media (prefers-reduced-motion: reduce) { .btn--gold::after { display: none; } }

/* crest ambient slow spin of the inner ring on hover-idle (hero brand) */
.over-hero .crest .crest-star { transform-origin: 50% 50%; animation: crestTwinkle 5s ease-in-out infinite; }
@keyframes crestTwinkle { 0%,100% { opacity: 1; } 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .over-hero .crest .crest-star { animation: none; } }

/* live-pill + ranking rows: lift the #1 row gently */
.rank-row.top1 { background: linear-gradient(90deg, rgba(201,162,39,.10), transparent 60%); border-radius: 8px; }

/* elegant section eyebrow divider under section heads */
.section-head .kicker { margin-bottom: .2rem; }

/* faint laurel watermark accent for dark bands */
.rank-band .wrap::after,
.cta-band .wrap::after {
  content: ""; position: absolute; right: -2%; bottom: -6%;
  width: clamp(160px, 22vw, 300px); height: clamp(160px, 22vw, 300px);
  background:
    radial-gradient(closest-side, rgba(92,191,138,.10), transparent 72%);
  pointer-events: none; z-index: 0;
}

/* decorative corner ticks on cards (subtle premium detail) */
.card, .athlete-card, .tier, .mv-card {
  position: relative;
}
.card::before, .athlete-card::before {
  content: ""; position: absolute; top: 10px; right: 10px; width: 14px; height: 14px;
  border-top: 2px solid var(--gold-400); border-right: 2px solid var(--gold-400);
  opacity: 0; transform: translate(-4px, 4px); transition: opacity .3s var(--ease), transform .3s var(--ease);
  z-index: 2; pointer-events: none;
}
.card:hover::before, .athlete-card:hover::before { opacity: .9; transform: translate(0,0); }
@media (prefers-reduced-motion: reduce) {
  .card::before, .athlete-card::before { transition: none; }
}

/* calendar rows: animated accent hairline grows on hover */
.cal-row { position: relative; }
.cal-row::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  background: linear-gradient(var(--green-600), var(--gold-500)); transform: scaleY(0); transform-origin: center;
  transition: transform .3s var(--ease);
}
.cal-row:hover::after { transform: scaleY(1); }

/* gallery: ken-burns idle drift on the wide hero tile */
.gallery-grid .g-wide.g-tall img { animation: kenBurns 18s ease-in-out infinite alternate; }
@keyframes kenBurns { from { transform: scale(1); } to { transform: scale(1.08); } }
.gallery-grid figure:hover img { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .gallery-grid .g-wide.g-tall img { animation: none; } }

/* partners: gentle individual hover float already exists; add baseline grayscale->color feel via opacity (kept) */

/* stat number: emphasise suffix with a soft pulse once revealed */
.stat.in .stat-num { animation: statPop .6s var(--ease); }
@keyframes statPop { 0% { transform: scale(.96); } 60% { transform: scale(1.02); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .stat.in .stat-num { animation: none; } }

/* page-hero parallax decorative orb (depth) */
.page-hero { position: relative; }
.ph-orb {
  position: absolute; left: -6%; bottom: -40%; width: clamp(220px, 36vw, 480px); height: clamp(220px, 36vw, 480px);
  border-radius: 50%; pointer-events: none; z-index: 0; will-change: transform;
  background: radial-gradient(closest-side, rgba(108,84,144,.45), rgba(26,153,82,.10) 55%, transparent 72%);
  filter: blur(2px);
}
.page-hero .wrap { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .ph-orb { transform: none !important; } }

/* ticker responsive sizing */
@media (max-width: 680px) {
  .ticker-item { font-size: .92rem; padding-inline: 1.1rem; }
  .ticker-band::before, .ticker-band::after { width: 50px; }
}

/* ============================================================
   ★★ GRADUAL SCROLL FADE — continuous blue → purple page wash
   The whole document reads as ONE vertical gradient: light,
   airy periwinkle-blue under the hero → soft blue → indigo /
   blue-violet → royal purple → deep SWF purple that lands
   exactly on the footer colour (--green-900 #1E0E38) — no seam.
   Content section bands are transparent so the wash shows through;
   per-section .fade-light / .fade-dark classes flip text + card
   contrast so every scroll depth stays WCAG-AA legible.
   ============================================================ */

/* The single page gradient. Pinned to the whole document height
   via background-size:100% 100% so its relative stops land at the
   same proportional depth on pages of any length, and it ALWAYS
   resolves to the footer's deep purple at 100%. */
body {
  background-color: var(--green-900); /* fallback = footer colour */
  background-image: linear-gradient(
    180deg,
    #EAF0FF 0%,      /* top of content — light periwinkle blue */
    #E6EDFF 10%,     /* still airy */
    #DCE5FC 22%,     /* soft blue */
    #CBD8F7 34%,     /* soft blue */
    #B6C7F1 46%,     /* soft periwinkle blue (governance stays light) */
    #8E9FE0 56%,     /* periwinkle → blue-violet (crossover begins) */
    #6863C0 64%,     /* indigo / blue-violet (mid) */
    #4E45A4 71%,     /* blue-violet */
    #3C2E84 78%,     /* blue-violet → royal purple */
    #2E1C64 86%,     /* royal purple */
    #241253 93%,     /* deep purple */
    #1E0E38 100%     /* lands EXACTLY on footer colour — seamless */
  );
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-attachment: scroll;
}

/* The hero owns the very top: it keeps its dark video + purple scrim.
   Give it an opaque-at-its-base so the light wash never bleeds over the
   video, and a soft hand-off so the exit into the first light-blue
   section is a smooth easing, not a hard edge. */
.hero { background: transparent; }
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18vh;
  z-index: -1; pointer-events: none;
  /* fade the hero scrim's deep purple down into the light periwinkle
     that the page wash begins with, so the seam between hero and the
     first content section is a gentle gradient rather than an edge */
  background: linear-gradient(180deg, rgba(40,18,70,0) 0%, rgba(234,240,255,.0) 35%, #EAF0FF 100%);
}

/* ---- Make content section bands TRANSPARENT so the wash flows ----
   (these were solid ivory / paper / paper-2 before) */
.stats-band,
.gov-band,
main > section.section:not(.rank-band):not(.cta-band),
main > section.section--tight:not(.cta-band) {
  background: transparent;
  border-top-color: transparent;
  border-bottom-color: transparent;
}

/* The footer keeps its solid deep purple; the wash lands on the same
   value at 100% so there is no visible boundary. */
.site-footer { background: var(--green-900); }

/* ============================================================
   FADE ZONES — per-section contrast adaptation
   .fade-light : section sits over LIGHT blue  → dark ink, white cards
   .fade-dark  : section sits over DEEP purple → light text, glass-dark cards
   ============================================================ */

/* ---------- LIGHT ZONE (top of the wash: periwinkle → soft blue) ---------- */
/* Default site styling is already dark-ink-on-light, so .fade-light mostly
   needs the cards to read as crisp white panels over tinted blue and a
   touch more shadow depth. */
.fade-light .card,
.fade-light .athlete-card,
.fade-light .mv-card,
.fade-light .committee,
.fade-light .tier,
.fade-light .statute-link,
.fade-light .cal-row,
.fade-light .table-scroll,
.fade-light .reg-form {
  background: rgba(255, 255, 255, .92);
  border-color: rgba(30, 14, 56, .10);
  box-shadow: 0 10px 34px rgba(30, 14, 56, .12), 0 2px 8px rgba(30, 14, 56, .08);
  backdrop-filter: blur(2px);
}
.fade-light .section-head h2,
.fade-light h2,
.fade-light .card-body h3,
.fade-light .athlete-meta h3,
.fade-light .mv-card h3,
.fade-light .committee h4,
.fade-light .tier h3,
.fade-light .cal-info h3,
.fade-light .news-item h3 { color: var(--green-900); }
.fade-light .partners-cap { color: var(--green-800); }
.fade-light .partner { color: var(--green-700); opacity: .9; }
.fade-light .partner:hover { color: var(--green-900); opacity: 1; }
/* On the tinted periwinkle wash the default light-grey body inks
   (--ink-500/--ink-400) drop below AA, so deepen secondary/body text
   in the light zone to a darker slate that clears 4.5:1 on periwinkle. */
.fade-light .section-head p,
.fade-light .lede,
.fade-light .card-body p,
.fade-light .gov-point p,
.fade-light .mv-card p,
.fade-light .committee p,
.fade-light .tl-item p,
.fade-light .news-item p,
.fade-light .cal-info .where,
.fade-light .athlete-stats div,
.fade-light .tier li,
.fade-light .partners-cap,
.fade-light .filter-group label,
.fade-light .filter-count { color: #2A2138; }
.fade-light .filter-count b { color: var(--green-800); }
.fade-light .card-body .meta,
.fade-light .news-item time,
.fade-light .athlete-meta .role,
.fade-light .committee .chair,
.fade-light .leader .leader-role { color: var(--gold-700); }
/* darker-green kicker so the eyebrow clears AA on periwinkle */
.fade-light .kicker { color: var(--green-700); }

/* ---------- TRANSITION ZONE (mid: indigo / blue-violet) ---------- */
/* As the wash darkens, text flips to light and cards become glassy-dark
   so nothing turns low-contrast mid-fade. */
.fade-mid {
  color: rgba(255, 255, 255, .9);
}
.fade-mid .section-head h2,
.fade-mid h2,
.fade-mid .lede,
.fade-mid .card-body h3,
.fade-mid .news-item h3,
.fade-mid .gov-point h4 { color: #fff; }
.fade-mid .section-head p,
.fade-mid p,
.fade-mid .card-body p,
.fade-mid .gov-point p { color: rgba(255, 255, 255, .82); }
.fade-mid .kicker { color: #8FE0B4; }
.fade-mid .kicker::before { background: #8FE0B4; }

/* ---------- DARK ZONE (lower wash: royal → deep purple) ---------- */
.fade-dark {
  color: rgba(255, 255, 255, .88);
}
/* Protective soft shadow on dark-zone headings keeps white type legible
   even where a straddling section's head sits over a slightly lighter
   part of the wash (belt-and-braces for the crossover band). */
.fade-dark .section-head h2,
.fade-dark h2,
.fade-dark .tl-item h4,
.fade-dark .tl-year,
.fade-dark .card-body h3,
.fade-dark .news-item h3 { text-shadow: 0 1px 14px rgba(20, 10, 44, .45); }
.fade-dark .section-head h2,
.fade-dark h2,
.fade-dark h3,
.fade-dark h4,
.fade-dark .lede,
.fade-dark .card-body h3,
.fade-dark .athlete-meta h3,
.fade-dark .mv-card h3,
.fade-dark .committee h4,
.fade-dark .cal-info h3,
.fade-dark .news-item h3 { color: #fff; }
.fade-dark .section-head p,
.fade-dark p,
.fade-dark .card-body p,
.fade-dark .athlete-stats div,
.fade-dark .committee p,
.fade-dark .gov-point p,
.fade-dark .tl-item p,
.fade-dark .cal-info .where { color: rgba(255, 255, 255, .82); }
/* brighter mint than gold-400 so the eyebrow clears AA on royal purple */
.fade-dark .kicker { color: #8FE0B4; }
.fade-dark .kicker::before { background: #8FE0B4; }
.fade-dark .partners-cap { color: rgba(255, 255, 255, .65); }
.fade-dark .partner { color: rgba(255, 255, 255, .78); opacity: 1; }
.fade-dark .partner:hover { color: #fff; }
.fade-dark .partner svg { color: var(--gold-400); }

/* glassy-dark cards in the dark zone */
.fade-dark .card,
.fade-dark .athlete-card,
.fade-dark .mv-card,
.fade-dark .committee,
.fade-dark .tier,
.fade-dark .statute-link,
.fade-dark .cal-row {
  background: rgba(20, 12, 40, .50);
  border-color: rgba(255, 255, 255, .16);
  box-shadow: 0 18px 44px rgba(10, 5, 24, .42);
  -webkit-backdrop-filter: blur(10px) saturate(1.05);
  backdrop-filter: blur(10px) saturate(1.05);
}
.fade-dark .table-scroll,
.fade-dark .reg-form {
  background: rgba(20, 12, 40, .55);
  border-color: rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(10px) saturate(1.05);
  backdrop-filter: blur(10px) saturate(1.05);
}
/* dark-zone card inner accents */
.fade-dark .card { color: rgba(255,255,255,.85); }
.fade-dark .card-body .meta,
.fade-dark .news-item time,
.fade-dark .athlete-meta .role,
.fade-dark .committee .chair { color: var(--gold-400); }
.fade-dark .card-link { color: var(--gold-400); }
.fade-dark .card:hover { border-color: rgba(92,191,138,.45); }
.fade-dark .card:hover, .fade-dark .athlete-card:hover, .fade-dark .tier:hover, .fade-dark .cal-row:hover {
  box-shadow: 0 26px 60px rgba(10, 5, 24, .55);
}
.fade-dark .athlete-stats b,
.fade-dark .tier .tier-price { color: var(--gold-400); }
.fade-dark .athlete-photo .disc-badge { background: rgba(20,12,40,.8); color: #fff; }
.fade-dark .tier li { color: rgba(255,255,255,.82); }
.fade-dark .tier li svg { color: var(--gold-400); }
/* statute-link inner text + icon on glass-dark */
.fade-dark .statute-link b { color: #fff; }
.fade-dark .statute-link small { color: rgba(255,255,255,.6); }
.fade-dark .statute-link svg { color: var(--gold-400); }
.fade-dark .statute-link:hover { border-color: rgba(92,191,138,.5); }
/* tier price small + featured ribbon legibility on glass-dark */
.fade-dark .tier .tier-price small { color: rgba(255,255,255,.6); }
/* contact card already dark; leave it. Aside images fine. */

/* dark-zone tables: invert the light table chrome to glass-dark */
.fade-dark table.standings caption { color: #fff; border-bottom-color: rgba(255,255,255,.14); }
.fade-dark table.standings thead th { background: rgba(255,255,255,.06); color: rgba(255,255,255,.7); border-bottom-color: rgba(255,255,255,.16); }
.fade-dark table.standings tbody td,
.fade-dark table.standings tbody th { border-bottom-color: rgba(255,255,255,.10); color: rgba(255,255,255,.9); }
.fade-dark table.standings tbody tr:hover { background: rgba(255,255,255,.07); }
.fade-dark .athlete-cell .nat { color: rgba(255,255,255,.55); }
.fade-dark .table-tab { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); color: rgba(255,255,255,.85); }
.fade-dark .table-tab[aria-selected="true"] { background: var(--gold-600); border-color: var(--gold-600); color: #fff; }
.fade-dark .medal-x { background: rgba(255,255,255,.10); color: rgba(255,255,255,.7); }
.fade-dark .table-note { color: rgba(255,255,255,.55); }

/* dark-zone form fields */
.fade-dark .field label { color: rgba(255,255,255,.85); }
.fade-dark .field input,
.fade-dark .field select,
.fade-dark .field textarea {
  background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff;
}
.fade-dark .field input::placeholder,
.fade-dark .field textarea::placeholder { color: rgba(255,255,255,.5); }
.fade-dark .field input:focus,
.fade-dark .field select:focus,
.fade-dark .field textarea:focus { border-color: var(--gold-400); box-shadow: 0 0 0 3px rgba(92,191,138,.25); }
.fade-dark .field .hint { color: rgba(255,255,255,.55); }
.fade-dark .radio-chip span { border-color: rgba(255,255,255,.22); color: rgba(255,255,255,.85); }
.fade-dark .radio-chip input:checked + span { background: var(--gold-600); border-color: var(--gold-600); color: #fff; }
.fade-dark .consent { color: rgba(255,255,255,.8); }
.fade-dark .btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
.fade-dark .btn--ghost:hover { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.85); }
.fade-dark .btn--primary { background: var(--gold-600); }
.fade-dark .btn--primary:hover { background: var(--gold-500); }

/* dark-zone timeline + misc */
/* The history/timeline column genuinely spans the light→dark crossover,
   so give it a glass-dark panel: white text then has a consistent dark
   backing at every scroll depth (no light-on-light at its top edge). */
.fade-dark .tl-panel {
  background: rgba(20, 12, 40, .74);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
  box-shadow: 0 18px 44px rgba(10, 5, 24, .48);
  -webkit-backdrop-filter: blur(12px) saturate(1.05);
  backdrop-filter: blur(12px) saturate(1.05);
}
.fade-dark .timeline::before { background: rgba(255,255,255,.18); }
.fade-dark .tl-item::before { background: var(--green-900); border-color: var(--gold-400); }
.fade-dark .tl-year { color: var(--gold-400); }
.fade-dark .gov-point .pt-icon { background: rgba(255,255,255,.10); color: var(--gold-400); }
.fade-dark .mv-card .mv-icon { background: rgba(255,255,255,.10); color: var(--gold-400); }
.fade-dark .cal-info .where svg { color: var(--gold-400); }
.fade-dark .cal-tags span { background: rgba(255,255,255,.10); color: rgba(255,255,255,.85); }
.fade-dark .stat-num { color: #fff; }
.fade-dark .stat-num .suffix { color: var(--gold-400); }
.fade-dark .stat-label { color: rgba(255,255,255,.7); }
.fade-dark .stat:not(:last-child)::after { background: rgba(255,255,255,.18); }
.fade-dark .spotlight-quote { color: #fff; }
.fade-dark .spotlight-name { color: rgba(255,255,255,.92); }
.fade-dark .spotlight-name span { color: rgba(255,255,255,.6); }
.fade-dark .spotlight-medals .m b { color: var(--gold-400); }
.fade-dark .spotlight-medals .m span { color: rgba(255,255,255,.6); }
.fade-dark .filter-group label { color: rgba(255,255,255,.7); }
.fade-dark .filter-group select,
.fade-dark .search-field input { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; }
.fade-dark .search-field svg { color: rgba(255,255,255,.5); }
.fade-dark .filter-count { color: rgba(255,255,255,.7); }
.fade-dark .filter-count b { color: var(--gold-400); }
.fade-dark .no-results { color: rgba(255,255,255,.7); }

/* Interior page-hero: keep dark, but let it hand off smoothly into the
   light-blue wash below it (mirror of the homepage hero hand-off). */
.page-hero { position: relative; }
.page-hero::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%;
  z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(30,14,56,0), rgba(234,240,255,.0) 55%, rgba(234,240,255,.16) 100%);
}

@media (prefers-reduced-motion: reduce) {
  /* backdrop-filter blur is fine under reduced motion; nothing animates here */
  .fade-light .card, .fade-light .athlete-card { backdrop-filter: none; }
}
