/* ==========================================================================
   GREY ROCK TENNIS — Master Stylesheet
   ========================================================================== */

:root {
  --forest: #1a3a2e;
  --forest-deep: #0f2620;
  --moss: #2d5a3f;
  --cream: #f7f3eb;
  --paper: #fdfbf5;
  --gold: #c9a961;
  --gold-deep: #a88947;
  --clay: #b85c3a;
  --ink: #1a1a1a;
  --line: rgba(26, 58, 46, 0.12);
  --shadow: 0 20px 50px rgba(26, 58, 46, 0.12);
  --shadow-sm: 0 8px 20px rgba(26, 58, 46, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}
.serif { font-family: 'Fraunces', serif; font-feature-settings: "ss01", "ss02"; }
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ==========================================================================
   TOP UTILITY BAR
   ========================================================================== */
.utility-bar {
  background: var(--forest-deep);
  color: var(--cream);
  padding: 0.65rem 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  border-bottom: 1px solid var(--gold);
}
.utility-bar a { color: var(--gold); text-decoration: none; font-weight: 500; }
.utility-bar a:hover { color: var(--cream); }
.utility-bar strong { color: var(--gold); font-weight: 600; }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
  background: rgba(253, 251, 245, 0.96);
}
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
/* === Premium logo lockup (nav) === */
.logo-lockup {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--forest);
  line-height: 1;
  white-space: nowrap;
  padding: 4px 0;
}
.logo-name {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.55rem;
  letter-spacing: 0.18em;
  color: var(--forest);
  font-feature-settings: "ss01";
}
.logo-sub {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  color: var(--gold-deep);
  font-weight: 500;
  text-transform: uppercase;
}
.logo-line {
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--gold-deep);
}

/* === Premium logo lockup (footer) === */
.footer-logo-lockup {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  line-height: 1;
}
.footer-logo-name {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.65rem;
  letter-spacing: 0.18em;
  color: var(--cream);
}
.footer-logo-sub {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.35em;
  color: var(--gold);
  font-weight: 500;
  text-transform: uppercase;
}
.footer-logo-line {
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--gold);
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
  font-weight: 500;
}
.nav-links a:hover { color: var(--gold-deep); }
.nav-links .nav-cta {
  background: var(--forest);
  color: var(--cream);
  padding: 0.6rem 1.1rem;
  border-radius: 2px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.3s ease;
}
.nav-links .nav-cta:hover { background: var(--gold); color: var(--forest-deep); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--forest);
  cursor: pointer;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  background: var(--forest);
  color: var(--cream);
  padding: 6rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(201, 169, 97, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(201, 169, 97, 0.06) 0%, transparent 40%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--gold);
}
.hero-h1 {
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  max-width: 1000px;
}
.hero-h1 em { font-style: italic; color: var(--gold); font-weight: 300; }
.hero-sub {
  font-size: 1.2rem;
  max-width: 640px;
  opacity: 0.85;
  margin-bottom: 2.5rem;
  font-weight: 300;
  line-height: 1.5;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}
.hero-meta {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(247, 243, 235, 0.15);
}
.meta-item .label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 0.3rem;
}
.meta-item .value {
  font-size: 1.4rem;
  color: var(--gold);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-block;
  padding: 1rem 1.75rem;
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
}
.btn::after {
  content: '→';
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
  display: inline-block;
}
.btn:hover::after { transform: translateX(4px); }
.btn-gold { background: var(--gold); color: var(--forest-deep); border-color: var(--gold); }
.btn-gold:hover { background: var(--cream); border-color: var(--cream); }
.btn-forest { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.btn-forest:hover { background: var(--gold); color: var(--forest-deep); border-color: var(--gold); }
.btn-ghost { background: transparent; color: var(--cream); border-color: rgba(247, 243, 235, 0.35); }
.btn-ghost:hover { background: var(--cream); color: var(--forest-deep); border-color: var(--cream); }

/* ==========================================================================
   SECTION & HEADERS
   ========================================================================== */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.5rem;
}
.section-header h2 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--forest);
  max-width: 700px;
}
.section-header h2 em { font-style: italic; color: var(--gold-deep); }
.section-header .num {
  font-size: 0.85rem;
  color: var(--gold-deep);
  letter-spacing: 0.2em;
  white-space: nowrap;
}

