/* ============================================================
   INDIANOLA MUSIC BOOSTERS — GLOBAL STYLES
   ============================================================ */

/* Hide sheet-driven elements until JS populates them — prevents flash of empty/stale content */
[data-stat]:not([style*="display"]) { display: none; }


:root {
  --purple:       #3B1F6E;
  --purple-mid:   #5A3491;
  --purple-light: #EDE8F7;
  --gold:         #F0B429;
  --gold-dark:    #C8900A;
  --gold-text:    #A06E06; /* darker gold for text on light backgrounds — flips bright in dark mode */
  --gold-light:   #FEF8E7;
  --dark:         #111018;
  --text:         #2D2533;
  --text-mid:     #4A4060;
  --text-light:   #8A7FA8;
  --white:        #FFFFFF;
  --off-white:    #F1EEF4;
  --cream:        #FAF9F5;

  /* ── SEMANTIC COLOR SYSTEM ───────────────────────────── */
  --text-main:       #2D2533;
  --color-brand:     #552E6F;
  --color-accent:    #FCC428;

  --bg-section-a:    #FAF9F5;
  --bg-section-b:    #F1EEF4;
  --bg-card-on-a:    #FFFFFF;
  --bg-card-on-b:    #FAF9F5;
  --card-shadow:     0 4px 12px rgba(45,37,51,.05);
  --card-border:     none;

  --btn-bg:          var(--color-brand);
  --btn-text:        #FFFFFF;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius:  12px;
  --radius-sm: 6px;
  --shadow:  0 4px 24px rgba(59,31,110,.10);
  --shadow-lg: 0 12px 48px rgba(59,31,110,.18);

  --max-w: 1160px;
  --section-pad: 96px;

  /* ── TYPOGRAPHY TOKENS ───────────────────────────────── */
  --eyebrow-size:    .78rem;
  --eyebrow-weight:  800;
  --eyebrow-color:   var(--purple-mid);
  --eyebrow-spacing: .12em;

  --h2-weight:       700;
  --h3-weight:       700;
  --h3-size:         clamp(1.1rem, 2vw, 1.4rem);

  --lead-size:       var(--body-size);  /* Lead = body, same size */
  --body-size:       1rem;
  --meta-size:       var(--stat-label-size);  /* Meta = stat label size */

  --stat-num-color:   var(--dark);
  --stat-label-size:  .72rem;
  --stat-label-weight: 800;
  --stat-label-color:  var(--text-light);

  --btn-weight:      700;
}

