/* ============================================================
   Elite Tennis Academy — Design System
   Clean athletic / airy · white base · #5893CE blue · #18374C navy
   Mobile-first. Base styles target 375px, scale up with min-width.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --color-primary:        #5893CE;
  --color-primary-hover:  #4179B4;
  --color-secondary:      #18374C;
  --color-bg:             #FFFFFF;
  --color-bg-alt:         #F4F8FC;
  --color-bg-navy:        #18374C;
  --color-text:           #18374C;
  --color-text-muted:     #5A6B78;
  --color-white:          #FFFFFF;
  --color-border:         #E2EAF2;
  --color-primary-soft:   rgba(88,147,206,0.12);

  /* Typography */
  --font-heading: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:    'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Fluid spacing */
  --gutter:    clamp(20px, 4vw, 48px);
  --section-y: clamp(60px, 8vw, 120px);
  --maxw:      1280px;

  /* Radius & shadow */
  --radius-card: 16px;
  --radius-btn:  8px;
  --radius-pill: 999px;
  --shadow-sm:   0 2px 10px rgba(24,55,76,0.06);
  --shadow-card: 0 4px 24px rgba(24,55,76,0.07);
  --shadow-card-hover: 0 16px 44px rgba(24,55,76,0.16);
  --shadow-nav:  0 6px 24px rgba(24,55,76,0.08);

  /* Motion */
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 130ms;
  --t-base: 250ms;

  /* Layout */
  --nav-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 3px; border-radius: 4px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-heading); color: var(--color-secondary); line-height: 1.1; font-weight: 600; letter-spacing: -0.01em;
  /* Keep Fraunces normal: moderate optical size, no fancy ligatures/swashes/wonk */
  font-optical-sizing: none;
  font-variation-settings: "opsz" 30, "SOFT" 0, "WONK" 0;
  font-feature-settings: "liga" 0, "dlig" 0, "calt" 0, "swsh" 0;
  font-variant-ligatures: none;
}
h1 { font-size: clamp(2.35rem, 6.6vw, 4.4rem); line-height: 1.04; font-weight: 600; }
h2 { font-size: clamp(1.9rem, 4.4vw, 3.1rem); line-height: 1.08; }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.55rem); }
p  { color: var(--color-text-muted); }
strong { color: var(--color-text); font-weight: 600; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section   { padding-block: var(--section-y); }
.section--alt   { background: var(--color-bg-alt); }
.section--navy  { background: var(--color-bg-navy); }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p { color: rgba(255,255,255,0.78); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--color-primary); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--color-primary); border-radius: 2px; }
.section--navy .eyebrow { color: #8FBEE6; }
.section--navy .eyebrow::before { background: #8FBEE6; }

.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 16px; font-size: 1.05rem; }

.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--color-text-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; padding: 14px 28px;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1;
  border-radius: var(--radius-btn); white-space: nowrap; text-align: center;
  transition: background-color var(--t-base) var(--ease-out),
              color var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out),
              transform var(--t-fast) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out);
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--color-primary); color: #fff; box-shadow: 0 6px 18px rgba(88,147,206,0.32); }
.btn-ghost   { background: transparent; color: var(--color-secondary); border: 1.5px solid var(--color-border); }
.btn-white   { background: #fff; color: var(--color-secondary); }
.btn-lg { min-height: 56px; padding: 16px 34px; font-size: 1.05rem; }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--color-primary-hover); box-shadow: 0 10px 26px rgba(88,147,206,0.42); transform: translateY(-2px); }
  .btn-ghost:hover   { border-color: var(--color-primary); color: var(--color-primary); }
  .btn-white:hover   { transform: translateY(-2px); box-shadow: var(--shadow-card-hover); }
}
.btn:active { transform: scale(0.97); }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background-color var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out);
}
.nav.scrolled { background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--shadow-nav); }
.nav__inner { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav__logo { display: flex; align-items: center; gap: 10px; }
.nav__logo img { height: 44px; width: auto; display: block; }
/* Desktop: 3-column grid so nav links sit dead-centre regardless of logo/button widths */
@media (min-width: 1024px) {
  .nav__inner { display: grid; grid-template-columns: 1fr auto 1fr; }
  .nav__logo    { justify-self: start; }
  .nav__links   { justify-self: center; }
  .nav__actions { justify-self: end; }
}
.nav__links { display: none; align-items: center; gap: 4px; }
.nav__link {
  position: relative; padding: 10px 14px; font-weight: 500; font-size: 0.96rem; color: var(--color-secondary);
  border-radius: 8px; transition: color var(--t-base) var(--ease-out), background-color var(--t-base) var(--ease-out);
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px;
  background: var(--color-primary); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-base) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .nav__link:hover { color: var(--color-primary); } .nav__link:hover::after { transform: scaleX(1); } }
