/* ===== Brewington Basketball Academy — Sponsorship Page ===== */

:root {
  --font-display: "Graduate", serif; /* headlines, big numbers */
  --font-accent: "Barlow Condensed", sans-serif;  /* nav, buttons, tabs, labels */
  --font-body: "Karla", system-ui, sans-serif; /* paragraphs, forms */
  --black: #0b0b0b;
  --charcoal: #1a1a1a;
  --red: #c8102e;
  --red-dark: #9e0c24;
  --white: #ffffff;
  --gray: #f4f4f4;
  --text: #222222;
  --muted: #666666;

  --bronze: #b0703c;
  --silver: #9aa3ab;
  --gold: #d4a62a;
  --platinum: #5f7d8c;

  --radius: 12px;
  --max: 1150px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.65;
  background: var(--white);
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin: 0;
}

h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); text-align: center; }

.container { width: min(var(--max), 92%); margin: 0 auto; }

.rule {
  display: block;
  width: 90px;
  height: 4px;
  background: var(--red);
  border-radius: 2px;
  margin: 1rem 0 1.75rem;
}
.rule.center { margin-inline: auto; }

/* ----- Nav ----- */
section[id], header[id] { scroll-margin-top: 70px; }
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  border-bottom: 3px solid var(--red);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
}
.nav-brand img { width: 42px; height: 42px; border-radius: 50%; }
.nav-links { display: flex; align-items: center; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.btn) { color: #ddd; text-decoration: none; font-weight: 500; }
.nav-links a:not(.btn):hover { color: var(--white); }
.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.95rem; }
.nav-toggle { display: none; background: none; border: 0; color: var(--white); font-size: 1.7rem; cursor: pointer; }

.nav-links a[aria-current="page"] { color: var(--white) !important; border-bottom: 2px solid var(--red); }

/* ----- Coach page ----- */
.page-hero { background: var(--black); color: var(--white); padding: 4rem 0 3rem; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.page-hero .rule { margin-bottom: 0; }
.coach { padding: 5rem 0; }
.coach-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 3rem; align-items: start; }
.coach-photo {
  aspect-ratio: 4 / 5;
  background: var(--gray);
  border: 2px dashed #bbb;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  color: var(--muted);
  overflow: hidden;
}
.coach-photo img { width: 100%; height: 100%; object-fit: cover; }
.coach-copy h2 { text-align: left; }
.coach-title { color: var(--red); font-weight: 600; margin: 0.25rem 0 1.5rem; }
.coach-copy p { font-size: 1.05rem; }
.coach-facts { background: var(--gray); padding: 3.5rem 0; }
.facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1.5rem; text-align: center; }
.facts-grid strong { display: block; font-family: var(--font-display); font-size: 2.4rem; color: var(--red); line-height: 1.1; }
.facts-grid span { color: var(--muted); font-size: 0.95rem; }
.coach-quote { background: var(--black); color: var(--white); padding: 5rem 0; text-align: center; }
.coach-quote blockquote { margin: 0 auto 2rem; max-width: 760px; font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.4; }
.coach-quote cite { display: block; margin-top: 1rem; font-family: var(--font-body); font-size: 1rem; color: #bbb; font-style: normal; }

/* ----- Staff page ----- */
.staff { padding: 5rem 0; }
.staff-intro { max-width: 700px; margin: 0 auto 3rem; text-align: center; font-size: 1.1rem; color: var(--muted); }
.staff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; }
.staff-card { text-align: center; }
.staff-photo {
  aspect-ratio: 1 / 1;
  background: var(--gray);
  border: 2px dashed #bbb;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  color: var(--muted);
  margin-bottom: 1rem;
  overflow: hidden;
}
.staff-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); margin-bottom: 1rem; }
.staff-card h3 { font-size: 1.3rem; }
.staff-role { color: var(--red); font-weight: 600; margin: 0.2rem 0 0.6rem; }

/* ----- Hero ----- */
.hero {
  background: linear-gradient(105deg, var(--white) 0 50%, var(--black) 50% 100%);
  padding: 4rem 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
}
.eyebrow {
  color: var(--red);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin: 0 0 0.75rem;
}
.hero h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); color: var(--black); }
.hero-sub { font-size: 1.25rem; color: var(--muted); margin: 0 0 1.75rem; }
.hero-logo { width: min(420px, 100%); justify-self: center; border-radius: 50%; }

.btn {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
}
.btn:hover { background: var(--red-dark); }

/* ----- About ----- */
.about { padding: 5rem 0; }
.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: center;
}
.about-logo { border-radius: var(--radius); }
.about-copy p { margin: 0 0 1.25rem; font-size: 1.05rem; }

/* ----- Gallery ----- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  background: var(--black);
}
.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.3s, filter 0.3s;
}
.gallery img:hover { transform: scale(1.02); filter: brightness(1.08); }

/* ----- Levels ----- */
.levels { padding: 5rem 0; background: var(--gray); }
.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.tier {
  --accent: var(--red);
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  border-top: 6px solid var(--accent);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
  transition: transform 0.2s, box-shadow 0.2s;
}
.tier:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12); }
.tier h3 { font-size: 1.4rem; color: var(--black); }
.tier .price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0.25rem 0 1rem;
}
.tier ul { list-style: none; padding: 0; margin: 0; }
.tier li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  border-bottom: 1px solid #eee;
  position: relative;
}
.tier li:last-child { border-bottom: none; }
.tier li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.tier--bronze   { --accent: var(--bronze); }
.tier--silver   { --accent: var(--silver); }
.tier--gold     { --accent: var(--gold); }
.tier--platinum { --accent: var(--platinum); }
.tier--elite {
  --accent: var(--red);
  background: var(--black);
  color: var(--white);
}
.tier--elite h3 { color: var(--white); }
.tier--elite li { border-bottom-color: #333; }

/* ----- Supports ----- */
.supports {
  background: linear-gradient(105deg, var(--white) 0 55%, var(--black) 55% 100%);
  padding: 5rem 0;
}
.supports-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
}
.supports h2 { text-align: left; }
.check-list { list-style: none; padding: 0; margin: 0; font-size: 1.15rem; }
.check-list li { padding: 0.45rem 0 0.45rem 2rem; position: relative; }
.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}
.supports-logo { width: min(380px, 100%); justify-self: center; border-radius: 50%; }

