/* ─── BRAND TOKENS · MAHIMA BRAND GUIDELINE ONLY ─── */
/* Olive · Dune · Khaki · Umber · Black · nothing else. */
:root {
  /* Brand palette · exact hex values from guideline */
  --olive: #4B4C36;
  --dune:  #D2CDBF;
  --khaki: #857D66;
  --umber: #4D402C;
  --black: #000000;

  /* Tonal helpers (mathematical shifts of brand tokens · kept on-palette) */
  --olive-deep: #3A3B28;       /* darker olive for hovers / depth */
  --olive-light: #5E5F47;      /* lighter olive for hover lift */
  --dune-light: #E0DCD0;       /* lighter dune for surfaces · within tonal family */
  --dune-dark:  #BAB5A6;       /* darker dune for borders */
  --umber-deep: #2E2519;       /* darker umber for depth */

  /* Semantic accents · both map to brand colors */
  --accent-dark:  var(--umber);   /* accent on light/dune surfaces */
  --accent-light: var(--dune);    /* accent on dark/olive surfaces */

  /* Legacy tokens · remapped to brand-only equivalents */
  --cream: var(--dune-light);     /* "cream" → light dune (within brand tonal range) */
  --gold:  var(--umber);          /* "gold" → umber on light, swapped to dune on dark via overrides */

  /* Surface alphas */
  --olive-90: rgba(75, 76, 54, 0.92);
  --olive-95: rgba(75, 76, 54, 0.96);

  /* High-contrast borders & text · bumped from low-opacity for readability */
  --border-light: rgba(77, 64, 44, 0.28);          /* was 0.12 · now visible */
  --border-dark:  rgba(210, 205, 191, 0.32);       /* was 0.15 · now visible */
  --text-muted-dark:  rgba(210, 205, 191, 0.85);   /* was 0.55 · now readable on dark */
  --text-muted-light: rgba(77, 64, 44, 0.85);      /* was 0.60 · now readable on light */

  --font: 'Chivo Mono', monospace;
  --serif: 'TT Drugs', serif;

  --header-h: 72px;

  --ease-apple: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font);
  font-weight: 300;
  background: var(--dune);
  color: var(--umber);
  line-height: 1.65;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }

/* film grain overlay */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 9999;
  pointer-events: none;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* ─── UTILITIES ─── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.container-narrow { max-width: 960px; margin: 0 auto; padding: 0 40px; }
.section-pad { padding: 120px 0; }
.section-pad-sm { padding: 80px 0; }

.label {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 400; opacity: 0.85;
}
.label-accent { color: var(--gold); }
.divider { width: 48px; height: 1px; background: var(--umber); margin: 28px 0; opacity: 0.3; }
.divider-light { width: 48px; height: 1px; background: var(--dune); margin: 28px 0; opacity: 0.3; }
.divider-gold { width: 64px; height: 1px; background: var(--gold); margin: 28px 0; opacity: 0.92; }

h1, h2, h3, h4 { font-weight: 300; letter-spacing: 0.08em; line-height: 1.15; }

.serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none;
}

/* reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.55s; }
.reveal-stagger.is-visible > * {
  opacity: 1; transform: translateY(0);
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 36px;
  font-family: var(--font); font-size: 12px; font-weight: 400;
  letter-spacing: 0.18em; text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.4s var(--ease-apple);
  position: relative;
  white-space: nowrap;
}
.btn svg { width: 14px; height: 14px; transition: transform 0.4s var(--ease-apple); }
.btn:hover svg { transform: translateX(4px); }

.btn-primary {
  background: var(--dune); color: var(--olive);
}
.btn-primary:hover { background: var(--cream); transform: translateY(-1px); box-shadow: 0 12px 30px -10px rgba(0,0,0,0.25); }

.btn-dark {
  background: var(--olive); color: var(--dune);
}
.btn-dark:hover { background: var(--olive-deep); transform: translateY(-1px); box-shadow: 0 12px 30px -10px rgba(0,0,0,0.35); }

.btn-outline-dark {
  background: transparent; color: var(--olive); border-color: rgba(75,76,54,0.4);
}
.btn-outline-dark:hover { background: var(--olive); color: var(--dune); border-color: var(--olive); }

.btn-outline-light {
  background: transparent; color: var(--dune); border-color: rgba(210,205,191,0.7);
}
.btn-outline-light:hover { background: var(--dune); color: var(--olive); border-color: var(--dune); }

.btn-gold {
  background: var(--umber); color: var(--dune);
}
.btn-gold:hover { background: var(--olive); color: var(--dune); transform: translateY(-1px); box-shadow: 0 12px 30px -10px rgba(0,0,0,0.45); }

.btn-sm { padding: 11px 24px; font-size: 11px; letter-spacing: 0.15em; }
.btn-lg { padding: 20px 44px; font-size: 13px; }

/* ─── HEADER ─── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 250; /* sits above mobile nav panel */
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 40px;
  background: var(--olive);                 /* solid olive · was olive-90 translucent */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: padding 0.3s var(--ease-apple), background 0.3s;
  border-bottom: 1px solid rgba(210,205,191,0.12);
}
.header.scrolled { padding: 14px 40px; border-bottom-color: rgba(210,205,191,0.18); }

.header-brand {
  display: flex; align-items: center; gap: 12px;
  color: var(--dune);
}
.header-brand .brand-icon {
  width: 36px; height: 36px;
  border-radius: 4px;          /* matches brand mark composition */
  flex-shrink: 0;
  display: block;
}
.header-brand .brand-mark {
  font-size: 13px; font-weight: 500; letter-spacing: 0.32em;
  text-transform: uppercase;
}
.header-brand .brand-divider {
  width: 1px; height: 16px; background: rgba(210,205,191,0.3);
}
.header-brand .brand-event {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  opacity: 0.92;
}

.header-nav { display: flex; align-items: center; gap: 36px; }
.header-nav a:not(.btn) {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--dune); opacity: 1;            /* full contrast · was 0.88 */
  font-weight: 500;                          /* slightly bolder for legibility on translucent bg */
  transition: color 0.3s;
}
.header-nav a:not(.btn):hover { color: var(--khaki); }

.menu-toggle { display: none; }

@media (max-width: 900px) {
  .header { padding: 16px 24px; }
  .header.scrolled { padding: 12px 24px; }
  .header-nav { position: fixed; top: 0; right: 0; bottom: 0; width: 80%; max-width: 360px;
    background: var(--olive-deep);            /* solid olive panel */
    box-shadow: -16px 0 48px rgba(0,0,0,0.45); /* lifts panel off light sections */
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 20px; padding: 80px 32px;
    transform: translateX(100%); transition: transform 0.5s var(--ease-out-expo);
    border-left: 1px solid rgba(210,205,191,0.1);
    z-index: 200;                              /* above all sections (sections use z-index 1-2) */
    overflow-y: auto;                          /* scroll inside the panel if needed */
    -webkit-overflow-scrolling: touch;
  }
  .header-nav.open { transform: translateX(0); }
  /* Backdrop dims the rest of the page while the panel is open */
  .header-nav::before {
    content: ''; position: fixed; inset: 0;
    background: rgba(0,0,0,0.55);
    opacity: 0; pointer-events: none;
    transition: opacity 0.45s var(--ease-out-expo);
    z-index: -1;
  }
  .header-nav.open::before { opacity: 1; }
  .header-nav a:not(.btn) { font-size: 14px; opacity: 1; color: var(--dune); }
  .menu-toggle {
    display: flex; flex-direction: column; gap: 5px;
    width: 28px; height: 22px; justify-content: center; align-items: center;
    position: relative; z-index: 220;          /* sits above the panel so it stays tappable */
  }
  .menu-toggle span {
    display: block; width: 24px; height: 1px; background: var(--dune);
    transition: transform 0.3s, opacity 0.3s;
  }
  .menu-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .header-brand .brand-event { display: none; }
  .header-brand .brand-divider { display: none; }
}

/* ─── HERO ─── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: var(--olive-deep);
  color: var(--dune);
  text-align: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 30% 35%, rgba(133,125,102,0.18) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 75% 65%, rgba(133, 125, 102,0.08) 0%, transparent 65%),
    linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.25) 100%);
  pointer-events: none;
}
.hero-mountain {
  position: absolute; bottom: 0; left: 0; right: 0; opacity: 0.06; pointer-events: none;
}
.hero-mountain svg { width: 100%; height: auto; }

.hero-glow {
  position: absolute; width: 700px; height: 700px;
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(133, 125, 102,0.08) 0%, transparent 60%);
  pointer-events: none;
  animation: pulse 6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.85; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.hero-content { position: relative; z-index: 2; max-width: 920px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px; margin-bottom: 36px;
  border: 1px solid rgba(210, 205, 191, 0.5);
  background: rgba(210, 205, 191, 0.08);
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--dune);
  border-radius: 100px;
  animation: fadeUp 1.2s var(--ease-out-expo) both;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--dune);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-eyebrow {
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  opacity: 0.88; margin-bottom: 24px;
  animation: fadeUp 1.2s 0.1s var(--ease-out-expo) both;
}

.hero-title {
  font-family: var(--serif);              /* TT Drugs · display font, more legible at huge size */
  font-size: clamp(56px, 12vw, 156px);
  font-weight: 400;                        /* was 200 · bumped for legibility on dark bg */
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin-bottom: 8px;
  color: var(--dune);                      /* explicit · high contrast on olive-deep */
  animation: fadeUp 1.4s 0.2s var(--ease-out-expo) both;
}