/* ==========================================================================
   PILLARS
   ========================================================================== */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}
.pillar {
  border-top: 2px solid var(--forest);
  padding-top: 1.5rem;
}
.pillar-num {
  font-size: 0.75rem;
  color: var(--gold-deep);
  letter-spacing: 0.25em;
  margin-bottom: 0.75rem;
}
.pillar h3 {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--forest);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.pillar p {
  font-size: 0.95rem;
  color: rgba(26, 26, 26, 0.75);
  line-height: 1.6;
}

/* ==========================================================================
   PROGRAM GRID
   ========================================================================== */
.program-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}
.program-card {
  background: var(--paper);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  display: block;
}
.program-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.program-card:hover {
  transform: translateY(-4px);
  border-color: var(--forest);
  box-shadow: var(--shadow);
}
.program-card:hover::before { transform: scaleX(1); }
.program-card-inner {
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Featured (large) cards */
.program-card.featured { grid-column: span 12; background: var(--forest); color: var(--cream); border-color: var(--forest); }
.program-card.featured::before { background: var(--gold); transform: scaleX(1); }
.program-card.featured h3 { color: var(--cream); font-size: 2rem; }
.program-card.featured p { color: rgba(247, 243, 235, 0.75); font-size: 1.05rem; max-width: 600px; }
.program-card.featured .age-tag { background: var(--gold); color: var(--forest-deep); }
.program-card.featured .badge { background: var(--clay); }
.program-card.featured .from { color: var(--gold); }
.program-card.featured .arrow { color: var(--gold); }
.program-card.featured .program-card-inner { padding: 2.5rem; }

/* Half-width cards */
.program-card.half { grid-column: span 6; }

/* Third-width cards */
.program-card.third { grid-column: span 4; }

.badge {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  background: var(--gold);
  color: var(--forest-deep);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  border-radius: 2px;
  font-weight: 700;
}

.age-tag {
  display: inline-block;
  background: var(--forest);
  color: var(--cream);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  margin-bottom: 1.25rem;
  align-self: flex-start;
  font-weight: 600;
}
.program-card h3 {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  color: var(--forest);
  letter-spacing: -0.01em;
}
.program-card p {
  font-size: 0.92rem;
  color: rgba(26, 26, 26, 0.7);
  line-height: 1.55;
  margin-bottom: 1.5rem;
  flex: 1;
}
.card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  margin-top: auto;
}
.program-card.featured .card-foot { border-color: rgba(247, 243, 235, 0.15); }
.from {
  font-size: 0.85rem;
  color: var(--gold-deep);
  font-weight: 500;
}
.from strong { color: var(--forest); font-weight: 600; }
.program-card.featured .from strong { color: var(--cream); }
.arrow {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--forest);
  font-weight: 600;
}

/* ==========================================================================
   JUNIOR PIPELINE (specialized component)
   ========================================================================== */
.pipeline {
  background: var(--cream);
  padding: 5rem 2rem;
}
.pipeline-inner { max-width: 1200px; margin: 0 auto; }
.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
  position: relative;
}
.pipeline-step {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.5rem;
  position: relative;
  transition: all 0.3s ease;
}
.pipeline-step:hover {
  border-color: var(--forest);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.pipeline-step .level {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--gold-deep);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.pipeline-step h4 {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--forest);
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}
.pipeline-step .age {
  font-size: 0.85rem;
  color: var(--gold-deep);
  margin-bottom: 1rem;
  font-style: italic;
}
.pipeline-step p {
  font-size: 0.82rem;
  color: rgba(26, 26, 26, 0.7);
  line-height: 1.5;
}

