/* ==========================================================================
   Unleashed Athletics — Design System
   Brand: black / red #E8323F / sky blue #1FA9E8 (from logo)
   Type:  Barlow Condensed (display) + Barlow (body)
   ========================================================================== */

:root {
  /* Color */
  --ink: #0b0d12;
  --surface-dark: #0e1118;
  --surface-dark-2: #161b26;
  --line-dark: #232a38;
  --red: #e8323f;
  --red-deep: #c21f2c;
  --blue: #1fa9e8;
  --blue-deep: #0f7fb5;
  --paper: #ffffff;
  --paper-2: #f3f5f8;
  --line-light: #e1e5ec;
  --text: #141821;
  --text-muted: #4c5566;
  --text-on-dark: #f5f7fa;
  --text-on-dark-muted: #aab3c2;

  /* Type scale */
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --container: 1160px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(11, 13, 18, 0.10);
  --shadow-md: 0 10px 30px rgba(11, 13, 18, 0.14);
  --shadow-lg: 0 24px 60px rgba(11, 13, 18, 0.22);

  /* Z-scale */
  --z-nav: 50;
  --z-overlay: 40;

  /* Motion system — every duration, curve and distance on the site comes from
     here. Reduced motion is handled by re-pointing these tokens (see the
     prefers-reduced-motion block below), so new work that uses them degrades
     for free.

     Durations
       fast  150ms  color/opacity hover, press-down, focus rings
       base  250ms  hover lift, menus, dialogs, page crossfade
       slow  450ms  scroll reveals, section choreography, image zoom
       hero  700ms  page-load signature moments only                        */
  --dur-fast: 150ms;
  --dur-base: 250ms;
  --dur-slow: 450ms;
  --dur-hero: 700ms;

  /* Easing
       out   arrivals and hovers — fast start, long soft landing (the default)
       in    exits — gets out of the way, accelerating, never lingers
       snap  athletic overshoot — hero words, press release, icon morphs.
             Sparingly: if everything bounces, nothing does.                */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.55, 0, 1, 0.45);
  --ease-snap: cubic-bezier(0.2, 0.9, 0.3, 1.15);
  --ease: var(--ease-out); /* legacy alias */

  /* Choreography and distances */
  --stagger: 60ms;  /* between siblings entering together, capped at 5 steps */
  --rise: 20px;     /* entrance travel */
  --lift: -2px;     /* hover lift on anything clickable */
  --nudge: 3px;     /* arrow icons lean toward where the link goes */
  --zoom: 1.05;     /* hover zoom on a clickable photo */
  --shrink: 0.97;   /* press-down, and the scale a dialog grows from */
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* Keep the scrollbar's gutter when the lightbox locks scrolling, so the page
     doesn't jump sideways under it. */
  scrollbar-gutter: stable;
}

/* Anchor jumps (/programs.html#softball) land below the sticky header rather
   than underneath it. */
[id] { scroll-margin-top: 88px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 0.5em;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

p { margin: 0 0 1em; }

a { color: var(--blue-deep); }

ul { padding-left: 1.2em; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Reduced motion: reduce, don't remove. Travel, zoom, stagger and press-scale
   collapse to nothing, so entrances become short crossfades and hover feedback
   becomes color-only. Scroll reveals, parallax, the stripe draw, the
   hero video, page transitions and the counters are switched off at source
   (no-preference media blocks below, and the reduceMotion check in main.js). */
@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-slow: var(--dur-base);
    --dur-hero: var(--dur-base);
    --stagger: 0ms;
    --rise: 0px;
    --lift: 0px;
    --nudge: 0px;
    --zoom: 1;
    --shrink: 1;
  }
  html { scroll-behavior: auto; }
  /* Belt and braces: nothing loops. */
  *, *::before, *::after { animation-iteration-count: 1 !important; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  padding: 12px 20px;
  z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--red);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  background: currentColor;
  flex: none;
}
.on-dark .eyebrow { color: var(--blue); }

.section-title {
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  margin-bottom: 0.35em;
}

.section-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 62ch;
  margin-bottom: 0;
}
.on-dark .section-lead { color: var(--text-on-dark-muted); }

.section { padding-block: clamp(64px, 9vw, 110px); }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { text-align: center; }
.section-head.center .section-lead { margin-inline: auto; }
.section-head.center .eyebrow::before { display: none; }

.bg-dark {
  background: var(--surface-dark);
  color: var(--text-on-dark);
}
.bg-tint { background: var(--paper-2); }

/* About → "What We Stand For" mission statement. */
.stand {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: var(--text-on-dark);
  text-align: center;
}
.stand::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(760px 360px at 50% -8%, rgba(31, 169, 232, 0.20), transparent 62%),
    radial-gradient(820px 420px at 50% 116%, rgba(232, 50, 63, 0.20), transparent 62%);
}
.stand .section-head { margin-bottom: clamp(24px, 4vw, 40px); }
.stand-statement {
  max-width: 60ch;
  margin: 0 auto;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  line-height: 1.62;
  color: var(--text-on-dark);
}
.stand-statement::before {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin: 0 auto clamp(26px, 4vw, 38px);
  border-radius: 999px;
  background: var(--red);
}

.story-closing { font-weight: 600; }

/* Core values grid inside the centered "What We Stand For" band. */
.values-title {
  margin: clamp(40px, 6vw, 62px) 0 clamp(22px, 3vw, 30px);
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.stand .feature-grid { text-align: left; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 28px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    background-color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-snap);
}
.btn svg { flex: none; transition: transform var(--dur-base) var(--ease-out); }
@media (hover: hover) {
  .btn:hover { transform: translateY(var(--lift)); }
  .btn:hover svg { transform: translateX(var(--nudge)); }
}

.btn-primary {
  background: var(--red);
  color: #fff;
}
.btn-primary:hover { background: var(--red-deep); box-shadow: 0 8px 24px rgba(232, 50, 63, 0.35); }

