/* ============================================================
   OLY ACADEMY — MOBILE-FIRST DESIGN SYSTEM v2.0
   Mobile = default | Tablet 768px+ | Desktop 1024px+
   Red #D62828 / Black #111111 / Grey #4A4A4A
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800;900&family=Barlow:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── VARIABLES ── */
:root {
  --red:       #D62828;
  --red-dark:  #B01A1A;
  --black:     #111111;
  /* Navbar / mobile menu: #000 matches oly-navbar-mark.png matte (sampled corners) */
  --nav-bar-bg: #000000;
  --grey-dark: #1E1E1E;
  --grey-mid:  #2E2E2E;
  --grey:      #4A4A4A;
  --grey-lt:   #7A7A7A;
  --grey-bg:   #F5F5F5;
  --white:     #FFFFFF;
  --border:    #E0E0E0;

  --fd: 'Barlow Condensed', sans-serif;
  --fb: 'Barlow', sans-serif;
  --fu: 'Inter', sans-serif;

  --nav-h:  60px;
  --r:      8px;
  --rsm:    4px;
  --shadow: 0 4px 24px rgba(0,0,0,.12);
  --sred:   0 8px 32px rgba(214,40,40,.28);
  --t:      .2s ease;
  --ts:     .4s ease;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--fu); color: var(--black); background: var(--white); line-height: 1.6; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: 16px; /* prevent iOS zoom */ }

/* ── CONTAINER ── */
.container { width: 100%; padding: 0 16px; margin: 0 auto; }
@media (min-width: 480px)  { .container { padding: 0 20px; } }
@media (min-width: 768px)  { .container { padding: 0 24px; } }
@media (min-width: 1280px) { .container { max-width: 1280px; padding: 0 32px; } }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: var(--fd); line-height: 1.05; }

.section-title {
  font-size: clamp(28px, 7vw, 56px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.0;
}
.section-subtitle {
  font-size: 15px;
  color: var(--grey-lt);
  margin-top: 10px;
  line-height: 1.6;
}
@media (min-width: 768px) { .section-subtitle { font-size: 17px; } }

.label {
  font-family: var(--fb);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--red);
}
.accent-line {
  display: block;
  width: 40px; height: 4px;
  background: var(--red);
  border-radius: 2px;
  margin-bottom: 12px;
}

/* ── SECTION SPACING ── */
/* Mobile first: tighter spacing */
.section    { padding: 56px 0; }
.section-sm { padding: 40px 0; }
.section-lg { padding: 72px 0; }

@media (min-width: 768px)  { .section { padding: 80px 0; } .section-lg { padding: 100px 0; } }
@media (min-width: 1024px) { .section { padding: 96px 0; } .section-lg { padding: 120px 0; } }

.section-dark { background: var(--black); color: var(--white); }
.section-dark .section-subtitle { color: rgba(255,255,255,.5); }
.section-grey { background: var(--grey-bg); }

.section-header { margin-bottom: 36px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 10px auto 0; max-width: 480px; }
@media (min-width: 768px) { .section-header { margin-bottom: 52px; } }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  min-height: 48px; /* touch target */
  border-radius: var(--rsm);
  font-family: var(--fb);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  transition: all var(--t);
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.btn-primary  { background: var(--red); color: var(--white); }
.btn-primary:hover  { background: var(--red-dark); transform: translateY(-2px); box-shadow: var(--sred); }
.btn-primary:active { background: var(--red-dark); transform: scale(.98); }

.btn-ghost    { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.55); }
.btn-ghost:hover  { background: var(--white); color: var(--black); }

.btn-ghost-red { background: transparent; color: var(--red); border: 2px solid var(--red); }
.btn-ghost-red:hover { background: var(--red); color: var(--white); transform: translateY(-2px); }

.btn-dark  { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--grey-dark); transform: translateY(-2px); }

.btn-lg  { padding: 16px 28px; font-size: 14px; min-height: 52px; }
.btn-sm  { padding: 10px 18px; font-size: 12px; min-height: 40px; }
.btn-full { width: 100%; }

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  /* Always solid so hero / large type never bleeds through as a “ghost” mark next to the logo */
  background-color: var(--nav-bar-bg);
  overflow: hidden;
  transition: box-shadow var(--t);
}
.navbar.scrolled,
.navbar.solid {
  box-shadow: 0 2px 20px rgba(0,0,0,.5);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  min-width: 0;
  -webkit-tap-highlight-color: transparent;
}
@media (min-width: 400px) {
  .navbar-logo { gap: 16px; }
}
@media (min-width: 1024px) {
  .navbar-logo { gap: 18px; }
}
/*
 * Navbar mark: oly-navbar-mark.png (106×72). Width + height must use the same effective
 * pixel size so max-height (nav cap) never leaves a wide box with a short image.
 */
.navbar-logo-icon-wrap {
  --logo-max: calc(var(--nav-h) - 10px);
  --logo-target: 46px;
  --logo-eff: min(var(--logo-target), var(--logo-max));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 calc(var(--logo-eff) * 106 / 72);
  width: calc(var(--logo-eff) * 106 / 72);
  height: var(--logo-eff);
  box-sizing: border-box;
  background-color: var(--nav-bar-bg);
}
.navbar-logo-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}
/* Brand lockup: HTML text (not a header photo) — red OLY, divider, white ACADEMY */
.navbar-brand-name {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--fd);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1;
  /* Mobile: cap size so logo + hamburger fit; desktop overrides below */
  font-size: clamp(17px, 4.9vw, 24px);
  white-space: nowrap;
}
.navbar-brand-oly {
  color: var(--red);
}
/* Thin rule between words — matches reference bar, not a second logo image */
.navbar-brand-sep {
  flex-shrink: 0;
  width: 14px;
  height: 1px;
  background: rgba(255, 255, 255, 0.42);
  border-radius: 1px;
}
.navbar-brand-academy {
  color: var(--white);
}

/* Desktop nav links — hidden on mobile by default */
.navbar-links { display: none; }
.navbar-cta   { display: none; }

