/* ============================================================
   Mount Prospect Mavericks — Site Styles
   Tokens & components anchored to the approved design system.
   ============================================================ */

:root {
  /* Colors */
  --teal-500:    #2A9DA4;
  --teal-400:    #3FB6BD;
  --teal-300:    #6FCCD0;
  --teal-100:    #D6F0F2;
  --charcoal-900:#1F2228;
  --charcoal-800:#2C2F36;
  --charcoal-700:#3A3D43;
  --charcoal-500:#6B6F77;
  --charcoal-300:#C7CACF;
  --cream:       #FAF7F1;
  --ivory:       #FFFFFF;
  --signal-red:  #E5594B;
  --grass:       #4F8F4F;
  --gold:        #F2C14E;

  /* Type */
  --font-display: "Anton", "Barlow Condensed", Impact, sans-serif;
  --font-ui:      "Barlow Condensed", sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --maxw: 1180px;
  --gutter: 28px;
  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(31,34,40,0.08), 0 1px 1px rgba(31,34,40,0.04);
  --shadow:    0 6px 18px rgba(31,34,40,0.08), 0 2px 4px rgba(31,34,40,0.06);
  --shadow-lg: 0 20px 40px rgba(31,34,40,0.12), 0 8px 16px rgba(31,34,40,0.08);
}

/* ============================================================
   Reset / Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal-800);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-500); }
a:hover { color: var(--charcoal-900); }
ul { padding-left: 18px; }
.skip-link {
  position: absolute; left: -9999px; top: 8px; padding: 10px 16px;
  background: var(--charcoal-900); color: white; border-radius: var(--radius); z-index: 100;
}
.skip-link:focus { left: 8px; }

/* ============================================================
   Layout primitives
   ============================================================ */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 80px 0; }
