/* ============================================================
   MCCNC.org — Shared Stylesheet
   Mexican Cultural Center of Northern California
   Built by Mischian

   >>> BRAND SWAP: Everything the brand guide affects lives in
   >>> the :root block below. When Anna's brand guide lands,
   >>> update ONLY that block and the whole site follows.
   ============================================================ */

/* =====================
   DESIGN TOKENS
   ✓ OFFICIAL MCCNC BRAND PALETTE (from brand guidelines, Jul 2026)
     Red #dd203f · Orange #f59322 · Purple #882b91 · Green #09a756 · Black #000
   Legacy token names are kept and remapped to brand values, so the rest
   of the stylesheet didn't need rewriting. Fonts intentionally unchanged.
===================== */
:root {
  /* --- Brand core --- */
  --red:        #DD203F;
  --red-dk:     #B81834;   /* hover / pressed */
  --orange:     #F59322;
  --orange-dk:  #DB7C10;
  --purple:     #882B91;
  --purple-lt:  #A23BAD;
  --brand-green:#09A756;
  --green-bright:#0BBF62;
  --green-deep: #076B3F;   /* dark surface behind white text */
  --black:      #000000;

  /* --- Legacy names remapped to brand (used throughout the CSS) --- */
  --terracotta:    var(--red);        /* primary CTA */
  --terracotta-lt: var(--red-dk);     /* CTA hover */
  --ochre:         var(--orange);
  --gold:          #F7A840;            /* lighter orange for eyebrows on dark */
  --cream:         #FBF7F0;            /* warm near-white canvas */
  --cream-dk:      #F1EBDF;            /* soft warm neutral for alt sections/cards */
  --green:         var(--brand-green); /* now the bright brand green (accents) */
  --green-lt:      var(--green-bright);
  --charcoal:      #141414;            /* near-black dark surface */
  --warm-gray:     #6B6560;
  --white:         #FFFFFF;

  /* --- Typography (unchanged per client) --- */
  --font-display:  'DM Serif Display', serif;
  --font-body:     'Inter', sans-serif;

  /* --- Layout --- */
  --max-w: 1200px;
  --nav-h: 76px;
}

/* =====================
   RESET & BASE
===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; }

/* =====================
   UTILITY
===================== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 16px;
}
.tag--light { color: var(--gold); }
.center { text-align: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid transparent;
}
.btn-primary { background: var(--terracotta); color: var(--white); border-color: var(--terracotta); }
.btn-primary:hover { background: var(--terracotta-lt); border-color: var(--terracotta-lt); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-outline-dark { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn-outline-dark:hover { background: var(--charcoal); color: var(--white); }
.btn-gold { background: var(--ochre); color: var(--white); border-color: var(--ochre); }
.btn-gold:hover { background: var(--gold); border-color: var(--gold); }
.btn-white { background: var(--white); color: var(--terracotta); border-color: var(--white); }
.btn-white:hover { background: transparent; color: var(--white); border-color: var(--white); }

.arrow { display: inline-block; font-style: normal; transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(4px); }

/* Section header (reusable) */
.section-header { margin-bottom: 56px; }
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1.1;
}
.section-header h2 em { color: var(--terracotta); font-style: italic; }
.section-header p {
  font-size: 16px;
  color: var(--warm-gray);
  max-width: 620px;
  margin-top: 12px;
  line-height: 1.7;
}
.section-header--center { text-align: center; }
.section-header--center p { margin-left: auto; margin-right: auto; }
.section-header--light h2 { color: var(--white); }
.section-header--light p { color: rgba(255,255,255,0.6); }

/* =====================
   NAV
===================== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.nav-logo img { height: 48px; width: auto; display: block; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(26,25,24,0.65);
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.is-active { color: var(--charcoal); }
.nav-links a.is-active { font-weight: 700; }
.nav-donate {
  background: var(--terracotta);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 2px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav-donate:hover { background: var(--terracotta-lt); color: var(--white) !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--charcoal); border-radius: 2px; transition: all 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 24px 24px 32px;
  z-index: 99;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}
.nav-mobile-menu.open { display: flex; flex-direction: column; gap: 4px; }
.nav-mobile-menu a {
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--charcoal);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  display: block;
}
.nav-mobile-menu .nav-donate-mobile {
  margin-top: 16px;
  text-align: center;
  background: var(--terracotta);
  color: var(--white) !important;
  padding: 16px;
  border-radius: 2px;
  font-weight: 700 !important;
  border-bottom: none !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* =====================
   HERO (home)
===================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;      /* was flex-end — pulls text up, less void below the nav */
  padding-bottom: 0;
  overflow: hidden;
  background: var(--charcoal);
}
.hero-video-wrap { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.hero-video-wrap iframe {
  position: absolute; top: 50%; left: 50%;
  width: 177.78vh; height: 100vh;
  min-width: 100%; min-height: 56.25vw;
  transform: translate(-50%, -50%);
  pointer-events: none; border: none;
}
/* Photo hero background */
.hero-photo {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hero-video-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(150deg,
    rgba(136,43,145,0.32) 0%,
    rgba(20,20,20,0.55) 42%,
    rgba(12,12,12,0.88) 100%);
}
.hero-pattern {
  position: absolute; inset: 0; z-index: 1;
  background-image:
    radial-gradient(circle at 82% 18%, rgba(221,32,63,0.20) 0%, transparent 55%),
    radial-gradient(circle at 8% 85%, rgba(9,167,86,0.22) 0%, transparent 50%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 40px; width: 100%;
}
.hero-eyebrow { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.hero-eyebrow-line { display: none; } /* removed per client — no leading dash/line */
.hero-eyebrow-text {
  font-size: 14px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ochre);
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 96px);
  line-height: 0.95; color: var(--white); display: block;
}
.hero-headline-italic {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 96px);
  font-style: italic; line-height: 0.95;
  color: var(--terracotta); display: block;
}
.hero-headline-sm {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1.0; color: rgba(255,255,255,0.55); display: block;
}
.hero-body {
  margin-top: 20px; max-width: 480px;
  font-size: 16px; color: rgba(255,255,255,0.62); line-height: 1.7;
}
.hero-ctas { display: flex; align-items: center; gap: 16px; margin-top: 28px; flex-wrap: wrap; }