/* Logo-based hero title · uses the brand secondary logo (Mahima wordmark) */
.hero-title-logo {
  display: flex; flex-direction: column;
  align-items: center; gap: 18px;
  margin: 0 auto 12px;
}
.hero-title-logo .hero-logo {
  width: 100%;
  max-width: 640px;
  height: auto;
  display: block;
}
.hero-title-logo .hero-logo-event {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 64px);
  font-style: italic;
  font-weight: 400;
  color: var(--dune);
  letter-spacing: -0.01em;
  line-height: 1;
  text-align: center;
}
@media (max-width: 700px) {
  .hero-title-logo .hero-logo { max-width: 88vw; }
  .hero-title-logo .hero-logo-event { font-size: clamp(32px, 9vw, 56px); }
}
.hero-title .accent {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--dune);                      /* was gold (=umber) · invisible on dark; now dune for full contrast */
  text-decoration: underline;
  text-decoration-color: var(--khaki);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.hero-subtitle {
  font-size: clamp(13px, 1.6vw, 16px);
  letter-spacing: 0.2em; text-transform: uppercase;
  opacity: 1;                              /* was 0.92 · full opacity for header readability */
  color: var(--dune);
  margin-top: 28px; margin-bottom: 8px;
  font-weight: 500;
  animation: fadeUp 1.4s 0.4s var(--ease-out-expo) both;
}
.hero-tagline {
  max-width: 560px; margin: 24px auto 0;
  font-size: 16px;                         /* was 14px · bigger, easier to read */
  opacity: 1;                              /* was 0.85 */
  color: var(--dune);
  line-height: 1.7;
  animation: fadeUp 1.4s 0.5s var(--ease-out-expo) both;
}

.hero-spectator {
  margin: 14px auto 0; max-width: 560px;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--khaki); opacity: 0.92;
  animation: fadeUp 1.4s 0.7s var(--ease-out-expo) both;
}

.hero-meta {
  display: flex; gap: 48px; justify-content: center;
  margin-top: 40px;
  animation: fadeUp 1.4s 0.55s var(--ease-out-expo) both;
}
.hero-meta-item .label { color: var(--text-muted-dark); display: block; margin-bottom: 6px; }
.hero-meta-item .value { font-size: 16px; letter-spacing: 0.12em; text-transform: uppercase; }

.hero-cta-row {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-top: 48px;
  animation: fadeUp 1.4s 0.65s var(--ease-out-expo) both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.scroll-cue {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 9px; letter-spacing: 0.4em; text-transform: uppercase;
  opacity: 0.4;
  animation: fadeUp 2s 1.2s var(--ease-out-expo) both;
}
.scroll-cue::after {
  content: ''; width: 1px; height: 28px;
  background: linear-gradient(180deg, var(--dune) 0%, transparent 100%);
  animation: scrollCue 2s ease-in-out infinite;
}
@keyframes scrollCue {
  0%, 100% { transform: scaleY(0.4); opacity: 0.4; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ─── COUNTDOWN ─── */
.countdown {
  background: var(--olive-deep); color: var(--dune);
  padding: 48px 24px;
  border-top: 1px solid rgba(210,205,191,0.08);
  border-bottom: 1px solid rgba(210,205,191,0.08);
}
.countdown-inner {
  max-width: 900px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
}
.countdown-label {
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  opacity: 0.88; flex-shrink: 0;
}
.countdown-blocks {
  display: flex; gap: 28px;
}
.countdown-block { text-align: center; }
.countdown-num {
  font-size: clamp(36px, 5vw, 56px); font-weight: 400;
  letter-spacing: 0.04em; color: var(--dune);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.countdown-unit {
  font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase;
  opacity: 0.9; margin-top: 8px;
}

@media (max-width: 700px) {
  .countdown-inner { flex-direction: column; gap: 20px; }
  .countdown-blocks { gap: 18px; }
}

/* ─── INTRO ─── */
.intro {
  background: var(--dune);
  padding: 140px 0;
  position: relative;
}
.intro-grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 80px; align-items: start;
}
.intro-text h2 {
  font-size: clamp(32px, 4vw, 56px);
  text-transform: uppercase;
  margin-top: 24px;
  margin-bottom: 32px;
}
.intro-text h2 .accent {
  font-family: var(--serif); font-style: italic; color: var(--khaki);
  letter-spacing: 0;
}
.intro-paragraphs p {
  color: var(--khaki); margin-bottom: 24px; font-size: 15px; line-height: 1.85;
}
.intro-paragraphs p:first-of-type { font-size: 17px; color: var(--umber); }

.intro-stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0;
}
.stat-cell {
  padding: 32px 0;
  border-top: 1px solid var(--border-light);
}
.stat-num {
  font-size: 56px; font-weight: 200; letter-spacing: -0.01em;
  color: var(--umber); line-height: 1;
}
.stat-num .accent { font-family: var(--serif); font-style: italic; color: var(--khaki); }
.stat-label {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--khaki); margin-top: 12px; max-width: 200px;
}

@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; gap: 48px; }
  .intro { padding: 80px 0; }
}

/* ─── FORMAT ─── */
.format {
  background: var(--olive); color: var(--dune);
  position: relative; overflow: hidden;
}
.format::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 0%, rgba(133, 125, 102,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.format-header { max-width: 720px; margin-bottom: 80px; position: relative; z-index: 1; }
.format-header h2 {
  font-size: clamp(32px, 4vw, 56px);
  text-transform: uppercase; margin-top: 16px;
}
.format-header p {
  margin-top: 24px; opacity: 0.88; font-size: 15px; max-width: 600px;
}

.format-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; position: relative; z-index: 1;
}
.format-card {
  padding: 40px 32px;
  border: 1px solid var(--border-dark);
  background: rgba(210,205,191,0.04);
  transition: all 0.5s var(--ease-apple);
  position: relative;
  overflow: hidden;
}
.format-card:hover {
  background: rgba(210,205,191,0.08);
  border-color: rgba(210,205,191,0.25);
  transform: translateY(-4px);
}
.format-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; transition: opacity 0.5s;
}
.format-card:hover::after { opacity: 0.85; }

.format-card .num {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 60px; color: var(--gold); opacity: 0.85;
  line-height: 1; margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.format-card h3 {
  font-size: 18px; letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 14px;
}
.format-card p { font-size: 13px; opacity: 0.88; line-height: 1.8; }
.format-card .tag {
  display: inline-block; margin-top: 18px; padding: 5px 12px;
  border: 1px solid rgba(210,205,191,0.2);
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  opacity: 0.85;
}

@media (max-width: 900px) {
  .format-grid { grid-template-columns: 1fr; }
}

/* ─── DIVISIONS ─── */
.divisions {
  background: var(--dune);
  padding: 140px 0;
}
.divisions-header { max-width: 720px; margin-bottom: 64px; }
.divisions-header h2 {
  font-size: clamp(32px, 4vw, 56px);
  text-transform: uppercase; margin-top: 16px;
}
.divisions-header p { margin-top: 24px; color: var(--khaki); font-size: 15px; max-width: 580px; }

.division-toggle {
  display: inline-flex;
  background: rgba(75,76,54,0.08);
  padding: 4px;
  border-radius: 100px;
  margin-bottom: 48px;
}
.division-btn {
  padding: 12px 28px;
  font-size: 11px; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--umber); opacity: 0.88;
  border-radius: 100px;
  transition: all 0.4s var(--ease-apple);
}
.division-btn.active {
  background: var(--olive); color: var(--dune); opacity: 1;
  box-shadow: 0 4px 16px -4px rgba(75,76,54,0.4);
}

.division-panel { display: none; }
.division-panel.active { display: block; animation: fadeUp 0.6s var(--ease-out-expo); }

