/* =========================================================
   THE COURTS — DESIGN SYSTEM
   ========================================================= */

:root {
  --black: #000000;
  --near-black: #0D0D0D;
  --charcoal: #1A1A1A;
  --white: #FFFFFF;
  --warm-white: #FAF8F5;
  --warm-stone: #F2EDE7;
  --gray-light: #F7F5F0;
  --gray-mid: #D9D7D2;
  --gray-dark: #343434;

  --orange: #DE5019;
  --orange-hover: #B94700;
  --orange-press: #B94700;
  --orange-soft: rgba(222, 80, 25, 0.1);
  --orange-ink: #B94700;

  --font-display: 'Archivo Black', 'Archivo', sans-serif;
  --font-heading: 'Archivo', sans-serif;
  --font-nav: 'Archivo', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-sport: 'Barlow Condensed', sans-serif;

  --container: 1280px;
  --pad: 24px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --photo-placeholder: linear-gradient(135deg, #2a2a2a, #111);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--gray-light);
  color: var(--black);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--orange); color: var(--white);
  padding: 12px 20px; z-index: 999;
}
.skip-link:focus { left: 12px; top: 12px; }

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

.eyebrow {
  display: block; font-family: var(--font-sport); font-size: 18px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.07em; color: var(--orange); margin-bottom: 14px;
}
.eyebrow--light { color: var(--orange); }

.section-title { font-family: var(--font-heading); font-weight: 800; font-size: clamp(28px, 4vw, 42px); line-height: 1.1; margin: 0 0 14px; }
.section-sub { font-size: 17px; line-height: 1.6; color: var(--gray-dark); max-width: 640px; }
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }

.accent { color: var(--orange); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-nav); font-weight: 700; font-size: 15px;
  padding: 15px 28px; border-radius: 999px; transition: all 0.2s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-hover); transform: translateY(-1px); }
.btn-primary:active { background: var(--orange-press); }
.btn-secondary { background: transparent; color: var(--black); border: 1.5px solid var(--black); }
.btn-secondary:hover { background: var(--black); color: var(--white); }
.btn-on-dark { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.4); }
.btn-on-dark:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-block { width: 100%; }
.ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Courts Commentary (shared microcopy device — use sparingly, 0-2 per page) ---------- */
.courts-commentary { display: block; font-family: var(--font-body); font-style: italic; font-size: 14px; line-height: 1.5; color: var(--gray-dark); margin-top: 18px; max-width: 44ch; }
.courts-commentary--on-dark { color: rgba(255,255,255,0.65); }

/* ---------- Site-wide announcement bar ---------- */
/* [REMOVE / REPLACE FALL LEAGUE BANNER SEPTEMBER 20 AT 5 PM — campaign expires at the registration deadline] */
.site-announce {
  display: flex; align-items: center; justify-content: center; min-height: 64px; box-sizing: border-box;
  position: fixed; left: 0; right: 0; top: 0; z-index: 101; overflow: hidden;
  background: var(--orange); color: var(--white); text-align: center; padding: 12px 20px;
  animation: announceIn 0.35s var(--ease) both;
}
@keyframes announceIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.site-announce-inner { display: block; text-align: center; max-width: 900px; margin: 0 auto; font-family: var(--font-heading); line-height: 1.5; font-size: clamp(15px, 1.7vw, 18px); letter-spacing: 0; color: var(--white); text-decoration: none; cursor: pointer; }
.site-announce-headline { font-weight: 800; }
.site-announce-detail { font-weight: 600; }
.site-announce-detail strong { font-weight: 800; letter-spacing: 0; text-transform: none; color: var(--white); }
.site-announce-cta { font-weight: 800; letter-spacing: 0; text-transform: none; color: var(--white); white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
.site-announce-cta .arrow { display: inline-block; color: var(--white); transition: transform 0.2s var(--ease); animation: announceCtaNudge 7s ease-in-out infinite; }
@keyframes announceCtaNudge { 0%, 85%, 100% { transform: translateX(0); } 90% { transform: translateX(4px); } 95% { transform: translateX(0); } }
.site-announce-inner:hover .arrow { transform: translateX(3px); }
.site-announce:has(.site-announce-inner:hover) { background: var(--orange-hover); }

/* Decorative hoop (inline, next to the headline) + bouncing basketballs
   (right, queued up toward the hoop) — pure texture, never the content
   itself, so both are aria-hidden and hidden below 1040px where the bar has
   no room to spare. Each ball bounces on its own timing/height rather than a
   shared delay, so they read as independent rather than a synchronized wave. */
.announce-hoop { display: inline-block; vertical-align: -7px; width: 27px; height: 27px; margin-right: 20px; opacity: 1; pointer-events: none; }
.announce-balls { position: absolute; right: 90px; top: 0; bottom: 0; display: flex; align-items: center; gap: 22px; pointer-events: none; }
.announce-balls svg { display: block; opacity: 0.9; }
.announce-ball--1 { animation: ballBounceA 1.3s cubic-bezier(.5,0,.8,.4) infinite; align-self: center; }
.announce-ball--2 { animation: ballBounceB 1.85s cubic-bezier(.5,0,.8,.4) infinite; align-self: flex-end; margin-bottom: 10px; }
.announce-ball--3 { animation: ballBounceC 1.05s cubic-bezier(.5,0,.8,.4) infinite; align-self: flex-start; margin-top: 6px; }
@keyframes ballBounceA { 0%, 100% { transform: translateY(7px); } 42% { transform: translateY(-12px); } }
@keyframes ballBounceB { 0%, 100% { transform: translateY(9px); } 58% { transform: translateY(-6px); } }
@keyframes ballBounceC { 0%, 100% { transform: translateY(5px); } 38% { transform: translateY(-15px); } }
@media (max-width: 1040px) {
  .announce-hoop, .announce-balls { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .site-announce { animation: none; }
  .site-announce-cta .arrow { animation: none; }
  .announce-ball--1, .announce-ball--2, .announce-ball--3 { animation: none; }
}
body.has-announce { padding-top: var(--announce-h, 88px); }
body.has-announce .nav { top: var(--announce-h, 88px); }
[id] { scroll-margin-top: 180px; }
@media (max-width: 640px) {
  .site-announce { min-height: 0; padding: 16px 18px; }
  .site-announce-inner { font-size: 15px; }
  [id] { scroll-margin-top: 210px; }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 22px 0; transition: all 0.3s var(--ease);
}
.nav.scrolled { background: var(--white); padding: 14px 0; box-shadow: 0 1px 0 var(--gray-mid); }
.nav.nav-solid { background: var(--white); padding: 14px 0; box-shadow: 0 1px 0 var(--gray-mid); }
.nav.nav-solid .brand-mark--light { display: none; }
.nav.nav-solid .brand-mark--dark { display: block; }
.nav.nav-solid .nav-item > a { color: var(--black); }
.nav.nav-solid .nav-cta .btn-secondary { color: var(--black); border-color: var(--black); }
.nav.nav-solid .nav-toggle span { background: var(--black); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark--wordmark { height: 71px; width: auto; max-width: 42vw; }
@media (max-width: 1180px) { .brand-mark--wordmark { height: 54px; } }
@media (max-width: 460px) { .brand-mark--wordmark { height: 41px; } }
.brand-mark--light { display: block; }
.brand-mark--dark { display: none; }
.nav.scrolled .brand-mark--light { display: none; }
.nav.scrolled .brand-mark--dark { display: block; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-item { position: relative; }
.nav-item > a {
  display: flex; align-items: center; gap: 5px; font-family: var(--font-nav); font-weight: 600;
  font-size: 14.5px; color: var(--white); padding: 8px 0;
}
.nav.scrolled .nav-item > a { color: var(--black); }
.nav-item > a:hover { color: var(--orange); }
.nav.scrolled .nav-item > a:hover, .nav.nav-solid .nav-item > a:hover { color: var(--orange-ink); }
.nav-item > a.nav-active { font-weight: 700; box-shadow: inset 0 -2px 0 var(--orange); }
.mobile-nav-group.nav-active > .mobile-nav-toggle,
.mobile-menu > a.nav-active { color: var(--orange-ink); }
.nav-caret { transition: transform 0.2s var(--ease); }
.nav-item:hover .nav-caret { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute; top: calc(100% + 14px); left: 0; background: var(--white);
  border-radius: var(--radius-sm); box-shadow: 0 12px 32px rgba(0,0,0,0.14);
  padding: 10px; min-width: 220px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all 0.2s var(--ease); display: flex; flex-direction: column;
}
.nav-item:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown a { padding: 10px 14px; border-radius: 6px; font-size: 14px; color: var(--black); font-weight: 500; }
.nav-dropdown a:hover { background: var(--gray-light); color: var(--orange-ink); }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn-secondary { color: var(--white); border-color: rgba(255,255,255,0.5); }
.nav.scrolled .nav-cta .btn-secondary { color: var(--black); border-color: var(--black); }
.nav-cta .btn { padding: 8px 18px; font-size: 14px; }
.nav-cta-link { font-family: var(--font-nav); font-weight: 600; font-size: 14px; color: var(--white); }
.nav.scrolled .nav-cta-link, .nav.nav-solid .nav-cta-link { color: var(--black); }
.nav-cta-link:hover { color: var(--orange); }
.nav.scrolled .nav-cta-link:hover, .nav.nav-solid .nav-cta-link:hover { color: var(--orange-ink); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 26px; }
.nav-toggle span { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.2s; }
.nav.scrolled .nav-toggle span { background: var(--black); }

.mobile-menu {
  position: fixed; inset: 0; background: var(--white); z-index: 200;
  padding: 90px 24px 40px; overflow-y: auto; transform: translateX(100%);
  transition: transform 0.3s var(--ease); display: flex; flex-direction: column; gap: 4px;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-nav-group { border-bottom: 1px solid var(--gray-mid); }
.mobile-nav-toggle {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; font-family: var(--font-nav); font-weight: 700; font-size: 16px; color: var(--black);
}
.mobile-nav-chevron { font-size: 20px; color: var(--orange); transition: transform 0.2s; }
.mobile-nav-group.open .mobile-nav-chevron { transform: rotate(45deg); }
.mobile-nav-sub { max-height: 0; overflow: hidden; display: flex; flex-direction: column; transition: max-height 0.25s var(--ease); }
.mobile-nav-group.open .mobile-nav-sub { max-height: 400px; padding-bottom: 12px; }
.mobile-nav-sub a { padding: 10px 0 10px 14px; font-size: 14.5px; color: var(--gray-dark); }
.mobile-menu > a { display: block; padding: 16px 0; font-family: var(--font-nav); font-weight: 700; font-size: 16px; border-bottom: 1px solid var(--gray-mid); }
.mobile-menu > .btn { display: inline-flex; margin-top: 20px; padding: 15px 28px; }
.mobile-menu-close { position: absolute; top: 26px; right: 24px; width: 26px; height: 26px; }

@media (max-width: 1180px) {
  .nav-links, .nav-cta .btn-secondary, .nav-cta-link, .nav-cta .btn-primary { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- Photo placeholder ---------- */
.photo { position: relative; overflow: hidden; background: var(--photo-placeholder); }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo::before {
  content: 'PHOTO'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-sport); font-size: 13px; letter-spacing: 0.2em; color: rgba(255,255,255,0.35);
}
.photo.placeholder { background: var(--gray-mid); }
.photo.placeholder::before { color: rgba(0,0,0,0.25); }
.photo:has(img)::before { content: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 92vh; min-height: 92svh; display: flex; align-items: flex-end;
  background: var(--black); overflow: hidden;
}
.hero .photo { position: absolute; inset: 0; }
.hero .photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(23,23,23,0.15) 0%, rgba(23,23,23,0.75) 100%);
}
.hero-inner { position: relative; z-index: 2; padding-bottom: 90px; width: 100%; }
.hero-title {
  font-family: var(--font-display); font-weight: 900; color: var(--white);
  font-size: clamp(42px, 7vw, 84px); line-height: 0.98; margin: 0 0 20px; max-width: 16ch;
}
.hero-sub { font-size: 19px; color: rgba(255,255,255,0.85); max-width: 46ch; margin: 0 0 34px; line-height: 1.6; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 40px; margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.2); }
.hero-meta div { display: flex; flex-direction: column; gap: 4px; }
.hero-meta span { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.55); }
.hero-meta strong { font-family: var(--font-heading); font-weight: 700; color: var(--white); font-size: 17px; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { position: relative; padding: 190px 0 90px; background: var(--black); overflow: hidden; }
.page-hero .photo { position: absolute; inset: 0; opacity: 0.4; }
.page-hero-inner { position: relative; z-index: 2; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,0.55); margin-bottom: 18px; }
.breadcrumb a { color: rgba(255,255,255,0.75); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb .current { color: var(--white); }
.page-hero-title { font-family: var(--font-display); color: var(--white); font-size: clamp(36px, 5.5vw, 60px); line-height: 1.02; margin: 0 0 18px; }
.page-hero-sub { font-size: 17px; color: rgba(255,255,255,0.8); max-width: 62ch; line-height: 1.7; }
.page-hero-meta { display: flex; gap: 36px; margin-top: 40px; }
.page-hero-meta div { display: flex; flex-direction: column; gap: 4px; }
.page-hero-meta span { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.5); }
.page-hero-meta strong { font-family: var(--font-heading); color: var(--white); font-size: 16px; }

/* ---------- Member portal hero ---------- */
.portal-hero { position: relative; padding: 190px 0 90px; background: var(--black); overflow: hidden; }
.portal-hero .court-motif {
  position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background: radial-gradient(circle at 22% 20%, rgba(255,255,255,0.06), transparent 55%),
              linear-gradient(180deg, rgba(23,23,23,0) 0%, rgba(23,23,23,0.4) 100%);
}

/* ---------- Cards / Grids ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.program-card {
  position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 3/4;
  display: flex; align-items: flex-end; padding: 28px;
}
.program-card .photo { position: absolute; inset: 0; }
.program-card .photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(23,23,23,0.05) 30%, rgba(23,23,23,0.85) 100%);
}
.program-card-body { position: relative; z-index: 2; }
.program-card-body span { font-family: var(--font-sport); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--orange); }
.program-card-body h3 { font-family: var(--font-heading); color: var(--white); font-size: 24px; margin: 6px 0 10px; }
.program-card-body a { color: var(--white); font-weight: 600; font-size: 14px; }

.benefits { padding: 0 0 110px; background: var(--white); }
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.benefits-grid.three { grid-template-columns: repeat(3, 1fr); }
.benefit-card { background: var(--gray-light); border-radius: var(--radius-md); padding: 28px; }
.benefit-card h4 { font-family: var(--font-heading); font-size: 17px; margin: 0 0 10px; }
.benefit-card p { font-size: 14.5px; line-height: 1.6; color: var(--gray-dark); margin: 0; }

.overview { padding: 110px 0; background: var(--white); }
.overview-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.overview-art { aspect-ratio: 4/5; border-radius: var(--radius-md); overflow: hidden; }
.overview-text p { font-size: 17px; line-height: 1.75; color: var(--gray-dark); margin-bottom: 20px; }
.plan-features { display: flex; flex-direction: column; gap: 12px; }
.plan-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--black); }
.plan-features svg { flex-shrink: 0; margin-top: 3px; color: var(--orange); }

/* ---------- Stat strip ---------- */
.stat-strip { background: var(--black); padding: 56px 0; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-row div { display: flex; flex-direction: column; gap: 6px; }
.stat-row strong { font-family: var(--font-display); color: var(--orange); font-size: clamp(30px, 4vw, 44px); }
.stat-row span { font-size: 13px; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- Final CTA ---------- */
.final-cta { background: var(--black); padding: 120px 0; text-align: center; }
.final-cta h2 { font-family: var(--font-display); color: var(--white); font-size: clamp(32px, 5vw, 52px); margin: 0 0 18px; }
.final-cta p { color: rgba(255,255,255,0.75); font-size: 17px; max-width: 56ch; margin: 0 auto 34px; line-height: 1.6; }
.final-cta .ctas { justify-content: center; }

.membership-endcap { position: relative; background: linear-gradient(rgba(0,0,0,0.58), rgba(0,0,0,0.66)), url('../images/court-floor-detail-02.png') center 60%/cover no-repeat; color: var(--white); padding: 100px 0; text-align: center; }
.membership-endcap .eyebrow { color: var(--orange); }
.membership-endcap h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(30px, 4.6vw, 48px); margin: 14px 0 16px; color: var(--white); }
.membership-endcap p { color: rgba(255,255,255,0.72); font-size: 16px; margin: 0 0 32px; }
.membership-endcap-names { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; margin-bottom: 36px; font-family: var(--font-sport); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.82); }
@media (max-width: 560px) { .membership-endcap-names { gap: 16px; font-size: 11.5px; } }

/* ---------- Homepage: Pick Your Game (50/50 split) ---------- */
.pick-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; position: relative; }
.pick-split-seam {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; z-index: 3; transform: translateX(-50%);
  background: linear-gradient(180deg, transparent 0%, var(--orange) 18%, var(--orange) 82%, transparent 100%);
}
.pick-split-seam::before {
  content: 'VS'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 58px; height: 58px; border-radius: 50%; background: var(--orange); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 900;
  font-size: 15px; letter-spacing: 0.02em; border: 3px solid var(--black); box-shadow: 0 10px 26px rgba(222, 80, 25,0.5);
}
.pick-panel { position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 56px; transition: flex-grow 0.4s var(--ease); }
.pick-panel .photo { position: absolute; inset: 0; transition: transform 0.5s var(--ease); }
.pick-panel .photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,23,23,0.18) 20%, rgba(23,23,23,0.92) 100%); }
.pick-panel:hover .photo { transform: scale(1.04); }
.pick-panel-body { position: relative; z-index: 2; max-width: 420px; }
.pick-panel-body .eyebrow { color: var(--orange); }
.pick-panel-body h3 { font-family: var(--font-display); font-weight: 900; color: var(--white); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.08; margin: 12px 0 16px; white-space: nowrap; }
@media (max-width: 480px) { .pick-panel-body h3 { white-space: normal; } }
.pick-panel-body p { color: rgba(255,255,255,0.78); font-size: 15.5px; line-height: 1.65; margin: 0 0 22px; }
.pick-panel-link { display: inline-block; color: var(--white); font-weight: 700; font-size: 15px; }
@media (max-width: 860px) {
  .pick-split { grid-template-columns: 1fr; min-height: 0; }
  .pick-split-seam { display: none; }
  .pick-panel { min-height: 420px; padding: 40px 28px; }
}