/* =====================
   PAGE HERO (interior pages)
===================== */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 100px) 40px 90px;
  background: var(--charcoal);
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 88% 12%, rgba(221,32,63,0.30) 0%, transparent 55%),
    radial-gradient(circle at 6% 92%, rgba(9,167,86,0.26) 0%, transparent 50%),
    radial-gradient(circle at 62% 65%, rgba(136,43,145,0.22) 0%, transparent 55%);
}
.page-hero-inner { position: relative; z-index: 1; max-width: var(--max-w); margin: 0 auto; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.05;
  color: var(--white);
}
.page-hero h1 em { color: var(--terracotta); font-style: italic; }
.page-hero p {
  margin-top: 20px; max-width: 620px;
  font-size: 17px; color: rgba(255,255,255,0.6); line-height: 1.75;
}
.page-hero .hero-eyebrow { margin-bottom: 20px; }

/* =====================
   MISSION STRIP
===================== */
.mission-strip { background: var(--purple); padding: 28px 40px; }
.mission-strip-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.mission-strip-text {
  font-family: var(--font-display);
  font-size: 22px; color: var(--white); font-style: italic;
}
.mission-strip-stats { display: flex; gap: 48px; }
.stat-item { text-align: center; }
.stat-num { font-family: var(--font-display); font-size: 32px; color: var(--white); display: block; }
.stat-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.65);
}

/* =====================
   SECTION SHELLS
===================== */
.section        { padding: 120px 40px; background: var(--cream); }
.section--alt   { background: var(--cream-dk); }
.section--white { background: var(--white); }
.section--dark  { background: var(--charcoal); }
.section--green { background: var(--green-deep); }
.section-inner  { max-width: var(--max-w); margin: 0 auto; }

/* =====================
   ABOUT / PILLARS
===================== */
.about-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}
.about-left h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.1; margin-bottom: 24px;
}
.about-left h2 em { color: var(--terracotta); font-style: italic; }
.about-left p { font-size: 17px; color: var(--warm-gray); line-height: 1.75; margin-bottom: 20px; }
.about-left .btn { margin-top: 12px; }

.pillars { display: flex; flex-direction: column; gap: 2px; }
.pillar {
  padding: 28px 32px;
  background: var(--cream-dk);
  border-left: 3px solid transparent;
  transition: all 0.3s ease;
}
.pillar:hover {
  background: var(--white);
  border-left-color: var(--terracotta);
  transform: translateX(6px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.pillar-number {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  color: var(--ochre); text-transform: uppercase; margin-bottom: 8px;
}
.pillar h3 { font-family: var(--font-display); font-size: 22px; margin-bottom: 8px; }
.pillar p { font-size: 14px; color: var(--warm-gray); line-height: 1.6; }

/* =====================
   NEXT EVENT WIDGET (homepage)
===================== */
.next-event {
  background: var(--green-deep);
  padding: 100px 40px;
  position: relative;
  overflow: hidden;
}
.next-event::after {
  content: '';
  position: absolute; top: -140px; right: -140px;
  width: 520px; height: 520px; border-radius: 50%;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
}
.next-event-inner {
  position: relative; z-index: 1;
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center;
}
.next-event-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 20px;
}
.next-event-label::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold); animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}
.next-event h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 52px);
  color: var(--white); line-height: 1.1; margin-bottom: 16px;
}
.next-event h2 em { color: var(--gold); font-style: italic; }
.next-event p { font-size: 16px; color: rgba(255,255,255,0.65); line-height: 1.75; margin-bottom: 28px; }
.next-event-meta {
  display: flex; flex-wrap: wrap; gap: 28px; margin-bottom: 32px;
  padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.next-event-meta-item .k {
  display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 4px;
}
.next-event-meta-item .v { font-size: 15px; font-weight: 600; color: var(--white); }
.next-event-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Event poster frame (reused for graphics placeholders) */
.poster-frame {
  background: rgba(0,0,0,0.25);
  padding: 20px; border-radius: 4px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.08);
}
.poster-placeholder {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--terracotta) 0%, var(--ochre) 55%, var(--green-lt) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; border-radius: 2px; padding: 24px; text-align: center;
}
.poster-placeholder-text {
  font-family: var(--font-display); font-size: 30px;
  color: var(--white); line-height: 1.15;
}
.poster-placeholder-sub {
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.7);
}
.poster-frame img { border-radius: 2px; width: 100%; }