.div-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.div-card {
  padding: 40px;
  background: var(--cream);
  border: 1px solid var(--border-light);
  transition: all 0.4s var(--ease-apple);
}
.div-card:hover {
  border-color: var(--khaki);
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -20px rgba(75,76,54,0.25);
}
.div-card .div-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--olive); color: var(--dune);
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  margin-bottom: 20px;
}
.div-card h3 {
  font-size: 22px; letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 12px;
}
.div-card .desc { color: var(--khaki); font-size: 14px; line-height: 1.75; margin-bottom: 24px; }
.div-card .specs {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}
.div-card .spec-label { font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--khaki); margin-bottom: 4px; }
.div-card .spec-value { font-size: 13px; font-weight: 400; }

@media (max-width: 900px) {
  .div-grid { grid-template-columns: 1fr; }
  .divisions { padding: 80px 0; }
}

/* ─── SCHEDULE ─── */
.schedule {
  background: var(--olive);
  color: var(--dune);
  padding: 140px 0;
  position: relative;
}
.schedule-header { max-width: 720px; margin-bottom: 80px; }
.schedule-header h2 {
  font-size: clamp(32px, 4vw, 56px);
  text-transform: uppercase; margin-top: 16px;
}
.schedule-header p { margin-top: 24px; opacity: 0.85; font-size: 15px; max-width: 560px; }

.schedule-timeline {
  position: relative;
  padding-left: 60px;
}
.schedule-timeline::before {
  content: ''; position: absolute; left: 24px; top: 12px; bottom: 12px;
  width: 1px;
  background: linear-gradient(180deg, var(--gold) 0%, rgba(210,205,191,0.2) 50%, var(--gold) 100%);
  opacity: 0.85;
}

.day-block { position: relative; padding-bottom: 60px; }
.day-block:last-child { padding-bottom: 0; }
.day-block::before {
  content: ''; position: absolute; left: -42px; top: 8px;
  width: 12px; height: 12px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--olive), 0 0 20px rgba(133, 125, 102,0.5);
}

.day-head {
  display: flex; align-items: baseline; gap: 24px; margin-bottom: 32px;
  flex-wrap: wrap;
}
.day-num {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 56px; line-height: 0.9;
  color: var(--gold);
}
.day-info .day-label {
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  opacity: 0.88;
}
.day-info .day-date {
  font-size: 22px; letter-spacing: 0.1em; text-transform: uppercase;
  margin-top: 6px;
}
.day-info .day-theme {
  font-size: 13px; opacity: 0.88; margin-top: 4px;
  font-family: var(--serif); font-style: italic; letter-spacing: 0;
}

.day-events { display: grid; gap: 12px; }
.day-event {
  display: grid; grid-template-columns: 100px 1fr auto;
  gap: 24px; align-items: center;
  padding: 18px 24px;
  background: rgba(210,205,191,0.04);
  border-left: 1px solid rgba(210,205,191,0.12);
  transition: background 0.3s, border-color 0.3s;
}
.day-event:hover {
  background: rgba(210,205,191,0.08);
  border-left-color: var(--gold);
}
.event-time {
  font-size: 13px; letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
  font-weight: 500; opacity: 0.85;
}
.event-name { font-size: 14px; }
.event-name .sub { font-size: 11px; opacity: 0.85; margin-top: 3px; display: block; font-weight: 300; }
.event-tag {
  font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 4px 10px; border: 1px solid rgba(210,205,191,0.2);
  opacity: 0.92;
}
.event-tag.tag-gold { color: var(--dune); background: var(--umber); border-color: var(--umber); }

@media (max-width: 700px) {
  .schedule-timeline { padding-left: 40px; }
  .day-block::before { left: -32px; }
  .day-event { grid-template-columns: 1fr; gap: 6px; padding: 14px 18px; }
  .event-tag { justify-self: start; }
  .schedule { padding: 80px 0; }
}

/* ─── WORKOUTS ─── */
.workouts {
  background: var(--dune);
  padding: 140px 0;
  position: relative;
}
.workouts-header { max-width: 720px; margin-bottom: 64px; }
.workouts-header h2 {
  font-size: clamp(32px, 4vw, 56px);
  text-transform: uppercase; margin-top: 16px;
}
.workouts-header p { margin-top: 24px; color: var(--khaki); font-size: 15px; max-width: 580px; }

.wod-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.wod-card {
  padding: 36px;
  background: var(--cream);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: all 0.4s var(--ease-apple);
  position: relative;
  overflow: hidden;
}
.wod-card:hover {
  background: var(--olive); color: var(--dune);
  border-color: var(--olive);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(75,76,54,0.3);
}
.wod-card:hover .wod-num,
.wod-card:hover .wod-locked,
.wod-card:hover .wod-body { color: inherit; }
.wod-card:hover .wod-locked { color: var(--gold); border-color: rgba(133, 125, 102,0.4); }

.wod-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 28px; }
.wod-num {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 40px; line-height: 1;
  color: var(--khaki);
  transition: color 0.4s;
}
.wod-locked {
  font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 5px 11px; border: 1px solid rgba(133,125,102,0.4);
  color: var(--khaki);
  transition: all 0.4s;
}
.wod-released { color: var(--gold); border-color: rgba(133, 125, 102,0.5); }

.wod-card h3 {
  font-size: 18px; letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 8px;
}
.wod-loc {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  opacity: 0.88; margin-bottom: 20px;
}
.wod-body {
  font-size: 13px; line-height: 1.75; opacity: 0.92;
  color: var(--khaki);
  transition: color 0.4s, opacity 0.4s;
}
.wod-card:hover .wod-body { opacity: 0.85; }

.wod-final {
  grid-column: 1 / -1;
  background: var(--olive); color: var(--dune);
  border-color: var(--olive);
  padding: 52px;
  text-align: center;
  position: relative;
}
.wod-final::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(133, 125, 102,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.wod-final:hover { transform: translateY(-4px); }
.wod-final .wod-final-label {
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
  position: relative;
}
.wod-final h3 {
  font-size: clamp(28px, 4vw, 44px); letter-spacing: 0.12em; margin-bottom: 12px;
  position: relative;
}
.wod-final .accent {
  font-family: var(--serif); font-style: italic; color: var(--gold);
  letter-spacing: 0;
}
.wod-final p { max-width: 540px; margin: 0 auto; opacity: 0.75; position: relative; }

@media (max-width: 900px) {
  .wod-grid { grid-template-columns: 1fr; }
  .wod-final { padding: 36px 24px; }
  .workouts { padding: 80px 0; }
}

/* ─── COACHES ─── */
.coaches {
  background: var(--olive-deep);
  color: var(--dune);
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.coaches::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 100%, rgba(133, 125, 102,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.coaches-header { max-width: 720px; margin-bottom: 80px; position: relative; z-index: 1; }
.coaches-header h2 {
  font-size: clamp(32px, 4vw, 56px);
  text-transform: uppercase; margin-top: 16px;
}
.coaches-header h2 .accent {
  font-family: var(--serif); font-style: italic; color: var(--gold); letter-spacing: 0;
}
.coaches-header p { margin-top: 24px; opacity: 0.88; font-size: 15px; max-width: 560px; }

.coaches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));   /* responsive 3 → 4 → 5 → wraps */
  gap: 24px;
  position: relative; z-index: 1;
}
.coach-card {
  background: rgba(210,205,191,0.04);
  border: 1px solid rgba(210,205,191,0.12);
  overflow: hidden;
  transition: all 0.5s var(--ease-apple);
  display: flex; flex-direction: column;
}
.coach-card:hover {
  border-color: rgba(133, 125, 102,0.4);
  transform: translateY(-6px);
  background: rgba(210,205,191,0.06);
}
.coach-portrait {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--olive-light) 0%, var(--olive-deep) 100%);
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
/* Real team photo · fills the portrait box, soft warm-tone treatment */
.coach-portrait .coach-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;            /* bias toward face/upper body */
  transition: transform 0.8s var(--ease-out-expo), filter 0.6s ease;
  filter: saturate(0.92) contrast(1.02);  /* gentle brand-tone treatment */
  z-index: 2;
}
.coach-card:hover .coach-photo {
  transform: scale(1.04);
  filter: saturate(1) contrast(1.05);
}
/* If the photo fails to load (or hasn't been uploaded yet), the onerror handler
   removes the <img> entirely, so the gradient + initial fallback below shows through. */