@media (min-width: 1024px) {
  .navbar { height: 72px; }
  :root   { --nav-h: 72px; }

  .navbar-links {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
    justify-content: center;
  }
  .navbar-links a {
    font-family: var(--fb);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.88);
    padding: 8px 12px;
    border-radius: var(--rsm);
    position: relative;
    transition: color var(--t);
    white-space: nowrap;
  }
  .navbar-links a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 12px;
    right: 12px;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transition: transform var(--t);
  }
  .navbar-links a:hover,
  .navbar-links a.active { color: var(--white); }
  .navbar-links a:hover::after,
  .navbar-links a.active::after { transform: scaleX(1); }

  .navbar-cta { display: block; flex-shrink: 0; }
  .navbar-cta .btn {
    padding: 11px 22px;
    min-height: 40px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    border-radius: 4px;
  }
  .hamburger  { display: none !important; }
  .navbar-logo-icon-wrap {
    --logo-target: 54px;
  }
  .navbar-brand-name {
    gap: 10px;
    font-size: clamp(22px, 2.1vw, 36px);
    letter-spacing: 0.07em;
  }
  .navbar-brand-sep { width: 16px; }
}

/* Very small phones: room for 44px menu control */
@media (max-width: 359px) {
  .navbar-logo { gap: 10px; }
  .navbar-logo-icon-wrap {
    --logo-target: 36px;
  }
  .navbar-brand-name {
    font-size: 14px;
    letter-spacing: 0.04em;
    gap: 6px;
  }
  .navbar-brand-sep { width: 9px; }
}

/* Large phones / small tablets still on hamburger */
@media (min-width: 400px) and (max-width: 1023px) {
  .navbar-brand-name {
    font-size: clamp(18px, 4vw, 23px);
  }
  .navbar-logo-icon-wrap {
    --logo-target: 48px;
  }
}

/* Compact laptops: 7 nav items + logo + CTA without wrap */
@media (min-width: 1024px) and (max-width: 1279px) {
  .navbar-brand-name {
    font-size: clamp(18px, 1.65vw, 28px);
    gap: 8px;
  }
  .navbar-brand-sep { width: 14px; }
  .navbar-logo-icon-wrap {
    --logo-target: 48px;
  }
  .navbar-links { gap: 0; }
  .navbar-links a {
    padding: 8px 7px;
    font-size: 10px;
    letter-spacing: 0.08em;
  }
  .navbar-links a::after {
    left: 7px;
    right: 7px;
    bottom: 3px;
  }
  .navbar-cta .btn {
    padding: 10px 16px;
    font-size: 10px;
    min-height: 38px;
    letter-spacing: 0.1em;
  }
}

/* Wide desktop: comfortable tap targets on links */
@media (min-width: 1280px) {
  .navbar-links { gap: 4px; }
  .navbar-links a {
    padding: 8px 14px;
    font-size: 11.5px;
    letter-spacing: 0.11em;
  }
  .navbar-links a::after {
    left: 14px;
    right: 14px;
  }
}

@media (min-width: 1440px) {
  .navbar-brand-name {
    font-size: clamp(24px, 1.9vw, 40px);
  }
  .navbar-logo-icon-wrap {
    --logo-target: 56px;
  }
}

/* ── HAMBURGER ── */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 8px;
  z-index: 1001;
  -webkit-tap-highlight-color: transparent;
  min-width: 44px; min-height: 44px;
  align-items: center; justify-content: center;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--t);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background-color: var(--nav-bar-bg);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: calc(env(safe-area-inset-top, 0px) + var(--nav-h) + 28px) max(20px, env(safe-area-inset-right)) 40px max(20px, env(safe-area-inset-left));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--fd);
  font-size: clamp(22px, 7.2vw, 36px);
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  padding: 14px 0;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  transition: color var(--t);
  width: min(100%, 420px);
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,.07);
  -webkit-tap-highlight-color: transparent;
}
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu a:hover,
.mobile-menu a:active { color: var(--red); }
.mobile-menu .btn {
  width: min(100%, 420px);
  align-self: center;
  margin-top: 20px;
  font-size: 15px;
  min-height: 52px;
}

@media (min-width: 600px) and (max-width: 1023px) {
  .mobile-menu a {
    font-size: clamp(26px, 3.8vw, 34px);
    padding: 12px 0;
  }
}

@media (max-height: 480px) and (orientation: landscape) {
  .mobile-menu {
    justify-content: flex-start;
    padding-top: calc(env(safe-area-inset-top, 0px) + var(--nav-h) + 12px);
  }
  .mobile-menu a {
    font-size: clamp(17px, 5vh, 24px);
    padding: 6px 0;
    min-height: 40px;
  }
  .mobile-menu .btn {
    margin-top: 12px;
    min-height: 44px;
    font-size: 13px;
  }
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100svh; /* safe viewport height on mobile */
  display: flex;
  align-items: center;
  background: var(--black);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a0505 50%, #111 100%);
}
.hero-bg::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(214,40,40,.1);
  top: -120px; right: -80px;
  animation: ring 4s ease-in-out infinite;
}
.hero-bg::after {
  content: '';
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  border: 1px solid rgba(214,40,40,.07);
  bottom: -60px; left: -60px;
  animation: ring 4s ease-in-out infinite 2s;
}
@keyframes ring { 0%,100%{transform:scale(1);opacity:.5} 50%{transform:scale(1.1);opacity:1} }

.hero-accent {
  position: absolute; top: 0; right: 0;
  width: 50%; height: 100%;
  background: transparent;
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 1;
  padding-top: var(--nav-h);
  padding-bottom: 80px;
  width: 100%;
}
.hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--fb); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2.5px;
  color: var(--red); margin-bottom: 16px;
}
.hero-label::before {
  content: '';
  display: inline-block; width: 20px; height: 2px; background: var(--red);
}
.hero-title {
  font-size: clamp(44px, 13vw, 100px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -1px;
  color: var(--white);
  line-height: .95;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}
.hero-title span { color: var(--red); }
.hero-subtitle {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.92);
  margin: 16px 0 28px;
  max-width: 480px;
  line-height: 1.65;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
@media (min-width: 768px) { .hero-subtitle { font-size: 17px; margin: 20px 0 32px; } }

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-actions .btn { width: 100%; }
@media (min-width: 480px) {
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .hero-actions .btn { width: auto; }
}

.hero-scroll {
  position: absolute; bottom: 24px; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  animation: bounce 2s ease-in-out infinite;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.hero-scroll span { font-size: 9px; color: rgba(255,255,255,.3); text-transform: uppercase; letter-spacing: 2px; }
.hero-scroll-arrow { width: 1px; height: 28px; background: linear-gradient(to bottom, transparent, rgba(255,255,255,.3)); }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(-6px)} }