/* ---------- Homepage: Why The Courts teaser ---------- */
.why-teaser { padding: 96px 0; background: var(--gray-light); }
.why-teaser-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.why-teaser-copy .eyebrow { color: var(--orange); }
.why-teaser-copy h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.06; margin: 12px 0 20px; color: var(--black); }
.why-teaser-copy p { font-size: 16px; line-height: 1.75; color: var(--gray-dark); margin: 0 0 24px; max-width: 42ch; }
.why-teaser-copy a { font-weight: 700; color: var(--orange); }
.why-teaser-grid-principles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.why-teaser-item { padding: 26px 28px; background: var(--white); border-radius: var(--radius-sm); border-left: 6px solid var(--orange); box-shadow: 0 6px 20px rgba(23,23,23,0.06); }
.why-teaser-item h4 { font-family: var(--font-display); font-weight: 900; font-size: 21px; letter-spacing: -0.01em; margin: 0 0 8px; color: var(--black); }
.why-teaser-item p { font-size: 14px; line-height: 1.55; color: var(--gray-dark); margin: 0; }
@media (max-width: 900px) { .why-teaser-grid { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 560px) {
  .why-teaser-grid-principles { grid-template-columns: 1fr; gap: 10px; }
}

/* ---------- Homepage: Hello Nolensville ---------- */
.home-nolensville { padding: 0; }
.home-nolensville-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 380px; }
.home-nolensville-photo { position: relative; overflow: hidden; background: var(--black); }
.home-nolensville-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-nolensville-copy { padding: 48px 64px; display: flex; flex-direction: column; justify-content: center; background: var(--white); }
.home-nolensville-copy .eyebrow { color: var(--orange); }
.home-nolensville-copy h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(38px, 5.6vw, 64px); letter-spacing: -0.01em; line-height: 1.05; margin: 12px 0 18px; color: var(--black); }
.home-nolensville-copy p { font-size: 17px; line-height: 1.6; color: var(--gray-dark); margin: 0 0 22px; max-width: 44ch; }
.home-nolensville-address { font-size: 15px; line-height: 1.7; color: var(--black); margin: 0 0 26px; }
.home-nolensville-address strong { font-weight: 700; }
@media (max-width: 860px) {
  .home-nolensville-grid { grid-template-columns: 1fr; min-height: 0; }
  .home-nolensville-photo { aspect-ratio: 4/3; }
  .home-nolensville-copy { padding: 48px 24px; }
}

/* ---------- Pre-footer CTA band (reusable across pages; content rotates) ---------- */
.pre-footer { background: var(--black); padding: 80px 0; position: relative; }
.pre-footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: rgba(255,255,255,0.08); }
.pre-footer-inner { display: grid; grid-template-columns: 1fr 1fr; }
.pre-footer-inner.pre-footer-inner--single { grid-template-columns: 1fr; text-align: center; }
.pre-footer-col { padding: 0 48px; }
.pre-footer-col:first-child { padding-left: 0; border-right: 2px solid var(--orange); }
.pre-footer-col:last-child { padding-right: 0; }
.pre-footer-inner--single .pre-footer-col { padding: 0; max-width: 620px; margin: 0 auto; border-right: none; }
.pre-footer-eyebrow { font-family: var(--font-sport); font-size: 16px; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: var(--orange); margin: 0 0 10px; display: block; }
.pre-footer-title { font-family: var(--font-heading); font-weight: 800; color: var(--white); font-size: clamp(20px, 2.2vw, 25px); line-height: 1.3; margin: 0 0 18px; }
.pre-footer-title .note { display: block; font-family: var(--font-body); font-weight: 500; font-size: 14px; color: rgba(255,255,255,0.55); margin-top: 6px; }
.pre-footer-body { font-family: var(--font-body); font-size: 15px; color: rgba(255,255,255,0.7); line-height: 1.5; margin: -8px 0 18px; }
.pre-footer-link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-heading); font-weight: 700; color: var(--white); font-size: 15.5px; text-decoration: none; border-bottom: 1px solid transparent; }
.pre-footer-link .arrow { color: var(--orange); transition: transform 0.2s var(--ease); }
.pre-footer-link:hover { border-bottom-color: var(--orange); }
.pre-footer-link:hover .arrow { transform: translateX(4px); }
@media (max-width: 720px) {
  .pre-footer { padding: 56px 0; }
  .pre-footer-inner { grid-template-columns: 1fr; }
  .pre-footer-col:first-child { border-right: none; border-bottom: 2px solid var(--orange); padding: 0 0 32px; margin-bottom: 32px; }
  .pre-footer-col:last-child { padding: 0; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--gray-light); padding: 56px 0 0; color: var(--black); position: relative; overflow: hidden; }

.footer-top { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; padding-bottom: 28px; }

.footer-brand-col { position: relative; max-width: 420px; }
.footer-brand-inner { position: relative; z-index: 1; }
.footer-brand-logo { height: 38px; width: auto; display: block; margin-bottom: 16px; }
.footer-brand-statement { font-family: var(--font-heading); font-weight: 700; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.3; letter-spacing: -0.005em; text-transform: none; color: var(--black); margin: 0 0 10px; }
.footer-brand-sub { font-size: 15.5px; line-height: 1.6; color: var(--gray-dark); margin: 0 0 18px; max-width: 32ch; }
.footer-address { font-size: 14.5px; line-height: 1.55; color: var(--black); margin: 14px 0 8px; }
.footer-address-link { display: inline-block; font-family: var(--font-heading); font-weight: 700; font-size: 14px; color: var(--orange); }
.footer-address-link:hover { color: var(--orange-hover); }

.footer-loop-col { max-width: 420px; }
.footer-loop-eyebrow { font-size: 13.5px; }
.footer-loop-sub { font-size: 15px; line-height: 1.6; color: var(--gray-dark); margin: 6px 0 14px; max-width: 36ch; }