.nav__link.active { color: var(--color-primary); }
.nav__link.active::after { transform: scaleX(1); }
.nav__actions { display: none; align-items: center; gap: 12px; }

/* Dropdown (desktop) */
.nav__item { position: relative; display: flex; align-items: center; height: var(--nav-h); }
.has-dropdown > .nav__link { display: inline-flex; align-items: center; gap: 5px; }
.nav__caret { width: 15px; height: 15px; transition: transform var(--t-base) var(--ease-out); }
.nav__dropdown {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px);
  min-width: 240px; background: #fff; border: 1px solid var(--color-border);
  border-radius: 16px; box-shadow: var(--shadow-card-hover); padding: 8px; z-index: 120;
  display: grid; gap: 2px; opacity: 0; visibility: hidden;
  transition: opacity var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out), visibility var(--t-base);
}
.nav__dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; } /* hover bridge */
.has-dropdown:hover .nav__dropdown, .has-dropdown:focus-within .nav__dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-dropdown:hover .nav__caret, .has-dropdown:focus-within .nav__caret { transform: rotate(180deg); }
.nav__dropdown a { padding: 11px 14px; border-radius: 10px; font-size: 0.92rem; font-weight: 500; color: var(--color-secondary); transition: background-color var(--t-base) var(--ease-out), color var(--t-base) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .nav__dropdown a:hover { background: var(--color-primary-soft); color: var(--color-primary); } }

/* Drawer accordion (mobile) */
.nav__drawer-group { border-bottom: 1px solid var(--color-border); }
.nav__drawer-toggle { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 16px 8px; font-size: 1.15rem; color: var(--color-secondary); }
.nav__drawer-toggle .nav__caret { width: 18px; height: 18px; }
.nav__drawer-group.open .nav__caret { transform: rotate(180deg); }
.nav__drawer-sub { max-height: 0; overflow: hidden; transition: max-height var(--t-base) var(--ease-in-out); }
.nav__sublink { display: block; padding: 12px 8px 12px 22px; color: var(--color-text-muted); font-size: 1.02rem; }
.nav__sublink:active { color: var(--color-primary); }

/* Hamburger */
.nav__toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; border-radius: 10px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--color-secondary); border-radius: 2px; margin-inline: auto; transition: transform var(--t-base) var(--ease-out), opacity var(--t-fast) var(--ease-out); }
body.menu-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav__drawer {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99;
  background: #fff; padding: 24px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 4px;
  transform: translateX(100%); transition: transform var(--t-base) var(--ease-out);
  overflow-y: auto;
}
body.menu-open .nav__drawer { transform: translateX(0); }
body.menu-open { overflow: hidden; }
.nav__drawer a.nav__link { padding: 16px 8px; font-size: 1.15rem; border-bottom: 1px solid var(--color-border); border-radius: 0; }
.nav__drawer a.nav__link::after { display: none; }
.nav__drawer .btn { margin-top: 20px; width: 100%; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-top: calc(var(--nav-h) + clamp(28px, 6vw, 64px)); padding-bottom: var(--section-y); overflow: hidden; }
.hero__grid { display: grid; gap: clamp(32px, 5vw, 56px); align-items: center; }
.hero__title { margin-bottom: 22px; }
.hero__title .hl { color: var(--color-primary); }
.hero__sub { font-size: clamp(1.05rem, 2vw, 1.2rem); max-width: 50ch; margin-bottom: 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 24px 36px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--color-border); }
.hero__trust-item .n { font-family: var(--font-heading); font-weight: 700; font-size: 1.8rem; color: var(--color-secondary); line-height: 1; }
.hero__trust-item .l { font-size: 0.85rem; color: var(--color-text-muted); margin-top: 6px; }

.hero__media { position: relative; }
.hero__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow-card-hover); }
.hero__arc { position: absolute; inset: -6% -8% auto auto; width: 70%; z-index: -1; color: var(--color-primary-soft); }
.hero__badge {
  position: absolute; left: -14px; bottom: 24px; background: #fff; border-radius: 16px;
  box-shadow: var(--shadow-card-hover); padding: 16px 20px; display: flex; align-items: center; gap: 14px; max-width: 84%;
}
.hero__badge .ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--color-primary-soft); color: var(--color-primary); flex-shrink: 0; }
.hero__badge .ic svg { width: 22px; height: 22px; }
.hero__badge b { display: block; font-family: var(--font-heading); color: var(--color-secondary); font-size: 1rem; }
.hero__badge span { font-size: 0.82rem; color: var(--color-text-muted); }