.coach-portrait::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(210,205,191,0.10) 0%, transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(75,76,54,0.5) 0%, transparent 55%);
  z-index: 1;
}
.coach-portrait .coach-initial {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 120px; color: var(--dune); opacity: 0.55;
  line-height: 1; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: -0.02em;
  z-index: 1;
  text-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
.coach-portrait .coach-tag {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  padding: 5px 12px;
  background: rgba(58, 59, 40, 0.7);
  backdrop-filter: blur(8px);
  font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(133, 125, 102,0.4);
}
.coach-info { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.coach-info h3 {
  font-size: 22px; letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 4px;
}
.coach-role {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.coach-bio {
  font-size: 13px; line-height: 1.75; opacity: 0.92; flex: 1;
}
.coach-creds {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(210,205,191,0.1);
  display: flex; flex-wrap: wrap; gap: 8px;
}
.coach-cred {
  font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 4px 10px;
  background: rgba(210,205,191,0.06);
  border: 1px solid rgba(210,205,191,0.12);
  opacity: 0.75;
}
.coach-handle {
  margin-top: 20px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.12em;
  color: var(--gold); opacity: 0.85;
  transition: opacity 0.3s;
}
.coach-handle:hover { opacity: 1; }
.coach-handle svg { width: 14px; height: 14px; }

@media (max-width: 900px) {
  .coaches-grid { grid-template-columns: 1fr; }
  .coaches { padding: 80px 0; }
}

/* ─── PRIZES ─── */
.prizes {
  background: var(--dune);
  padding: 140px 0;
  text-align: center;
  position: relative;
}
.prizes-header { max-width: 720px; margin: 0 auto 80px; }
.prizes-header h2 {
  font-size: clamp(32px, 4vw, 56px);
  text-transform: uppercase; margin-top: 16px;
}
.prizes-header p { margin-top: 24px; color: var(--khaki); font-size: 15px; }

.prize-pool {
  display: inline-flex; flex-direction: column; align-items: center;
  margin-bottom: 64px;
}
.prize-pool-label {
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--khaki); margin-bottom: 12px;
}
.prize-pool-amount {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(72px, 12vw, 140px);
  color: var(--umber);
  line-height: 1; letter-spacing: -0.02em;
}
.prize-pool-currency {
  font-size: 14px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--khaki); margin-top: 8px;
}

.podium {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; max-width: 920px; margin: 0 auto;
  align-items: end;
}
.podium-pos {
  padding: 36px 24px;
  background: var(--cream);
  border: 1px solid var(--border-light);
  position: relative;
  transition: all 0.4s var(--ease-apple);
}
.podium-pos:hover { transform: translateY(-4px); border-color: var(--khaki); }
.podium-1st { order: 2; padding-bottom: 56px; padding-top: 56px; background: var(--olive); color: var(--dune); border-color: var(--olive); }
.podium-1st .podium-place { color: var(--gold); }
.podium-2nd { order: 1; }
.podium-3rd { order: 3; }
.podium-place {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 64px; line-height: 1;
  color: var(--khaki);
  margin-bottom: 16px;
}
.podium-pos h3 {
  font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 12px;
}
.podium-prize {
  font-size: 22px; font-weight: 300; letter-spacing: 0.04em;
}
.podium-perks {
  margin-top: 16px; font-size: 11px; opacity: 0.85; line-height: 1.7;
}

@media (max-width: 700px) {
  .podium { grid-template-columns: 1fr; }
  .podium-1st, .podium-2nd, .podium-3rd { order: initial; }
  .prizes { padding: 80px 0; }
}

/* ─── INCLUDED ─── */
.included {
  background: var(--olive); color: var(--dune);
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.included-header { max-width: 720px; margin-bottom: 64px; position: relative; z-index: 1; }
.included-header h2 {
  font-size: clamp(32px, 4vw, 56px);
  text-transform: uppercase; margin-top: 16px;
}
.included-header p { margin-top: 24px; opacity: 0.88; font-size: 15px; max-width: 560px; }

.included-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; position: relative; z-index: 1;
}
.included-item {
  padding: 32px;
  border: 1px solid rgba(210,205,191,0.12);
  background: rgba(210,205,191,0.03);
  transition: all 0.4s var(--ease-apple);
}
.included-item:hover {
  background: rgba(210,205,191,0.07);
  border-color: rgba(133, 125, 102,0.3);
  transform: translateY(-2px);
}
.included-icon {
  width: 44px; height: 44px;
  border: 1px solid rgba(133, 125, 102,0.4);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  color: var(--gold);
  background: rgba(133, 125, 102,0.06);
}
.included-icon svg { width: 22px; height: 22px; }
.included-item h3 {
  font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 10px;
}
.included-item p { font-size: 13px; opacity: 0.88; line-height: 1.75; }

@media (max-width: 900px) {
  .included-grid { grid-template-columns: 1fr; }
  .included { padding: 80px 0; }
}

/* ─── VENUE ─── */
.venue {
  background: var(--dune);
  padding: 140px 0;
  position: relative;
}
.venue-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.venue-text h2 {
  font-size: clamp(32px, 4vw, 56px);
  text-transform: uppercase; margin-top: 16px;
}
.venue-text h2 .accent { font-family: var(--serif); font-style: italic; color: var(--khaki); letter-spacing: 0; }
.venue-text > p { margin-top: 28px; color: var(--khaki); font-size: 15px; line-height: 1.85; max-width: 480px; }

.venue-info { margin-top: 40px; }
.venue-info-row {
  padding: 22px 0;
  border-top: 1px solid var(--border-light);
  display: grid; grid-template-columns: 140px 1fr;
  gap: 24px; align-items: baseline;
}
.venue-info-row:last-child { border-bottom: 1px solid var(--border-light); }
.venue-info-row .row-label {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--khaki);
}
.venue-info-row .row-value { font-size: 14px; line-height: 1.6; }

.venue-map-wrap {
  aspect-ratio: 4/5;
  border: 1px solid var(--border-light);
  background: var(--olive);
  overflow: hidden;
  position: relative;
}
.venue-map {
  width: 100%; height: 100%; border: 0;
  filter: grayscale(0.3) contrast(0.95) brightness(0.95);
}

@media (max-width: 900px) {
  .venue-grid { grid-template-columns: 1fr; gap: 48px; }
  .venue-info-row { grid-template-columns: 1fr; gap: 4px; }
  .venue { padding: 80px 0; }
}

/* ─── SPONSORS ─── */
.sponsors {
  background: var(--olive-deep);
  color: var(--dune);
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.sponsors-header { text-align: center; max-width: 720px; margin: 0 auto 80px; }
.sponsors-header h2 {
  font-size: clamp(32px, 4vw, 56px);
  text-transform: uppercase; margin-top: 16px;
}
.sponsors-header p { margin-top: 24px; opacity: 0.85; font-size: 15px; }

.sponsor-tier {
  margin-bottom: 64px;
}
.sponsor-tier:last-child { margin-bottom: 0; }
.tier-head {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin-bottom: 32px;
}
.tier-line { flex: 1; max-width: 80px; height: 1px; background: rgba(210,205,191,0.2); }
.tier-name {
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold); opacity: 0.85;
}

.sponsor-row {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 24px;
}
.sponsor-slot {
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  padding: 24px 36px;
  border: 1px dashed rgba(210,205,191,0.18);
  background: rgba(210,205,191,0.03);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-muted-dark);
  transition: all 0.4s var(--ease-apple);
}
.sponsor-slot:hover {
  border-color: rgba(133, 125, 102,0.3);
  background: rgba(133, 125, 102,0.05);
  color: var(--gold);
}
.tier-title-slot { min-width: 280px; min-height: 120px; font-size: 14px; }
.tier-podium-slot { min-width: 200px; min-height: 90px; }
.tier-supporting-slot { min-width: 140px; min-height: 70px; font-size: 10px; }
.tier-community-slot { min-width: 110px; min-height: 56px; font-size: 10px; }

.sponsor-cta {
  text-align: center; margin-top: 80px;
  padding-top: 64px;
  border-top: 1px solid rgba(210,205,191,0.1);
}
.sponsor-cta h3 {
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase; margin-bottom: 16px;
}
.sponsor-cta h3 .accent { font-family: var(--serif); font-style: italic; color: var(--gold); letter-spacing: 0; }
.sponsor-cta p { opacity: 0.88; max-width: 540px; margin: 0 auto 32px; font-size: 14px; }

@media (max-width: 700px) {
  .sponsors { padding: 80px 0; }
  .tier-title-slot { min-width: 240px; }
}