.fnl-trigger { background: none; border: none; padding: 0; font-family: var(--font-heading); font-weight: 700; color: var(--orange); font-size: 14.5px; cursor: pointer; margin-bottom: 20px; }
.fnl-trigger:hover { color: var(--orange-hover); }
.footer-newsletter-form { display: flex; flex-direction: column; gap: 14px; max-width: 400px; margin-bottom: 10px; }
.footer-newsletter-form[hidden] { display: none; }
.fnl-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fnl-field { display: flex; flex-direction: column; gap: 6px; }
.fnl-label-text { font-family: var(--font-sport); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gray-dark); }
.fnl-field input[type="text"], .fnl-field input[type="email"] { border: none; border-bottom: 1.5px solid var(--black); background: none; font-family: var(--font-body); font-size: 15px; color: var(--black); padding: 6px 0; min-width: 0; width: 100%; }
.fnl-field input::placeholder { color: var(--gray-mid); }
.fnl-field input:focus { outline: none; border-bottom-color: var(--orange); }
.fnl-interests { display: flex; flex-direction: column; gap: 8px; margin-top: 2px; }
.fnl-optional { text-transform: none; font-weight: 400; color: var(--gray-mid); }
.footer-newsletter-form .chip-group { margin-top: 0; }
.footer-newsletter-form .chip span { padding: 6px 13px; font-size: 12.5px; }
.fnl-submit { align-self: flex-start; margin-top: 2px; background: var(--black); border: none; font-family: var(--font-heading); font-weight: 700; color: var(--white); font-size: 14.5px; cursor: pointer; padding: 12px 26px; border-radius: 999px; transition: background 0.15s var(--ease); }
.fnl-submit:hover:not(:disabled) { background: var(--orange); }
.fnl-submit:disabled { opacity: 0.6; cursor: default; }
.fnl-privacy { font-size: 12px; color: var(--gray-dark); margin: -4px 0 0; }
.fnl-error { display: none; font-size: 13px; font-weight: 600; color: #C0392B; margin: -4px 0 0; }
.fnl-error.show { display: block; }
.footer-newsletter-success { display: none; max-width: 400px; margin-bottom: 22px; }
.footer-newsletter-success.show { display: block; }
.footer-newsletter-success h4 { font-family: var(--font-display); font-weight: 900; font-size: 21px; color: var(--black); margin: 0 0 6px; }
.footer-newsletter-success p { font-size: 14.5px; color: var(--gray-dark); margin: 0; line-height: 1.5; }
@media (max-width: 420px) { .fnl-row { grid-template-columns: 1fr; } }

.chip-group { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; padding: 10px 18px; border-radius: 999px;
  border: 1.5px solid var(--gray-mid); background: var(--white); font-size: 14.5px; font-weight: 600;
  color: var(--black); transition: border-color 0.15s var(--ease), background 0.15s var(--ease), color 0.15s var(--ease);
}
.chip input:checked + span { border-color: var(--orange); background: var(--orange-soft); color: var(--orange-ink); }
.chip input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.footer-social-handle { display: block; font-family: var(--font-sport); font-weight: 700; font-size: 13.5px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--black); margin: 0 0 10px; }
.footer-social-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-social-links a { font-family: var(--font-heading); font-size: 14.5px; font-weight: 700; color: var(--orange); }
.footer-social-links a:hover { color: var(--orange-hover); }
.footer-social-pending { font-size: 14.5px; font-weight: 500; color: var(--black); }

.footer-divider { height: 1px; background: var(--gray-mid); }

.footer-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 32px 0; }
.footer-nav-col h4 { font-family: var(--font-sport); font-weight: 700; font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange); margin: 0 0 10px; }
.footer-nav-toggle-btn { display: none; }
.footer-nav-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.footer-nav-col a { display: block; padding: 4px 0; font-size: 15.5px; font-weight: 500; line-height: 1.4; color: var(--black); }
.footer-nav-col a:hover { color: var(--orange); }
.footer-help-email { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--gray-mid); }
.footer-help-email a { display: block; font-weight: 600; font-size: 15.5px; color: var(--black); }
.footer-help-email a:hover { color: var(--orange); }

.footer-utility { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 16px 0; border-top: 1px solid var(--gray-mid); }
.footer-utility span { color: var(--gray-dark); font-size: 13.5px; }
.footer-utility-legal { font-size: 13.5px; color: var(--gray-dark); }
.footer-utility-legal a { color: var(--gray-dark); }
.footer-utility-legal a:hover { color: var(--orange); }

@media (max-width: 980px) {
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-nav { grid-template-columns: 1fr 1fr; gap: 32px 40px; }
  .card-grid, .benefits-grid, .benefits-grid.three, .stat-row { grid-template-columns: 1fr 1fr; }
  .overview-inner { grid-template-columns: 1fr; gap: 40px; }
  .overview-art { order: -1; }
}
@media (max-width: 640px) {
  .site-footer { padding-top: 42px; }
  .card-grid, .benefits-grid, .benefits-grid.three, .stat-row { grid-template-columns: 1fr; }
  .hero-meta, .page-hero-meta { flex-wrap: wrap; gap: 24px; }
  .footer-utility { flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px 0; }
}
@media (max-width: 480px) {
  .footer-nav { grid-template-columns: 1fr; gap: 0; padding: 8px 0 24px; }
  .footer-nav-col { border-top: 1px solid var(--gray-mid); }
  .footer-nav-col h4 { display: none; }
  .footer-nav-toggle-btn {
    display: flex; width: 100%; justify-content: space-between; align-items: center;
    background: none; border: none; padding: 16px 0; margin: 0;
    font-family: var(--font-sport); font-weight: 700; font-size: 12.5px; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--orange); cursor: pointer;
  }
  .footer-nav-chevron { font-size: 19px; line-height: 1; color: var(--orange); font-family: var(--font-body); font-weight: 400; text-transform: none; letter-spacing: 0; transition: transform 0.2s var(--ease); }
  .footer-nav-col.open .footer-nav-chevron { transform: rotate(45deg); }
  .footer-nav-sub { max-height: 0; overflow: hidden; transition: max-height 0.25s var(--ease); }
  .footer-nav-col.open .footer-nav-sub { max-height: 500px; padding-bottom: 16px; }
}

/* ---------- Coaches / team ---------- */
.coaches { padding: 110px 0; background: var(--gray-light); }
.coach-editorial-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px 20px; }
.coach-editorial-photo { aspect-ratio: 1/1; border-radius: var(--radius-md); overflow: hidden; position: relative; }
.coach-editorial-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 12px; background: linear-gradient(to top, rgba(23,23,23,0.88), rgba(23,23,23,0) 70%); }
.coach-editorial-caption .tag { display: inline-block; font-family: var(--font-sport); font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--orange); margin-bottom: 4px; }
.coach-editorial-caption h4 { font-family: var(--font-heading); font-weight: 800; font-size: 15px; color: var(--white); margin: 0 0 2px; }
.coach-editorial-caption .title { font-size: 11.5px; color: rgba(255,255,255,0.8); margin: 0; }
.coach-editorial-bio { padding-top: 14px; }
.coach-editorial-bio p { font-size: 13px; line-height: 1.55; color: var(--gray-dark); margin-bottom: 10px; }
.coach-editorial-bio p:last-child { margin-bottom: 0; }
.coach-editorial-bio summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; font-family: var(--font-sport); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--orange); user-select: none; }
.coach-editorial-bio summary::-webkit-details-marker { display: none; }
.coach-editorial-bio summary::marker { content: ""; }
.coach-editorial-bio summary::before { content: "+"; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--orange); font-size: 13px; line-height: 1; flex-shrink: 0; }
.coach-editorial-bio[open] summary::before { content: "\2212"; }
.coach-editorial-bio summary:hover { opacity: 0.75; }
.coach-editorial-bio p { margin-top: 10px; }
@media (max-width: 980px) { .coach-editorial-grid { grid-template-columns: repeat(3, 1fr); gap: 32px 24px; } }
@media (max-width: 640px) { .coach-editorial-grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; } }
@media (max-width: 420px) { .coach-editorial-grid { grid-template-columns: 1fr; gap: 32px; } }
.coach-editorial-grid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .coach-editorial-grid.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .coach-editorial-grid.four { grid-template-columns: 1fr; } }

/* ---------- Private Training: sport skill columns ---------- */
.skills-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 36px 0 8px; }
.skills-col h4 { font-family: var(--font-sport); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--orange); margin-bottom: 10px; }
.skills-col p { font-size: 15px; line-height: 1.7; color: var(--gray-dark); }
@media (max-width: 640px) { .skills-cols { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- FAQ ---------- */
.faq-search-wrap { margin-bottom: 60px; }
.faq-search {
  width: 100%; max-width: 520px; padding: 15px 20px; border-radius: 999px;
  border: 1.5px solid var(--gray-mid); font-size: 15px; font-family: var(--font-body);
  background: var(--white);
}
.faq-search:focus { outline: none; border-color: var(--orange); }
.faq-category { margin-bottom: 56px; }
.faq-category h3 { font-family: var(--font-heading); font-size: 20px; margin: 0 0 18px; }
.faq-item { border-bottom: 1px solid var(--gray-mid); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; text-align: left; font-family: var(--font-heading); font-weight: 700; font-size: 16px; color: var(--black);
}
.faq-q-icon { flex-shrink: 0; font-size: 22px; color: var(--orange); transition: transform 0.2s var(--ease); line-height: 1; }
.faq-item.open .faq-q-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease); }
.faq-a p { font-size: 15px; line-height: 1.7; color: var(--gray-dark); padding-bottom: 20px; margin: 0; }
.faq-category-cta { margin-top: 18px; }
.faq-category-cta a { font-size: 14px; font-weight: 700; color: var(--orange); }
.faq-category-cta .arrow { display: inline-block; transition: transform 0.2s var(--ease); }
.faq-category-cta a:hover .arrow { transform: translateX(3px); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 60px; align-items: start; }
.form-row { margin-bottom: 26px; }
.form-row label { display: block; font-family: var(--font-heading); font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 16px 18px; border-radius: var(--radius-sm); border: 1.5px solid var(--gray-mid);
  font-family: var(--font-body); font-size: 16px; background: var(--white); color: var(--black);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--orange); }
.form-row textarea { resize: vertical; min-height: 130px; }
.form-success h3 { font-family: var(--font-display); font-size: clamp(26px, 3vw, 34px); margin: 0 0 10px; }
.form-success p { font-size: 16px; color: var(--gray-dark); }
.link { font-size: 14px; font-weight: 700; color: var(--orange); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Filter pills ---------- */
.filter-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-pill {
  padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--gray-mid);
  font-family: var(--font-nav); font-weight: 600; font-size: 13.5px; color: var(--gray-dark);
  transition: all 0.2s var(--ease);
}
.filter-pill:hover { border-color: var(--orange); color: var(--orange-ink); }
.filter-pill.active { background: var(--black); border-color: var(--black); color: var(--white); }
.is-hidden { display: none !important; }
.filter-empty { display: none; padding: 60px 0; text-align: center; color: var(--gray-dark); font-size: 15px; }

/* ---------- Schedule (day rows) ---------- */
.schedule-filters { position: sticky; top: 0; z-index: 20; background: var(--gray-light); border-bottom: 1px solid var(--gray-mid); }
.schedule-filters-inner { max-width: 1160px; margin: 0 auto; display: flex; gap: 26px; flex-wrap: wrap; align-items: flex-end; padding: 18px var(--pad); }
.schedule-filter-label { display: block; font-family: var(--font-sport); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gray-dark); margin-bottom: 8px; }
.schedule-filter-group { display: flex; gap: 8px; flex-wrap: nowrap; overflow-x: auto; }
.schedule-filter-group .filter-pill { padding: 8px 16px 8px 12px; font-size: 13px; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.schedule-filter-group .filter-pill svg { width: 15px; height: 15px; flex-shrink: 0; }
.schedule-filter-group .filter-pill.multi { padding-left: 9px; }
.schedule-filter-group .filter-pill.multi .check { width: 15px; height: 15px; border-radius: 3px; border: 1.5px solid var(--gray-mid); flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; transition: all 0.15s var(--ease); }
.schedule-filter-group .filter-pill.multi .check svg { display: none; width: 9px; height: 9px; }
.schedule-filter-group .filter-pill.multi.active { border-color: var(--orange); color: var(--black); background: var(--white); }
.schedule-filter-group .filter-pill.multi.active .check { background: var(--orange); border-color: var(--orange); }
.schedule-filter-group .filter-pill.multi.active .check svg { display: block; }
.schedule-filter-clear { margin-left: auto; align-self: center; font-family: var(--font-heading); font-weight: 700; font-size: 13px; color: var(--gray-dark); white-space: nowrap; }
.schedule-filter-clear:hover { color: var(--orange); }
.schedule-active-summary { max-width: 1000px; margin: 18px auto 0; font-size: 13px; color: var(--gray-dark); text-align: center; }
.schedule-active-summary strong { color: var(--black); font-weight: 700; }
@media (max-width: 900px) { .schedule-filter-clear { margin-left: 0; margin-top: 4px; } }

.sport-marker { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 6px; font-family: var(--font-sport); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; }
.sport-marker-icon { width: 15px; height: 15px; flex-shrink: 0; }
.sport-marker--basketball { background: var(--black); color: var(--white); }
.sport-marker--volleyball { background: var(--white); color: var(--black); border: 1.5px solid var(--black); }

.schedule-board { max-width: 1000px; margin: 0 auto; }
.schedule-note { text-align: center; font-size: 13.5px; color: var(--gray-dark); margin: -6px 0 36px; }
.day-heading-row { display: flex; align-items: center; gap: 12px; padding: 30px 0 10px; margin-bottom: 2px; border-bottom: 2px solid var(--black); }
.day-group:first-child .day-heading-row { padding-top: 0; }
.day-heading { font-family: var(--font-heading); font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: 0.06em; margin: 0; }
.day-sport-badge { margin-left: auto; }
.schedule-row { display: grid; grid-template-columns: 100px 1fr 130px; align-items: center; gap: 14px; padding: 15px 0; border-top: 1px solid var(--gray-mid); }
.day-group .schedule-row:first-of-type { border-top: none; }
.sr-time { font-family: var(--font-display); font-weight: 900; font-size: 16px; color: var(--black); }
.sr-session-sport { display: flex; align-items: center; gap: 6px; margin-bottom: 3px; }
.sr-program { font-family: var(--font-heading); font-weight: 700; font-size: 15px; }
.sr-age { font-size: 12.5px; color: var(--gray-dark); font-weight: 600; }
.sr-note { font-size: 12px; color: var(--gray-dark); margin-top: 2px; }
.sr-cta { font-weight: 700; font-size: 13.5px; color: var(--orange); white-space: nowrap; text-align: right; }
@media (max-width: 720px) {
  .schedule-row { grid-template-columns: 70px 1fr; }
  .sr-cta { grid-column: 1 / -1; text-align: left; margin-top: 6px; }
}

.drdish-card { background: var(--black); color: var(--white); border-radius: var(--radius-md); padding: 32px 34px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px; }
.drdish-card-sub { display: block; font-family: var(--font-sport); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--orange); margin-bottom: 8px; }
.drdish-card-info h4 { font-family: var(--font-display); font-weight: 900; font-size: clamp(22px, 2.6vw, 28px); margin: 0 0 8px; color: var(--white); }
.drdish-card-info p { color: rgba(255,255,255,0.7); font-size: 14px; margin: 0; max-width: 40ch; }
.drdish-card-rates { display: flex; gap: 28px; }
.drdish-rate .label { display: block; font-size: 11px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.06em; font-family: var(--font-sport); font-weight: 700; margin-bottom: 4px; }
.drdish-rate .value { font-family: var(--font-display); font-weight: 900; font-size: 22px; color: rgba(255,255,255,0.85); }
.drdish-rate--member .value { color: var(--orange); }
@media (max-width: 640px) { .drdish-card { padding: 28px 24px; } }