.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover { background: #1d2330; }

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: currentColor;
}
.btn-outline:hover { color: var(--red); }
.on-dark .btn-outline, .btn-outline.light { color: #fff; }
.on-dark .btn-outline:hover, .btn-outline.light:hover { color: var(--blue); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: rgba(11, 13, 18, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  /* Held still across page navigations (see "Page transitions"). */
  view-transition-name: site-header;
}
/* At 92% opacity the blur is barely visible, but it is re-rendered on every
   scroll frame. Phones get a near-solid bar instead and keep their frame rate. */
@media (max-width: 700px) {
  .site-header {
    background: rgba(11, 13, 18, 0.97);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}
.brand img {
  width: 42px;
  height: 42px;
  filter:
    drop-shadow(0 0 5px rgba(31, 169, 232, 0.55))
    drop-shadow(0 0 12px rgba(31, 169, 232, 0.3));
  transition: filter var(--dur-base) var(--ease-out);
}
.brand:hover img {
  filter:
    drop-shadow(0 0 6px rgba(31, 169, 232, 0.8))
    drop-shadow(0 0 16px rgba(31, 169, 232, 0.45));
}
.brand-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
}
.brand-text small {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  color: var(--blue);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.site-nav a {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-on-dark-muted);
  text-decoration: none;
  padding: 10px 8px;
  border-radius: 6px;
  white-space: nowrap;
  position: relative;
  transition: color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}
.site-nav a:hover { color: #fff; }
.site-nav a[aria-current="page"] {
  color: #fff;
  border-radius: 6px 6px 0 0;
}
/* Current-page bar. A real element (not a box-shadow) so it can carry a
   view-transition-name: on navigation it slides from the old menu item to the
   new one while the rest of the page crossfades — the menu shows where you went. */
.nav-indicator {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--red);
  pointer-events: none;
  view-transition-name: nav-indicator;
}
/* Hover previews the same slot in white: the bar draws in from the left, the
   same direction as every other rule and stripe on the site. */
@media (min-width: 1181px) and (hover: hover) {
  .site-nav a:not(.nav-cta):not([aria-current="page"])::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.35);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--dur-base) var(--ease-out);
  }
  .site-nav a:not(.nav-cta):not([aria-current="page"]):hover::after { transform: none; }
}
.site-nav .nav-cta {
  background: var(--red);
  color: #fff;
  margin-left: 8px;
}
.site-nav .nav-cta:hover { background: var(--red-deep); }
.site-nav .nav-cta[aria-current="page"] { border-radius: 6px; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  transition: transform var(--dur-base) var(--ease-snap);
}
/* Hamburger morphs to an X, so the button always shows what it will do next. */
.nav-toggle line {
  transform-box: view-box;
  transform-origin: center;
  transition: transform var(--dur-base) var(--ease-snap), opacity var(--dur-fast) var(--ease-out);
}
.nav-toggle[aria-expanded="true"] line:nth-child(1) { transform: rotate(45deg) translateY(6px); }
.nav-toggle[aria-expanded="true"] line:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] line:nth-child(3) { transform: rotate(-45deg) translateY(-6px); }

@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 20px 20px;
    background: rgba(11, 13, 18, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: none;
    /* Closing: accelerate up and away. The base rule's curve is the one used
       when .open comes off. */
    opacity: 0;
    translate: 0 calc(var(--rise) * -0.5);
    transition:
      opacity var(--dur-base) var(--ease-in),
      translate var(--dur-base) var(--ease-in);
    /* Same again plus display, so the panel stays rendered while it fades out.
       Browsers that don't know allow-discrete drop this line and keep the one
       above (an instant close, which is what every browser did before). */
    transition:
      opacity var(--dur-base) var(--ease-in),
      translate var(--dur-base) var(--ease-in),
      display var(--dur-base) allow-discrete;
  }
  .site-nav.open {
    display: flex;
    opacity: 1;
    translate: none;
    transition-timing-function: var(--ease-out);
  }
  .site-nav a { padding: 14px 16px; font-size: 1.2rem; }
  .site-nav a[aria-current="page"] { border-radius: 0 6px 6px 0; }
  .nav-indicator {
    right: auto;
    top: 0;
    width: 3px;
    height: auto;
  }
  .site-nav .nav-cta { margin-left: 0; margin-top: 8px; text-align: center; }
}
/* Where the panel starts from when it opens (it was display: none a frame ago). */
@media (max-width: 1180px) {
  @starting-style {
    .site-nav.open {
      opacity: 0;
      translate: 0 calc(var(--rise) * -0.5);
    }
  }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(92vh, 860px);
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.hero-media,
.hero-media img,
.hero-media video,
.hero-media .hero-mobile-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
/* Dedicated phone image: a CSS background (not <img>) so desktop never
   downloads it. Shown only at the same breakpoint where JS skips the video. */
.hero-mobile-img {
  display: none;
  background-size: cover;
  background-position: center;
}
@media (max-width: 700px) {
  .hero-media video { display: none; }
  .hero-mobile-img { display: block; }
}
/* Video crossfade. main.js paints the poster onto .hero-media (already cached:
   the video element just showed it) and holds the video transparent until it
   is actually playing, so the cut from poster to 0:08 becomes a dissolve. */
.hero-media { background: var(--ink) center / cover no-repeat; }
.hero-media video { transition: opacity var(--dur-hero) var(--ease-out); }
.hero-media video.is-waiting { opacity: 0; }

/* Pause control for the background video (WCAG 2.2.2: anything that moves on
   its own for more than five seconds needs one). Hidden until the video plays. */
.hero-pause {
  position: absolute;
  right: clamp(16px, 3vw, 32px);
  bottom: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(11, 13, 18, 0.45);
  color: #fff;
  cursor: pointer;
  transition:
    background-color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    transform var(--dur-base) var(--ease-snap);
}
.hero-pause[hidden] { display: none; }
.hero-pause:hover { background: rgba(11, 13, 18, 0.75); border-color: #fff; }
.hero-pause .icon-play,
.hero-pause.is-paused .icon-pause { display: none; }
.hero-pause.is-paused .icon-play { display: block; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 13, 18, 0.55) 0%, rgba(11, 13, 18, 0.25) 40%, rgba(11, 13, 18, 0.88) 100%);
}
.hero-crest {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(44vw, 460px);
  height: auto;
  z-index: 0;
  opacity: 0.7;
  pointer-events: none;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-block: clamp(90px, 14vw, 150px) clamp(64px, 9vw, 110px);
  /* Wider than the 760px it used to be: the headline now names the sport and
     the town, and needs the room to land in two lines. The paragraph and
     tagline below set their own narrower measures, so only the h1 spreads. */
  max-width: 940px;
}
@media (max-width: 700px) {
  .hero-crest { width: 210px; opacity: 0.45; }
}
.hero h1 {
  /* Sized for a headline that names the sport and the town rather than a
     three-word slogan — it needs to land in two lines, not three. */
  font-size: clamp(2.4rem, 6vw, 3.7rem);
  margin-bottom: 0.25em;
}
.hero h1 .accent { color: var(--blue); }
.hero p {
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  color: #dde3ec;
  max-width: 56ch;
  margin-bottom: 1.6em;
}
.hero-tagline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.8vw, 1.85rem);
  line-height: 1.18;
  color: #fff;
  max-width: 26ch;
  margin: -0.1em 0 0.95em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-actions.center { justify-content: center; }

