@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,600&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

/* ─── TOKENS ─────────────────────────────────────────────── */
:root {
  --ink:      #000000;
  --navy:     #000000;
  --navy-mid: #1a1a1a;
  --gold:     #BC1E2D;
  --gold-lt:  #d4424f;
  --cream:    #ffffff;
  --cream-dk: #F1F1F1;
  --white:    #ffffff;
  --muted:    #666666;
  --border:   rgba(188,30,45,0.25);

  --ff-display: 'Cormorant Garamond', Georgia, serif;
  --ff-body:    'DM Sans', sans-serif;

  --max-w: 1200px;
  --nav-h: 96px;
}

/* ─── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ─── NAVBAR ─────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid #e0e0e0;
  display: flex; align-items: center;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
  transition: box-shadow 0.3s ease, height 0.3s ease;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); height: 72px; }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: var(--max-w); margin: 0 auto;
}
.nav-logo {
  font-family: var(--ff-display);
  font-size: 1.4rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--ink);
  display: flex; align-items: center; gap: 0.6rem;
}
.nav-logo img { height: 64px; width: auto; transition: height 0.3s ease; }
.nav.scrolled .nav-logo img { height: 44px; }
.nav-logo span { color: var(--ink); font-weight: 300; }
.nav-links {
  display: flex; align-items: center; gap: 0.4rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem; font-weight: 500;
  color: var(--ink);
  padding: 0.55rem 0.9rem; border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  display: flex; align-items: center;
}
.nav-links a:hover { background: var(--cream-dk); color: var(--gold); }
.nav-links a.active { color: var(--gold); }
.nav-links a.nav-cta {
  background: var(--gold); color: var(--white); font-weight: 600;
  padding: 0.6rem 1.3rem; margin-left: 0.4rem;
}
.nav-links a.nav-cta:hover { background: var(--navy); color: var(--white); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a { cursor: pointer; display: flex; align-items: center; gap: 0.4rem; }
.nav-dropdown > a svg { width: 10px; height: 10px; fill: currentColor; transition: transform 0.2s; }
.nav-dropdown:hover > a svg { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; top: calc(100% + 16px); right: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 0.5rem 0;
  opacity: 0; pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1; pointer-events: all; transform: translateY(0);
}
.dropdown-menu a {
  display: block; padding: 0.65rem 1.25rem;
  font-size: 0.8rem; letter-spacing: 0.08em;
  color: rgba(0,0,0,0.6);
}
.dropdown-menu a:hover { color: var(--gold); background: rgba(188,30,45,0.05); }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 0.5rem; color: var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; stroke: currentColor; fill: none; }

.mobile-menu {
  display: none;
  position: fixed; inset: 0; z-index: 99;
  background: var(--white);
  padding: calc(var(--nav-h) + 2rem) 2rem 2rem;
  flex-direction: column; gap: 0.25rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1.1rem; font-weight: 400;
  color: rgba(0,0,0,0.7);
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  letter-spacing: 0.06em;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-sub-label {
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-top: 1.5rem; margin-bottom: 0.25rem;
}

/* ─── PAGE SHELL ─────────────────────────────────────────── */
.page-body { padding-top: var(--nav-h); }

/* ─── SECTION UTILITY ────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(1.5rem, 5vw, 3rem); }

.section-label {
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); font-family: var(--ff-body); font-weight: 500;
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; line-height: 1.15;
  background: linear-gradient(135deg, #000000 0%, #BC1E2D 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-title em { font-style: italic; }
/* Titles on dark backgrounds stay solid white (gradient is for light sections). */
.hero .section-title,
.page-hero .section-title,
.apply-hero .section-title,
.cta-banner .section-title {
  background: none;
  -webkit-text-fill-color: var(--white);
  color: var(--white);
}

/* ─── BUTTON ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.9rem 2rem;
  font-family: var(--ff-body); font-size: 0.82rem;
  font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  border: 1px solid; border-radius: 4px; cursor: pointer; transition: all 0.25s ease;
}
.btn-gold {
  background: var(--gold); border-color: var(--gold); color: var(--white);
}
.btn-gold:hover { background: var(--gold-lt); border-color: var(--gold-lt); color: var(--white); }
.btn-outline-gold {
  background: transparent; border-color: var(--gold); color: var(--gold);
}
.btn-outline-gold:hover { background: var(--gold); color: var(--white); }
.btn-outline-light {
  background: transparent; border-color: rgba(255,255,255,0.4); color: var(--white);
}
.btn-outline-light:hover { background: var(--white); color: var(--navy); }
.btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; }

/* ─── DIVIDER ────────────────────────────────────────────── */
.gold-rule {
  width: 48px; height: 1px; background: var(--gold); margin: 1rem 0 1.75rem;
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: var(--white);
  padding: 3.5rem clamp(1.5rem, 5vw, 3rem) 2rem;
  color: var(--muted);
  margin-top: 5rem;
  border-top: 1px solid #e0e0e0;
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 3rem;
}
.footer-brand .nav-logo { margin-bottom: 0.75rem; }
.footer-brand .nav-logo img { height: 72px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; max-width: 280px; }
.footer-col h4 {
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink); font-weight: 600; margin-bottom: 1rem;
}
.footer-col a {
  display: block; font-size: 0.88rem;
  color: var(--muted); margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  max-width: var(--max-w); margin: 2.5rem auto 0;
  border-top: 1px solid #d0d0d0;
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.78rem;
  color: var(--muted);
}

