/* =========================================================
   St. Louis Legends Soccer Club — site styles
   Palette: Legends red, black, white, and green; clean, organized, sport-professional.
   ========================================================= */

:root {
  /* Brand */
  --black-900: #050505;
  --black-800: #141414;
  --green-700: #176b3a;
  --green-50:  #edf7f1;
  --red-500: #c1121f;
  --red-600: #8f0d17;
  --red-50:  #fff1f2;

  /* Neutrals */
  --bg:        #ffffff;
  --surface:   #f8f8f7;
  --surface-2: #f0f2ef;
  --border:    #d7d9d4;
  --text:      #171717;
  --text-muted:#5f655f;
  --text-faint:#8b918b;

  /* Type */
  --font-display: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body:    "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Spacing scale */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;

  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(5,5,5,.06), 0 1px 3px rgba(5,5,5,.08);
  --shadow-md: 0 6px 18px rgba(5,5,5,.10);
  --container: 1180px;
  --transition: 180ms ease;
}

/* Reset / base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--black-800); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red-600); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--red-500);
  outline-offset: 2px;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--black-900);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 var(--s-4);
}
h1 { font-size: clamp(2.25rem, 4.5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p  { margin: 0 0 var(--s-4); }
.lead { font-size: 1.125rem; color: var(--text-muted); max-width: 60ch; }
.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-600);
  margin-bottom: var(--s-3);
}

/* Layout */
.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--tight { padding-block: clamp(2rem, 5vw, 3.5rem); }
.section--alt { background: var(--surface); }
.section--dark {
  background: var(--black-900);
  color: #e6ecf6;
}
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .lead { color: #c2cce0; }
.section--dark a { color: var(--red-500); }
.section--dark a:hover { color: #fff; }

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s-4) 0;
  gap: var(--s-4);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  color: var(--black-900);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.brand:hover { color: var(--black-900); }
.brand-mark { width: 44px; height: 44px; flex-shrink: 0; }
.brand-logo-image {
  object-fit: contain;
  border-radius: 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-text small {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-600);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s-6);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--black-800);
  padding: var(--s-2) 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--red-600); border-bottom-color: var(--red-500); }
.nav-links a[aria-current="page"] {
  color: var(--black-900);
  border-bottom-color: var(--red-500);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  padding: 0;
  color: var(--black-900);
}
.nav-toggle svg { width: 26px; height: 26px; margin: 0 auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 0.85rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  line-height: 1;
}
.btn--primary {
  background: var(--red-500);
  color: #fff;
  border-color: var(--red-500);
}
.btn--primary:hover {
  background: var(--red-600);
  border-color: var(--red-600);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--secondary {
  background: transparent;
  color: var(--black-900);
  border-color: var(--black-900);
}
.btn--secondary:hover {
  background: var(--black-900);
  color: #fff;
}
.btn--ghost-light {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn--ghost-light:hover {
  background: #fff;
  color: var(--black-900);
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  margin-top: var(--s-5);
}

/* Hero */
.hero {
  position: relative;
  background:
    linear-gradient(135deg, rgba(5,5,5,0.94) 0%, rgba(23,107,58,0.86) 100%),
    radial-gradient(1200px 600px at 80% 0%, rgba(193,18,31,0.18), transparent 60%);
  background-color: var(--black-900);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  opacity: 0.6;
}
.hero .container {
  position: relative;
  z-index: 1;
  padding-block: clamp(4rem, 10vw, 7rem);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--s-8);
  align-items: center;
}
.hero h1 { color: #fff; }
.hero .lead { color: #c8d3e6; font-size: 1.2rem; max-width: 55ch; }
.hero .eyebrow { color: var(--red-500); }
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual svg {
  width: min(100%, 360px);
  height: auto;
  filter: drop-shadow(0 12px 32px rgba(0,0,0,0.35));
}

/* Hero photo composition */
.hero-photo {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.08);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-crest {
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: 150px;
  height: 180px;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.5));
}
.hero-crest svg { width: 100%; height: 100%; }

/* Photo strip */
.photo-strip {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--s-4);
}
.ps-item {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.ps-item.ps-large { aspect-ratio: 16 / 10; }
.ps-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 500ms ease;
}
.ps-item img.crop-focus-face {
  object-position: 48% 24%;
}
.ps-item:hover img { transform: scale(1.04); }