/* ============================================================
   TRUST / STATS STRIP
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--color-border); border: 1px solid var(--color-border); border-radius: var(--radius-card); overflow: hidden; }
.stats__item { background: #fff; padding: clamp(22px, 4vw, 38px) 20px; text-align: center; }
.stats__n { font-family: var(--font-heading); font-weight: 800; font-size: clamp(2rem, 5vw, 3rem); color: var(--color-primary); line-height: 1; }
.stats__l { margin-top: 10px; font-size: 0.9rem; color: var(--color-text-muted); }

/* ============================================================
   PROGRAM PILLARS (cards)
   ============================================================ */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 3vw, 28px); }
.pillar {
  position: relative; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-card);
  padding: 0; overflow: hidden; display: flex; flex-direction: column;
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out), border-color var(--t-base) var(--ease-out);
}
.pillar__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--color-bg-alt); }
.pillar__img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; transition: transform 600ms var(--ease-out); }
@media (hover:hover) and (pointer:fine){ .pillar:hover .pillar__img img { transform: scale(1.05); } }
.pillar__body { display: flex; flex-direction: column; flex: 1; padding: clamp(15px, 2.6vw, 30px); }
.pillar__ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--color-primary-soft); color: var(--color-primary); margin-bottom: 20px; }
.pillar__ic svg { width: 26px; height: 26px; }
.pillar h3 { margin-bottom: 10px; }
.pillar p { font-size: 0.96rem; margin-bottom: 18px; }
/* align rows across cards (desktop multi-col) */
@media (min-width: 768px) {
  .pillar h3 { min-height: 2.2em; display: flex; align-items: flex-end; }
  .pillar p  { min-height: 4.7em; }
}
.pillar__list { margin-bottom: 22px; display: grid; gap: 9px; }
.pillar__list li { position: relative; padding-left: 24px; font-size: 0.92rem; color: var(--color-text-muted); }
.pillar__list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--color-primary); }
.pillar__link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--color-primary); }
.pillar__link svg { width: 16px; height: 16px; transition: transform var(--t-base) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); border-color: transparent; }
  .pillar:hover .pillar__link svg { transform: translateX(4px); }
}

/* ============================================================
   WHY US — numbered editorial rows
   ============================================================ */
.why { display: grid; gap: 0; }
.why__row { display: grid; gap: 14px 28px; padding: clamp(24px, 4vw, 36px) 0; border-top: 1px solid var(--color-border); align-items: start; }
.why__row:last-child { border-bottom: 1px solid var(--color-border); }
.why__num { font-family: var(--font-heading); font-weight: 800; font-size: clamp(1.4rem, 3vw, 2rem); color: var(--color-primary); opacity: 0.55; }
.why__row h3 { margin-bottom: 8px; }
.why__row p { max-width: 60ch; }

/* ============================================================
   COACHES
   ============================================================ */
.coaches { display: grid; gap: clamp(18px, 2.5vw, 26px); grid-template-columns: repeat(2, 1fr); }
.coach { text-align: left; }
.coach__photo { position: relative; border-radius: var(--radius-card); overflow: hidden; aspect-ratio: 3/4; background: var(--color-bg-alt); box-shadow: var(--shadow-card); }
.coach__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform 600ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .coach:hover .coach__photo img { transform: scale(1.06); } }
.coach h3 { font-size: 1.1rem; margin-top: 16px; }
.coach span { display: block; font-size: 0.88rem; color: var(--color-primary); font-weight: 600; margin-top: 3px; }

/* ---- Coach auto-rotating carousel (home) ---- */
.coach-carousel { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.coach-track { display: flex; gap: clamp(16px, 2vw, 24px); width: max-content; will-change: transform; animation: coachScroll 48s linear infinite; }
.coach-carousel:hover .coach-track { animation-play-state: paused; }
.coach-carousel .coach { width: clamp(180px, 42vw, 240px); flex: 0 0 auto; }
@keyframes coachScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .coach-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; } }