/* ── DARK MODE ───────────────────────────────────────────── */
@media (prefers-color-scheme: dark) {
  :root {
    --gold-text:       #E8B54A;
    --text-main:       #EAE5ED;
    --color-brand:     #8C5DA6;

    --bg-section-a:    #18121C;
    --bg-section-b:    #241B2B;
    --bg-card-on-a:    #241B2B;
    --bg-card-on-b:    #2F2438;
    --card-shadow:     none;
    --card-border:     1px solid #3A2D44;

    --btn-bg:          var(--color-accent);
    --btn-text:        #18121C;

    /* Map old vars to dark equivalents */
    --text:         #EAE5ED;
    --text-mid:     #B3A9B8;
    --text-light:   #7A6F88;
    --cream:        #18121C;
    --off-white:    #241B2B;
    --white:        #241B2B;
    --purple:       #8C5DA6;
    --purple-light: #55446B;
    --gold-light:   #3D2E1A;
    --dark:         #EAE5ED;
    --shadow:       none;
    --shadow-lg:    none;
  }
  /* Gold = "give" surfaces always carry dark ink, never white text */
  .btn-gold, .btn-gold:hover { color: #18121C !important; }
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background: var(--bg-section-a);
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

.section-pad { padding: var(--section-pad) 0; }

/* ── TYPOGRAPHY ─────────────────────────────────────────────── */
/* h1, h2: Playfair Display ONLY */
h1, h2 { font-family: var(--font-display); line-height: 1.15; color: var(--dark); text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 4vw, 3.2rem); font-weight: 700; }
/* h3: Inter, bold */
h3 { font-family: var(--font-body); font-size: var(--h3-size); font-weight: var(--h3-weight); line-height: 1.3; color: var(--dark); }
/* Italic em inside display headings = purple accent */
h1 em, h2 em { color: var(--purple); font-style: italic; }
p  { line-height: 1.75; color: var(--text); font-size: var(--body-size); }
p + p { margin-top: .75em; }
/* Lead paragraph — Inter, slightly larger */
.lead-p { font-family: var(--font-body); font-size: var(--lead-size); line-height: 1.75; color: var(--text-mid); }
/* Supporting / metadata text */
.meta-text { font-family: var(--font-body); font-size: var(--meta-size); font-weight: var(--stat-label-weight); text-transform: uppercase; letter-spacing: .08em; color: var(--text-light); line-height: 1.5; }
em { font-style: italic; }

.section-eyebrow {
  font-family: var(--font-body);
  font-size: var(--eyebrow-size);
  font-weight: var(--eyebrow-weight);
  letter-spacing: var(--eyebrow-spacing);
  text-transform: uppercase;
  color: var(--eyebrow-color);
  margin-bottom: 8px;
}
.section-eyebrow.light { color: var(--gold); }

.section-title { margin-bottom: 40px; }
.text-center { text-align: center; }

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 28px;
  min-width: 200px;
  text-align: center;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
  cursor: pointer;
  transition: all .2s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); }

/* Nav buttons must NOT inherit the min-width */
.nav-give-now { min-width: 0; }

.btn-primary {
  background: var(--purple);
  color: var(--white);
}
.btn-primary:hover { background: var(--purple-mid); }

.btn-outline-white {
  background: rgba(255,255,255,.15);
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-white:hover { background: rgba(255,255,255,.28); border-color: var(--white); }

.btn-outline-dark {
  background: var(--purple-light);
  color: var(--purple);
  border-color: var(--purple);
}
.btn-outline-dark:hover { background: var(--purple); color: var(--white); }

.btn-sm { padding: 8px 18px; font-size: .85rem; }
.btn-lg { padding: 18px 40px; font-size: 1.05rem; }

/* ── LIVE BANNER ────────────────────────────────────────────── */
.live-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #C0392B;
  color: #fff;
  padding: 10px 24px;
  font-size: .9rem;
  font-weight: 600;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.live-banner.hidden { display: none; }
.live-dot {
  width: 10px; height: 10px;
  background: #fff;
  border-radius: 50%;
  animation: pulse 1.4s infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.3); }
}
.live-banner a { color: #fff; text-decoration: underline; }
.banner-close {
  margin-left: auto;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: .7;
  padding: 0 4px;
}
.banner-close:hover { opacity: 1; }

/* ── NAV DROPDOWN ─────────────────────────────────────────── */
.nav-item-dropdown {
  position: relative;
}
.nav-item-dropdown > a::after {
  content: ' ▾';
  font-size: .65em;
  opacity: .6;
  vertical-align: middle;
}
.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 180px;
  background: #1a0d35;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
  list-style: none;
  padding: 6px 0;
  z-index: 999;
}
.nav-item-dropdown:hover .nav-dropdown,
.nav-item-dropdown:focus-within .nav-dropdown {
  display: block;
}
.nav-dropdown li a {
  display: block;
  padding: 10px 18px;
  font-size: .85rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  white-space: nowrap;
  transition: background .15s, color .15s;
  border-radius: 0;
}
.nav-dropdown li a:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
}
/* Mobile: show dropdown inline under Programs */
@media (max-width: 1100px) {
  .nav-item-dropdown > a::after { content: ''; }
  .nav-dropdown {
    display: block;
    position: static;
    background: rgba(255,255,255,.05);
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0 0 0 16px;
  }
  .nav-dropdown li a {
    padding: 8px 16px;
    font-size: 1rem;
    color: rgba(255,255,255,.65);
  }
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: #0d0520;
  border-bottom: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 2px 16px rgba(0,0,0,.22);
  min-height: 88px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 20px;
  padding-bottom: 20px;
  min-height: 88px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo img { height: 52px; }
.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
  line-height: 1.2;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin-left: auto;
  flex-wrap: nowrap;
}
/* Give Now inside menu — hidden at desktop, shown in mobile dropdown */
.nav-give-in-menu { display: none; }
/* Give Now standalone — always visible outside hamburger */
.nav-give-standalone {
  flex-shrink: 0;
  margin-left: 8px;
  padding: 10px 20px !important;
  font-size: .88rem !important;
  border-radius: var(--radius) !important;
  background: var(--gold) !important;
  color: var(--dark) !important;
  border-color: var(--gold) !important;
  font-weight: 700;
  white-space: nowrap;
}
.nav-links a {
  font-size: .9rem;
  font-weight: 600;
  color: rgba(255,255,255,.82);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); background: rgba(255,255,255,.08); }