.pt-utility-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; background: var(--gray-light); border-radius: var(--radius-md); margin-top: 8px; }
.pt-utility-row p { font-size: 14.5px; color: var(--gray-dark); margin: 0; }
.pt-utility-row p strong { color: var(--black); }
.pt-utility-row a { font-weight: 700; font-size: 13.5px; color: var(--orange); white-space: nowrap; }
@media (max-width: 640px) { .pt-utility-row { flex-direction: column; align-items: flex-start; gap: 10px; } }

.ways-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ways-item { padding: 22px 0 0; border-top: 1px solid var(--gray-mid); }
.ways-item h4 { font-family: var(--font-heading); font-size: 15px; margin: 0 0 6px; }
.ways-item p { font-size: 13.5px; color: var(--gray-dark); margin-bottom: 12px; line-height: 1.5; }
.ways-item a { font-size: 13.5px; font-weight: 700; color: var(--orange); }
@media (max-width: 720px) { .ways-grid { grid-template-columns: 1fr 1fr; } }
.ways-grid.five { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 980px) { .ways-grid.five { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .ways-grid.five { grid-template-columns: 1fr 1fr; } }

/* ---------- Sport pages: compact How We Train / Find Your Group ---------- */
.train-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 36px; }
.train-item { text-align: center; padding: 18px 12px 0; border-top: 2px solid var(--black); }
.train-item h4 { font-family: var(--font-display); font-size: 19px; letter-spacing: 0.02em; margin: 0 0 8px; }
.train-item p { font-size: 13.5px; color: var(--gray-dark); line-height: 1.5; }
@media (max-width: 640px) { .train-row { grid-template-columns: 1fr 1fr; } }

.group-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 40px; }
.group-col { text-align: center; padding: 0 12px; }
.group-col .range { display: block; font-family: var(--font-sport); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--orange); margin-bottom: 10px; }
.group-col h3 { font-family: var(--font-heading); font-weight: 800; font-size: 20px; margin: 0 0 8px; }
.group-col p { font-size: 14px; color: var(--gray-dark); line-height: 1.6; }
@media (max-width: 720px) { .group-cols { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Sport pages: More Ways to Play feature grid ---------- */
.ways-feature-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
.ways-feature-primary { grid-row: 1 / 3; position: relative; border-radius: var(--radius-md); overflow: hidden; min-height: 340px; display: flex; align-items: flex-end; padding: 28px; }
.ways-feature-primary .photo { position: absolute; inset: 0; }
.ways-feature-primary .photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,23,23,0.05) 30%, rgba(23,23,23,0.88) 100%); }
.ways-feature-primary-body { position: relative; z-index: 2; }
.ways-feature-primary-body h4 { font-family: var(--font-heading); font-size: 22px; color: var(--white); margin: 0 0 8px; }
.ways-feature-primary-body p { color: rgba(255,255,255,0.8); font-size: 14.5px; margin-bottom: 14px; }
.ways-feature-link { display: inline-block; color: var(--white); font-weight: 700; font-size: 14px; }
.ways-feature-item { background: var(--gray-light); border-radius: var(--radius-md); padding: 22px; }
.ways-feature-item h4 { font-family: var(--font-heading); font-size: 15px; margin: 0 0 4px; }
.ways-feature-item p { font-size: 13px; color: var(--gray-dark); margin-bottom: 10px; line-height: 1.5; }
.ways-feature-item a { font-size: 13px; font-weight: 700; color: var(--orange); }
@media (max-width: 900px) {
  .ways-feature-grid { grid-template-columns: 1fr 1fr; }
  .ways-feature-primary { grid-column: 1 / 3; grid-row: auto; min-height: 220px; }
}
@media (max-width: 640px) {
  .ways-feature-grid { grid-template-columns: 1fr; }
  .ways-feature-primary { grid-column: auto; min-height: 260px; }
}
.ways-feature-grid.three { grid-template-columns: 1.3fr 1fr; }
@media (max-width: 640px) { .ways-feature-grid.three { grid-template-columns: 1fr; } }

/* ---------- Sport pages: age links + program links row ---------- */
.age-links { display: flex; justify-content: center; align-items: baseline; gap: 44px; flex-wrap: wrap; margin: 28px 0 36px; }
.age-links a { font-family: var(--font-display); font-size: clamp(38px, 6.4vw, 68px); color: var(--black); line-height: 1; transition: color 0.2s var(--ease); }
.age-links a:hover { color: var(--orange); }
@media (max-width: 640px) { .age-links { gap: 26px; } }

.program-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-bottom: 8px; }
.program-links a { font-size: 14px; font-weight: 700; color: var(--orange); white-space: nowrap; }
.filter-empty.show { display: block; }

/* ---------- Age grid ---------- */
.age-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.age-card { background: var(--gray-light); border-radius: var(--radius-md); padding: 30px; }
.age-card span.range { display: inline-block; font-family: var(--font-sport); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--orange-ink); background: var(--orange-soft); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
.age-card h4 { font-family: var(--font-heading); font-size: 18px; margin: 0 0 8px; }
.age-card p { font-size: 14.5px; color: var(--gray-dark); line-height: 1.6; margin: 0; }
@media (max-width: 900px) { .age-grid { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; counter-reset: step; }
.step-card { position: relative; padding-top: 8px; }
.step-card::before {
  counter-increment: step; content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: var(--white);
  font-family: var(--font-heading); font-weight: 800; font-size: 16px; margin-bottom: 18px;
}
.step-card h4 { font-family: var(--font-heading); font-size: 17px; margin: 0 0 8px; }
.step-card p { font-size: 14.5px; color: var(--gray-dark); line-height: 1.6; margin: 0; }
@media (max-width: 900px) { .steps-grid { grid-template-columns: 1fr; gap: 34px; } }

/* ---------- Pricing plans ---------- */
.plans-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.plan-differentiator { font-family: var(--font-sport); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--orange); margin: 0 0 14px; }
.plan-benefits-intro { font-size: 13px; font-weight: 700; color: var(--gray-dark); margin: -6px 0 6px; }
.plan-note { font-size: 13px; font-weight: 700; color: var(--black); margin: -12px 0 18px; }
.plan-best-for { font-size: 13px; color: var(--gray-dark); line-height: 1.5; margin-bottom: 22px; }

@media (max-width: 720px) { .dh-list { flex-direction: column; gap: 10px; } }

.alacarte-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.alacarte-item { padding: 24px; background: var(--white); border-radius: var(--radius-md); }
.alacarte-item h4 { font-family: var(--font-heading); font-size: 15px; margin: 0 0 4px; }
.alacarte-item .ac-price { font-family: var(--font-display); font-size: 23px; color: var(--orange); margin-bottom: 2px; }
.alacarte-item .ac-unit { font-size: 12px; color: var(--gray-dark); margin-bottom: 12px; }
.alacarte-item p { font-size: 13px; color: var(--gray-dark); line-height: 1.5; margin-bottom: 14px; }
.alacarte-item a { font-size: 13px; font-weight: 700; color: var(--black); }
@media (max-width: 900px) { .alacarte-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .alacarte-grid { grid-template-columns: 1fr; } }

.open-gym-pricing { display: flex; flex-wrap: wrap; gap: 30px; margin: 26px 0 32px; }
.open-gym-pricing div { }
.open-gym-pricing .og-label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray-dark); margin-bottom: 4px; }
.open-gym-pricing .og-val { font-family: var(--font-heading); font-weight: 800; font-size: 17px; }
.plan {
  background: var(--white); border: 1.5px solid var(--gray-mid); border-radius: var(--radius-lg);
  padding: 36px; display: flex; flex-direction: column;
}
.plan.featured { background: var(--black); border-color: var(--black); box-shadow: 0 20px 44px rgba(0,0,0,0.28); position: relative; z-index: 1; }
.plan-badge { position: absolute; top: -13px; left: 36px; background: var(--orange); color: var(--white); font-family: var(--font-sport); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 5px 14px; border-radius: 999px; }
.plan h3 { font-family: var(--font-heading); font-size: 20px; margin: 0 0 6px; }
.plan .plan-desc { font-size: 14px; color: var(--gray-dark); margin-bottom: 20px; }
.plan .price { font-family: var(--font-display); font-size: 44px; margin-bottom: 4px; }
.plan .price span { font-family: var(--font-body); font-weight: 500; font-size: 15px; color: var(--gray-dark); }
.plan .plan-features { margin: 24px 0 28px; flex: 1; }
.plan.featured h3, .plan.featured .price { color: var(--white); }
.plan.featured .plan-desc, .plan.featured .plan-best-for { color: rgba(255,255,255,0.68); }
.plan.featured .plan-differentiator { color: var(--orange); }
.plan.featured .price span { color: rgba(255,255,255,0.55); }
.plan.featured .plan-features li { color: rgba(255,255,255,0.92); }
.plan.featured .plan-features svg { color: var(--orange); }
.plan.featured .plan-best-for { border-top-color: rgba(255,255,255,0.16); }
.plan-best-for { border-top: 1px solid var(--gray-mid); padding-top: 16px; margin-top: auto; }
@media (max-width: 980px) { .plans-grid { grid-template-columns: 1fr; } }

/* ---------- Membership: court-time scale ---------- */
.court-scale { display: flex; gap: 22px; max-width: 760px; margin: 0 auto 46px; }
.court-scale-item { flex: 1; text-align: center; }
.court-scale-bar { height: 6px; border-radius: 999px; background: var(--gray-mid); overflow: hidden; }
.court-scale-bar span { display: block; height: 100%; background: var(--orange); border-radius: 999px; }
.court-scale-item p { font-family: var(--font-sport); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray-dark); margin: 10px 0 0; }
@media (max-width: 640px) { .court-scale { gap: 12px; } .court-scale-item p { font-size: 10.5px; } }

/* ---------- Membership: a la carte icons ---------- */
.ac-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--gray-light); border: 1.5px solid var(--gray-mid); color: var(--orange-ink); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.ac-icon svg { width: 30px; height: 30px; }
.alacarte-item:hover .ac-icon { border-color: var(--orange); background: var(--orange-soft); }
.alacarte-item { border: 1.5px solid var(--gray-mid); transition: border-color 0.2s var(--ease), transform 0.2s var(--ease); }
.alacarte-item:hover { border-color: var(--orange); transform: translateY(-3px); }

/* ---------- Membership page: pop pass ---------- */
#plans { position: relative; overflow: hidden; background: var(--white); }
#plans::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: repeating-linear-gradient(115deg, rgba(222, 80, 25,0.05) 0px, rgba(222, 80, 25,0.05) 1px, transparent 1px, transparent 68px);
}
#plans .plans-watermark {
  position: absolute; top: -0.14em; right: -0.03em; z-index: 0; pointer-events: none;
  font-family: var(--font-display); font-weight: 900; line-height: 1; white-space: nowrap;
  font-size: clamp(110px, 15vw, 230px); color: rgba(222, 80, 25,0.07);
}
#plans .container { position: relative; z-index: 1; }

