/* ==========================================================================
   Stanford Park Youth Sports — site styles
   Brand: logo maroon on warm cream. Motif: outlined letters + offset shadow
   (both lifted straight from the logo lockup).
   ========================================================================== */

:root {
  --maroon: #8e1316;
  --maroon-600: #a41a1e;
  --maroon-800: #6a0e11;
  --maroon-900: #3f0809;
  --cream: #fbf5ec;
  --cream-2: #f4eadb;
  --paper: #fffdf9;
  --ink: #1d1213;
  --ink-2: #4a3b3b;
  --muted: #6d5c5a;
  --line: #e7dac8;
  --blush: #f6e3de;
  --grass: #3f7d3a;

  --font-display: "Anton", "Impact", "Arial Narrow Bold", sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-offset: 6px 6px 0 var(--maroon);
  --shadow-soft: 0 18px 40px -18px rgba(63, 8, 9, 0.35);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 10vw, 140px);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 0.95; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--maroon); color: var(--cream); }

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--maroon); color: var(--cream);
  padding: 10px 16px; border-radius: 10px; font-weight: 700;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

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

.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-y); position: relative; }

/* ---------- Type ---------- */
.display {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 0.92;
}
.outline { color: var(--maroon); }
.on-dark .outline, .outline--cream { color: #f3c9c4; }
.h-xl { font-size: clamp(3.2rem, 8.4vw, 7.4rem); }
.h-lg { font-size: clamp(2.6rem, 6vw, 5.2rem); }
.h-md { font-size: clamp(2rem, 4vw, 3.3rem); }
.h-sm { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.text-maroon { color: var(--maroon); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--maroon);
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px;
}
.on-dark .eyebrow { color: #f3c9c4; }

.lede { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--ink-2); max-width: 58ch; }
.on-dark .lede { color: #f2dcd7; }

.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 5vw, 64px); max-width: 780px; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head--split {
  max-width: none; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 24px 60px;
}

/* ---------- Buttons (logo-style offset shadow) ---------- */
.btn {
  --bg: var(--maroon); --fg: var(--cream); --bd: var(--maroon); --sh: var(--maroon-900);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  background: var(--bg); color: var(--fg);
  border: 2px solid var(--bd); border-radius: 6px;
  font-weight: 800; font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase;
  box-shadow: none;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease-out); flex: none; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -12px rgba(63, 8, 9, 0.55); }
.btn:not(.btn--ghost):not(.btn--cream):not(.btn--outline-cream):hover { background: var(--maroon-800); border-color: var(--maroon-800); }
.btn--ghost:hover { background: var(--maroon); color: var(--cream); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(0); box-shadow: none; transition-duration: 0.08s; }
.btn--ghost { --bg: transparent; --fg: var(--maroon); --bd: var(--maroon); --sh: var(--maroon); }
.btn--cream { --bg: var(--cream); --fg: var(--maroon); --bd: var(--cream); --sh: var(--maroon-900); }
.btn--outline-cream { --bg: transparent; --fg: var(--cream); --bd: var(--cream); --sh: rgba(0,0,0,0.35); }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 0.82rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; color: var(--maroon); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  padding-bottom: 3px; transition: background-size 0.3s var(--ease-out);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease-out); }
.link-arrow:hover { background-size: 100% 2px; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: background-color 0.3s, box-shadow 0.3s, transform 0.4s var(--ease-out);
}
.site-header.is-scrolled {
  background: rgba(251, 245, 236, 0.86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 116px; transition: height 0.3s;
}
.is-scrolled .nav { height: 84px; }
.brand { display: block; flex: none; }
.brand img { height: 80px; width: auto; transition: height 0.3s; }
.is-scrolled .brand img { height: 56px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative; padding: 10px 14px; border-radius: 999px;
  font-weight: 700; font-size: 0.95rem; color: var(--ink);
  transition: color 0.2s, background-color 0.2s;
}
.nav-links a:hover { color: var(--maroon); background: rgba(142, 19, 22, 0.07); }
.nav-links a[aria-current="page"] { color: var(--maroon); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 6px; height: 6px;
  background: var(--maroon); border-radius: 50%; transform: translateX(-50%);
}
.nav-cta { display: flex; align-items: center; gap: 10px; }

.menu-toggle {
  display: none; width: 48px; height: 48px; border-radius: 50%;
  border: 2px solid var(--maroon); background: var(--paper); color: var(--maroon);
  align-items: center; justify-content: center; position: relative; z-index: 120;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform 0.35s var(--ease-out), background-color 0.2s;
}
.menu-toggle span { position: relative; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle { background: var(--cream); border-color: var(--cream); }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 110;
  background: var(--maroon); color: var(--cream);
  display: flex; flex-direction: column; justify-content: center;
  padding: 100px var(--gutter) 40px;
  clip-path: circle(0% at calc(100% - 44px) 42px);
  transition: clip-path 0.6s var(--ease-out);
  visibility: hidden;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 44px) 42px); visibility: visible; }
