/* ==========================================================================
   Ide D.C. Odenigbo Foundation — Design System
   ========================================================================== */

:root {
  /* Brand palette — deep heritage green + warm gold, echoing the crest */
  --forest-900: #06301f;
  --forest-800: #0a4530;
  --forest-700: #0e5c3d;
  --forest-600: #147049;
  --forest-500: #1c8a5c;
  --gold-700: #a9781c;
  --gold-500: #d4a72c;
  --gold-400: #e6c158;
  --gold-200: #f5e2a8;
  --cream-100: #fdfbf5;
  --cream-200: #f7f1e2;
  --ink-900: #1a2420;
  --ink-700: #37453e;
  --ink-500: #5c6b62;
  --ink-300: #8d998f;
  --white: #ffffff;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(6, 48, 31, 0.08);
  --shadow-md: 0 12px 32px rgba(6, 48, 31, 0.12);
  --shadow-lg: 0 24px 60px rgba(6, 48, 31, 0.18);
  --container: 1200px;
  --transition: 240ms cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--cream-100);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Accessibility: visible keyboard focus ---------- */
a:focus-visible,
button:focus-visible,
.tier:focus-visible,
.year-toggle:focus-visible,
.gallery-item.photo:focus-visible,
.lightbox-btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-700);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold-500);
  display: inline-block;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--forest-900);
  line-height: 1.15;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.35rem; }

p.lead { font-size: 1.15rem; color: var(--ink-700); }
.text-muted { color: var(--ink-500); }

.section { padding: 100px 0; }
.section-sm { padding: 64px 0; }
.section-tight { padding-top: 40px; }

.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold-500);
  color: var(--forest-900);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); background: var(--gold-400); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.55);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); transform: translateY(-3px); }
.btn-outline {
  background: transparent;
  color: var(--forest-800);
  border: 1.5px solid var(--forest-700);
}
.btn-outline:hover { background: var(--forest-800); color: var(--white); transform: translateY(-3px); }
.btn-block { width: 100%; justify-content: center; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--forest-900);
  color: var(--cream-200);
  font-size: 0.82rem;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar-links { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar-links a { opacity: 0.88; transition: opacity var(--transition); }
.topbar-links a:hover { opacity: 1; }
.topbar-social { display: flex; gap: 14px; }
.topbar-social a {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  transition: background var(--transition), transform var(--transition);
}
.topbar-social a:hover { background: var(--gold-500); color: var(--forest-900); transform: translateY(-2px); }
.topbar-social svg { width: 14px; height: 14px; }

/* ---------- Nav ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 251, 245, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(6,48,31,0.06);
  transition: box-shadow var(--transition);
}
header.site-header.scrolled { box-shadow: var(--shadow-sm); }

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 46px; width: auto; border-radius: 6px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-display); font-size: 1.05rem; color: var(--forest-900); }
.brand-text span { font-size: 0.72rem; color: var(--gold-700); letter-spacing: 0.06em; text-transform: uppercase; }

nav.main-nav { display: flex; align-items: center; gap: 2px; flex-shrink: 1; min-width: 0; }
nav.main-nav a, nav.main-nav .nav-dropdown-toggle a {
  position: relative;
  padding: 10px 12px;
  font-weight: 600;
  font-size: 0.87rem;
  color: var(--ink-700);
  border-radius: 999px;
  white-space: nowrap;
  transition: color var(--transition), background var(--transition);
}
nav.main-nav a:hover { color: var(--forest-900); background: var(--cream-200); }
nav.main-nav a.active { color: var(--forest-900); }
nav.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 4px;
  height: 2px;
  background: var(--gold-500);
  border-radius: 2px;
}
/* ---------- Nav dropdown (Beneficiaries by year) ---------- */
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown-toggle { display: inline-flex; align-items: center; gap: 0; }
.nav-dropdown-caret {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: inline-grid; place-items: center;
  color: inherit;
  flex-shrink: 0;
}
.nav-dropdown-caret .caret { width: 12px; height: 12px; transition: transform 200ms ease; pointer-events: none; }
.nav-dropdown:hover .nav-dropdown-caret .caret,
.nav-dropdown.open .nav-dropdown-caret .caret { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 190px;
  max-height: 360px;
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(6,48,31,0.08);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-700);
}
.nav-dropdown-menu a:hover { background: var(--cream-200); color: var(--forest-900); }
.nav-dropdown-menu .divider { height: 1px; background: rgba(6,48,31,0.08); margin: 6px 4px; }
.nav-dropdown-menu a.view-all { color: var(--forest-700); font-weight: 700; }