#plans .section-head.center::after,
#a-la-carte .section-head.center::after {
  content: ''; display: block; width: 56px; height: 4px; background: var(--orange); border-radius: 999px; margin: 20px auto 0;
}

#plans .court-scale-bar { height: 10px; }
#plans .court-scale-bar span { box-shadow: 0 0 14px rgba(222, 80, 25,0.55); }
#plans .court-scale-item p { font-size: 13.5px; color: var(--black); }

#plans .plan { border-width: 2px; position: relative; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
#plans .plan::before {
  content: ''; position: absolute; top: -2px; left: 22px; right: 22px; height: 5px;
  border-radius: 999px 999px 0 0; background: var(--orange);
}
#plans .plan.featured::before { background: linear-gradient(90deg, var(--orange), #F0A560); }
#plans .plan:hover { transform: translateY(-7px); box-shadow: 0 20px 36px rgba(23,23,23,0.14); }
#plans .plan .price { font-size: 52px; }
#plans .plan-badge { top: -15px; font-size: 12px; padding: 6px 16px; box-shadow: 0 8px 16px rgba(222, 80, 25,0.4); }
#plans .plan.featured { transform: scale(1.045); box-shadow: 0 30px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(222, 80, 25,0.3); }
#plans .plan.featured:hover { transform: scale(1.045) translateY(-7px); }
@media (max-width: 980px) {
  #plans .plan.featured { transform: none; }
  #plans .plan.featured:hover { transform: translateY(-7px); }
  #plans .plans-watermark { display: none; }
}

#a-la-carte { position: relative; }
#a-la-carte .alacarte-item { position: relative; border-width: 2px; box-shadow: 0 6px 18px rgba(23,23,23,0.05); }
#a-la-carte .alacarte-item::after {
  content: ''; position: absolute; top: -2px; left: 22px; right: 22px; height: 4px;
  border-radius: 999px 999px 0 0; background: var(--orange); opacity: 0; transition: opacity 0.2s var(--ease);
}
#a-la-carte .alacarte-item:hover::after { opacity: 1; }
#a-la-carte .ac-icon { width: 64px; height: 64px; box-shadow: 0 4px 12px rgba(23,23,23,0.1); }
#a-la-carte .ac-icon svg { width: 34px; height: 34px; }
#a-la-carte .alacarte-item .ac-price { font-size: 26px; }

/* ---------- Compare table ---------- */
.compare-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-md); overflow: hidden; }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--gray-mid); font-size: 14.5px; }
.compare-table th { font-family: var(--font-heading); font-size: 14px; background: var(--gray-light); }
.compare-table td:not(:first-child), .compare-table th:not(:first-child) { text-align: center; }
.compare-table tr:last-child td { border-bottom: none; }

/* ---------- Schedule table ---------- */
.schedule-table { width: 100%; border-collapse: collapse; }
.schedule-table th, .schedule-table td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--gray-mid); font-size: 14.5px; }
.schedule-table th { font-family: var(--font-heading); font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--gray-dark); }
.schedule-table .tag { display: inline-block; font-size: 11.5px; font-weight: 700; color: var(--orange-ink); background: var(--orange-soft); padding: 4px 10px; border-radius: 999px; }
.filter-group { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.filter-group select { padding: 12px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--gray-mid); font-family: var(--font-body); font-size: 14px; background: var(--white); }

/* ---------- Calendar ---------- */
.cal-month-head { margin: 60px 0 26px; scroll-margin-top: 180px; }
.cal-month-head:first-of-type { margin-top: 0; }
.cal-list { display: flex; flex-direction: column; gap: 16px; }
.cal-item {
  display: grid; grid-template-columns: 96px 1fr; gap: 24px;
  background: var(--white); border-radius: var(--radius-md); padding: 26px;
  border-left: 5px solid var(--gray-mid);
}
.cal-item--camp { border-left-color: var(--orange); }
.cal-date { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: var(--gray-light); border-radius: var(--radius-sm); padding: 12px 6px; }
.cal-weekday { font-family: var(--font-sport); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray-dark); }
.cal-month { font-family: var(--font-sport); font-size: 15px; font-weight: 700; text-transform: uppercase; color: var(--orange); margin-top: 2px; }
.cal-day { font-family: var(--font-display); font-size: 26px; line-height: 1; margin-top: 2px; }
.cal-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; color: var(--orange-ink); background: var(--orange-soft); padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }
.cal-body h4 { font-family: var(--font-heading); font-size: 19px; margin: 0 0 6px; }
.cal-badge { display: inline-block; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--white); background: var(--orange); padding: 3px 9px; border-radius: 999px; margin-left: 10px; vertical-align: middle; }
.cal-sub { display: block; font-size: 13.5px; font-weight: 600; color: var(--gray-dark); margin-bottom: 8px; }
.cal-body p { font-size: 14.5px; line-height: 1.6; color: var(--gray-dark); margin: 0 0 8px; }
.cal-note { font-weight: 700; color: var(--black); }
.cal-bullets { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 10px 0; padding: 0; }
.cal-bullets li { font-size: 13.5px; color: var(--gray-dark); position: relative; padding-left: 14px; }
.cal-bullets li::before { content: '•'; position: absolute; left: 0; color: var(--orange); }
.cal-link { font-size: 13.5px; font-weight: 700; color: var(--orange-ink); }
.cal-item--compact { padding: 18px 26px; }
.cal-item--compact .cal-day { font-size: 20px; }
.cal-item--compact .cal-body h4 { font-size: 16px; }
.cal-item--signature { background: var(--gray-light); border-left-color: var(--orange); }
.cal-item--signature-xl { background: var(--black); border-left-color: var(--orange); }
.cal-item--signature-xl .cal-date { background: var(--orange); }
.cal-item--signature-xl .cal-weekday, .cal-item--signature-xl .cal-month { color: rgba(255,255,255,0.85); }
.cal-item--signature-xl .cal-day { color: var(--white); }
.cal-item--signature-xl .cal-body h4 { font-family: var(--font-display); color: var(--white); font-size: clamp(24px, 3vw, 32px); }
.cal-item--signature-xl .cal-sub, .cal-item--signature-xl .cal-body p { color: rgba(255,255,255,0.75); }
.cal-item--signature-xl .cal-note { color: var(--orange); }
.cal-item--signature-xl .cal-bullets li { color: rgba(255,255,255,0.75); }
@media (max-width: 640px) { .cal-item { grid-template-columns: 1fr; } .cal-date { flex-direction: row; gap: 8px; justify-content: flex-start; padding: 8px 12px; } }

/* ---------- Calendar: seasonal card decoration ---------- */
.cal-item--signature-xl { position: relative; overflow: hidden; }
.cal-item--signature-xl .cal-body { position: relative; }
.cal-lights { position: absolute; top: 0; left: 26px; right: 26px; display: flex; justify-content: space-between; z-index: 1; pointer-events: none; }
.cal-lights span { width: 7px; height: 7px; border-radius: 50%; margin-top: -3.5px; box-shadow: 0 0 6px currentColor; animation: cal-twinkle 1.8s ease-in-out infinite; }
.cal-lights span:nth-child(odd) { background: var(--orange); color: var(--orange); }
.cal-lights span:nth-child(even) { background: #FCEBD8; color: #FCEBD8; }
.cal-lights span:nth-child(3n) { animation-delay: 0.5s; }
.cal-lights span:nth-child(4n) { animation-delay: 1s; }
@keyframes cal-twinkle { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
.cal-decor { position: absolute; top: 2px; right: 0; line-height: 0; pointer-events: none; }
.cal-decor svg circle { animation: cal-twinkle 1.8s ease-in-out infinite; }
.cal-decor svg circle:nth-of-type(2) { animation-delay: 0.3s; }
.cal-decor svg circle:nth-of-type(3) { animation-delay: 0.6s; }
.cal-decor svg circle:nth-of-type(4) { animation-delay: 0.9s; }
.cal-decor svg circle:nth-of-type(5) { animation-delay: 1.2s; }
.cal-decor svg circle:nth-of-type(6) { animation-delay: 1.5s; }
@media (max-width: 640px) {
  .cal-decor { position: static; margin-bottom: 14px; }
  .cal-lights { left: 16px; right: 16px; }
}

/* ---------- Values row ---------- */
.scroll-cue { position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%); z-index: 2; opacity: 0.55; animation: scrollCueBounce 2.2s ease-in-out infinite; }
@keyframes scrollCueBounce { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

.manifesto-item { padding: 36px 0; border-top: 1px solid var(--gray-mid); }
.manifesto-item:first-child { border-top: none; }
.manifesto-item h3 { font-family: var(--font-display); font-size: clamp(30px, 5vw, 54px); line-height: 0.98; margin: 0 0 10px; }
.manifesto-item p { font-size: 15px; color: var(--gray-dark); max-width: 38ch; }
.manifesto-photo-strip { aspect-ratio: 16/6; border-radius: var(--radius-md); overflow: hidden; margin: 36px 0; }
.manifesto-row { display: flex; align-items: center; gap: 48px; padding: 40px 0; border-top: 1px solid var(--gray-mid); }
.manifesto-row:first-child { border-top: none; }
.manifesto-row--reverse { flex-direction: row-reverse; }
.manifesto-row .manifesto-item { flex: 1; min-width: 0; padding: 0; border-top: none; }
.manifesto-row .manifesto-item p { max-width: none; }
.manifesto-row .manifesto-photo-strip { flex: 1; min-width: 0; aspect-ratio: 4/3; max-width: none; margin: 0; }
@media (max-width: 760px) {
  .manifesto-row, .manifesto-row--reverse { flex-direction: column; gap: 22px; padding: 32px 0; }
  .manifesto-row .manifesto-photo-strip { width: 100%; aspect-ratio: 4/3; }
}
@media (min-width: 900px) {
  .manifesto-item--right { text-align: right; margin-left: 14%; }
  .manifesto-item--right p { margin-left: auto; margin-right: 0; }
}

/* ---------- Shop ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card { background: var(--white); border-radius: var(--radius-md); overflow: hidden; }
.product-photo { aspect-ratio: 4/5; }
.product-card-body { padding: 18px 4px 0; }
.product-card-body h4 { font-family: var(--font-heading); font-size: 16px; margin: 0 0 6px; }
.product-price { font-weight: 700; color: var(--orange-ink); margin-bottom: 14px; }
.product-add { width: 100%; padding: 12px; border-radius: var(--radius-sm); border: 1.5px solid var(--black); font-weight: 700; font-size: 13.5px; transition: all 0.2s var(--ease); }
.product-add:hover { background: var(--black); color: var(--white); }
@media (max-width: 980px) { .product-grid { grid-template-columns: 1fr 1fr; } }

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

/* ---------- Responsive line breaks: forced <br> that should only apply on wider screens ---------- */
.br-desktop { display: none; }
@media (min-width: 641px) { .br-desktop { display: inline; } }

/* ---------- Legal pages ---------- */
.legal-header { padding: 150px 0 46px; background: var(--gray-light); border-bottom: 1px solid var(--gray-mid); }
.legal-header .container { max-width: 780px; }
.legal-header .eyebrow { color: var(--orange); }
.legal-header h1 { font-family: var(--font-heading); font-weight: 800; font-size: clamp(30px, 4vw, 42px); line-height: 1.12; margin: 12px 0 16px; color: var(--black); }
.legal-header-intro { font-size: 16px; line-height: 1.7; color: var(--gray-dark); max-width: 62ch; margin: 0 0 22px; }
.legal-updated { font-size: 12.5px; font-family: var(--font-sport); font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--gray-dark); }
.legal-updated strong { display: block; font-family: var(--font-display); font-weight: 900; font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--black); margin-top: 4px; }

/* Cross-page switcher (mobile pill row, top) */
.legal-crumb-mobile { display: none; }
@media (max-width: 980px) {
  .legal-crumb-mobile {
    display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 13px; padding: 16px 0 0;
    font-family: var(--font-sport); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray-dark);
  }
  .legal-crumb-mobile a { color: var(--gray-dark); }
  .legal-crumb-mobile a.active { color: var(--orange); }
  .legal-crumb-mobile span.sep { color: var(--gray-mid); }
}

.legal-body { padding: 56px 0 100px; }
.legal-body .container { max-width: 1080px; }

/* Back-compat: facility-policies / membership-policies / participant-waiver still use the
   flat (non-shell) legal-body layout with .legal-toc / .legal-note. */
