/* ============================================================
   CCGB — Children's Charity of Greater Binghamton
   Art Direction: Warm, grounded, community-driven.
   Palette: Sunshine gold + deep trust blue + warm cream.
   Typography: Chillax (display) + Nunito (body).
   ============================================================ */

:root {
  /* Type Scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Fonts */
  --font-display: 'Chillax', 'Nunito', sans-serif;
  --font-body: 'Nunito', 'Segoe UI', sans-serif;

  /* Radius — intentionally varied */
  --radius-none: 0;
  --radius-sm:  0.25rem;
  --radius-md:  0.5rem;
  --radius-lg:  0.75rem;
  --radius-xl:  1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Transition */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 860px;
  --content-wide: 1200px;
}

/* ---- LIGHT MODE (Default) ---- */
:root, [data-theme="light"] {
  --color-bg:             #FEFCF7;
  --color-surface:        #FFFFFF;
  --color-surface-2:      #FFF9EE;
  --color-surface-offset: #F5F0E6;
  --color-divider:        #E8E0D0;
  --color-border:         #DDD5C5;

  --color-text:           #1A1A2E;
  --color-text-muted:     #5A5A72;
  --color-text-faint:     #9E9EB0;
  --color-text-inverse:   #FFFFFF;

  /* Sunshine Gold */
  --color-primary:        #F5A623;
  --color-primary-hover:  #E09000;
  --color-primary-active: #C07800;
  --color-primary-light:  #FFF3DB;

  /* Trust Blue */
  --color-accent:         #2B6CB0;
  --color-accent-hover:   #1E5699;
  --color-accent-active:  #174582;
  --color-accent-light:   #E6F0FA;

  /* Community Green */
  --color-success:        #38A169;
  --color-success-light:  #E6F7EE;

  /* Heart Red */
  --color-heart:          #E53E3E;
  --color-heart-light:    #FFF0F0;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(26, 26, 46, 0.06);
  --shadow-md: 0 4px 12px rgba(26, 26, 46, 0.08);
  --shadow-lg: 0 12px 32px rgba(26, 26, 46, 0.12);
  --shadow-xl: 0 20px 48px rgba(26, 26, 46, 0.16);
}

/* ---- DARK MODE ---- */
[data-theme="dark"] {
  --color-bg:             #0F0F1A;
  --color-surface:        #1A1A2E;
  --color-surface-2:      #222240;
  --color-surface-offset: #16162B;
  --color-divider:        #2A2A45;
  --color-border:         #3A3A55;

  --color-text:           #E8E8F0;
  --color-text-muted:     #A0A0B8;
  --color-text-faint:     #6A6A82;
  --color-text-inverse:   #1A1A2E;

  --color-primary:        #F5B942;
  --color-primary-hover:  #FFD060;
  --color-primary-active: #E09000;
  --color-primary-light:  #2A2518;

  --color-accent:         #63B3ED;
  --color-accent-hover:   #90CDF4;
  --color-accent-active:  #4299E1;
  --color-accent-light:   #1A2332;

  --color-success:        #68D391;
  --color-success-light:  #1A2E22;

  --color-heart:          #FC8181;
  --color-heart-light:    #2E1A1A;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 48px rgba(0, 0, 0, 0.6);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg:             #0F0F1A;
    --color-surface:        #1A1A2E;
    --color-surface-2:      #222240;
    --color-surface-offset: #16162B;
    --color-divider:        #2A2A45;
    --color-border:         #3A3A55;
    --color-text:           #E8E8F0;
    --color-text-muted:     #A0A0B8;
    --color-text-faint:     #6A6A82;
    --color-text-inverse:   #1A1A2E;
    --color-primary:        #F5B942;
    --color-primary-hover:  #FFD060;
    --color-primary-active: #E09000;
    --color-primary-light:  #2A2518;
    --color-accent:         #63B3ED;
    --color-accent-hover:   #90CDF4;
    --color-accent-active:  #4299E1;
    --color-accent-light:   #1A2332;
    --color-success:        #68D391;
    --color-success-light:  #1A2E22;
    --color-heart:          #FC8181;
    --color-heart-light:    #2E1A1A;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 48px rgba(0, 0, 0, 0.6);
  }
}

/* ============================================================
   GLOBAL STYLES
   ============================================================ */

a {
  color: var(--color-accent);
  text-decoration: none;
}
a:hover {
  color: var(--color-accent-hover);
  text-decoration: underline;
}

.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