/* Page hero (shorter) */
.page-hero {
  padding: calc(var(--nav-h) + 40px) 0 40px;
  background: var(--black);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--red);
}
.page-hero-title { color: var(--white); }
.page-hero-sub { color: rgba(255,255,255,.5); font-size: 15px; margin-top: 8px; }
@media (min-width: 768px) { .page-hero { padding: calc(var(--nav-h) + 56px) 0 56px; } }

.breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: rgba(255,255,255,.35);
  margin-bottom: 12px;
  font-family: var(--fb); text-transform: uppercase; letter-spacing: 1px;
}
.breadcrumb a { color: inherit; transition: color var(--t); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb-sep { color: var(--red); }

/* ── STATS BAR ── */
.stats-bar { background: var(--red); padding: 24px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2x2 on mobile */
  gap: 0;
  text-align: center;
}
@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}
.stat-item {
  padding: 12px 8px;
  border-right: 1px solid rgba(255,255,255,.2);
  border-bottom: 1px solid rgba(255,255,255,.2);
}
/* Remove borders on last of each row */
.stats-grid .stat-item:nth-child(2),
.stats-grid .stat-item:nth-child(4) { border-right: none; }
.stats-grid .stat-item:nth-child(3),
.stats-grid .stat-item:nth-child(4) { border-bottom: none; }
@media (min-width: 768px) {
  .stat-item { border-bottom: none; }
  .stats-grid .stat-item:nth-child(2) { border-right: 1px solid rgba(255,255,255,.2); }
  .stats-grid .stat-item:nth-child(4) { border-right: none; }
}

.stat-number {
  font-family: var(--fd);
  font-size: clamp(28px, 8vw, 52px);
  font-weight: 900; color: var(--white); line-height: 1;
}
.stat-label {
  font-family: var(--fb);
  font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: rgba(255,255,255,.7); margin-top: 3px;
}

/* ── CARDS ── */
.card {
  background: var(--white);
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--t), box-shadow var(--t);
}
.card:active { transform: scale(.99); }
@media (min-width: 768px) { .card:hover { transform: translateY(-4px); box-shadow: var(--shadow); } }

/* Program card */
.program-card { display: flex; flex-direction: column; }
.program-card-img {
  position: relative; height: 180px;
  background: var(--grey-mid); overflow: hidden;
}
@media (min-width: 768px) { .program-card-img { height: 200px; } }
.program-card-img img,
.program-card-img .ph { width: 100%; height: 100%; object-fit: cover; transition: transform var(--ts); }
@media (min-width: 768px) { .program-card:hover .program-card-img img { transform: scale(1.06); } }
.program-tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--red); color: var(--white);
  font-family: var(--fb); font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  padding: 4px 10px; border-radius: 3px;
}
.program-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
@media (min-width: 768px) { .program-card-body { padding: 22px; } }
.program-card-title {
  font-family: var(--fd); font-size: 20px; font-weight: 700;
  text-transform: uppercase; margin-bottom: 6px;
}
.program-card-desc { font-size: 13px; color: var(--grey); line-height: 1.6; flex: 1; margin-bottom: 14px; }
.program-meta { display: flex; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.program-meta-item {
  font-family: var(--fb); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .5px; color: var(--grey-lt);
  display: flex; align-items: center; gap: 5px;
}
.program-meta-item .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--red); }

/* ── Crew / team cards (square photos, card layout) ── */
.crew-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: stretch;
}
@media (min-width: 640px) {
  .crew-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}
@media (min-width: 1024px) {
  .crew-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}

/* Crew grid: poster-first, no card chrome */
.coach-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
}

.coach-card__poster {
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-self: stretch;
}

.coach-badge--card {
  display: inline-block;
  margin: 0 0 6px;
}

/* Portrait frame: transparent — blends with section; img uses contain (no crop/distort) */
.coach-avatar {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  aspect-ratio: 3 / 4;
  padding: 0;
  flex-shrink: 0;
  overflow: visible;
  background: transparent;
  border: none;
  outline: none;
  box-shadow: none;
  border-radius: 0;
}
@media (min-width: 640px) {
  .coach-avatar { max-width: none; }
}

.coach-avatar img,
.coach-avatar .coach-avatar-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}

.coach-initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fd);
  font-size: clamp(2rem, 12vw, 3.25rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.06em;
  user-select: none;
}