.legal-body:not(:has(.legal-shell)) .container { max-width: 760px; }
.legal-toc { background: var(--gray-light); border-radius: var(--radius-md); padding: 26px 30px; margin-bottom: 50px; }
.legal-toc h2 { font-family: var(--font-heading); font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 14px; }
.legal-toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 30px; }
.legal-toc li { font-size: 14px; margin-bottom: 8px; break-inside: avoid; }
.legal-toc a { color: var(--gray-dark); }
.legal-toc a:hover { color: var(--orange); }
.legal-note { background: var(--gray-light); border-left: 3px solid var(--orange); padding: 16px 20px; font-size: 13.5px; line-height: 1.7; color: var(--gray-dark); margin: 22px 0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.legal-body:not(:has(.legal-shell)) h2 { font-family: var(--font-heading); font-weight: 800; font-size: 21px; margin: 44px 0 14px; scroll-margin-top: 180px; }
.legal-body:not(:has(.legal-shell)) section:first-of-type h2 { margin-top: 0; }
.legal-body:not(:has(.legal-shell)) p { font-size: 15.5px; line-height: 1.8; color: var(--gray-dark); margin-bottom: 16px; }
.legal-body:not(:has(.legal-shell)) ul { margin: 0 0 16px; padding-left: 22px; }
.legal-body:not(:has(.legal-shell)) li { font-size: 15.5px; line-height: 1.8; color: var(--gray-dark); margin-bottom: 7px; }
.legal-body:not(:has(.legal-shell)) strong { color: var(--black); }
.legal-body:not(:has(.legal-shell)) a { color: var(--orange-ink); font-weight: 600; }
@media (max-width: 640px) { .legal-toc ol { columns: 1; } }

.legal-shell { display: grid; grid-template-columns: 240px 1fr; gap: 64px; align-items: start; }
.legal-content { max-width: 720px; }

/* Left rail */
.legal-rail { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 36px; }
.legal-rail-group h3 { font-family: var(--font-sport); font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.09em; color: var(--gray-dark); margin: 0 0 12px; }
.legal-rail-group ul, .legal-rail-group ol { list-style: none; margin: 0; padding: 0; }
.legal-rail-group li { margin-bottom: 2px; }
.legal-rail-link {
  display: flex; align-items: center; gap: 8px; padding: 7px 0; font-size: 13.5px; font-weight: 500;
  color: var(--gray-dark); border-left: 2px solid transparent; padding-left: 12px; margin-left: -13px;
  line-height: 1.4; transition: color 0.15s var(--ease), border-color 0.15s var(--ease);
}
.legal-rail-link:hover { color: var(--black); }
.legal-rail-link.active { color: var(--orange); font-weight: 700; border-left-color: var(--orange); }
.legal-rail-toc { max-height: 60vh; overflow-y: auto; }
@media (max-width: 980px) { .legal-shell { grid-template-columns: 1fr; } .legal-rail { display: none; } }

/* Mobile collapsible "On This Page" */
.legal-toc-mobile { display: none; }
@media (max-width: 980px) {
  .legal-toc-mobile { display: block; margin-bottom: 36px; border: 1px solid var(--gray-mid); border-radius: var(--radius-sm); }
  .legal-toc-mobile summary {
    list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
    padding: 14px 18px; font-family: var(--font-sport); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--black);
  }
  .legal-toc-mobile summary::-webkit-details-marker { display: none; }
  .legal-toc-mobile summary::after { content: '+'; font-size: 18px; color: var(--orange); }
  .legal-toc-mobile[open] summary::after { content: '−'; }
  .legal-toc-mobile ol { margin: 0; padding: 0 18px 16px; list-style: none; }
  .legal-toc-mobile li { margin-bottom: 8px; }
  .legal-toc-mobile a { font-size: 14px; color: var(--gray-dark); }
}

.legal-content h2 { font-family: var(--font-heading); font-weight: 800; font-size: 21px; margin: 44px 0 14px; scroll-margin-top: 180px; }
.legal-content section:first-of-type h2 { margin-top: 0; }
.legal-content p { font-size: 15.5px; line-height: 1.8; color: var(--gray-dark); margin-bottom: 16px; }
.legal-content ul { margin: 0 0 16px; padding-left: 22px; }
.legal-content li { font-size: 15.5px; line-height: 1.8; color: var(--gray-dark); margin-bottom: 7px; }
.legal-content strong { color: var(--black); }
.legal-content a { color: var(--orange); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(222, 80, 25,0.4); }
.legal-content a:hover { color: var(--orange-hover); text-decoration-color: var(--orange-hover); }
.legal-content a:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.legal-contact-block a { color: var(--orange); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.legal-contact-block a:hover { color: var(--orange-hover); }

/* Counsel review notice — pink, staging-only, never shown once resolved */

.legal-contact-block { font-size: 15.5px; line-height: 1.8; color: var(--gray-dark); }
.legal-contact-block strong { display: block; color: var(--black); margin-bottom: 2px; }

/* Bottom cross-page switcher */
.legal-switcher { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--gray-mid); }
.legal-switcher a {
  font-family: var(--font-sport); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gray-dark);
  padding-bottom: 3px; border-bottom: 2px solid transparent;
}
.legal-switcher a:hover { color: var(--black); }
.legal-switcher a.active { color: var(--orange); border-bottom-color: var(--orange); }

.legal-placeholder { background: var(--gray-light); border-radius: var(--radius-md); padding: 40px; text-align: center; }
.legal-placeholder h2 { margin-top: 0; }

/* ---------- Resources: policy rows ---------- */
.policy-group-label { font-family: var(--font-sport); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gray-dark); margin: 0 0 4px; }
.policy-group + .policy-group-label { margin-top: 40px; }
.policy-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; border-top: 1px solid var(--gray-mid); }
.policy-row:first-of-type { border-top: none; }
.policy-row-text h4 { font-family: var(--font-heading); font-weight: 700; font-size: 16px; margin: 0 0 4px; color: var(--black); }
.policy-row-text p { font-size: 13.5px; color: var(--gray-dark); margin: 0; line-height: 1.5; }
.policy-row-arrow { flex-shrink: 0; color: var(--orange); font-weight: 700; font-size: 18px; transition: transform 0.2s var(--ease); }
.policy-row:hover .policy-row-arrow { transform: translateX(4px); }
.policy-row.secondary .policy-row-text h4 { font-size: 14.5px; color: var(--gray-dark); }
@media (max-width: 560px) { .policy-row { align-items: flex-start; } }

/* ---------- Leagues: season info + evaluation callout ---------- */
.season-info { display: flex; gap: 40px; flex-wrap: wrap; margin: 28px 0 36px; padding-top: 24px; border-top: 1px solid var(--gray-mid); }
.season-info div { display: flex; flex-direction: column; gap: 4px; }
.season-info span { font-family: var(--font-sport); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gray-dark); }
.season-info strong { font-family: var(--font-heading); font-weight: 700; font-size: 16px; color: var(--black); }
.eval-callout { background: var(--orange-soft); border-left: 3px solid var(--orange); border-radius: 0 var(--radius-md) var(--radius-md) 0; padding: 32px 36px; margin-top: 20px; }
.eval-callout .eyebrow { margin-bottom: 10px; }
.eval-callout p { font-size: 15.5px; line-height: 1.7; color: var(--gray-dark); margin-bottom: 14px; max-width: 62ch; }
.eval-callout p:last-child { margin-bottom: 0; }
.eval-callout .fee { font-family: var(--font-heading); font-weight: 800; font-size: 18px; color: var(--black); margin-bottom: 8px; }
@media (max-width: 640px) { .season-info { gap: 24px; flex-direction: column; } .eval-callout { padding: 26px 22px; } }

/* ---------- Homepage: Programs ---------- */
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card-grid.two .program-card { aspect-ratio: 4/5; }
.pt-banner { display: flex; align-items: center; gap: 28px; background: var(--gray-light); border-radius: var(--radius-md); padding: 22px; margin-top: 24px; }
.pt-banner .photo { width: 120px; height: 90px; border-radius: var(--radius-sm); flex-shrink: 0; }
.pt-banner-body span { font-family: var(--font-sport); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--orange); }
.pt-banner-body h4 { font-family: var(--font-heading); font-size: 17px; margin: 4px 0 4px; }
.pt-banner-body p { font-size: 13.5px; color: var(--gray-dark); margin-bottom: 6px; }
.pt-banner-body a { font-size: 13.5px; font-weight: 700; color: var(--black); }
@media (max-width: 640px) { .pt-banner { flex-direction: column; align-items: flex-start; } .pt-banner .photo { width: 100%; height: 140px; } }

/* ---------- Homepage: Why The Courts ---------- */
.principles-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.principles-art { aspect-ratio: 4/5; border-radius: var(--radius-md); overflow: hidden; }
.principles-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 32px; }
.principle-item { padding: 22px 0; border-top: 1px solid var(--gray-mid); }
.principle-item h3 { font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.05; margin: 0 0 8px; }
.principle-item p { font-size: 14px; color: var(--gray-dark); line-height: 1.5; max-width: 30ch; }
@media (max-width: 900px) { .principles-split { grid-template-columns: 1fr; gap: 32px; } .principles-art { order: -1; } }
@media (max-width: 560px) { .principles-grid { grid-template-columns: 1fr; } }

/* ---------- Homepage: Membership strip ---------- */
.mini-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.mini-plan { position: relative; background: var(--white); border: 1px solid var(--gray-mid); border-radius: var(--radius-md); padding: 26px 22px; }
.mini-plan.featured { border-color: var(--orange); box-shadow: 0 12px 32px rgba(255,90,0,0.12); }
.mini-plan-badge { position: absolute; top: -12px; left: 22px; background: var(--orange); color: var(--white); font-family: var(--font-sport); font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 12px; border-radius: 999px; }
.mini-plan h3 { font-family: var(--font-heading); font-size: 17px; margin: 0 0 4px; }
.mini-plan .price { font-family: var(--font-display); font-size: 30px; margin-bottom: 4px; }
.mini-plan .price span { font-family: var(--font-body); font-weight: 500; font-size: 13px; color: var(--gray-dark); }
.mini-plan .differentiator { font-size: 13px; color: var(--gray-dark); margin-bottom: 16px; }
.mini-plan a { font-size: 13.5px; font-weight: 700; color: var(--black); }
@media (max-width: 900px) { .mini-plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .mini-plans { grid-template-columns: 1fr; } }

/* ---------- Homepage: What's Happening ---------- */
.upcoming-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.upcoming-item { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 3/4; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; }
.upcoming-item .photo { position: absolute; inset: 0; }
.upcoming-item .photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,23,23,0.05) 30%, rgba(23,23,23,0.88) 100%); }
.upcoming-item-body { position: relative; z-index: 2; }
.upcoming-item-body .up-type { display: block; font-family: var(--font-sport); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--orange); margin-bottom: 8px; }
.upcoming-item-body .up-date { display: block; font-family: var(--font-display); color: var(--white); font-size: clamp(20px, 2.6vw, 26px); line-height: 1; margin-bottom: 6px; }
.upcoming-item-body h4 { font-family: var(--font-heading); color: var(--white); font-size: 19px; margin: 0 0 6px; }
.upcoming-item-body p { color: rgba(255,255,255,0.75); font-size: 13.5px; margin-bottom: 12px; }
.upcoming-item-body a { color: var(--white); font-weight: 700; font-size: 13.5px; }
@media (max-width: 900px) { .upcoming-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .upcoming-grid { grid-template-columns: 1fr; } }

/* ---------- Homepage: optional gift card module ---------- */
.gift-module { padding: 100px 0; background: var(--black); }
.gift-module-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.gift-module-art { aspect-ratio: 4/5; border-radius: var(--radius-md); overflow: hidden; }
.gift-module-text .subhead { font-family: var(--font-heading); font-weight: 800; color: var(--orange); font-size: clamp(24px, 3vw, 32px); margin: 0 0 14px; }
.gift-module-text p { color: rgba(255,255,255,0.75); font-size: 16px; line-height: 1.7; margin-bottom: 24px; }
@media (max-width: 900px) { .gift-module-inner { grid-template-columns: 1fr; gap: 36px; } .gift-module-art { order: -1; } }