@media (min-width: 768px) {
  .container { padding-inline: var(--space-8); }
}

/* ============================================================
   HEADER / NAV
   ============================================================ */

html {
  scroll-padding-top: 9rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(from var(--color-bg) l c h / 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-divider);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-4);
  max-width: var(--content-wide);
  margin-inline: auto;
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .header-inner { padding: var(--space-3) var(--space-8); }
}

.logo-link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  color: var(--color-text);
  flex-shrink: 0;
}
.logo-link:hover { text-decoration: none; }

.brand-logo {
  display: block;
  width: 220px;
  height: auto;
  object-fit: contain;
}

/* Keep the original colors legible on the site's dark surfaces. */
[data-theme="dark"] .brand-logo {
  filter: brightness(2) saturate(0.9);
}

.logo-link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 6px;
  border-radius: var(--radius-sm);
}

@media (max-width: 479px) {
  html { scroll-padding-top: 8rem; }
  .site-header .brand-logo { width: clamp(164px, 48vw, 196px); }
}

@media (max-width: 639px) {
  .header-actions .desktop-donate { display: none; }
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: var(--space-6);
}

@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
}

.nav-desktop a {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: var(--space-1) 0;
  position: relative;
}
.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}
.nav-desktop a:hover {
  color: var(--color-text);
  text-decoration: none;
}
.nav-desktop a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-sm);
  border-radius: var(--radius-sm);
  padding: var(--space-2) var(--space-5);
  cursor: pointer;
  border: none;
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary {
  background: var(--color-primary);
  color: #1A1A2E;
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  color: #1A1A2E;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}
.btn-outline:hover {
  background: var(--color-accent);
  color: var(--color-text-inverse);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-heart {
  background: var(--color-heart);
  color: #fff;
}
.btn-heart:hover {
  background: #C53030;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-lg {
  padding: var(--space-3) var(--space-8);
  font-size: var(--text-base);
}

.theme-toggle {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  background: transparent;
}
.theme-toggle:hover {
  color: var(--color-text);
  background: var(--color-surface-offset);
}

/* Mobile nav toggle */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--color-text);
  border-radius: var(--radius-md);
}
@media (min-width: 1024px) {
  .mobile-menu-btn { display: none; }
}

.mobile-menu-btn:hover {
  background: var(--color-surface-offset);
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 101;
  background: var(--color-bg);
  padding: var(--space-20) var(--space-6) var(--space-8);
  flex-direction: column;
  gap: var(--space-4);
}
.mobile-nav.open { display: flex; }

.mobile-nav a {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-divider);
}
.mobile-nav a:hover { color: var(--color-primary); text-decoration: none; }

.mobile-nav-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--color-text);
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(15, 15, 26, 0.82) 0%,
    rgba(15, 15, 26, 0.55) 50%,
    rgba(15, 15, 26, 0.2) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding: var(--space-24) var(--space-4);
  color: #fff;
}
@media (min-width: 768px) {
  .hero-content {
    padding: var(--space-32) var(--space-8);
    max-width: 640px;
    margin-inline: 0;
    margin-left: max(var(--space-8), calc((100vw - var(--content-wide)) / 2 + var(--space-8)));
  }
}

/* Eyebrow replaces the AI badge pattern — plain text, no pill */
.hero-eyebrow {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-4);
  opacity: 0.9;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: var(--space-4);
  color: #fff;
}

.hero p {
  font-size: var(--text-lg);
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--space-8);
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* ============================================================
   NEWS TICKER / ALERT BAR
   ============================================================ */