@media (max-width: 960px) {
  .nav-dropdown { flex-direction: column; align-items: stretch; }
  .nav-dropdown-toggle { justify-content: space-between; padding-right: 6px; }
  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 0 14px;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: max-height 280ms ease;
  }
  .nav-dropdown.open .nav-dropdown-menu { max-height: 500px; padding-top: 4px; padding-bottom: 4px; }
}

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--cream-200);
  align-items: center;
  justify-content: center;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { display: none; }
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 960px) {
  nav.main-nav {
    position: fixed;
    inset: 76px 16px auto 16px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    gap: 4px;
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
  }
  nav.main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  nav.main-nav a { padding: 13px 16px; }
  .nav-toggle { display: grid; }
  .nav-cta .btn span.long { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(1200px 600px at 85% -10%, rgba(212,167,44,0.25), transparent 60%),
              linear-gradient(160deg, var(--forest-900), var(--forest-700) 60%, var(--forest-600));
  color: var(--white);
  overflow: hidden;
  padding: 130px 0 110px;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 12% 22%, rgba(255,255,255,0.05) 0, transparent 40%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.025) 0 2px, transparent 2px 26px);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { color: var(--white); margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--gold-400); }
.hero p.lead { color: rgba(255,255,255,0.82); max-width: 540px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 46px; }
.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; }
.hero-stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--gold-400);
}
.hero-stats div span { font-size: 0.82rem; color: rgba(255,255,255,0.72); }

.hero-visual {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, rgba(255,255,255,0.14), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.18);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero-visual .medallion {
  width: 72%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, var(--gold-400), var(--gold-700) 70%);
  display: grid;
  place-items: center;
  box-shadow: 0 30px 60px rgba(0,0,0,0.35), inset 0 0 0 10px rgba(255,255,255,0.15);
  padding: 10px;
  overflow: hidden;
}
.hero-visual .medallion img { width: 100%; height: 100%; object-fit: cover; object-position: top center; border-radius: 50%; display: block; }
.hero-visual .medallion.crest img { width: 58%; height: auto; border-radius: 0; object-fit: contain; filter: drop-shadow(0 8px 18px rgba(0,0,0,0.25)); }
.hero-visual .ring {
  position: absolute; inset: 6%;
  border: 1px dashed rgba(255,255,255,0.35);
  border-radius: 50%;
  animation: spin 60s linear infinite;
}
.hero-visual .ring::before, .hero-visual .ring::after {
  content: "";
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold-400);
}
.hero-visual .ring::before { top: -5px; left: 50%; margin-left: -5px; }
.hero-visual .ring::after { bottom: -5px; left: 50%; margin-left: -5px; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-badge {
  position: absolute;
  bottom: 22px; left: 22px;
  background: var(--white);
  color: var(--forest-900);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  font-size: 0.82rem;
  font-weight: 700;
  display: flex; align-items: center; gap: 10px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--forest-500); box-shadow: 0 0 0 4px rgba(20,112,73,0.18); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 380px; margin: 0 auto; }
}

