/* LA Squash Academy — site styles
   Brand: black + logo yellow, warm court-maple neutrals, court-line red used sparingly. */

:root {
  --ink: #0d0d0d;
  --ink-2: #1c1c1c;
  --paper: #f4f7fa;
  --paper-2: #e3edf6;
  --blue: #7bb0d5;
  --blue-deep: #2c6a96;
  --blue-pale: #cdd7e0;
  --white: #ffffff;
  --yellow: #ffe81f;
  --yellow-deep: #f5d800;
  --red: #b3202c;
  --muted: #4f5d6a;
  --muted-on-dark: #b3bfcb;
  --line: #d3dee8;
  --line-dark: #2e2e2e;

  --font-display: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 120px);
  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-stretch: 78%;
  font-weight: 800;
  line-height: .98;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(3rem, 8.5vw, 7.25rem); }
h2 { font-size: clamp(2.3rem, 5.5vw, 4.5rem); }
h3 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); line-height: 1.05; }
h4 { font-size: 1.15rem; line-height: 1.15; }
:focus-visible { outline: 3px solid var(--yellow-deep); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible { outline-color: var(--yellow); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section-tight { padding: calc(var(--section) * .6) 0; }
.dark { background: var(--ink); color: var(--white); }
.paper-2 { background: var(--paper-2); }
.yellow-bg { background: var(--yellow); color: var(--ink); }
.center { text-align: center; }
.muted { color: var(--muted); }
.dark .muted { color: var(--muted-on-dark); }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 60ch; }
.measure { max-width: 64ch; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--yellow); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* Eyebrow with the logo's two yellow balls */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 10px; flex: none;
  background:
    radial-gradient(circle at 5px 5px, var(--ink) 4.5px, transparent 5px),
    radial-gradient(circle at 17px 5px, var(--yellow-deep) 4.5px, transparent 5px);
}
.dark .eyebrow::before, .hero .eyebrow::before {
  background:
    radial-gradient(circle at 5px 5px, var(--yellow) 4.5px, transparent 5px),
    radial-gradient(circle at 17px 5px, var(--yellow) 4.5px, transparent 5px);
}
.yellow-bg .eyebrow::before {
  background:
    radial-gradient(circle at 5px 5px, var(--ink) 4.5px, transparent 5px),
    radial-gradient(circle at 17px 5px, var(--ink) 4.5px, transparent 5px);
}
.hl { background: linear-gradient(transparent 62%, var(--yellow) 62%, var(--yellow) 92%, transparent 92%); padding: 0 .06em; }
.dark .hl, .hero .hl { background: none; color: var(--yellow); padding: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .18s var(--ease-out), background-color .18s, color .18s, border-color .18s;
  touch-action: manipulation;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: var(--white); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-2); color: var(--yellow); }