/* Featured events use the browser's native swipe and scroll snapping. */
.hero-carousel { position: relative; overflow: hidden; background: #201b18; }
.hero-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.hero-track::-webkit-scrollbar { display: none; }
.hero-track:focus-visible { outline: 2px solid #f3bf70; outline-offset: -3px; }
.hero-carousel .hero { flex: 0 0 100%; min-width: 0; min-height: min(740px, 78svh); scroll-snap-align: start; scroll-snap-stop: always; }
.hero-carousel .hero-content { width: 100%; padding-block: clamp(3rem, 7vw, 5.5rem) 5rem; text-shadow: 0 2px 18px rgba(0,0,0,.26); }
.hero-carousel .hero h2 { font: 700 var(--text-3xl)/1.05 var(--font-display); margin-bottom: var(--space-4); color: #fff; }
.hero-give-back .hero-bg img { object-position: 60% center; }
.hero-give-back .hero-overlay { background: linear-gradient(90deg, rgba(18,14,12,.64), rgba(18,14,12,.34) 45%, rgba(18,14,12,.08)); }
.hero-give-back h1 { font: 700 clamp(3.2rem, 6.7vw, 5.6rem)/1.04 var(--font-display); letter-spacing: -.025em; }
.hero-give-back h1 span { color: #f5c77d; }
.hero-carousel .hero .hero-eyebrow { font-size: .78rem; letter-spacing: .12em; color: #ffe0aa; margin-bottom: 1.2rem; font-weight: 800; }
.hero-carousel .hero-content > p:not(.hero-eyebrow) { font-size: clamp(1.05rem, 1.45vw, 1.3rem); margin-bottom: 1.5rem; color: #fff; }
.hero-event-line { color: #fff; line-height: 1.5; font-size: 1.05rem; font-weight: 800; margin-bottom: 1.5rem; }
.hero-event-line span { font-weight: 500; color: #f7eee3; font-size: .9rem; }
.hero-secondary { border-color: rgba(255,255,255,.7); color: #fff; }
.hero-secondary:hover { border-color: #fff; background: #fff; color: #26211d; }
.hero-plain-link { display: inline-flex; align-items: center; min-height: 44px; color: #fff; font-size: .9rem; text-decoration: underline; text-underline-offset: .25em; }
.hero-plain-link:hover { color: #ffe0aa; }
.hero-controls { position: absolute; z-index: 3; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; justify-content: center; }
.hero-controls[hidden] { display: none; }
.hero-slide-selectors { display: flex; gap: 0; align-items: center; }
.hero-controls .hero-slide-button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; box-shadow: none; color: transparent; font-size: 0; }
.hero-slide-button::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.5); box-shadow: 0 1px 5px rgba(0,0,0,.4); transition: background 180ms ease, transform 180ms ease; }
.hero-slide-button.is-current::after { background: #fff; transform: scale(1.25); }
.hero-slide-button:hover::after { background: #fff; }
.hero-controls .hero-slide-button:focus-visible { outline: 2px solid #fff; outline-offset: -6px; }
@media (max-width: 767px) {
  .hero-carousel .hero { min-height: 620px; }
  .hero-carousel .hero-content { padding-top: 2.5rem; padding-bottom: 4.5rem; }
  .hero-give-back .hero-bg img { object-position: 62% center; }
  .hero-give-back .hero-overlay { background: linear-gradient(90deg, rgba(18,14,12,.58), rgba(18,14,12,.28)); }
  .hero-carousel .hero .hero-eyebrow { font-size: .69rem; letter-spacing: .09em; }
  .hero-carousel .hero-content > p:not(.hero-eyebrow) { font-size: 1rem; line-height: 1.6; }
  .hero-controls { bottom: 7px; }
}
@media (prefers-reduced-motion: reduce) { .hero-track { scroll-behavior: auto; } .hero-slide-button::after { transition: none; } }

.news-bar {
  background: var(--color-accent);
  color: #fff;
  text-align: center;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 600;
}
.news-bar a {
  color: #FFE08A;
  text-decoration: underline;
}
.news-bar a:hover { color: #fff; }

/* ============================================================
   STATS
   ============================================================ */

.stats-section {
  background: var(--color-surface);
  padding: var(--space-10) var(--space-4);
  border-bottom: 1px solid var(--color-divider);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  max-width: var(--content-wide);
  margin-inline: auto;
}
@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Sharp corners on stat cards — no bubbly radius */
.stat-card {
  text-align: center;
  padding: var(--space-4);
  border-top: 2px solid var(--color-primary);
}

.stat-number {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-1);
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 600;
}

/* ============================================================
   SECTION PATTERNS — varied padding and widths
   ============================================================ */

.section {
  padding: clamp(var(--space-12), 8vw, var(--space-20)) var(--space-4);
}
@media (min-width: 768px) {
  .section { padding: clamp(var(--space-12), 8vw, var(--space-20)) var(--space-8); }
}

.section-inner {
  max-width: var(--content-wide);
  margin-inline: auto;
}

/* Narrower container for FAQ, board */
.section-inner--narrow {
  max-width: var(--content-default);
}

/* Section headers: LEFT-aligned, not centered */
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.section-subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 60ch;
}

/* ============================================================
   ABOUT / MISSION
   ============================================================ */

.about-section {
  background: var(--color-bg);
}

.about-grid {
  display: grid;
  gap: var(--space-12);
  align-items: center;
}
@media (min-width: 768px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}

.about-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-4);
  line-height: 1.2;
}

.about-text p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
  line-height: 1.7;
}

.about-highlight {
  background: var(--color-primary-light);
  border-left: 3px solid var(--color-primary);
  padding: var(--space-4) var(--space-5);
  margin-top: var(--space-6);
}

.about-highlight p {
  color: var(--color-text);
  font-weight: 600;
  font-size: var(--text-sm);
  margin-bottom: 0;
}

/* ============================================================
   PROGRAMS — Asymmetric layout: 1 hero + 2 smaller
   ============================================================ */

.programs-section {
  background: var(--color-surface-2);
}

.programs-header {
  margin-bottom: var(--space-10);
}

/* Easter Egg Hunt hero callout — full-width, split layout */
.program-hero {
  display: grid;
  gap: 0;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-6);
}
@media (min-width: 768px) {
  .program-hero { grid-template-columns: 1.2fr 1fr; }
}

.program-hero-image {
  overflow: hidden;
  aspect-ratio: 16/10;
}
@media (min-width: 768px) {
  .program-hero-image { aspect-ratio: auto; min-height: 340px; }
}
.program-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.program-hero:hover .program-hero-image img {
  transform: scale(1.03);
}

.program-hero-content {
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-3);
}
@media (min-width: 768px) {
  .program-hero-content { padding: var(--space-10) var(--space-8); }
}

.program-year {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.program-hero-content h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
  margin: 0;
}

.program-hero-content p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0;
}

/* Two smaller program cards side by side */
.programs-pair {
  display: grid;
  gap: var(--space-5);
}
@media (min-width: 640px) {
  .programs-pair { grid-template-columns: 1fr 1fr; }
}

.program-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.program-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.program-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.program-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.program-card:hover .program-card-image img {
  transform: scale(1.05);
}

.program-card-body {
  padding: var(--space-5) var(--space-5) var(--space-6);
}

.program-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
  margin-top: var(--space-2);
}

.program-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================================
   NEWS / LATEST
   ============================================================ */

.news-section {
  background: var(--color-bg);
}

.news-header {
  margin-bottom: var(--space-8);
}

.news-featured {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-8);
}

.news-featured-inner {
  display: grid;
  gap: 0;
}
@media (min-width: 768px) {
  .news-featured-inner { grid-template-columns: 1fr 1fr; }
}

.news-featured-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}
@media (min-width: 768px) {
  .news-featured-image { aspect-ratio: auto; min-height: 360px; }
}
.news-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-featured-content {
  padding: var(--space-6) var(--space-5);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 768px) {
  .news-featured-content { padding: var(--space-8); }
}

/* News tag: no emoji, simple uppercase text */
.news-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-heart);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-3);
}