/* Sub-page hero */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 320px;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.page-hero-media,
.page-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(11, 13, 18, 0.5), rgba(11, 13, 18, 0.85));
}
.page-hero .container { padding-block: 56px 40px; }
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 4.2rem); margin-bottom: 0.1em; }
.page-hero p { color: #dde3ec; font-size: 1.15rem; max-width: 60ch; margin: 0; }

/* ---------- Register strip ---------- */
.register-strip { background: var(--ink); color: var(--text-on-dark); }
/* Flex (not grid) so a card can grow wider than its neighbours to keep its
   heading on one line; cards that can't fit wrap onto the next row. */
.register-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding-block: 28px;
}
/* Desktop: cap each card at a third of the row (its width when there are
   three) so one or two cards stay that size and sit centred. */
@media (min-width: 900px) {
  .register-card { max-width: calc((100% - 32px) / 3); }
}
.register-card {
  flex: 1 1 260px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  background: var(--surface-dark-2);
  border: 1px solid var(--line-dark);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text-on-dark);
  cursor: pointer;
  transition:
    border-color var(--dur-fast) var(--ease-out),
    background-color var(--dur-fast) var(--ease-out),
    transform var(--dur-base) var(--ease-snap);
}
.register-card:hover { border-color: var(--blue); background: #1a2130; }
.register-card .arrow { transition: transform var(--dur-base) var(--ease-out); }
@media (hover: hover) {
  .register-card:hover { transform: translateY(var(--lift)); }
  .register-card:hover .arrow { transform: translateX(var(--nudge)); }
}
.register-card:focus-visible .arrow { transform: translateX(var(--nudge)); }
.register-card .icon { color: var(--blue); flex: none; }
.register-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
/* Phones: smaller heading so it usually fits on one line; still allowed to
   wrap so an extra-long heading never pushes the page sideways. */
@media (max-width: 600px) {
  .register-card strong { white-space: normal; font-size: 1rem; letter-spacing: 0.02em; line-height: 1.25; }
}
.register-card span { color: var(--text-on-dark-muted); font-size: 0.95rem; }
.register-card .register-sub { display: block; white-space: pre-line; }
.register-card .arrow { margin-left: auto; color: var(--red); flex: none; }

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.feature-card {
  padding: 28px 24px;
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  /* No hover state on purpose: these cards aren't links, and a card that
     lights up under the cursor promises a click that goes nowhere. */
}
.feature-card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(31, 169, 232, 0.12);
  color: var(--blue-deep);
  margin-bottom: 16px;
}
.feature-card h3,
.feature-card h4 { font-size: 1.45rem; margin-bottom: 0.35em; }
.feature-card p { color: var(--text-muted); margin: 0; font-size: 1rem; }

.on-dark .feature-card {
  background: var(--surface-dark-2);
  border-color: var(--line-dark);
}
.on-dark .feature-card p { color: var(--text-on-dark-muted); }

/* ---------- Split section ---------- */
.split {
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split.flip > .split-media { order: 2; }
  /* Opt-in: let the media column match the height of the copy beside it. Without
     it a short landscape photo sits centred in a tall row with dead space above
     and below. The img already covers, so the extra height crops rather than
     distorts — only worth adding where the source survives a tighter crop. */
  .split--fill > .split-media { align-self: stretch; }
}
.split-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  pointer-events: none;
}

/* Stacked image column (e.g. About → The Complex). */
.media-stack {
  display: grid;
  gap: 18px;
}
.media-stack .split-media {
  margin: 0;
  aspect-ratio: 16 / 10;
}

.checklist-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 1.5em 0 0.4em;
}
.checklist {
  list-style: none;
  padding: 0;
  margin: 1.2em 0 1.6em;
  display: grid;
  gap: 12px;
}
.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 500;
}
.checklist .check {
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(232, 50, 63, 0.12);
  color: var(--red);
}
.on-dark .checklist .check { background: rgba(31, 169, 232, 0.16); color: var(--blue); }

/* ---------- Stats ---------- */
.stat-row {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin-top: 36px;
}
.stat {
  border-top: 3px solid var(--red);
  padding-top: 12px;
}
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
}
.stat span {
  color: var(--text-muted);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.on-dark .stat span { color: var(--text-on-dark-muted); }

/* ---------- Program cards ---------- */
.program-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}
.program-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition:
    box-shadow var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out);
}
/* The card itself isn't a link — its button is. So the card answers the
   button: point at "Learn More" and the whole card lifts with it, showing
   which program the button belongs to without making the card body look
   clickable. */
.program-card:has(.btn:focus-visible) { box-shadow: var(--shadow-md); border-color: var(--blue); }
@media (hover: hover) {
  .program-card:has(.btn:hover) {
    box-shadow: var(--shadow-md);
    border-color: var(--blue);
    transform: translateY(var(--lift));
  }
  .program-card:has(.btn:hover) .media img { transform: scale(var(--zoom)); }
}
.program-card .media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.program-card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.program-card .tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 4px;
}
.program-card .body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
}
.program-card h3 { font-size: 1.6rem; margin-bottom: 0.3em; }
.program-card p { color: var(--text-muted); font-size: 1rem; flex: 1; }
.program-card .body .btn { align-self: flex-start; margin-top: 16px; }

/* ---------- Age-group pills (home programs section) ----------
   Same pill idiom as .meta-pills on the programs page, but each one is a link
   through to the matching program block. */