.section-tight { padding: 56px 0; }
.section-dark { background: var(--charcoal-900); color: white; }
.section-teal { background: var(--teal-500); color: white; }
.section-tint { background: var(--teal-100); }
.section-ivory { background: var(--ivory); }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}
@media (max-width: 600px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, .display {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--charcoal-900);
  margin: 0;
  line-height: 1.0;
}
h1 { font-size: clamp(40px, 6vw, 72px); }
h2 { font-size: clamp(32px, 4.4vw, 48px); }
h3 { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: 1px; }
p { margin: 0 0 14px; }
.lede { font-size: clamp(17px, 1.5vw, 19px); color: var(--charcoal-700); max-width: 60ch; }
.eyebrow {
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--teal-500);
  font-size: 14px;
  display: inline-block;
  margin-bottom: 12px;
}
.eyebrow-on-dark { color: var(--teal-300); }
.section-head { margin-bottom: 32px; }
.section-head h2 { margin-bottom: 10px; }
.section-head .lede { margin: 0; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-primary    { background: var(--teal-500);     color: white; }
.btn-primary:hover { background: var(--teal-400);  color: white; }
.btn-secondary  { background: var(--charcoal-900); color: white; }
.btn-secondary:hover { background: var(--charcoal-700); color: white; }
.btn-ghost      { background: transparent;         color: var(--charcoal-900); border-color: var(--charcoal-900); }
.btn-ghost:hover { background: var(--charcoal-900); color: white; }
.btn-ghost-light { background: transparent; color: white; border-color: white; }
.btn-ghost-light:hover { background: white; color: var(--charcoal-900); }
.btn-accent { background: var(--gold); color: var(--charcoal-900); }
.btn-sm { padding: 10px 18px; font-size: 13px; letter-spacing: 1.5px; }
.btn-lg { padding: 18px 32px; font-size: 17px; }

/* ============================================================
   Header / Nav
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter);
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--charcoal-900); }
.brand img { width: 44px; height: 44px; }
.brand .brand-text {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 18px;
  line-height: 1;
}
.brand .brand-text small {
  display: block;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--teal-500);
  font-weight: 700;
  margin-top: 3px;
}
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  font-size: 14px;
  color: var(--charcoal-900);
  text-decoration: none;
}
.nav-links a:hover { color: var(--teal-500); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none; background: transparent; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--charcoal-900); margin: 5px 0;
  transition: transform .2s ease;
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-row.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: white; padding: 18px var(--gutter) 28px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    gap: 16px; align-items: flex-start;
  }
}

/* ============================================================
   Hero (Badge-led — Option B)
   ============================================================ */
.hero {
  background:
    /* Teal accents on top */
    radial-gradient(900px 400px at 90% -20%, rgba(63,182,189,0.22), transparent 60%),
    radial-gradient(700px 380px at -10% 110%, rgba(42,157,164,0.14), transparent 60%),
    /* Soft light overlay so the photo reads as background texture, not a focal element.
       Slightly heavier on the left (where the headline lives), lighter on the right. */
    linear-gradient(100deg,
      rgba(255,255,255,0.94) 0%,
      rgba(250,247,241,0.88) 35%,
      rgba(250,247,241,0.78) 65%,
      rgba(250,247,241,0.70) 100%),
    /* Pitcher action photo — anchored toward bottom so the head sits ~3/4 up */
    url("../images/gallery-action-followthrough.jpg") center 75%/cover no-repeat,
    var(--cream);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px;
  align-items: center;
}
.hero-text h1 {
  font-size: clamp(48px, 7vw, 84px);
  line-height: 0.95;
}
.hero-text .lede { margin: 18px 0 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badge {
  text-align: center;
}
.hero-badge img {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  filter: drop-shadow(0 18px 36px rgba(31,34,40,0.18));
  animation: gentle-bob 6s ease-in-out infinite;
}
@keyframes gentle-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.stitch-divider {
  height: 6px;
  background-image: linear-gradient(90deg, var(--teal-500) 0 16px, transparent 16px 24px);
  background-size: 24px 6px;
  border-radius: 3px;
  margin: 18px 0;
  max-width: 240px;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .hero-badge { order: -1; }
  .hero-badge img { max-width: 220px; }
  .stitch-divider { margin: 18px auto; }
  .hero-actions { justify-content: center; }
  .hero { padding: 56px 0 72px; }
}

/* ============================================================
   Trust / Stat strip
   ============================================================ */
.stat-strip {
  position: relative;
  background: var(--charcoal-900);
  color: white;
  padding: 36px 0;
  background-image: radial-gradient(800px 300px at 100% 50%, rgba(63,182,189,0.18), transparent 60%);
}
.stat-strip::before,
.stat-strip::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 3px;
  background: var(--teal-300);
  pointer-events: none;
  z-index: 2;
}
.stat-strip::before { top: 0; }
.stat-strip::after  { bottom: 0; }
.stat-strip .grid-4 { gap: 14px; }
.stat {
  text-align: center; padding: 14px;
}
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 56px);
  color: var(--teal-300);
  line-height: 1;
}
.stat .label {
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  color: rgba(255,255,255,0.78);
  margin-top: 6px;
}

/* ============================================================
   Org-wide photo band (homepage, between stat strip and mission)
   ============================================================ */
.org-band {
  position: relative;
  background: var(--charcoal-900);
  overflow: hidden;
  border-bottom: 6px solid var(--teal-300);
}
.org-band img {
  display: block;
  width: 100%;
  height: auto;
}
.org-band .org-caption {
  position: absolute;
  bottom: 18px;
  left: 24px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: white;
  font-size: 14px;
  background: rgba(31,34,40,0.7);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.08);
  white-space: nowrap;
}

/* ============================================================
   Mission block
   ============================================================ */
.mission .grid-2 { align-items: center; gap: 56px; }
.mission-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.mission-img img { width: 100%; height: 100%; object-fit: cover; }
.mission-img::after {
  content: "";
  position: absolute; top: 16px; right: -10px; width: 80px; height: 80px;
  background: var(--teal-300);
  border-radius: 50%;
  z-index: -1;
}
.mission-img-wrap { position: relative; }
.mission-img-wrap::before {
  content: ""; position: absolute; left: -16px; bottom: -16px; width: 70%; height: 60%;
  background: var(--gold);
  border-radius: var(--radius);
  z-index: 0; opacity: 0.4;
}
.mission-img-wrap .mission-img { position: relative; z-index: 1; }

/* ============================================================
   Pillars
   ============================================================ */