/* ─── COMMUNITY ─── */
.community {
  background: var(--cream);
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.community-grid {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 80px; align-items: center;
}
.community-text h2 {
  font-size: clamp(32px, 4vw, 56px);
  text-transform: uppercase; margin-top: 16px;
}
.community-text h2 .accent { font-family: var(--serif); font-style: italic; color: var(--khaki); letter-spacing: 0; }
.community-text > p {
  margin-top: 28px; color: var(--khaki);
  font-size: 16px; line-height: 1.85; max-width: 540px;
}
.community-features {
  margin-top: 32px; display: grid; gap: 16px;
}
.community-feat {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(75,76,54,0.08);
}
.community-feat .check {
  width: 24px; height: 24px; flex-shrink: 0;
  border: 1px solid var(--khaki);
  display: flex; align-items: center; justify-content: center;
  color: var(--olive);
}
.community-feat .check svg { width: 12px; height: 12px; }
.community-feat-text strong {
  display: block; font-weight: 500; font-size: 13px;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 4px;
}
.community-feat-text span { font-size: 12px; color: var(--khaki); }

.community-visual {
  aspect-ratio: 1/1.1;
  background: linear-gradient(135deg, var(--olive) 0%, var(--olive-deep) 100%);
  border: 1px solid var(--border-light);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.community-visual::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 25% 25%, rgba(133, 125, 102,0.15) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(133,125,102,0.2) 0%, transparent 50%);
}
.community-visual-content {
  position: relative; z-index: 1; text-align: center; color: var(--dune); padding: 40px;
}
.community-visual-time {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(64px, 10vw, 120px);
  color: var(--gold); line-height: 1; margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.community-visual-day {
  font-size: 14px; letter-spacing: 0.32em; text-transform: uppercase;
  margin-bottom: 8px;
}
.community-visual-detail {
  font-size: 11px; opacity: 0.85; letter-spacing: 0.12em; text-transform: uppercase;
}

@media (max-width: 900px) {
  .community-grid { grid-template-columns: 1fr; gap: 48px; }
  .community { padding: 80px 0; }
}

/* ─── REGISTER ─── */
.register {
  background: var(--olive); color: var(--dune);
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.register::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(133, 125, 102,0.1) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 100%, rgba(75,76,54,0.4) 0%, transparent 60%);
  pointer-events: none;
}
.register-inner {
  max-width: 760px; margin: 0 auto;
  text-align: center;
  position: relative; z-index: 1;
}
.register h2 {
  font-size: clamp(40px, 6vw, 88px);
  text-transform: uppercase;
  margin-top: 24px; margin-bottom: 12px;
  font-weight: 200;
  letter-spacing: -0.01em;
  line-height: 0.95;
}
.register h2 .accent {
  font-family: var(--serif); font-style: italic; color: var(--gold); letter-spacing: 0;
}
.register-sub {
  font-size: 16px; opacity: 0.92; margin: 28px 0 12px;
  font-family: var(--serif); font-style: italic; letter-spacing: 0;
}
.register-pricing {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin: 56px 0;
  text-align: left;
}
.price-card {
  padding: 32px;
  background: rgba(210,205,191,0.04);
  border: 1px solid rgba(210,205,191,0.12);
  position: relative;
  transition: all 0.4s var(--ease-apple);
}
.price-card:hover {
  background: rgba(210,205,191,0.08);
  border-color: rgba(133, 125, 102,0.4);
  transform: translateY(-4px);
}
.price-card.recommended {
  border-color: rgba(133, 125, 102,0.5);
  background: rgba(133, 125, 102,0.06);
}
.price-card.recommended::before {
  content: 'Limited'; position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  padding: 4px 12px; background: var(--gold); color: var(--olive-deep);
  font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500;
}
.price-tier {
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  opacity: 0.92; margin-bottom: 14px;
}
.price-amount {
  font-size: 36px; font-weight: 200; letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.price-amount .currency { font-size: 14px; opacity: 0.85; margin-right: 6px; }
.price-unit { font-size: 11px; opacity: 0.88; margin-bottom: 24px; letter-spacing: 0.14em; text-transform: uppercase; }
.price-includes { font-size: 12px; opacity: 0.88; line-height: 1.85; }
.price-includes ul { list-style: none; }
.price-includes li {
  padding-left: 16px; position: relative; padding-bottom: 4px;
}
.price-includes li::before {
  content: '·'; position: absolute; left: 4px; color: var(--gold); font-weight: 700;
}

.register-cta-row {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-top: 16px;
}
.register-foot {
  margin-top: 36px;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  opacity: 0.45;
}

@media (max-width: 900px) {
  .register-pricing { grid-template-columns: 1fr; }
  .register { padding: 80px 0; }
}

/* ─── FAQ ─── */
.faq {
  background: var(--dune);
  padding: 140px 0;
}
.faq-header { max-width: 720px; margin-bottom: 56px; }
.faq-header h2 {
  font-size: clamp(32px, 4vw, 56px);
  text-transform: uppercase; margin-top: 16px;
}

.faq-list { max-width: 860px; }
.faq-item {
  border-top: 1px solid var(--border-light);
}
.faq-item:last-child { border-bottom: 1px solid var(--border-light); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px 0;
  cursor: pointer;
  font-size: 16px; font-weight: 400;
  transition: opacity 0.3s, padding 0.3s;
  letter-spacing: 0.04em;
}
.faq-q:hover { opacity: 0.92; }
.faq-q .plus {
  width: 24px; height: 24px; flex-shrink: 0; margin-left: 24px;
  position: relative;
  transition: transform 0.4s var(--ease-apple);
}
.faq-q .plus::before, .faq-q .plus::after {
  content: ''; position: absolute; left: 50%; top: 50%;
  width: 14px; height: 1px; background: var(--umber);
  transform: translate(-50%, -50%);
}
.faq-q .plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.4s var(--ease-apple); }
.faq-item.open .faq-q .plus::after { transform: translate(-50%, -50%) rotate(0); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.5s var(--ease-apple), padding 0.4s var(--ease-apple);
  font-size: 14px; line-height: 1.85; color: var(--khaki);
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding-bottom: 32px;
  padding-right: 48px;
}

@media (max-width: 700px) {
  .faq { padding: 80px 0; }
}

/* ─── AFTER ─── */
.after {
  background: var(--cream);
  padding: 140px 0;
}
.after-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.after-item {
  padding: 36px;
  background: var(--dune);
  border: 1px solid var(--border-light);
  transition: all 0.4s var(--ease-apple);
  position: relative;
}
.after-item:hover {
  background: var(--olive); color: var(--dune);
  transform: translateY(-4px);
  box-shadow: 0 24px 40px -20px rgba(75,76,54,0.4);
}
.after-item:hover .after-step,
.after-item:hover .after-item p { color: var(--gold); }
.after-step {
  font-family: var(--serif); font-style: italic;
  font-size: 36px; color: var(--khaki);
  margin-bottom: 16px;
  transition: color 0.4s;
}
.after-item h3 {
  font-size: 16px; letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 12px;
}
.after-item p { font-size: 13px; opacity: 0.92; line-height: 1.75; transition: color 0.4s; }