.age-groups {
  margin: 0 0 clamp(32px, 5vw, 48px);
  padding: clamp(22px, 3.5vw, 30px);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  background: var(--paper);
}
.age-groups-lead {
  max-width: 62ch;
  margin: 0 0 20px;
  font-weight: 500;
  color: var(--text-muted);
}
.age-group-row + .age-group-row { margin-top: 18px; }
.age-group-label {
  font-family: var(--font-display);
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin: 0 0 10px;
}
.age-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.age-pill {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.07em;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(31, 169, 232, 0.12);
  color: var(--blue-deep);
  border: 1px solid rgba(31, 169, 232, 0.3);
  text-decoration: none;
  transition:
    background-color var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    transform var(--dur-base) var(--ease-snap);
}
.age-pill:hover,
.age-pill:focus-visible {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

/* ---------- Service area (home) ---------- */
.area-grid {
  display: grid;
  gap: clamp(22px, 3.5vw, 34px);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.area-group {
  padding: clamp(22px, 3vw, 28px);
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
}
.area-label {
  font-size: 1.3rem;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--red);
  color: var(--text);
}
.area-towns {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
}
.area-towns li {
  font-weight: 500;
  color: var(--text-muted);
}
.area-note {
  max-width: 68ch;
  margin: clamp(26px, 4vw, 36px) 0 0;
  color: var(--text-muted);
}

/* The one-line version of the above, shown when that section is hidden.
   Deliberately quiet: it earns its place by keeping the towns in the copy for
   search, not by competing with the call-to-action it sits above. The section
   before it supplies the top spacing, so this only pads its underside. */
.service-line {
  padding-block: 0 clamp(44px, 6vw, 70px);
}
.service-line p {
  margin: 0;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ---------- Detail blocks (programs page) ---------- */
.detail-block {
  display: grid;
  gap: clamp(24px, 4vw, 56px);
  padding-block: clamp(40px, 6vw, 64px);
  border-top: 1px solid var(--line-light);
}
.detail-block:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 860px) {
  .detail-block { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
  .detail-block.flip > .detail-media { order: 2; }
}
.detail-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.detail-media img { width: 100%; object-fit: cover; }
.detail-body h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
.meta-pills li {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(31, 169, 232, 0.12);
  color: var(--blue-deep);
  border: 1px solid rgba(31, 169, 232, 0.3);
}

/* Programs intro lead + per-program footnote. */
.programs-lead {
  max-width: 68ch;
  margin: 0 0 clamp(44px, 7vw, 72px);
  padding-left: 22px;
  border-left: 4px solid var(--red);
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
  line-height: 1.55;
  font-weight: 500;
  color: var(--text);
}
.detail-footnote {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  margin: 0 0 20px;
}
.detail-body .btn { margin-top: 8px; }

/* ==========================================================================
   Pricing & transparency (pricing page, plus the price strip on the home page)
   ========================================================================== */

/* ---------- Membership tier cards ---------- */
.price-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px 26px;
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  /* Static on hover, like .feature-card: nothing here is clickable. */
}

/* The 8U–14U tier — the two-field-practice week we want families to notice. */
.price-card--featured {
  border: 2px solid var(--red);
  box-shadow: var(--shadow-md);
}
.price-flag {
  position: absolute;
  top: -14px;
  left: 24px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 4px;
}
.price-age { font-size: 1.7rem; margin-bottom: 0.25em; }
.price-amount {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin: 0;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-light);
}
.price-amount b {
  font-family: var(--font-display);
  font-size: 3.1rem;
  font-weight: 800;
  line-height: 1;
  color: var(--red);
  font-variant-numeric: tabular-nums;
}
.price-amount span {
  color: var(--text-muted);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.price-practice-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-muted);
  margin: 20px 0 12px;
}
.price-lines,
.compare-lines {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 11px;
}
.price-lines li,
.compare-lines li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  font-weight: 600;
}
.price-lines .qty,
.compare-lines .qty {
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}
.price-total {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line-light);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.price-total b { color: var(--blue-deep); font-size: 1.5rem; }
.price-note {
  margin: 14px 0 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* Every remaining cost, spelled out rather than buried. */
.price-fineprint {
  margin-top: clamp(32px, 5vw, 48px);
  padding: 24px 26px;
  background: var(--paper);
  border-left: 4px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-sm);
}
.price-fineprint h3 { font-size: 1.25rem; margin-bottom: 0.6em; }
.price-fineprint ul { margin: 0; padding-left: 1.2em; display: grid; gap: 9px; }
.price-fineprint li { color: var(--text-muted); font-size: 0.99rem; }
.price-fineprint li::marker { color: var(--red); }

/* ---------- Head-to-head practice comparison ---------- */
.compare-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.compare-card {
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  background: var(--surface-dark-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
}
.compare-card h3 {
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  color: var(--text-on-dark-muted);
  margin-bottom: 1.1em;
}
.compare-card--ours {
  border-color: var(--blue);
  background:
    linear-gradient(180deg, rgba(31, 169, 232, 0.14), rgba(31, 169, 232, 0.02)),
    var(--surface-dark-2);
  box-shadow: var(--shadow-md);
}
.compare-card--ours h3 { color: #fff; }
.compare-lines li {
  padding-bottom: 11px;
  border-bottom: 1px dashed var(--line-dark);
}
.compare-lines .qty { color: var(--text-on-dark-muted); }
.compare-total {
  display: flex;
  align-items: baseline;
  gap: 11px;
  margin: 22px 0 0;
}
.compare-total b {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-on-dark-muted);
  font-variant-numeric: tabular-nums;
}
.compare-card--ours .compare-total b { color: var(--blue); }
.compare-total span {
  max-width: 11em;
  font-size: 0.95rem;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--text-on-dark-muted);
}
.compare-closing {
  max-width: 70ch;
  margin: clamp(30px, 4vw, 44px) auto 0;
  text-align: center;
  font-size: 1.15rem;
  color: var(--text-on-dark-muted);
}