/* ==========================================================================
   COACH STAFF GRID
   ========================================================================== */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.coach {
  border-left: 2px solid var(--gold);
  padding: 0.5rem 0 0.5rem 1.25rem;
}
.coach-name {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--forest);
  margin-bottom: 0.15rem;
  letter-spacing: -0.01em;
}
.coach-title {
  font-size: 0.8rem;
  color: rgba(26, 26, 26, 0.6);
  font-style: italic;
}

/* ==========================================================================
   FACILITY CALLOUT
   ========================================================================== */
.facility {
  background: var(--forest);
  color: var(--cream);
  padding: 5rem 2rem;
}
.facility-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.facility-content h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.facility-content h2 em { font-style: italic; color: var(--gold); }
.facility-content p {
  opacity: 0.85;
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  font-weight: 300;
}
.facility-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.facility-features li {
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.92rem;
}
.facility-features li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
}
.facility-features strong {
  display: block;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.15rem;
  font-family: 'Fraunces', serif;
  font-size: 1rem;
}

/* ==========================================================================
   MEMBERSHIP CALLOUT
   ========================================================================== */
.membership {
  background: var(--cream);
  padding: 5rem 2rem;
}
.membership-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.membership h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--forest);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.membership h2 em { font-style: italic; color: var(--gold-deep); }
.membership > .membership-inner > p {
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto 3rem;
  color: rgba(26, 26, 26, 0.7);
}
.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
  text-align: left;
}
.benefit {
  background: var(--paper);
  padding: 1.5rem;
  border: 1px solid var(--line);
}
.benefit .check {
  display: inline-block;
  width: 24px; height: 24px;
  background: var(--forest);
  color: var(--gold);
  border-radius: 50%;
  text-align: center;
  line-height: 24px;
  font-size: 0.7rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.benefit h5 {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--forest);
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}
.benefit p {
  font-size: 0.85rem;
  color: rgba(26, 26, 26, 0.7);
  line-height: 1.5;
  margin: 0;
}
.membership-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.5rem 0 2rem;
}
.option-pill {
  background: var(--paper);
  border: 1px solid var(--forest);
  color: var(--forest);
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   LEAD CAPTURE FORM
   ========================================================================== */
.lead-section {
  background: var(--forest-deep);
  color: var(--cream);
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}
.lead-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 50%, rgba(201, 169, 97, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(201, 169, 97, 0.06) 0%, transparent 50%);
}
.lead-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  position: relative;
}
.lead-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.lead-content h2 em { font-style: italic; color: var(--gold); }
.lead-content p {
  font-size: 1.05rem;
  opacity: 0.85;
  margin-bottom: 1.5rem;
  font-weight: 300;
}
.lead-content .quick-contact {
  border-top: 1px solid rgba(247, 243, 235, 0.15);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}
.lead-content .quick-contact p { font-size: 0.85rem; opacity: 0.7; margin: 0.25rem 0; }
.lead-content .quick-contact a { color: var(--gold); text-decoration: none; font-weight: 500; }