.mobile-menu ul { display: grid; gap: 4px; }
.mobile-menu a.m-link {
  display: inline-block; font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(2.6rem, 11vw, 4rem); line-height: 1.08;
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.4s, transform 0.5s var(--ease-out), -webkit-text-stroke-color 0.2s, color 0.2s;
}
.mobile-menu a.m-link:hover, .mobile-menu a.m-link[aria-current="page"] { color: #f3c9c4; }
.menu-open .mobile-menu a.m-link { opacity: 1; transform: none; }
.menu-open .mobile-menu li:nth-child(1) a { transition-delay: 0.15s; }
.menu-open .mobile-menu li:nth-child(2) a { transition-delay: 0.2s; }
.menu-open .mobile-menu li:nth-child(3) a { transition-delay: 0.25s; }
.menu-open .mobile-menu li:nth-child(4) a { transition-delay: 0.3s; }
.menu-open .mobile-menu li:nth-child(5) a { transition-delay: 0.35s; }
.menu-open .mobile-menu li:nth-child(6) a { transition-delay: 0.4s; }
.mobile-menu__foot { margin-top: 40px; display: grid; gap: 6px; color: #f2dcd7; font-weight: 600; }
.menu-open { overflow: hidden; }
.menu-open .site-header { z-index: 115; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.menu-open .site-header .brand { opacity: 0; pointer-events: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding-top: clamp(130px, 13vw, 172px); padding-bottom: clamp(56px, 6vw, 80px);
  overflow: hidden;
}
.hero__field {
  position: absolute; inset: 0; pointer-events: none; color: var(--maroon); opacity: 0.09;
}
.hero__field svg { width: 100%; height: 100%; }
.hero__field path, .hero__field circle, .hero__field rect, .hero__field line {
  stroke-dasharray: 3000; stroke-dashoffset: 3000;
  animation: draw 3.2s var(--ease-out) 0.3s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero__grid > *, .page-hero__grid > * { min-width: 0; }
.hero__grid {
  position: relative; display: grid; grid-template-columns: 1.12fr 1fr; gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero__copy { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.hero__title { font-size: clamp(1.9rem, 3.95vw, 3.75rem); line-height: 1.02; color: var(--ink); transform: skewX(-9deg); transform-origin: left bottom; padding-left: 0.12em; }
.hero__title em { font-style: normal; color: var(--maroon); }
@media (min-width: 961px) { .hero__title .line { white-space: nowrap; } }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); animation: rise 0.9s var(--ease-out) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: 0.1s; }
.hero__title .line:nth-child(3) > span { animation-delay: 0.2s; }
.hero__title .line:nth-child(4) > span { animation-delay: 0.3s; }
@keyframes rise { to { transform: none; } }
/* Big page-hero headlines: maroon + ink two-tone */
.page-hero__title .outline { color: var(--ink); }

.hero__alt { font-weight: 600; color: var(--ink-2); font-size: 0.95rem; }
.hero__alt a { margin-left: 6px; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-2); font-weight: 700; font-size: 0.92rem;
}
.hero__meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta svg { width: 18px; height: 18px; color: var(--maroon); }

.fade-up { opacity: 0; transform: translateY(18px); animation: fadeUp 0.9s var(--ease-out) forwards; }
.d1 { animation-delay: 0.35s; } .d2 { animation-delay: 0.5s; } .d3 { animation-delay: 0.65s; } .d4 { animation-delay: 0.8s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* collage */
.collage { position: relative; aspect-ratio: 1 / 1.02; width: 100%; max-width: 620px; justify-self: end; }
.collage__layer { position: absolute; will-change: transform; }
.collage__main {
  inset: 6% 4% 8% 12%;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  overflow: hidden; border: 3px solid var(--maroon); box-shadow: 10px 10px 0 var(--maroon);
  background: var(--cream-2);
  animation: reveal-arch 1.3s var(--ease-out) 0.2s both;
}
@keyframes reveal-arch { from { clip-path: inset(100% 0 0 0 round 300px 300px 28px 28px); } to { clip-path: inset(0 0 0 0 round 0); } }
.collage__main img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform: scale(1.12); animation: settle 1.8s var(--ease-out) 0.2s forwards; }
@keyframes settle { to { transform: scale(1); } }

.polaroid {
  background: var(--paper); padding: 8px 8px 34px; border-radius: 10px;
  box-shadow: var(--shadow-soft); border: 1px solid var(--line);
}
.polaroid img { border-radius: 5px; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.3; }
.polaroid figcaption {
  position: absolute; left: 0; right: 0; bottom: 8px; text-align: center;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.06em; color: var(--maroon); font-size: 0.95rem;
}
.collage__a { width: 38%; left: -8%; top: 60%; }
.collage__a .polaroid { transform: rotate(-7deg); animation: pop-in 0.9s var(--ease-spring) 0.8s both; }
.collage__b { width: 36%; right: -3%; top: -2%; }
.collage__b .polaroid { transform: rotate(6deg); animation: pop-in 0.9s var(--ease-spring) 1s both; }
@keyframes pop-in { from { opacity: 0; scale: 0.6; } to { opacity: 1; scale: 1; } }

.badge-spin {
  width: 38%; aspect-ratio: 1; right: -4%; bottom: -4%; border-radius: 50%;
  background: var(--maroon); color: var(--cream); display: grid; place-items: center;
  box-shadow: 0 14px 30px -12px rgba(63, 8, 9, 0.6);
  animation: pop-in 0.9s var(--ease-spring) 1.2s both;
}
.badge-spin svg.ring { position: absolute; inset: 6%; width: 88%; height: 88%; animation: spin 22s linear infinite; }
.badge-spin text { font-family: var(--font-display); font-size: 12.5px; letter-spacing: 1.6px; fill: var(--cream); }
.badge-spin__center { position: relative; display: grid; justify-items: center; line-height: 0.85; color: var(--cream); }
.badge-spin__center b { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.6rem, 4.6vw, 4.2rem); letter-spacing: 0.01em; }
.badge-spin__center small { font-family: var(--font-display); font-size: clamp(0.85rem, 1.3vw, 1.15rem); letter-spacing: 0.18em; text-transform: uppercase; margin-top: 6px; }
.badge-spin .ball { width: 34%; height: 34%; color: var(--cream); animation: spin 9s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.sticker {
  left: 4%; top: 6%; background: var(--cream); border: 2px solid var(--maroon); color: var(--maroon);
  border-radius: 6px; padding: 8px 16px; font-weight: 800; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  box-shadow: none; transform: rotate(-4deg);
  animation: pop-in 0.8s var(--ease-spring) 1.35s both;
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 22px; translate: -50% 0;
  display: grid; justify-items: center; gap: 6px; color: var(--muted); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase;
}
.scroll-cue i { width: 2px; height: 34px; background: linear-gradient(var(--maroon) 50%, transparent 50%) 0 0 / 2px 200%; animation: cue 1.8s ease-in-out infinite; border-radius: 2px; }
@keyframes cue { to { background-position: 0 -34px; } }

/* ---------- Hero stats ---------- */
.hero-stats { position: relative; margin-top: clamp(40px, 5vw, 64px); }
.hero-stats .stat { padding: 20px 22px; }
.hero-stats .stat__num { font-size: clamp(2.4rem, 4vw, 3.4rem); }
.hero-stats .stat__label { font-size: 0.92rem; }

/* ---------- Marquee band ---------- */
.band-clip { overflow: hidden; padding-block: 28px; margin-block: -28px; position: relative; z-index: 2; }
.band {
  position: relative; z-index: 2; background: var(--maroon); color: var(--cream);
  padding-block: 18px; transform: rotate(-1.6deg); margin-inline: -20px;
  border-block: 3px solid var(--maroon-900);
}
.band--flat { transform: none; margin-inline: 0; }
.marquee { display: flex; overflow: hidden; user-select: none; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track {
  display: flex; align-items: center; gap: 36px; padding-right: 36px; flex: none;
  animation: marquee var(--dur, 38s) linear infinite;
}
.marquee--reverse .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.band .marquee__track span {
  font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.6rem, 3.2vw, 2.6rem); white-space: nowrap; line-height: 1;
}
.band .marquee__track span.o { color: transparent; -webkit-text-stroke: 1.5px var(--cream); }
.band .marquee__track svg { width: 30px; height: 30px; flex: none; opacity: 0.9; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat {
  position: relative; padding: 28px 24px 26px; border-radius: var(--radius);
  background: var(--paper); border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink);
  display: grid; gap: 6px; overflow: hidden;
}
.stat:nth-child(odd) { border-color: var(--maroon); box-shadow: var(--shadow-offset); }
.stat__num { font-family: var(--font-display); font-size: clamp(3rem, 5.6vw, 4.6rem); line-height: 0.9; color: var(--maroon); }
.stat__label { font-weight: 700; color: var(--ink-2); }
.stat svg.corner { position: absolute; right: -14px; top: -14px; width: 84px; height: 84px; color: var(--maroon); opacity: 0.08; }

/* ---------- Intro / mission ---------- */
.intro { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.intro__media { position: relative; }
.intro__media .frame {
  border-radius: var(--radius-lg); overflow: hidden; border: 3px solid var(--maroon); box-shadow: 12px 12px 0 var(--maroon);
  aspect-ratio: 4 / 4.6;
}
.intro__media .frame img { width: 100%; height: 118%; object-fit: cover; }
.intro__media .tag {
  position: absolute; left: -16px; bottom: 34px; max-width: 250px;
  background: var(--paper); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-soft);
  display: grid; gap: 4px; border: 1px solid var(--line);
}
.intro__media .tag strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--maroon); text-transform: uppercase; line-height: 1; }
.intro__media .tag span { font-size: 0.92rem; color: var(--ink-2); font-weight: 600; }
.intro__copy { display: grid; gap: 24px; }
.checks { display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.checks svg { flex: none; width: 24px; height: 24px; color: var(--cream); background: var(--maroon); border-radius: 50%; padding: 4px; margin-top: 1px; }
.on-dark .checks svg { background: var(--cream); color: var(--maroon); }

/* ---------- Formats (4 ways to play) ---------- */
.formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.format {
  position: relative; display: grid; align-content: start; gap: 14px;
  padding: 26px 22px; border-radius: var(--radius-lg);
  background: var(--paper); border: 2px solid var(--maroon);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background-color 0.3s, color 0.3s;
  box-shadow: 0 0 0 var(--maroon);
}
.format:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--maroon); }
.format.format--more { background: var(--maroon); color: var(--cream); border-color: var(--maroon); }
.format.format--more p { color: #f2dcd7; }
.format.format--more .format__no { color: #f3c9c4; }
.format.format--more .format__icon { background: rgba(251,245,236,0.14); color: var(--cream); }
.format.format--more:hover { box-shadow: 8px 8px 0 var(--maroon-900); }
.format.format--more:hover .format__icon { background: var(--cream); color: var(--maroon); }
.format.format--more .format__when { background: var(--cream); color: var(--maroon); display: inline-flex; align-items: center; gap: 6px; }
.format.format--more .format__when svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease-out); }
.format.format--more:hover .format__when svg { transform: translateX(3px); }
.format__no { font-family: var(--font-display); font-size: 1rem; color: var(--maroon); letter-spacing: 0.1em; }
.format__icon {
  width: 64px; height: 64px; border-radius: 18px; background: var(--blush); color: var(--maroon);
  display: grid; place-items: center; transition: transform 0.5s var(--ease-spring), background-color 0.3s;
}
.format__icon svg { width: 34px; height: 34px; }
.format:hover .format__icon { transform: rotate(-8deg) scale(1.08); background: var(--maroon); color: var(--cream); }
.format h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.65rem; line-height: 1; }
.format p { color: var(--ink-2); font-size: 0.98rem; }
.format__when {
  justify-self: start; margin-top: 4px; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--maroon); background: var(--blush); border-radius: 6px; padding: 6px 12px;
}

