/* Fort Gatlin Tennis Center — global styles */

:root {
  --purple-50: #f6f2fd;
  --purple-100: #ece4fa;
  --purple-300: #b9a0e6;
  --purple-500: #7e54c6;
  --purple-600: #6a42b3;
  --purple-700: #553393;
  --purple-900: #241640;
  --ink: #17121f;
  --text: #2e2838;
  --muted: #6b6476;
  --line: #e7e2ee;
  --bg: #ffffff;
  --bg-soft: #f8f6fb;
  --ball: #d9f24a;

  --font-heading: "League Spartan", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --max-width: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(23, 18, 31, .06), 0 2px 8px rgba(23, 18, 31, .04);
  --shadow-md: 0 10px 30px -10px rgba(36, 22, 64, .25);
  --shadow-lg: 0 30px 60px -20px rgba(36, 22, 64, .35);
  --header-h: 76px;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
}

p { margin: 0 0 1em; }

a { color: var(--purple-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--purple-700); }

:focus-visible { outline: 3px solid var(--purple-300); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: 600 16px/1 var(--font-body);
  padding: 16px 26px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--purple-500); color: #fff; box-shadow: 0 10px 24px -8px rgba(126, 84, 198, .7); }
.btn-primary:hover { background: var(--purple-600); color: #fff; }

.btn-light { background: #fff; color: var(--purple-700); }
.btn-light:hover { background: var(--purple-50); color: var(--purple-700); }

.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .55); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .18); color: #fff; border-color: #fff; }

.btn-outline { color: var(--purple-600); border-color: var(--purple-300); background: transparent; }
.btn-outline:hover { background: var(--purple-50); color: var(--purple-700); border-color: var(--purple-500); }

/* ---------- Header ---------- */

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .3s ease, box-shadow .3s ease;
}
.site-header .container { display: flex; align-items: center; gap: 24px; }

.site-header.is-solid,
.site-header.is-open { background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; margin-right: auto; }
.brand:hover { color: inherit; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font: 700 22px/1 var(--font-heading); letter-spacing: .01em; }
.brand-sub { font: 600 10.5px/1 var(--font-body); letter-spacing: .22em; text-transform: uppercase; opacity: .8; margin-top: 5px; }
.is-solid .brand, .is-open .brand { color: var(--ink); }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 10px 14px; border-radius: 999px;
  font-weight: 500; font-size: 15.5px; color: rgba(255, 255, 255, .92); text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.nav-links a:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.nav-links a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .16); }
.is-solid .nav-links a, .is-open .nav-links a { color: var(--text); }
.is-solid .nav-links a:hover, .is-open .nav-links a:hover { background: var(--purple-50); color: var(--purple-700); }
.is-solid .nav-links a[aria-current="page"], .is-open .nav-links a[aria-current="page"] { color: var(--purple-600); background: var(--purple-50); }

.header-cta { padding: 12px 20px; font-size: 15px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 0;
  background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer;
  align-items: center; justify-content: center;
}
.is-solid .nav-toggle, .is-open .nav-toggle { background: var(--purple-50); color: var(--purple-700); }
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.is-open .nav-toggle .icon-open { display: none; }
.is-open .nav-toggle .icon-close { display: block; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto; background: #fff;
    padding: 12px var(--gutter) 24px; box-shadow: 0 20px 30px -20px rgba(36, 22, 64, .3);
    display: none;
  }
  .is-open .site-nav { display: block; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-links a { color: var(--text); font-size: 18px; padding: 14px 16px; border-radius: 12px; }
  .site-nav .btn { display: flex; width: 100%; margin-top: 12px; }
}
@media (min-width: 1081px) { .site-nav .nav-mobile-cta { display: none; } }

/* ---------- Hero ---------- */