/* ---------- Included vs. billed separately ---------- */
.ledger { display: grid; gap: clamp(28px, 4vw, 52px); }
@media (min-width: 860px) {
  .ledger { grid-template-columns: 1fr 1fr; }
}
.ledger-col h3 { font-size: 1.5rem; margin-bottom: 0.4em; }
.extralist {
  list-style: none;
  padding: 0;
  margin: 1.2em 0 1.6em;
  display: grid;
  gap: 16px;
}
.extralist li { display: flex; gap: 12px; align-items: flex-start; }
.extralist .plus {
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(31, 169, 232, 0.14);
  color: var(--blue-deep);
}
.extralist div { color: var(--text-muted); font-size: 0.99rem; }
.extralist strong {
  display: block;
  color: var(--text);
  font-size: 1.0625rem;
  font-weight: 700;
}
.ledger-note {
  margin: 0;
  padding-left: 18px;
  border-left: 3px solid var(--blue);
  font-weight: 600;
  color: var(--text-muted);
}

/* ---------- Home-page price strip ---------- */
.stat-row--center { justify-items: center; text-align: center; }
.stat-row--center .stat { border-top-color: var(--blue); }
.price-strip-note {
  max-width: 62ch;
  margin: 30px auto 24px;
  text-align: center;
  font-weight: 600;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.gallery-grid figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-dark-2);
  aspect-ratio: 4 / 3;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

/* Single column below 534px (240px x 2 + the 14px gap + 40px of container
   padding). With no neighbouring tile to line up against, the fixed 4/3 box
   buys nothing and only crops — and over half these photos are portrait or
   square, losing up to 44% of their height, banner usually included. Let them
   keep their own proportions instead. */
@media (max-width: 533px) {
  .gallery-grid figure { aspect-ratio: auto; }
  .gallery-grid img { height: auto; }
}

/* Championships — grouped by year. */
.champ-year + .champ-year { margin-top: clamp(48px, 7vw, 80px); }
.year-heading {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 0 24px;
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1;
  color: var(--text);
}
.year-heading > span { flex: none; }
.year-heading::after {
  content: "";
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--red), rgba(232, 50, 63, 0));
}

/* Lightbox affordance — only meaningful on non-touch (enabled via JS). The
   photo leans in on hover or keyboard focus, and only here: a grid that
   doesn't open a lightbox (phones) doesn't pretend to. Replaces a 15% dim,
   which read as "disabled" rather than "open me". */
.gallery-lightbox.is-zoomable figure { cursor: zoom-in; }
.gallery-lightbox.is-zoomable figure:focus-visible img { transform: scale(var(--zoom)); }
@media (hover: hover) {
  .gallery-lightbox.is-zoomable figure:hover img { transform: scale(var(--zoom)); }
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 4vw, 56px);
  background: rgba(8, 10, 14, 0.92);
  cursor: zoom-out;
  opacity: 0;
  visibility: hidden;
  /* Base rule = closing curve; .open overrides it for the way in. */
  transition: opacity var(--dur-base) var(--ease-in), visibility var(--dur-base) var(--ease-in);
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
  transition-timing-function: var(--ease-out);
}
.lightbox img {
  max-width: 100%;
  max-height: 88vh;
  border-radius: var(--radius);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.65);
  scale: var(--shrink);
  transition: scale var(--dur-base) var(--ease-out);
}
.lightbox.open img { scale: 1; }
/* While a view transition drives the open/close (main.js), it owns the motion:
   the CSS fade and scale would fight it and leave a jump at the end. */
.lightbox.vt-active,
.lightbox.vt-active img { transition: none; }

/* Signature 3, part two: the photo grows out of its own thumbnail and back into
   it. The thumbnail is cropped 4:3 and the full photo isn't, so both snapshots
   cover the morphing box and the crop opens up as it travels. */
::view-transition-group(lightbox-photo) {
  animation-duration: var(--dur-slow);
  animation-timing-function: var(--ease-out);
}
::view-transition-image-pair(lightbox-photo) {
  overflow: clip;
  border-radius: var(--radius);
}
::view-transition-old(lightbox-photo),
::view-transition-new(lightbox-photo) {
  height: 100%;
  object-fit: cover;
}
.lightbox-close {
  position: absolute;
  top: clamp(14px, 2vw, 28px);
  right: clamp(14px, 2vw, 32px);
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  transition:
    background-color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    transform var(--dur-base) var(--ease-snap);
}
.lightbox-close:hover { background: rgba(232, 50, 63, 0.9); border-color: var(--red); }

/* ---------- News ---------- */
/* Category badge — color-coded by topic. */
.news-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  line-height: 1;
  padding: 6px 11px;
  border-radius: 4px;
  color: #fff;
  background: var(--text-muted);
  white-space: nowrap;
}
.news-badge[data-cat="teams"]    { background: var(--red); }
.news-badge[data-cat="facility"] { background: var(--blue-deep); }
.news-badge[data-cat="events"]   { background: #e8932f; }
.news-badge[data-cat="general"]  { background: #3a4456; }

.news-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.news-meta time {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.news-readmore {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--red);
}
.news-readmore svg { transition: transform var(--dur-base) var(--ease-out); }

/* Featured spotlight — bold dark panel that pops against the white section. */
.news-featured {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  margin-bottom: clamp(40px, 6vw, 64px);
  background: var(--ink);
  color: var(--text-on-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line-dark);
  transition: box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
@media (hover: hover) {
  .news-featured:hover { box-shadow: var(--shadow-lg); transform: translateY(var(--lift)); }
  .news-featured:hover .news-readmore svg { transform: translateX(var(--nudge)); }
  .news-featured:hover .news-featured-media img { transform: scale(var(--zoom)); }
}
.news-featured-media {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}
.news-featured-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.news-featured-flag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 7px 13px;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  box-shadow: 0 6px 18px rgba(232, 50, 63, 0.45);
}
.news-featured-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 48px);
}
.news-featured-body .news-meta time { color: var(--text-on-dark-muted); }
.news-featured-body h3 {
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  margin-bottom: 0.4em;
}
.news-featured-body p {
  color: var(--text-on-dark-muted);
  font-size: 1.1rem;
  margin-bottom: 1.4em;
}