/* ---- Marquee band ---- */
.marquee { background: var(--color-secondary); overflow: hidden; padding: 16px 0; }
.marquee__track { display: flex; gap: 0; width: max-content; animation: marqueeScroll 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { display: inline-flex; align-items: center; font-family: var(--font-heading); font-weight: 600; font-size: clamp(1.1rem, 2.4vw, 1.7rem); color: #fff; padding: 0 26px; white-space: nowrap; }
.marquee__track span::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--color-primary); margin-left: 52px; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---- Scroll progress bar ---- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0%; background: linear-gradient(90deg, var(--color-primary), #8FBEE6); z-index: 200; transition: width 80ms linear; }

/* ---- Image-fit safeguards (every photo crops gracefully) ---- */
.split__media img { object-position: center; }
.hero__media img { object-position: center top; }
.gallery img { object-position: center 40%; }

/* ---- Balanced 4-up grid (e.g. "What we value") ---- */
@media (min-width: 1024px) { .svc-grid.svc-grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.gallery a { display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 1/1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .gallery a:hover img { transform: scale(1.08); } }

/* ============================================================
   CORPORATE / PRICING band
   ============================================================ */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 3vw, 28px); margin-top: 36px; }
.price-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16); border-radius: var(--radius-card); padding: clamp(26px, 3vw, 36px); color: #fff; display: flex; flex-direction: column; }
.price-card .btn { margin-top: auto; align-self: stretch; }
.price-card.feature { background: var(--color-primary); border-color: var(--color-primary); }
.price-card h3 { color: #fff; }
.price-card .amount { font-family: var(--font-heading); font-weight: 800; font-size: 2.6rem; margin: 14px 0 4px; color: #fff; }
.price-card .amount span { font-size: 1rem; font-weight: 500; opacity: 0.7; }
.price-card ul { display: grid; gap: 10px; margin: 22px 0 26px; }
.price-card li { position: relative; padding-left: 28px; color: rgba(255,255,255,0.85); font-size: 0.94rem; }
.price-card li::before { content: ""; position: absolute; left: 2px; top: 4px; width: 14px; height: 8px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); opacity: 0.9; }

/* ============================================================
   FEATURE SPLIT (image + text)
   ============================================================ */
.split { display: grid; gap: clamp(28px, 5vw, 60px); align-items: center; }
.split__media img { width: 100%; border-radius: 24px; box-shadow: var(--shadow-card); aspect-ratio: 4/3; object-fit: cover; }
.split__copy h2 { margin-bottom: 18px; }
.split__copy > p { margin-bottom: 16px; }
.split__copy > p:last-child { margin-bottom: 0; }
.split__list { display: grid; gap: 16px; margin-top: 24px; }
.split__list li { display: flex; gap: 14px; align-items: flex-start; }
.split__list .ic { flex-shrink: 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--color-primary-soft); color: var(--color-primary); }
.split__list .ic svg { width: 20px; height: 20px; }
.split__list b { display: block; color: var(--color-secondary); font-family: var(--font-heading); }
.split__list p { font-size: 0.93rem; margin: 2px 0 0; }
.split__quote { margin-top: 26px; padding: 22px 26px; border-left: 3px solid var(--color-primary); background: var(--color-bg-alt); border-radius: 0 12px 12px 0; }
.split__quote p { font-style: italic; color: var(--color-text); font-size: 1.02rem; }
.split__quote cite { display: block; margin-top: 10px; font-style: normal; font-weight: 600; color: var(--color-primary); font-size: 0.9rem; }