.nav-give-now {
  margin-left: 8px;
  padding: 8px 18px !important;
  font-size: .85rem !important;
  border-radius: var(--radius) !important;
  background: var(--gold) !important;
  color: var(--dark) !important;
  border-color: var(--gold) !important;
  font-weight: 700;
}
.nav-give-now:hover {
  background: var(--gold-dark) !important;
  border-color: var(--gold-dark) !important;
  color: var(--dark) !important;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 12px;
  margin-left: auto;
  min-width: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: background .15s;
}
.nav-toggle:hover { background: rgba(255,255,255,.08); }
.nav-toggle span {
  display: block;
  width: 26px; height: 2.5px;
  background: rgba(255,255,255,.9);
  border-radius: 2px;
  transition: all .2s;
}

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-placeholder-img {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #1a0d35 0%, #2d1660 50%, #1a0d35 100%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(15,6,35,.88) 55%, rgba(15,6,35,.4) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 80px;
  padding-bottom: 80px;
  max-width: 680px;
}
.hero-eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.hero-headline {
  color: var(--white);
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 5.5rem);
}
.hero-headline em { color: rgba(255,255,255,.75); }
.hero-funded {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  padding: 0 12px;
  border-radius: 4px;
  font-style: normal;
}
.hero-sub {
  color: rgba(255,255,255,.8);
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── STATS BAR ──────────────────────────────────────────────── */
.stats-bar {
  background: var(--dark);
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat { text-align: center; }
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--stat-num-color);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--stat-label-size);
  font-weight: var(--stat-label-weight);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--stat-label-color);
}

/* ── EVENTS PREVIEW ─────────────────────────────────────────── */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  gap: 24px;
  flex-wrap: wrap;
}
.events-list { display: flex; flex-direction: column; }
.event-row {
  display: grid;
  grid-template-columns: 100px 1fr auto auto;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid rgba(59,31,110,.1);
}
.event-row:last-child { border-bottom: 1px solid rgba(59,31,110,.1); }
.event-date-col .event-month {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-light);
}
.event-date-col .event-day {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--purple);
  line-height: 1;
}
.event-name { font-weight: 700; font-size: 1rem; color: var(--text); }
.event-sub { font-size: .85rem; color: var(--text-light); margin-top: 2px; }
.event-time { font-size: .85rem; color: var(--text-mid); white-space: nowrap; }
.event-location { font-size: .85rem; color: var(--text-mid); text-align: right; white-space: nowrap; }
.event-cat-badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 100px;
  background: var(--purple-light);
  color: var(--purple-mid);
}
.event-cat-badge.meeting    { background: #E8F5E9; color: #2E7D32; }
.event-cat-badge.special    { background: #FFF8E1; color: #F57F17; }
.event-cat-badge.livestream { background: #FDE8E8; color: #C0392B; }

/* ── EVENT CARD (JS-rendered) ───────────────────────────────── */
.event-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(59,31,110,.1);
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
}
.event-card:first-child { border-top: 1px solid rgba(59,31,110,.1); }
.event-card-link { transition: background .15s; border-radius: var(--radius-sm); }
a.event-card-link:hover { background: var(--off-white); }

/* Date box */
.ev-date-box {
  border: 2.5px solid var(--purple);
  border-radius: 10px;
  text-align: center;
  padding: 10px 8px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  background: #fff;
}
.ev-weekday {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-light);
}
.ev-month {
  font-size: .82rem;
  font-weight: 700;
  color: var(--text);
}
.ev-day {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--purple);
  line-height: 1;
  margin-top: 2px;
}