.pillars { background: var(--ivory); }
.pillars .section-head.with-photo {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  text-align: left;
  max-width: 1080px;
  margin: 0 auto 56px;
}
.pillars .section-head.with-photo .lede { margin: 14px 0 0; }
.pillars .section-head.with-photo .accent-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}
.pillars .section-head.with-photo .accent-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
@media (max-width: 800px) {
  .pillars .section-head.with-photo { grid-template-columns: 1fr; text-align: center; }
  .pillars .section-head.with-photo .lede { margin: 14px auto 0; }
}
.pillar-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform .15s ease, box-shadow .15s ease;
}
.pillar-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.pillar-card .icon {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  background: var(--teal-500); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
}
.pillar-card h3 { font-size: 22px; margin-bottom: 8px; }
.pillar-card p { margin: 0; color: var(--charcoal-700); font-size: 15px; line-height: 1.55; }

/* ============================================================
   Teams strip
   ============================================================ */
.teams { background: var(--cream); }
.team-card {
  background: white; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,0.05);
  transition: transform .15s ease;
  text-decoration: none; color: inherit;
  display: block;
}
.team-card:hover { transform: translateY(-3px); }
.team-card .top {
  background: var(--charcoal-900); color: white; padding: 22px 22px 18px;
  position: relative;
}
.team-card .stripe { height: 12px; background: var(--teal-300); }
.team-card .age {
  font-family: var(--font-display);
  font-size: 48px; line-height: 1; letter-spacing: 0;
}
.team-card .age em {
  font-style: normal; color: var(--teal-300); font-size: 24px; margin-left: 4px;
}
.team-card .meta {
  font-family: var(--font-ui); text-transform: uppercase; letter-spacing: 2px;
  font-size: 12px; color: var(--teal-300); margin-top: 4px;
}
.team-card .body { padding: 18px 22px 22px; }
.team-card .coach-label {
  font-family: var(--font-ui); text-transform: uppercase; letter-spacing: 2px;
  font-size: 11px; color: var(--charcoal-500);
}
.team-card .coach-name {
  font-weight: 600; color: var(--charcoal-900); font-size: 16px; margin-top: 2px;
}
@media (max-width: 900px) { .teams .grid-4 { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   Training & home field
   ============================================================ */
.training-card {
  background: white; border-radius: var(--radius-lg); padding: 36px;
  box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,0.05);
  height: 100%;
}
.training-card .label {
  font-family: var(--font-ui); text-transform: uppercase; letter-spacing: 2px;
  font-size: 12px; color: var(--teal-500); font-weight: 700; margin-bottom: 8px;
}
.training-card h3 { margin-bottom: 14px; }
.training-card ul { color: var(--charcoal-700); }
.training-card li { margin-bottom: 6px; }

/* ============================================================
   Cooperstown moment
   ============================================================ */
.cooperstown {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background-image:
    linear-gradient(90deg, rgba(31,34,40,0.88) 0%, rgba(31,34,40,0.72) 28%, rgba(31,34,40,0.28) 58%, rgba(31,34,40,0.05) 100%),
    url("../images/cooperstown.jpg");
  background-size: cover;
  background-position: center 40%;
  color: white;
}
.cooperstown::before {
  content: "★"; position: absolute; top: 30px; right: 30px; color: var(--gold);
  font-size: 60px; opacity: 0.5;
}
.cooperstown .container { padding-top: 80px; padding-bottom: 80px; }
.cooperstown h2 { color: white; max-width: 15ch; }
.cooperstown .lede { color: rgba(255,255,255,0.92); max-width: 42ch; margin: 20px 0 24px; }
@media (max-width: 700px) {
  .cooperstown {
    min-height: 480px;
    background-image:
      linear-gradient(180deg, rgba(31,34,40,0.45) 0%, rgba(31,34,40,0.88) 60%, rgba(31,34,40,0.95) 100%),
      url("../images/cooperstown.jpg");
    background-position: center top;
  }
}

/* ============================================================
   Sponsors strip
   ============================================================ */
.sponsors { background: var(--cream); }
.sponsor-card {
  position: relative;
  background: white; border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  text-decoration: none; color: inherit;
  min-height: 220px;
  overflow: hidden;
}
.sponsor-card:not(.become) {
  border-top: 6px solid var(--teal-300);
}
.sponsor-card:not(.become):hover {
  border-top-color: var(--teal-500);
}
.sponsor-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  background: white;
  border-color: rgba(0,0,0,0.10);
}
.sponsor-card .face {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 32px 24px;
  text-align: center;
  transition: opacity .35s ease, transform .35s ease;
}
.sponsor-card .text-face { opacity: 1; transform: translateY(0); }
.sponsor-card .logo-face {
  opacity: 0; transform: scale(0.88);
  background: white;
  padding: 20px;
}
.sponsor-card .logo-face img {
  max-width: 100%; max-height: 130px;
  object-fit: contain;
}
.sponsor-card .logo-caption {
  font-family: var(--font-ui); text-transform: uppercase; letter-spacing: 2px;
  font-size: 11px; color: var(--charcoal-500); margin-top: 14px; font-weight: 700;
}
.sponsor-card:hover .text-face {
  opacity: 0; transform: translateY(-12px);
}
.sponsor-card:hover .logo-face {
  opacity: 1; transform: scale(1);
}
.sponsor-tier {
  font-family: var(--font-ui); text-transform: uppercase; letter-spacing: 2px;
  font-size: 11px; color: var(--gold); font-weight: 700; margin-bottom: 10px;
}
.sponsor-card .name { font-family: var(--font-display); font-size: 24px; line-height: 1.05; text-transform: uppercase; }
.sponsor-card.become {
  background: var(--charcoal-900); color: white; border: 0;
}
.sponsor-card.become:hover {
  background: var(--charcoal-800);
  transform: translateY(-4px);
}
.sponsor-card.become .sponsor-tier { color: var(--teal-300); }
.sponsor-card.become .name { color: white; }
.sponsor-card.become .text-face { opacity: 1 !important; transform: translateY(0) !important; }
.sponsor-card.become::after {
  content: "→";
  position: absolute; right: 22px; bottom: 18px;
  color: var(--teal-300); font-size: 22px;
  opacity: 0; transform: translateX(-8px);
  transition: opacity .25s ease, transform .25s ease;
}
.sponsor-card.become:hover::after { opacity: 1; transform: translateX(0); }