/* ---------- Events: Friday Night Lights stadium lighting effect ---------- */
.stadium-lights { position: absolute; inset: 0; overflow: hidden; z-index: 1; pointer-events: none; }
.stadium-glow-bar { position: absolute; top: 0; left: 0; right: 0; height: 220px; background: radial-gradient(ellipse 80% 100% at 50% 0%, rgba(252,235,216,0.14), rgba(252,235,216,0) 72%); }
.stadium-glow { position: absolute; top: -12%; height: 90%; width: 34vw; max-width: 460px; min-width: 220px; border-radius: 50%; background: radial-gradient(ellipse 50% 100% at 50% 0%, rgba(252,235,216,0.16), rgba(252,235,216,0.05) 45%, rgba(252,235,216,0) 76%); filter: blur(22px); animation: stadium-drift 10s ease-in-out infinite; }
.stadium-glow--1 { left: -8%; animation-delay: 0s; }
.stadium-glow--2 { left: 28%; animation-delay: 3.3s; opacity: 0.85; }
.stadium-glow--3 { right: -8%; left: auto; animation-delay: 6.6s; }
@keyframes stadium-drift { 0%, 100% { opacity: 0.75; } 50% { opacity: 1; } }
.stadium-grain { position: absolute; inset: 0; opacity: 0.05; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.stadium-lights-content { position: relative; z-index: 2; }
.stadium-lights-content .section-title { text-shadow: 0 0 34px rgba(252,235,216,0.25); }
@media (max-width: 900px) { .stadium-glow--2 { display: none; } }
@media (prefers-reduced-motion: reduce) { .stadium-glow { animation: none; opacity: 0.85; } }

/* ---------- Events: Parties + Events split ---------- */
.party-split { background: var(--black); padding: 100px 0; overflow: hidden; position: relative; }
.party-split-line { position: absolute; left: -6%; bottom: 14%; width: 38%; height: 1px; background: var(--orange); opacity: 0.5; z-index: 1; }
.party-split-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; position: relative; z-index: 2; }
.party-split-copy .eyebrow { color: var(--orange); }
.party-split-title { font-family: var(--font-display); font-weight: 900; color: var(--white); font-size: clamp(38px, 5.5vw, 62px); line-height: 0.98; margin: 14px 0 24px; }
.party-split-copy p { color: rgba(255,255,255,0.78); font-size: 16px; line-height: 1.7; margin: 0 0 16px; max-width: 46ch; }
.party-split-copy p.bold { color: var(--white); font-weight: 700; }
.party-split-price { color: var(--white); font-weight: 700; font-size: 15px; margin-bottom: 24px !important; }
.party-split-strip { display: block; font-family: var(--font-sport); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 22px; }
.party-split-photo { position: relative; aspect-ratio: 4/5; border-radius: var(--radius-md); overflow: hidden; }
@media (max-width: 860px) { .party-split-inner { grid-template-columns: 1fr; gap: 36px; } .party-split-photo { order: -1; } }

/* ---------- Events: featured teaser ---------- */
.feat-section { padding: 64px 0 0; }
.feat-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; align-items: stretch; }
.feat-col-side { display: flex; flex-direction: column; gap: 22px; }
.feat-card { position: relative; border-radius: var(--radius-md); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 32px; min-height: 340px; }
.feat-card--large { min-height: 100%; }
.feat-card--small { min-height: 154px; padding: 24px; background: var(--gray-light); justify-content: center; }
.feat-card .photo { position: absolute; inset: 0; }
.feat-card .photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,23,23,0.05) 25%, rgba(23,23,23,0.88) 100%); }
.feat-status { position: relative; z-index: 2; display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; font-family: var(--font-sport); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--white); background: rgba(255,255,255,0.14); backdrop-filter: blur(4px); padding: 5px 12px; border-radius: 999px; margin-bottom: auto; }
.feat-card--small .feat-status { background: var(--orange-soft); color: var(--orange-ink); }
.feat-status--live { gap: 8px; color: var(--white); background: var(--orange); box-shadow: 0 8px 20px rgba(222, 80, 25,0.4); padding: 8px 17px; font-size: 14px; letter-spacing: 0.05em; }
.feat-status--live::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--white); flex-shrink: 0; animation: featStatusPulse 1.6s ease-in-out infinite; }
@keyframes featStatusPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.7); } }
@media (prefers-reduced-motion: reduce) { .feat-status--live::before { animation: none; } }
.feat-body { position: relative; z-index: 2; }
.feat-card--large .feat-body h3 { font-family: var(--font-display); font-weight: 900; color: var(--white); font-size: clamp(26px, 3vw, 38px); line-height: 1.04; margin: 14px 0 10px; }
.feat-card--large .feat-body p { color: rgba(255,255,255,0.78); font-size: 15px; line-height: 1.6; margin: 0 0 16px; max-width: 42ch; }
.feat-card--small .feat-body h4 { font-family: var(--font-heading); font-weight: 800; font-size: 18px; color: var(--black); margin: 10px 0 6px; }
.feat-card--small .feat-body p { font-size: 13.5px; line-height: 1.55; color: var(--gray-dark); margin: 0; }
.feat-card--large .feat-link, .feat-card--small .feat-link { position: relative; z-index: 2; font-size: 13.5px; font-weight: 700; }
.feat-card--large .feat-link { color: var(--white); }
.feat-card--small .feat-link { color: var(--orange); display: inline-block; margin-top: 8px; }
@media (max-width: 900px) { .feat-grid { grid-template-columns: 1fr; } .feat-card--large { min-height: 320px; } }

/* ---------- Events: month tabs + 70/30 layout ---------- */
.events-month-tabs { display: flex; gap: 8px; margin-bottom: 26px; border-bottom: 1px solid var(--gray-mid); }
.events-month-tab {
  font-family: var(--font-sport); font-weight: 700; font-size: 22px; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--gray-dark); padding: 10px 4px 14px; border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.events-month-tab:hover { color: var(--black); }
.events-month-tab.active { color: var(--black); border-bottom-color: var(--orange); }
.events-layout { display: grid; grid-template-columns: 1fr 320px; gap: 56px; align-items: start; margin-top: 30px; }
.events-rail { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 22px; }
@media (max-width: 980px) { .events-layout { grid-template-columns: 1fr; } .events-rail { position: static; order: -1; } }

.fnl-card { position: relative; background: var(--charcoal); border-radius: var(--radius-md); padding: 30px 26px; overflow: hidden; }
.fnl-card .stadium-lights { inset: 0; }
.fnl-card-content { position: relative; z-index: 2; }
.fnl-card-marker { display: inline-block; font-family: var(--font-sport); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--orange); margin-bottom: 10px; }
.fnl-card-content h4 { font-family: var(--font-display); font-weight: 900; color: var(--white); font-size: 22px; margin: 0 0 10px; }
.fnl-card-content p { color: rgba(255,255,255,0.7); font-size: 13.5px; line-height: 1.6; margin: 0; }

.rail-party-card { background: var(--gray-light); border-radius: var(--radius-md); padding: 28px 26px; }
.rail-party-card .eyebrow { color: var(--orange); font-size: 12px; }
.rail-party-card h4 { font-family: var(--font-display); font-weight: 900; font-size: 21px; margin: 10px 0 10px; color: var(--black); }
.rail-party-card p { font-size: 13.5px; line-height: 1.6; color: var(--gray-dark); margin: 0 0 12px; }
.rail-party-card .rail-party-strip { display: block; font-family: var(--font-sport); font-size: 10.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--gray-dark); margin-bottom: 16px; }
.rail-party-glance { display: flex; gap: 32px; margin-bottom: 18px; }
.rail-party-glance-item { display: flex; flex-direction: column; gap: 1px; }
.rail-party-glance-item .num { font-family: var(--font-display); font-weight: 900; font-size: 30px; color: var(--orange); line-height: 1; }
.rail-party-glance-item .label { font-family: var(--font-sport); font-weight: 700; font-size: 11.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--gray-dark); line-height: 1.3; }
.rail-party-card .btn { width: 100%; text-align: center; font-size: 13.5px; padding: 12px 18px; }
.rail-party-card .rail-secondary { display: block; text-align: center; font-size: 12.5px; color: var(--gray-dark); margin-top: 12px; }
.rail-party-card .rail-secondary a { color: var(--orange-ink); font-weight: 700; }