/* Media gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--s-4);
}
.gallery-card {
  position: relative;
  min-height: 220px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.gallery-card:nth-child(1),
.gallery-card:nth-child(4) { grid-column: span 3; min-height: 300px; }
.gallery-card:nth-child(2),
.gallery-card:nth-child(3),
.gallery-card:nth-child(5),
.gallery-card:nth-child(6) { grid-column: span 2; }
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 500ms ease;
}
.gallery-card:hover img { transform: scale(1.035); }
.gallery-card figcaption {
  position: absolute;
  left: var(--s-3);
  right: var(--s-3);
  bottom: var(--s-3);
  padding: 0.65rem 0.8rem;
  border-radius: 999px;
  background: rgba(5,5,5,0.72);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

/* Belief list (dark section) */
.belief-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--s-4);
}
.belief-list li {
  padding-left: var(--s-5);
  border-left: 3px solid var(--red-500);
  color: #c8d3e6;
  line-height: 1.55;
}
.belief-list strong { color: #fff; display: block; margin-bottom: 2px; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.005em; }

/* Photo card (team photo block) */
.photo-banner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}
.photo-banner img {
  width: 100%;
  height: auto;
  display: block;
}
.photo-banner figcaption {
  padding: var(--s-4) var(--s-5);
  font-size: 0.9rem;
  color: var(--text-muted);
  background: var(--surface);
  border-top: 1px solid var(--border);
}

/* Why-it-matters callout */
.matter-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--s-7);
  align-items: center;
}
.matter-grid img { border-radius: var(--radius-lg); width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.matter-stats { display: grid; gap: var(--s-4); }
.matter-stats .stat { background: var(--bg); border: 1px solid var(--border); border-left: 3px solid var(--red-500); padding: var(--s-4) var(--s-5); border-radius: var(--radius); }

/* Card grids */
.grid {
  display: grid;
  gap: var(--s-5);
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--red-500);
}
.card h3 { margin-bottom: var(--s-3); }
.card p { color: var(--text-muted); margin-bottom: var(--s-4); }
.card .card-link {
  margin-top: auto;
  font-weight: 600;
  color: var(--black-800);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.card .card-link::after { content: "→"; transition: transform var(--transition); }
.card:hover .card-link::after { transform: translateX(4px); }

.card-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--green-50);
  color: var(--black-800);
  margin-bottom: var(--s-4);
}
.card-icon svg { width: 24px; height: 24px; }

/* Coaches page */
.coach-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.8fr);
  gap: var(--s-7);
  align-items: center;
}
.coach-lineup-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  box-shadow: 0 20px 60px rgba(0,0,0,0.22);
}
.coach-lineup-list {
  display: grid;
  gap: var(--s-4);
  list-style: none;
  margin: 0;
  padding: 0;
}
.coach-lineup-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: var(--s-4);
  row-gap: var(--s-1);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.coach-lineup-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.coach-lineup-list span {
  grid-row: span 2;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red-500);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
}
.coach-lineup-list strong { color: #fff; line-height: 1.2; }
.coach-lineup-list small { color: #c8d3e6; }
.coach-spotlight {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--s-7);
  align-items: center;
}
.coach-portrait {
  min-height: 260px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 75% 15%, rgba(193,18,31,0.32), transparent 34%),
    linear-gradient(135deg, var(--black-900), var(--green-700));
  border: 1px solid rgba(5,5,5,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}
.coach-portrait span {
  width: 128px;
  height: 128px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--black-900);
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  border: 5px solid var(--red-500);
}
.role-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin: 0 0 var(--s-4);
}
.role-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--green-50);
  color: var(--black-800);
  font-size: 0.78rem;
  font-weight: 700;
}
.coach-notes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
}
.coach-notes p {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--s-4);
  margin: 0;
}
.coach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: var(--s-5);
}
.coach-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s-5);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.coach-card:hover {
  transform: translateY(-3px);
  border-color: var(--red-500);
  box-shadow: var(--shadow-md);
}
.coach-card-top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-4);
  align-items: start;
  margin-bottom: var(--s-4);
}
.coach-card h3 { margin-bottom: var(--s-1); }
.coach-card-top p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.92rem;
}
.coach-card > p {
  color: var(--text-muted);
  margin: 0;
}
.coach-initials {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--black-900);
  color: #fff;
  border-bottom: 4px solid var(--red-500);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.coach-method {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--s-7);
  align-items: start;
}
.coach-method-grid {
  display: grid;
  gap: var(--s-4);
}
.coach-method-grid article {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: var(--s-5);
}
.coach-method-grid p {
  color: #c2cce0;
  margin: 0;
}