/* Variant for sponsors whose logo is white/light (needs dark backdrop) */
.sponsor-card.logo-dark .logo-face { background: var(--charcoal-900); }
.sponsor-card.logo-dark .logo-face .logo-caption { color: rgba(255,255,255,0.65); }

/* ============================================================
   Cause awareness ribbons (mavs-weekend, mission section)
   ============================================================ */
.cause-ribbons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: stretch;
  justify-content: center;
}
.cause-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 14px 24px 14px 18px;
  border-radius: var(--radius-pill);
}
.cause-ribbon svg {
  width: 26px;
  height: 38px;
  flex-shrink: 0;
}
.cause-ribbon-text {
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  font-size: 13px;
  color: white;
  line-height: 1.2;
}
.cause-ribbon-text small {
  display: block;
  font-size: 10.5px;
  color: rgba(255,255,255,0.65);
  font-weight: 600;
  margin-top: 3px;
  letter-spacing: 1.5px;
}
/* Light variant: when used on a light background (e.g. homepage mission section) */
.cause-ribbons.on-light .cause-ribbon {
  background: white;
  border-color: rgba(0,0,0,0.08);
  box-shadow: var(--shadow-sm);
}
.cause-ribbons.on-light .cause-ribbon-text { color: var(--charcoal-900); }
.cause-ribbons.on-light .cause-ribbon-text small { color: var(--charcoal-500); }

/* ============================================================
   Final CTA band
   ============================================================ */
.cta-final {
  background:
    radial-gradient(700px 320px at 0% 100%, rgba(63,182,189,0.25), transparent 60%),
    radial-gradient(800px 380px at 100% 0%, rgba(42,157,164,0.30), transparent 60%),
    var(--charcoal-900);
  color: white;
  padding: 80px 0;
  text-align: center;
}
.cta-final h2 { color: white; }
.cta-final .lede { color: rgba(255,255,255,0.85); margin: 16px auto 28px; }
.cta-final .dates {
  display: inline-flex; flex-wrap: wrap; gap: 24px; justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 20px 28px; margin: 0 auto 28px;
}
.cta-final .dates .item { text-align: center; }
.cta-final .dates .when {
  font-family: var(--font-display); font-size: 28px; color: var(--teal-300); line-height: 1;
}
.cta-final .dates .who {
  font-family: var(--font-ui); text-transform: uppercase; letter-spacing: 2px;
  font-size: 11px; color: rgba(255,255,255,0.7); margin-top: 4px;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--charcoal-900); color: rgba(255,255,255,0.78);
  padding: 56px 0 24px;
}
.site-footer .grid { gap: 32px; }
.site-footer .brand { color: white; align-items: flex-start; }
.site-footer .brand .brand-text { color: white; }
.site-footer h4 {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: 1px;
  color: white; font-size: 18px; margin: 0 0 12px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; font-size: 14px; }