/* Category filter chips. */
.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(28px, 4vw, 40px);
}
.news-chip {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--line-light);
  background: var(--paper);
  color: var(--text);
  cursor: pointer;
  transition:
    background-color var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    transform var(--dur-base) var(--ease-snap);
}
.news-chip:hover { border-color: var(--red); color: var(--red); }
.news-chip.is-active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* News card grid. */
.news-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.news-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition:
    box-shadow var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out);
}
.news-card.is-hidden { display: none; }
/* Photo, headline and "Read more" all link to the post; the excerpt doesn't.
   The card responds when one of its links is under the cursor. */
@media (hover: hover) {
  .news-card:has(a:hover) {
    box-shadow: var(--shadow-md);
    border-color: var(--blue);
    transform: translateY(var(--lift));
  }
  .news-card:has(a:hover) .news-card-media img { transform: scale(var(--zoom)); }
  .news-card:has(a:hover) .news-readmore svg { transform: translateX(var(--nudge)); }
}
.news-card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.news-card-media .news-badge {
  position: absolute;
  top: 14px;
  left: 14px;
}
.news-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 24px 24px;
}
.news-card-body time {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.news-card-body h3 { font-size: 1.5rem; line-height: 1.12; margin-bottom: 0.45em; }
.news-card-body h3 a { color: inherit; text-decoration: none; }
.news-card-body h3 a:hover { color: var(--red); }
.news-card-body p { color: var(--text-muted); font-size: 1rem; flex: 1; margin-bottom: 1em; }
.news-card-body .news-readmore { align-self: flex-start; }

.news-empty,
.news-empty-filter {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.15rem;
  padding: 40px 0;
}

/* ---------- Single news post ---------- */
.post-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: var(--text-on-dark);
}
.post-hero-media { position: absolute; inset: 0; z-index: -2; }
.post-hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.42; }
.post-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(11, 13, 18, 0.55) 0%, rgba(11, 13, 18, 0.85) 100%);
}
.post-hero .container { padding-block: clamp(48px, 8vw, 96px) clamp(36px, 5vw, 56px); }
.post-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-on-dark-muted);
  text-decoration: none;
  margin-bottom: 22px;
}
.post-back svg { transform: rotate(180deg); transition: transform var(--dur-base) var(--ease-out); }
.post-back:hover { color: #fff; }
.post-back:hover svg { transform: rotate(180deg) translateX(var(--nudge)); }
.post-hero .news-meta { margin-bottom: 18px; }
.post-hero .news-meta time { color: var(--text-on-dark-muted); }
.post-hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  max-width: 20ch;
  margin-bottom: 0.25em;
}
.post-byline {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue);
  margin: 0;
}

.post-body-section { padding-block: clamp(48px, 7vw, 80px); }
.post-body {
  max-width: 720px;
  margin-inline: auto;
  font-size: 1.135rem;
  line-height: 1.75;
  color: var(--text);
}
.post-body > *:first-child { margin-top: 0; }
.post-body h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 1.6em 0 0.5em;
}
.post-body h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.6rem);
  margin: 1.5em 0 0.4em;
}
.post-body p { margin: 0 0 1.15em; }
.post-body ul, .post-body ol { margin: 0 0 1.3em; padding-left: 1.3em; }
.post-body li { margin-bottom: 0.5em; }
.post-body li::marker { color: var(--red); }
.post-body a { color: var(--blue-deep); font-weight: 600; text-underline-offset: 3px; }
.post-body a:hover { color: var(--red); }
.post-body img { border-radius: var(--radius); margin: 1.5em 0; }
.post-body blockquote {
  margin: 1.6em 0;
  padding: 6px 0 6px 24px;
  border-left: 4px solid var(--red);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.35;
  color: var(--text);
}
.post-body blockquote p { margin: 0; }
.post-foot {
  max-width: 720px;
  margin: clamp(36px, 5vw, 56px) auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--line-light);
}
/* "Back to all news" — point the arrow back, and lean it back on hover. */
.post-foot .btn svg { transform: rotate(180deg); }
@media (hover: hover) {
  .post-foot .btn:hover svg { transform: rotate(180deg) translateX(var(--nudge)); }
}

@media (max-width: 760px) {
  .news-featured { grid-template-columns: 1fr; }
  .news-featured-media { min-height: 220px; aspect-ratio: 16 / 9; }
}

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  text-align: center;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 420px at 18% 0%, rgba(232, 50, 63, 0.28), transparent 65%),
    radial-gradient(900px 420px at 85% 100%, rgba(31, 169, 232, 0.22), transparent 65%);
}
.cta-banner h2 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
.cta-banner p {
  color: var(--text-on-dark-muted);
  max-width: 56ch;
  margin: 0 auto 1.8em;
  font-size: 1.15rem;
}
.cta-banner .hero-actions { justify-content: center; }

/* ---------- Info / contact ---------- */
.info-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.info-card {
  padding: 26px 24px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.info-card .icon { color: var(--red); margin-bottom: 12px; }
.info-card h3 { font-size: 1.3rem; margin-bottom: 0.4em; }
.info-card p, .info-card a { color: var(--text-muted); font-size: 1rem; margin: 0; }
.info-card a { font-weight: 600; }

.contact-layout {
  display: grid;
  gap: clamp(28px, 5vw, 56px);
}
@media (min-width: 900px) {
  .contact-layout { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
}

.form-grid { display: grid; gap: 18px; }
@media (min-width: 560px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
}
.field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 6px;
}
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: var(--paper);
  border: 2px solid var(--line-light);
  border-radius: 8px;
  padding: 13px 14px;
  min-height: 50px;
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(31, 169, 232, 0.18);
}
.form-note { color: var(--text-muted); font-size: 0.95rem; }

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line-light);
}
.map-embed iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--text-on-dark-muted);
  border-top: 4px solid var(--red);
}
.footer-grid {
  display: grid;
  gap: 36px;
  padding-block: clamp(48px, 7vw, 72px) 32px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.site-footer h4 {
  color: #fff;
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.9em;
}
.site-footer a { color: var(--text-on-dark-muted); text-decoration: none; transition: color var(--dur-fast) var(--ease-out); }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { font-size: 0.98rem; max-width: 34ch; }

.hours-table { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.hours-table td { padding: 5px 0; vertical-align: top; }
.hours-table td:first-child { padding-right: 14px; }
.hours-table td:last-child {
  text-align: right;
  color: #d7dde7;
  font-weight: 600;
  white-space: nowrap;
}

.social-row { display: flex; gap: 10px; margin-top: 16px; }
.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line-dark);
  color: var(--text-on-dark-muted);
  transition:
    color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    background-color var(--dur-fast) var(--ease-out);
}
.social-row a:hover { color: #fff; border-color: var(--blue); background: rgba(31, 169, 232, 0.12); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  padding-block: 20px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.92rem;
}