.news-featured h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.news-featured p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.news-date {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  font-weight: 600;
}

/* Embedded social post */
.news-embed {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  padding: var(--space-5);
}

.news-embed h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-4);
  color: var(--color-text);
}

.news-grid {
  display: grid;
  gap: var(--space-6);
}
@media (min-width: 768px) {
  .news-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   DONATE — warm background, left-aligned, no gradient
   ============================================================ */

.donate-section {
  background: var(--color-primary-light);
  border-top: 3px solid var(--color-primary);
}

[data-theme="dark"] .donate-section {
  background: var(--color-surface-2);
  border-top-color: var(--color-primary);
}

.donate-layout {
  display: grid;
  gap: var(--space-10);
  align-items: start;
}
@media (min-width: 768px) {
  .donate-layout { grid-template-columns: 1fr 1fr; gap: var(--space-12); }
}

.donate-left h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
  color: var(--color-text);
  line-height: 1.1;
}

.donate-left p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
  line-height: 1.7;
}

.donate-tax-note {
  font-size: var(--text-sm);
  color: var(--color-text-faint);
  margin-top: var(--space-2);
}

/* Donate methods: plain list, no emoji icons */
.donate-methods {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--color-border);
}

.donate-method {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-border);
  align-items: baseline;
}

.donate-method-label {
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-text);
  flex-shrink: 0;
}

.donate-method-detail {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}

.donate-method-note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  display: block;
  margin-top: var(--space-1);
}

/* ============================================================
   BOARD / TEAM — clean list, no avatar circles
   ============================================================ */

.board-section {
  background: var(--color-bg);
}

.board-header {
  margin-bottom: var(--space-8);
}