/* ---------- Sports ---------- */
.sports-wrap { background: var(--paper); border-block: 1px solid var(--line); }
.sports { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sport {
  position: relative; display: grid; gap: 18px; align-content: space-between;
  min-height: 210px; padding: 24px; border-radius: var(--radius); overflow: hidden;
  background: var(--cream); border: 1.5px solid var(--line);
  transition: background-color 0.35s, color 0.35s, border-color 0.35s, transform 0.35s var(--ease-out);
}
.sport__icon { width: 64px; height: 64px; color: var(--maroon); transition: transform 0.7s var(--ease-spring), color 0.3s; }
.sport h3 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.7rem, 2.4vw, 2.2rem); line-height: 1; }
.sport p { font-size: 0.9rem; color: var(--muted); font-weight: 600; transition: color 0.3s; }
.sport::after {
  content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%;
  right: -60px; bottom: -60px; border: 2px solid currentColor; opacity: 0.08; transition: transform 0.6s var(--ease-out), opacity 0.3s;
}
.sport:hover { background: var(--maroon); color: var(--cream); border-color: var(--maroon); transform: translateY(-4px); }
.sport:hover .sport__icon { color: var(--cream); transform: rotate(-20deg) scale(1.1); }
.sport:hover p { color: #f2dcd7; }
.sport:hover::after { transform: scale(1.5); opacity: 0.2; }
.sport--more { background: transparent; border: 2px dashed var(--maroon); color: var(--maroon); }
.sport--more h3 { color: var(--maroon); }

/* ---------- Trust / safety ---------- */
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.trust__media { position: sticky; top: 110px; }
.trust__media .frame { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; position: relative; }
.trust__media .frame img { width: 100%; height: 100%; object-fit: cover; }
.trust__media .frame::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(63, 8, 9, 0.75));
}
.trust__media figcaption {
  position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 1; color: var(--cream);
  font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1;
}
.trust__list { display: grid; gap: 0; counter-reset: t; }
.trust__item {
  display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 28px 0; border-top: 1.5px solid var(--line);
  counter-increment: t;
}
.trust__item:last-child { border-bottom: 1.5px solid var(--line); }
.trust__item::before {
  content: "0" counter(t); font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: var(--maroon);
  transition: color 0.3s;
}
.trust__item:hover::before { color: var(--maroon); }
.trust__item h3 { font-weight: 800; font-size: 1.2rem; line-height: 1.3; margin-bottom: 6px; }
.trust__item p { color: var(--ink-2); }

/* ---------- Gallery (scroll-driven horizontal) ---------- */
.gallery { position: relative; background: var(--ink); color: var(--cream); }
.gallery__pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: clamp(28px, 4vh, 48px); }
.gallery__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.gallery__track { display: flex; gap: 20px; padding-inline: var(--gutter); will-change: transform; }
.gallery__item {
  flex: none; height: clamp(300px, 52vh, 520px); border-radius: var(--radius); overflow: hidden; position: relative;
}
.gallery__item img { height: 100%; width: auto; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item--word {
  display: grid; place-items: center; padding: 0 30px; background: var(--maroon);
  font-family: var(--font-display); text-transform: uppercase; font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 0.95; text-align: center;
  width: clamp(260px, 26vw, 380px);
}
.gallery__item--word.o { background: var(--cream); color: var(--maroon); }
.gallery__progress { height: 3px; background: rgba(251,245,236,0.15); border-radius: 3px; overflow: hidden; }
.gallery__progress i { display: block; height: 100%; width: 100%; background: var(--cream); transform-origin: left; transform: scaleX(0); }

/* ---------- Campus photo wall ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 16vw, 230px); gap: 14px; }
.bento figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--cream-2); }
.bento img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.bento figure:hover img { transform: scale(1.06); }
.bento .b-big { grid-column: span 2; grid-row: span 2; border: 3px solid var(--maroon); box-shadow: 8px 8px 0 var(--maroon); }
.bento .b-wide { grid-column: span 2; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.quote {
  position: relative; margin: 0; display: flex; flex-direction: column; gap: 22px;
  padding: clamp(28px, 3.6vw, 44px); border-radius: var(--radius-lg);
  background: var(--paper); border: 2px solid var(--maroon); box-shadow: 8px 8px 0 var(--maroon);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.quote:hover { transform: translate(-3px, -3px); box-shadow: 11px 11px 0 var(--maroon); }
.quote__mark { font-family: var(--font-display); font-size: 5.5rem; line-height: 0.7; height: 40px; color: var(--maroon); }
.quote blockquote { margin: 0; flex: 1; font-size: clamp(1.02rem, 1.25vw, 1.15rem); font-weight: 500; line-height: 1.65; color: var(--ink); }
.quote figcaption { display: flex; align-items: center; gap: 16px; padding-top: 22px; border-top: 1.5px solid var(--line); }
.quote__logo {
  width: 64px; height: 64px; flex: none; display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 8px; overflow: hidden;
}
.quote__logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; }
.quote figcaption strong { display: block; font-weight: 800; font-size: 1.02rem; }
.quote figcaption span span { font-size: 0.9rem; color: var(--muted); }

/* ---------- Schools marquee ---------- */
.schools-marquee { display: grid; gap: 14px; }
.schools-marquee .marquee__track { gap: 14px; padding-right: 14px; --dur: 60s; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 14px 22px; border-radius: 999px; background: var(--paper); border: 1.5px solid var(--line);
  font-weight: 700; font-size: 1.02rem; color: var(--ink);
}
.chip svg { width: 18px; height: 18px; color: var(--maroon); }

/* ---------- School logos ---------- */
.logos-marquee { gap: 18px; }
.logos-marquee .marquee__track { gap: 18px; padding-right: 18px; --dur: 70s; padding-block: 8px; }
.logo-tile {
  --tile: clamp(112px, 11vw, 150px);
  flex: none; width: var(--tile); height: var(--tile); display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: #fff; border: 1.5px solid var(--line); border-radius: 24px; padding: 16px;
  box-shadow: 0 10px 24px -18px rgba(63, 8, 9, 0.45);
  transition: transform 0.35s var(--ease-spring), border-color 0.25s, box-shadow 0.3s;
}
.logo-tile img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.logo-tile:hover { transform: translateY(-4px) rotate(-2deg); border-color: var(--maroon); box-shadow: 5px 5px 0 var(--maroon); }
.school.school--logo { flex-direction: column; justify-content: flex-start; text-align: center; gap: 12px; padding: 18px 14px; font-size: 0.92rem; line-height: 1.3; }
.school__logo { width: 96px; height: 96px; display: flex; align-items: center; justify-content: center; }
.school__logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; }
.school.school--logo span:empty { display: none; }

/* ---------- Donate band ---------- */
.donate-band {
  position: relative; overflow: hidden; background: var(--maroon); color: var(--cream);
  border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 80px);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
}
.donate-band__art { position: absolute; right: -80px; top: -80px; width: 420px; height: 420px; color: var(--cream); opacity: 0.08; animation: spin 60s linear infinite; }
.donate-band__copy { position: relative; display: grid; gap: 22px; }
.donate-band__side { position: relative; display: grid; gap: 18px; justify-items: start; }
.pill-note {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 6px;
  border: 1.5px solid rgba(251,245,236,0.45); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em;
}
.pill-note svg { width: 16px; height: 16px; }