/* ==========================================================================
   Motion
   Tokens live in :root. The rules of the system:
   - Entrances animate opacity + `translate`; hover and press animate
     `transform`. Two different properties, so a card's entrance and its hover
     can never clobber each other (they used to: .reveal's transition list
     replaced every card's hover transition, and .reveal.in's transform: none
     cancelled the news cards' hover lift outright).
   - Things arrive on --ease-out and leave on --ease-in.
   - Siblings arriving together stagger by --stagger, capped at five steps.
   - Rules and stripes draw left to right, echoing the crest stripe divider.
   - Hover feedback only on things that can be clicked.
   ========================================================================== */

@keyframes rise-in {
  from { opacity: 0; translate: 0 var(--rise); }
}
@keyframes fade-in {
  from { opacity: 0; }
}
@keyframes draw-x {
  from { transform: scaleX(0); }
}
@keyframes word-rise {
  from { translate: 0 105%; }
}
@keyframes hero-wipe {
  from { clip-path: inset(100% 0 -20% 0); translate: 0 var(--rise); }
  to { clip-path: inset(-20% 0 -20% 0); }
}
@keyframes crest-in {
  from { opacity: 0; scale: var(--shrink); }
}

/* ---------- Reveal on scroll ---------- */
/* Hidden only behind the .js gate (set in <head>, and dropped again if main.js
   never gets going), so no visitor is ever left looking at blank sections.
   main.js adds .in as each element scrolls into view, and sets --i to its place
   among the elements that arrived in the same frame. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal:not(.in) { opacity: 0; }
  .js .reveal.in {
    animation: rise-in var(--dur-slow) var(--ease-out) backwards;
    animation-delay: calc(var(--i, 0) * var(--stagger));
  }

  /* Section choreography: as a block arrives, its eyebrow rule — or a year
     heading's rule, or the mission statement's bar — draws in just behind it. */
  .js .reveal:not(.in) .eyebrow::before,
  .js .year-heading.reveal:not(.in)::after,
  .js .stand-statement.reveal:not(.in)::before { transform: scaleX(0); }
  .js .reveal.in .eyebrow::before,
  .js .year-heading.reveal.in::after,
  .js .stand-statement.reveal.in::before {
    animation: draw-x var(--dur-slow) var(--ease-out) backwards;
    animation-delay: calc((var(--i, 0) + 2) * var(--stagger));
  }
}
.eyebrow::before,
.year-heading::after { transform-origin: left; }

/* ---------- Signature 1: home hero "first pitch" ---------- */
/* One sequence, done in about 1.1s: the crest settles in behind, the eyebrow
   arrives and its rule draws, the headline's words come up out of their own
   masks, then tagline, copy, buttons. main.js splits the headline into words
   (keeping a screen-reader copy of the whole line); without JS, or with reduced
   motion, it rises as one block. Under reduced motion every token here
   collapses, so the whole sequence becomes a single short fade. */
.hero-crest { animation: crest-in var(--dur-hero) var(--ease-out) both; }
.hero .eyebrow { animation: rise-in var(--dur-slow) var(--ease-out) both var(--stagger); }
.hero h1:not(.split-words) { animation: rise-in var(--dur-hero) var(--ease-out) both calc(var(--stagger) * 2); }
.hero h1 .w {
  display: inline-block;
  /* The mask: open above and to the sides, so the snap's overshoot and wide
     glyphs aren't trimmed; closed just under the baseline (with room for the
     comma in "Hockley, TX"), so each word comes up from below a line. */
  clip-path: inset(-0.3em -0.3em -0.12em -0.3em);
}
.hero h1 .w-in {
  display: inline-block;
  animation: word-rise var(--dur-hero) var(--ease-snap) both;
  animation-delay: calc(var(--stagger) * (2 + var(--wi, 0) * 0.75));
}
.hero .hero-tagline { animation: rise-in var(--dur-slow) var(--ease-out) both calc(var(--stagger) * 8); }
.hero .hero-lead { animation: rise-in var(--dur-slow) var(--ease-out) both calc(var(--stagger) * 9); }
.hero .hero-actions { animation: rise-in var(--dur-slow) var(--ease-out) both calc(var(--stagger) * 10); }
.hero-pause:not([hidden]) { animation: fade-in var(--dur-slow) var(--ease-out) both; }

/* ---------- Sub-page heroes ---------- */
/* Same grammar as the home hero, shorter: eyebrow, its rule draws, the title
   wipes up out of its own baseline, then the line beneath. The wipe needs
   motion allowed; reduced motion gets the plain fade. */
.page-hero .eyebrow { animation: rise-in var(--dur-slow) var(--ease-out) both; }
.page-hero h1 { animation: rise-in var(--dur-hero) var(--ease-out) both calc(var(--stagger) * 2); }
.page-hero p { animation: rise-in var(--dur-slow) var(--ease-out) both calc(var(--stagger) * 5); }
@media (prefers-reduced-motion: no-preference) {
  .hero .eyebrow::before,
  .page-hero .eyebrow::before { animation: draw-x var(--dur-slow) var(--ease-out) both calc(var(--stagger) * 2); }
  .page-hero h1 { animation-name: hero-wipe; }
}

/* ---------- Stat counters ---------- */
/* Facility stats count up when scrolled into view (main.js, [data-count] rows
   only — prices are left alone; a price that spins up from $0 reads as a slot
   machine on a section about straight answers). This keeps widths steady. */
.stat b { font-variant-numeric: tabular-nums; }

/* ---------- Signature 2: crest stripe divider ---------- */
/* The blue and red from the crest's outline, as two bands of trim between
   sections, ends cut at an angle like sleeve stripes. As the divider scrolls
   into view (main.js adds .in) each band draws in from the left, red half a
   beat behind blue; the flipped variant draws from the right, so a second
   divider on the page answers the first instead of repeating it. Only
   transform is animated. Hidden only behind the .js gate and with motion
   allowed; otherwise the stripes are simply there. */