/* ============================================================
   SERVICES grid (pro shop page)
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px,3vw,26px); }
.svc-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: 0; overflow: hidden; transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out); }
.svc-card__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--color-bg-alt); }
.svc-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 600ms var(--ease-out); }
@media (hover:hover) and (pointer:fine){ .svc-card:hover .svc-card__img img { transform: scale(1.05); } }
.svc-card__body { padding: clamp(16px,2.8vw,32px); display: flex; flex-direction: column; height: 100%; }
.svc-card__body h3 { margin-bottom: 10px; }
.svc-card__ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--color-primary-soft); color: var(--color-primary); margin-bottom: 18px; }
.svc-card__ic svg { width: 28px; height: 28px; }
.svc-card h3 { margin-bottom: 10px; font-size: 1.25rem; }
.svc-card p { font-size: 0.95rem; }
@media (hover:hover) and (pointer:fine){ .svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); } }

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-head { padding-top: calc(var(--nav-h) + clamp(40px, 7vw, 84px)); padding-bottom: clamp(36px, 6vw, 64px); background: var(--color-bg-alt); position: relative; overflow: hidden; }
.page-head__crumb { font-size: 0.84rem; color: var(--color-text-muted); margin-bottom: 14px; }
.page-head__crumb a { color: var(--color-primary); }
.page-head h1 { max-width: 18ch; }
.page-head p { margin-top: 18px; max-width: 60ch; font-size: 1.08rem; }
.page-head__arc { position: absolute; right: -4%; top: 8%; width: 38%; color: rgba(88,147,206,0.10); z-index: 0; }
.page-head .container { position: relative; z-index: 1; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; gap: clamp(28px, 4vw, 48px); }
.contact-info { display: grid; gap: 18px; align-content: start; }
.contact-info__item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info__item .ic { flex-shrink: 0; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--color-primary-soft); color: var(--color-primary); }
.contact-info__item .ic svg { width: 22px; height: 22px; }
.contact-info__item b { display: block; font-family: var(--font-heading); color: var(--color-secondary); margin-bottom: 2px; }
.contact-info__item a, .contact-info__item span { color: var(--color-text-muted); }

.form { display: grid; gap: 18px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: clamp(24px, 4vw, 38px); box-shadow: var(--shadow-card); }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: 0.9rem; color: var(--color-secondary); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--color-text);
  padding: 14px 16px; border: 1.5px solid var(--color-border); border-radius: var(--radius-btn); background: #fff;
  transition: border-color var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 4px var(--color-primary-soft); }
.field--row { display: grid; gap: 18px; }
.form__note { font-size: 0.82rem; color: var(--color-text-muted); }
.form__ok { display: none; padding: 14px 16px; border-radius: var(--radius-btn); background: var(--color-primary-soft); color: var(--color-secondary); font-weight: 600; font-size: 0.95rem; }
.form__ok.show { display: block; }
.map-embed { border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-card); border: 1px solid var(--color-border); margin-top: 28px; }
.map-embed iframe { display: block; width: 100%; height: 340px; border: 0; }

/* ============================================================
   FAQ (accordion)
   ============================================================ */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--color-border); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left; padding: 22px 0; font-family: var(--font-heading); font-weight: 600; font-size: 1.08rem; color: var(--color-secondary); }
.faq__q .pm { flex-shrink: 0; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--color-primary-soft); color: var(--color-primary); transition: transform var(--t-base) var(--ease-out); font-size: 1.3rem; line-height: 1; }
.faq__item.open .faq__q .pm { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height var(--t-base) var(--ease-in-out); }
.faq__a p { padding-bottom: 22px; font-size: 0.98rem; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 18ch; margin-inline: auto; color: #fff; }
.cta-band p { max-width: 56ch; margin: 18px auto 32px; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--color-secondary); color: rgba(255,255,255,0.72); padding-top: clamp(48px, 7vw, 80px); }
.footer__top { display: grid; gap: 40px; padding-bottom: 48px; }
.footer__brand img { height: 52px; margin-bottom: 18px; }
.footer__brand p { color: rgba(255,255,255,0.6); font-size: 0.92rem; max-width: 40ch; }
.footer__social { display: flex; gap: 12px; margin-top: 20px; }
.footer__social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: rgba(255,255,255,0.08); color: #fff; transition: background-color var(--t-base) var(--ease-out), transform var(--t-fast) var(--ease-out); }
.footer__social a svg { width: 20px; height: 20px; }
@media (hover:hover) and (pointer:fine){ .footer__social a:hover { background: var(--color-primary); } }
.footer__social a:active { transform: scale(0.94); }
.footer__col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer__col ul { display: grid; gap: 11px; }
.footer__col a { color: rgba(255,255,255,0.66); font-size: 0.92rem; transition: color var(--t-base) var(--ease-out); }
@media (hover:hover) and (pointer:fine){ .footer__col a:hover { color: #fff; } }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; margin-bottom: 11px; color: rgba(255,255,255,0.66); }
.footer__contact svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 3px; color: var(--color-primary); }
.footer__contact a { color: rgba(255,255,255,0.66); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 24px 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: 0.84rem; color: rgba(255,255,255,0.5); }
.footer__bottom a { color: rgba(255,255,255,0.7); }

/* ============================================================
   SCROLL REVEAL (JS adds .in)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; transition: none; } }

/* ============================================================
   CHATBOT
   ============================================================ */
.chat-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 200;
  display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 16px;
  border-radius: var(--radius-pill); background: var(--color-primary); color: #fff; font-weight: 600;
  box-shadow: 0 10px 30px rgba(88,147,206,0.45);
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-base) var(--ease-out), background-color var(--t-base) var(--ease-out);
}
.chat-fab svg { width: 24px; height: 24px; }
.chat-fab .lbl { display: none; }
@media (min-width: 480px) { .chat-fab .lbl { display: inline; } }
@media (hover:hover) and (pointer:fine){ .chat-fab:hover { background: var(--color-primary-hover); transform: translateY(-2px); } }
.chat-fab:active { transform: scale(0.96); }
body.chat-open .chat-fab { opacity: 0; pointer-events: none; }