/* =====================
   EVENT CARDS / LIST
===================== */
.events-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3px; }
.event-card {
  background: rgba(255,255,255,0.05);
  padding: 40px 36px;
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.event-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--terracotta);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.event-card:hover::before { transform: scaleX(1); }
.event-card:hover { background: rgba(255,255,255,0.08); transform: translateY(-4px); }
.event-card--featured { background: var(--terracotta); border-color: var(--terracotta); grid-column: 1 / -1; }
.event-card--featured::before { background: var(--white); }
.event-date {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 14px; display: block;
}
.event-card--featured .event-date { color: rgba(255,255,255,0.7); }
.event-card h3 {
  font-family: var(--font-display); font-size: 26px;
  color: var(--white); margin-bottom: 12px; line-height: 1.2;
}
.event-card p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.65; margin-bottom: 20px; }
.event-card--featured p { color: rgba(255,255,255,0.8); }
.event-meta {
  display: flex; gap: 20px; font-size: 12px;
  color: rgba(255,255,255,0.45); margin-bottom: 24px; flex-wrap: wrap;
}
.event-card--featured .event-meta { color: rgba(255,255,255,0.7); }
.event-badge {
  display: inline-block; align-self: flex-start;
  padding: 5px 12px; background: rgba(255,255,255,0.15);
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--white);
  border-radius: 2px; margin-bottom: 16px;
}
.event-badge--next { background: var(--ochre); }
.event-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
  color: var(--white); text-transform: uppercase;
  transition: gap 0.2s; margin-top: auto;
}
.event-link:hover { gap: 14px; }

/* Signature event rows (events page) */
.event-row {
  display: grid; grid-template-columns: 200px 1fr auto;
  gap: 40px; align-items: center;
  padding: 36px 32px;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  border-left: 3px solid transparent;
  transition: all 0.3s ease;
  margin-bottom: 3px;
}
.event-row:hover {
  border-left-color: var(--terracotta);
  box-shadow: 0 10px 40px rgba(0,0,0,0.07);
  transform: translateX(4px);
}
.event-row-when {
  font-family: var(--font-display);
  font-size: 24px; color: var(--terracotta); line-height: 1.2;
}
.event-row-when small {
  display: block; font-family: var(--font-body);
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--warm-gray); margin-top: 6px;
}
.event-row-body h3 { font-family: var(--font-display); font-size: 24px; margin-bottom: 8px; }
.event-row-body p { font-size: 15px; color: var(--warm-gray); line-height: 1.65; }
.event-row-tag {
  display: inline-block; margin-top: 10px;
  padding: 4px 10px; border-radius: 2px;
  background: rgba(181,69,27,0.08); color: var(--terracotta);
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}

/* =====================
   BOARD
===================== */
.board-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.board-card {
  background: var(--white);
  padding: 28px 24px;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 4px;
  transition: all 0.3s ease;
  text-align: left;
  width: 100%;
  cursor: pointer;
}
.board-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  transform: translateY(-4px);
  border-color: var(--terracotta);
}
.board-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-lt));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 20px; color: var(--white);
  margin-bottom: 16px; overflow: hidden; flex-shrink: 0;
}
.board-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top center; border-radius: 50%; }
.board-card h4 { font-size: 15px; font-weight: 600; color: var(--charcoal); margin-bottom: 4px; line-height: 1.3; }
.board-role {
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--terracotta); margin-bottom: 6px;
}
.board-org { font-size: 12px; color: var(--warm-gray); }
.board-more {
  margin-top: 12px; font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ochre);
  opacity: 0; transition: opacity 0.25s;
}
.board-card:hover .board-more { opacity: 1; }

/* Board bio modal */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(26,25,24,0.7);
  backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--white);
  max-width: 520px; width: 100%;
  padding: 44px 40px;
  border-radius: 4px;
  border-top: 4px solid var(--terracotta);
  position: relative;
  max-height: 85vh; overflow-y: auto;
  animation: modalIn 0.28s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.modal-close {
  position: absolute; top: 14px; right: 18px;
  background: none; border: none; cursor: pointer;
  font-size: 26px; line-height: 1; color: var(--warm-gray);
}
.modal-close:hover { color: var(--charcoal); }
.modal-avatar {
  width: 88px; height: 88px; border-radius: 50%;
  overflow: hidden; margin-bottom: 20px;
  background: linear-gradient(135deg, var(--green), var(--green-lt));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 30px; color: var(--white);
}
.modal-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.modal h3 { font-family: var(--font-display); font-size: 28px; margin-bottom: 4px; }
.modal .modal-role {
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--terracotta); margin-bottom: 2px;
}
.modal .modal-org { font-size: 14px; color: var(--warm-gray); margin-bottom: 20px; }
.modal .modal-bio { font-size: 15px; color: var(--warm-gray); line-height: 1.75; }