.coach-card-body {
  width: 100%;
  margin: 0;
  padding: 10px 6px 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (min-width: 768px) {
  .coach-card-body {
    padding: 12px 8px 0;
  }
}

/* Keep long bios readable without stretching full card width */
.coach-card-body .coach-name,
.coach-card-body .coach-role,
.coach-card-body .coach-bio {
  max-width: 38ch;
  width: 100%;
}

.coach-name {
  font-family: var(--fd);
  font-size: clamp(16px, 2.2vw, 19px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.15;
  margin: 0 0 4px;
  color: var(--black);
}
.coach-role {
  font-size: 11px;
  color: var(--red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-family: var(--fb);
  margin: 0;
  line-height: 1.35;
}
.coach-bio {
  font-size: 13px;
  color: var(--grey);
  line-height: 1.6;
  margin: 10px 0 0;
  text-align: center;
}
.coach-bio:empty {
  display: none;
}
.coach-bio p { margin: 0 0 10px; }
.coach-bio p:last-child { margin-bottom: 0; }

.crew-grid-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--grey-lt);
  padding: 32px 16px;
  font-size: 15px;
}
.crew-grid-empty--error {
  color: var(--red);
}

.section-dark .coach-avatar {
  background: transparent;
}
.section-dark .coach-name { color: var(--white); }
.section-dark .coach-role { color: var(--red); }
.section-dark .coach-bio { color: rgba(255, 255, 255, 0.55); }

/* Feature card */
.feature-card {
  padding: 22px; border-radius: var(--r);
  background: var(--white); border: 1px solid var(--border);
  transition: all var(--t);
}
@media (min-width: 768px) {
  .feature-card { padding: 28px; }
  .feature-card:hover { border-color: var(--red); box-shadow: 0 8px 32px rgba(214,40,40,.08); transform: translateY(-2px); }
}
.feature-icon {
  width: 48px; height: 48px;
  background: rgba(214,40,40,.08); border-radius: var(--rsm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; color: var(--red); font-size: 20px;
}
.feature-title { font-family: var(--fd); font-size: 18px; font-weight: 700; text-transform: uppercase; margin-bottom: 6px; }
.feature-desc  { font-size: 13px; color: var(--grey); line-height: 1.65; }

/* ── GRID SYSTEM — Mobile first ── */
/* All grids stack on mobile, expand at breakpoints */
.grid-2 { display: flex; flex-direction: column; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 16px; }
.grid-4 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (min-width: 768px) {
  .grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; align-items: center; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}

/* ── SPLIT SECTION ── */
.split { display: flex; flex-direction: column; gap: 28px; }
@media (min-width: 768px) {
  .split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
  .split.rev { direction: rtl; }
  .split.rev > * { direction: ltr; }
  .split-why { align-items: stretch; }
}
@media (min-width: 1024px) { .split { gap: 64px; } }

.split-img { border-radius: var(--r); overflow: hidden; position: relative; }
.split-img img,
.split-img .why-choose-photo { width: 100%; object-fit: cover; min-height: 260px; display: block; }
@media (min-width: 768px) { .split-img img, .split-img .why-choose-photo { min-height: 380px; } }
.split-img .why-choose-photo[hidden] { display: none !important; }

/* Why Choose: single grid cell — photo covers full area; placeholder never stacks below */
.split-why .split-img {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: minmax(280px, 1fr);
  align-self: stretch;
  min-height: min(72vw, 400px);
}
@media (min-width: 768px) {
  .split-why .split-img { min-height: 100%; }
}
.split-why .split-img > .why-choose-photo {
  grid-area: 1 / 1;
  align-self: stretch;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  z-index: 1;
}
.split-why .split-img > .why-choose-ph {
  grid-area: 1 / 1;
  z-index: 0;
  width: 100%;
  min-height: 100%;
  align-self: stretch;
}
.split-why .split-img > .why-choose-photo:not([hidden]) ~ .why-choose-ph,
.split-why .split-img > .why-choose-photo.why-choose-has-src ~ .why-choose-ph {
  display: none !important;
}
.split-why .split-img .split-badge {
  z-index: 2;
}

/* Why Choose — mobile: definite image height (grid 1fr + % height is unreliable here) */
@media (max-width: 767px) {
  .split-why {
    gap: 24px;
  }
  .split-why > .split-img {
    order: -1;
  }
  .split-why .split-img {
    min-height: 0;
    width: 100%;
    aspect-ratio: 4 / 3;
    grid-template-rows: 1fr;
  }
  .split-why .split-img img,
  .split-why .split-img .why-choose-photo {
    min-height: 0 !important;
  }
  .split-why .split-img .split-badge {
    bottom: max(12px, env(safe-area-inset-bottom, 0px));
    left: max(12px, env(safe-area-inset-left, 0px));
    padding: 8px 12px;
  }
  .split-why .split-img .split-badge-num {
    font-size: 20px;
  }
  .split-why .split-img .split-badge-label {
    font-size: 9px;
  }
}
.split-badge {
  position: absolute; bottom: 16px; left: 16px;
  background: var(--red); color: white;
  padding: 10px 16px; border-radius: var(--rsm);
}
.split-badge-num   { font-family: var(--fd); font-size: 24px; font-weight: 900; line-height: 1; }
.split-badge-label { font-size: 10px; opacity: .85; text-transform: uppercase; letter-spacing: 1px; }

/* ── TIMETABLE ── */
.filter-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; overflow-x: auto; padding-bottom: 4px; }
.filter-row::-webkit-scrollbar { display: none; }
.filter-btn {
  font-family: var(--fb); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .8px;
  padding: 9px 16px; border-radius: 40px;
  border: 2px solid var(--border); color: var(--grey);
  background: var(--white); cursor: pointer;
  transition: all var(--t); white-space: nowrap;
  min-height: 40px;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
}
.filter-btn:hover  { border-color: var(--red); color: var(--red); }
.filter-btn:active { transform: scale(.97); }
.filter-btn.active { background: var(--red); border-color: var(--red); color: var(--white); }

/* Mobile timetable day-cards */
.day-card {
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 10px;
}
.day-card-header {
  background: var(--black);
  color: var(--white);
  padding: 12px 16px;
  font-family: var(--fb); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.day-card-header.today { background: var(--red); }
.day-card-chevron { transition: transform var(--t); }
.day-card.open .day-card-chevron { transform: rotate(180deg); }
.day-card-body { display: none; }
.day-card.open .day-card-body { display: block; }

.session-row {
  display: flex; align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  gap: 12px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background var(--t);
}
.session-row:last-child { border-bottom: none; }
.session-row:active { background: rgba(214,40,40,.04); }
.session-time {
  font-family: var(--fb); font-size: 11px; font-weight: 700;
  color: var(--grey-lt); white-space: nowrap; min-width: 70px;
}
.session-info { flex: 1; }
.session-name  { font-family: var(--fb); font-size: 14px; font-weight: 700; color: var(--black); }
.session-coach { font-size: 12px; color: var(--grey-lt); margin-top: 1px; }
.session-empty { padding: 20px 16px; color: var(--grey-lt); font-size: 13px; text-align: center; }

/* Desktop timetable grid */
.tt-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--border); display: none; }
@media (min-width: 768px) { .tt-wrap { display: block; } }
.tt { width: 100%; border-collapse: collapse; min-width: 700px; }
.tt th {
  background: var(--black); color: var(--white);
  font-family: var(--fb); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  padding: 14px 10px; text-align: center;
}
.tt th:first-child { background: var(--red); width: 90px; }
.tt td { border: 1px solid var(--border); vertical-align: top; }
.tt td.time-col {
  background: var(--grey-bg); text-align: center;
  font-family: var(--fb); font-size: 11px; font-weight: 700;
  color: var(--black); padding: 10px 6px; white-space: nowrap;
}
.tt-cell {
  padding: 8px; min-height: 62px;
  display: flex; flex-direction: column; gap: 4px;
  cursor: pointer; transition: background var(--t);
}
.tt-cell:hover { background: rgba(214,40,40,.04); }
.tt-empty { min-height: 62px; display: flex; align-items: center; justify-content: center; color: var(--border); }
.tt-name  { font-family: var(--fb); font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--black); line-height: 1.2; }