.chat-panel {
  position: fixed; z-index: 201; right: 20px; bottom: 20px;
  width: min(380px, calc(100vw - 40px)); height: min(620px, calc(100vh - 40px));
  background: #fff; border-radius: 20px; box-shadow: 0 24px 70px rgba(24,55,76,0.35);
  display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; transform: translateY(20px) scale(0.98); pointer-events: none;
  transition: opacity var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out);
}
body.chat-open .chat-panel { opacity: 1; transform: none; pointer-events: auto; }
.chat-head { background: var(--color-secondary); color: #fff; padding: 16px 18px; display: flex; align-items: center; gap: 12px; }
.chat-head .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--color-primary); display: grid; place-items: center; flex-shrink: 0; }
.chat-head .avatar svg { width: 22px; height: 22px; color: #fff; }
.chat-head b { font-family: var(--font-heading); font-size: 1.02rem; display: block; }
.chat-head span { font-size: 0.78rem; color: rgba(255,255,255,0.7); display: flex; align-items: center; gap: 6px; }
.chat-head span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #5BD08A; display: inline-block; }
.chat-head .close { margin-left: auto; width: 36px; height: 36px; border-radius: 9px; color: #fff; display: grid; place-items: center; }
.chat-head .close:hover { background: rgba(255,255,255,0.12); }
.chat-head .close svg { width: 20px; height: 20px; }

.chat-body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; background: var(--color-bg-alt); }
.chat-msg { max-width: 85%; padding: 11px 15px; border-radius: 16px; font-size: 0.92rem; line-height: 1.5; }
.chat-msg.bot { background: #fff; color: var(--color-text); border: 1px solid var(--color-border); border-bottom-left-radius: 5px; align-self: flex-start; }
.chat-msg.user { background: var(--color-primary); color: #fff; border-bottom-right-radius: 5px; align-self: flex-end; }
.chat-msg a { color: var(--color-primary); font-weight: 600; text-decoration: underline; }
.chat-msg.user a { color: #fff; }
.chat-msg b { color: inherit; }
.chat-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 14px; background: var(--color-bg-alt); }
.chat-chip { font-size: 0.82rem; font-weight: 600; padding: 9px 14px; border-radius: var(--radius-pill); border: 1.5px solid var(--color-border); background: #fff; color: var(--color-secondary); transition: border-color var(--t-base) var(--ease-out), color var(--t-base) var(--ease-out), background-color var(--t-base) var(--ease-out); }
@media (hover:hover) and (pointer:fine){ .chat-chip:hover { border-color: var(--color-primary); color: var(--color-primary); } }
.chat-chip:active { transform: scale(0.96); }
.chat-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--color-border); background: #fff; }
.chat-input input { flex: 1; font-family: var(--font-body); font-size: 1rem; padding: 12px 14px; border: 1.5px solid var(--color-border); border-radius: var(--radius-pill); }
.chat-input input:focus { outline: none; border-color: var(--color-primary); }
.chat-input button { width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; background: var(--color-primary); color: #fff; display: grid; place-items: center; }
.chat-input button svg { width: 20px; height: 20px; }
.chat-input button:active { transform: scale(0.94); }
.chat-typing { align-self: flex-start; display: flex; gap: 4px; padding: 12px 16px; background: #fff; border: 1px solid var(--color-border); border-radius: 16px; border-bottom-left-radius: 5px; }
.chat-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--color-text-muted); opacity: 0.5; animation: blink 1.2s infinite; }
.chat-typing span:nth-child(2){ animation-delay: 0.2s; }
.chat-typing span:nth-child(3){ animation-delay: 0.4s; }
@keyframes blink { 0%,60%,100%{ opacity:0.3; transform: translateY(0);} 30%{ opacity:1; transform: translateY(-3px);} }
@media (prefers-reduced-motion: reduce){ .chat-typing span { animation: none; } }

/* ============================================================
   RESPONSIVE — min-width breakpoints
   ============================================================ */
@media (min-width: 600px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .field--row { grid-template-columns: 1fr 1fr; }
  .coaches { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .why__row { grid-template-columns: 60px 1fr; }
  .footer__top { grid-template-columns: 2fr 1fr 1fr; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
  .nav__links, .nav__actions { display: flex; }
  .nav__toggle { display: none; }
  .nav__drawer { display: none; }
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; }
  .pillars { grid-template-columns: repeat(4, 1fr); }
  .coaches { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 1fr 1fr; }
  .split.reverse .split__media { order: 2; }
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: 2.2fr 1fr 1fr 1.4fr; }
}
@media (min-width: 1700px) { :root { --maxw: 1400px; } body { font-size: 17px; } }
@media (min-width: 2100px) { :root { --maxw: 1560px; } }

/* ============================================================
   MOBILE DENSITY (<=767px) — 2-up cards, less scrolling
   ============================================================ */
@media (max-width: 767px) {
  /* Why Elite Tennis -> 2x2 compact cards */
  .why { grid-template-columns: 1fr 1fr; gap: 12px; }
  .why__row { border: 1px solid var(--color-border); border-radius: 14px; padding: 16px; }
  .why__row:last-child { border-bottom: 1px solid var(--color-border); }
  .why__num { font-size: 1.5rem; opacity: 0.6; }
  .why__row h3 { font-size: 1.02rem; }
  .why__row p { font-size: 0.86rem; }

  /* Tighter card type so 2-up reads well on small screens */
  .pillar h3, .svc-card h3 { font-size: 1.05rem; }
  .pillar p, .svc-card p { font-size: 0.85rem; }
  .pillar__list li { font-size: 0.82rem; padding-left: 20px; }
  .pillar__list li::before { width: 10px; height: 10px; }
  .pillar__link { font-size: 0.85rem; }
  .price-grid { gap: 10px; }
  .price-card { padding: 16px; min-width: 0; }
  .price-card .amount { font-size: 2rem; }
  .price-card li { font-size: 0.82rem; padding-left: 22px; }
  /* let the long button text wrap instead of forcing the card wider than the screen */
  .price-card .btn { white-space: normal; padding-inline: 10px; font-size: 0.86rem; line-height: 1.25; }

  /* Footer -> 2 columns: Programs left, Club right; brand & contact full width */
  .footer__top { grid-template-columns: 1fr 1fr; gap: 30px 18px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__top > .footer__col:last-child { grid-column: 1 / -1; }
}

/* ===================== HIGHLIGHTS VIDEO ===================== */
.video-reel__wrap {
  position: relative;
  max-width: 920px;
  margin: clamp(28px, 4vw, 48px) auto 0;
}
.video-reel__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--color-secondary);
  box-shadow: var(--shadow-card);
}
.video-reel__frame iframe,
.video-reel__player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-reel__sound {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(24, 55, 76, 0.78);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background-color var(--t-base) var(--ease-out),
              transform var(--t-fast) var(--ease-out);
}
.video-reel__sound svg { width: 18px; height: 18px; flex: none; }
.video-reel__sound .ic-sound { display: none; }
.video-reel__sound[aria-pressed="true"] .ic-muted { display: none; }
.video-reel__sound[aria-pressed="true"] .ic-sound { display: block; }
.video-reel__sound:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .video-reel__sound:hover { background: var(--color-secondary); }
}

@media (max-width: 480px) {
  .video-reel__sound-lbl { display: none; }
  .video-reel__sound { padding: 10px; }
}

/* ===================== TESTIMONIALS ===================== */
.testi-grid {
  display: flex;
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(28px, 4vw, 44px);
  /* full-bleed: break out past the container's safe edges */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-inline: clamp(14px, 2.5vw, 28px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--color-border) transparent;
}
.testi-grid::-webkit-scrollbar { height: 8px; }
.testi-grid::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 999px; }
.testi {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  min-width: 280px;
  scroll-snap-align: start;
  margin: 0;
  padding: clamp(24px, 3vw, 32px);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out);
}
.testi blockquote {
  margin: 0 0 22px;
  font-size: 0.97rem;
  line-height: 1.62;
  color: var(--color-text);
}
.testi figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.testi__avatar {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--color-bg-alt);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}
.testi__name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-secondary);
}
.testi__qmark {
  position: absolute;
  right: 18px;
  bottom: 16px;
  width: 40px;
  height: 40px;
  color: var(--color-secondary);
  opacity: 0.1;
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .testi:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
}
/* give the lift + scrollbar room so they aren't clipped by overflow */
.testi-grid { padding-top: 6px; padding-bottom: 14px; }
@media (max-width: 900px) {
  /* below 6-across, let cards keep a comfortable width and swipe */
  .testi { min-width: 78vw; }
}