/* Board as a clean row of name/role pairs */
.board-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6) var(--space-8);
  border-top: 1px solid var(--color-divider);
  padding-top: var(--space-6);
}

.board-member {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  min-width: 140px;
}

.board-member-name {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
}

.board-member-role {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ============================================================
   CONTACT
   ============================================================ */

.contact-section {
  background: var(--color-surface-2);
}

.contact-header {
  margin-bottom: var(--space-8);
}

.contact-grid {
  display: grid;
  gap: var(--space-8);
}
@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

.contact-info-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
}

.contact-item {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.contact-item:last-child { margin-bottom: 0; }

.contact-item h4 {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}

.contact-item p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.contact-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  min-height: 300px;
  background: var(--color-surface-offset);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  padding: var(--space-12) var(--space-4) var(--space-6);
}

.footer-inner {
  max-width: var(--content-wide);
  margin-inline: auto;
}

.footer-grid {
  display: grid;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer-brand p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-3);
  max-width: 36ch;
}

.footer-brand { min-width: 0; }

.footer-brand .brand-logo {
  width: 260px;
  max-width: 100%;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.footer-col ul {
  list-style: none;
}
.footer-col li { margin-bottom: var(--space-2); }
.footer-col a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
}
.footer-col a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.footer-social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface-offset);
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  transition: all 0.2s ease;
}
.footer-social a:hover {
  background: var(--color-primary);
  color: #1A1A2E;
}

.footer-bottom {
  border-top: 1px solid var(--color-divider);
  padding-top: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
}

.footer-bottom p {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.stagger.visible > *:nth-child(1) { transition-delay: 0ms; }
.stagger.visible > *:nth-child(2) { transition-delay: 100ms; }
.stagger.visible > *:nth-child(3) { transition-delay: 200ms; }
.stagger.visible > *:nth-child(4) { transition-delay: 300ms; }
.stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   MEMORIAL BANNER — tighter, narrower
   ============================================================ */
.memorial-banner {
  background: var(--color-surface-2);
  border-top: 2px solid var(--color-divider);
  border-bottom: 2px solid var(--color-divider);
  padding: var(--space-5) var(--space-4);
}

.memorial-banner p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: var(--content-narrow);
  margin-inline: auto;
  text-align: center;
  line-height: 1.7;
}

.memorial-banner strong {
  color: var(--color-text);
}

/* ============================================================
   FAQ — narrow, left-aligned
   ============================================================ */
.faq-section {
  background: var(--color-surface-2);
  padding-block: clamp(var(--space-10), 6vw, var(--space-16));
}

.faq-header {
  margin-bottom: var(--space-6);
}

.faq-list {
  /* inherits from section-inner--narrow */
}

.faq-item {
  border-bottom: 1px solid var(--color-divider);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: var(--space-5) 0;
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  background: none;
  border: none;
  cursor: pointer;
}

.faq-question svg {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--color-text-muted);
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: var(--space-5);
}

.faq-answer p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ============================================================
   MEDIA GRID (Videos + Facebook + Instagram)
   ============================================================ */

/* Media section title: plain, no emoji */
.media-section-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-5);
  margin-top: var(--space-4);
}

.media-grid {
  display: grid;
  gap: var(--space-5);
  margin-bottom: var(--space-10);
}
@media (min-width: 768px) {
  .media-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .media-grid { grid-template-columns: repeat(3, 1fr); }
}

.media-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.media-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.media-card-video {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  background: #000;
}
.media-card-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.media-card-fb {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3);
  min-height: 280px;
  overflow: hidden;
  background: var(--color-surface-offset);
}
.media-card-fb iframe {
  border-radius: var(--radius-sm);
}

.media-card-body {
  padding: var(--space-4) var(--space-5) var(--space-5);
  flex: 1;
}

/* Media source label: plain, no emoji */
.media-card-source {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-2);
}

.media-card h4 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
  line-height: 1.3;
}

.media-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-2);
}

/* ============================================================
   INSTAGRAM EMBED ROW
   ============================================================ */

.instagram-row {
  margin-top: var(--space-4);
}

.instagram-grid {
  display: grid;
  gap: var(--space-5);
}
@media (min-width: 768px) {
  .instagram-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .instagram-grid { grid-template-columns: repeat(3, 1fr); }
}

.instagram-embed-container {
  display: flex;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
}

.instagram-embed-container iframe {
  max-width: 100% !important;
  border-radius: var(--radius-sm);
}