/* Session tags */
.tt-tag { display: inline-block; font-size: 9px; font-weight: 700; text-transform: uppercase; padding: 2px 6px; border-radius: 3px; font-family: var(--fb); letter-spacing: .5px; }
.t-kids    { background: #FFE8E8; color: var(--red); }
.t-youth   { background: #FFD5D5; color: #B01A1A; }
.t-adults  { background: #FFEDEC; color: var(--red); }
.t-fitness { background: #E8E8E8; color: var(--grey); }
.t-open    { background: #E8F0FF; color: #2255BB; }

/* Hide mobile tt on desktop */
@media (min-width: 768px) { #ttMobile { display: none !important; } }

/* ── CTA BAND ── */
.cta-band { background: var(--red); padding: 48px 0; text-align: center; }
@media (min-width: 768px) { .cta-band { padding: 64px 0; } }
@media (min-width: 1024px){ .cta-band { padding: 72px 0; } }
.cta-band-title {
  font-family: var(--fd);
  font-size: clamp(26px, 7vw, 60px);
  font-weight: 900; color: var(--white);
  text-transform: uppercase; margin-bottom: 12px; line-height: 1.05;
}
.cta-band-sub  { color: rgba(255,255,255,.8); font-size: 15px; margin-bottom: 24px; }
@media (min-width: 768px) { .cta-band-sub { font-size: 17px; margin-bottom: 28px; } }

/* ── CONTACT FORM ── */
.form-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 16px; }
.form-label  { font-family: var(--fb); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--grey); }
.form-input,
.form-select,
.form-textarea {
  width: 100%; padding: 13px 14px;
  background: var(--grey-bg); border: 1.5px solid var(--border);
  border-radius: var(--rsm); font-size: 16px; /* prevent iOS zoom */
  color: var(--black); transition: border-color var(--t), box-shadow var(--t);
  -webkit-appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(214,40,40,.1);
}
.form-input.err, .form-textarea.err { border-color: var(--red); }
.form-err { font-size: 12px; color: var(--red); display: none; }
.form-err.show { display: block; }
.form-textarea { resize: vertical; min-height: 110px; }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23D62828' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 40px; cursor: pointer;
}
.form-success { display: none; text-align: center; padding: 40px 16px; }
.form-success.show { display: block; }
.success-icon {
  width: 56px; height: 56px; background: var(--red); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px; color: white; font-size: 24px;
}

/* ── CONTACT CARDS ── */
.contact-card {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px; background: var(--grey-bg);
  border-radius: var(--r); border: 1px solid var(--border);
  transition: all var(--t);
  -webkit-tap-highlight-color: transparent;
}
@media (min-width: 768px) { .contact-card:hover { border-color: var(--red); background: white; } }
.contact-icon {
  width: 40px; height: 40px; background: var(--red);
  border-radius: var(--rsm); display: flex; align-items: center;
  justify-content: center; color: white; flex-shrink: 0; font-size: 16px;
}
.contact-label { font-family: var(--fb); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--grey-lt); margin-bottom: 2px; }
.contact-val   { font-size: 15px; font-weight: 600; color: var(--black); }
.contact-val a { color: var(--black); transition: color var(--t); }
.contact-val a:hover { color: var(--red); }

/* ── MAP ── */
.map-wrap { border-radius: var(--r); overflow: hidden; border: 1px solid var(--border); }
.map-wrap iframe { display: block; width: 100%; height: 280px; border: 0; }
@media (min-width: 768px) { .map-wrap iframe { height: 380px; } }
@media (min-width: 1024px){ .map-wrap iframe { height: 450px; } }

/* ── GALLERY ── */
.gallery-grid { columns: 2; column-gap: 10px; }
@media (min-width: 768px)  { .gallery-grid { columns: 3; column-gap: 14px; } }
@media (min-width: 1024px) { .gallery-grid { columns: 4; column-gap: 16px; } }
.gallery-item {
  break-inside: avoid; margin-bottom: 10px;
  border-radius: var(--rsm); overflow: hidden; cursor: pointer; position: relative;
}
@media (min-width: 768px) { .gallery-item { margin-bottom: 14px; } }
.gallery-item img { width: 100%; display: block; transition: transform var(--ts); }
@media (min-width: 768px) { .gallery-item:hover img { transform: scale(1.04); } }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(214,40,40,0);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t); color: white; font-size: 24px; opacity: 0;
}
@media (min-width: 768px) { .gallery-item:hover .gallery-overlay { background: rgba(214,40,40,.55); opacity: 1; } }

/* Lightbox */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.94); z-index: 2000; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 94vw; max-height: 88vh; object-fit: contain; border-radius: var(--rsm); }
.lb-close { position: absolute; top: 16px; right: 18px; font-size: 30px; color: white; cursor: pointer; padding: 8px; line-height: 1; min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; }
.lb-close:hover { color: var(--red); }