.btn-outline { border-color: currentColor; color: inherit; background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.dark .btn-outline:hover, .hero .btn-outline:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.text-link {
  font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
  border-bottom: 2px solid var(--yellow-deep); padding-bottom: 2px;
}
.text-link:hover { border-bottom-color: var(--ink); }
.text-link svg { width: 18px; height: 18px; flex: none; transition: transform .2s var(--ease-out); }
.text-link:hover svg { transform: translateX(3px); }
.dark .text-link { border-bottom-color: var(--yellow); }
.dark .text-link:hover { border-bottom-color: var(--white); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244, 247, 250, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { width: 58px; height: auto; }
.brand span { font-family: var(--font-display); font-stretch: 78%; font-weight: 800; font-size: 1.2rem; line-height: 1; text-transform: uppercase; letter-spacing: .02em; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .97rem;
  transition: background-color .15s;
}
.nav-links a:hover { background: var(--paper-2); }
.nav-links a[aria-current="page"] { background: var(--ink); color: var(--white); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { min-height: 44px; padding: 0 20px; font-size: .95rem; }
.nav-cta .btn-yellow:hover { background: var(--ink); color: var(--yellow); }
.menu-toggle {
  display: none; width: 48px; height: 48px; border-radius: 12px; border: 0; background: var(--ink); color: var(--white);
  align-items: center; justify-content: center; cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; }
  .nav-cta .btn { display: none; }
  .nav-links {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px;
    max-height: calc(100dvh - 76px); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s var(--ease-out), visibility 0s .2s;
  }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; transition: opacity .2s, transform .25s var(--ease-out); }
  .nav-links a { padding: 14px 8px; font-size: 1.15rem; border-radius: 10px; border-bottom: 1px solid var(--line); }
  .nav-links li:last-child a { border-bottom: 0; }
  .nav-links .mobile-cta { margin-top: 14px; }
  .nav-links .mobile-cta a { background: var(--yellow); color: var(--ink); text-align: center; border-radius: 999px; border: 0; font-weight: 700; }
}
@media (min-width: 1081px) { .nav-links .mobile-cta { display: none; } }

/* Hero */
.hero {
  position: relative; color: var(--white); background: var(--ink); overflow: hidden;
  min-height: min(88dvh, 860px); display: flex; align-items: flex-end;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(13,13,13,.55) 0%, rgba(13,13,13,.15) 55%, rgba(13,13,13,0) 75%),
    linear-gradient(180deg, rgba(13,13,13,.35) 0%, rgba(13,13,13,.05) 30%, rgba(13,13,13,.55) 62%, rgba(13,13,13,.92) 100%);
}
.hero .wrap { position: relative; z-index: 1; padding-top: 120px; padding-bottom: clamp(40px, 7vw, 80px); }
.hero h1 { max-width: 12ch; margin-bottom: 22px; }
.hero .lede { color: #eef3f8; margin-bottom: 28px; }
.hero-note { margin-top: 18px; font-size: .95rem; color: #d5dee7; }
.hero .btn-outline { color: var(--white); }

.page-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 5vw, 64px); }
.page-hero h1 { font-size: clamp(2.9rem, 7.5vw, 6rem); max-width: 14ch; }
.page-hero-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: end; }
.page-hero-split .photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; max-height: 560px; }
.page-hero-split .photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .page-hero-split { grid-template-columns: 1fr; } .page-hero-split .photo { aspect-ratio: 4 / 3; } }

/* Stats strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
.stat { padding: 34px 24px 34px 0; border-right: 1px solid var(--line-dark); }
.stat + .stat { padding-left: 24px; }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--font-display); font-stretch: 78%; font-weight: 800; font-size: clamp(2.4rem, 4.5vw, 3.6rem); line-height: 1; color: var(--yellow); margin-bottom: 8px; }
.stat span { color: var(--muted-on-dark); font-size: .98rem; }
@media (max-width: 860px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 26px 16px 26px 0; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
}

/* Ticker */
.ticker { overflow: hidden; white-space: nowrap; padding: 18px 0; border-block: 2px solid var(--ink); }
.ticker.dark { border-color: var(--ink); }
.ticker-track { display: inline-flex; animation: ticker 38s linear infinite; }
.ticker-track span {
  font-family: var(--font-display); font-stretch: 78%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.4rem, 2.6vw, 2.1rem); letter-spacing: .01em; padding-right: .9em;
  display: inline-flex; align-items: center; gap: .9em;
}
.ticker-track span::after { content: ""; width: .45em; height: .45em; border-radius: 50%; background: currentColor; display: inline-block; }
.ticker.dark .ticker-track span::after { background: var(--yellow); }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Section headings */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(32px, 5vw, 56px); flex-wrap: wrap; }
.section-head h2 { margin: 0; max-width: 16ch; }
.section-head p { max-width: 46ch; margin: 0; }

/* Location cards */
.locations { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.loc-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); }
.loc-card .photo { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.loc-card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.loc-card:hover .photo img { transform: scale(1.03); }
.loc-card .tag {
  position: absolute; left: 16px; top: 16px; background: var(--yellow); color: var(--ink);
  font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px;
}
.loc-body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.loc-body h3 { margin: 0; font-size: clamp(2rem, 3.6vw, 2.8rem); }
.loc-meta { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; color: var(--muted); }
.loc-meta li { display: flex; gap: 10px; align-items: flex-start; }
.loc-meta svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--ink); }
.loc-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.chip {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1.5px solid var(--line); font-weight: 600; font-size: .92rem; text-decoration: none; transition: background-color .15s, border-color .15s;
}
.chip:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
@media (max-width: 860px) { .locations { grid-template-columns: 1fr; } }

/* Mission block */
.mission { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.mission h2 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); margin-bottom: 0; }
.mission blockquote { margin: 0 0 24px; font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; border-left: 4px solid var(--yellow-deep); padding-left: 20px; }
@media (max-width: 860px) { .mission { grid-template-columns: 1fr; } }