/* Page header (interior pages) */
.page-header {
  background: linear-gradient(135deg, var(--black-900), var(--green-700));
  color: #fff;
  padding-block: clamp(3rem, 7vw, 5rem);
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: "";
  position: absolute;
  right: -120px; bottom: -120px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(193,18,31,0.25), transparent 65%);
}
.page-header h1 { color: #fff; }
.page-header .eyebrow { color: var(--red-500); }
.page-header .lead { color: #c8d3e6; }
.page-header .container { position: relative; z-index: 1; }

/* Info row / stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
  text-align: left;
}
.stat {
  border-left: 3px solid var(--red-500);
  padding-left: var(--s-4);
}
.stat-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--black-900);
  line-height: 1;
  margin-bottom: var(--s-2);
}
.section--dark .stat-number { color: var(--red-500); }
.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}
.section--dark .stat-label { color: #c2cce0; }

/* Schedule v2 — grouped Girls/Boys cards */
.group-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-4);
  margin: var(--s-6) 0 var(--s-4);
  padding-bottom: var(--s-3);
  border-bottom: 2px solid var(--red-500);
  flex-wrap: wrap;
}
.group-heading h3 {
  margin: 0;
  font-size: 1.5rem;
  font-family: var(--font-display);
  color: var(--black-900);
}
.group-heading .group-tag {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.tryout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-4);
}
.tryout-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--red-500);
  border-radius: var(--radius);
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  transition: box-shadow var(--transition), transform var(--transition);
}
.tryout-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.tryout-card.is-future {
  border-left-color: var(--green-700);
  background: var(--surface);
}
.tryout-card h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--black-900);
  margin: 0;
  letter-spacing: -0.005em;
}
.tryout-card .birth-range {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.session-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.session-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-3);
  font-size: 0.92rem;
  color: var(--text);
  padding: 6px 0;
  border-top: 1px dashed var(--surface-2);
}
.session-list li:first-child { border-top: 0; }
.session-list .session-date { font-weight: 600; }
.session-list .session-time { color: var(--text-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tryout-card .more-link {
  margin-top: auto;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--black-800);
}
.tryout-card .more-link::after { content: " →"; }

/* Tryout schedule table-ish list */
.schedule {
  display: grid;
  gap: var(--s-4);
}
.schedule-item {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: var(--s-5);
  align-items: center;
  padding: var(--s-5);
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--red-500);
  border-radius: var(--radius);
  transition: box-shadow var(--transition);
}
.schedule-item:hover { box-shadow: var(--shadow-md); }
.schedule-date {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--black-900);
}
.schedule-date .day { font-size: 1.5rem; line-height: 1; }
.schedule-date .month {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red-600);
  display: block;
  margin-top: var(--s-1);
}
.schedule-info h3 { margin-bottom: var(--s-1); font-size: 1.1rem; }
.schedule-info p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }

/* Steps / checklist */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
  counter-reset: step;
}
.step {
  padding: var(--s-5);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -18px;
  left: var(--s-5);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--red-500);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.step h3 { margin-top: var(--s-3); }