/* =====================
   SCHOLARSHIPS
===================== */
.scholarships-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.8fr; gap: 80px; align-items: start;
}
.scholarships-left h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1.1; margin-bottom: 20px;
}
.scholarships-left h2 em { color: var(--terracotta); font-style: italic; }
.scholarships-left p { font-size: 16px; color: var(--warm-gray); line-height: 1.75; margin-bottom: 28px; }
.scholarships-year {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--warm-gray);
  margin-bottom: 16px; display: block;
}
.scholarship-cards { display: flex; flex-direction: column; gap: 3px; }
.scholarship-card {
  display: flex; align-items: center; gap: 24px;
  padding: 24px 28px;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-left: 3px solid transparent;
  transition: all 0.3s;
}
.scholarship-card:hover {
  border-left-color: var(--terracotta);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.scholarship-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  object-fit: cover; object-position: top center;
  flex-shrink: 0; border: 2px solid var(--cream-dk);
}
.scholarship-avatar-placeholder {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--terracotta), var(--ochre));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 20px; color: var(--white); flex-shrink: 0;
}
.scholarship-info h4 { font-size: 17px; font-weight: 600; color: var(--charcoal); margin-bottom: 4px; }
.scholarship-info p { font-size: 13px; color: var(--warm-gray); }
.scholarship-badge {
  margin-left: auto; padding: 6px 14px;
  background: rgba(181,69,27,0.08); color: var(--terracotta);
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; border-radius: 2px; flex-shrink: 0;
}

/* Criteria list */
.criteria { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin-top: 8px; }
.criteria-item {
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.3s;
}
.criteria-item:hover { box-shadow: 0 10px 36px rgba(0,0,0,0.07); transform: translateY(-3px); }
.criteria-num {
  font-family: var(--font-display); font-size: 36px;
  color: var(--cream-dk); line-height: 1; margin-bottom: 12px;
}
.criteria-item h4 { font-family: var(--font-display); font-size: 20px; margin-bottom: 8px; }
.criteria-item p { font-size: 14px; color: var(--warm-gray); line-height: 1.65; }

/* =====================
   SPONSORS — featured (bigger + bolder, per client)
===================== */
.sponsor-featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.sponsor-tile {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 4px;
  padding: 40px 28px;
  display: flex; align-items: center; justify-content: center;
  min-height: 190px;
  transition: all 0.3s ease;
}
.sponsor-tile:hover {
  border-color: var(--terracotta);
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
  transform: translateY(-5px);
}
.sponsor-tile img {
  max-height: 118px; max-width: 100%;
  width: auto; object-fit: contain;
  filter: grayscale(100%) opacity(0.6);
  transition: filter 0.3s ease, transform 0.3s ease;
}
.sponsor-tile:hover img { filter: grayscale(0%) opacity(1); transform: scale(1.05); }

/* Sponsor marquee (compact strip, used on interior pages) */
.section-sponsors { padding: 80px 0; background: var(--white); border-top: 1px solid rgba(0,0,0,0.06); overflow: hidden; }
.sponsors-header { text-align: center; margin-bottom: 44px; padding: 0 40px; }
.sponsors-header p {
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--warm-gray);
}
.marquee-wrapper { position: relative; }
.marquee-wrapper::before,
.marquee-wrapper::after {
  content: ''; position: absolute; top: 0; bottom: 0;
  width: 160px; z-index: 2; pointer-events: none;
}
.marquee-wrapper::before { left: 0; background: linear-gradient(to right, var(--white), transparent); }
.marquee-wrapper::after  { right: 0; background: linear-gradient(to left, var(--white), transparent); }
.marquee-track { display: flex; width: max-content; animation: marqueeScroll 30s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-set { display: flex; align-items: center; }
.sponsor-logo-item {
  display: flex; align-items: center; justify-content: center;
  padding: 20px 52px;
  border-right: 1px solid rgba(0,0,0,0.06);
  transition: background 0.25s; flex-shrink: 0;
}
.sponsor-logo-item:hover { background: var(--cream-dk); }
.sponsor-logo-item img {
  height: 72px; width: auto; max-width: 170px; object-fit: contain;
  filter: grayscale(100%) opacity(0.55);
  transition: filter 0.3s ease, transform 0.3s ease;
}
.sponsor-logo-item:hover img { filter: grayscale(0%) opacity(1); transform: scale(1.06); }

/* PayPal option forms (live sponsorship buttons) */
.pp-form { display: flex; flex-direction: column; gap: 12px; margin-top: auto; }
.pp-select {
  font-family: var(--font-body); font-size: 14px;
  padding: 12px 14px; width: 100%;
  border: 1px solid rgba(0,0,0,0.16); border-radius: 2px; background: #fff; color: var(--charcoal);
}
.pp-select:focus { outline: none; border-color: var(--terracotta); box-shadow: 0 0 0 3px rgba(221,32,63,0.12); }
.pp-amount { font-family: var(--font-display); font-size: 15px; color: var(--warm-gray); }

/* Sponsorship tiers */
.tier-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }
.tier-grid--three { grid-template-columns: repeat(3, 1fr); }
.tier {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  padding: 40px 32px;
  display: flex; flex-direction: column;
  transition: all 0.3s ease;
}
.tier:hover { box-shadow: 0 16px 50px rgba(0,0,0,0.09); transform: translateY(-5px); z-index: 1; }
.tier--highlight { background: var(--charcoal); border-color: var(--charcoal); }
.tier-name {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ochre); margin-bottom: 14px;
}
.tier-price { font-family: var(--font-display); font-size: 40px; line-height: 1; margin-bottom: 6px; }
.tier--highlight .tier-price, .tier--highlight h3 { color: var(--white); }
.tier-price-note { font-size: 12px; color: var(--warm-gray); margin-bottom: 24px; }
.tier--highlight .tier-price-note { color: rgba(255,255,255,0.45); }
.tier ul { list-style: none; margin-bottom: 28px; }
.tier li {
  font-size: 14px; color: var(--warm-gray); line-height: 1.6;
  padding: 9px 0 9px 22px; position: relative;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.tier--highlight li { color: rgba(255,255,255,0.65); border-bottom-color: rgba(255,255,255,0.08); }
.tier li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--terracotta); font-weight: 700;
}
.tier .btn { margin-top: auto; }
.tier-badge {
  display: inline-block; align-self: flex-start;
  padding: 4px 10px; margin-bottom: 12px; border-radius: 2px;
  background: var(--terracotta); color: var(--white);
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}