/* ── PHOTO STRIP ── */
.strip { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip-item { flex: 0 0 220px; height: 160px; border-radius: var(--rsm); overflow: hidden; background: var(--grey-mid); }
@media (min-width: 768px) { .strip-item { flex: 0 0 260px; height: 180px; } }
.strip-item img { width: 100%; height: 100%; object-fit: cover; }

/* ── FOOTER ── */
.footer { background: var(--black); padding: 48px 0 24px; border-top: 4px solid var(--red); }
@media (min-width: 768px) { .footer { padding: 64px 0 28px; } }

/* Footer: single column mobile, 2-col tablet, 4-col desktop */
.footer-grid { display: flex; flex-direction: column; gap: 28px; margin-bottom: 36px; }
@media (min-width: 640px) { .footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (min-width: 1024px){ .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 48px; } }

.footer-brand-name { font-family: var(--fd); font-size: 22px; font-weight: 900; color: var(--white); text-transform: uppercase; margin-bottom: 10px; }
.footer-brand-name span { color: var(--red); }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,.4); line-height: 1.6; margin-bottom: 18px; max-width: 240px; }
.footer-socials { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-social {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.09);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  transition: all var(--t);
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
}
.footer-social svg { display: block; flex-shrink: 0; }
.footer-social:hover  { transform: translateY(-3px); }
.footer-social:active { transform: scale(.93); }

/* Instagram — gradient brand colour */
.footer-social-ig {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: #fff;
}
.footer-social-ig:hover { background: radial-gradient(circle at 30% 107%, #fde97a 0%, #fde97a 5%, #fc3d2e 45%, #c01990 60%, #1a4bcc 90%); }

/* Facebook — official blue */
.footer-social-fb { background: #1877F2; color: #fff; }
.footer-social-fb:hover { background: #0d65d9; }

.footer-col-title { font-family: var(--fb); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--red); margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,.5); transition: all var(--t); }
.footer-links a:hover { color: var(--white); padding-left: 4px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 8px; font-size: 13px; color: rgba(255,255,255,.5); }
.footer-contact-item .icon { color: var(--red); flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.07);
  display: flex; flex-direction: column;
  align-items: center; gap: 8px; text-align: center;
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; } }
.footer-copy { font-size: 12px; color: rgba(255,255,255,.28); }
.footer-copy span { color: var(--red); }