.after-header { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.after-header h2 {
  font-size: clamp(32px, 4vw, 56px);
  text-transform: uppercase; margin-top: 16px;
}
.after-header h2 .accent { font-family: var(--serif); font-style: italic; color: var(--khaki); letter-spacing: 0; }
.after-header p { margin-top: 24px; color: var(--khaki); font-size: 15px; }

@media (max-width: 900px) {
  .after-grid { grid-template-columns: 1fr; }
  .after { padding: 80px 0; }
}

/* ─── FINAL CTA ─── */
.final-cta {
  background: var(--olive-deep);
  color: var(--dune);
  padding: 160px 0;
  text-align: center;
  position: relative; overflow: hidden;
}
.final-cta::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(133, 125, 102,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.final-cta-content { position: relative; z-index: 1; max-width: 880px; margin: 0 auto; }
.final-cta h2 {
  font-size: clamp(48px, 9vw, 128px);
  font-weight: 200; letter-spacing: -0.01em;
  line-height: 0.95;
  margin-bottom: 32px;
  text-transform: uppercase;
}
.final-cta h2 .accent { font-family: var(--serif); font-style: italic; color: var(--gold); letter-spacing: 0; text-transform: none; }
.final-cta p { opacity: 0.88; margin-bottom: 48px; font-size: 16px; max-width: 540px; margin-left: auto; margin-right: auto; }
.final-cta .label { color: var(--gold); margin-bottom: 16px; }

/* ─── FOOTER ─── */
.footer {
  background: var(--black); color: var(--dune);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(210,205,191,0.08);
}
.footer-brand h3 {
  font-size: 14px; letter-spacing: 0.32em; text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-brand p { font-size: 13px; opacity: 0.88; line-height: 1.85; max-width: 320px; }
.footer-col h4 {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  margin-bottom: 18px; opacity: 0.85;
}
.footer-col a, .footer-col p {
  display: block; font-size: 12px; opacity: 0.88; padding: 4px 0;
  transition: opacity 0.3s;
}
.footer-col a:hover { opacity: 1; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px; flex-wrap: wrap; gap: 16px;
}
.footer-copy { font-size: 11px; opacity: 0.78; letter-spacing: 0.06em; }
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(210,205,191,0.15);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
.footer-social a:hover { background: var(--dune); color: var(--olive); border-color: var(--dune); }
.footer-social svg { width: 14px; height: 14px; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ─── STICKY CTA (mobile) ─── */
.sticky-cta {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 90;
  padding: 12px 16px;
  background: var(--olive-95);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(210,205,191,0.12);
}
.sticky-cta .btn { width: 100%; }
@media (max-width: 700px) {
  .sticky-cta { display: block; }
  body { padding-bottom: 64px; }
}

/* ─── STICKY MOBILE CTA (per spec) ─── */
.sticky-mobile-cta { display: none; }
@media (max-width: 700px) {
  .sticky-mobile-cta {
    display: flex; align-items: center; justify-content: center;
    position: fixed; bottom: 0; left: 0; right: 0;
    z-index: 90;
    background: var(--olive);
    padding: 12px 16px;
    box-shadow: 0 -8px 24px rgba(0,0,0,0.18);
  }
  .sticky-mobile-cta a {
    color: var(--dune);
    font-family: var(--font);
    font-size: 12px; font-weight: 500;
    letter-spacing: 0.18em; text-transform: uppercase;
    padding: 12px 24px; border: 1px solid var(--dune);
    width: 100%; text-align: center; min-height: 44px;
    display: flex; align-items: center; justify-content: center;
  }
  body { padding-bottom: 64px; }
}

/* ─── REGISTER POLICY BLOCK ─── */
.register-policy {
  background: var(--dune);
  color: var(--olive);
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.65;
  padding: 16px 20px;
  max-width: 600px;
  margin: 24px auto 0;
  border-left: 2px solid var(--khaki);
}
.register-policy p { margin: 0; }
.register-policy p + p { margin-top: 8px; }
.register-policy strong {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--umber);
}

/* ─── FOOTER EMAIL SIGNUP (Netlify Forms) ─── */
.footer-signup {
  margin-bottom: 32px; padding-bottom: 32px;
  border-bottom: 1px solid rgba(210,205,191,0.08);
  max-width: 520px;
}
.footer-signup-label {
  font-family: var(--font);
  font-size: 12px;
  color: var(--dune);
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 12px;
}
.footer-signup-row {
  display: flex; gap: 8px;
}
.footer-signup-input {
  flex: 1;
  background: var(--olive-deep);
  color: var(--dune);
  border: 1px solid rgba(210,205,191,0.25);
  padding: 12px;
  font-size: 14px;
  font-family: var(--font);
  outline: none;
  min-height: 44px;
}
.footer-signup-input::placeholder { color: rgba(210,205,191,0.5); }
.footer-signup-input:focus { border-color: var(--dune); }
.footer-signup-btn {
  background: var(--olive);
  color: var(--dune);
  border: 1px solid var(--dune);
  padding: 12px 20px;
  font-family: var(--font);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  min-height: 44px;
  transition: all 0.2s ease;
}
.footer-signup-btn:hover { background: var(--dune); color: var(--olive); }
.footer-signup-hp { position: absolute; left: -9999px; opacity: 0; }
@media (max-width: 600px) {
  .footer-signup-row { flex-direction: column; }
  .footer-signup-input, .footer-signup-btn { width: 100%; }
}

/* ─── LIVE LEADERBOARD ─── */
.live-lb {
  background: var(--olive-deep);
  color: var(--dune);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.live-lb::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(133, 125, 102,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.live-lb-head {
  max-width: 720px; margin: 0 auto 56px;
  text-align: center;
  position: relative; z-index: 1;
}
.live-lb-head h2 {
  font-size: clamp(32px, 4vw, 56px);
  text-transform: uppercase; margin-top: 16px; font-weight: 200;
}
.live-lb-head h2 .accent {
  font-family: var(--serif); font-style: italic; color: var(--gold); letter-spacing: 0;
}
.live-lb-head p { margin-top: 24px; opacity: 0.88; font-size: 15px; max-width: 540px; margin-left: auto; margin-right: auto; }

.live-pulse {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px;
  border: 1px solid rgba(133, 125, 102,0.4);
  background: rgba(133, 125, 102,0.08);
  border-radius: 100px;
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold); font-weight: 500;
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
  animation: lb-pulse 1.5s ease-in-out infinite;
}
@keyframes lb-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

/* On-Court live banner */
.oncourt-banner {
  background: linear-gradient(90deg, rgba(133, 125, 102,0.18) 0%, rgba(133, 125, 102,0.06) 100%);
  border-left: 3px solid var(--gold);
  padding: 24px 32px;
  margin: 0 auto 40px;
  max-width: 1080px;
  position: relative; z-index: 1;
}
.oc-label {
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px; font-weight: 500;
}
.oc-line {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 20px; flex-wrap: wrap;
}
.oc-workout {
  font-size: clamp(20px, 3vw, 28px); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--dune);
}
.oc-clock {
  font-size: clamp(28px, 5vw, 44px); font-weight: 200;
  font-variant-numeric: tabular-nums; color: var(--gold);
  letter-spacing: 0.04em;
}
.oc-meta {
  font-size: 12px; opacity: 0.85; margin-top: 8px;
  letter-spacing: 0.18em; text-transform: uppercase;
}

/* toolbar */
.lb-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1180px; margin: 0 auto 16px;
  padding: 0 8px; gap: 20px; flex-wrap: wrap;
  position: relative; z-index: 1;
}
.lb-divisions { display: flex; gap: 6px; flex-wrap: wrap; }
.lb-div-btn {
  padding: 8px 16px;
  background: rgba(210,205,191,0.06);
  color: var(--dune);
  border: 1px solid rgba(210,205,191,0.12);
  font-family: var(--font); font-size: 10px; font-weight: 400;
  letter-spacing: 0.18em; text-transform: uppercase;
  cursor: pointer; transition: all 0.3s var(--ease-apple);
}
.lb-div-btn:hover { border-color: rgba(210,205,191,0.3); }
.lb-div-btn.active { background: var(--gold); color: var(--olive-deep); border-color: var(--gold); font-weight: 500; }
.lb-updated {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-muted-dark);
}
.lb-updated.flash { color: var(--gold); transition: color 1.6s ease; }

/* table */
.lb-table-wrap {
  max-width: 1180px; margin: 0 auto;
  background: rgba(210,205,191,0.04);
  border: 1px solid rgba(210,205,191,0.1);
  position: relative; z-index: 1;
  overflow-x: auto;
}
.lb-table { width: 100%; border-collapse: collapse; }
.lb-table th, .lb-table td {
  padding: 16px 20px; text-align: left;
  border-bottom: 1px solid rgba(210,205,191,0.06);
}
.lb-table th {
  background: rgba(58, 59, 40, 0.5);
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-muted-dark); font-weight: 500;
}
.lb-table td { font-size: 14px; }
.lb-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
.lb-table tr.top-4 td { background: rgba(133, 125, 102,0.06); }
.lb-table tr.top-4 .lb-rank { color: var(--gold); font-weight: 500; }
.lb-rank {
  font-family: var(--serif); font-style: italic; font-size: 22px;
  color: var(--khaki); letter-spacing: -0.01em;
}
.lb-move {
  display: inline-block; margin-left: 6px;
  font-size: 9px; letter-spacing: 0.06em;
  font-weight: 500; vertical-align: middle;
}
.lb-move.up   { color: #4A9A6A; }
.lb-move.down { color: #B05050; opacity: 0.92; }
.lb-team-name { font-weight: 400; color: var(--dune); }
.lb-team-bib  { color: var(--text-muted-dark); font-size: 11px; margin-left: 8px; }
.lb-athletes  { color: var(--text-muted-dark); font-size: 12px; }
.lb-total { color: var(--gold); font-weight: 500; font-size: 16px; }
.lb-empty { padding: 60px 24px; text-align: center; color: var(--text-muted-dark);
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; }

/* row update flash */
@keyframes lb-flash {
  0% { background: rgba(133, 125, 102,0.25); }
  100% { background: transparent; }
}
.lb-table tr.flash td { animation: lb-flash 1.4s ease; }

@media (max-width: 760px) {
  .live-lb { padding: 80px 0; }
  .lb-table th, .lb-table td { padding: 12px 14px; font-size: 12px; }
  .lb-table .hide-sm { display: none; }
  .lb-table th.hide-sm { display: none; }
}

/* ─── SIGN-UP FORM ─── */
.register-form-wrap {
  margin-top: 80px;
  padding-top: 64px;
  border-top: 1px solid rgba(210,205,191,0.12);
  text-align: left;
  position: relative; z-index: 1;
}
.register-form-head {
  text-align: center; max-width: 640px; margin: 0 auto 48px;
}
.register-form-head h3 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 200; letter-spacing: -0.005em;
  text-transform: uppercase;
  margin-top: 14px; margin-bottom: 16px;
  color: var(--dune);
}
.register-form-head p { font-size: 14px; opacity: 0.85; }

.signup-form { max-width: 880px; margin: 0 auto; }
.form-block {
  background: rgba(210,205,191,0.04);
  border: 1px solid rgba(210,205,191,0.1);
  padding: 32px;
  margin-bottom: 16px;
  transition: border-color 0.3s, background 0.3s;
}
.form-block:focus-within {
  border-color: rgba(133, 125, 102,0.3);
  background: rgba(210,205,191,0.06);
}
.form-block-title {
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); font-weight: 500;
  margin-bottom: 24px;
}
.form-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field span {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-muted-dark);
}
.form-field span em { color: var(--gold); font-style: normal; margin-left: 2px; }
.form-field input,
.form-field select,
.form-field textarea {
  padding: 11px 14px;
  background: rgba(58, 59, 40, 0.88);
  border: 1px solid rgba(210,205,191,0.15);
  color: var(--dune);
  font-family: var(--font); font-size: 14px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  background: rgba(58,59,40,0.85);
}
.form-field textarea { resize: vertical; min-height: 80px; }
.form-field-row {
  display: flex; align-items: flex-start; gap: 12px;
  margin-top: 16px;
  padding: 12px 0;
  font-size: 13px; color: var(--dune); opacity: 0.85;
  cursor: pointer;
  line-height: 1.55;
}
.form-field-row input[type="checkbox"] {
  width: 16px; height: 16px; flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--gold);
}
.form-field-row em { color: var(--gold); font-style: normal; margin-left: 2px; }
.form-field-row a { color: var(--gold); text-decoration: underline; }