/* ----- Slideshow ----- */
.slideshow-section { padding: 3rem 0 5rem; }
.slideshow {
  position: relative;
  background: var(--black);
  border-radius: var(--radius);
  overflow: hidden;
  height: min(75vh, 700px);
}
.slideshow:focus-visible { outline: 3px solid var(--red); }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 0.6s; pointer-events: none; }
.slide.active { opacity: 1; pointer-events: auto; }
.slide img { width: 100%; height: 100%; object-fit: contain; }
.ss-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: var(--white);
  font-size: 1.3rem;
  cursor: pointer;
}
.ss-btn:hover { background: var(--red); }
.ss-prev { left: 1rem; }
.ss-next { right: 1rem; }
.ss-play {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: var(--white);
  cursor: pointer;
}
.ss-play:hover { background: var(--red); }
.ss-count {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(0, 0, 0, 0.6);
  color: var(--white);
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  font-size: 0.85rem;
}
.ss-dots { display: flex; justify-content: center; gap: 0.6rem; margin-top: 1.25rem; }
.ss-dots button { width: 12px; height: 12px; border-radius: 50%; border: 0; background: #ccc; cursor: pointer; padding: 0; }
.ss-dots button.active { background: var(--red); transform: scale(1.25); }

/* ----- Contact ----- */
.contact { padding: 5rem 0; background: var(--gray); }
.contact-intro { text-align: center; max-width: 600px; margin: 0 auto 3rem; color: var(--muted); font-size: 1.1rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: start; }
.contact-info { background: var(--black); color: var(--white); border-radius: var(--radius); padding: 2rem; }
.contact-info h3 { margin-bottom: 1rem; }
.contact-info ul { list-style: none; padding: 0; margin: 0; }
.contact-info li { padding: 0.7rem 0; border-bottom: 1px solid #333; }
.contact-info li:last-child { border-bottom: none; }
.contact-info strong { display: block; color: var(--red); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; }
.contact-info a { color: var(--white); }
.contact-form { display: grid; gap: 1rem; background: var(--white); border-radius: var(--radius); padding: 2rem; box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07); }
.contact-form label { display: grid; gap: 0.35rem; font-weight: 600; font-size: 0.95rem; }
.contact-form input,
.contact-form select,
.contact-form textarea { font: inherit; padding: 0.7rem 0.8rem; border: 1px solid #ccc; border-radius: 8px; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: 2px solid var(--red); border-color: transparent; }
.contact-form .btn { border: 0; cursor: pointer; font: inherit; font-weight: 600; justify-self: start; }
.form-note { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* ----- Footer ----- */
.footer {
  background: var(--black);
  color: #bbb;
  text-align: center;
  padding: 1.75rem 1rem;
  font-size: 0.9rem;
}
.footer p { margin: 0; }

/* ----- Intro loader ----- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--black);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.6s ease, visibility 0.6s;
}
html.loading .loader { display: flex; }
html.loading:not(.intro-done) body { overflow: hidden; }
.loader.done { opacity: 0; visibility: hidden; }

.loader-stage { position: relative; width: 200px; height: 320px; }
.ball, .loader-logo {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform-origin: 50% 100%;
}
.ball { width: 130px; height: 130px; margin-left: -65px; animation: ball-bounce 2.1s linear forwards; }
.loader-logo {
  width: 200px; height: 200px; margin-left: -100px;
  border-radius: 50%;
  opacity: 0;
  animation: logo-bounce 1.3s 2.1s linear forwards;
}
.loader-shadow {
  position: absolute;
  left: 50%;
  bottom: 14px;
  width: 150px;
  height: 18px;
  margin-left: -75px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  filter: blur(4px);
  animation: shadow-pulse 3.4s linear forwards;
}

.ball-skin { transform-box: view-box; transform-origin: 50px 50px; }
@keyframes skin-spin { from { transform: rotate(0); } to { transform: rotate(540deg); } }

/* Ball bounces in place three times (same height), then the logo does the 4th and final bounce */
@keyframes ball-bounce {
  0%      { transform: translateY(0) scale(1); animation-timing-function: cubic-bezier(0,.4,.5,1); }
  16.67%  { transform: translateY(-110px) scale(1); animation-timing-function: cubic-bezier(.5,0,1,.6); }
  33.33%  { transform: translateY(0) scale(1.1, .9); animation-timing-function: cubic-bezier(0,.4,.5,1); }
  50%     { transform: translateY(-110px) scale(1); animation-timing-function: cubic-bezier(.5,0,1,.6); }
  66.67%  { transform: translateY(0) scale(1.1, .9); animation-timing-function: cubic-bezier(0,.4,.5,1); }
  83.33%  { transform: translateY(-110px) scale(1); animation-timing-function: cubic-bezier(.5,0,1,.6); }
  99.9%   { transform: translateY(0) scale(1.1, .9); opacity: 1; }
  100%    { transform: translateY(0) scale(1.1, .9); opacity: 0; }
}
/* Logo appears where the ball landed and makes the last bounce */
@keyframes logo-bounce {
  0%    { transform: translateY(0) scale(.65); opacity: 1; animation-timing-function: cubic-bezier(0,.4,.5,1); }
  27%   { transform: translateY(-110px) scale(1); opacity: 1; animation-timing-function: cubic-bezier(.5,0,1,.6); }
  54%   { transform: translateY(0) scale(1.06, .94); opacity: 1; animation-timing-function: cubic-bezier(0,.4,.5,1); }
  75%   { transform: translateY(-22px) scale(1); opacity: 1; animation-timing-function: cubic-bezier(.5,0,1,.6); }
  100%  { transform: translateY(0) scale(1); opacity: 1; }
}
@keyframes shadow-pulse {
  0%     { transform: scale(1);   opacity: .9; }
  10.3%  { transform: scale(.6);  opacity: .5; }
  20.6%  { transform: scale(1);   opacity: .9; }
  30.9%  { transform: scale(.6);  opacity: .5; }
  41.2%  { transform: scale(1);   opacity: .9; }
  51.5%  { transform: scale(.6);  opacity: .5; }
  61.8%  { transform: scale(1);   opacity: .9; }
  72.1%  { transform: scale(.55); opacity: .5; }
  82.4%  { transform: scale(1.05); opacity: .9; }
  91%    { transform: scale(.9);  opacity: .8; }
  100%   { transform: scale(1.05); opacity: .9; }
}
/* Hold the page's own entrance animations until the loader is gone */
html.loading:not(.intro-done) .hero-text > *, html.loading:not(.intro-done) .hero-logo { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .ball, .loader-shadow { display: none; }
  .ball-skin { animation: none; }
  .loader-logo { animation: none !important; opacity: 1; transition: none; }
}

/* ----- Animation ----- */
.nav { transition: box-shadow 0.3s; }
.nav.scrolled { box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35); }

/* Scroll reveal (classes are added by animations.js) */
.reveal, .reveal-left, .reveal-right, .reveal-zoom {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal       { transform: translateY(32px); }
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-zoom  { transform: scale(0.92); }
.reveal.in, .reveal-left.in, .reveal-right.in, .reveal-zoom.in { opacity: 1; transform: none; }
/* keep hover lift working on revealed tiers */
.tier.in { transition: opacity 0.8s ease, transform 0.2s, box-shadow 0.2s; transition-delay: 0s !important; }

/* Page-load entrance */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes pop  { from { opacity: 0; transform: scale(0.8) rotate(-6deg); } to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hero-text > *, .page-hero .container > * { opacity: 0; animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.hero-text > :nth-child(2), .page-hero .container > :nth-child(2) { animation-delay: 0.12s; }
.hero-text > :nth-child(3), .page-hero .container > :nth-child(3) { animation-delay: 0.24s; }
.hero-text > :nth-child(4) { animation-delay: 0.36s; }
.hero-text > :nth-child(5) { animation-delay: 0.48s; }
.rule { transform-origin: left; }
.rule.center { transform-origin: center; }
.hero-logo { opacity: 0; animation: pop 0.9s 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.2) forwards, float 5s 1.4s ease-in-out infinite; }

/* Hover polish */
.btn { transition: background 0.2s, transform 0.2s, box-shadow 0.2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(200, 16, 46, 0.35); }
.nav-links a:not(.btn) { position: relative; }
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.25s;
}
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { border-bottom: 0; }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-brand img { transform-origin: 50% 100%; }
.nav-brand:hover img { animation: logo-dribble 0.7s ease-in-out infinite; }
@keyframes logo-dribble {
  0%, 100% { transform: translateY(0) scale(1.08, .92); animation-timing-function: cubic-bezier(0,.4,.5,1); }
  50%      { transform: translateY(-7px) scale(1); animation-timing-function: cubic-bezier(.5,0,1,.6); }
}
.staff-photo, .staff-card img { transition: transform 0.3s; }
.staff-card:hover .staff-photo, .staff-card:hover img { transform: translateY(-6px); }
.check-list li::before { transition: transform 0.2s; }
.check-list li:hover::before { transform: scale(1.4); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-text > *, .page-hero .container > *, .hero-logo { opacity: 1; }
}

/* ----- Responsive ----- */
@media (max-width: 820px) {
  .nav-brand span { font-size: 0.85rem; }
  .coach-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .coach-photo { max-width: 360px; margin: 0 auto; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 4%;
    background: var(--black);
    border-bottom: 3px solid var(--red);
  }
  .nav-links.open { display: flex; }
  .hero,
  .supports { background: var(--white); }
  .hero-inner,
  .supports-inner,
  .about-grid { grid-template-columns: 1fr; text-align: center; }
  .rule { margin-inline: auto; }
  .supports h2 { text-align: center; }
  .check-list { display: inline-block; text-align: left; }
  .hero-logo,
  .supports-logo { width: 260px; }
  .about-logo { width: 220px; margin: 0 auto; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

/* =====================================================
   ESPN-style sports-media theme (dark, bold, red accent)
   ===================================================== */
:root { --bg: #0b0b0b; --panel: #161616; --panel-2: #1d1d1d; --line: #2b2b2b; --ink: #f2f2f2; --soft: #a9a9a9; }
body { background: var(--bg); color: var(--ink); }
h1, h2, h3 { font-weight: 700; letter-spacing: 0.01em; }

/* Section headings: left-aligned with a red bar */
main h2, .coach-copy h2 { text-align: left; border-left: 7px solid var(--red); padding-left: 0.7rem; margin-bottom: 1.75rem; }
.supports h2 { margin-bottom: 1.25rem; }
.rule.center { display: none; }
.contact-intro, .staff-intro { text-align: left; margin-left: 0; }
.about-copy p { color: #d6d6d6; }

/* Scoreboard ticker */
.ticker { display: flex; align-items: stretch; background: #101010; border-bottom: 1px solid var(--line); overflow: hidden; font-family: var(--font-accent); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.85rem; }
.ticker-tag { background: var(--red); color: #fff; font-weight: 700; padding: 0.45rem 1rem; clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%); padding-right: 1.6rem; z-index: 1; }
.ticker-track { display: flex; overflow: hidden; flex: 1; }
.ticker-run { display: flex; flex-shrink: 0; min-width: 100%; justify-content: space-around; align-items: center; animation: ticker 40s linear infinite; }
.ticker-run span { padding: 0.45rem 1.6rem; color: #ddd; white-space: nowrap; }
.ticker-run span::before { content: "\25CF"; color: var(--red); margin-right: 0.7rem; font-size: 0.6rem; vertical-align: middle; }
@keyframes ticker { to { transform: translateX(-100%); } }
.ticker-track:hover .ticker-run { animation-play-state: paused; }

/* Nav */
.nav { background: #000; border-bottom: 3px solid var(--red); }
.nav-brand { font-weight: 700; }
.nav-links a:not(.btn) { text-transform: uppercase; font-family: var(--font-accent); letter-spacing: 0.08em; font-size: 0.9rem; font-weight: 500; color: #ddd; }

/* Buttons: squared, uppercase */
.btn { border-radius: 3px; text-transform: uppercase; font-family: var(--font-accent); letter-spacing: 0.08em; font-weight: 500; }

/* Hero */
.hero, .hero.hero { background:
    linear-gradient(115deg, transparent 0 58%, rgba(200,16,46,.95) 58% 60.5%, transparent 60.5% 63%, rgba(200,16,46,.55) 63% 64%, transparent 64%),
    radial-gradient(circle at 80% 30%, #2a0a10 0, #0b0b0b 60%); }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6.5vw, 4.8rem); line-height: 1; }
.hero-sub { color: var(--soft); font-family: var(--font-accent); text-transform: uppercase; letter-spacing: 0.15em; }
.eyebrow { display: inline-block; background: var(--red); color: #fff; padding: 0.25rem 0.8rem; font-family: var(--font-accent); letter-spacing: 0.12em; clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%); padding-right: 1.3rem; }
.hero-logo { box-shadow: 0 0 0 5px #000, 0 0 0 8px var(--red), 0 20px 50px rgba(0,0,0,.6); }
.page-hero { background: linear-gradient(115deg, #000 0 70%, var(--red) 70% 71.5%, #000 71.5% 73%, rgba(200,16,46,.5) 73% 73.8%, #000 73.8%); border-bottom: 3px solid var(--red); }

/* Cards: dark panels with red top edge */
.levels, .contact, .coach-facts { background: #111; }
.tier { background: var(--panel); color: var(--ink); box-shadow: none; border: 1px solid var(--line); border-top: 5px solid var(--accent); }
.tier:hover { box-shadow: 0 12px 30px rgba(0,0,0,.6); }
.tier h3 { color: #fff; font-size: 1.15rem; letter-spacing: 0.08em; }
.tier .price { font-size: 3rem; line-height: 1; }
.tier li { border-bottom-color: var(--line); color: #d0d0d0; }
.tier--elite { background: linear-gradient(160deg, #2a0a10, #000 70%); border-color: var(--red); }

.supports { background: linear-gradient(115deg, #0b0b0b 0 55%, #141414 55%); border-top: 1px solid var(--line); }
.supports-logo { box-shadow: 0 0 0 5px #000, 0 0 0 8px var(--red); }
.check-list li { border-bottom: 1px solid var(--line); }

/* Scoreboard-style stat boxes */
.facts-grid > div { background: var(--panel); border: 1px solid var(--line); border-top: 4px solid var(--red); padding: 1.4rem 1rem; }
.facts-grid strong { font-size: 2.8rem; color: #fff; }
.facts-grid span { color: var(--soft); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; }

/* Coach / staff */
.coach-photo, .staff-photo { background: var(--panel); border-color: #444; color: var(--soft); }
.staff-card { background: var(--panel); border: 1px solid var(--line); padding: 1rem 1rem 1.4rem; border-bottom: 4px solid var(--red); }
.staff-card h3 { color: #fff; }
.staff-card p { color: #cfcfcf; }
.coach-title, .staff-role { text-transform: uppercase; letter-spacing: 0.1em; font-family: var(--font-accent); }
.coach-quote { background: linear-gradient(115deg, #000 0 60%, #1a0509); border-top: 3px solid var(--red); }

/* Contact */
.contact-info { background: var(--panel); border: 1px solid var(--line); border-top: 4px solid var(--red); }
.contact-form { background: var(--panel); border: 1px solid var(--line); box-shadow: none; }
.contact-form input, .contact-form select, .contact-form textarea { background: #0b0b0b; color: #fff; border: 1px solid #3a3a3a; border-radius: 3px; }
.contact-form label { color: #ddd; }
.form-note { color: var(--soft); }

/* Slideshow */
.slideshow { border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: 0; }
.ss-dots button { background: #444; }
.ss-dots button.active { background: var(--red); }

.footer { border-top: 3px solid var(--red); background: #000; }

@media (max-width: 820px) {
  .hero, .hero.hero { background: radial-gradient(circle at 50% 100%, #2a0a10 0, #0b0b0b 65%); }
  .supports { background: #0b0b0b; }
  .page-hero { background: #000; }
  .contact-intro, .staff-intro { text-align: center; }
}

/* Mission statement band */
.mission { background: linear-gradient(115deg, #000 0 65%, #1a0509); border-top: 1px solid var(--line); border-bottom: 3px solid var(--red); padding: 4rem 0; }
.mission-label { margin: 0 0 1rem; color: var(--red); font-family: var(--font-accent); text-transform: uppercase; letter-spacing: 0.2em; font-weight: 700; }
.mission-text { margin: 0; max-width: 1120px; border-left: 7px solid var(--red); padding-left: 1.25rem; font-family: var(--font-accent); font-weight: 600; font-size: clamp(1.3rem, 2.3vw, 1.8rem); line-height: 1.35; color: #fff; }

/* =====================================================
   Lighting effects
   ===================================================== */
/* Nav title: light sweeps across the lettering with a red glow */
.nav-brand span {
  background: linear-gradient(100deg, #fff 0 38%, #ff5a6e 46%, #fff 54%, #fff 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: title-sweep 3.8s ease-in-out infinite, title-glow 2.4s ease-in-out infinite alternate;
  font-weight: 700;
  letter-spacing: 0.06em;
}
@keyframes title-sweep { 0% { background-position: 130% 0; } 60%, 100% { background-position: -30% 0; } }
@keyframes title-glow {
  from { filter: drop-shadow(0 0 3px rgba(200, 16, 46, .55)); }
  to   { filter: drop-shadow(0 0 10px rgba(255, 60, 80, .95)); }
}
.nav-brand img { box-shadow: 0 0 12px rgba(200, 16, 46, .7); }
.nav { box-shadow: 0 3px 18px rgba(200, 16, 46, .45); }
.nav.scrolled { box-shadow: 0 6px 26px rgba(200, 16, 46, .6); }

/* Arena spotlights sweeping over the hero */
.hero, .page-hero { position: relative; overflow: hidden; }
.hero > .container, .page-hero > .container { position: relative; z-index: 1; }
.hero::before, .hero::after {
  content: "";
  position: absolute;
  top: -10%;
  width: 34%;
  height: 130%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, .22), rgba(255, 255, 255, .04) 70%, transparent);
  clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%);
  transform-origin: 50% 0;
  pointer-events: none;
  mix-blend-mode: screen;
}
.hero::before { left: 4%;  animation: beam-a 9s ease-in-out infinite alternate; }
.hero::after  { right: 6%; animation: beam-b 11s ease-in-out infinite alternate; }
@keyframes beam-a { from { transform: rotate(-14deg); opacity: .55; } to { transform: rotate(10deg); opacity: 1; } }
@keyframes beam-b { from { transform: rotate(12deg);  opacity: 1; }   to { transform: rotate(-9deg); opacity: .5; } }

/* Headline glow */
.hero h1 { text-shadow: 0 0 28px rgba(200, 16, 46, .45); }
.tier .price, .facts-grid strong { text-shadow: 0 0 16px currentColor; }

/* Glow on hover */
.tier:hover, .staff-card:hover, .facts-grid > div:hover, .contact-info:hover {
  box-shadow: 0 0 0 1px var(--red), 0 0 30px rgba(200, 16, 46, .45);
}
.btn:hover { box-shadow: 0 0 22px rgba(255, 60, 80, .75); }

/* Mouse spotlight that follows the cursor (desktop only) */
@media (hover: hover) and (pointer: fine) {
  body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 50;
    pointer-events: none;
    background: radial-gradient(circle 320px at var(--mx, -999px) var(--my, -999px), rgba(255, 255, 255, .08), rgba(200, 16, 46, .05) 45%, transparent 70%);
  }
}

/* Logo edges fade into the background instead of showing a hard circle/square */
.hero-logo, .supports-logo {
  border-radius: 0;
  box-shadow: none;
  width: min(480px, 100%);
  -webkit-mask-image: radial-gradient(circle closest-side, #000 66%, transparent 98%);
  mask-image: radial-gradient(circle closest-side, #000 66%, transparent 98%);
}
.hero-logo { filter: drop-shadow(0 0 22px rgba(200, 16, 46, .35)); }
@media (max-width: 820px) {
  .hero-logo, .supports-logo { width: 300px; }
}

/* Hero background video (only shown once a video actually loads) */
.hero-video, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.hero-video { object-fit: cover; object-position: 50% 30%; z-index: 0; }
.hero.has-video .hero-video, .hero.has-video .hero-shade { display: block; }
.hero-shade {
  z-index: 0;
  background:
    linear-gradient(115deg, transparent 0 58%, rgba(200,16,46,.95) 58% 60.5%, transparent 60.5% 63%, rgba(200,16,46,.55) 63% 64%, transparent 64%),
    linear-gradient(90deg, rgba(0,0,0,.82) 0, rgba(0,0,0,.55) 55%, rgba(0,0,0,.35) 100%);
}
.hero::before, .hero::after { z-index: 1; }
.hero > .container { z-index: 2; }

/* Donate */
.btn-outline { background: transparent; border: 2px solid var(--red); color: #fff; }
.btn-outline:hover { background: var(--red); }
.hero .btn + .btn { margin-left: 0.75rem; }
.donate-banner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; background: linear-gradient(115deg, #2a0a10, #0b0b0b); border: 1px solid var(--red); border-left: 7px solid var(--red); padding: 1.5rem 2rem; margin-bottom: 2.5rem; }
.donate-banner h3 { font-size: 1.5rem; color: #fff; }
.donate-banner p { margin: 0.25rem 0 0; color: #d0d0d0; }

/* Hero: plain background so the black-and-white video can play behind the content */
.hero.hero { background: #000; }
.hero::before, .hero::after { display: none; }
.hero-shade { background: linear-gradient(90deg, rgba(0,0,0,.7) 0, rgba(0,0,0,.4) 55%, rgba(0,0,0,.25) 100%); }

/* Black-and-white hero video */
.hero-video { filter: grayscale(1) contrast(1.05); }

/* Video entrance: fades up from black, slow zoom-out, with a light streak sweeping across */
.hero-video { opacity: 0; transform: scale(1.2); }
html:not(.loading) .hero-video,
html.intro-done .hero-video { animation: video-in 2.6s cubic-bezier(.2, .7, .2, 1) .15s forwards; }
@keyframes video-in {
  0%   { opacity: 0; transform: scale(1.2); filter: grayscale(1) contrast(1.05) brightness(0) blur(10px); }
  45%  { opacity: 1; filter: grayscale(1) contrast(1.05) brightness(.8) blur(3px); }
  100% { opacity: 1; transform: scale(1); filter: grayscale(1) contrast(1.05) brightness(1) blur(0); }
}

.hero.has-video::after {
  display: block;
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 40%;
  height: auto;
  clip-path: none;
  mix-blend-mode: normal;
  background: linear-gradient(100deg, transparent 0, rgba(200,16,46,.0) 20%, rgba(200,16,46,.85) 46%, #fff 50%, rgba(200,16,46,.85) 54%, rgba(200,16,46,0) 80%, transparent 100%);
  opacity: 0;
  transform: translateX(-120%) skewX(-18deg);
  animation: none;
  pointer-events: none;
  z-index: 1;
}
html:not(.loading) .hero.has-video::after,
html.intro-done .hero.has-video::after { animation: light-streak 1.4s cubic-bezier(.5, 0, .3, 1) .35s forwards; }
@keyframes light-streak {
  0%   { opacity: 1; transform: translateX(-120%) skewX(-18deg); }
  100% { opacity: 1; transform: translateX(380%) skewX(-18deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video { opacity: 1; transform: none; }
  .hero.has-video::after { display: none; }
}

/* Drawn hamburger icon (the ☰ character is missing from some phone fonts) */
.nav-toggle {
  font-size: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  background:
    linear-gradient(#fff, #fff) center 13px / 24px 3px no-repeat,
    linear-gradient(#fff, #fff) center 20.5px / 24px 3px no-repeat,
    linear-gradient(#fff, #fff) center 28px / 24px 3px no-repeat;
}
.nav-toggle[aria-expanded="true"] {
  background:
    linear-gradient(#ff3c50, #ff3c50) center 20.5px / 24px 3px no-repeat;
}

/* Keep hero subtitle readable over the video */
.hero.has-video .hero-sub { color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .8); }
.hero.has-video h1, .hero.has-video .eyebrow { text-shadow: 0 2px 14px rgba(0, 0, 0, .7); }

@media (max-width: 820px) {
  .page-hero .rule { margin-inline: 0; }
}

/* Sign-up page */
.signup { padding: 4rem 0 5rem; background: #111; }
.signup-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: start; }
.signup-info h2 { margin-bottom: 1.25rem; }
.signup-info p { color: #d0d0d0; font-size: 1.05rem; }
.contact-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 1rem; }
.contact-form legend { font-family: var(--font-accent); text-transform: uppercase; letter-spacing: 0.1em; color: var(--red); font-weight: 700; padding: 0; margin-bottom: 0.75rem; }
.form-row { display: grid; grid-template-columns: 1fr 2fr; gap: 1rem; }
.contact-form label.check { display: flex; align-items: flex-start; gap: 0.6rem; font-weight: 500; }
.contact-form label.check input { margin-top: 0.3rem; accent-color: var(--red); }
@media (max-width: 820px) { .signup-grid { grid-template-columns: 1fr; } }

/* Contact tabs */
.tabs { display: flex; gap: 0; margin-bottom: 1.75rem; border-bottom: 2px solid var(--line); flex-wrap: wrap; }
.tab { background: none; border: 0; color: var(--soft); font-family: var(--font-accent); text-transform: uppercase; letter-spacing: 0.08em; font-size: 1.75rem; padding: 0.9rem 1.8rem; cursor: pointer; border-bottom: 4px solid transparent; margin-bottom: -2px; }
.tab:hover { color: #fff; }
.tab.active { color: #fff; border-bottom-color: var(--red); }
[hidden] { display: none !important; }

@media (max-width: 820px) {
  .tabs { flex-wrap: nowrap; }
  .tab { flex: 1; padding: 0.8rem 0.3rem; font-size: 1.3rem; letter-spacing: 0.03em; line-height: 1.1; text-align: center; }
  .contact-grid .tab-panels { order: -1; }
}

/* Nav dropdowns */
.nav-links > li { position: relative; }
.has-dd { padding: 20px 0; }
.dd-btn {
  background: none; border: 0; cursor: pointer; padding: 0;
  color: #ddd; font-family: var(--font-accent); text-transform: uppercase;
  letter-spacing: 0.08em; font-size: 0.9rem; font-weight: 500;
  display: inline-flex; align-items: center; gap: 0.45rem;
}
.dd-btn::after { content: ""; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid var(--red); transition: transform 0.2s; }
.has-dd.open > .dd-btn::after { transform: rotate(180deg); }
.dd-btn:hover, .has-dd.current > .dd-btn { color: #fff; }
.has-dd.current > .dd-btn { box-shadow: 0 2px 0 var(--red); }
.dd {
  display: none; position: absolute; top: 100%; left: -1rem; min-width: 230px; z-index: 120;
  margin: 0; padding: 0.4rem 0; list-style: none;
  background: #000; border: 1px solid var(--line); border-top: 3px solid var(--red);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .6);
}
.has-dd.open > .dd { display: block; }
@media (hover: hover) { .has-dd:hover > .dd { display: block; } }
.dd a:not(.btn) { display: block; padding: 0.65rem 1.2rem; white-space: nowrap; }
.dd a:not(.btn)::after { display: none; }
.dd a:not(.btn):hover { background: #1a1a1a; color: #fff; }
.dd a[aria-current="page"] { color: #fff !important; box-shadow: inset 3px 0 0 var(--red); }

@media (max-width: 820px) {
  .has-dd { padding: 0; width: 100%; }
  .dd { position: static; display: none; min-width: 0; margin: 0.6rem 0 0 0.3rem; background: transparent; border: 0; border-left: 3px solid var(--red); box-shadow: none; }
  .has-dd:hover > .dd { display: none; }
  .has-dd.open > .dd { display: block; }
  .dd a:not(.btn) { padding: 0.55rem 1rem; }
}

/* Hero buttons: even spacing, wrap cleanly */
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: stretch; }
.hero-cta .btn { margin: 0; text-align: center; padding: 0.85rem 1.6rem; }
@media (max-width: 820px) {
  .hero-cta { justify-content: center; max-width: 360px; margin-inline: auto; }
  .hero-cta .btn { flex: 1 1 100%; }
}
.hero .hero-cta .btn + .btn { margin-left: 0; }
/* Pure black so the logo's black disc blends in */
.loader { background: #000; }

/* Follow Us tab */
.follow-panel[hidden] { display: none; }
.ig-card { position: relative; overflow: hidden; text-align: center; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 3rem 2rem 2.5rem; }
.ig-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, #FEDA75, #FA7E1E, #D62976, #962FBF, #4F5BD5); }
.ig-badge { width: 92px; height: 92px; margin: 0 auto 1.4rem; display: grid; place-items: center; border-radius: 50%; background: #0b0b0b; border: 2px solid transparent; background-image: linear-gradient(#0b0b0b, #0b0b0b), linear-gradient(135deg, #FEDA75, #FA7E1E, #D62976, #962FBF, #4F5BD5); background-origin: border-box; background-clip: padding-box, border-box; }
.ig-icon { width: 46px; height: 46px; }
.ig-eyebrow { margin: 0 0 0.4rem; color: var(--soft); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; }
.ig-handle { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 4.2vw, 2rem); letter-spacing: 0.02em; color: #fff; text-decoration: none; overflow-wrap: anywhere; }
.ig-handle:hover { color: #FA7E1E; }
.ig-copy { max-width: 420px; margin: 1rem auto 1.8rem; color: #cfcfcf; line-height: 1.6; }
.ig-btn { display: inline-block; max-width: 100%; padding: 0.95rem 1.6rem; border-radius: 999px; color: #fff; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; background: linear-gradient(135deg, #F58529, #DD2A7B 50%, #8134AF 80%, #515BD4); transition: transform 0.2s, box-shadow 0.2s; }
.ig-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(221, 42, 123, 0.35); }
.footer .footer-credit { margin-top: 0.4rem; font-size: 0.8rem; color: var(--soft); opacity: 0.8; }
.footer .footer-credit a { color: inherit; text-decoration: underline; }
.footer .footer-credit a:hover { color: #fff; }

/* Giving back */
.giving-back { padding: 5rem 0; background: var(--black); border-top: 1px solid var(--line); }
.giving-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; }
.giving-back h2 { text-align: left; margin-bottom: 1.25rem; }
.giving-text p { color: #cfcfcf; font-size: 1.1rem; margin: 1.25rem 0 1.75rem; max-width: 520px; }
.giving-figure { margin: 0; justify-self: center; width: min(360px, 100%); }
.giving-figure figcaption { margin-top: 1.5rem; line-height: 1.6; color: var(--soft); font-size: 0.95rem; text-align: center; }
.giving-video { display: block; width: 100%; max-height: 80vh; border-radius: var(--radius); border: 1px solid var(--line); border-bottom: 4px solid var(--red); background: #000; }
@media (max-width: 800px) {
  .giving-inner { grid-template-columns: 1fr; gap: 2rem; }
  .giving-back h2 { text-align: center; }
  .giving-text { text-align: center; }
  .giving-text p { margin-left: auto; margin-right: auto; }
}
.coach-photo:has(img) { border-style: solid; border-color: var(--line); border-bottom: 4px solid var(--red); }
.ss-btn, .ss-play { display: grid; place-items: center; padding: 0; }
.ss-btn svg { width: 22px; height: 22px; }
.ss-play svg { width: 18px; height: 18px; }

/* Bebas Neue has a single weight: never fake a bold */
* { font-synthesis-weight: none; }

/* Mission / Vision / Goal (mission.html) */
.mvg { padding: 4.5rem 0 1rem; background: var(--black); }
.mvg-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.mvg-card { background: var(--panel); border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--radius); padding: 1.75rem 1.6rem; }
.mvg-card--lead, .mvg-card--wide { grid-column: 1 / -1; }
.mvg-label { margin: 0 0 0.6rem; font-family: var(--font-accent); text-transform: uppercase; letter-spacing: 0.14em; font-weight: 700; color: var(--red); font-size: 1.05rem; }
.mvg-card p:not(.mvg-label) { margin: 0; color: #d6d6d6; font-size: 1.08rem; line-height: 1.65; }
.mvg-card p.mvg-text { color: #fff; font-size: clamp(1.2rem, 2.4vw, 1.5rem); line-height: 1.5; }
@media (max-width: 700px) { .mvg-grid { grid-template-columns: 1fr; } .mvg { padding-top: 3rem; } }

/* Motto band + core values (mission.html) */
.motto-band { padding: 3.5rem 0 0; background: var(--black); }
.motto-label { margin: 0 0 0.8rem; font-family: var(--font-accent); text-transform: uppercase; letter-spacing: 0.2em; font-weight: 700; color: var(--red); }
.motto { margin: 0; font-family: var(--font-display); text-transform: uppercase; color: #fff; font-size: clamp(1.6rem, 4vw, 3rem); line-height: 1.15; }
.motto span { display: inline-block; margin-right: 0.35em; }
.motto span:nth-child(even) { color: var(--red); }
.values-title { margin: 3.5rem 0 1.5rem; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.value-card { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--radius); padding: 1.4rem 1.4rem 1.3rem; }
.value-card h3 { margin: 0 0 0.45rem; font-size: 1.35rem; color: #fff; }
.value-card p { margin: 0; color: #cfcfcf; line-height: 1.6; }
@media (max-width: 900px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .values-grid { grid-template-columns: 1fr; } }
/* Home banner link to the mission page */
.mission-link { display: inline-block; margin-top: 1.2rem; padding-left: calc(7px + 1.25rem); font-family: var(--font-accent); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; color: #fff; text-decoration: none; border-bottom: 2px solid var(--red); }
.mission-link:hover { color: var(--red); }

/* Hero subtitle: keep phrases whole; on phones put "Ages 5+" on its own line */
.hero-sub .nw { white-space: nowrap; }
@media (max-width: 600px) { .hero-sub .hero-sep { display: block; font-size: 0; line-height: 0.4; } }

/* Hero text: nudged a little left of the page column on wider screens (never closer than 1.5rem to the edge) */
@media (min-width: 901px) {
  .hero-text { margin-left: calc(-1 * min(3rem, (100vw - min(var(--max), 92vw)) / 2 - 1.5rem)); }
}

/* Giving Back carousel (mission.html): stacked cards, the next videos peek out behind the current one */
.gb-carousel { justify-self: center; width: min(460px, 100%); }
.gb-track { position: relative; width: 80%; aspect-ratio: 9 / 16; max-height: 82vh; margin-inline: auto; }
.gb-carousel.is-single .gb-track { width: 100%; }
.gb-slide {
  position: absolute; inset: 0; margin: 0; display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden; background: #000;
  border: 1px solid var(--line); border-bottom: 4px solid var(--red);
  transform-origin: right center;
  opacity: 0; transform: translateX(26%) scale(0.8); filter: brightness(0.35);
  pointer-events: none; z-index: 0;
  transition: transform 0.55s cubic-bezier(.2,.7,.2,1), opacity 0.45s ease, filter 0.45s ease;
}
.gb-slide.is-active { opacity: 1; transform: none; filter: none; z-index: 3; pointer-events: auto; box-shadow: 0 18px 40px rgba(0,0,0,.65); }
.gb-slide.is-next { opacity: 1; transform: translateX(12%) scale(0.92); filter: brightness(0.45); z-index: 2; pointer-events: auto; cursor: pointer; box-shadow: 0 14px 30px rgba(0,0,0,.55); }
.gb-slide.is-prev { opacity: 1; transform-origin: left center; transform: translateX(-12%) scale(0.92); filter: brightness(0.45); z-index: 2; pointer-events: auto; cursor: pointer; box-shadow: 0 14px 30px rgba(0,0,0,.55); }
.gb-slide.is-next::after, .gb-slide.is-prev::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.62); } /* peeking cards: darkened "shadow" that works as a button (Safari ignores filters over video) */
.gb-slide > img, .gb-slide > video { display: block; width: 100%; flex: 1; min-height: 0; object-fit: contain; background: #000; }
.gb-slide > video { object-fit: cover; } /* phone videos fill the card edge to edge */
.gb-slide figcaption { display: none; }
.gb-caption { margin: 1.1rem 0 0; min-height: 3.2em; line-height: 1.6; color: var(--soft); font-size: 0.95rem; text-align: center; }
.gb-controls { display: flex; align-items: center; justify-content: center; gap: 0.9rem; margin-top: 0.6rem; }
.gb-btn { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--panel); color: #fff; cursor: pointer; }
.gb-btn:hover, .gb-btn:focus-visible { background: var(--red); border-color: var(--red); outline: none; }
.gb-btn svg { width: 20px; height: 20px; }
.gb-dots { display: flex; gap: 0.45rem; flex-wrap: wrap; justify-content: center; }
.gb-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: #555; cursor: pointer; }
.gb-dots button[aria-selected="true"] { background: var(--red); transform: scale(1.25); }
.gb-carousel.is-single .gb-controls { display: none; }
@media (prefers-reduced-motion: reduce) { .gb-slide { transition: none; } }


/* Follow Us: Instagram + TikTok side by side (stacked on phones) */
.follow-panel:not([hidden]) { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.tt-card::before { background: linear-gradient(90deg, #25F4EE, #ffffff 50%, #FE2C55); }
.tt-badge { background-image: linear-gradient(#0b0b0b, #0b0b0b), linear-gradient(135deg, #25F4EE, #FE2C55); }
.tt-handle:hover { color: #25F4EE; }
.tt-btn { background: #000; border: 2px solid #fff; box-shadow: -3px -3px 0 #25F4EE, 3px 3px 0 #FE2C55; }
.tt-btn:hover { box-shadow: -4px -4px 0 #25F4EE, 4px 4px 0 #FE2C55; }
.follow-panel .ig-handle { font-size: clamp(0.8rem, 3.6vw, 1.3rem); letter-spacing: 0; white-space: nowrap; overflow-wrap: normal; }

/* On phones the 2nd dot stays inline: "Ages 5-18 · Boys & Girls" share the second line */
@media (max-width: 600px) { .hero-sub .hero-sep--inline { display: inline; font-size: inherit; line-height: inherit; } }