/* =====================
   GET INVOLVED
===================== */
.section-involve { padding: 120px 40px; background: var(--terracotta); position: relative; overflow: hidden; }
.involve-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 90% 10%, rgba(255,255,255,0.08) 0%, transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(0,0,0,0.1) 0%, transparent 40%);
}
.involve-inner {
  max-width: var(--max-w); margin: 0 auto;
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center;
}
.involve-left h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  color: var(--white); line-height: 1.1; margin-bottom: 20px;
}
.involve-left p { font-size: 17px; color: rgba(255,255,255,0.78); line-height: 1.7; margin-bottom: 28px; }
.involve-contact { display: flex; flex-direction: column; gap: 10px; }
.involve-contact a {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 600; color: var(--white);
  transition: gap 0.2s;
}
.involve-contact a:hover { gap: 16px; }
.involve-options { display: flex; flex-direction: column; gap: 3px; }
.involve-option {
  padding: 24px 28px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; transition: all 0.2s;
  width: 100%; text-align: left;
}
.involve-option:hover { background: rgba(255,255,255,0.2); }
.involve-option-text { font-size: 15px; font-weight: 600; color: var(--white); }
.involve-option-sub { font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 2px; }
.involve-arrow { color: rgba(255,255,255,0.7); font-size: 18px; transition: transform 0.2s; }
.involve-option:hover .involve-arrow { transform: translateX(5px); }

/* =====================
   FORMS
===================== */
.form-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 4px;
  padding: 48px 44px;
  box-shadow: 0 20px 70px rgba(0,0,0,0.06);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--warm-gray);
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 16px;
  border: 1px solid rgba(0,0,0,0.14);
  border-radius: 2px;
  background: var(--white);
  color: var(--charcoal);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(181,69,27,0.1);
}
.field-note { font-size: 12px; color: var(--warm-gray); }
.form-success {
  display: none;
  padding: 16px 20px;
  background: rgba(42,74,26,0.08);
  border-left: 3px solid var(--green-lt);
  color: var(--green-deep);
  font-size: 14px;
  margin-bottom: 20px;
}
.form-success.show { display: block; }

/* Donation amount picker */
.amount-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 16px; }
.amount-btn {
  padding: 16px 8px;
  border: 1px solid rgba(0,0,0,0.14);
  background: var(--white);
  border-radius: 2px;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--charcoal);
  cursor: pointer;
  transition: all 0.2s;
}
.amount-btn:hover { border-color: var(--terracotta); }
.amount-btn.selected {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--white);
}