.site-footer a { color: rgba(255,255,255,0.78); text-decoration: none; }
.site-footer a:hover { color: var(--teal-300); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px; padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  font-size: 13px; color: rgba(255,255,255,0.55);
}
.social-icons { display: flex; gap: 10px; }
.social-icons a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center;
}
.social-icons a:hover { background: var(--teal-500); }
.social-icons svg { width: 16px; height: 16px; fill: white; }

/* ============================================================
   Page hero (interior pages)
   ============================================================ */
.page-hero {
  background:
    radial-gradient(700px 300px at 90% -20%, rgba(63,182,189,0.25), transparent 60%),
    linear-gradient(180deg, var(--ivory) 0%, var(--cream) 100%);
  padding: 64px 0 56px;
  position: relative;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.page-hero h1 { font-size: clamp(40px, 5.5vw, 68px); }
.page-hero .lede { margin-top: 16px; }
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: var(--teal-300);
}
/* Mobile: reset the tall photo-hero overrides that interior pages set inline */
@media (max-width: 500px) {
  .page-hero {
    min-height: auto !important;
    padding: 56px 0 40px !important;
  }
}

/* ============================================================
   About — board grid
   ============================================================ */
.board-card {
  background: white; border-radius: var(--radius); padding: 22px;
  border: 1px solid rgba(0,0,0,0.05); box-shadow: var(--shadow-sm);
  text-align: center;
}
.board-card .role {
  font-family: var(--font-ui); text-transform: uppercase; letter-spacing: 2px;
  font-size: 11px; color: var(--teal-500); font-weight: 700;
}
.board-card .name { font-family: var(--font-display); font-size: 22px; margin-top: 6px; }
/* Legacy timeline (kept for safety in case any page still uses it) */
.timeline-item {
  background: white; border-left: 4px solid var(--teal-500);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px; box-shadow: var(--shadow-sm); margin-bottom: 14px;
}
.timeline-item .year {
  font-family: var(--font-display); color: var(--teal-500); font-size: 24px;
}