/* Event body */
.ev-body { display: flex; flex-direction: column; gap: 5px; padding: 4px 0; }
.ev-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.ev-link-icon { font-size: .75rem; color: var(--purple-mid); }
.ev-desc { font-size: .85rem; color: var(--text-mid); }
.ev-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: .82rem;
  color: var(--text-mid);
  margin-top: 2px;
}
.ev-sep   { color: var(--text-light); }
.ev-time  { font-weight: 600; color: var(--text); }
.ev-tags  { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.ev-group-tag {
  font-size: .72rem; font-weight: 700;
  padding: 3px 10px; border-radius: 100px;
  background: var(--purple-light); color: var(--purple);
}
.ev-cat-tag {
  font-size: .72rem; font-weight: 600;
  padding: 3px 10px; border-radius: 100px;
  background: var(--gold-light); color: var(--gold-dark);
}
.ev-live-link {
  font-size: .78rem; font-weight: 700;
  padding: 3px 10px; border-radius: 100px;
  background: #FDE8E8; color: #C0392B;
  text-decoration: none;
}
.ev-live-link:hover { background: #C0392B; color: #fff; }

.events-loading, .events-empty {
  color: var(--text-light);
  padding: 32px 0;
  text-align: center;
  font-size: .95rem;
}

/* ── PROGRAMS ───────────────────────────────────────────────── */
.bg-gold-light { background: var(--gold-light); }

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.program-card {
  background: var(--bg-card-on-a);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: var(--card-border);
  transition: transform .2s, box-shadow .2s;
  display: block;
}
.program-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.program-card-img {
  height: 200px;
  background: var(--purple-light);
}
.program-img-band {
  background: linear-gradient(135deg, #1a0d35, #4a2080);
}
.program-img-orchestra {
  background: linear-gradient(135deg, #0d2535, #1a5080);
}
.program-img-vocal {
  background: linear-gradient(135deg, #350d2d, #801a6e);
}
.program-card-body {
  padding: 24px;
}
.program-card-body h3 {
  color: var(--purple);
  margin-bottom: 8px;
}
.program-card-body p {
  color: var(--text-mid);
  font-size: .9rem;
}

/* ── MISSION CALLOUT ────────────────────────────────────────── */
.bg-purple .section-eyebrow { color: var(--gold); }
.bg-purple h2 { color: var(--white); }
.bg-purple h2 em { color: var(--gold); font-style: italic; }
.bg-purple p { color: rgba(255,255,255,.8); }
/* Stats on dark backgrounds */
.bg-purple .stat-number { color: #fff; }
.bg-purple .stat-label  { color: rgba(255,255,255,.65); }

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.mission-text h2 { margin-bottom: 20px; }
.mission-text p { margin-bottom: 32px; max-width: 480px; }
.mission-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.mission-stat-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mission-stat-card .big-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.mission-stat-card span:last-child {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}

/* ── DONATE CTA ─────────────────────────────────────────────── */
.donate-sub {
  color: var(--text-mid);
  max-width: 540px;
  margin: 0 auto 36px;
  font-size: 1rem;
}
.donate-levels {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
}
.level-pill {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 100px;
  background: var(--off-white);
  border: 1px solid rgba(59,31,110,.12);
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-mid);
}
.level-pill.highlight {
  background: var(--purple-light);
  border-color: var(--purple-mid);
  color: var(--purple);
}
.donate-mail {
  margin-top: 20px;
  font-size: .85rem;
  color: var(--text-light);
}

/* ── SECTION BACKGROUNDS ──────────────────────────────────────────────────────── */
/* Use sparingly — max 2 per page to avoid light-show effect */
.bg-off-white    { background: var(--bg-section-b); }
.bg-purple-light { background: var(--purple-light); }
.bg-gold-light   { background: var(--gold-light); }
.bg-purple { background: var(--purple); color: var(--white); }

/* Cards inside alternate sections use cream bg */
.bg-off-white .program-card,
.bg-off-white .involved-card,
.bg-off-white .giving-card,
.bg-off-white .quick-card { background: var(--bg-card-on-b); }
.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.quick-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: var(--bg-card-on-a);
  border-radius: var(--radius);
  padding: 28px 16px;
  font-weight: 700;
  font-size: .92rem;
  color: var(--purple);
  text-align: center;
  box-shadow: var(--shadow);
  transition: all .2s;
  border: 1px solid rgba(59,31,110,.06);
}
.quick-card:hover { background: var(--purple); color: var(--white); transform: translateY(-2px); }
.quick-icon-svg {
  width: 36px; height: 36px;
  color: var(--purple-mid);
  transition: color .2s;
  flex-shrink: 0;
}
.quick-card:hover .quick-icon-svg { color: rgba(255,255,255,.9); }

/* ── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
  background: #111018;
  color: rgba(255,255,255,.7);
  padding: 56px 0 0;
}
.footer-statement {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1.2;
  margin: 0 0 40px;
}
.fs-gold { color: var(--gold); }
.fs-white { color: #fff; }
.footer-cols {
  display: grid;
  grid-template-columns: 1.8fr .85fr .95fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.footer-brand-row img { height: 48px; width: auto; display: block; flex-shrink: 0; }
.footer-brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: #fff;
  margin: 0;
  white-space: nowrap;
}
.footer-mission {
  font-size: .88rem;
  line-height: 1.65;
  color: rgba(255,255,255,.55);
  margin: 0 0 20px;
  max-width: 340px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 100px;
  background: rgba(255,255,255,.08);
  transition: background .15s;
}
.footer-social a:hover { background: rgba(240,180,41,.25); }
.footer-col-title {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gold);
  margin: 6px 0 18px;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col ul a { font-size: .9rem; color: rgba(255,255,255,.72); transition: color .15s; }
.footer-col ul a:hover { color: var(--gold); }
.footer-contact li { font-size: .88rem; color: rgba(255,255,255,.72); line-height: 1.5; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 18px 0 20px;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 8px 24px;
  flex-wrap: wrap;
}
.footer-bottom-inner span, .footer-bottom p {
  font-size: .78rem;
  color: rgba(255,255,255,.4);
  margin: 0;
}
.footer-bottom a { color: rgba(255,255,255,.55); text-decoration: underline; }
.footer-bottom a:hover { color: var(--gold); }
@media (max-width: 900px) {
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 560px) {
  .footer-cols { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand-name { white-space: normal; }
  .footer-bottom-inner { flex-direction: column; }
}

/* ── INNER PAGE HERO ────────────────────────────────────────── */
.page-hero {
  background: var(--purple);
  color: var(--white);
  padding: 64px 0 56px;
}
.page-hero .section-eyebrow { color: var(--gold); }
.page-hero h1 { color: var(--white); font-size: clamp(2.1rem, 4.2vw, 3.2rem); }
.page-hero p { color: rgba(255,255,255,.8); max-width: 640px; margin-top: 12px; font-size: 1.05rem; }

/* ── EVENTS PAGE ────────────────────────────────────────────── */
.event-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.filter-btn {
  padding: 8px 20px;
  border-radius: 100px;
  border: 2px solid rgba(59,31,110,.2);
  background: transparent;
  color: var(--text-mid);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .85rem;
  cursor: pointer;
  transition: all .15s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--white);
}
#full-events-list { display: flex; flex-direction: column; }

/* ── ABOUT PAGE ─────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.board-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.board-table th {
  text-align: left;
  padding: 10px 12px;
  background: var(--purple-light);
  color: var(--purple);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.board-table td { padding: 12px; border-bottom: 1px solid rgba(59,31,110,.08); color: var(--text); }
.board-table tr:last-child td { border-bottom: none; }

/* ── PROGRAMS & DIRECTORS PAGE ──────────────────────────────── */

/* Sticky sub-nav */
.prog-subnav {
  position: sticky;
  top: 73px;
  z-index: 90;
  background: var(--white);
  border-bottom: 1px solid rgba(59,31,110,.1);
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.prog-subnav-inner {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}
.prog-subnav-inner::-webkit-scrollbar { display: none; }
.prog-subnav-link {
  padding: 14px 28px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--text-mid);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: color .15s, border-color .15s;
  flex-shrink: 0;
}
.prog-subnav-link:hover { color: var(--purple); }
.prog-subnav-link.active { color: var(--purple); border-bottom-color: var(--purple); }

/* Section alternating background */
.prog-section-alt { background: var(--off-white); }

/* Program section header card */
.prog-section-head {
  display: flex;
  align-items: stretch;
  margin-bottom: 52px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(59,31,110,.08);
}
.prog-section-accent {
  width: 10px;
  flex-shrink: 0;
}
.prog-accent-band      { background: linear-gradient(180deg, #3B1F6E, #1a0d35); }
.prog-accent-orchestra { background: linear-gradient(180deg, #C8900A, #7a5200); }
.prog-accent-vocal     { background: linear-gradient(180deg, #5A3491, #3B1F6E); }
.prog-accent-elementary{ background: linear-gradient(180deg, #0d0520, #2d1660); }

.prog-section-head-body {
  flex: 1;
  padding: 28px 32px;
  background: var(--white);
  border: 1px solid rgba(59,31,110,.08);
  border-left: none;
  border-radius: 0 var(--radius) var(--radius) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.prog-section-head-body h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  margin-bottom: 4px;
}
.prog-section-sub {
  font-size: .9rem;
  color: var(--text-mid);
}
.prog-section-stats {
  display: flex;
  gap: 28px;
  flex-shrink: 0;
}
.prog-section-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.prog-section-stat .stat-n {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--dark);
  line-height: 1;
}
.prog-section-stat .stat-l {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-light);
}

/* Level subsection */
.prog-level {
  margin-bottom: 56px;
}
.prog-level-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 16px;
}
.prog-level-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(59,31,110,.1);
}
.prog-level-note {
  font-size: .88rem;
  color: var(--text-mid);
  margin-bottom: 16px;
}
.inline-link {
  color: var(--purple);
  font-weight: 600;
  text-decoration: none;
}
.inline-link:hover { text-decoration: underline; }

/* Ensemble chip tags */
.prog-ensemble-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(59,31,110,.07);
}
.prog-ensemble-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--off-white);
  border: 1px solid rgba(59,31,110,.1);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: .8rem;
  font-weight: 500;
  color: var(--dark);
}
.chip-link {
  font-weight: 700;
  color: var(--purple);
  text-decoration: none;
  font-size: .75rem;
  border-left: 1px solid rgba(59,31,110,.15);
  padding-left: 8px;
}
.chip-link:hover { opacity: .75; }


/* ── Website link pills (programs page) ─────────────────── */
.prog-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 16px;
}
a.prog-site-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--purple-light);
  border: 1.5px solid var(--purple-mid);
  border-radius: 100px;
  padding: 7px 18px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--purple);
  text-decoration: none;
  transition: background .15s, border-color .15s;
}
a.prog-site-pill:hover {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}