/* =====================
   NEWSLETTER POPUP (fires at ~50% scroll)
===================== */
.newsletter-popup {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(26,25,24,0.72);
  backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.newsletter-popup.open { display: flex; }
.newsletter-box {
  background: var(--cream);
  max-width: 560px; width: 100%;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  animation: modalIn 0.32s ease;
  box-shadow: 0 30px 90px rgba(0,0,0,0.4);
}
.newsletter-accent { height: 5px; background: linear-gradient(90deg, var(--terracotta), var(--ochre), var(--green-lt)); }
.newsletter-body { padding: 48px 44px 44px; }
.newsletter-body h3 {
  font-family: var(--font-display);
  font-size: 32px; line-height: 1.15; margin-bottom: 12px;
}
.newsletter-body h3 em { color: var(--terracotta); font-style: italic; }
.newsletter-body > p { font-size: 15px; color: var(--warm-gray); line-height: 1.7; margin-bottom: 26px; }
.newsletter-form { display: flex; gap: 8px; flex-wrap: wrap; }
.newsletter-form input {
  flex: 1; min-width: 220px;
  font-family: var(--font-body); font-size: 15px;
  padding: 15px 16px;
  border: 1px solid rgba(0,0,0,0.14);
  border-radius: 2px; background: var(--white);
}
.newsletter-form input:focus {
  outline: none; border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(181,69,27,0.1);
}
.newsletter-fineprint { font-size: 12px; color: var(--warm-gray); margin-top: 14px; }

/* Inline newsletter (footer band) */
.newsletter-band { background: var(--charcoal); padding: 72px 40px; }
.newsletter-band-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.newsletter-band h3 {
  font-family: var(--font-display); font-size: clamp(26px, 3vw, 36px);
  color: var(--white); line-height: 1.2; margin-bottom: 10px;
}
.newsletter-band h3 em { color: var(--gold); font-style: italic; }
.newsletter-band p { font-size: 15px; color: rgba(255,255,255,0.55); line-height: 1.7; }

/* =====================
   FOOTER
===================== */
footer { background: var(--charcoal); padding: 80px 40px 40px; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 40px;
}
.footer-brand img { height: 52px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.4); margin-bottom: 20px; line-height: 1.6; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; }
.footer-contact a {
  font-size: 13px; color: rgba(255,255,255,0.5);
  transition: color 0.2s; display: flex; align-items: center; gap: 8px;
}
.footer-contact a:hover { color: var(--white); }
.footer-col h4 {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.25); }
.footer-social { display: flex; gap: 16px; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: rgba(255,255,255,0.4);
  transition: all 0.2s;
}
.footer-social a:hover { background: var(--terracotta); border-color: var(--terracotta); color: var(--white); }

/* =====================
   BUILD NOTE FLAG (dev only — delete before launch)
===================== */
.build-note {
  position: fixed; bottom: 20px; right: 20px; z-index: 400;
  background: var(--charcoal); color: var(--white);
  padding: 14px 18px; border-radius: 4px;
  font-size: 12px; max-width: 250px; line-height: 1.55;
  border-left: 3px solid var(--gold);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}
.build-note strong {
  display: block; font-size: 12px; font-weight: 700;
  color: var(--gold); margin-bottom: 4px; letter-spacing: 0.06em;
}
.build-note-close {
  position: absolute; top: 6px; right: 10px;
  cursor: pointer; color: rgba(255,255,255,0.4);
  font-size: 16px; line-height: 1; background: none; border: none;
}
.build-note-close:hover { color: var(--white); }