/* Video grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
.video-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.video-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.video-player {
  width: 100%;
  aspect-ratio: 9 / 16;
  background: var(--black-900);
  display: block;
  object-fit: contain;
}
.video-thumb {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--black-800), var(--green-700));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.video-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(193,18,31,0.25), transparent 55%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0 10px, transparent 10px 20px);
}
.video-thumb .play {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--red-500);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black-900);
  transition: transform var(--transition);
}
.video-card:hover .play { transform: scale(1.08); }
.video-info { padding: var(--s-5); }
.video-info h3 { margin-bottom: var(--s-2); font-size: 1.05rem; }
.video-info p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }
.video-meta {
  display: flex;
  gap: var(--s-3);
  font-size: 0.8rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--s-2);
}

/* Resource list */
.resource-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.resource-list li {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--s-4) var(--s-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  transition: border-color var(--transition), background var(--transition);
}
.resource-list li:hover { border-color: var(--red-500); background: var(--red-50); }
.resource-list a { font-weight: 600; color: var(--black-900); }
.resource-list a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.resource-list .resource-tag {
  position: relative;
  z-index: 1;
  pointer-events: none;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: var(--surface-2);
  padding: 4px 10px;
  border-radius: 999px;
}

/* FAQ */
.faq-playbook {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: var(--s-7);
  align-items: center;
}
.soccer-board {
  position: relative;
  min-height: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(135deg, var(--black-900), var(--green-700));
  background-size: 42px 42px, 42px 42px, auto;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: var(--shadow-md);
  color: #fff;
  padding: var(--s-6);
}
.soccer-board::before {
  content: "";
  position: absolute;
  inset: 34px;
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 4px;
}
.soccer-board::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 34px;
  bottom: 34px;
  width: 2px;
  background: rgba(255,255,255,0.35);
  transform: translateX(-50%);
}
.soccer-board-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--s-4);
  max-width: 360px;
}
.soccer-ball-badge {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #050505 0 7px, transparent 8px),
    conic-gradient(from 18deg, #fff 0 16%, #050505 16% 22%, #fff 22% 38%, #050505 38% 44%, #fff 44% 62%, #050505 62% 68%, #fff 68% 84%, #050505 84% 90%, #fff 90% 100%);
  border: 4px solid #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}
.soccer-board h3 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0;
}
.soccer-board p { color: #e9f4ec; }
.happyfeet-photo-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0;
  min-height: 360px;
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: var(--shadow-md);
  background: var(--black-900);
}
.happyfeet-photo-card img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center 58%;
}
.happyfeet-photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.72));
  pointer-events: none;
}
.happyfeet-photo-card figcaption {
  position: absolute;
  left: var(--s-5);
  right: var(--s-5);
  bottom: var(--s-5);
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 var(--s-4);
  align-items: center;
  color: #fff;
}
.happyfeet-photo-card figcaption .soccer-ball-badge {
  grid-row: span 2;
  width: 56px;
  height: 56px;
  border-width: 3px;
}
.happyfeet-photo-card figcaption strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.1;
}
.happyfeet-photo-card figcaption span:not(.soccer-ball-badge) {
  color: #e9f4ec;
  font-size: 0.95rem;
}
.future-transition-card {
  position: relative;
  display: grid;
  align-content: center;
  gap: var(--s-5);
  min-height: 390px;
  margin: 0;
  padding: var(--s-6);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: var(--shadow-md);
  background:
    radial-gradient(circle at 12% 18%, rgba(193,18,31,0.45), transparent 28%),
    radial-gradient(circle at 88% 80%, rgba(0,99,49,0.55), transparent 34%),
    linear-gradient(135deg, var(--black-900), #092a19 62%, #0f3b23);
}
.future-transition-card::before {
  content: "HappyFeet → Future Legends";
  position: absolute;
  top: var(--s-5);
  left: var(--s-5);
  z-index: 1;
  color: rgba(255,255,255,0.78);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.future-transition-card::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: calc(var(--radius-lg) - 10px);
  pointer-events: none;
}
.future-transition-card img {
  position: relative;
  z-index: 1;
  width: min(86%, 430px);
  justify-self: center;
  margin-top: var(--s-6);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 60px rgba(0,0,0,0.36);
}
.future-transition-card figcaption {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 var(--s-4);
  align-items: center;
  padding: var(--s-4);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(5,5,5,0.74);
  backdrop-filter: blur(10px);
}
.future-transition-card figcaption .soccer-ball-badge {
  grid-row: span 2;
  width: 52px;
  height: 52px;
  border-width: 3px;
}
.future-transition-card figcaption strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.1;
}
.future-transition-card figcaption span:not(.soccer-ball-badge) {
  color: #e9f4ec;
  font-size: 0.92rem;
}
.future-season-grid,
.cost-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
.future-season-card,
.cost-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.future-season-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--red-500);
}
.future-season-card--accent {
  color: #fff;
  border-color: rgba(255,255,255,0.18);
  background: linear-gradient(135deg, var(--black-900), var(--green-900));
}
.future-season-card--accent p,
.future-season-card--accent span { color: #dceee3; }
.future-season-card span,
.cost-card span {
  display: inline-block;
  margin-bottom: var(--s-3);
  color: var(--red-500);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.future-season-card h3 { margin-bottom: var(--s-3); }
.future-season-card p,
.cost-card p {
  color: var(--text-muted);
  margin: 0;
}
.cost-card strong {
  display: block;
  margin-bottom: var(--s-2);
  color: var(--black-900);
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1;
}
.faq-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
  margin-top: var(--s-6);
}
.faq-category-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-top: 4px solid var(--red-500);
  border-radius: var(--radius);
  padding: var(--s-5);
  box-shadow: var(--shadow-sm);
}
.faq-category-card strong {
  display: block;
  font-family: var(--font-display);
  color: var(--black-900);
  font-size: 1.05rem;
  margin-bottom: var(--s-2);
}
.faq-category-card span {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.faq-group {
  margin-bottom: var(--s-7);
}
.classroom-photo-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  margin: 0 0 var(--s-8);
  border: 1px solid rgba(0, 99, 49, 0.18);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0%, rgba(193, 18, 31, 0.24), transparent 36%),
    linear-gradient(135deg, var(--black-900), var(--green-900));
  box-shadow: var(--shadow-md);
}
.classroom-photo-card img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: center 32%;
}
.classroom-photo-card figcaption {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(var(--s-6), 4vw, var(--s-8));
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(193, 18, 31, 0.22), transparent 36%),
    linear-gradient(135deg, rgba(9, 14, 12, 0.98), rgba(0, 73, 38, 0.98));
}
.classroom-photo-card .eyebrow {
  color: var(--red-300);
  margin-bottom: var(--s-3);
}
.classroom-photo-card h3 {
  color: #fff;
  font-size: clamp(1.8rem, 3.3vw, 3rem);
  line-height: 1;
  margin-bottom: var(--s-4);
}
.classroom-photo-card p {
  color: rgba(255,255,255,0.82);
  margin: 0;
}
.faq-group h2 {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
}
.faq-group h2::before {
  content: "";
  width: 14px;
  height: 34px;
  margin-top: 0.12em;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 7px, var(--red-500) 0 6px, transparent 7px),
    radial-gradient(circle at 50% 27px, rgba(0, 99, 49, 0.72) 0 6px, transparent 7px);
  flex: 0 0 auto;
}
.faq details {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--s-4) var(--s-5);
  margin-bottom: var(--s-3);
}
.faq details[open] { border-color: var(--red-500); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--black-900);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--red-600);
  transition: transform var(--transition);
  line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > p { margin: var(--s-3) 0 0; color: var(--text-muted); }