/* Numbered ways-to-play grid */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.way {
  position: relative; display: flex; flex-direction: column; gap: 10px; text-decoration: none;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 24px;
  min-height: 230px; transition: transform .25s var(--ease-out), border-color .2s, background-color .2s;
}
.way:hover { transform: translateY(-4px); border-color: var(--ink); }
.way .num { font-family: var(--font-display); font-stretch: 78%; font-weight: 800; font-size: 1rem; color: var(--muted); letter-spacing: .06em; }
.way h3 { margin: 4px 0 0; }
.way p { color: var(--muted); margin: 0; font-size: .98rem; }
.way .meta { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: .92rem; }
.way .arrow { width: 40px; height: 40px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; transition: background-color .2s; }
.way .arrow svg { width: 18px; height: 18px; }
.way:hover .arrow { background: var(--yellow); }
.way.feature { background: var(--ink); color: var(--white); border-color: var(--ink); }
.way.feature p, .way.feature .num { color: var(--muted-on-dark); }
.way.feature .arrow { background: var(--yellow); color: var(--ink); }
.way.feature:hover { background: var(--ink-2); }
@media (max-width: 960px) { .ways { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .ways { grid-template-columns: 1fr; } .way { min-height: 0; } }

/* Coaches */
.coach-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.coach-strip figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; position: relative; background: var(--ink-2); }
.coach-strip img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform .5s var(--ease-out); }
.coach-strip figure:hover img { transform: scale(1.04); }
@media (max-width: 960px) { .coach-strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .coach-strip { grid-template-columns: 1fr 1fr; } }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.coach-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.coach-card .photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink); position: relative; }
.coach-card .photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.coach-card .photo.mono { display: grid; place-items: center; }
.coach-card .photo.mono img { width: 46%; height: auto; object-fit: contain; opacity: .9; }
.coach-card .body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.coach-card h3 { margin: 0; }
.coach-card .role { font-weight: 700; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.coach-card p { color: var(--muted); font-size: .97rem; margin: 0; }
.coach-card .creds { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; padding: 0; list-style: none; }
.coach-card .creds li { background: var(--paper-2); border-radius: 999px; padding: 4px 11px; font-size: .8rem; font-weight: 600; }
.coach-card .mail { margin-top: auto; padding-top: 12px; }
@media (max-width: 960px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .team-grid { grid-template-columns: 1fr; } }

/* Pricing / programs */
.programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.program {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 26px;
  display: flex; flex-direction: column; gap: 16px; position: relative;
}
.program.dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.program .level { font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.program.dark .level { color: var(--muted-on-dark); }
.program h3 { margin: 0; font-size: clamp(1.8rem, 2.8vw, 2.3rem); }
.price-row { display: grid; gap: 0; border-top: 1px solid var(--line); }
.program.dark .price-row { border-color: var(--line-dark); }
.price-row div { display: flex; justify-content: space-between; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); }
.program.dark .price-row div { border-color: var(--line-dark); }
.price-row b { font-family: var(--font-display); font-stretch: 78%; font-size: 1.6rem; font-variant-numeric: tabular-nums; }
.program.dark .price-row b { color: var(--yellow); }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .97rem; }
.facts li { display: flex; gap: 10px; }
.facts svg { width: 18px; height: 18px; flex: none; margin-top: 4px; }
.program .btn { margin-top: auto; }
.badge {
  position: absolute; top: -13px; right: 22px; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 999px; background: var(--red); color: var(--white);
}
.badge.yellow { background: var(--yellow); color: var(--ink); }
@media (max-width: 960px) { .programs { grid-template-columns: 1fr; max-width: 560px; } }