/* ---------- CTA split ---------- */
.cta-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cta-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); min-height: 420px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 16px;
  padding: clamp(28px, 4vw, 44px); color: var(--cream); isolation: isolate;
}
.cta-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease-out); }
.cta-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(29,18,19,0.05) 0%, rgba(63,8,9,0.55) 45%, rgba(63,8,9,0.94) 100%); }
.cta-card:hover img { transform: scale(1.06); }
.cta-card .who { font-weight: 800; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: #f3c9c4; }
.cta-card h3 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(2.2rem, 4vw, 3.4rem); }
.cta-card p { max-width: 42ch; color: #f2dcd7; }

/* ---------- Footer ---------- */
.site-footer { background: var(--maroon-900); color: var(--cream); padding-top: clamp(64px, 8vw, 100px); overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer-brand { display: grid; gap: 18px; align-content: start; }
.footer-brand .logo-chip { background: var(--cream); border-radius: 14px; padding: 12px 16px; justify-self: start; }
.footer-brand .logo-chip img { height: 52px; width: auto; }
.footer-brand p { color: #e8c9c4; max-width: 34ch; }
.site-footer h4 { font-weight: 800; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: #f3c9c4; margin-bottom: 16px; line-height: 1.3; }
.footer-links { display: grid; gap: 10px; }
.footer-links a, .footer-contact a { color: var(--cream); font-weight: 600; transition: color 0.2s, padding-left 0.3s var(--ease-out); }
.footer-links a:hover { color: #f3c9c4; padding-left: 6px; }
.footer-contact { display: grid; gap: 12px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; color: #e8c9c4; }
.footer-contact svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: #f3c9c4; }
.footer-contact a:hover { color: #f3c9c4; }
.footer-word { display: none; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-block: 22px; border-top: 1px solid rgba(251,245,236,0.15); color: #d9b3ad; font-size: 0.9rem;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding-top: clamp(140px, 16vw, 210px); padding-bottom: clamp(56px, 7vw, 96px); overflow: hidden; }
.page-hero__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: end; }
.page-hero__copy { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.page-hero__title { font-size: clamp(3.4rem, 8vw, 7.2rem); }
.page-hero__title .line { display: block; overflow: hidden; }
.page-hero__title .line > span { display: inline-block; transform: translateY(105%); animation: rise 0.9s var(--ease-out) forwards; }
.page-hero__title .line:nth-child(2) > span { animation-delay: 0.1s; }
.page-hero__media {
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3.4;
  border: 3px solid var(--maroon); box-shadow: 10px 10px 0 var(--maroon);
  animation: reveal-arch 1.2s var(--ease-out) 0.15s both;
}
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { display: flex; gap: 8px; font-size: 0.85rem; font-weight: 700; color: var(--muted); }
.crumbs a:hover { color: var(--maroon); }

/* ---------- About ---------- */
.story { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 90px); }
.story__big { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 700; line-height: 1.3; letter-spacing: -0.015em; }
.story__big em { font-style: normal; color: var(--maroon); }
.story__body { display: grid; gap: 20px; color: var(--ink-2); font-size: 1.08rem; }
.mission {
  position: relative; background: var(--maroon); color: var(--cream); border-radius: var(--radius-lg);
  padding: clamp(40px, 7vw, 100px) clamp(24px, 6vw, 90px); text-align: center; overflow: hidden;
}
.mission .display { font-size: clamp(2rem, 4.4vw, 3.8rem); max-width: 20ch; margin-inline: auto; line-height: 1; }
.mission__art { position: absolute; inset: auto -60px -60px auto; width: 300px; height: 300px; opacity: 0.08; color: var(--cream); animation: spin 50s linear infinite; }
.photo-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
.photo-row figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.photo-row figure:first-child { aspect-ratio: auto; }
.photo-row img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.photo-row figure:hover img { transform: scale(1.05); }

/* ---------- Programs page ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 6px;
  border: 2px solid var(--maroon); background: var(--paper); color: var(--maroon); font-weight: 800; font-size: 0.88rem; letter-spacing: 0.04em;
  transition: background-color 0.2s, color 0.2s, transform 0.2s var(--ease-out);
}
.filter svg { width: 18px; height: 18px; }
.filter:hover { transform: translateY(-2px); }
.filter[aria-pressed="true"] { background: var(--maroon); color: var(--cream); }
.filter .count { font-size: 0.75rem; background: var(--blush); color: var(--maroon); border-radius: 999px; padding: 1px 8px; }
.filter[aria-pressed="true"] .count { background: var(--cream); }
.programs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.program {
  display: grid; gap: 18px; align-content: start; padding: 26px; border-radius: var(--radius-lg);
  background: var(--paper); border: 2px solid var(--maroon); box-shadow: 0 0 0 var(--maroon);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), opacity 0.35s;
}
.program:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--maroon); }
.program.is-hidden { display: none; }
.program__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.program__sport {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px;
  background: var(--blush); color: var(--maroon); font-weight: 800; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.program__sport svg { width: 22px; height: 22px; }
.program__price { font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--maroon); }
.program h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 2rem; line-height: 1; }
.program dl { display: grid; gap: 10px; margin: 0; }
.program dl div { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 0.95rem; }
.program dt svg { width: 20px; height: 20px; color: var(--maroon); margin-top: 2px; }
.program dd { margin: 0; color: var(--ink-2); font-weight: 600; }
.program .note { font-size: 0.85rem; color: var(--muted); background: var(--cream); border-radius: 10px; padding: 8px 12px; }
.program .btn { justify-self: stretch; }
.callout {
  display: flex; gap: 18px; align-items: flex-start; padding: 24px; border-radius: var(--radius);
  background: var(--blush); border: 1.5px solid #ecc9c2; margin-top: 40px;
}
.callout svg { width: 28px; height: 28px; color: var(--maroon); flex: none; }
.callout p { color: var(--ink-2); }
.callout strong { color: var(--ink); }

/* ---------- Schools page ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; position: relative; }
.step { position: relative; display: grid; align-content: start; gap: 12px; padding-top: 70px; counter-increment: s; }
.step::before {
  content: counter(s); position: absolute; top: 0; left: 0; width: 54px; height: 54px; border-radius: 50%;
  background: var(--maroon); color: var(--cream); display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.6rem; box-shadow: 4px 4px 0 var(--maroon-900);
}
.step::after { content: ""; position: absolute; top: 26px; left: 70px; right: -10px; height: 2px; background: repeating-linear-gradient(90deg, var(--maroon) 0 8px, transparent 8px 16px); opacity: 0.4; }
.step:last-child::after { display: none; }
.step h3 { font-weight: 800; font-size: 1.2rem; line-height: 1.3; }
.step p { color: var(--ink-2); }
.school-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.school {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: var(--radius-sm);
  background: var(--paper); border: 1.5px solid var(--line); font-weight: 700;
  transition: border-color 0.2s, transform 0.25s var(--ease-out), color 0.2s;
}
.school svg { width: 20px; height: 20px; color: var(--maroon); flex: none; }
.school:hover { border-color: var(--maroon); transform: translateY(-2px); color: var(--maroon); }

.faq { display: grid; gap: 12px; max-width: 880px; margin-inline: auto; }
.faq details {
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.3s;
}
.faq details[open] { border-color: var(--maroon); box-shadow: 6px 6px 0 var(--maroon); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 24px; font-weight: 800; font-size: 1.1rem; min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 32px; height: 32px; border-radius: 50%; flex: none; background: var(--blush); color: var(--maroon); display: grid; place-items: center; transition: transform 0.35s var(--ease-out), background-color 0.2s; }
.faq summary .plus svg { width: 16px; height: 16px; }
.faq details[open] .plus { transform: rotate(45deg); background: var(--maroon); color: var(--cream); }
.faq .answer { padding: 0 24px 22px; color: var(--ink-2); }

/* ---------- Donate page ---------- */
.impact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.impact__card {
  display: grid; gap: 14px; align-content: start; padding: 30px; border-radius: var(--radius-lg);
  background: var(--paper); border: 2px solid var(--maroon);
}
.impact__card .format__icon { background: var(--maroon); color: var(--cream); }
.impact__card h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.8rem; line-height: 1; }
.impact__card p { color: var(--ink-2); }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.form-card {
  background: var(--paper); border: 2px solid var(--maroon); border-radius: var(--radius-lg); box-shadow: 10px 10px 0 var(--maroon);
  padding: clamp(24px, 4vw, 44px);
}
.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-weight: 800; font-size: 0.9rem; }
.field .opt { font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--cream); font: inherit; color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--maroon); background: var(--paper); box-shadow: 0 0 0 4px rgba(142, 19, 22, 0.14);
}
.field .error { color: var(--maroon); font-size: 0.85rem; font-weight: 700; display: none; }
.field.has-error input, .field.has-error textarea { border-color: var(--maroon); }
.field.has-error .error { display: block; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 10px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border-radius: 6px;
  border: 1.5px solid var(--line); background: var(--cream); font-weight: 700; font-size: 0.92rem; cursor: pointer;
  transition: all 0.2s;
}
.seg input:checked + span { background: var(--maroon); color: var(--cream); border-color: var(--maroon); }
.seg input:focus-visible + span { outline: 3px solid var(--maroon); outline-offset: 2px; }
.form-success { display: none; text-align: center; gap: 16px; justify-items: center; padding: 30px 0; }
.form-success .tick { width: 84px; height: 84px; border-radius: 50%; background: var(--maroon); color: var(--cream); display: grid; place-items: center; animation: pop-in 0.6s var(--ease-spring) both; }
.form-success .tick svg { width: 40px; height: 40px; }
.form-card.is-sent .form { display: none; }
.form-card.is-sent .form-success { display: grid; }
.info-cards { display: grid; gap: 16px; }
.info-card {
  display: flex; gap: 16px; align-items: center; padding: 22px; border-radius: var(--radius);
  background: var(--paper); border: 1.5px solid var(--line); transition: border-color 0.2s, transform 0.3s var(--ease-out);
}
a.info-card:hover { border-color: var(--maroon); transform: translateX(4px); }
.info-card .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--maroon); color: var(--cream); display: grid; place-items: center; flex: none; }
.info-card .ic svg { width: 24px; height: 24px; }
.info-card small { display: block; font-weight: 800; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.info-card strong { font-size: 1.08rem; font-weight: 800; word-break: break-word; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-scale { opacity: 0; transform: scale(0.94); transition: opacity 0.9s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal-scale.is-in { opacity: 1; transform: none; }
.reveal-clip { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal-clip.is-in { clip-path: inset(0 0 0 0); }
.no-js .reveal, .no-js .reveal-scale { opacity: 1; transform: none; }
.no-js .reveal-clip { clip-path: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-links a { padding: 10px 10px; font-size: 0.9rem; }
  .formats { grid-template-columns: repeat(2, 1fr); }
  .sports { grid-template-columns: repeat(3, 1fr); }
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .school-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .nav-links, .nav-cta .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero__grid, .page-hero__grid, .intro, .trust, .story, .contact-grid, .donate-band { grid-template-columns: 1fr; }
  .collage { justify-self: center; max-width: 520px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .trust__media { position: relative; top: 0; }
  .trust__media .frame { aspect-ratio: 16 / 11; }
  .quotes, .cta-split { grid-template-columns: 1fr; }
  .section-head--split { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .step::after { display: none; }
  .impact { grid-template-columns: 1fr; }
  .photo-row { grid-template-columns: 1fr 1fr; }
  .photo-row figure:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .scroll-cue { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand img { height: 54px; }
  .nav { height: 92px; }
  .is-scrolled .brand img { height: 46px; }
  .is-scrolled .nav { height: 76px; }
  .formats, .sports, .programs-grid, .stats, .steps { grid-template-columns: 1fr; }
  .school-grid { grid-template-columns: 1fr 1fr; }
  .logo-tile { --tile: 96px; border-radius: 18px; padding: 12px; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .bento .b-big { box-shadow: 5px 5px 0 var(--maroon); }
  .sports { grid-template-columns: 1fr 1fr; }
  .sport { min-height: 170px; padding: 18px; }
  .sport__icon { width: 48px; height: 48px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 100%; }
  .btn { white-space: normal; text-align: center; padding-inline: 20px; }
  .intro__media .tag { left: 12px; bottom: 12px; }
  .collage__a { left: 0; }
  .collage__b { right: 0; }
  .stat { padding: 22px 20px; }
}

/* Gallery falls back to a native horizontal scroller on small screens / reduced motion */
@media (max-width: 960px), (prefers-reduced-motion: reduce) {
  .gallery { height: auto !important; padding-block: var(--section-y); }
  .gallery__pin { position: relative; height: auto; }
  .gallery__track { overflow-x: auto; scroll-snap-type: x mandatory; transform: none !important; padding-bottom: 12px; scrollbar-width: none; }
  .gallery__track::-webkit-scrollbar { display: none; }
  .gallery__item { scroll-snap-align: center; height: 380px; }
  .gallery__progress { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; }
  .hero__title .line > span, .page-hero__title .line > span, .fade-up,
  .collage__main, .collage__main img, .collage__a .polaroid, .collage__b .polaroid,
  .badge-spin, .sticker, .page-hero__media { animation: none !important; opacity: 1; clip-path: none; }
  .hero__title .line > span, .page-hero__title .line > span, .fade-up, .collage__main img { transform: none; }
  .hero__field path, .hero__field circle, .hero__field rect, .hero__field line { animation: none; stroke-dashoffset: 0; }
  .reveal, .reveal-scale { opacity: 1; transform: none; }
  .reveal-clip { clip-path: none; }
}


/* Keep the bigger logo from crowding the nav on small laptops */
@media (min-width: 961px) and (max-width: 1180px) {
  .brand img { height: 62px; }
  .nav-links a { padding: 10px 8px; }
}

/* ---------- On-campus photo strip (auto-scrolls; never pins the page) ---------- */
.gallery.section { height: auto; }
.gallery .gallery__head { margin-bottom: clamp(32px, 4vw, 48px); }
.photo-marquee { mask-image: none; }
.photo-marquee .marquee__track { gap: 18px; padding-right: 18px; --dur: 90s; }
.photo-marquee .gallery__item { height: clamp(260px, 34vw, 420px); }
.photo-marquee .gallery__item--word {
  width: auto; min-width: clamp(220px, 22vw, 320px); padding: 0 clamp(28px, 3vw, 48px);
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-size: clamp(2.2rem, 3.8vw, 3.6rem); white-space: nowrap;
}
.gallery.section { padding-bottom: clamp(56px, 7vw, 96px); }
@media (prefers-reduced-motion: reduce) {
  .photo-marquee { overflow-x: auto; }
  .photo-marquee .marquee__track[aria-hidden="true"] { display: none; }
}

/* School logos flow straight into "Why schools choose us" */
section[aria-labelledby="schools-title"] + section[aria-labelledby="intro-title"] { padding-top: 0; }

/* ---------- Program formats as photo cards ---------- */
.format.format--photo {
  position: relative; isolation: isolate; overflow: hidden; min-height: clamp(340px, 30vw, 420px);
  padding: 0; border: 0; border-radius: 12px; color: var(--cream);
  display: flex; flex-direction: column; justify-content: space-between; background: var(--maroon-900);
}
.format--photo .format__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease-out); }
.format--photo::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(29,18,19,0.15) 0%, rgba(29,18,19,0.1) 35%, rgba(63,8,9,0.78) 68%, rgba(63,8,9,0.96) 100%);
  transition: background-color 0.4s;
}
.format--photo:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -22px rgba(63, 8, 9, 0.7); }
.format--photo:hover .format__bg { transform: scale(1.07); }
.format__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 20px 20px 0; }
.format--photo .format__no {
  font-family: var(--font-display); font-size: 1.05rem; color: var(--cream); letter-spacing: 0.08em;
  background: var(--maroon); padding: 6px 10px; border-radius: 6px;
}
.format--photo .format__when { margin: 0; background: var(--cream); color: var(--maroon); }
.format__body { display: grid; gap: 10px; padding: 0 24px 26px; }
.format--photo .format__icon { width: 52px; height: 52px; border-radius: 10px; background: rgba(251,245,236,0.16); color: var(--cream); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.format--photo .format__icon svg { width: 28px; height: 28px; }
.format--photo:hover .format__icon { background: var(--cream); color: var(--maroon); transform: rotate(-8deg) scale(1.06); }
.format--photo h3 { font-size: clamp(1.7rem, 2.2vw, 2.1rem); }
.format--photo p { color: #f2dcd7; font-size: 0.95rem; }
.format.format--more { border-radius: 12px; min-height: clamp(340px, 30vw, 420px); justify-content: flex-end; }

/* ---------- How it works: red band with a track that fills in ---------- */
.steps-band { background: var(--maroon); color: var(--cream); }
.steps-band .section-head .lede { color: #f2dcd7; }
.steps-band .outline { color: #f3c9c4; }
.steps.reveal-line { position: relative; }
.steps.reveal-line::before, .steps.reveal-line::after {
  content: ""; position: absolute; left: 28px; right: 28px; top: 27px; height: 3px; border-radius: 3px;
}
.steps.reveal-line::before { background: rgba(251,245,236,0.22); }
.steps.reveal-line::after { background: var(--cream); transform-origin: left; transform: scaleX(0); transition: transform 1.8s var(--ease-out) 0.2s; }
.steps.reveal-line.is-in::after { transform: scaleX(1); }
.steps-band .step { padding-top: 84px; }
.steps-band .step::before {
  top: 0; left: 0; width: 56px; height: 56px; z-index: 1;
  background: var(--cream); color: var(--maroon); box-shadow: 0 0 0 6px var(--maroon);
  font-size: 1.7rem;
}
.steps-band .step::after { display: none; }
.step__card {
  height: 100%; display: grid; align-content: start; gap: 10px; padding: 24px 22px 26px;
  background: var(--paper); color: var(--ink); border-radius: 12px;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.step__card:hover { transform: translateY(-5px); box-shadow: 0 22px 36px -22px rgba(0,0,0,0.6); }
.step__icon { width: 48px; height: 48px; border-radius: 10px; display: grid; place-items: center; background: var(--blush); color: var(--maroon); margin-bottom: 4px; }
.step__icon svg { width: 26px; height: 26px; }
.steps-band .step h3 { color: var(--ink); }
.steps-band .step p { color: var(--ink-2); }
@media (max-width: 960px) {
  .steps.reveal-line::before, .steps.reveal-line::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .steps.reveal-line::after { transform: scaleX(1); }
}
.steps-band .step { display: flex; flex-direction: column; }
.steps-band .step__card { flex: 1; height: auto; }

/* PE card photo: keep the demonstrating coach in frame */
.format__bg[src*="pn21-"] { object-position: 12% 50%; }


/* ---------- Nonprofit clarity ---------- */
.np-badge {
  justify-self: start; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 6px; background: var(--maroon); color: var(--cream);
  font-weight: 800; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.np-badge svg { width: 16px; height: 16px; }
.footer-np { display: flex; gap: 8px; align-items: flex-start; font-size: 0.9rem; color: #f3c9c4 !important; }
.footer-np svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.nav-donate svg { width: 16px; height: 16px; }
/* Donate stays visible on every desktop width */

/* ---------- Donate: gift tiers ---------- */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tier {
  display: grid; align-content: start; gap: 10px; padding: 28px 24px; border-radius: 12px;
  background: var(--paper); border: 2px solid var(--maroon);
  transition: transform 0.35s var(--ease-out), background-color 0.3s, color 0.3s, box-shadow 0.35s;
}
.tier:hover { transform: translateY(-6px); background: var(--maroon); color: var(--cream); box-shadow: 0 22px 36px -22px rgba(63,8,9,0.7); }
.tier__amt { font-family: var(--font-display); font-size: clamp(2.8rem, 4.4vw, 3.8rem); line-height: 0.9; color: var(--maroon); transition: color 0.3s; }
.tier:hover .tier__amt { color: var(--cream); }
.tier h3 { font-weight: 800; font-size: 1.15rem; line-height: 1.25; }
.tier p { color: var(--ink-2); font-size: 0.95rem; transition: color 0.3s; }
.tier:hover p { color: #f2dcd7; }
.tier__cta { margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--maroon); transition: color 0.3s; }
.tier__cta svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease-out); }
.tier:hover .tier__cta { color: var(--cream); }
.tier:hover .tier__cta svg { transform: translateX(4px); }
.match { margin-top: 24px; display: flex; gap: 12px; align-items: center; padding: 16px 20px; border-radius: 10px; background: var(--blush); color: var(--ink-2); }
.match svg { width: 22px; height: 22px; color: var(--maroon); flex: none; }
.match strong { color: var(--ink); }

/* ---------- Donate: ways to give + facts ---------- */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.way { display: grid; align-content: start; gap: 12px; padding: 28px 24px; border-radius: 12px; background: var(--cream); border: 1.5px solid var(--line); }
.way__icon { width: 52px; height: 52px; border-radius: 10px; display: grid; place-items: center; background: var(--maroon); color: var(--cream); }
.way__icon svg { width: 26px; height: 26px; }
.way h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.7rem; line-height: 1; }
.way p { color: var(--ink-2); }
.way .btn { justify-self: start; margin-top: 4px; }
.np-facts { margin-top: 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.np-facts > div { background: var(--paper); padding: 18px 20px; display: grid; gap: 4px; }
.np-facts small { font-weight: 800; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.np-facts strong { font-weight: 800; }
@media (max-width: 1100px) { .tiers, .np-facts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .ways { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .tiers, .np-facts { grid-template-columns: 1fr; } }

/* ---------- About: values + vision ---------- */
.values { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 26px auto 0; }
.values li { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.1rem, 1.8vw, 1.5rem); letter-spacing: 0.04em;
  padding: 10px 18px; border-radius: 6px; background: var(--cream); color: var(--maroon); }
.mission__vision { margin: 26px auto 0; max-width: 60ch; color: #f2dcd7; }
.mission__vision strong { color: var(--cream); }

/* ---------- For schools: partnership lists ---------- */
.plists { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plist { padding: 28px 26px; border-radius: 12px; background: var(--paper); border: 2px solid var(--maroon); }
.plist h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.6rem; line-height: 1.05; margin-bottom: 16px; }
.plist ul { display: grid; gap: 10px; }
.plist li { position: relative; padding-left: 22px; color: var(--ink-2); font-weight: 600; }
.plist li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 10px; height: 10px; border-radius: 2px; background: var(--maroon); }
.plist--dark { background: var(--maroon); color: var(--cream); }
.plist--dark li { color: #f2dcd7; }
.plist--dark li::before { background: var(--cream); }
@media (max-width: 960px) { .plists { grid-template-columns: 1fr; } }

/* ---------- Get involved ---------- */
.gi-jump { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gi-jump__card { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 12px; background: var(--paper); border: 2px solid var(--maroon);
  font-family: var(--font-display); text-transform: uppercase; font-size: 1.5rem; transition: transform 0.3s var(--ease-out), background-color 0.3s, color 0.3s; }
.gi-jump__card > svg { margin-left: auto; width: 22px; height: 22px; color: var(--maroon); transition: transform 0.3s var(--ease-out), color 0.3s; }
.gi-jump__card:hover { transform: translateY(-4px); background: var(--maroon); color: var(--cream); }
.gi-jump__card:hover > svg { color: var(--cream); transform: translateX(4px); }
.gi-jump__card:hover .way__icon { background: var(--cream); color: var(--maroon); }
.gi { scroll-margin-top: 90px; }
.gi--flip .intro__media { order: 2; }
.gi .intro__copy p.reveal { color: var(--ink-2); font-size: 1.05rem; }
@media (max-width: 960px) { .gi-jump { grid-template-columns: 1fr; } .gi--flip .intro__media { order: 0; } }

/* Donate: 5 ways to give */
.ways { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* Nav has 6 links now: tighten on smaller desktops */
@media (min-width: 961px) and (max-width: 1320px) { .nav-links a { padding: 10px 9px; font-size: 0.9rem; } }

/* Nav: never wrap link text; scale logo/spacing so 6 links + 2 buttons fit */
.nav-links a, .nav-cta .btn { white-space: nowrap; }
@media (min-width: 961px) and (max-width: 1500px) {
  .brand img { height: 62px; }
  .is-scrolled .brand img { height: 52px; }
  .nav { gap: 16px; }
}
@media (min-width: 961px) and (max-width: 1180px) {
  .brand img, .is-scrolled .brand img { height: 50px; }
  .nav-links a { padding: 10px 7px; font-size: 0.85rem; }
  .nav-cta .btn--sm { padding: 10px 14px; font-size: 0.76rem; }
}

/* ===== Petr feedback round ===== */

/* "And more" card: white */
.format.format--more { background: var(--paper); color: var(--ink); border: 2px solid var(--maroon); }
.format.format--more p { color: var(--ink-2); }
.format.format--more .format__no { color: var(--cream); background: var(--maroon); padding: 6px 10px; border-radius: 6px; justify-self: start; }
.format.format--more .format__icon { background: var(--blush); color: var(--maroon); }
.format.format--more:hover { box-shadow: 0 24px 40px -22px rgba(63,8,9,0.45); }
.format.format--more:hover .format__icon { background: var(--maroon); color: var(--cream); }
.format.format--more .format__when { background: var(--maroon); color: var(--cream); }

/* Format card titles line up: reserve 3 lines for every description */
.format--photo p { min-height: calc(1.6em * 3); }

/* Steps: contact button */
.steps-cta { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: clamp(36px, 4vw, 52px); color: #f2dcd7; font-weight: 600; }
.steps-cta a:not(.btn) { color: var(--cream); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

/* Sports: heading left, compact grid right */
.sports-split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.sports-split__head { display: grid; gap: 20px; justify-items: start; }
.sports--compact { grid-template-columns: repeat(4, 1fr); gap: 12px; }
.sports--compact .sport { min-height: 150px; padding: 18px; gap: 12px; }
.sports--compact .sport__icon { width: 40px; height: 40px; }
.sports--compact .sport h3 { font-size: clamp(1.25rem, 1.6vw, 1.5rem); }
.sports--compact .sport p { font-size: 0.8rem; }
.sports--compact .sport::after { width: 120px; height: 120px; right: -40px; bottom: -40px; }
@media (max-width: 1100px) { .sports--compact { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 960px) { .sports-split { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .sports--compact { grid-template-columns: 1fr 1fr; } }

/* "This is after school": light background */
.gallery.gallery--light { background: var(--cream-2); color: var(--ink); }
.gallery--light .eyebrow { color: var(--maroon); }
.gallery--light .outline { color: var(--maroon); }
.gallery--light .btn--cream { --bg: var(--maroon); --fg: var(--cream); --bd: var(--maroon); }
.gallery--light .gallery__item--word { background: var(--maroon); color: var(--cream); }
.gallery--light .gallery__item--word.o { background: var(--ink); color: var(--cream); }

/* Foundation section on the homepage */
.fdn { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center;
  padding: clamp(28px, 5vw, 64px); border-radius: 16px; background: var(--paper); border: 2px solid var(--maroon); }
.fdn__brand { display: grid; gap: 22px; }
.fdn__logo { background: #fff; border-radius: 12px; padding: clamp(20px, 3vw, 36px); border: 1.5px solid var(--line); }
.fdn__logo img { width: 100%; height: auto; }
.fdn__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.fdn__facts div { background: var(--cream); padding: 14px 16px; }
.fdn__facts dt { font-weight: 800; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.fdn__facts dd { margin: 4px 0 0; font-weight: 800; font-size: 0.95rem; }
.fdn__copy { display: grid; gap: 22px; }
@media (max-width: 960px) { .fdn { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .fdn__facts { grid-template-columns: 1fr; } }

/* Final CTA cards: white text, stronger overlay */
.cta-card::before { background: linear-gradient(180deg, rgba(20,10,10,0.15) 0%, rgba(20,10,10,0.55) 45%, rgba(20,10,10,0.88) 100%); }
.cta-card, .cta-card h3, .cta-card p, .cta-card .who { color: #fff; }
.cta-card p { opacity: 0.92; }
.cta-card h3, .cta-card p { text-shadow: 0 2px 12px rgba(0,0,0,0.35); }
.cta-card .who { background: var(--maroon); padding: 6px 10px; border-radius: 6px; align-self: flex-start; }

/* Footer: light and clean */
.site-footer { background: var(--cream-2); color: var(--ink); border-top: 4px solid var(--maroon); padding-top: clamp(56px, 7vw, 88px); }
.site-footer h4 { color: var(--maroon); }
.footer-brand .logo-chip { background: transparent; padding: 0; border-radius: 0; }
.footer-brand .logo-chip img { height: 64px; }
.footer-brand p { color: var(--ink-2); }
.footer-links a, .footer-contact a { color: var(--ink); }
.footer-links a:hover, .footer-contact a:hover { color: var(--maroon); }
.footer-contact li { color: var(--ink-2); }
.footer-contact svg { color: var(--maroon); }
.footer-np { color: var(--ink-2) !important; }
.footer-np svg { color: var(--maroon); }
.footer-bottom { border-top: 0; background: var(--maroon); color: var(--cream); margin-inline: calc(50% - 50vw); padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2)); }

/* Descriptions: exactly 3 lines so every card title sits at the same height */
.format--photo p { height: calc(1.6em * 3); min-height: 0; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* "One partner. / Every sport." — one phrase per line, sized to the column */
.sports-split { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); }
.sports-split__title { font-size: clamp(2.6rem, 4.4vw, 4.4rem); }
.sports-split__title > span { display: block; white-space: nowrap; }

/* ===== Petr round: Oct 1 ===== */

/* Format "And more": red card, only the 06 square white */
.format.format--more { background: var(--maroon); color: var(--cream); border: 0; }
.format.format--more p { color: #f2dcd7; }
.format.format--more .format__no { background: var(--paper); color: var(--maroon); }
.format.format--more .format__icon { background: rgba(251,245,236,0.16); color: var(--cream); }
.format.format--more:hover .format__icon { background: var(--cream); color: var(--maroon); }
.format.format--more .format__when { background: var(--cream); color: var(--maroon); }
.format.format--more:hover { box-shadow: 0 24px 40px -22px rgba(63,8,9,0.7); }

/* Sports "And more": solid red */
.sport.sport--more { background: var(--maroon); border: 0; color: var(--cream); }
.sport.sport--more h3 { color: var(--cream); }
.sport.sport--more p { color: #f2dcd7; }
.sport.sport--more .sport__icon { color: var(--cream); }
.sport.sport--more:hover { background: var(--maroon-800); }

/* Photo strip: pictures only */
.gallery--photos { padding-block: clamp(40px, 5vw, 64px); }

/* Donate: buttons line up at the bottom of each card */
.way { display: flex; flex-direction: column; }
.way .btn { margin-top: auto; align-self: flex-start; }
.way p { margin-bottom: 16px; }

/* Donate: all 5 ways to give in one row on desktop */
.ways { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.way { padding: 24px 20px; }
.way h3 { font-size: 1.45rem; }
.way p { font-size: 0.92rem; }
@media (max-width: 1180px) { .ways { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .ways { grid-template-columns: 1fr; } }

/* Sports tiles: icon, title and text line up across every tile */
.sports--compact .sport { display: flex; flex-direction: column; justify-content: flex-start; gap: 10px; }
.sports--compact .sport > div { display: flex; flex-direction: column; gap: 6px; }
.sports--compact .sport h3 { white-space: nowrap; font-size: clamp(1.05rem, 1.35vw, 1.35rem); line-height: 1.05; }
.sports--compact .sport p { height: calc(1.45em * 3); line-height: 1.45; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }

/* Recess cheer photo: keep the girls in the upper part of the card */
.format__bg[src*="pcheer-"] { object-position: 50% 15%; }

.sport.sport--more { border: 1.5px solid var(--maroon); }

/* Safety photo: wider frame so the coaching team photo is less zoomed in */
.trust__media .frame:has(img[src*="pcoaches-"]) { aspect-ratio: 1 / 1; }
.trust__media img[src*="pcoaches-"] { object-position: 50% 50%; }

/* ==========================================================================
   PHONE / TABLET ONLY (<= 960px). Desktop is untouched: the two new
   elements below are hidden on desktop and every other rule is scoped.
   ========================================================================== */
.hero__mbg, .m-only { display: none; }

@media (max-width: 960px) {
  span.m-only { display: inline; }
  p.m-only { display: block; }
  .d-only { display: none; }

  /* Header: logo + Donate + menu */
  .nav, .is-scrolled .nav { height: 66px; }
  .brand img, .is-scrolled .brand img { height: 46px; }
  .nav-cta { gap: 8px; }
  .nav-cta .nav-donate { display: inline-flex; min-height: 40px; padding: 8px 14px; font-size: 0.74rem; }
  .nav-cta .nav-donate svg { width: 14px; height: 14px; }
  .menu-toggle { width: 44px; height: 44px; }

  /* Hero: Alex photo (original colors) right under the header, nonprofit tag on it,
     then the headline/text/buttons in the normal site colors; collage hidden */
  .hero { padding-top: 66px; padding-bottom: 32px; }
  .hero .hero__field, .hero .collage { display: none; }
  .hero__grid { gap: 0; }
  .hero__copy { gap: 18px; }
  .hero__mbg { display: block; position: relative; margin-inline: calc(var(--gutter) * -1); height: min(58vh, 420px); overflow: hidden; }
  .hero__mbg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
  .hero__mbg::after { content: ""; position: absolute; inset: auto 0 0 0; height: 70px; background: linear-gradient(180deg, rgba(251,245,236,0), var(--cream)); }
  .hero__mchip {
    position: absolute; top: 14px; left: var(--gutter); z-index: 1; display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 11px; border-radius: 6px; background: var(--maroon); color: var(--cream);
    font-weight: 800; font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap;
    box-shadow: 0 6px 16px -6px rgba(0,0,0,0.4);
  }
  .hero__mchip svg { width: 13px; height: 13px; flex: none; }
  .hero .np-badge, .hero .hero__copy > .eyebrow { display: none; }
  .hero__title { font-size: clamp(1.9rem, 8.4vw, 3rem); margin-top: -18px; position: relative; }

  /* Stats: small boxes, two per row */
  .hero-stats { margin-top: 22px; }
  .hero-stats .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-stats .stat { padding: 14px 14px 13px; gap: 4px; border-radius: 12px; box-shadow: 4px 4px 0 var(--ink); }
  .hero-stats .stat:nth-child(odd) { box-shadow: 4px 4px 0 var(--maroon); }
  .hero-stats .stat__num { font-size: clamp(1.7rem, 8vw, 2.3rem); }
  .hero-stats .stat__label { font-size: 0.74rem; line-height: 1.3; }
  .hero-stats .stat svg.corner { width: 54px; height: 54px; right: -10px; top: -10px; }

  /* Inner pages: header is 66px tall on phones */
  .page-hero { padding-top: 100px; }
  .page-hero__note { font-size: 0.82rem; line-height: 1.5; color: var(--muted); font-style: italic; margin-top: -8px; }
  .page-hero__note strong { color: var(--ink-2); }

  /* Ways to partner: smaller cards, two per row */
  .formats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .format.format--photo, .format.format--more { min-height: 0; aspect-ratio: 1 / 1.08; border-radius: 10px; }
  .format--photo .format__top { padding: 10px 10px 0; }
  .format--photo .format__no, .format.format--more .format__no { font-size: 0.8rem; padding: 4px 7px; }
  .format--photo .format__when { display: none; }
  .format__body { padding: 0 12px 12px; gap: 0; }
  .format--photo .format__icon { display: none; }
  .format--photo h3, .format.format--more h3 { font-size: 1.15rem; line-height: 1.05; }
  .format--photo p { display: none; }
  .format.format--more { padding: 12px; gap: 6px; justify-content: space-between; }
  .format.format--more .format__icon { width: 34px; height: 34px; border-radius: 8px; }
  .format.format--more .format__icon svg { width: 18px; height: 18px; }
  .format.format--more p { display: none; }
  .format.format--more .format__when { font-size: 0.62rem; padding: 5px 8px; }

  /* Donate band: foundation name on one line, EIN on its own line */
  .donate-band .eyebrow { white-space: nowrap; font-size: 0.66rem; letter-spacing: 0.12em; }
  .pill-note { align-items: flex-start; line-height: 1.45; font-size: 0.7rem; letter-spacing: 0.03em; }
  .pill-note > span { white-space: nowrap; }
  .pill-note svg { margin-top: 2px; }
  .pill-note .np-ein { display: block; }
  .pill-note .np-sep { display: none; }
}


/* ---------- Scroll performance ---------- */
/* Scrolling strips stop animating while off-screen (toggled by site.js) */
.marquee.is-paused .marquee__track { animation-play-state: paused; }
.marquee__track { will-change: transform; }
/* Header: near-solid background instead of a live blur of the page scrolling under it */
.site-header.is-scrolled { background: rgba(251, 245, 236, 0.97); backdrop-filter: none; -webkit-backdrop-filter: none; }
.format--photo .format__icon { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(251,245,236,0.22); }

/* ===== Phone round 3 (<= 960px only; desktop untouched) ===== */
@media (max-width: 960px) {
  /* Hero tag on Alex photo: no red background */
  .hero__mchip { background: rgba(255,255,255,0.9); color: var(--maroon); box-shadow: 0 4px 14px -6px rgba(0,0,0,0.35); }

  /* "One partner. Every sport." stacked, heading fully visible; sports 2 per row */
  .sports-split { grid-template-columns: 1fr; gap: 28px; }
  .sports-split__title { font-size: clamp(2.3rem, 11vw, 3.6rem); }
  .sports--compact { grid-template-columns: 1fr 1fr; gap: 10px; }
  .sports--compact .sport { min-height: 0; padding: 14px; flex-direction: row; align-items: center; gap: 10px; }
  .sports--compact .sport__icon { width: 30px; height: 30px; flex: none; }
  .sports--compact .sport h3 { font-size: 1.05rem; white-space: nowrap; }
  .sports--compact .sport p { display: none; }
  .sports--compact .sport::after { display: none; }

  /* Four steps: smaller, two per row */
  .steps.reveal-line { grid-template-columns: 1fr 1fr; gap: 12px; row-gap: 12px; }
  .steps-band .step { padding-top: 0; }
  .steps-band .step::before { position: static; width: 34px; height: 34px; font-size: 1.1rem; box-shadow: none; margin-bottom: 8px; display: grid; }
  .step__card { padding: 14px 12px 14px; gap: 6px; border-radius: 10px; }
  .step__icon { display: none; }
  .steps-band .step h3 { font-size: 0.98rem; }
  .steps-band .step p { font-size: 0.8rem; line-height: 1.45; }

  /* Programs + Contact: small round photo top-right, next to the title */
  .page-hero--msmall .page-hero__grid { position: relative; }
  .page-hero--msmall .page-hero__media {
    position: absolute; top: 34px; right: 0; width: 112px; height: 112px; aspect-ratio: auto;
    border-radius: 50%; border: 3px solid var(--maroon); box-shadow: 4px 4px 0 var(--maroon); animation: none;
  }
  .page-hero--msmall .page-hero__title { padding-right: 120px; }
  /* Programs: the "please note" is now at the top, so drop the bottom copy on phones */
  .callout { display: none; }
}

/* ---------- Get involved: three cards in one row ---------- */
.gi-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.gi-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 14px; background: var(--paper); border: 2px solid var(--maroon); scroll-margin-top: 110px; }
.gi-card__photo { aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 2px solid var(--maroon); }
.gi-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.gi-card:hover .gi-card__photo img { transform: scale(1.05); }
.gi-card__body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 24px 24px 26px; }
.gi-card__kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--maroon); }
.gi-card__kicker .way__icon { width: 38px; height: 38px; border-radius: 9px; }
.gi-card__kicker .way__icon svg { width: 20px; height: 20px; }
.gi-card h2 { font-size: clamp(2rem, 2.8vw, 2.6rem); }
.gi-card p { color: var(--ink-2); font-size: 0.95rem; line-height: 1.6; }
.gi-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Footer tagline: bigger, capitals, italic ---------- */
.footer-bottom { align-items: center; }
.footer-tagline { font-family: var(--font-display); text-transform: uppercase; font-style: italic; font-size: clamp(1.15rem, 1.9vw, 1.6rem); letter-spacing: 0.02em; transform: skewX(-8deg); white-space: nowrap; color: var(--cream); }

@media (max-width: 960px) {
  .gi-cards { grid-template-columns: 1fr; gap: 16px; }
  .gi-card--mnophoto .gi-card__photo { display: none; }
  .gi-card__body { padding: 20px; }
  .footer-bottom { flex-direction: column-reverse; align-items: flex-start; gap: 8px; }
  .footer-tagline { white-space: normal; font-size: 1.15rem; transform: none; }
}

/* Get involved: tighter gap between the role cards and the donate band */
section[aria-label="Ways to get involved"] { padding-bottom: clamp(20px, 3vw, 36px); }
section[aria-label="Ways to get involved"] + section[aria-labelledby="donate-title"] { padding-top: 0; }