/* ============================================================
   Heritage timeline — horizontal chapter view (about.html)
   ============================================================ */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  max-width: 1000px;
  margin: 0 auto;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 102px;
  left: 18%; right: 18%;
  height: 6px;
  background-image: linear-gradient(90deg, var(--signal-red) 0 12px, transparent 12px 22px);
  background-size: 22px 6px;
  border-radius: 3px;
  z-index: 0;
  opacity: 0.55;
}
.timeline-milestone {
  text-align: center;
  position: relative;
  z-index: 1;
}
.timeline-step {
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-weight: 700;
  font-size: 11px;
  color: var(--teal-500);
  margin-bottom: 14px;
}
.timeline-badge {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: var(--charcoal-900);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  border: 4px solid var(--teal-300);
  box-shadow: var(--shadow);
  position: relative;
  transition: transform .3s cubic-bezier(.34,1.4,.64,1), border-color .25s ease;
  background-image:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.06), transparent 60%);
}
.timeline-milestone:hover .timeline-badge {
  transform: scale(1.06) rotate(-3deg);
}
.timeline-badge .year {
  font-family: var(--font-display);
  font-size: 30px;
  color: white;
  line-height: 1;
  letter-spacing: 1px;
}
.timeline-badge.gold-accent {
  border-color: var(--gold);
}
.timeline-badge .star-corner {
  position: absolute;
  top: -8px; right: -8px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--charcoal-900);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease;
}
.timeline-milestone:hover .star-corner { transform: scale(1.15) rotate(15deg); }
.timeline-card {
  background: white;
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  text-align: left;
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
}
.timeline-card::before {
  content: "";
  position: absolute;
  top: -10px; left: 50%; transform: translateX(-50%);
  width: 18px; height: 18px;
  background: white;
  border-top: 1px solid rgba(0,0,0,0.04);
  border-left: 1px solid rgba(0,0,0,0.04);
  transform: translateX(-50%) rotate(45deg);
}
.timeline-milestone:hover .timeline-card {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.timeline-card h3 {
  font-size: 22px; margin-bottom: 10px; letter-spacing: 0.5px;
}
.timeline-card p {
  margin: 0; color: var(--charcoal-700);
  font-size: 14.5px; line-height: 1.6;
}
@media (max-width: 800px) {
  .timeline {
    grid-template-columns: 1fr;
    gap: 44px;
    max-width: 440px;
  }
  .timeline::before { display: none; }
}

/* ============================================================
   Heritage era stack (about.html — replaces horizontal chapter timeline)
   ============================================================ */
.era-stack { max-width: 860px; margin: 0 auto; }
.era-row {
  display: grid; grid-template-columns: 260px 1fr; gap: 44px;
  align-items: center; padding: 36px 0;
  border-bottom: 1px solid rgba(0,0,0,0.10);
}
.era-row:last-child { border-bottom: 0; }
.era-row .era-year {
  font-family: var(--font-display); font-size: clamp(56px, 10vw, 112px);
  color: var(--teal-500); line-height: 0.9; letter-spacing: -1px;
  text-transform: uppercase;
}
.era-row.featured .era-year { color: var(--gold); }
.era-row .era-eyebrow {
  font-family: var(--font-ui); text-transform: uppercase; letter-spacing: 2.5px;
  font-weight: 700; font-size: 11px; color: var(--charcoal-500); margin-bottom: 8px;
}
.era-row h3 { margin-bottom: 12px; font-size: 24px; }
.era-row p { margin: 0; color: var(--charcoal-700); font-size: 15px; line-height: 1.6; }
@media (max-width: 700px) {
  .era-row { grid-template-columns: 1fr; gap: 8px; padding: 28px 0; }
}

/* ============================================================
   Board unified grid (about.html — replaces split officers/directors)
   ============================================================ */
.board-unified {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  max-width: 980px; margin: 0 auto;
}
.board-card-2 {
  background: white; border-radius: var(--radius); padding: 24px;
  border: 1px solid rgba(0,0,0,0.06); box-shadow: var(--shadow-sm);
  text-align: center; position: relative;
  transition: transform .15s ease, box-shadow .15s ease;
}
.board-card-2:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.board-card-2.officer { border-top: 4px solid var(--gold); }
.board-card-2.officer .role { color: var(--gold); }
.board-card-2 .role {
  font-family: var(--font-ui); text-transform: uppercase; letter-spacing: 2px;
  font-size: 11px; color: var(--charcoal-500); font-weight: 700;
}
.board-card-2 .name {
  font-family: var(--font-display); font-size: 22px; margin-top: 6px;
  letter-spacing: 0.5px; text-transform: uppercase; line-height: 1.1;
}
@media (max-width: 700px) { .board-unified { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   Scroll-in reveal animation
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.34,1.2,.64,1);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 0.10s; }
.reveal[data-delay="2"] { transition-delay: 0.25s; }
.reveal[data-delay="3"] { transition-delay: 0.40s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Tryouts — date cards
   ============================================================ */
.date-card {
  background: white; border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,0.05);
  text-align: center;
}
.date-card .label {
  font-family: var(--font-ui); text-transform: uppercase; letter-spacing: 2px;
  font-size: 12px; color: var(--teal-500); font-weight: 700;
}
.date-card .age {
  font-family: var(--font-display); font-size: 56px; color: var(--charcoal-900); line-height: 1; margin: 8px 0;
}
.date-card .dates {
  font-family: var(--font-ui); font-weight: 700; font-size: 18px;
  text-transform: uppercase; letter-spacing: 1px;
}
.date-card .time {
  color: var(--charcoal-700); margin-top: 6px;
}
.date-card .rain {
  font-size: 13px; color: var(--charcoal-500); margin-top: 8px;
}

/* Bullet list with checkmarks */
.check-list { list-style: none; padding: 0; }
.check-list li {
  padding-left: 32px; position: relative; margin-bottom: 10px;
  color: var(--charcoal-700);
}
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 4px; width: 20px; height: 20px;
  background: var(--teal-500); border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>");
  background-repeat: no-repeat; background-position: center; background-size: 14px 14px;
}

/* Faux card placeholder for stubbed pages */
.coming-soon {
  background: white; border: 2px dashed var(--charcoal-300);
  border-radius: var(--radius-lg);
  padding: 80px 40px; text-align: center;
}
.coming-soon h2 { margin-bottom: 12px; }