/* Timetable */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
table.timetable { width: 100%; border-collapse: collapse; min-width: 640px; font-variant-numeric: tabular-nums; }
.timetable th, .timetable td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.timetable thead th { background: var(--ink); color: var(--white); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }
.timetable tbody th { font-family: var(--font-display); font-stretch: 78%; font-size: 1.15rem; white-space: nowrap; }
.timetable tr:last-child th, .timetable tr:last-child td { border-bottom: 0; }
.timetable td span { display: inline-block; background: var(--paper-2); border-radius: 8px; padding: 3px 9px; font-size: .9rem; font-weight: 600; margin: 2px 4px 2px 0; }
.timetable td.empty { color: #9eabb8; }

/* Split feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split .photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.split .photo img { width: 100%; height: 100%; object-fit: cover; }
.split .photo.wide { aspect-ratio: 4 / 3; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } .split .photo { aspect-ratio: 4 / 3; } }

.check-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d0d0d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Photo mosaic */
.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
.mosaic figure { margin: 0; border-radius: var(--radius); overflow: hidden; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic .a { grid-column: span 7; aspect-ratio: 4 / 3; }
.mosaic .b { grid-column: span 5; aspect-ratio: auto; }
.mosaic .c { grid-column: span 4; aspect-ratio: 3 / 4; }
.mosaic .d { grid-column: span 4; aspect-ratio: 3 / 4; }
.mosaic .e { grid-column: span 4; aspect-ratio: 3 / 4; }
@media (max-width: 760px) {
  .mosaic .a, .mosaic .b { grid-column: span 12; aspect-ratio: 4 / 3; }
  .mosaic .c, .mosaic .d, .mosaic .e { grid-column: span 6; }
  .mosaic .e { display: none; }
}

/* Cards (generic) */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 26px; display: flex; flex-direction: column; gap: 10px; }
.dark .card { background: var(--ink-2); border-color: var(--line-dark); }
.card .icon { width: 48px; height: 48px; border-radius: 12px; background: var(--yellow); color: var(--ink); display: grid; place-items: center; margin-bottom: 6px; }
.card .icon svg { width: 24px; height: 24px; }
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--muted); }
.dark .card p { color: var(--muted-on-dark); }
.card .btn, .card .text-link { margin-top: auto; align-self: flex-start; }
.cards.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr; } .cards.two { grid-template-columns: 1fr; } }