/* ---------- Marquee / partner strip ---------- */
.strip {
  background: var(--cream-200);
  padding: 22px 0;
  border-bottom: 1px solid rgba(6,48,31,0.06);
}
.strip .container { display: flex; align-items: center; gap: 40px; overflow-x: auto; justify-content: center; flex-wrap: wrap; }
.strip .item { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--forest-800); font-size: 0.88rem; white-space: nowrap; }
.strip .item svg { width: 20px; height: 20px; color: var(--gold-600, var(--gold-500)); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(6,48,31,0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card .icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: linear-gradient(155deg, var(--forest-700), var(--forest-500));
  display: grid; place-items: center;
  color: var(--gold-200);
  margin-bottom: 20px;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-500); font-size: 0.95rem; }
.card .card-link { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--forest-700); font-size: 0.88rem; }
.card .stat-line { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(6,48,31,0.08); }
.card .stat-line strong { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--forest-800); line-height: 1.2; }
.card .stat-line span { font-size: 0.78rem; color: var(--ink-500); }
.band-alt .card .stat-line { border-top-color: rgba(255,255,255,0.14); }
.band-alt .card .stat-line strong { color: var(--gold-400); }
.band-alt .card .stat-line span { color: rgba(255,255,255,0.65); }

/* Program band with alt background */
.band-alt { background: var(--forest-900); color: var(--white); }
.band-alt h2, .band-alt h3 { color: var(--white); }
.band-alt .card { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); }
.band-alt .card p { color: rgba(255,255,255,0.7); }
.band-alt .eyebrow { color: var(--gold-400); }
.band-alt p, .band-alt p.lead { color: rgba(255,255,255,0.8); }
.band-alt .text-muted { color: rgba(255,255,255,0.65); }

/* ---------- Split feature ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.split .art {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--gold-200), var(--cream-200));
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
/* Photo variant holds a single stretched <img>; grid + place-items on the
   parent interferes with the img's object-fit/object-position cropping in
   some browsers, so switch to block display for photo containers. */
.split .art.photo {
  display: block;
}
.split .art .pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, var(--forest-700) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  opacity: 0.12;
}
.split .art .glyph {
  width: 46%;
  color: var(--forest-800);
  opacity: 0.9;
}
.split ul.checklist li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(6,48,31,0.12);
  color: var(--ink-700);
}
.split ul.checklist li:last-child { border-bottom: none; }
.split ul.checklist svg { width: 20px; height: 20px; color: var(--forest-600); flex-shrink: 0; margin-top: 2px; }
.band-alt ul.checklist li { color: rgba(255,255,255,0.85); border-bottom-color: rgba(255,255,255,0.14); }
.band-alt ul.checklist svg { color: var(--gold-400); }

/* ---------- Timeline (Biography) ---------- */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: "";
  position: absolute; left: 9px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--gold-500), var(--forest-500));
}
.timeline-item { position: relative; padding-bottom: 46px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute; left: -40px; top: 4px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--gold-500);
}
.timeline-item .year {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--gold-700);
  margin-bottom: 6px;
  font-size: 1rem;
}
.timeline-item h3 { margin-bottom: 8px; }
.timeline-item p { color: var(--ink-500); }

/* ---------- Stats band ---------- */
.stats-band {
  background: linear-gradient(155deg, var(--forest-800), var(--forest-600));
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  color: var(--white);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
@media (max-width: 900px) { .stats-band { grid-template-columns: repeat(2,1fr); } }
.stats-band strong { display: block; font-family: var(--font-display); font-size: 2.4rem; color: var(--gold-400); }
.stats-band span { font-size: 0.85rem; color: rgba(255,255,255,0.78); }

/* ---------- Tabs (Beneficiaries) ---------- */
.tabbar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  background: var(--cream-200);
  padding: 8px;
  border-radius: 999px;
  margin-bottom: 34px;
}
.tabbar button {
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink-700);
  transition: all var(--transition);
}
.tabbar button.active { background: var(--forest-800); color: var(--white); box-shadow: var(--shadow-sm); }
.tabbar button:not(.active):hover { background: rgba(6,48,31,0.06); }