/* Powered by ASA badge */
.powered-by {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; color: rgba(255,255,255,.22);
  letter-spacing: .3px; text-decoration: none;
  transition: color var(--t);
  -webkit-tap-highlight-color: transparent;
}
.powered-by:hover { color: rgba(255,255,255,.55); }
.powered-by-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--red); opacity: .6; flex-shrink: 0;
}
.powered-by-brand {
  font-family: var(--fb); font-weight: 900;
  font-size: 12px; letter-spacing: 1.5px;
  background: linear-gradient(90deg, var(--red), #ff6b6b);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── ABOUT ── */
.timeline { position: relative; padding-left: 24px; }
.timeline::before { content: ''; position: absolute; left: 5px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.tl-item { position: relative; margin-bottom: 24px; }
.tl-dot  { position: absolute; left: -24px; top: 4px; width: 11px; height: 11px; border-radius: 50%; background: var(--red); border: 3px solid white; box-shadow: 0 0 0 2px var(--red); }
.tl-year { font-family: var(--fd); font-size: 12px; font-weight: 800; color: var(--red); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; }
.tl-title{ font-family: var(--fb); font-size: 14px; font-weight: 700; color: var(--black); margin-bottom: 2px; }
.tl-text { font-size: 13px; color: var(--grey); line-height: 1.5; }

/* Value cards */
.value-card { padding: 20px; border-radius: var(--r); border: 1px solid var(--border); }
@media (min-width: 768px) { .value-card { padding: 26px; } }
.val-num   { font-family: var(--fd); font-size: 40px; font-weight: 900; color: rgba(214,40,40,.1); line-height: 1; margin-bottom: 8px; }
.val-title { font-family: var(--fd); font-size: 18px; font-weight: 700; text-transform: uppercase; margin-bottom: 5px; }
.val-desc  { font-size: 13px; color: var(--grey); line-height: 1.65; }

/* ── DIRECTION CARDS ── */
.dir-card  { padding: 20px; border-radius: var(--r); background: var(--white); border: 1px solid var(--border); text-align: center; }
.dir-icon  { width: 48px; height: 48px; border-radius: 50%; background: rgba(214,40,40,.08); display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; color: var(--red); font-size: 20px; }
.dir-title { font-family: var(--fb); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; }
.dir-desc  { font-size: 13px; color: var(--grey); line-height: 1.6; }

/* ── HOURS TABLE ── */
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table tr:not(:last-child) td { border-bottom: 1px solid var(--border); }
.hours-table td { padding: 10px 0; font-size: 14px; }
.hours-table td:first-child { color: var(--grey); }
.hours-table td:last-child  { font-weight: 700; text-align: right; }

/* ── FAQ (details/summary) ── */
details { border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; margin-bottom: 10px; }
summary {
  padding: 16px 20px; font-family: var(--fb); font-size: 14px; font-weight: 700;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  list-style: none; -webkit-tap-highlight-color: transparent;
  user-select: none;
}
summary::after { content: '+'; color: var(--red); font-size: 20px; font-weight: 400; transition: transform var(--t); flex-shrink: 0; }
details[open] summary::after { transform: rotate(45deg); }
details[open] summary { border-bottom: 1px solid var(--border); background: rgba(214,40,40,.02); }
.faq-body { padding: 16px 20px; font-size: 14px; color: var(--grey); line-height: 1.7; }
::-webkit-details-marker { display: none; }

/* ── SESSION DETAIL MODAL ── */
.modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.65); z-index: 1500; align-items: flex-end; justify-content: center; padding: 0; }
.modal.open { display: flex; }
.modal-card {
  background: var(--white); border-radius: var(--r) var(--r) 0 0;
  padding: 24px; width: 100%; position: relative;
  animation: slideUp .25s ease;
  max-height: 90vh; overflow-y: auto;
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
@media (min-width: 600px) {
  .modal { align-items: center; padding: 24px; }
  .modal-card { border-radius: var(--r); max-width: 420px; animation: fadeIn .2s ease; }
  @keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
}
.modal-close { position: absolute; top: 14px; right: 16px; font-size: 20px; color: var(--grey-lt); cursor: pointer; padding: 4px; min-width: 36px; min-height: 36px; display: flex; align-items: center; justify-content: center; }
.modal-close:hover { color: var(--red); }
.modal-tag   { font-size: 11px; color: var(--red); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-family: var(--fb); margin-bottom: 6px; }
.modal-title { font-family: var(--fd); font-size: 22px; font-weight: 700; text-transform: uppercase; margin-bottom: 14px; }
.modal-row   { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.modal-row span:first-child { color: var(--grey); }
.modal-row span:last-child  { font-weight: 600; }

/* ── SCROLL ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-1 { transition-delay: .08s; }
.reveal-2 { transition-delay: .16s; }
.reveal-3 { transition-delay: .24s; }
.reveal-4 { transition-delay: .32s; }

/* ── SCROLL TOP ── */
.scroll-top {
  position: fixed; bottom: 20px; right: 16px;
  width: 44px; height: 44px;
  background: var(--red); color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--t); box-shadow: var(--sred);
  z-index: 500; opacity: 0; transform: translateY(20px); pointer-events: none;
  font-size: 18px;
  -webkit-tap-highlight-color: transparent;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.scroll-top:active  { transform: scale(.92); }
@media (min-width: 768px) { .scroll-top { bottom: 28px; right: 28px; } }

/* ── PHOTO PLACEHOLDER ── */
.ph {
  background: linear-gradient(135deg, var(--grey-mid), var(--grey-dark));
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 8px;
  color: rgba(255,255,255,.2);
  font-family: var(--fb); font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
}
.ph[hidden] { display: none !important; }
.ph-icon { font-size: 28px; opacity: .3; }

/* ── TOAST ── */
.toast {
  position: fixed; bottom: 24px; left: 50%; width: calc(100% - 32px); max-width: 400px;
  transform: translateX(-50%) translateY(20px);
  background: var(--black); color: white;
  padding: 14px 18px; border-radius: var(--r);
  font-size: 14px; z-index: 3000;
  transition: transform .3s ease, opacity .3s ease;
  border-left: 4px solid var(--red);
  opacity: 0; pointer-events: none;
  text-align: center;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; pointer-events: all; }
.toast.success { border-color: #22c55e; }
.toast.error   { border-color: var(--red); }

/* ── LOADING ── */
.loading-spinner { width: 36px; height: 36px; border: 3px solid var(--border); border-top-color: var(--red); border-radius: 50%; animation: spin .8s linear infinite; margin: 40px auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--rsm); }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ── UTILITIES ── */
.text-red    { color: var(--red) !important; }
.text-white  { color: var(--white) !important; }
.text-grey   { color: var(--grey) !important; }
.text-center { text-align: center; }
.fw-bold     { font-weight: 700; }
.d-flex      { display: flex; }
.align-c     { align-items: center; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.mt-8   { margin-top: 8px; }
.mt-12  { margin-top: 12px; }
.mt-16  { margin-top: 16px; }
.mt-24  { margin-top: 24px; }
.mt-32  { margin-top: 32px; }
.mt-48  { margin-top: 48px; }
.mb-8   { margin-bottom: 8px; }
.mb-12  { margin-bottom: 12px; }
.mb-16  { margin-bottom: 16px; }
.mb-24  { margin-bottom: 24px; }
.mb-32  { margin-bottom: 32px; }
.w-full { width: 100%; }

/* ── CLASS ALIASES (backwards-compat) ── */
.page-hero-subtitle { color: rgba(255,255,255,.5); font-size: 15px; margin-top: 8px; }
@media (min-width: 768px) { .page-hero-subtitle { font-size: 17px; } }
.split-image { border-radius: var(--r); overflow: hidden; position: relative; }
.split-image img { width: 100%; object-fit: cover; min-height: 260px; display: block; }
@media (min-width: 768px) { .split-image img { min-height: 380px; } }
.split-content { min-width: 0; }

/* ── FAQ (details/summary accordion) ── */
.faq-container { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border: 1px solid var(--border); border-radius: var(--r);
  overflow: hidden; margin-bottom: 10px; background: var(--white);
}
.faq-question {
  padding: 16px 20px; font-family: var(--fb);
  font-size: 15px; font-weight: 700; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  list-style: none; -webkit-tap-highlight-color: transparent;
  user-select: none; min-height: 48px;
}
.faq-question::after { content: '+'; color: var(--red); font-size: 20px; font-weight: 400; transition: transform var(--t); flex-shrink: 0; }
.faq-item[open] .faq-question::after { transform: rotate(45deg); }
.faq-item[open] .faq-question { border-bottom: 1px solid var(--border); background: rgba(214,40,40,.02); }
.faq-answer { padding: 16px 20px; font-size: 14px; color: var(--grey); line-height: 1.7; }
::-webkit-details-marker { display: none; }

/* ── HEAD COACH SECTION (crew page) — flex: poster left, copy right; stack on mobile ── */
.head-coach {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 36px;
}

.head-coach__media {
  display: flex;
  justify-content: center;
  flex-shrink: 0;
  width: 100%;
}

.head-coach__poster {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: min(100%, 400px);
}

@media (min-width: 768px) {
  .head-coach {
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: clamp(40px, 5vw, 64px);
  }

  .head-coach__media {
    justify-content: flex-start;
    width: clamp(350px, 38vw, 450px);
    max-width: 450px;
  }

  .head-coach__poster {
    max-width: none;
    width: 100%;
  }
}

.head-coach__content {
  flex: 1 1 0;
  min-width: 0;
  max-width: 58ch;
  padding-top: 0;
}

@media (min-width: 768px) {
  .head-coach__content {
    padding-top: 6px;
  }
}

.head-coach__eyebrow {
  font-family: var(--fb);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--red);
  margin: 0 0 12px;
}

.head-coach__title {
  margin-bottom: 10px !important;
}

.head-coach__role {
  font-size: 16px;
  font-weight: 600;
  color: var(--grey);
  margin: 0 0 20px;
  line-height: 1.4;
}

.head-coach__bio {
  font-size: 16px;
  line-height: 1.7;
  color: var(--grey);
  margin: 0;
}
.head-coach__bio p { margin: 0 0 12px; }
.head-coach__bio p:last-child { margin-bottom: 0; }

/* Poster frame: portrait ratio, full image via object-fit: contain on img */
.coach-avatar-large {
  position: relative;
  width: 100%;
  margin: 0;
  aspect-ratio: 5 / 6;
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid var(--red);
  background: var(--grey-bg);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1), 0 8px 24px rgba(214, 40, 40, 0.15);
  transition: box-shadow var(--t);
}
@media (min-width: 768px) {
  .coach-avatar-large {
    border-radius: 22px;
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.12), 0 10px 28px rgba(214, 40, 40, 0.18);
  }
}
.coach-avatar-large img,
.coach-avatar-large .coach-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}
@media (min-width: 768px) {
  .head-coach__media:hover .coach-avatar-large {
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.14), 0 14px 40px rgba(214, 40, 40, 0.26);
  }
}