/* =====================
   TABLET — 1024px
===================== */
@media (max-width: 1024px) {
  .about-inner,
  .scholarships-inner,
  .involve-inner,
  .next-event-inner,
  .newsletter-band-inner { grid-template-columns: 1fr; gap: 48px; }
  .board-grid { grid-template-columns: repeat(3, 1fr); }
  .sponsor-featured-grid { grid-template-columns: repeat(3, 1fr); }
  .tier-grid { grid-template-columns: repeat(2, 1fr); }
  .criteria { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .mission-strip-inner { flex-direction: column; gap: 24px; text-align: center; }
  .event-row { grid-template-columns: 160px 1fr; gap: 28px; }
  .event-row .btn { grid-column: 2; justify-self: start; }
}

/* =====================
   MOBILE — 768px
===================== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  nav { padding: 0 20px; }
  .nav-logo img { height: 38px; }

  .hero { padding-bottom: 60px; min-height: 100svh; }
  .hero-content { padding: 0 24px; }
  .hero-body { font-size: 15px; }
  .hero-ctas { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-ctas .btn { width: 100%; }

  .page-hero { padding: calc(var(--nav-h) + 60px) 24px 60px; }

  .mission-strip { padding: 24px 20px; }
  .mission-strip-inner { flex-direction: column; gap: 20px; text-align: center; }
  .mission-strip-text { font-size: 18px; }
  .mission-strip-stats { gap: 24px; }

  .section { padding: 72px 24px; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .pillar:hover { transform: none; }

  .next-event { padding: 72px 24px; }
  .next-event-ctas .btn { width: 100%; }
  .next-event-meta { gap: 20px; }

  .events-grid { grid-template-columns: 1fr; }
  .event-card--featured { grid-column: auto; }
  .event-card { padding: 32px 26px; }

  .event-row {
    grid-template-columns: 1fr; gap: 16px;
    padding: 28px 24px; text-align: left;
  }
  .event-row:hover { transform: none; }
  .event-row .btn { grid-column: auto; width: 100%; }
  .event-row-when { font-size: 20px; }

  .board-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .board-card { padding: 20px 16px; }
  .board-card:hover { transform: none; }
  .board-more { opacity: 1; }
  .modal { padding: 36px 26px; }

  .scholarships-inner { grid-template-columns: 1fr; gap: 40px; }
  .scholarship-card { flex-wrap: wrap; gap: 16px; }
  .scholarship-badge { width: 100%; text-align: center; margin-left: 0; }

  .sponsor-featured-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .sponsor-tile { padding: 28px 18px; min-height: 150px; }
  .sponsor-tile img { max-height: 82px; }
  .sponsor-tile:hover { transform: none; }

  .tier-grid { grid-template-columns: 1fr; gap: 12px; }
  .tier:hover { transform: none; }

  .section-sponsors { padding: 56px 0; }
  .sponsor-logo-item { padding: 16px 32px; }
  .sponsor-logo-item img { height: 52px; }
  .marquee-wrapper::before, .marquee-wrapper::after { width: 50px; }

  .section-involve { padding: 72px 24px; }
  .involve-inner { grid-template-columns: 1fr; gap: 40px; }

  .form-card { padding: 32px 24px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .amount-grid { grid-template-columns: repeat(2, 1fr); }

  .newsletter-band { padding: 56px 24px; }
  .newsletter-body { padding: 36px 26px 32px; }
  .newsletter-body h3 { font-size: 26px; }
  .newsletter-form input { min-width: 100%; }
  .newsletter-form .btn { width: 100%; }

  footer { padding: 60px 24px 32px; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; padding-bottom: 40px; margin-bottom: 28px; }
  .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }

  .build-note { display: none; }
}

/* =====================
   SMALL MOBILE — 480px
===================== */
@media (max-width: 480px) {
  .board-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .board-avatar { width: 44px; height: 44px; font-size: 16px; }
  .stat-num { font-size: 26px; }
  .mission-strip-stats { gap: 16px; }
  .btn { font-size: 12px; padding: 13px 20px; }
  .amount-grid { grid-template-columns: 1fr 1fr; }
}

/* =====================
   LEGAL DOCUMENT PAGES (privacy / terms)
===================== */
.legal-doc { max-width: 760px; }
.legal-doc > p { font-size: 16px; color: var(--warm-gray); line-height: 1.75; margin-bottom: 18px; }
.legal-doc h2 {
  font-family: var(--font-display); font-size: 24px; color: var(--charcoal);
  margin: 40px 0 12px;
}
.legal-doc ul { list-style: none; margin: 0 0 20px; }
.legal-doc li {
  font-size: 16px; color: var(--warm-gray); line-height: 1.7;
  padding: 6px 0 6px 22px; position: relative;
}
.legal-doc li::before { content: "·"; position: absolute; left: 6px; color: var(--terracotta); font-weight: 700; }
.legal-doc a { color: var(--terracotta); font-weight: 600; }
.legal-doc a:hover { text-decoration: underline; }
.legal-doc strong { color: var(--charcoal); }
.legal-note {
  margin-top: 32px; padding: 16px 20px;
  background: var(--cream-dk); border-left: 3px solid var(--ochre);
  font-size: 13.5px; color: var(--warm-gray); line-height: 1.6;
}

/* Footer legal links */
.footer-copy a { color: rgba(255,255,255,0.55); text-decoration: underline; }
.footer-copy a:hover { color: #fff; }

/* =====================
   COOKIE CONSENT BANNER
===================== */
.cookie-banner {
  position: fixed; z-index: 500; left: 20px; right: 20px; bottom: 20px;
  max-width: 720px; margin: 0 auto;
  background: var(--charcoal); color: #fff;
  border-radius: 10px; border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 16px 50px rgba(0,0,0,0.35);
  padding: 20px 22px;
  display: none; align-items: center; gap: 20px;
}
.cookie-banner.show { display: flex; }
.cookie-banner p { font-size: 13.5px; line-height: 1.55; color: rgba(255,255,255,0.8); flex: 1; margin: 0; }
.cookie-banner p a { color: var(--gold); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn {
  font-family: var(--font-body); font-size: 12px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 11px 18px; border-radius: 3px; cursor: pointer; border: 1px solid transparent;
  transition: all 0.2s;
}
.cookie-accept { background: var(--terracotta); color: #fff; border-color: var(--terracotta); }
.cookie-accept:hover { background: var(--terracotta-lt); }
.cookie-decline { background: transparent; color: rgba(255,255,255,0.75); border-color: rgba(255,255,255,0.3); }
.cookie-decline:hover { border-color: #fff; color: #fff; }
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 14px; padding: 18px; }
  .cookie-actions { justify-content: stretch; }
  .cookie-btn { flex: 1; }
}

/* =====================
   REDUCED MOTION
===================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   EVENTS CAROUSEL — full-bleed, big, cross-dissolve
   ============================================================ */
.events-carousel {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: var(--charcoal);
  overflow: hidden;
}
.ec-viewport { position: relative; min-height: clamp(540px, 66vh, 680px); }
.ec-slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .9s ease, visibility 0s linear .9s;
}
.ec-slide.is-active { opacity: 1; visibility: visible; z-index: 2; transition: opacity .9s ease; }
.ec-bg {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.ec-bg--gala {
  background:
    radial-gradient(circle at 78% 22%, rgba(232,168,50,.28) 0%, transparent 55%),
    linear-gradient(135deg, #1a0a10 0%, #5e1220 46%, #8a2b91 100%);
}
.ec-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(10,10,10,.88) 0%, rgba(10,10,10,.55) 46%, rgba(10,10,10,.12) 100%),
    linear-gradient(0deg, rgba(10,10,10,.72) 0%, transparent 46%);
}
.ec-inner {
  position: relative; z-index: 2;
  max-width: var(--max-w); margin: 0 auto; width: 100%;
  height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 40px 76px;
}
.ec-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.ec-eyebrow .pill {
  background: var(--terracotta); color: #fff;
  padding: 5px 13px; border-radius: 20px; letter-spacing: .08em;
}
.ec-title {
  font-family: var(--font-display); font-size: clamp(40px, 6.2vw, 76px);
  line-height: 1.0; color: #fff; margin-bottom: 18px; max-width: 15ch;
}
.ec-title em { color: var(--gold); font-style: italic; }
.ec-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-bottom: 20px; }
.ec-meta span { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: rgba(255,255,255,.88); }
.ec-desc { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.72); max-width: 54ch; margin-bottom: 28px; }
.ec-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.ec-nav {
  position: absolute; z-index: 5; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.32); background: rgba(0,0,0,.35);
  color: #fff; font-size: 24px; line-height: 1; cursor: pointer;
  display: grid; place-items: center; transition: background .2s, border-color .2s;
}
.ec-nav:hover { background: var(--terracotta); border-color: var(--terracotta); }
.ec-prev { left: 26px; } .ec-next { right: 26px; }
.ec-dots { position: absolute; z-index: 5; bottom: 30px; right: 40px; display: flex; gap: 10px; }
.ec-dot {
  width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.35); transition: all .3s ease;
}
.ec-dot.is-active { background: var(--gold); width: 30px; border-radius: 6px; }