.tabpanel { display: none; }
.tabpanel.active { display: block; animation: fadeUp 420ms ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.data-table-wrap {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(6,48,31,0.06);
}
table.data-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
table.data-table th {
  text-align: left;
  background: var(--forest-900);
  color: var(--gold-200);
  padding: 14px 18px;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
table.data-table td { padding: 13px 18px; border-bottom: 1px solid rgba(6,48,31,0.06); color: var(--ink-700); }
table.data-table tr:last-child td { border-bottom: none; }
table.data-table tr:hover td { background: var(--cream-100); }
.table-note { padding: 16px 18px; font-size: 0.85rem; color: var(--ink-500); border-top: 1px dashed rgba(6,48,31,0.12); }

.table-caption { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 6px; background: var(--gold-200); color: var(--gold-700); padding: 6px 14px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; }

/* ---------- Quote / testimonial ---------- */
.quote-block {
  background: var(--cream-200);
  border-radius: var(--radius-lg);
  padding: 50px;
  position: relative;
}
.quote-block svg.mark { width: 44px; height: 44px; color: var(--gold-500); opacity: 0.7; margin-bottom: 18px; }
.quote-block p { font-family: var(--font-display); font-size: 1.5rem; color: var(--forest-900); line-height: 1.5; margin-bottom: 22px; }
.quote-block cite { font-style: normal; font-weight: 700; color: var(--ink-700); font-size: 0.9rem; }

/* ---------- Donate / CTA ---------- */
.donate-band {
  background: radial-gradient(900px 400px at 80% 0%, rgba(212,167,44,0.35), transparent 60%), var(--forest-900);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  color: var(--white);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 900px) { .donate-band { grid-template-columns: 1fr; padding: 40px 26px; } }
.donate-band h2 { color: var(--white); }
.tier-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
@media (max-width: 900px) { .tier-grid { grid-template-columns: repeat(3,1fr); } }
.tier {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-md);
  padding: 20px 12px;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
}
.tier strong { display: block; font-family: var(--font-display); font-size: 1.4rem; color: var(--gold-400); margin-bottom: 4px; }
.tier span { font-size: 0.76rem; color: rgba(255,255,255,0.7); }
.tier:hover, .tier.selected { background: var(--gold-500); border-color: var(--gold-500); }
.tier:hover strong, .tier.selected strong, .tier:hover span, .tier.selected span { color: var(--forest-900); }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(6,48,31,0.06);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 0.84rem; font-weight: 700; color: var(--ink-700); }
.field input, .field select, .field textarea {
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(6,48,31,0.14);
  font: inherit;
  color: var(--ink-900);
  background: var(--cream-100);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--forest-500);
  box-shadow: 0 0 0 4px rgba(20,112,73,0.14);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.8rem; color: var(--ink-500); margin-top: 10px; }

/* ---------- Contact info cards ---------- */
.info-list { display: flex; flex-direction: column; gap: 18px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-item .icon {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: 12px;
  background: var(--cream-200);
  color: var(--forest-700);
  display: grid; place-items: center;
}
.info-item .icon svg { width: 22px; height: 22px; }
.info-item h4 { font-family: var(--font-body); font-size: 0.95rem; color: var(--forest-900); margin-bottom: 3px; }
.info-item p, .info-item a { font-size: 0.9rem; color: var(--ink-500); }
.info-item a:hover { color: var(--forest-700); }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--forest-900);
  color: rgba(255,255,255,0.75);
  padding-top: 76px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { height: 42px; border-radius: 6px; }