/* Callout / CTA band */
.cta-band { border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1.3fr .7fr; gap: 28px; align-items: end; position: relative; overflow: hidden; }
.cta-band h2 { margin: 0; font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
.cta-band .btn-row { justify-content: flex-end; }
.cta-band.yellow-bg .btn-outline:hover { background: var(--ink); color: var(--yellow); }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font-family: var(--font-display); font-stretch: 78%; font-weight: 800; font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.15;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%;
  background: var(--paper-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d0d0d' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .2s var(--ease-out), background-color .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--yellow); }
.faq details p { padding: 0 0 22px; margin: 0; color: var(--muted); max-width: 70ch; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-list li { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.contact-list .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: var(--yellow); display: grid; place-items: center; flex: none; }
.contact-list .icon svg { width: 20px; height: 20px; }
.contact-list small { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-list a { font-weight: 700; font-size: 1.1rem; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; text-decoration-color: var(--yellow-deep); text-decoration-thickness: 3px; }
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-weight: 700; font-size: .92rem; }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 10px;
  border: 1.5px solid #bfccd8; background: var(--paper); color: var(--ink); transition: border-color .15s, background-color .15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--white); box-shadow: 0 0 0 3px var(--yellow); }
.field .hint { font-size: .85rem; color: var(--muted); }
.field .error { font-size: .88rem; color: var(--red); font-weight: 600; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--red); }
.field.invalid .error { display: block; }
.form-status { display: none; padding: 14px 16px; border-radius: 10px; background: var(--paper-2); font-weight: 600; }
.form-status.show { display: block; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: var(--paper-2); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

.note {
  border: 1.5px dashed #a9bfd3; border-radius: var(--radius); padding: 16px 18px; background: rgba(255, 232, 31, .12); font-size: .95rem;
}

/* Footer */
.site-footer { background: var(--ink); color: var(--white); padding: clamp(56px, 7vw, 88px) 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 32px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer-brand img { width: 110px; margin-bottom: 18px; }
.footer-brand p { color: var(--muted-on-dark); max-width: 30ch; font-size: .97rem; }
.site-footer h4 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); margin-bottom: 14px; font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer ul a { text-decoration: none; color: #e2e9f0; font-size: .97rem; }
.site-footer ul a:hover { color: var(--yellow); }
.site-footer address { font-style: normal; color: #e2e9f0; font-size: .97rem; line-height: 1.55; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-dark); display: grid; place-items: center; transition: background-color .15s, border-color .15s, color .15s; }
.socials a:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.socials svg { width: 20px; height: 20px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; color: var(--muted-on-dark); font-size: .88rem; }
.footer-word {
  font-family: var(--font-display); font-stretch: 78%; font-weight: 800; text-transform: uppercase; line-height: .85;
  font-size: clamp(3.4rem, 13.5vw, 12.5rem); letter-spacing: -0.01em; color: var(--ink-2); margin: 40px 0 8px; user-select: none; white-space: nowrap; overflow: hidden;
}
.footer-word span { color: var(--yellow); }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.stack-lg > * + * { margin-top: clamp(40px, 6vw, 72px); }

/* Blue accents (from the academy's existing sky-blue brand color) */
.blue-bg { background: var(--blue); color: var(--ink); }
.blue-bg .muted { color: #1e3a52; }
.blue-bg .section-head a { color: var(--ink); font-weight: 700; }
.blue-bg .way { border-color: transparent; }
.blue-bg .way:hover { border-color: var(--ink); }
.blue-bg .eyebrow::before {
  background:
    radial-gradient(circle at 5px 5px, var(--ink) 4.5px, transparent 5px),
    radial-gradient(circle at 17px 5px, var(--yellow) 4.5px, transparent 5px);
}
.coach-card .role { color: var(--blue-deep); }
.timetable thead th { background: var(--blue-deep); }
.chip:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.nav-links a[aria-current="page"] { background: var(--blue-deep); }
.contact-list .icon { background: var(--blue-deep); color: var(--white); }
.loc-meta svg, .facts svg { color: var(--blue-deep); }
.program.dark .facts svg { color: var(--yellow); }
.socials a:hover { background: var(--blue); border-color: var(--blue); }
/* Membership tiers */
.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.tier { position: relative; background: var(--white); border-radius: var(--radius-lg); padding: clamp(26px, 3.5vw, 40px); display: flex; flex-direction: column; gap: 16px; }
.tier .level { font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-deep); }
.tier h3 { margin: 0; font-size: clamp(2rem, 3.6vw, 2.9rem); }
.tier-sub { margin: 0; color: var(--muted); }
.tier-prices { border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.tp-head, .tp-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 8px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.tp-head { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 10px 0; }
.tp-head span:not(:first-child), .tp-row b { text-align: right; }
.tp-row span { font-weight: 600; }
.tp-row b { font-family: var(--font-display); font-stretch: 78%; font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 1; }
.tp-row b::after { content: "/mo"; font-family: var(--font-body); font-stretch: 100%; font-size: .8rem; font-weight: 600; color: var(--muted); margin-left: 2px; }
.tier-plus { margin: 4px 0 0; font-weight: 700; }
.tier-list { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 10px; }
.tier-list li { display: flex; gap: 12px; align-items: flex-start; }
.tier-list li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%;
  background: var(--blue-pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d0d0d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.tier .btn { align-self: flex-start; margin-top: auto; }
.tier-feature { background: var(--ink); color: var(--white); }
.tier-feature .level { color: var(--yellow); }
.tier-feature .tier-sub, .tier-feature .tp-head, .tier-feature .tp-row b::after { color: var(--muted-on-dark); }
.tier-feature .tier-prices, .tier-feature .tp-head, .tier-feature .tp-row { border-color: var(--line-dark); }
.tier-feature .tp-row b { color: var(--yellow); }
.tier-feature .tier-list li::before { background-color: var(--yellow); }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } }

.timetable.compare { min-width: 560px; }
.timetable.compare td { font-variant-numeric: tabular-nums; }
.timetable.compare td svg { width: 20px; height: 20px; color: var(--blue-deep); }
.timetable.compare tbody th { font-family: var(--font-body); font-stretch: 100%; font-size: .98rem; font-weight: 600; white-space: normal; }
.timetable.compare th:nth-child(3), .timetable.compare td:nth-child(3) { background: rgba(123, 176, 213, .14); }
.timetable.compare thead th:nth-child(3) { background: var(--ink); color: var(--yellow); }
@media (min-width: 1081px) and (max-width: 1240px) { .nav-links a { padding: 10px 10px; font-size: .92rem; } }
/* Display type: Bebas Neue (single weight, all caps) */
h1, h2, h3, .price-row b, .tp-row b, .footer-word, .faq summary, .timetable tbody th, .way .num, .brand span {
  font-weight: 400; font-synthesis: none; letter-spacing: .015em; line-height: .95;
}
.timetable.compare tbody th { font-weight: 600; letter-spacing: 0; line-height: 1.4; }
h3 { line-height: 1; letter-spacing: .02em; }
.faq summary { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
.brand span { font-size: 1.35rem; }
.chip { min-height: 44px; }
/* At-a-glance cards overlapping the hero */
.hero .wrap { padding-bottom: calc(clamp(40px, 7vw, 80px) + 64px); }
.facts-bar { position: relative; z-index: 2; margin-top: -64px; }
.fact-cards {
  list-style: none; margin: 0; padding: 8px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  background: var(--white); border-radius: var(--radius-lg); box-shadow: 0 18px 40px -18px rgba(13, 30, 48, .35);
}
.fact-cards li { display: flex; gap: 14px; align-items: center; padding: 18px 16px; border-radius: var(--radius); }
.fact-cards li + li { box-shadow: -1px 0 0 var(--line); }
.fact-cards .fi { width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--blue-pale); color: var(--blue-deep); display: grid; place-items: center; }
.fact-cards .fi svg { width: 22px; height: 22px; }
.fact-cards b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; line-height: 1; letter-spacing: .02em; margin-bottom: 4px; }
.fact-cards span:not(.fi) { display: block; color: var(--muted); font-size: .95rem; line-height: 1.35; }
@media (max-width: 1000px) {
  .fact-cards { grid-template-columns: 1fr 1fr; }
  .fact-cards li + li { box-shadow: none; }
}
@media (max-width: 520px) {
  .fact-cards { grid-template-columns: 1fr; padding: 4px 8px; gap: 0; }
  .fact-cards li { padding: 14px 8px; }
  .fact-cards li + li { box-shadow: 0 -1px 0 var(--line); border-radius: 0; }
}

/* Location cards: wide split layout, one per row */
.locations { grid-template-columns: 1fr; gap: 24px; }
.loc-card { display: grid; grid-template-columns: 1.15fr 1fr; }
.loc-card .photo { aspect-ratio: auto; min-height: 360px; height: 100%; }
.loc-card:nth-child(even) .photo { order: 2; }
.loc-body { padding: clamp(26px, 4vw, 48px); justify-content: center; }
.loc-body h3 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); }
@media (max-width: 860px) {
  .loc-card { grid-template-columns: 1fr; }
  .loc-card .photo { min-height: 0; aspect-ratio: 16 / 10; }
  .loc-card:nth-child(even) .photo { order: 0; }
}
.loc-card .photo { position: relative; }
.loc-card .photo img { position: absolute; inset: 0; }
/* Hero: text in its own dark column so the team photo's faces stay visible */
.hero h1 { font-size: clamp(3.2rem, 6.2vw, 6rem); max-width: 9ch; }
@media (min-width: 1000px) {
  .hero-media { left: 40%; }
  .hero-media img { object-position: 60% 35%; }
  .hero::after {
    background:
      linear-gradient(90deg, var(--ink) 0%, var(--ink) 40%, rgba(13,13,13,.75) 44%, rgba(13,13,13,0) 54%),
      linear-gradient(180deg, rgba(13,13,13,0) 70%, rgba(13,13,13,.55) 100%);
  }
  .hero .wrap > * { max-width: min(500px, 36vw); }
}
@media (max-width: 999px) {
  .hero { display: block; min-height: 0; }
  .hero-media { position: relative; aspect-ratio: 4 / 3; }
  .hero-media img { object-position: center 30%; }
  .hero::after { display: none; }
  .hero .wrap { padding-top: 32px; }
}
/* Hero v2: two-column grid; photo keeps its full 4:3 frame so no one is cropped */
@media (min-width: 1000px) {
  .hero { display: grid; grid-template-columns: minmax(0, 40fr) minmax(0, 60fr); min-height: 0; align-items: center; }
  .hero::after { display: none; }
  .hero-media { position: relative; inset: auto; grid-column: 2; grid-row: 1; aspect-ratio: 4 / 3; }
  .hero-media img { object-position: center; }
  .hero-media::before {
    content: ""; position: absolute; inset: 0 auto 0 0; width: 14%; z-index: 1;
    background: linear-gradient(90deg, var(--ink), rgba(13,13,13,0));
  }
  .hero .wrap {
    grid-column: 1; grid-row: 1; max-width: none; margin: 0;
    padding: 56px 24px calc(56px + 64px) max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  }
  .hero .wrap > * { max-width: 520px; }
}
/* Hero v3: on wide monitors keep the text column a steady width (aligned to the page grid)
   and let the headline sit on two lines: "Squash for / all of LA" */
@media (min-width: 1000px) {
  /* Even 50/50 split: text block centred in the left half, photo fills the right half (full 4:3, uncropped) */
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 0; }
  .hero .wrap {
    justify-self: center; width: 100%; max-width: 640px;
    padding: 56px clamp(32px, 4vw, 72px) calc(56px + 64px);
  }
  .hero-media { margin: 0; border-radius: 0; max-height: none; aspect-ratio: 4 / 3; }
  .hero-media::before { display: none; }
  .hero-media img { object-position: center; }
  .hero .wrap > * { max-width: 560px; }
  .hero h1 { font-size: clamp(3.4rem, 5.4vw, 6.6rem); max-width: none; }
}
@media (max-width: 999px) { .hero-br { display: none; } }

/* Hero v5: club video as a full-width background. A dark fade on the left keeps the
   headline readable; the players in the video stay mostly in the middle and right. */
.hero-media video { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 999px) { .hero-media { aspect-ratio: 16 / 9; } }
@media (min-width: 1000px) {
  .hero { display: block; position: relative; overflow: hidden; padding: 0; min-height: min(88vh, 900px); }
  .hero::before, .hero::after { display: none; }
  /* Video starts 30% in from the left so people in it stay to the right of the headline */
  .hero { background: var(--ink); }
  .hero-media {
    position: absolute; inset: 0; width: 100%; height: 100%;
    aspect-ratio: auto; margin: 0; max-height: none; border-radius: 0; z-index: 0;
  }
  .hero-media::before {
    display: block; content: ""; position: absolute; inset: 0; width: auto; z-index: 1;
    background:
      linear-gradient(90deg, rgba(13,13,13,.78) 0%, rgba(13,13,13,.55) 35%, rgba(13,13,13,.15) 65%, rgba(13,13,13,0) 85%),
      linear-gradient(180deg, rgba(13,13,13,.35) 0%, rgba(13,13,13,0) 22%, rgba(13,13,13,0) 68%, rgba(13,13,13,.6) 100%);
  }
  .hero .wrap {
    position: relative; z-index: 2; width: 100%; max-width: var(--wrap); margin: 0 auto;
    padding: 120px var(--gutter) calc(80px + 64px);
  }
  .hero .wrap > * { max-width: 540px; }
  .hero h1, .hero .lede { text-shadow: 0 2px 18px rgba(0,0,0,.35); }
  .hero h1 { font-size: clamp(3.4rem, 5.4vw, 6.6rem); }
}

/* Info cards: two columns on mid-size screens */
@media (min-width: 521px) and (max-width: 1100px) {
  .fact-cards { grid-template-columns: 1fr 1fr; }
  .fact-cards li + li { box-shadow: none; }
}

/* ---------- Schedule page ---------- */
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 0; font-size: .95rem; font-weight: 600; }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend li::before { content: ""; width: 14px; height: 14px; border-radius: 4px; background: var(--dot); }
.legend .jr { --dot: var(--blue-deep); }
.legend .ad { --dot: var(--yellow-deep); }
.legend .mx { --dot: var(--ink); }
.club-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 24px; }
.club-head h2 { margin: 0; }
.club-head p { margin: 0; }