@media (max-width: 768px) {
  .ec-viewport { min-height: clamp(500px, 84vh, 640px); }
  .ec-inner { padding: 0 22px 66px; }
  .ec-nav { display: none; }
  .ec-dots { right: 22px; bottom: 22px; }
  .ec-overlay { background: linear-gradient(0deg, rgba(10,10,10,.9) 0%, rgba(10,10,10,.4) 55%, rgba(10,10,10,.2) 100%); }
  .ec-ctas .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .ec-slide { transition: opacity .2s ease; } }

/* ===== Sponsorship level — collapsible full benefits ===== */
.tier details { margin: -4px 0 22px; }
.tier summary {
  cursor: pointer; list-style: none;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--terracotta);
}
.tier summary::-webkit-details-marker { display: none; }
.tier summary::after { content: " ▾"; }
.tier details[open] summary::after { content: " ▴"; }
.tier--highlight summary { color: var(--gold); }
.full-benefits { margin-top: 12px; }
.full-benefits strong {
  display: block; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--charcoal); margin: 12px 0 4px;
}
.tier--highlight .full-benefits strong { color: #fff; }
.full-benefits ul { list-style: none; margin: 0; }
.full-benefits li {
  border: 0 !important; padding: 3px 0 3px 16px !important; position: relative;
  font-size: 13px; color: var(--warm-gray); line-height: 1.5;
}
.tier--highlight .full-benefits li { color: rgba(255,255,255,.7); }
.full-benefits li::before { content: "·"; position: absolute; left: 4px; color: var(--terracotta); font-weight: 700; }
.tier--highlight .full-benefits li::before { color: var(--gold); }


/* ============================================================
   ACCESSIBILITY HELPERS
   ============================================================ */
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 1000;
  background: var(--charcoal); color: #fff; padding: 10px 16px; border-radius: 4px;
  font-size: 14px; font-weight: 600; transition: top .15s ease;
}
.skip-link:focus { top: 8px; }
/* Footer postal address is not a link */
.footer-contact span {
  font-size: 13px; color: rgba(255,255,255,0.5);
  display: flex; align-items: center; gap: 8px;
}
/* Carousel pause / play control */
.ec-pause {
  position: absolute; z-index: 5; bottom: 28px; left: 40px;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3); background: rgba(0,0,0,.35);
  color: #fff; cursor: pointer; display: grid; place-items: center; font-size: 13px;
  transition: background .2s, border-color .2s;
}
.ec-pause:hover { background: var(--terracotta); border-color: var(--terracotta); }
@media (max-width: 768px) { .ec-pause { left: 22px; bottom: 22px; } }

/* ============================================================
   HISTORY PAGE
   ============================================================ */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
  margin-top: 8px;
}
.partner-grid span {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  background: var(--white);
  border-left: 3px solid var(--ochre);
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.4;
}
.history-closing {
  max-width: 820px;
  margin: 44px auto 0;
  text-align: center;
  font-size: 16px;
  line-height: 1.8;
  color: var(--warm-gray);
}
@media (max-width: 600px) {
  .partner-grid { grid-template-columns: 1fr; }
}