.footer-brand strong { font-family: var(--font-display); color: var(--white); font-size: 1.1rem; }
footer h5 { color: var(--white); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 18px; }
footer ul li { margin-bottom: 11px; font-size: 0.9rem; }
footer ul li a:hover { color: var(--gold-400); }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08); display: grid; place-items: center; transition: background var(--transition), transform var(--transition); }
.footer-social a:hover { background: var(--gold-500); color: var(--forest-900); transform: translateY(-3px); }
.footer-social svg { width: 16px; height: 16px; }
.newsletter { display: flex; gap: 8px; margin-top: 6px; }
.newsletter input {
  flex: 1;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font: inherit;
}
.newsletter input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter button {
  background: var(--gold-500);
  color: var(--forest-900);
  padding: 0 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0 26px;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a:hover { color: var(--gold-400); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gold-500);
  color: var(--forest-900);
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all var(--transition);
  z-index: 90;
}
.to-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--forest-900), var(--forest-700));
  color: var(--white);
  padding: 96px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0 2px, transparent 2px 26px);
}
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.85rem; color: rgba(255,255,255,0.65); margin-bottom: 16px; position: relative; }
.breadcrumb a:hover { color: var(--gold-400); }
.page-hero h1 { color: var(--white); position: relative; }
.page-hero p.lead { color: rgba(255,255,255,0.78); max-width: 620px; position: relative; }

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms ease, transform 700ms ease; }
[data-reveal].in { opacity: 1; transform: translateY(0); }
[data-reveal="1"] { transition-delay: 60ms; }
[data-reveal="2"] { transition-delay: 140ms; }
[data-reveal="3"] { transition-delay: 220ms; }
[data-reveal="4"] { transition-delay: 300ms; }

/* ---------- Counter ---------- */
.counter { font-variant-numeric: tabular-nums; }

/* ---------- Misc ---------- */
.divider-gold { width: 60px; height: 3px; background: var(--gold-500); border-radius: 3px; margin: 18px 0; }
.two-col { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }

.badge-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.badge-row .badge { display: inline-flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid rgba(6,48,31,0.1); padding: 8px 14px; border-radius: 999px; font-size: 0.8rem; font-weight: 700; color: var(--forest-800); box-shadow: var(--shadow-sm); }
.badge-row .badge svg { width: 15px; height: 15px; color: var(--gold-600, var(--gold-500)); }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2,1fr); } }
.gallery-item {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  background: linear-gradient(155deg, var(--forest-700), var(--forest-500));
  display: grid; place-items: center;
  color: rgba(255,255,255,0.85);
  overflow: hidden;
  position: relative;
}
.gallery-item:nth-child(4n+2) { background: linear-gradient(155deg, var(--gold-700), var(--gold-400)); }
.gallery-item:nth-child(4n+3) { background: linear-gradient(155deg, var(--forest-900), var(--forest-600)); }
.gallery-item:nth-child(4n+4) { background: linear-gradient(155deg, var(--gold-500), var(--forest-700)); }
.gallery-item svg { width: 34px; height: 34px; opacity: 0.85; }

/* ---------- Real photos (harvested from the live site) ---------- */
.art.photo { background: var(--cream-200); }
.art.photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.gallery-item.photo { padding: 0; background: var(--cream-200); display: block; }
.gallery-item.photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 500ms ease;
}
.gallery-item.photo:hover img { transform: scale(1.07); }
.gallery-item.photo .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 10px 12px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(to top, rgba(0,0,0,0.72), transparent);
}

/* ---------- Video grid ---------- */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .video-grid { grid-template-columns: 1fr; } }
.video-card { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--white); border: 1px solid rgba(6,48,31,0.06); }
.video-frame { position: relative; padding-top: 56.25%; background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card .video-caption { padding: 14px 16px; font-size: 0.85rem; font-weight: 700; color: var(--forest-900); }
.band-alt .video-card .video-caption { color: var(--white); }
.band-alt .video-card { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); }