.hero {
  position: relative; min-height: min(100svh, 920px); display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; isolation: isolate;
  background: var(--purple-900) url("/assets/img/hero-poster.jpg") center / cover no-repeat;
}
.hero-video { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.hero-video iframe {
  position: absolute; top: 50%; left: 50%; border: 0; max-width: none;
  width: max(100vw, 177.78svh); height: max(56.25vw, 100svh);
  transform: translate(-50%, -50%);
  opacity: 0; transition: opacity 1.2s ease;
}
.hero-video iframe.is-ready { opacity: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(23, 18, 31, .55) 0%, rgba(23, 18, 31, 0) 28%),
    linear-gradient(90deg, rgba(36, 22, 64, .9) 0%, rgba(85, 51, 147, .55) 50%, rgba(23, 18, 31, .1) 100%),
    linear-gradient(0deg, rgba(23, 18, 31, .6) 0%, rgba(23, 18, 31, 0) 40%);
}
.hero-content { padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(64px, 10vw, 120px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 13px/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase;
  color: var(--purple-600); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.hero .eyebrow { color: var(--ball); }
.hero h1 {
  color: #fff; font-size: clamp(44px, 7.4vw, 96px); font-weight: 700;
  max-width: 14ch; margin-bottom: 22px; letter-spacing: -.02em; line-height: .98;
}
.hero h1 em { font-style: normal; color: var(--ball); }
.hero-lede { font-size: clamp(18px, 1.6vw, 21px); max-width: 34em; color: rgba(255, 255, 255, .88); margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Highlights strip ---------- */

.highlights { background: var(--ink); color: #fff; }
.highlights ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.highlights li { padding: 30px 24px; border-left: 1px solid rgba(255, 255, 255, .1); }
.highlights li:first-child { border-left: 0; padding-left: 0; }
.highlights strong { display: block; font: 700 22px/1.1 var(--font-heading); color: #fff; margin-bottom: 6px; }
.highlights span { font-size: 14.5px; color: rgba(255, 255, 255, .65); line-height: 1.45; display: block; }
@media (max-width: 860px) {
  .highlights ul { grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .highlights li, .highlights li:first-child { padding: 24px 0; border-left: 0; }
  .highlights li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
}

/* ---------- Sections ---------- */

.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(36px, 5vw, 60px); }
.section-head p { font-size: 18.5px; color: var(--muted); margin: 0; }

/* ---------- About ---------- */

.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.about-media { position: relative; }
.about-media .photo-main { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.4; object-fit: cover; width: 100%; }
.about-media .photo-inset {
  position: absolute; width: 40%; right: -5%; bottom: -12%;
  border-radius: 14px; border: 6px solid #fff; box-shadow: var(--shadow-md);
  aspect-ratio: 3 / 4; object-fit: cover;
}
.about-badge {
  position: absolute; left: -18px; top: 28px;
  background: var(--purple-500); color: #fff; border-radius: 14px; padding: 16px 20px;
  box-shadow: var(--shadow-md); max-width: 220px;
}
.about-badge strong { display: block; font: 700 30px/1 var(--font-heading); }
.about-badge span { font-size: 13.5px; line-height: 1.35; display: block; margin-top: 6px; opacity: .92; }
.about-copy h2 { font-size: clamp(36px, 4.6vw, 56px); }
.about-copy .lead { font-size: 19.5px; color: var(--ink); }
.about-copy strong { color: var(--ink); font-weight: 600; }
.about-copy .signoff { font: 600 22px/1.3 var(--font-heading); color: var(--purple-600); margin: 28px 0 0; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-media { margin: 0 6% 48px 0; }
  .about-badge { left: -8px; top: 16px; }
}

/* ---------- Program cards ---------- */

.program-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.program-card {
  position: relative; display: flex; align-items: flex-end; min-height: 440px;
  border-radius: var(--radius); overflow: hidden; isolation: isolate;
  color: #fff; text-decoration: none; box-shadow: var(--shadow-md);
}
.program-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s ease; }
.program-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(23, 18, 31, .92) 0%, rgba(36, 22, 64, .45) 50%, rgba(23, 18, 31, 0) 75%); }
.program-card:hover img { transform: scale(1.06); }
.program-card:hover { color: #fff; }
.program-card-body { padding: 28px; }
.program-card .tag { display: inline-block; font: 700 12px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); background: var(--ball); padding: 7px 11px; border-radius: 999px; margin-bottom: 14px; }
.program-card h3 { color: #fff; font-size: 32px; margin-bottom: 8px; }
.program-card p { color: rgba(255, 255, 255, .82); font-size: 16px; margin: 0 0 16px; }
.program-card .go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.program-card .go svg { width: 18px; height: 18px; transition: transform .25s ease; }
.program-card:hover .go svg { transform: translateX(4px); }
@media (max-width: 960px) { .program-cards { grid-template-columns: 1fr; } .program-card { min-height: 360px; } }

/* ---------- Pricing ---------- */

.offer-banner {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: var(--ink); color: #fff; border-radius: var(--radius); padding: 18px 24px; margin-bottom: 24px;
}
.offer-banner .tag { white-space: nowrap; background: var(--ball); color: var(--ink); font-weight: 700; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; }
.offer-banner p { margin: 0; font-size: 17px; }
.offer-banner strong { color: var(--ball); }

.price-layout { display: grid; grid-template-columns: 1fr 1.7fr; gap: 24px; align-items: start; }
.price-card { background: #fff; border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.price-card h3 { font-size: 28px; margin: 0 0 6px; }
.price-card .note { font-size: 14.5px; color: var(--muted); margin: 0 0 18px; }
.price-card.featured { background: linear-gradient(160deg, var(--purple-600), var(--purple-900)); color: #fff; border: 0; box-shadow: var(--shadow-lg); }
.price-card.featured h3 { color: #fff; }
.price-card.featured .note { color: rgba(255, 255, 255, .72); }

.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.featured .price-list li { border-color: rgba(255, 255, 255, .14); }
.price-list .name { font-weight: 600; color: var(--ink); display: block; line-height: 1.35; }
.featured .price-list .name { color: #fff; }
.price-list .when { font-size: 14.5px; color: var(--muted); display: block; margin-top: 3px; }
.featured .price-list .when { color: rgba(255, 255, 255, .72); }
.price-list .price { font: 700 24px/1 var(--font-heading); color: var(--purple-600); white-space: nowrap; padding-top: 2px; }
.featured .price-list .price { color: var(--ball); }
.price-list .price small { font: 500 14px var(--font-body); color: var(--muted); }
.featured .price-list .price small { color: rgba(255, 255, 255, .65); }

.programs-cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: 36px; }
.group-label {
  font: 700 12px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--purple-600); margin: 8px 0 6px; display: flex; align-items: center; gap: 8px;
}
.group-label .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.group-label.junior { color: #2f8f5b; }
.featured .group-label { color: var(--ball); }
.featured .group-label.junior { color: #8fe3b4; }

.price-card .btn { margin-top: 22px; width: 100%; }

@media (max-width: 960px) { .price-layout { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .programs-cols { grid-template-columns: 1fr; } }

/* ---------- Adaptive band ---------- */

.band {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--purple-600); color: #fff; border-radius: 24px;
  padding: clamp(32px, 6vw, 72px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
}
.band::before, .band::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .14);
}
.band::before { width: 520px; height: 520px; right: -160px; top: -200px; }
.band::after { width: 320px; height: 320px; right: 40px; bottom: -220px; border-color: rgba(217, 242, 74, .35); }
.band .eyebrow { color: var(--ball); }
.band h2 { color: #fff; font-size: clamp(32px, 4.2vw, 50px); }
.band p { color: rgba(255, 255, 255, .88); font-size: 18px; margin: 0; }
.band-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.band-list li {
  display: flex; align-items: center; gap: 14px; background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 14px; padding: 16px 18px; font-weight: 500;
}
.band-list svg { width: 22px; height: 22px; color: var(--ball); flex: none; }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */

.gallery {
  display: grid; gap: 14px;
  grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px;
}
.gallery figure { margin: 0; overflow: hidden; border-radius: 14px; background: var(--purple-100); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }
@media (max-width: 860px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; gap: 10px; }
}

.insta-row { display: flex; justify-content: center; margin-top: 36px; }

/* ---------- Get started cards ---------- */

.start-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.start-card {
  display: flex; flex-direction: column; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; text-decoration: none; color: var(--text);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.start-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--purple-300); color: var(--text); }
.start-card h3 { font-size: 26px; margin: 8px 0 0; }
.start-card p { margin: 0; color: var(--muted); font-size: 16px; }
.start-card .num { font: 700 14px/1 var(--font-body); color: var(--purple-500); letter-spacing: .1em; }
.start-card .go {
  margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--purple-600);
}
.start-card .go svg { width: 18px; height: 18px; transition: transform .25s ease; }
.start-card:hover .go svg { transform: translateX(4px); }
@media (max-width: 860px) { .start-grid { grid-template-columns: 1fr; } }

/* ---------- Visit + weather ---------- */

.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.visit-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: clamp(24px, 3vw, 36px); }
.visit-card h3 { font-size: 30px; }
.contact-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ic {
  width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center;
  background: var(--purple-50); color: var(--purple-600);
}
.contact-list .ic svg { width: 20px; height: 20px; }
.contact-list .label { display: block; font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.contact-list a, .contact-list address { font-style: normal; font-size: 17px; color: var(--ink); text-decoration: none; font-weight: 500; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--purple-600); }
.visit-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.map {
  margin-top: 28px; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10;
  background: var(--purple-50); border: 1px solid var(--line);
}
.map iframe { width: 100%; height: 100%; border: 0; }

.weather {
  background: radial-gradient(120% 90% at 100% 0%, var(--purple-600) 0%, var(--purple-900) 60%, var(--ink) 100%);
  color: #fff; border: 0; display: flex; flex-direction: column;
}
.weather h3 { color: #fff; }
.weather-sub { color: rgba(255, 255, 255, .7); font-size: 15px; margin: -6px 0 24px; }
.weather-now { display: flex; align-items: center; gap: 22px; margin-bottom: 22px; }
.weather-now .wx-icon { width: 76px; height: 76px; color: var(--ball); flex: none; }
.weather-temp { font: 700 68px/1 var(--font-heading); letter-spacing: -.02em; }
.weather-cond { font-size: 18px; color: rgba(255, 255, 255, .85); }
.weather-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.chip { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; padding: 8px 14px; font-size: 14.5px; }
.chip svg { width: 16px; height: 16px; color: var(--ball); }
.court-status { display: flex; align-items: center; gap: 10px; font-weight: 600; margin-bottom: 24px; }
.court-status .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ball); box-shadow: 0 0 0 4px rgba(217, 242, 74, .2); flex: none; }
.court-status.warn .dot { background: #ffb547; box-shadow: 0 0 0 4px rgba(255, 181, 71, .2); }
.forecast { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.forecast li { background: rgba(255, 255, 255, .07); border-radius: 12px; padding: 14px 4px; text-align: center; font-size: 14px; }
.forecast .d { font-weight: 600; color: rgba(255, 255, 255, .8); }
.forecast svg { width: 28px; height: 28px; margin: 8px auto; color: #fff; }
.forecast .hi { font-weight: 700; }
.forecast .lo { color: rgba(255, 255, 255, .55); margin-left: 4px; }
.weather-fallback { color: rgba(255, 255, 255, .75); }
@media (max-width: 900px) { .visit-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) {
  .forecast { gap: 5px; }
  .forecast li { padding: 12px 2px; font-size: 13px; }
  .forecast .lo { display: block; margin: 0; }
  .weather-temp { font-size: 56px; }
}

/* ---------- CTA + footer ---------- */

.final-cta { text-align: center; }
.final-cta h2 { font-size: clamp(38px, 6vw, 72px); max-width: 14ch; margin: 0 auto 18px; }
.final-cta p { font-size: 19px; color: var(--muted); max-width: 36em; margin: 0 auto 32px; }
.final-cta .hero-actions { justify-content: center; }

.site-footer { background: var(--ink); color: rgba(255, 255, 255, .7); padding: 64px 0 32px; font-size: 15px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer h4 { color: #fff; font: 600 13px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: 14px; color: rgba(255, 255, 255, .5); }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); }
.social a:hover { background: var(--purple-500); }
.social svg { width: 20px; height: 20px; }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Simple pages (404) ---------- */

.placeholder { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: var(--gutter); }
.placeholder h1 { font-size: clamp(40px, 6vw, 64px); }

/* =========================================================
   Inner pages
   ========================================================= */

.page-hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  min-height: min(72svh, 640px); display: flex; align-items: flex-end;
  background: var(--purple-900);
}
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(23, 18, 31, .6) 0%, rgba(23, 18, 31, 0) 30%),
    linear-gradient(90deg, rgba(36, 22, 64, .92) 0%, rgba(85, 51, 147, .6) 55%, rgba(23, 18, 31, .2) 100%);
}
.page-hero .container { padding-top: calc(var(--header-h) + 56px); padding-bottom: clamp(48px, 7vw, 88px); }
.page-hero .eyebrow { color: var(--ball); }
.page-hero h1 { color: #fff; font-size: clamp(42px, 6.4vw, 84px); max-width: 13ch; line-height: .98; letter-spacing: -.02em; margin-bottom: 18px; }
.page-hero p.lede { font-size: clamp(17px, 1.5vw, 20px); color: rgba(255, 255, 255, .88); max-width: 36em; margin-bottom: 28px; }
.hero-note { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 15px; color: rgba(255, 255, 255, .85); }
.hero-note .tag { white-space: nowrap; background: var(--ball); color: var(--ink); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }

/* Sticky day jump bar */
.day-nav {
  position: sticky; top: var(--header-h); z-index: 40;
  background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.day-nav ul { list-style: none; margin: 0; padding: 12px 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.day-nav ul::-webkit-scrollbar { display: none; }
.day-nav a {
  display: block; white-space: nowrap; padding: 9px 16px; border-radius: 999px;
  font-weight: 600; font-size: 15px; color: var(--text); text-decoration: none;
  background: var(--bg-soft); border: 1px solid var(--line); transition: background-color .2s, color .2s, border-color .2s;
}
.day-nav a:hover { border-color: var(--purple-300); color: var(--purple-700); }
.day-nav a.is-active { background: var(--purple-500); border-color: var(--purple-500); color: #fff; }

/* Week at a glance */
.schedule {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.schedule table { width: 100%; border-collapse: collapse; font-size: 16px; }
.schedule th, .schedule td { text-align: left; padding: 16px 22px; border-top: 1px solid var(--line); vertical-align: top; }
.schedule thead th { border-top: 0; background: var(--bg-soft); font: 600 12.5px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.schedule .day { font: 700 18px/1.2 var(--font-heading); color: var(--ink); white-space: nowrap; }
.schedule .prog a { font-weight: 600; color: var(--ink); text-decoration: none; }
.schedule .prog a:hover { color: var(--purple-600); }
.schedule .lvl { color: var(--muted); }
.schedule .price { font: 700 20px/1 var(--font-heading); color: var(--purple-600); text-align: right; white-space: nowrap; }
.schedule tbody tr:hover { background: var(--purple-50); }
@media (max-width: 720px) {
  .schedule thead { display: none; }
  .schedule tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 16px 18px; border-top: 1px solid var(--line); }
  .schedule tbody tr:first-child { border-top: 0; }
  .schedule th, .schedule td { padding: 0; border: 0; }
  .schedule .day { grid-column: 1; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--purple-600); font-family: var(--font-body); }
  .schedule .prog { grid-column: 1; }
  .schedule .time, .schedule .lvl { grid-column: 1; font-size: 14.5px; color: var(--muted); }
  .schedule .price { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
}

/* Day groups + program rows */
.day-group { padding-top: clamp(56px, 7vw, 96px); }
.day-group:first-child { padding-top: 0; }
.day-label {
  display: flex; align-items: center; gap: 18px; margin-bottom: clamp(28px, 4vw, 44px);
  font: 700 clamp(38px, 5vw, 58px)/1 var(--font-heading); color: var(--ink); letter-spacing: -.02em;
}
.day-label::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, var(--purple-300), transparent); }

.program-row { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.program-row + .program-row { margin-top: clamp(56px, 7vw, 88px); }
.program-row.flip .program-media { order: 2; }
.program-media { position: relative; }
.program-media img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.program-media .price-badge {
  position: absolute; right: 18px; bottom: 18px;
  background: #fff; color: var(--ink); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-md); text-align: center; line-height: 1;
}
.price-badge strong { display: block; font: 700 30px/1 var(--font-heading); color: var(--purple-600); }
.price-badge span { font-size: 12px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.program-body h3 { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 14px; }
.program-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.meta-chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px;
  background: var(--purple-50); color: var(--purple-700); font-size: 14px; font-weight: 600;
}
.meta-chip svg { width: 15px; height: 15px; }
.meta-chip.alt { background: #eefbe0; color: #3f6b12; }
.program-body p { color: var(--text); }
.program-body .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.feature-list { list-style: none; margin: 4px 0 18px; padding: 0; display: grid; gap: 10px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; }
.feature-list svg { width: 20px; height: 20px; color: var(--purple-500); flex: none; margin-top: 3px; }
.list-title { font-weight: 700; color: var(--ink); margin: 18px 0 10px; }

.points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 6px 0 20px; }
.points div { background: var(--ink); color: #fff; border-radius: 14px; padding: 14px 10px; text-align: center; }
.points strong { display: block; font: 700 30px/1 var(--font-heading); color: var(--ball); }
.points span { display: block; font-size: 13px; line-height: 1.3; margin-top: 6px; color: rgba(255, 255, 255, .78); }

.callout {
  display: flex; gap: 12px; align-items: flex-start; background: #fff7e6; border: 1px solid #ffe2a8;
  color: #6b4a00; border-radius: 12px; padding: 14px 16px; font-size: 15.5px; margin-bottom: 18px;
}
.callout svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }

.sub-program { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.sub-program h4 { font-size: 26px; margin-bottom: 12px; }

@media (max-width: 900px) {
  .program-row { grid-template-columns: 1fr; }
  .program-row.flip .program-media { order: 0; }
  .points { grid-template-columns: repeat(2, 1fr); }
}

/* Offer band (inner pages) */
.offer-cta {
  display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center;
  background: linear-gradient(135deg, var(--purple-600), var(--purple-900)); color: #fff;
  border-radius: 24px; padding: clamp(32px, 5vw, 60px); position: relative; overflow: hidden; isolation: isolate;
}
.offer-cta::after { content: ""; position: absolute; z-index: -1; width: 380px; height: 380px; right: -120px; top: -160px; border-radius: 50%; border: 2px solid rgba(217, 242, 74, .35); }
.offer-cta h2 { color: #fff; font-size: clamp(32px, 4.4vw, 52px); margin-bottom: 12px; }
.offer-cta h2 em { font-style: normal; color: var(--ball); }
.offer-cta p { color: rgba(255, 255, 255, .85); font-size: 18px; margin: 0; }
.offer-cta .actions { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 800px) { .offer-cta { grid-template-columns: 1fr; } .offer-cta .actions { flex-direction: row; flex-wrap: wrap; } }
.see-all { display: inline-block; margin: 6px 0 18px; font-size: 15px; font-weight: 600; color: var(--ball); text-decoration: none; }
.see-all:hover { color: #fff; }

/* Brand badge + mascot */
.brand-mark { width: 52px; height: 52px; border-radius: 50%; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .25)); }
.site-footer .brand-mark { width: 72px; height: 72px; }
.social-intro { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; margin-bottom: clamp(32px, 5vw, 56px); }
.social-intro .section-head { margin-bottom: 0; }
.mascot { width: 100%; max-width: 340px; justify-self: center; mix-blend-mode: multiply; transform: rotate(-3deg); transition: transform .5s ease; }
.mascot:hover { transform: rotate(2deg) scale(1.03); }
@media (max-width: 760px) {
  .social-intro { grid-template-columns: 1fr; text-align: center; }
  .social-intro .mascot { max-width: 240px; order: -1; }
}
.not-found .mascot { max-width: 260px; margin: 0 auto 24px; }

/* =========================================================
   Junior programs
   ========================================================= */

.level-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.level-card {
  --level: var(--purple-500);
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.level-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.level-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--level); }
.level-card.red { --level: #e5484d; }
.level-card.orange { --level: #f5a524; }
.level-card.green { --level: #46a758; }
.level-card.dev { --level: var(--purple-500); }
.level-card.tour { --level: var(--ink); }

.level-top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.level-ball { width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--level); position: relative; box-shadow: inset -4px -6px 0 rgba(0, 0, 0, .12); }
.level-ball::before, .level-ball::after { content: ""; position: absolute; top: 6px; bottom: 6px; width: 14px; border: 2.5px solid rgba(255, 255, 255, .85); border-radius: 50%; }
.level-ball::before { left: -6px; border-left-color: transparent; border-top-color: transparent; border-bottom-color: transparent; }
.level-ball::after { right: -6px; border-right-color: transparent; border-top-color: transparent; border-bottom-color: transparent; }
.level-step { font: 700 12px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.level-card h3 { font-size: 28px; margin: 4px 0 0; }
.level-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.level-tags span { padding: 6px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 600; background: var(--bg-soft); color: var(--text); border: 1px solid var(--line); }
.level-tags span.age { background: var(--level); color: #fff; border-color: transparent; }
.level-card.orange .level-tags span.age { color: var(--ink); }
.level-when { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-size: 15.5px; margin-bottom: 20px; }
.level-when svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--purple-500); }
.level-prices { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.level-prices div { background: var(--bg-soft); border-radius: 12px; padding: 14px; }
.level-prices .lbl { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.level-prices strong { font: 700 28px/1 var(--font-heading); color: var(--ink); }
.level-prices .per { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }
.level-prices .pkg { background: var(--purple-50); }
.level-prices .pkg strong { color: var(--purple-600); }
.save { display: inline-block; margin-top: 6px; font-size: 12px; font-weight: 700; color: #2f7a12; background: #eefbe0; padding: 3px 8px; border-radius: 999px; }

.level-intro { display: flex; flex-direction: column; justify-content: center; padding: 8px 4px; }
.level-intro h3 { font-size: clamp(26px, 2.6vw, 34px); }
.level-intro p { color: var(--muted); }
.level-legend { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; font-size: 15px; font-weight: 500; }
.level-legend li { display: flex; align-items: center; gap: 10px; }
.level-legend i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }

@media (max-width: 1000px) { .level-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .level-grid { grid-template-columns: 1fr; } }

/* Weekly timetable */
.timetable { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.tt-col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.tt-col h3 { font-size: 26px; margin-bottom: 18px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.tt-col h3 small { white-space: nowrap; font: 600 13px var(--font-body); color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.tt-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tt-list li { display: grid; grid-template-columns: 112px 1fr; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px; background: var(--bg-soft); border-left: 5px solid var(--c, var(--purple-500)); }
.tt-list .t { font-weight: 700; color: var(--ink); font-size: 15px; white-space: nowrap; }
.tt-list .p { font-weight: 600; color: var(--ink); line-height: 1.3; }
.tt-list .p small { display: block; font-weight: 500; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
@media (max-width: 760px) { .timetable { grid-template-columns: 1fr; } .tt-list li { grid-template-columns: 92px 1fr; } }

/* Coach video (click to play) */
.coach-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.video-embed {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius);
  overflow: hidden; background: var(--ink); box-shadow: var(--shadow-lg); border: 0; padding: 0; cursor: pointer;
}
.video-embed img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .3s; }
.video-embed:hover img { transform: scale(1.03); }
.video-embed .play {
  position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--purple-500); color: #fff; display: grid; place-items: center;
  box-shadow: 0 0 0 10px rgba(126, 84, 198, .3); transition: transform .25s ease, background-color .25s;
}
.video-embed:hover .play { transform: translate(-50%, -50%) scale(1.08); background: var(--purple-600); }
.video-embed .play svg { width: 30px; height: 30px; margin-left: 4px; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.coach-copy h2 { font-size: clamp(34px, 4.4vw, 54px); }
.coach-copy p { color: var(--muted); font-size: 18px; }
@media (max-width: 900px) { .coach-grid { grid-template-columns: 1fr; } }

/* =========================================================
   Summer camp
   ========================================================= */

.facts { display: grid; grid-template-columns: repeat(4, 1fr) 1.3fr; gap: 16px; margin-top: calc(-1 * clamp(40px, 6vw, 72px)); position: relative; z-index: 2; }
.fact { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.fact .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--purple-50); color: var(--purple-600); margin-bottom: 14px; }
.fact .ic svg { width: 20px; height: 20px; }
.fact .lbl { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.fact strong { font: 700 22px/1.15 var(--font-heading); color: var(--ink); display: block; }
.fact.price { background: linear-gradient(150deg, var(--purple-600), var(--purple-900)); color: #fff; border: 0; display: flex; flex-direction: column; justify-content: center; }
.fact.price .lbl { color: rgba(255, 255, 255, .7); }
.fact.price .row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.fact.price strong { color: var(--ball); font-size: 40px; }
.fact.price span.u { color: rgba(255, 255, 255, .8); font-size: 15px; }
.fact.price .or { color: rgba(255, 255, 255, .85); font-size: 15px; margin-top: 6px; }
.fact.price .save { margin-top: 10px; align-self: flex-start; }
@media (max-width: 1080px) { .facts { grid-template-columns: repeat(2, 1fr); } .fact.price { grid-column: 1 / -1; } }
@media (max-width: 420px) { .facts { gap: 10px; } .fact { padding: 18px; } .fact strong { font-size: 19px; } }

.feature-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .25s ease, box-shadow .25s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-card .ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--purple-500); color: #fff; margin-bottom: 18px; }
.feature-card:nth-child(2) .ic { background: var(--ink); color: var(--ball); }
.feature-card:nth-child(3) .ic { background: var(--ball); color: var(--ink); }
.feature-card:nth-child(4) .ic { background: var(--purple-100); color: var(--purple-700); }
.feature-card .ic svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 22px; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 15.5px; margin: 0; }
@media (max-width: 1000px) { .feature-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feature-cards { grid-template-columns: 1fr; } }

.camp-split { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.camp-split .mascot { max-width: 380px; }
.camp-split h2 { font-size: clamp(34px, 4.4vw, 54px); }
.camp-split p { font-size: 18px; color: var(--muted); }
.notice-list { list-style: none; margin: 22px 0 28px; padding: 0; display: grid; gap: 12px; }
.notice-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink); }
.notice-list svg { width: 22px; height: 22px; color: var(--purple-500); flex: none; }
@media (max-width: 860px) { .camp-split { grid-template-columns: 1fr; text-align: center; } .camp-split .mascot { max-width: 240px; margin: 0 auto; } .notice-list { justify-items: center; } .camp-split .hero-actions { justify-content: center; } }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--purple-500); color: #fff; font: 700 20px/1 var(--font-heading); margin-bottom: 16px;
}
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; font-size: 15.5px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