/* ============================================================
   Lightbox (gallery photo viewer)
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 22, 26, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  animation: lb-fade .2s ease;
  cursor: zoom-out;
}
.lightbox[hidden] { display: none; }
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
.lightbox-img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.55);
  cursor: default;
  animation: lb-zoom .25s cubic-bezier(.34,1.4,.64,1);
}
@keyframes lb-zoom { from { transform: scale(0.95); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.lightbox button {
  position: absolute;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: white;
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, transform .15s ease, border-color .15s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: var(--font-body);
}
.lightbox button:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.3);
  transform: scale(1.06);
}
.lightbox-close { top: 24px; right: 24px; font-size: 22px; }
.lightbox-prev  { left: 24px; top: 50%; transform: translateY(-50%); font-size: 30px; padding-bottom: 4px; }
.lightbox-next  { right: 24px; top: 50%; transform: translateY(-50%); font-size: 30px; padding-bottom: 4px; }
.lightbox-prev:hover { transform: translateY(-50%) scale(1.06); }
.lightbox-next:hover { transform: translateY(-50%) scale(1.06); }
.lightbox-counter {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.65);
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(255,255,255,0.06);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 700px) {
  .lightbox-close { top: 12px; right: 12px; width: 40px; height: 40px; }
  .lightbox-prev  { left: 8px; width: 44px; height: 44px; }
  .lightbox-next  { right: 8px; width: 44px; height: 44px; }
}

/* ============================================================
   Gallery grid
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--charcoal-900);
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
  transition: transform .3s ease, box-shadow .3s ease;
}
.gallery-photo:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.gallery-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.gallery-photo:hover img { transform: scale(1.04); }
.gallery-photo.span-2 { grid-column: span 2; }
.gallery-photo.contain { background: var(--charcoal-900); }
.gallery-photo.contain img { object-fit: contain; padding: 24px; }
@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-photo.span-2 { grid-column: span 2; }
}
@media (max-width: 500px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-photo.span-2 { grid-column: span 1; }
}

/* ============================================================
   Countdown (tryouts + homepage CTA)
   ============================================================ */
.countdown-wrap { text-align: center; }
.countdown-eyebrow {
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-weight: 700;
  font-size: 12px;
  color: var(--teal-300);
  margin-bottom: 14px;
}
.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  max-width: 560px;
  margin: 0 auto;
}
.countdown-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  padding: 18px 10px 14px;
  text-align: center;
  position: relative;
}
.countdown-num {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1;
  color: var(--teal-300);
  font-variant-numeric: tabular-nums;
}
.countdown-label {
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  color: rgba(255,255,255,0.65);
  margin-top: 8px;
  font-weight: 700;
}
.countdown.done {
  display: block;
  text-align: center;
  padding: 22px 24px;
  background: var(--teal-500);
  color: white;
  border-radius: var(--radius);
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(20px, 2.4vw, 26px);
  letter-spacing: 1px;
  max-width: 560px;
}

/* Light variant — for use on cream/white backgrounds */
.countdown.light .countdown-item {
  background: white;
  border-color: rgba(0,0,0,0.08);
  box-shadow: var(--shadow-sm);
}
.countdown.light .countdown-num { color: var(--teal-500); }
.countdown.light .countdown-label { color: var(--charcoal-700); }
.countdown-wrap.light .countdown-eyebrow { color: var(--teal-500); }

/* Minimal variant — no card chrome, smaller, supporting info */
.countdown.minimal {
  gap: 14px;
  max-width: 480px;
}
.countdown.minimal .countdown-item {
  background: transparent;
  border: 0;
  padding: 6px 4px;
}
.countdown.minimal .countdown-num {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 36px);
  color: white;
  letter-spacing: -0.5px;
}
.countdown.minimal .countdown-num::after {
  content: "";
  display: block;
  width: 24px; height: 2px;
  background: var(--teal-300);
  margin: 6px auto 0;
  opacity: 0.6;
}
.countdown.minimal .countdown-label {
  font-size: 10px;
  letter-spacing: 2.5px;
  color: rgba(255,255,255,0.55);
  margin-top: 8px;
}
.countdown-wrap.minimal .countdown-eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
}