.coach-avatar-large .coach-initials {
  font-size: clamp(2.5rem, 14vw, 4rem);
}

.coach-badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 100px;
  font-family: var(--fb);
  margin-bottom: 8px;
}

/* ── SAFE AREA (iPhone notch/bottom bar) ── */
@supports (padding: max(0px)) {
  .footer { padding-bottom: max(24px, env(safe-area-inset-bottom)); }
  .scroll-top { bottom: max(20px, env(safe-area-inset-bottom)); }
  .mobile-menu {
    padding-bottom: max(32px, env(safe-area-inset-bottom) + 16px);
  }
}

/* ── MISSING / ALIAS CLASSES (cross-page consistency) ── */

/* breadcrumbs (plural) — alias for breadcrumb (singular) */
.breadcrumbs {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: rgba(255,255,255,.35);
  margin-bottom: 12px;
  font-family: var(--fb); text-transform: uppercase; letter-spacing: 1px;
}
.breadcrumbs a { color: inherit; transition: color var(--t); }
.breadcrumbs a:hover { color: var(--red); }
.breadcrumbs span:last-child { color: rgba(255,255,255,.6); }

/* section-text — regular body paragraph */
.section-text {
  font-size: 15px;
  color: var(--grey);
  line-height: 1.75;
  margin-bottom: 16px;
}
@media (min-width: 768px) { .section-text { font-size: 16px; } }
.section-text:last-child { margin-bottom: 0; }

/* quote-large — mission / pull-quote block */
.quote-large {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  flex-direction: column;
  align-items: center;
}
.quote-mark {
  font-family: var(--fd);
  font-size: clamp(60px, 12vw, 100px);
  font-weight: 900;
  color: var(--red);
  line-height: 0.6;
  opacity: .3;
  user-select: none;
}
.quote-text {
  font-family: var(--fd);
  font-size: clamp(20px, 4vw, 30px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
@media (min-width: 768px) { .quote-large { flex-direction: row; text-align: left; align-items: flex-start; } }

/* matrix-table — age/program availability table */
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.matrix-table {
  width: 100%; border-collapse: collapse;
  font-size: 14px; min-width: 500px;
}
.matrix-table th {
  background: var(--black); color: var(--white);
  font-family: var(--fb); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  padding: 14px 12px; text-align: center;
}
.matrix-table th:first-child { text-align: left; background: var(--red); }
.matrix-table td {
  padding: 13px 12px; text-align: center;
  border-bottom: 1px solid var(--border);
  color: var(--grey);
}
.matrix-table td:first-child { text-align: left; color: var(--black); }
.matrix-table tbody tr:hover td { background: rgba(214,40,40,.03); }
.matrix-table tbody tr:last-child td { border-bottom: none; }

/* page-hero-content — spacing inside page heroes */
.page-hero-content { padding-bottom: 4px; }

/* faq-answer — alias for faq-body (services page uses faq-answer) */
.faq-answer { padding: 16px 20px; font-size: 14px; color: var(--grey); line-height: 1.7; }
.faq-answer p { margin: 0 0 8px; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ── SERVICE CARDS (services.html) ── */
.svc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 560px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}
@media (min-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}

.svc-card {
  background: var(--white);
  border-radius: var(--r);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
@media (min-width: 768px) {
  .svc-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,.1), 0 4px 16px rgba(214,40,40,.08);
    border-color: var(--red);
  }
}

/* Image area */
.svc-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--grey-mid);
  flex-shrink: 0;
}
.svc-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}
@media (min-width: 768px) {
  .svc-card:hover .svc-card-img img { transform: scale(1.05); }
}

/* No-image placeholder */
.svc-card-no-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--grey-mid) 0%, var(--grey-dark) 100%);
}
.svc-card-no-img span {
  font-size: 48px;
  opacity: .35;
}

/* Tag badge on image */
.svc-card-tag {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--red);
  color: var(--white);
  font-family: var(--fb);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  border-radius: 3px;
}

/* Card body */
.svc-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}
@media (min-width: 768px) { .svc-card-body { padding: 24px; } }

.svc-card-title {
  font-family: var(--fd);
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--black);
  line-height: 1.1;
  margin: 0;
}
.svc-card-desc {
  font-size: 13px;
  color: var(--grey);
  line-height: 1.65;
  flex: 1;
  margin: 0;
}

/* Meta pills: age range + duration */
.svc-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 2px;
}
.svc-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--fb);
  font-size: 11px;
  font-weight: 600;
  color: var(--grey);
  background: var(--grey-bg);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 40px;
  white-space: nowrap;
}

/* Dark-section feature cards override */
.section-dark .svc-feature {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.08);
}
.section-dark .svc-feature .feature-title { color: var(--white); }
.section-dark .svc-feature .feature-desc  { color: rgba(255,255,255,.5); }
.section-dark .svc-feature .feature-icon  { background: rgba(214,40,40,.15); }