/* Timetable grid: times down the side, days across, blocks sized by length */
.tt-pair { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.tt-board { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 18px; min-width: 0; }
.tt-title { margin: 0 0 12px; font-size: 1.5rem; }
.tt-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tt {
  --slot: 46px; --head: 34px;
  display: grid; grid-template-columns: 58px var(--cols);
}
.tt-times { display: grid; grid-template-rows: repeat(var(--rows), var(--slot)); padding-top: var(--head); }
.tt-times span { font-size: .78rem; font-weight: 700; color: var(--muted); transform: translateY(-.6em); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tt-day { border-left: 1px solid var(--line); min-width: 0; }
.tt-day h4 {
  height: var(--head); margin: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; letter-spacing: .04em; background: var(--blue-deep); color: var(--white);
}
.tt-col {
  display: grid; grid-template-rows: repeat(var(--rows), var(--slot)); grid-template-columns: repeat(var(--lanes, 1), minmax(0, 1fr));
  gap: 0 3px; padding: 0 3px;
  background-image: repeating-linear-gradient(180deg, var(--line) 0 1px, transparent 1px var(--slot));
}
.tt-s {
  margin: 2px 0; padding: 6px 7px; border-radius: 7px; border-left: 4px solid var(--dot); background: var(--tint);
  color: var(--ink); text-decoration: none; line-height: 1.2; overflow: hidden; min-width: 0;
  transition: transform .15s var(--ease-out), box-shadow .15s;
}
.tt-s:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(13,13,13,.12); }
.tt-s time { display: block; font-size: .72rem; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.tt-s b { display: block; font-size: .86rem; }
.tt-s small { display: block; font-size: .72rem; color: var(--muted); margin-top: 2px; }
.tt-s.jr { --dot: var(--blue-deep); --tint: #e1ecf6; }
.tt-s.ad { --dot: var(--yellow-deep); --tint: #fff6c4; }
.tt-s.mx { --dot: var(--ink); --tint: #e9eaec; }
.tt-none { grid-row: 1 / -1; grid-column: 1 / -1; align-self: center; text-align: center; color: var(--muted); font-size: .85rem; margin: 0; }

/* Simple data table (open play, squad times) */
.timetable.plain { min-width: 620px; }
.timetable.plain tbody th { font-family: var(--font-body); font-stretch: 100%; font-size: 1rem; font-weight: 700; letter-spacing: 0; white-space: normal; }
.price-note { font-size: .92rem; color: var(--muted); margin: 0; }

/* Timetable on small screens: time column stays put while swiping across days */
.tt-times { position: sticky; left: 0; z-index: 2; background: var(--white); }
@media (max-width: 760px) {
  .tt-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
  .tt-title::after { content: "Swipe for more days \2192"; font-family: var(--font-body); font-size: .8rem; font-weight: 600; letter-spacing: 0; color: var(--muted); }
}

/* ---------- Simplified nav: 5 items, Programs and About open small menus ---------- */
.nav-links .has-sub { position: relative; }
.sub-toggle {
  display: flex; align-items: center; gap: 6px; padding: 10px 14px; border: 0; border-radius: 999px;
  background: none; color: inherit; font: inherit; font-weight: 600; font-size: .97rem; cursor: pointer;
  transition: background-color .15s;
}
.sub-toggle svg { width: 14px; height: 14px; transition: transform .2s var(--ease-out); }
.sub-toggle:hover, .has-sub.open > .sub-toggle { background: var(--paper-2); }
.sub-toggle.current { background: var(--blue-deep); color: var(--white); }
.sub { list-style: none; margin: 0; padding: 0; }
.sub a b { display: block; font-weight: 700; }
.sub a span { display: block; font-size: .84rem; font-weight: 400; color: var(--muted); margin-top: 1px; }
@media (min-width: 1081px) {
  .nav-links { gap: 6px; }
  .nav-links a, .sub-toggle { padding: 10px 16px; font-size: 1rem; }
  .sub {
    position: absolute; top: calc(100% + 10px); left: 50%; min-width: 240px; padding: 8px;
    background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px rgba(13,13,13,.12);
    opacity: 0; visibility: hidden; transform: translate(-50%, 6px);
    transition: opacity .15s, transform .15s var(--ease-out), visibility 0s .15s;
  }
  .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.open > .sub {
    opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .15s, transform .15s var(--ease-out);
  }
  .has-sub:hover > .sub-toggle svg, .has-sub.open > .sub-toggle svg { transform: rotate(180deg); }
  .nav-links .sub a { border-radius: 10px; padding: 10px 12px; font-size: .97rem; }
  .nav-links .sub a:hover { background: var(--paper); }
  .nav-links .sub a[aria-current="page"] { background: var(--paper-2); color: var(--ink); }
}
@media (max-width: 1080px) {
  .sub-toggle {
    width: 100%; padding: 18px 8px 6px; border-radius: 0; pointer-events: none;
    font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  }
  .sub-toggle.current, .sub-toggle:hover { background: none; color: var(--muted); }
  .sub-toggle svg, .sub a span { display: none; }
  .sub a b { font-weight: 600; }
  .nav-links .has-sub:first-child .sub-toggle { padding-top: 6px; }
}

/* Price labels: say what the price covers and who pays it */
.price-label { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; margin: 4px 0 -6px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.price-tag { display: inline-block; padding: 3px 9px; border-radius: 999px; background: var(--paper-2); color: var(--blue-deep); font-size: .72rem; letter-spacing: .02em; text-transform: none; }
.price-tag.green { background: #e3f4e8; color: #1f6b3a; }
.program.dark .price-label { color: var(--muted-on-dark); }
.program.dark .price-tag { background: rgba(255,255,255,.12); color: var(--yellow); }