/* Standalone band (full section treatment, used on tryouts page) */
.countdown-band {
  background:
    radial-gradient(700px 320px at 0% 100%, rgba(63,182,189,0.20), transparent 60%),
    radial-gradient(800px 380px at 100% 0%, rgba(42,157,164,0.25), transparent 60%),
    var(--charcoal-900);
  color: white;
  padding: 56px 0;
}
.countdown-band .container { text-align: center; }
.countdown-band h2 { color: white; margin-bottom: 6px; }
.countdown-band .lede { color: rgba(255,255,255,0.78); max-width: 50ch; margin: 0 auto 28px; }

/* ============================================================
   Roster sections (teams.html)
   ============================================================ */
.team-nav {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  margin-bottom: 48px;
}
.team-nav a {
  font-family: var(--font-ui); text-transform: uppercase; letter-spacing: 1.5px;
  font-weight: 700; font-size: 13px;
  background: white; color: var(--charcoal-900);
  border: 1px solid rgba(0,0,0,0.08);
  padding: 9px 18px; border-radius: var(--radius-pill);
  text-decoration: none; transition: all .15s ease;
}
.team-nav a:hover, .team-nav a:focus {
  background: var(--charcoal-900); color: white;
}

.roster-section { margin-bottom: 56px; scroll-margin-top: 100px; }
.roster-header {
  background: var(--charcoal-900); color: white;
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 26px 30px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  background-image: radial-gradient(600px 200px at 100% 50%, rgba(63,182,189,0.18), transparent 60%);
}
.roster-header .team-meta {
  font-family: var(--font-ui); text-transform: uppercase; letter-spacing: 2px;
  font-size: 11px; color: var(--teal-300); margin-bottom: 6px;
}
.roster-header .team-name {
  font-family: var(--font-display); font-size: 48px; line-height: 1; color: white;
}
.roster-header .team-name em {
  font-style: normal; color: var(--teal-300); font-size: 24px; margin-left: 6px;
}
.roster-header .cooperstown-badge {
  display: inline-block; margin-left: 12px; font-size: 13px;
  background: var(--gold); color: var(--charcoal-900);
  padding: 4px 10px; border-radius: var(--radius-pill);
  font-family: var(--font-ui); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700;
  vertical-align: middle;
}
.roster-header .coach-pill {
  text-align: right;
  font-size: 18px;
  font-weight: 600;
  color: white;
  line-height: 1.2;
}
.roster-header .coach-pill .lbl {
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 11px;
  color: var(--teal-300);
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
}
.roster-stripe { height: 8px; background: var(--teal-300); }
.roster-grid {
  background: white;
  border-radius: 0 0 var(--radius) var(--radius);
  border: 1px solid rgba(0,0,0,0.05);
  border-top: none;
  padding: 22px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
@media (max-width: 900px) { .roster-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 500px) { .roster-grid { grid-template-columns: repeat(2, 1fr); } }

.player-card {
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 16px 10px;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform .15s ease, background .15s ease;
  display: flex; flex-direction: column; justify-content: center;
  min-height: 88px;
}
.player-card:hover { transform: translateY(-2px); background: var(--teal-100); }
.player-card .num {
  font-family: var(--font-display);
  font-size: 28px; color: var(--teal-500); line-height: 1;
}
.player-card .player-name {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 13px;
  color: var(--charcoal-900);
  margin-top: 8px;
  letter-spacing: 0.4px;
  line-height: 1.2;
}
.player-card.no-num .player-name {
  font-size: 15px; margin-top: 0;
}

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 24px; }

/* ============================================================
   Announcement banner (sitewide promo bar above the header)
   ============================================================ */
.announce-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 11px 20px;
  background: linear-gradient(90deg, var(--teal-500) 0%, var(--teal-400) 100%);
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 1.35;
  text-align: center;
  flex-wrap: wrap;
  border-bottom: 2px solid rgba(0, 0, 0, 0.12);
  transition: filter 0.15s ease;
}
.announce-bar:hover { filter: brightness(1.06); }
.announce-bar:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.announce-bar .announce-eyebrow {
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
}
.announce-bar .announce-text {
  font-weight: 500;
  opacity: 0.95;
}
.announce-bar .announce-cta {
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  padding: 5px 11px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 4px;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .announce-bar { gap: 10px; padding: 10px 14px; font-size: 13px; }
  .announce-bar .announce-text { flex-basis: 100%; font-size: 12px; }
}