/* handoff to rezerv */
.form-handoff {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  margin: 32px 0 24px;
  padding: 24px;
  background: rgba(133, 125, 102,0.06);
  border: 1px solid rgba(133, 125, 102,0.2);
}
.handoff-step {
  display: flex; align-items: center; gap: 14px;
}
.handoff-num {
  width: 36px; height: 36px; flex-shrink: 0;
  border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-weight: 500;
  border-radius: 50%;
}
.handoff-step strong {
  display: block; font-weight: 500; font-size: 13px;
  color: var(--dune);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.handoff-step span {
  display: block; font-size: 12px;
  color: var(--text-muted-dark);
  margin-top: 4px;
}
.handoff-arrow {
  color: var(--gold); font-size: 18px;
  text-align: center;
}
@media (max-width: 720px) {
  .form-handoff { grid-template-columns: 1fr; }
  .handoff-arrow { transform: rotate(90deg); }
}

.form-actions {
  display: flex; align-items: center; gap: 20px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.form-foot {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-muted-dark);
}
.form-msg {
  margin-top: 16px; padding: 12px 16px;
  font-size: 12px; letter-spacing: 0.06em;
  display: none;
}
.form-msg.error { display: block; background: rgba(176,80,80,0.15); color: #f0c0c0; border-left: 3px solid #b05050; }
.form-msg.info  { display: block; background: rgba(133, 125, 102,0.1); color: var(--gold); border-left: 3px solid var(--gold); }

/* success */
.signup-success {
  max-width: 640px; margin: 0 auto;
  padding: 56px 32px;
  text-align: center;
  background: rgba(133, 125, 102,0.06);
  border: 1px solid rgba(133, 125, 102,0.25);
}
.success-icon { color: var(--gold); margin-bottom: 24px; }
.success-icon svg { width: 56px; height: 56px; margin: 0 auto; }
.signup-success h3 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 200; letter-spacing: -0.005em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--dune);
}
.signup-success h3 .accent {
  font-family: var(--serif); font-style: italic; color: var(--gold);
  letter-spacing: 0;
}
.signup-success p { color: var(--dune); opacity: 0.75; margin-bottom: 12px; }
.success-meta {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  margin-top: 24px !important;
}
.success-meta code {
  font-family: var(--font); padding: 3px 8px;
  background: rgba(210,205,191,0.08);
  color: var(--gold);
}
.success-cta-row {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin-top: 32px;
}

/* selection */
::selection { background: var(--umber); color: var(--dune); }

/* ════════════════════════════════════════════════════════════════
   HIGH-CONTRAST OVERRIDE for dark sections
   On any dark-themed section (olive / olive-deep / umber background),
   the "gold" accent is remapped to Dune so text stays readable.
   Also bumps faded numerals (.num) up so they don't look pre-erased.
   ════════════════════════════════════════════════════════════════ */
.hero, .hero *,
.countdown, .countdown *,
.live-lb, .live-lb *,
.after, .after *,
.final-cta, .final-cta *,
.sticky-cta, .sticky-cta *,
.register, .register *,
.footer, .footer *,
.coaches, .coaches *,
.format, .format *,
.divisions, .divisions *,
.schedule, .schedule *,
.workouts, .workouts *,
.included, .included *,
.venue, .venue *,
.sponsors, .sponsors *,
.community, .community *,
.prizes, .prizes *,
.faq, .faq *,
.intro, .intro *,
.podium-1st, .podium-1st *,
.wod-final, .wod-final * {
  --gold: var(--dune);
}

/* Force any element explicitly using color: var(--gold) inside a dark section to render Dune */
.hero .label-accent, .hero [style*="--gold"],
.format .label-accent,
.divisions .label-accent,
.schedule .label-accent,
.workouts .label-accent,
.coaches .label-accent,
.live-lb .label-accent,
.after .label-accent,
.final-cta .label-accent,
.register .label-accent,
.included .label-accent,
.venue .label-accent,
.sponsors .label-accent,
.community .label-accent,
.prizes .label-accent,
.faq .label-accent,
.intro .label-accent { color: var(--dune); }

/* Big faded numerals on format/wod cards · was 0.06 alpha on olive (invisible) */
.format-card .num,
.wod-card .wod-num,
.format-card .number,
.day-block .day-num,
.day-num { color: var(--dune); opacity: 0.55; }

/* Tag chips inside dark sections · keep visible */
.format-card .tag,
.wod-card .wod-loc,
.day-event .event-tag {
  color: var(--dune); border-color: rgba(210, 205, 191, 0.4);
}
.event-tag.tag-gold { color: var(--dune); background: var(--umber); border-color: var(--umber); }

/* ════════════════════════════════════════════════════════════════
   MOBILE-FIRST PASS · most traffic is phone
   Brand-safe colors only. Touch targets ≥ 44px. No horizontal scroll.
   ════════════════════════════════════════════════════════════════ */

/* === Tablets and large phones (≤ 760px) === */
@media (max-width: 760px) {
  body { font-size: 14px; }
  .container, .container-narrow { padding: 0 22px; }
  .section-pad { padding: 80px 0; }
  .section-pad-sm { padding: 56px 0; }

  /* Heat structure block I added · stack to 1 col, tighten */
  #schedule [style*="repeat(2,1fr)"] { grid-template-columns: 1fr !important; gap: 16px !important; }

  /* Sponsor tiers · collapse 4-up & 2-up to 1-up on mobile for legibility */
  .sponsor-tier .sponsor-row[style*="repeat(4"] { grid-template-columns: repeat(2,1fr) !important; }
  .sponsor-tier .sponsor-row[style*="repeat(2"] { grid-template-columns: 1fr !important; }
  .sponsor-tier .sponsor-row[style*="repeat(3"] { grid-template-columns: 1fr !important; }

  /* Title-partner block aspect ratio */
  .sponsor-tier .sponsor-slot[style*="9/2"] { aspect-ratio: 5/2 !important; font-size: 28px !important; }

  /* Hero title scale */
  .hero-title { font-size: clamp(40px, 11vw, 72px); line-height: 1.05; }
  .hero-subtitle { font-size: 13px; }
  .hero-tagline { font-size: 14px; }
  .hero-meta { gap: 14px; flex-wrap: wrap; }
  .hero-meta-item .value { font-size: 14px; }
  .hero-cta-row { flex-direction: column; gap: 10px; width: 100%; max-width: 320px; }
  .hero-cta-row .btn { width: 100%; }

  /* Buttons · minimum 48px tap target on mobile */
  .btn { padding: 16px 28px; min-height: 48px; font-size: 12px; }
  .btn-sm { padding: 14px 22px; min-height: 44px; }
  .btn-lg { padding: 18px 30px; min-height: 52px; }

  /* Section titles scale */
  h2 { font-size: clamp(26px, 6vw, 36px) !important; line-height: 1.2; }
  .hero-eyebrow, .label { font-size: 10px; }

  /* Coach cards · stack with proper gap */
  .coaches-grid { gap: 24px; }

  /* WOD cards single-column */
  .wod-grid { grid-template-columns: 1fr; gap: 16px; }
  .wod-card { padding: 28px 24px; }

  /* Schedule day events · readable */
  .day-event { padding: 14px 16px; }
  .event-time { font-size: 12px; }
  .event-name { font-size: 14px; line-height: 1.4; }
  .event-tag { font-size: 9px; padding: 4px 8px; }

  /* Forms · 16px font size prevents iOS auto-zoom */
  input, select, textarea { font-size: 16px !important; }
  .form-grid { grid-template-columns: 1fr; gap: 14px; }
  .form-field input, .form-field select, .form-field textarea {
    padding: 14px 14px; min-height: 48px;
  }

  /* Pricing cards stack */
  .register-pricing { grid-template-columns: 1fr; gap: 16px; }
  .price-card { padding: 28px 22px; }

  /* Divisions toggle · bigger tap targets */
  .division-btn { padding: 14px 20px; min-height: 48px; font-size: 12px; }
  .div-grid { grid-template-columns: 1fr; gap: 16px; }
  .div-card { padding: 24px 20px; }
  .specs { grid-template-columns: 1fr 1fr; gap: 12px; }

  /* Format cards */
  .format-grid { grid-template-columns: 1fr; gap: 16px; }
  .format-card { padding: 28px 22px; }

  /* Live leaderboard table · horizontal scroll wrapper */
  .lb-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .lb-table { min-width: 540px; font-size: 12px; }

  /* Community section grid */
  .community-grid { grid-template-columns: 1fr !important; gap: 32px; }
  .community-visual { display: none; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; padding-top: 20px; }

  /* FAQ */
  .faq-q { font-size: 14px; padding: 18px 0; gap: 12px; }
  .faq-a { font-size: 13px; }

  /* Sponsor partner CTA */
  .sponsor-cta h3 { font-size: 22px; }
  .sponsor-cta p { font-size: 13px; }

  /* Header brand on phone · slim it */
  .header { padding: 14px 22px; }
  .header.scrolled { padding: 10px 22px; }
  .brand-event { font-size: 10px; }
  .brand-divider { display: none; }

  /* Countdown · keep 4 blocks but tighten */
  .countdown { padding: 24px 16px; }
  .countdown-num { font-size: 32px; }
  .countdown-blocks { gap: 14px; }
  .countdown-block { min-width: 56px; }

  /* Day-block schedule · compress */
  .day-block { padding: 24px 20px; }
  .day-num { font-size: 36px; }
  .day-info .day-label { font-size: 11px; }
  .day-info .day-date { font-size: 18px; }

  /* Intro grid stack */
  .intro-grid { grid-template-columns: 1fr !important; gap: 32px; }
  .intro-stats { grid-template-columns: 1fr 1fr; gap: 14px; }
  .stat-cell { padding: 18px 14px; }
  .stat-num { font-size: 38px; }
  .stat-label { font-size: 10px; }
}