.lead-form {
  background: var(--paper);
  padding: 2.5rem;
  color: var(--ink);
  border-top: 3px solid var(--gold);
}
.lead-form h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--forest);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.4rem;
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--forest);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.lead-form button {
  width: 100%;
  background: var(--forest);
  color: var(--cream);
  border: none;
  padding: 1rem;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  font-family: 'Outfit', sans-serif;
  margin-top: 0.5rem;
}
.lead-form button:hover { background: var(--gold); color: var(--forest-deep); }
.lead-form .privacy {
  font-size: 0.75rem;
  color: rgba(26, 26, 26, 0.55);
  margin-top: 0.75rem;
  text-align: center;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background: var(--forest-deep);
  color: rgba(247, 243, 235, 0.7);
  padding: 4rem 2rem 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand h4 {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  color: var(--cream);
  margin-bottom: 0.75rem;
  font-weight: 500;
}
.footer-brand p { font-size: 0.88rem; max-width: 320px; line-height: 1.6; }
.footer-col h5 {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a {
  text-decoration: none;
  color: rgba(247, 243, 235, 0.7);
  font-size: 0.88rem;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(247, 243, 235, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(247, 243, 235, 0.5);
}
.footer-bottom .ornament { color: var(--gold); margin: 0 0.5rem; }

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: reveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes reveal {
  to { opacity: 1; transform: translateY(0); }
}
.reveal:nth-child(1) { animation-delay: 0.1s; }
.reveal:nth-child(2) { animation-delay: 0.2s; }
.reveal:nth-child(3) { animation-delay: 0.3s; }
.reveal:nth-child(4) { animation-delay: 0.4s; }
.reveal:nth-child(5) { animation-delay: 0.5s; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .program-card.half,
  .program-card.third,
  .program-card.featured { grid-column: span 12; }
  .facility-inner,
  .lead-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .facility-features { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .field-row .field { margin-bottom: 1.1rem; }
}

@media (max-width: 640px) {
  .hero { padding: 3.5rem 1.25rem 3rem; }
  .section, .pipeline, .facility, .membership, .lead-section { padding: 3.5rem 1.25rem; }
  .nav-inner { padding: 1rem 1.25rem; }
  .lead-form { padding: 1.75rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-meta { gap: 1.5rem; }
  .program-card-inner { padding: 1.5rem !important; }
  .pillars { gap: 1.5rem; }
  .logo-name { font-size: 1.25rem; letter-spacing: 0.15em; }
  .logo-sub { font-size: 0.55rem; }
  .logo-line { width: 14px; }
  .footer-logo-name { font-size: 1.4rem; }
}

/* ==========================================================================
   PHASE 2: NAV DROPDOWN, INTERIOR PAGES
   ========================================================================== */

/* === Nav with dropdown === */
.nav-links li.has-dropdown { position: relative; }
.nav-links li.has-dropdown > a::after {
  content: ' ▾';
  font-size: 0.7em;
  opacity: 0.6;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--paper);
  border: 1px solid var(--line);
  min-width: 220px;
  padding: 0.5rem 0;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  list-style: none;
  z-index: 100;
}
.nav-links li.has-dropdown:hover .dropdown-menu,
.nav-links li.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu li {
  display: block;
}
.dropdown-menu a {
  display: block;
  padding: 0.7rem 1.25rem;
  font-size: 0.85rem;
  color: var(--ink);
  text-decoration: none;
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.dropdown-menu a:hover {
  background: var(--cream);
  color: var(--gold-deep);
  padding-left: 1.5rem;
}

/* === Interior page hero (smaller than homepage hero) === */
.page-hero {
  background: var(--forest);
  color: var(--cream);
  padding: 5rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(201, 169, 97, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(201, 169, 97, 0.06) 0%, transparent 40%);
  pointer-events: none;
}
.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.page-hero h1 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  max-width: 900px;
}
.page-hero h1 em { font-style: italic; color: var(--gold); font-weight: 300; }
.page-hero-sub {
  font-size: 1.1rem;
  max-width: 640px;
  opacity: 0.85;
  font-weight: 300;
  line-height: 1.5;
}

/* === Coach cards (lessons page) === */
.coach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.coach-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 2rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.coach-card:hover {
  border-color: var(--forest);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}
.coach-card.featured {
  background: var(--forest);
  color: var(--cream);
  border-color: var(--forest);
  position: relative;
}
.coach-card.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
}
.coach-card.featured h3 { color: var(--cream); }
.coach-card.featured .coach-title-tag { color: var(--gold); }
.coach-card.featured .coach-bio { color: rgba(247, 243, 235, 0.8); }
.coach-card.featured .coach-credential {
  background: rgba(201, 169, 97, 0.12);
  border-color: var(--gold);
  color: var(--gold);
}
.coach-card.featured .coach-action { border-color: rgba(247, 243, 235, 0.18); }

.coach-title-tag {
  display: inline-block;
  font-family: 'Fraunces', serif;
  font-size: 0.78rem;
  font-style: italic;
  color: var(--gold-deep);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}
.coach-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--forest);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.coach-credential {
  display: inline-block;
  background: rgba(168, 137, 71, 0.08);
  border: 1px solid var(--gold-deep);
  color: var(--gold-deep);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  margin-bottom: 1rem;
  align-self: flex-start;
  font-weight: 600;
}
.coach-bio {
  font-size: 0.92rem;
  color: rgba(26, 26, 26, 0.75);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}
.coach-action {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  margin-top: auto;
}
.coach-action .booking-note {
  font-size: 0.82rem;
  color: rgba(26, 26, 26, 0.6);
  margin-bottom: 0.75rem;
}
.coach-card.featured .coach-action .booking-note { color: rgba(247, 243, 235, 0.6); }

/* === Rates Table === */
.rates-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 0.92rem;
}
.rates-table thead th {
  background: var(--forest);
  color: var(--cream);
  padding: 1rem 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
}
.rates-table thead th:first-child { text-align: left; }
.rates-table tbody td {
  padding: 1rem 0.75rem;
  border-bottom: 1px solid var(--line);
  text-align: center;
  font-family: 'Fraunces', serif;
  color: var(--forest);
  font-weight: 500;
}
.rates-table tbody td:first-child {
  text-align: left;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  color: var(--ink);
}
.rates-table tbody tr:last-child td { border-bottom: none; }
.rates-table tbody tr:hover { background: var(--cream); }
.rates-table tbody td.dash { color: rgba(26, 26, 26, 0.3); font-family: 'Outfit', sans-serif; }
.rates-note {
  font-size: 0.85rem;
  color: rgba(26, 26, 26, 0.6);
  font-style: italic;
  margin-top: 1rem;
  font-family: 'Fraunces', serif;
}

/* Mobile-friendly rates table wrapper */
.rates-table-wrap {
  overflow-x: auto;
  margin: 0 -2rem;
  padding: 0 2rem;
}

/* === Progression diagram (junior academy) === */
.progression {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  position: relative;
  margin-top: 3rem;
}
.progression-stage {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.75rem;
  position: relative;
  display: flex;
  flex-direction: column;
}
.progression-stage.tier-1 { border-top: 3px solid var(--moss); }
.progression-stage.tier-2 { border-top: 3px solid var(--gold-deep); }
.progression-stage.tier-3 { border-top: 3px solid var(--clay); }
.progression-stage .stage-num {
  font-family: 'Fraunces', serif;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.5rem;
}
.progression-stage h4 {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--forest);
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}
.progression-stage .stage-meta {
  font-size: 0.8rem;
  color: var(--gold-deep);
  font-style: italic;
  font-family: 'Fraunces', serif;
  margin-bottom: 1rem;
}
.progression-stage p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(26, 26, 26, 0.75);
  flex: 1;
}
.progression-stage .levels {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: rgba(26, 26, 26, 0.55);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
}