/* Performing arts staff */
.prog-staff-section {
  max-width: 680px;
}

/* Legacy resource chips (kept for any other pages referencing them) */
.resource-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.resource-chip {
  display: inline-block;
  padding: 5px 12px;
  background: var(--purple-light);
  color: var(--purple);
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 600;
}
.resource-chip:hover { background: var(--purple); color: var(--white); }

@media (max-width: 640px) {
  .prog-section-head-body {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .prog-section-stats { gap: 20px; }
  .prog-section-stat .stat-n { font-size: 1.5rem; }
  .prog-subnav-link { padding: 12px 18px; font-size: .82rem; }
}

/* ── SUPPORT PAGE ───────────────────────────────────────────── */
.giving-levels {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin: 24px 0 32px;
}
.giving-card {
  border: 2px solid rgba(59,31,110,.12);
  border-radius: var(--radius);
  padding: 20px;
}
.giving-card.featured {
  border-color: var(--gold);
  background: var(--gold-light);
}
.giving-amount {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--purple);
}
.giving-name {
  font-weight: 700;
  font-size: .85rem;
  color: var(--text-mid);
  margin-top: 4px;
}
.impact-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.impact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .92rem;
  color: var(--text-mid);
}
.impact-list li::before {
  content: '✓';
  color: var(--purple);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── DIRECTORS PAGE ─────────────────────────────────────────── */
.directors-section { padding: 40px 0; }
.directors-section h2 { margin-bottom: 24px; font-size: 1.4rem; }
.directors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.director-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--purple-light);
  border-radius: var(--radius);
  padding: 18px;
  border: 1px solid rgba(59,31,110,.22);
  text-decoration: none;
  transition: background .15s;
}
.director-card:hover { background: var(--gold-light); }
.director-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--purple);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}
.director-name { font-weight: 700; font-size: .95rem; color: var(--text); }
.director-role { font-size: .84rem; color: var(--text-mid); }