/* ---------- Events: Halloween card extra spooky-fun details ---------- */
.cal-lights.cal-corner-lights { left: -8px; right: auto; top: -8px; width: 130px; justify-content: flex-start; transform: rotate(38deg); transform-origin: top left; }
.cal-skeleton { position: absolute; right: 22px; bottom: 60px; z-index: 1; transform-origin: bottom center; animation: cal-sway 2.6s ease-in-out infinite; }
@keyframes cal-sway { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
.cal-cat { position: absolute; left: 20px; bottom: 18px; z-index: 1; }
@media (max-width: 640px) { .cal-skeleton, .cal-cat { display: none; } }

/* ---------- Events: signature-xl (dark) cards need a legible tag pill ---------- */
.cal-item--signature-xl .cal-tag { background: rgba(255,255,255,0.14); color: var(--white); border: 1px solid rgba(255,255,255,0.3); }

/* ---------- Events: Halloween card — big dramatic light string ---------- */
.cal-lights--dramatic { top: -18px; left: 14px; right: 14px; gap: 6px; }
.cal-lights--dramatic span { width: 15px; height: 15px; box-shadow: 0 0 16px 5px currentColor, 0 0 30px 8px currentColor; }
.cal-lights--dramatic span:nth-child(1) { margin-top: 0; }
.cal-lights--dramatic span:nth-child(2) { margin-top: 5px; }
.cal-lights--dramatic span:nth-child(3) { margin-top: 9px; }
.cal-lights--dramatic span:nth-child(4) { margin-top: 12px; }
.cal-lights--dramatic span:nth-child(5) { margin-top: 14px; }
.cal-lights--dramatic span:nth-child(6) { margin-top: 15px; }
.cal-lights--dramatic span:nth-child(7) { margin-top: 15px; }
.cal-lights--dramatic span:nth-child(8) { margin-top: 15px; }
.cal-lights--dramatic span:nth-child(9) { margin-top: 15px; }
.cal-lights--dramatic span:nth-child(10) { margin-top: 14px; }
.cal-lights--dramatic span:nth-child(11) { margin-top: 12px; }
.cal-lights--dramatic span:nth-child(12) { margin-top: 9px; }
.cal-lights--dramatic span:nth-child(13) { margin-top: 5px; }
.cal-lights--dramatic span:nth-child(14) { margin-top: 0; }
@media (max-width: 640px) { .cal-lights--dramatic { top: -12px; left: 8px; right: 8px; } .cal-lights--dramatic span { width: 11px; height: 11px; } }

/* ---------- Events: Halloween card — cute illustrative pumpkin + bats ---------- */
.cal-bat { position: absolute; z-index: 1; pointer-events: none; }
.cal-bat--1 { top: 92px; right: 58px; animation: cal-bat-float 3.4s ease-in-out infinite; }
.cal-bat--2 { top: 150px; right: 92px; animation: cal-bat-float 3.4s ease-in-out infinite 1.1s; }
@keyframes cal-bat-float { 0%, 100% { transform: translateY(0) rotate(0deg) scaleY(1); } 50% { transform: translateY(-6px) rotate(-4deg) scaleY(0.82); } }
@media (max-width: 640px) { .cal-bat { display: none; } }

/* ---------- Events: Halloween card v3 — drawn light string, ball-pumpkins, visible cat/bats ---------- */
.cal-lights-drawn { position: absolute; top: -20px; left: 12px; right: 12px; height: 54px; z-index: 1; overflow: visible; pointer-events: none; }
.cal-lights-drawn .bulb { animation: cal-twinkle 1.7s ease-in-out infinite; }
.cal-lights-drawn .bulb:nth-of-type(2n) { animation-delay: 0.4s; }
.cal-lights-drawn .bulb:nth-of-type(3n) { animation-delay: 0.8s; }
.cal-lights-drawn .bulb:nth-of-type(4n) { animation-delay: 1.2s; }
.cal-decor-volleyball { position: absolute; right: 6px; bottom: 6px; z-index: 1; pointer-events: none; }
@media (max-width: 640px) { .cal-lights-drawn { top: -14px; height: 40px; } .cal-decor-volleyball { display: none; } }

/* ---------- Events: Halloween card v4 — bat-shaped light ornaments ---------- */
.cal-lights-drawn .bulb { filter: drop-shadow(0 0 5px rgba(229,104,42,0.85)); }

/* ---------- Events: Halloween card v5 — lights + creatures draped on the right side ---------- */
.cal-lights-drawn--right { top: 0; left: auto; right: -8px; width: 54px; height: 100%; }
.cal-spider { position: absolute; top: 4px; right: 76px; z-index: 1; transform-origin: top center; animation: cal-spider-swing 3s ease-in-out infinite; pointer-events: none; }
@keyframes cal-spider-swing { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
@media (max-width: 640px) { .cal-lights-drawn--right { width: 40px; } .cal-spider { display: none; } }

/* ---------- Events: Halloween card v6 — more spiders, twinkling bats + volleyball, bigger pumpkins ---------- */
.cal-spider { animation: none; }
.cal-spider-drop { transform-origin: top center; }
@keyframes cal-spider-bob-1 { 0%, 8% { transform: translateY(0); } 30% { transform: translateY(20px); } 55% { transform: translateY(20px); } 78%, 100% { transform: translateY(0); } }
@keyframes cal-spider-bob-2 { 0%, 10% { transform: translateY(0); } 32% { transform: translateY(13px); } 58% { transform: translateY(13px); } 80%, 100% { transform: translateY(0); } }
@keyframes cal-spider-bob-3 { 0%, 6% { transform: translateY(0); } 28% { transform: translateY(26px); } 60% { transform: translateY(26px); } 82%, 100% { transform: translateY(0); } }
.cal-bat { animation-name: cal-bat-float, cal-twinkle; animation-duration: 3.4s, 1.6s; animation-timing-function: ease-in-out, ease-in-out; animation-iteration-count: infinite, infinite; }
.cal-decor-volleyball svg { animation: cal-decor-glow 2.2s ease-in-out infinite; }
@keyframes cal-decor-glow { 0%, 100% { filter: drop-shadow(0 0 0 rgba(252,235,216,0)); } 50% { filter: drop-shadow(0 0 10px rgba(252,235,216,0.85)); } }
@media (max-width: 640px) { .cal-spider-drop:nth-of-type(n+2) { display: none; } }

/* ---------- Events: seasonal decoration — tablet scale-down + Holiday sparkles + reduced motion ---------- */
@media (max-width: 900px) and (min-width: 641px) {
  .cal-lights-drawn--right, .cal-decor, .cal-decor-volleyball { transform: scale(0.85); }
  .cal-lights-drawn--right { transform-origin: top right; }
  .cal-decor { transform-origin: top right; }
  .cal-decor-volleyball { transform-origin: bottom right; }
}

.cal-sparkle { position: absolute; z-index: 1; pointer-events: none; animation: cal-sparkle-pulse 3s ease-in-out infinite; }
.cal-sparkle--1 { top: 10px; right: 96px; animation-delay: 0s; }
.cal-sparkle--2 { top: 34px; right: 130px; animation-delay: 0.8s; }
.cal-sparkle--3 { top: 4px; right: 150px; animation-delay: 1.6s; }
@keyframes cal-sparkle-pulse { 0%, 100% { opacity: 0.7; transform: scale(0.9); } 50% { opacity: 1; transform: scale(1.05); } }
@media (max-width: 640px) { .cal-sparkle--3 { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .cal-lights span,
  .cal-decor svg circle,
  .cal-lights-drawn .bulb,
  .cal-bat,
  .cal-spider,
  .cal-spider--1, .cal-spider--2, .cal-spider--3,
  .cal-decor-volleyball svg,
  .cal-sparkle {
    animation: none !important;
  }
  .cal-lights span,
  .cal-decor svg circle,
  .cal-lights-drawn .bulb { opacity: 0.85; }
  .cal-sparkle { opacity: 0.9; }
}

/* ---------- Events: Halloween card v7 — spider positions, repositioned/enlarged pumpkins ---------- */
.cal-spider--1 { top: 0; left: 26px; right: auto; animation: cal-spider-bob-1 7s ease-in-out infinite; animation-delay: 0s; }
.cal-spider--2 { top: 0; left: 104px; right: auto; animation: cal-spider-bob-2 9s ease-in-out infinite; animation-delay: 1.2s; }
.cal-spider--3 { top: 0; right: 150px; animation: cal-spider-bob-3 11s ease-in-out infinite; animation-delay: 2.4s; }
.cal-item--signature-xl.cal-item--basketball .cal-decor { top: 64px; right: 4px; }
.cal-decor-volleyball { left: 14px; right: auto; bottom: 14px; }
@media (max-width: 640px) { .cal-spider--2, .cal-spider--3 { display: none; } }

/* ---------- Events: Halloween card v8 — final redesign: corner web, top-draped lights, right-side-only creatures, copy-safe zone ---------- */
.cal-item--halloween .cal-body { max-width: 58%; position: static; }
.cal-web { position: absolute; top: -4px; right: -4px; width: 84px; height: 84px; z-index: 1; opacity: 0.8; pointer-events: none; }
.cal-lights-drawn--top { top: -4px; left: auto; right: 16px; width: 300px; height: 70px; }
.light-orange { color: var(--orange); }
.light-purple { color: #6E3FA3; }
.cal-lights-drawn--top .bulb { filter: drop-shadow(0 0 5px currentColor); animation-delay: inherit; }
.cal-lights-drawn--top use:nth-of-type(1) { animation-delay: 0s; }
.cal-lights-drawn--top use:nth-of-type(2) { animation-delay: 0.2s; }
.cal-lights-drawn--top use:nth-of-type(3) { animation-delay: 0.4s; }
.cal-lights-drawn--top use:nth-of-type(4) { animation-delay: 0.6s; }
.cal-lights-drawn--top use:nth-of-type(5) { animation-delay: 0.8s; }
.cal-lights-drawn--top use:nth-of-type(6) { animation-delay: 1s; }
.cal-lights-drawn--top use:nth-of-type(7) { animation-delay: 1.2s; }
.cal-lights-drawn--top use:nth-of-type(8) { animation-delay: 1.4s; }
.cal-lights-drawn--top use:nth-of-type(9) { animation-delay: 1.6s; }
.cal-lights-drawn--top use:nth-of-type(10) { animation-delay: 1.8s; }
.cal-lights-drawn--top use:nth-of-type(11) { animation-delay: 2s; }
.cal-lights-drawn--top use:nth-of-type(12) { animation-delay: 2.2s; }
.cal-lights-drawn--top use:nth-of-type(13) { animation-delay: 2.4s; }
.cal-item--halloween .cal-spider--1 { top: 64px; left: auto; right: 230px; }
.cal-item--halloween .cal-spider--2 { top: 96px; left: auto; right: 130px; }
.cal-item--halloween .cal-spider--3 { top: 40px; right: 42px; }
.cal-item--halloween .cal-bat--1 { top: 118px; right: 190px; }
.cal-item--halloween .cal-bat--2 { top: 168px; right: 90px; }
.cal-bat--3 { top: 78px; right: 290px; animation-name: cal-bat-float, cal-twinkle; animation-duration: 3.4s, 1.6s; animation-timing-function: ease-in-out, ease-in-out; animation-iteration-count: infinite, infinite; animation-delay: 0.6s, 0.6s; }
.cal-item--halloween.cal-item--signature-xl.cal-item--basketball .cal-decor { top: 84px; right: 44px; z-index: 2; }
.cal-item--halloween .cal-decor-volleyball { left: auto; right: 12px; top: 138px; bottom: auto; z-index: 1; transform: rotate(-8deg) scale(0.88); }
@media (max-width: 900px) and (min-width: 641px) {
  .cal-item--halloween .cal-web { width: 64px; height: 64px; }
  .cal-item--halloween .cal-lights-drawn--top { width: 220px; }
}
@media (max-width: 640px) {
  .cal-item--halloween .cal-body { max-width: none; }
  .cal-web, .cal-item--halloween .cal-lights-drawn--top, .cal-bat--3 { display: none; }
}

/* ---------- Events: Holiday Classic card — snowman, trees, cocoa, red/green/white lights ---------- */
.cal-item--holiday .cal-body { max-width: 58%; position: static; }
.cal-lights-drawn--holiday { top: -4px; left: auto; right: 16px; width: 300px; height: 70px; }
.light-red { color: #C23B3B; }
.light-green { color: #2F6B4C; }
.light-white { color: #FCEBD8; }
.cal-lights-drawn--holiday .bulb { filter: drop-shadow(0 0 5px currentColor); animation-delay: inherit; }
.cal-lights-drawn--holiday use:nth-of-type(1) { animation-delay: 0s; }
.cal-lights-drawn--holiday use:nth-of-type(2) { animation-delay: 0.2s; }
.cal-lights-drawn--holiday use:nth-of-type(3) { animation-delay: 0.4s; }
.cal-lights-drawn--holiday use:nth-of-type(4) { animation-delay: 0.6s; }
.cal-lights-drawn--holiday use:nth-of-type(5) { animation-delay: 0.8s; }
.cal-lights-drawn--holiday use:nth-of-type(6) { animation-delay: 1s; }
.cal-lights-drawn--holiday use:nth-of-type(7) { animation-delay: 1.2s; }
.cal-lights-drawn--holiday use:nth-of-type(8) { animation-delay: 1.4s; }
.cal-lights-drawn--holiday use:nth-of-type(9) { animation-delay: 1.6s; }
.cal-lights-drawn--holiday use:nth-of-type(10) { animation-delay: 1.8s; }
.cal-lights-drawn--holiday use:nth-of-type(11) { animation-delay: 2s; }
.cal-lights-drawn--holiday use:nth-of-type(12) { animation-delay: 2.2s; }
.cal-lights-drawn--holiday use:nth-of-type(13) { animation-delay: 2.4s; }
.cal-tree { position: absolute; z-index: 1; pointer-events: none; }
.cal-tree svg { display: block; width: 100%; height: auto; }
.cal-tree--1 { top: 34px; right: 200px; width: 78px; }
.cal-tree--2 { top: 96px; right: 34px; width: 54px; }
.cal-snowman { position: absolute; z-index: 2; pointer-events: none; bottom: 4px; right: 88px; width: 76px; }
.cal-snowman svg { display: block; width: 100%; height: auto; }
.cal-cocoa { position: absolute; z-index: 1; pointer-events: none; top: 130px; right: 260px; width: 46px; }
.cal-cocoa svg { display: block; width: 100%; height: auto; }
.cal-item--holiday .cal-sparkle--1 { top: 8px; right: 350px; }
.cal-item--holiday .cal-sparkle--2 { top: 56px; right: 264px; }
@media (max-width: 900px) and (min-width: 641px) {
  .cal-item--holiday .cal-lights-drawn--holiday { width: 220px; }
  .cal-tree--1, .cal-tree--2, .cal-snowman, .cal-cocoa { transform: scale(0.8); }
  .cal-tree--1 { transform-origin: top right; }
  .cal-snowman { transform-origin: bottom right; }
}
@media (max-width: 640px) {
  .cal-item--holiday .cal-body { max-width: none; }
  .cal-lights-drawn--holiday, .cal-tree, .cal-snowman, .cal-cocoa { display: none; }
}



/* ---------------------------------------------------------------------------
   Live program cards (js/courts-programs.js).

   Rendered from the Courts OS feed, so a new camp or event appears here without
   an HTML edit. Uses the site's existing brand variables; availability state is
   carried by a label as well as colour, never colour alone.
   --------------------------------------------------------------------------- */
.cp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.cp-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  background: #fff;
  border: 1px solid #d9d7d2;
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  transition: border-color .18s ease, transform .18s ease;
}
.cp-card:hover,
.cp-card:focus-visible { border-color: #DE5019; transform: translateY(-2px); }
.cp-card:focus-visible { outline: 2px solid #DE5019; outline-offset: 3px; }

.cp-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.cp-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.cp-type {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .74rem;
  color: #55524E;
}

.cp-state {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .72rem;
  padding: 3px 8px;
  border-radius: 3px;
  white-space: nowrap;
}
.cp-ok     { color: #1D7A4C; background: #E8F4ED; }
.cp-low    { color: #B94700; background: rgba(222, 80, 25,.1); }
.cp-full   { color: #9A6207; background: #FCF3E3; }
.cp-closed { color: #55524E; background: #EFECE8; }
.cp-soon   { color: #1F5F8B; background: #E9F1F7; }

.cp-name {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
  line-height: 1.25;
  margin: 0;
  color: #0d0d0d;
  text-wrap: balance;
}

.cp-meta {
  font-size: .9rem;
  color: #343434;
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.cp-copy {
  font-size: .92rem;
  line-height: 1.5;
  color: #55524E;
  margin: 0;
}

.cp-cta {
  margin-top: auto;
  padding-top: 4px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .8rem;
  color: #DE5019;
}

.cp-empty {
  padding: 28px 0;
  color: #55524E;
  font-size: .95rem;
}
.cp-empty a { color: #DE5019; }

@media (prefers-reduced-motion: reduce) {
  .cp-card { transition: none; }
  .cp-card:hover, .cp-card:focus-visible { transform: none; }
}

/* ================= Signature motion: Drawn Play ================= */
/* Reusable "self-draws once in view" treatment for hand-drawn accent marks
   (underlines, circles, squiggles). Add class="drawn-mark" to any decorative
   SVG that uses stroke (not fill) for its line — script.js adds .drawn when
   the element scrolls into view. */
.drawn-mark path,
.drawn-mark ellipse,
.drawn-mark circle {
  stroke-dasharray: 480;
  stroke-dashoffset: 480;
  transition: stroke-dashoffset 0.9s var(--ease);
}
.drawn-mark.drawn path,
.drawn-mark.drawn ellipse,
.drawn-mark.drawn circle {
  stroke-dashoffset: 0;
}
.drawn-mark.drawn path:nth-child(2),
.drawn-mark.drawn ellipse:nth-child(2) {
  transition-delay: 0.12s;
}
@media (prefers-reduced-motion: reduce) {
  .drawn-mark path, .drawn-mark ellipse, .drawn-mark circle { transition: none; stroke-dashoffset: 0; }
}