/* === Two-column info layout === */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.two-col h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--forest);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.two-col p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(26, 26, 26, 0.75);
  margin-bottom: 1rem;
}
.two-col ul {
  list-style: none;
  padding: 0;
}
.two-col ul li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  gap: 1rem;
}
.two-col ul li:last-child { border-bottom: none; }
.two-col ul li strong {
  font-family: 'Fraunces', serif;
  color: var(--forest);
  font-weight: 500;
}
@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
}

/* === Highlight callout box === */
.callout {
  background: var(--cream);
  border-left: 3px solid var(--gold);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}
.callout h4 {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  color: var(--forest);
  font-weight: 500;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.callout p {
  font-size: 0.95rem;
  color: rgba(26, 26, 26, 0.75);
  line-height: 1.6;
  margin: 0;
}
.callout.dark {
  background: var(--forest-deep);
  color: var(--cream);
  border-left-color: var(--gold);
}
.callout.dark h4 { color: var(--gold); }
.callout.dark p { color: rgba(247, 243, 235, 0.85); }

/* === Hours table === */
.hours-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.65rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.92rem;
}
.hours-list li:last-child { border-bottom: none; }
.hours-list .day {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  color: var(--forest);
}
.hours-list .time {
  color: rgba(26, 26, 26, 0.7);
}