.faq details > ul {
  margin: var(--s-3) 0 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
}
.faq details li { margin-bottom: 0.45rem; }
.faq-highlight-link {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-weight: 700;
  color: var(--red-600);
}
.faq-highlight-link::after { content: "→"; transition: transform var(--transition); }
.faq-highlight-link:hover::after { transform: translateX(4px); }

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--black-900), var(--green-700));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3rem);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--s-6);
}
.cta-banner h2 { color: #fff; margin: 0 0 var(--s-2); }
.cta-banner p { color: #c8d3e6; margin: 0; }

/* Footer */
.site-footer {
  background: var(--black-900);
  color: #c2cce0;
  padding-block: var(--s-8) var(--s-6);
  margin-top: var(--s-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--s-6);
  margin-bottom: var(--s-7);
}
.footer-grid h4 {
  color: #fff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 var(--s-4);
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: var(--s-2); }
.footer-grid a { color: #c2cce0; font-size: 0.95rem; }
.footer-grid a:hover { color: var(--red-500); }
.footer-brand p { color: #8d99b3; max-width: 38ch; font-size: 0.95rem; }
.footer-brand .brand { color: #fff; margin-bottom: var(--s-4); }
.footer-brand .brand-text small { color: var(--red-500); }

.socials {
  display: flex;
  gap: var(--s-3);
  margin-top: var(--s-4);
}
.socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #c2cce0;
  transition: all var(--transition);
}
.socials a:hover {
  background: var(--red-500);
  color: #fff;
  border-color: var(--red-500);
}
.socials svg { width: 18px; height: 18px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4);
  font-size: 0.85rem;
  color: #8d99b3;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--s-5);
  flex-wrap: wrap;
}

/* Utility */
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.max-prose { max-width: 65ch; }
.section-head {
  text-align: center;
  max-width: 60ch;
  margin: 0 auto var(--s-7);
}
.section-head .lead { margin-inline: auto; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; gap: var(--s-6); text-align: left; }
  .hero-visual { order: -1; }
  .hero-visual svg { width: 220px; }
  .hero-photo { width: 100%; max-width: 480px; }
  .hero-crest { width: 110px; height: 130px; right: -16px; bottom: -16px; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-banner { grid-template-columns: 1fr; text-align: left; }
  .photo-strip { grid-template-columns: 1fr 1fr; }
  .ps-item.ps-large { grid-column: span 2; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-card,
  .gallery-card:nth-child(1),
  .gallery-card:nth-child(2),
  .gallery-card:nth-child(3),
  .gallery-card:nth-child(4),
  .gallery-card:nth-child(5),
  .gallery-card:nth-child(6) {
    grid-column: auto;
    min-height: 240px;
  }
  .matter-grid { grid-template-columns: 1fr; }
  .faq-playbook { grid-template-columns: 1fr; }
  .faq-category-grid { grid-template-columns: repeat(2, 1fr); }
  .classroom-photo-card { grid-template-columns: 1fr; }
  .classroom-photo-card img {
    min-height: 260px;
    border-bottom: 4px solid var(--red-500);
  }
  .future-season-grid,
  .cost-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: var(--s-3) 0;
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links li { border-top: 1px solid var(--surface-2); }
  .nav-links li:first-child { border-top: 0; }
  .nav-links a {
    display: block;
    padding: var(--s-4) var(--s-5);
    border-bottom: 0;
  }
  .nav-links a[aria-current="page"] {
    border-left: 3px solid var(--red-500);
    border-bottom: 0;
    background: var(--surface);
  }
  .nav { position: relative; }

  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .photo-strip { grid-template-columns: 1fr; }
  .ps-item.ps-large { grid-column: span 1; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-card { min-height: 260px; }
  .hero-crest { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .coach-hero,
  .coach-spotlight,
  .coach-method,
  .coach-notes { grid-template-columns: 1fr; }
  .coach-lineup-card { padding: var(--s-5); }
  .coach-portrait { min-height: 210px; }
  .faq-category-grid { grid-template-columns: 1fr; }
  .classroom-photo-card img { min-height: 220px; }
  .classroom-photo-card figcaption { padding: var(--s-6); }
  .soccer-board { min-height: 260px; }
  .future-transition-card {
    min-height: 340px;
    padding: var(--s-5);
  }
  .future-transition-card img { width: min(92%, 380px); }
  .future-transition-card figcaption {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .future-transition-card figcaption .soccer-ball-badge {
    display: none;
  }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .schedule-item {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .schedule-item .btn { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