/* ── RESOURCES PAGE ─────────────────────────────────────────── */
.resource-group { margin-bottom: 48px; }
.resource-group h3 { margin-bottom: 20px; color: var(--purple); }
.resource-links { display: flex; flex-direction: column; gap: 10px; }
.resource-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--off-white);
  border: 1px solid rgba(59,31,110,.1);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 600;
  color: var(--purple);
  transition: all .15s;
}
.resource-link:hover { background: var(--purple-light); }
.resource-link-icon { font-size: 1.1rem; flex-shrink: 0; }

/* ── GET INVOLVED PAGE ──────────────────────────────────────── */
.involved-card {
  background: var(--bg-card-on-a);
  box-shadow: var(--card-shadow);
  border: var(--card-border);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 24px;
  border: 1px solid rgba(59,31,110,.08);
}
.involved-card h3 { color: var(--purple); margin-bottom: 12px; }
.fundraiser-list { list-style: disc; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.fundraiser-list li { color: var(--text-mid); font-size: .92rem; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  :root { --section-pad: 64px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .programs-grid { grid-template-columns: 1fr 1fr; }
  .mission-grid { grid-template-columns: 1fr; gap: 40px; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE NAV — three states
   1. ≥1101px  : full nav, all links, full name, Give Now
   2. ≤1100px  : hamburger, full name, compact Give Now
   3. ≤480px   : hamburger, "IMB", compact Give Now
   Give Now is ALWAYS visible in the header bar.
   Hamburger is ALWAYS the far-right item.
   ══════════════════════════════════════════════════════════ */

/* State 2: hamburger mode */
@media (max-width: 1300px) {
  .nav { gap: 0; }
  .nav-toggle { display: flex; margin-left: 16px; }
  .nav-logo { min-width: 0; flex-shrink: 1; margin-right: auto; }
  .nav-logo img { flex-shrink: 0; }
  .nav-logo-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .nav-give-standalone {
    flex-shrink: 0;
    padding: 8px 14px !important;
    font-size: .8rem !important;
    border-radius: var(--radius-sm) !important;
  }
  .nav-give-in-menu { display: none; }
  /* Dropdown menu — right-justified for right-handed users */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--purple);
    flex-direction: column;
    padding: 8px 0 16px;
    border-bottom: 1px solid rgba(0,0,0,.2);
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
    z-index: 999;
    gap: 0;
    align-items: stretch;
    margin-left: 0;
  }
  .nav-links.open { display: flex; }
  /* Keep sticky on all pages — only index.html hides it via JS */
  .site-header { position: sticky; }
  .nav-links li a {
    display: flex;
    font-size: 1.15rem;
    font-weight: 600;
    padding: 18px 32px;
    color: rgba(255,255,255,.88);
    text-align: right;
    border-radius: 0;
    border-bottom: 1px solid rgba(255,255,255,.05);
    min-height: 58px;
    align-items: center;
    justify-content: flex-end;
  }
  .nav-links li:last-child a { border-bottom: none; }
  .nav-links li a:hover { background: rgba(255,255,255,.08); color: #fff; }
  .nav-item-dropdown > a::after { content: ''; }
  .nav-dropdown {
    display: block;
    position: static;
    background: rgba(0,0,0,.15);
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    min-width: unset;
  }
  .nav-dropdown li a {
    padding: 14px 44px 14px 24px;
    font-size: .95rem;
    color: rgba(255,255,255,.6);
    justify-content: flex-end;
    min-height: 48px;
  }
  .nav-dropdown li a:hover { background: rgba(255,255,255,.08); color: #fff; }
}

/* State 3: IMB mode — switch before name truncates */
@media (max-width: 700px) {
  .nav-logo .nav-logo-text { font-size: 0; }
  .nav-logo .nav-logo-text::before {
    content: 'IMB';
    font-size: 1.1rem;
    font-weight: 800;
    font-family: var(--font-display);
    color: #fff;
    display: inline;
  }
}

@media (max-width: 640px) {
  /* Prevent horizontal scroll without breaking sticky nav */
  html, body { overflow-x: clip; }

  /* General edge buffers */
  .container { padding: 0 20px; }
  :root { --section-pad: 56px; }

  .programs-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .quick-card { padding: 16px 8px; font-size: .78rem; gap: 8px; }
  .quick-icon-svg { width: 26px; height: 26px; }

  .event-row, .event-row-link { grid-template-columns: 80px 1fr; }
  .event-card { grid-template-columns: 90px 1fr; gap: 14px; }
  .ev-day { font-size: 1.9rem; }
  .event-time, .event-location { display: none; }
  .sub-time { min-width: auto; }

  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { text-align: center; }

  .section-header { flex-direction: column; align-items: flex-start; }
  .mission-stats { grid-template-columns: 1fr 1fr; }
  .giving-levels { grid-template-columns: 1fr 1fr; }
}

/* ── Dark mode: component overrides ─────────────────────────
   (must come AFTER the base rules above to win the cascade) */
@media (prefers-color-scheme: dark) {
  .nav-give-now, .nav-give-now:hover { color: #18121C !important; }
  .prog-section-head { box-shadow: none; }
  /* Gradient header cards (dark mode only) */
  .prog-section-head-body { background: linear-gradient(180deg, #52286B, #594F46); border-color: rgba(255,255,255,.14); }
  .director-card { border-color: #6B5985; }
  a.prog-site-pill { color: #F0E9FA; border-color: #8C5DA6; }
  a.prog-site-pill:hover { color: #fff; }
}