/* === Small phones (≤ 480px) · extra trim === */
@media (max-width: 480px) {
  .container, .container-narrow { padding: 0 18px; }
  .section-pad { padding: 64px 0; }

  /* Hero ultra-trim */
  .hero { padding: 100px 18px 60px; }
  .hero-title { font-size: clamp(36px, 12vw, 56px); }
  .hero-meta { flex-direction: column; gap: 12px; align-items: flex-start; width: 100%; }
  .hero-meta-item { width: 100%; padding: 12px 16px; border-left: 2px solid var(--dune); background: rgba(210,205,191,0.06); }

  /* Stat grid · 2x2 always readable */
  .intro-stats { grid-template-columns: 1fr 1fr; }

  /* Specs grid: stack on smallest */
  .specs { grid-template-columns: 1fr; gap: 10px; }

  /* Footer to single column */
  .footer-grid { grid-template-columns: 1fr !important; }

  /* Coach cards padding */
  .coach-portrait { aspect-ratio: 4/3 !important; }

  /* Sponsor 2-col → 1 col on small phones */
  .sponsor-tier .sponsor-row[style*="repeat(2"] { grid-template-columns: 1fr !important; }
  .sponsor-tier .sponsor-row[style*="repeat(4"] { grid-template-columns: repeat(2,1fr) !important; }

  /* Tighter buttons */
  .btn-lg { padding: 16px 26px; min-height: 48px; }

  /* Faq questions can wrap nicely */
  .faq-q { font-size: 13px; }
}

/* Mobile burger nav already handled at 900px breakpoint above · extra nav-link contrast & tap area */
@media (max-width: 900px) {
  .header-nav a:not(.btn) { padding: 8px 0; min-height: 44px; display: flex; align-items: center; opacity: 0.95; }
  .header-nav a.btn { margin-top: 14px; }
}

/* === Prevent horizontal scroll universally === */
html, body { max-width: 100%; overflow-x: hidden; }
img, video, iframe, table { max-width: 100%; }

/* === Explore the event · 5-card grid === */
.explore {
  background: var(--dune);
  color: var(--olive);
}
.explore-header {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.explore-header h2 {
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: -0.01em;
  margin-top: 14px;
  color: var(--olive);
}
.explore-header p {
  margin-top: 18px;
  color: var(--khaki);
  font-size: 14px;
  letter-spacing: 0.04em;
}
.explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.explore-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 10px;
  padding: 28px 28px 24px;
  min-height: 168px;
  background: var(--olive);
  color: var(--dune);
  text-decoration: none;
  border: 1px solid var(--olive);
  transition: background 0.35s ease, color 0.35s ease, transform 0.35s ease;
}
.explore-card:hover {
  background: var(--umber);
  border-color: var(--umber);
  transform: translateY(-2px);
}
.explore-eyebrow {
  font-family: var(--font);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dune);
  opacity: 0.7;
}
.explore-card h3 {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  line-height: 1.05;
  margin: 0;
  color: var(--dune);
}
.explore-card p {
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: var(--dune);
  opacity: 0.85;
  margin: 0;
}
.explore-arrow {
  font-family: var(--font);
  font-size: 22px;
  line-height: 1;
  color: var(--dune);
  align-self: end;
  justify-self: end;
  transition: transform 0.35s ease;
}
.explore-card:hover .explore-arrow { transform: translateX(4px); }
@media (max-width: 720px) {
  .explore-grid { gap: 12px; }
  .explore-card { padding: 22px 22px 20px; min-height: 148px; }
  .explore-card h3 { font-size: 24px; }
}

/* === Touch-friendly default === */
@media (hover: none) and (pointer: coarse) {
  /* On touch devices, kill hover transforms that linger after tap */
  .btn:hover { transform: none; }
  .wod-card:hover, .div-card:hover, .format-card:hover, .price-card:hover,
  .explore-card:hover {
    transform: none; box-shadow: none;
  }
  .explore-card:hover .explore-arrow { transform: none; }
  /* Ensure all clickable elements have minimum 44px tap target */
  a, button, .btn, .division-btn, input[type="checkbox"], input[type="radio"] {
    min-height: 44px;
  }
}

/* === Brand Amplification · Gallery + Giveaway (partners.html) === */
.amplification {
  background: var(--dune);
  color: var(--umber);
  padding: 96px 0 88px;
  border-top: 1px solid var(--dune-dark);
  border-bottom: 1px solid var(--dune-dark);
}
.amp-header {
  max-width: 880px;
  margin: 0 auto 56px;
  text-align: center;
}
.amp-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.08;
  color: var(--olive);
  margin: 14px 0 0;
}
.amp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 56px;
}
.amp-pitch p {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.75;
  color: var(--umber);
  margin: 0 0 18px;
}
.amp-pitch p.amp-result {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  line-height: 1.4;
  color: var(--olive);
  border-left: 2px solid var(--olive);
  padding: 4px 0 4px 18px;
  margin: 28px 0 22px;
}
.amp-pitch p.amp-link a {
  font-family: var(--font);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--umber);
  text-decoration: none;
  border-bottom: 1px solid var(--khaki);
  padding-bottom: 4px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.amp-pitch p.amp-link a:hover {
  color: var(--olive);
  border-bottom-color: var(--olive);
}
.amp-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.amp-steps li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--dune-dark);
}
.amp-steps li:last-child { border-bottom: 1px solid var(--dune-dark); }
.amp-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--olive);
}
.amp-step {
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  color: var(--umber);
}
.amp-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}
.amp-stat {
  background: var(--dune-light);
  border: 1px solid var(--dune-dark);
  padding: 26px 18px 22px;
  text-align: center;
}
.amp-stat-num {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1;
  color: var(--olive);
  margin-bottom: 10px;
}
.amp-stat-cap {
  font-family: var(--font);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--khaki);
  line-height: 1.4;
}
.amp-availability {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1.55;
  color: var(--khaki);
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
@media (max-width: 860px) {
  .amplification { padding: 72px 0 64px; }
  .amp-grid { grid-template-columns: 1fr; gap: 36px; margin-bottom: 44px; }
  .amp-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .amp-steps li { grid-template-columns: 44px 1fr; gap: 12px; }
  .amp-num { font-size: 20px; }
  .amp-stat { padding: 22px 14px 18px; }
}