/* Portrait strip for biography split art */
.portrait-stack { display: grid; grid-template-columns: 1fr; height: 100%; }
.portrait-stack img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* ---------- Video facade (click-through to YouTube; no in-page embed) ---------- */
.video-card a.video-link { display: block; position: relative; }
.video-thumb { position: relative; padding-top: 56.25%; background: var(--forest-900); overflow: hidden; }
.video-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: opacity 250ms ease, transform 500ms ease; }
.video-card:hover .video-thumb img { opacity: 1; transform: scale(1.05); }
.video-play {
  position: absolute; inset: 0;
  display: grid; place-items: center;
}
.video-play span {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: rgba(212, 167, 44, 0.94);
  display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
  transition: transform 220ms ease;
}
.video-card:hover .video-play span { transform: scale(1.1); }
.video-play svg { width: 22px; height: 22px; color: var(--forest-900); margin-left: 3px; }
.video-card .video-caption { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.video-card .video-caption svg { width: 14px; height: 14px; color: var(--ink-300); flex-shrink: 0; }
.band-alt .video-card .video-caption svg { color: rgba(255,255,255,0.5); }

/* ---------- Homepage "Latest Updates" story cards ---------- */
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .story-grid { grid-template-columns: 1fr; } }
.story-card { background: var(--white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid rgba(6,48,31,0.06); transition: transform 260ms ease, box-shadow 260ms ease; }
.story-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.story-card .thumb { aspect-ratio: 4/3; overflow: hidden; background: var(--cream-200); }
.story-card .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform 500ms ease; }
.story-card:hover .thumb img { transform: scale(1.06); }
.story-card .body { padding: 22px 24px 26px; }
.story-card .tag { display: inline-block; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-700); margin-bottom: 10px; }
.story-card h3 { font-size: 1.08rem; margin-bottom: 8px; line-height: 1.3; }
.story-card p { color: var(--ink-500); font-size: 0.92rem; margin-bottom: 14px; }

/* ---------- Lightbox ---------- */
.gallery-item.photo, .art.photo { cursor: zoom-in; }
.gallery-item.photo { border: none; padding: 0; }
.lightbox-overlay {
  position: fixed; inset: 0;
  background: rgba(4, 20, 13, 0.94);
  display: none;
  align-items: center; justify-content: center;
  z-index: 400;
  padding: 60px 24px;
}
.lightbox-overlay.open { display: flex; }
.lightbox-overlay figure { max-width: 92vw; max-height: 86vh; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox-overlay img { max-width: 92vw; max-height: 76vh; width: auto; height: auto; border-radius: var(--radius-md); box-shadow: 0 30px 90px rgba(0,0,0,0.55); object-fit: contain; }
.lightbox-overlay figcaption { color: rgba(255,255,255,0.82); font-size: 0.88rem; text-align: center; }
.lightbox-btn {
  position: fixed;
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-radius: 50%;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  transition: background 200ms ease, transform 200ms ease;
  z-index: 401;
}
.lightbox-btn:hover { background: var(--gold-500); color: var(--forest-900); transform: scale(1.06); }
.lightbox-btn svg { width: 20px; height: 20px; }
.lightbox-close { top: 22px; right: 22px; }
.lightbox-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 22px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; }
  .lightbox-close { top: 14px; right: 14px; }
}

/* ---------- Accordion (Beneficiaries by year) ---------- */
.year-accordion { display: flex; flex-direction: column; gap: 14px; }
.year-item { background: var(--white); border: 1px solid rgba(6,48,31,0.09); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.year-toggle {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 26px;
  text-align: left;
  background: var(--cream-100);
  transition: background 200ms ease;
}
.year-toggle:hover { background: var(--cream-200); }
.year-toggle .yt-left { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.year-toggle h3 { margin: 0; }
.year-toggle .yt-meta { font-size: 0.82rem; color: var(--ink-500); font-weight: 600; }
.year-toggle .chev { width: 20px; height: 20px; color: var(--forest-700); flex-shrink: 0; transition: transform 280ms ease; }
.year-item.open .year-toggle .chev { transform: rotate(180deg); }
.year-item.open .year-toggle { background: var(--cream-200); }
.year-panel { max-height: 0; overflow: hidden; transition: max-height 380ms ease; }
.year-panel-inner { padding: 6px 26px 28px; }
.year-panel .sub-heading { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-700); margin: 18px 0 10px; }
.year-panel .sub-heading:first-child { margin-top: 4px; }
.year-panel .no-data-note { font-size: 0.85rem; color: var(--ink-500); font-style: italic; margin-top: 6px; }