.crest-stripe { padding-block: clamp(28px, 4vw, 48px); }
.crest-stripe .container { display: grid; gap: 5px; }
.crest-stripe span {
  display: block;
  height: 4px;
  transform-origin: left;
  clip-path: polygon(0 0, 100% 0, calc(100% - 7px) 100%, 0 100%);
}
.crest-stripe-blue { background: var(--blue); }
.crest-stripe-red { background: var(--red); }
.crest-stripe--flip span {
  transform-origin: right;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 7px 100%);
}
@media (prefers-reduced-motion: no-preference) {
  .js .crest-stripe:not(.in) span { transform: scaleX(0); }
  .js .crest-stripe.in span {
    animation: draw-x var(--dur-slow) var(--ease-out) backwards;
    animation-delay: calc(var(--i, 0) * var(--stagger));
  }
  .js .crest-stripe.in span + span {
    animation-delay: calc((var(--i, 0) + 1.5) * var(--stagger));
  }
}

/* ---------- Scroll parallax on section photos ---------- */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .split-media img {
      animation: parallax-drift linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }
    .page-hero-media img {
      animation: parallax-hero linear both;
      animation-timeline: view();
    }
  }
}
@keyframes parallax-drift {
  from { transform: translateY(-5.5%) scale(1.12); }
  to { transform: translateY(5.5%) scale(1.12); }
}
@keyframes parallax-hero {
  from { transform: translateY(0) scale(1.08); }
  to { transform: translateY(7%) scale(1.08); }
}

/* ---------- Coach profiles ---------- */
.coach-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
.coach-card {
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  /* Not a link, so no hover state; the stagger now comes from the shared
     reveal (main.js numbers the cards that arrive together). */
}
.coach-card .photo {
  aspect-ratio: 4 / 5;
  background: var(--paper-2);
  overflow: hidden;
}
.coach-card .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.coach-card .body { padding: 22px 22px 26px; }
.coach-card h3 { font-size: 1.5rem; margin-bottom: 0.2em; }
.coach-card .role {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--blue-deep);
  background: rgba(31, 169, 232, 0.12);
  border: 1px solid rgba(31, 169, 232, 0.3);
  border-radius: 999px;
  padding: 4px 12px;
  margin: 0 0 12px;
}
.coach-card .bio { color: var(--text-muted); font-size: 1rem; margin: 0; }
.coach-empty {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 52ch;
  margin-inline: auto;
}

/* ---------- Team / coach roster ---------- */
.roster {
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.roster-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px 22px;
  border-top: 1px solid var(--line-light);
}
.roster-row:first-child { border-top: 0; }
.roster-row:nth-child(even) { background: var(--paper-2); }
.roster-row .team {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
}
.roster-row .coach { color: var(--text-muted); font-weight: 500; }
.roster-row .coach.tbd { font-style: italic; opacity: 0.75; }
.roster-head {
  background: var(--ink);
  color: var(--text-on-dark);
}
.roster-head .team,
.roster-head .coach {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-on-dark);
}
.roster-group { margin-top: 52px; scroll-margin-top: 88px; }
.roster-group:first-of-type { margin-top: 0; }
.roster-group .section-head { margin-bottom: 18px; }
.roster-title { margin: 0; }

/* Clickable roster rows (coach has a bio page). */
.roster-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out);
}
.roster-link:hover,
.roster-link:focus-visible { background: rgba(31, 169, 232, 0.10); }
.roster-link .coach.has-bio {
  color: var(--blue-deep);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.roster-arrow { display: inline-flex; transition: transform var(--dur-base) var(--ease-out); }
.roster-link:hover .roster-arrow,
.roster-link:focus-visible .roster-arrow { transform: translateX(var(--nudge)); }

/* Coach bio page. */
.coach-bio-section .post-back { color: var(--text-muted); margin-bottom: 28px; }
.coach-bio-section .post-back:hover { color: var(--red); }
.coach-bio {
  display: grid;
  gap: clamp(28px, 5vw, 60px);
  align-items: start;
}
@media (min-width: 820px) {
  .coach-bio { grid-template-columns: 360px 1fr; }
}
.coach-bio-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  background: var(--surface-dark-2);
}
.coach-bio-photo img { width: 100%; height: 100%; object-fit: cover; }
.coach-bio-body h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 0.08em; }
.coach-bio-role {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--red);
  font-size: 1.15rem;
  margin-bottom: 1.3em;
}

/* ==========================================================================
   Press feedback
   Everything you can tap gives under your finger, then springs back on the
   snap curve (each element's own transition list carries the release). Kept
   last so it outranks the hover lifts above: pressing reads as pushing in.
   ========================================================================== */
.btn:active,
.register-card:active,
.news-chip:active,
.age-pill:active,
.nav-toggle:active,
.hero-pause:active,
.lightbox-close:active {
  transform: scale(var(--shrink));
  transition-duration: var(--dur-fast);
  transition-timing-function: var(--ease-out);
}

/* ==========================================================================
   Page transitions (Signature 3, part one)
   Same-origin navigations crossfade instead of flashing white, the header is
   held perfectly still, and the red current-page bar slides from the old menu
   item to the new one. Browsers without cross-document view transitions just
   navigate as before.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: var(--dur-base);
}
::view-transition-group(nav-indicator) {
  animation-duration: var(--dur-slow);
  animation-timing-function: var(--ease-out);
}

/* ---------- CMS photo framing ----------
   The `frame` filter adds object-position / scale to a photo when an editor
   sets "Photo Framing" in the CMS. `scale` (not `transform`) is used so it
   stacks with the hover-zoom and parallax transforms above. A zoomed photo
   grows past its box, so make sure whatever holds it clips the overflow. */
:has(> [data-zoomed]) { overflow: hidden; }

/* Tryouts page: shown above the buttons when tryouts are in open practices or
   closed (Site Settings → Tryout Status), so families see the current status
   before they reach a button. */
.status-notice {
  margin: 22px 0 4px;
  padding: 16px 18px;
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  background: rgba(232, 50, 63, 0.07);
}
.status-notice strong {
  display: block;
  margin-bottom: 4px;
  color: var(--red);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.status-notice p { margin: 0; }