/* ===================== EXPERIENCE TENNIS PRICING ===================== */
.exp-price {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 26px 0 18px;
}
.exp-price__item {
  flex: 1 1 160px;
  min-width: 0;
  padding: 18px 20px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.exp-price__rate {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--color-secondary);
  line-height: 1;
}
.exp-price__rate span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
}
.exp-price__label {
  display: block;
  margin-top: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
}
.exp-note {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

/* ===================== YEARLY PLANNER ===================== */
.planner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(22px, 3vw, 34px);
  margin-top: clamp(28px, 4vw, 44px);
}
.planner__month h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-primary);
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--color-border);
}
.planner__month ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.planner__month li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.planner__date {
  flex: none;
  min-width: 44px;
  padding: 6px 10px;
  text-align: center;
  background: var(--color-secondary);
  color: var(--color-white);
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.2;
}
.planner__month li b {
  display: block;
  color: var(--color-secondary);
  font-size: 0.97rem;
}
.planner__month li p {
  margin-top: 3px;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

/* ===================== REAL-PHOTO AVATARS (testimonials) ===================== */
.testi__avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.testi__avatar { overflow: hidden; padding: 0; }

/* ===================== PRICE LIST (duration pricing) ===================== */
.price-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  margin: 20px 0 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.price-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: var(--color-white);
}
.price-list li:nth-child(even) { background: var(--color-bg-alt); }
.price-list .pl-label { font-weight: 500; color: var(--color-text); }
.price-list .pl-price {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-secondary);
  white-space: nowrap;
}
.price-note { margin-top: 12px; font-size: 0.85rem; color: var(--color-text-muted); }
.price-two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 24px); }
.price-two__title { font-family: var(--font-heading); font-size: 1.05rem; color: var(--color-secondary); }
.price-two .price-list { margin-top: 12px; }
@media (max-width: 560px) { .price-two { grid-template-columns: 1fr; } }