/* ─── PAGE TRANSITION ────────────────────────────────────── */
body.page-body { animation: pageIn 0.6s ease forwards; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }

/* ─── ANIMATED DIVIDER ──────────────────────────────────── */
.gold-rule {
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.6s ease;
}
.gold-rule.visible { transform: scaleX(1); }

/* ─── PARALLAX HELPER ───────────────────────────────────── */
.parallax-wrap { overflow: hidden; }
.parallax-img { transition: transform 0.1s linear; will-change: transform; }

/* ─── LOGO BAR ──────────────────────────────────────────── */
.logo-bar { padding: 3rem 0; background: var(--cream); border-bottom: 1px solid #eee; }
.logo-bar-header { text-align: center; margin-bottom: 1.5rem; }
.logo-bar-track {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(2rem, 5vw, 4rem); flex-wrap: wrap;
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
}
.logo-bar-track span {
  font-family: var(--ff-display); font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 600; color: rgba(0,0,0,0.2);
  letter-spacing: 0.04em; white-space: nowrap;
  transition: color 0.3s;
}
.logo-bar-track span:hover { color: rgba(0,0,0,0.5); }

/* ─── COACH BADGES ──────────────────────────────────────── */
.coach-badge {
  display: inline-block; padding: 0.25rem 0.6rem;
  font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 600; border-radius: 2px; margin-top: 0.5rem;
}
.badge-champion { background: var(--gold); color: var(--white); }
.badge-finalist { background: var(--ink); color: var(--white); }

/* ─── STICKY CTA BAR ────────────────────────────────────── */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: var(--gold); color: var(--white);
  display: flex; align-items: center; justify-content: center; gap: 1.5rem;
  padding: 0.85rem 1.5rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta p { font-size: 0.85rem; font-weight: 500; letter-spacing: 0.04em; }
.sticky-cta a {
  padding: 0.5rem 1.5rem; background: var(--white); color: var(--gold);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  border: none; cursor: pointer; transition: background 0.2s;
}
.sticky-cta a:hover { background: #f0f0f0; }
.sticky-cta-close {
  background: none; border: none; color: var(--white); cursor: pointer;
  font-size: 1.2rem; padding: 0.25rem; opacity: 0.7; transition: opacity 0.2s;
}
.sticky-cta-close:hover { opacity: 1; }

/* ─── HOW IT WORKS TIMELINE ─────────────────────────────── */
.how-it-works { padding: 6rem 0; background: var(--cream); }
.how-it-works-header { text-align: center; margin-bottom: 4rem; }
.timeline {
  display: flex; justify-content: space-between; align-items: flex-start;
  max-width: 900px; margin: 0 auto; position: relative;
  padding: 0 clamp(1rem, 3vw, 2rem);
}
.timeline::before {
  content: ''; position: absolute; top: 28px; left: 10%; right: 10%;
  height: 2px; background: #e0e0e0;
}
.timeline-step {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; position: relative; flex: 1;
}
.timeline-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display); font-size: 1.3rem; font-weight: 600;
  color: var(--gold); position: relative; z-index: 1;
  transition: background 0.3s, color 0.3s;
}
.timeline-step:hover .timeline-num { background: var(--gold); color: var(--white); }
.timeline-step h4 {
  font-family: var(--ff-display); font-size: 1.1rem; font-weight: 500;
  margin-top: 1rem; color: var(--ink);
}
.timeline-step p { font-size: 0.8rem; color: var(--muted); margin-top: 0.35rem; max-width: 140px; }

/* ─── FAQ ACCORDION ─────────────────────────────────────── */
.faq-section { padding: 6rem 0; background: var(--cream-dk); }
.faq-header { text-align: center; margin-bottom: 3rem; }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid #ddd;
}
.faq-question {
  width: 100%; padding: 1.25rem 0; background: none; border: none;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--ff-display); font-size: 1.15rem; font-weight: 500;
  color: var(--ink); text-align: left; gap: 1rem;
}
.faq-question::after {
  content: '+'; font-size: 1.4rem; font-weight: 300; color: var(--gold);
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-item.open .faq-question::after { content: '\2212'; transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 1.25rem; }
.faq-answer p {
  font-size: 0.92rem; line-height: 1.75; color: var(--muted);
}

/* ─── FADE-IN ON SCROLL ──────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .timeline { flex-direction: column; gap: 2rem; align-items: flex-start; }
  .timeline::before { display: none; }
  .timeline-step { flex-direction: row; text-align: left; gap: 1rem; }
  .timeline-step p { max-width: none; }
  .sticky-cta p { font-size: 0.75rem; }
  .sticky-cta a { padding: 0.4rem 1rem; font-size: 0.7rem; }
}