/* === Section bg variants === */
.section-cream { background: var(--cream); padding: 5rem 2rem; }
.section-cream-inner { max-width: 1200px; margin: 0 auto; }
@media (max-width: 640px) { .section-cream { padding: 3.5rem 1.25rem; } }


/* ==========================================================================
   CLICKABLE PIPELINE CARDS — CTA element + cursor + explicit clickable cue
   ========================================================================== */
.pipeline-step {
  display: block;
  cursor: pointer;
}
.pipeline-step .card-cta {
  display: inline-block;
  margin-top: 1rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-deep);
  transition: color 0.2s ease, transform 0.2s ease;
}
.pipeline-step:hover .card-cta {
  color: var(--forest);
  transform: translateX(3px);
}

/* ==========================================================================
   QUICK-JUMP NAV (sub-navigation on detail pages)
   ========================================================================== */
.quick-jump {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 1.5rem;
}
.quick-jump-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
}
.quick-jump-label {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: var(--gold-deep);
}
.quick-jump a {
  color: var(--forest);
  text-decoration: none;
  font-weight: 500;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.quick-jump a:hover {
  border-color: var(--gold);
  color: var(--gold-deep);
}
@media (max-width: 640px) {
  .quick-jump {
    padding: 0.7rem 1rem;
  }
  .quick-jump-inner {
    gap: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  .quick-jump-label {
    font-size: 0.7rem;
    width: 100%;
    margin-bottom: 0.25rem;
  }
}

/* Anchor scroll offset — prevents main nav from covering top of scrolled-to sections */
section[id], div[id="grand-prix"], div[id="patp"], div[id="atp"], div[id="sportsyou"] {
  scroll-margin-top: 80px;
}

/* ==========================================================================
   SPORTSYOU CODE CARDS
   Three-line vertical card: eyebrow tag, BIG code, description below.
   Click anywhere on the code → auto-copies to clipboard.
   ========================================================================== */
.sportsyou-codes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.sportsyou-code {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  text-align: center;
  position: relative;
  transition: all 0.2s ease;
}
.sportsyou-code:hover {
  border-color: var(--forest);
  border-left-color: var(--gold-deep);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

/* Top: small eyebrow tag */
.sportsyou-code .sy-tag {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-deep);
  margin-bottom: 0.75rem;
  line-height: 1.3;
  display: block;
}

/* Middle: the CODE — big, monospaced, obviously the star */
.sportsyou-code .sy-code {
  display: block;
  font-family: 'SF Mono', 'Monaco', 'Consolas', 'Courier New', monospace;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--forest);
  background: rgba(217, 184, 99, 0.08);
  border: 1px dashed rgba(217, 184, 99, 0.45);
  border-radius: 4px;
  padding: 0.7rem 0.5rem;
  margin: 0 0 0.75rem;
  user-select: all;
  -webkit-user-select: all;
  cursor: copy;
  transition: background 0.2s ease, border-color 0.2s ease;
  position: relative;
}
.sportsyou-code .sy-code:hover {
  background: rgba(217, 184, 99, 0.15);
  border-color: var(--gold);
}
.sportsyou-code .sy-code::after {
  content: "Tap to copy";
  position: absolute;
  bottom: -1.1rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Outfit', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(26, 26, 26, 0.4);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  white-space: nowrap;
}
.sportsyou-code:hover .sy-code::after {
  opacity: 1;
}

/* Bottom: small description */
.sportsyou-code .sy-desc {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  color: rgba(26, 26, 26, 0.65);
  line-height: 1.45;
  margin-top: 1rem;
}

/* Mobile tweaks */
@media (max-width: 640px) {
  .sportsyou-codes {
    gap: 0.75rem;
    grid-template-columns: 1fr;
  }
  .sportsyou-code {
    padding: 1rem 1.25rem;
  }
  .sportsyou-code .sy-code {
    font-size: 1.4rem;
  }
  .sportsyou-code .sy-code::after {
    content: "Tap & hold to copy";
    opacity: 1; /* always show hint on mobile since no hover */
    position: static;
    transform: none;
    display: block;
    margin-top: 0.4rem;
  }
}

/* ==========================================================================
   MOBILE NAV — Hamburger toggle + Programs dropdown expand
   Restores the open/close visual state when JS adds .is-open class
   ========================================================================== */
@media (max-width: 900px) {
  .nav-inner { position: relative; }

  .nav-toggle {
    display: block;
    padding: 0.4rem 0.6rem;
    transition: color 0.2s ease;
    z-index: 60;
    background: transparent;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--forest);
  }
  .nav-toggle.is-active { color: var(--gold-deep); }

  /* Mobile menu: hidden by default, slides down when .is-open is added by JS */
  .nav-links {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    padding: 0.5rem 1.25rem 1rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.3s ease, opacity 0.25s ease, visibility 0.25s;
    z-index: 55;
  }

  .nav-links.is-open {
    max-height: 80vh;
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
  }

  .nav-links > li {
    width: 100%;
    border-bottom: 1px solid var(--line);
  }
  .nav-links > li:last-child { border-bottom: none; }

  .nav-links > li > a {
    display: block;
    padding: 1rem 0;
    font-size: 1rem;
    letter-spacing: 0.05em;
    color: var(--forest);
    text-decoration: none;
  }

  /* Programs dropdown — collapsed by default on mobile */
  .nav-links li.has-dropdown .dropdown-menu {
    position: static;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transition: max-height 0.3s ease;
  }
  .nav-links li.has-dropdown:hover .dropdown-menu,
  .nav-links li.has-dropdown:focus-within .dropdown-menu {
    max-height: 0;
    transform: none;
  }
  .nav-links li.has-dropdown.is-expanded .dropdown-menu {
    max-height: 400px;
    padding-bottom: 0.5rem;
  }

  .dropdown-menu a {
    padding: 0.65rem 1rem 0.65rem 1.5rem;
    font-size: 0.9rem;
    color: rgba(26, 26, 26, 0.75);
    border-left: 2px solid var(--gold);
    margin-left: 0.25rem;
    white-space: normal;
  }
  .dropdown-menu a:hover {
    background: var(--cream);
  }
}