/* ===================== LIGHT PRICE-CARD VARIANT ===================== */
.price-card--light { background: var(--color-white); border: 1px solid var(--color-border); color: var(--color-text); box-shadow: var(--shadow-card); }
.price-card--light h3 { color: var(--color-secondary); }
.price-card--light .amount { color: var(--color-secondary); }
.price-card--light .amount span { color: var(--color-text-muted); opacity: 1; }
.price-card--light li { color: var(--color-text); }
.price-card--light li::before { border-left-color: var(--color-primary); border-bottom-color: var(--color-primary); }

/* ===================== LEAGUE DIVISIONS ===================== */
.leagues2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2.5vw, 28px);
  margin-top: clamp(24px, 3vw, 36px);
}
.league-day {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: clamp(22px, 2.6vw, 30px);
}
.league-day h3 { font-family: var(--font-heading); font-size: 1.25rem; color: var(--color-primary); margin-bottom: 4px; }
.league-day__meta { font-size: 0.85rem; color: var(--color-text-muted); margin-bottom: 16px; }
.league-day ul { list-style: none; display: flex; flex-direction: column; gap: 0; margin: 0 0 20px; }
.league-day li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
}
.league-day li:last-child { border-bottom: 0; }
.league-day li b { color: var(--color-secondary); font-weight: 600; }
.league-day li span { color: var(--color-text-muted); white-space: nowrap; font-size: 0.86rem; }
.league-day .btn { margin-top: auto; }
@media (max-width: 640px) { .leagues2 { grid-template-columns: 1fr; } }

/* ===================== EVENT CARDS ===================== */
.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(28px, 4vw, 44px);
}
.event-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: clamp(22px, 2.6vw, 30px);
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out);
}
.event-card__date {
  align-self: flex-start;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-bg-alt);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.event-card h3 { font-family: var(--font-heading); font-size: 1.2rem; color: var(--color-secondary); margin-bottom: 8px; }
.event-card p { font-size: 0.92rem; color: var(--color-text-muted); margin-bottom: 18px; }
.event-card .btn { margin-top: auto; align-self: flex-start; }
@media (hover: hover) and (pointer: fine) {
  .event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
}

/* ===================== PREMIUM MOTION ===================== */
/* Page-transition curtain (off-screen by default; JS only engages it when motion is allowed) */
.page-curtain {
  position: fixed;
  inset: 0;
  background: var(--color-secondary);
  z-index: 9999;
  transform: translateY(100%);
  pointer-events: none;
  will-change: transform;
}

/* Tactile lift on primary buttons (pointer devices only) */
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(88, 147, 206, 0.42); }
}

/* Animated growing underline for prose + footer links */
.split__copy p a,
.svc-card__body p a,
.faq__a p a,
.footer__col a,
.footer__contact a {
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1.5px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size var(--t-base) var(--ease-out), color var(--t-base) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .split__copy p a:hover,
  .svc-card__body p a:hover,
  .faq__a p a:hover,
  .footer__col a:hover,
  .footer__contact a:hover { background-size: 100% 1.5px; }
}