/* ==========================================================================
   MEMBERSHIP TIER CARDS — Mobile height fix
   On mobile, the description should NOT expand to fill space.
   Cards stack vertically; each card sized to its own content.
   ========================================================================== */
@media (max-width: 768px) {
  .program-card {
    align-self: start !important; /* prevent grid stretching cards to match heights */
  }
  .program-card-inner {
    height: auto !important; /* override the desktop "stretch to 100% height" */
    padding: 1.5rem !important;
  }
  .program-card p {
    flex: 0 0 auto !important; /* don't expand description to fill space */
    margin-bottom: 1rem;
  }
  .price-block {
    margin: 0.75rem 0 1rem;
    padding: 0.65rem 0;
  }
  .price-main {
    font-size: 1.35rem;
  }
  .card-foot {
    margin-top: 0.5rem;
  }
}

/* ==========================================================================
   MEMBERSHIP TIER PRICING DISPLAY
   ========================================================================== */
.price-block {
  margin: 1rem 0 1.25rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.price-main {
  font-family: 'Fraunces', serif;
  font-size: 1.55rem;
  color: var(--forest);
  line-height: 1.1;
}
.price-main strong {
  font-weight: 600;
}
.price-period {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(26, 26, 26, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.price-init {
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  color: var(--gold-deep);
  font-weight: 500;
  letter-spacing: 0.02em;
}
