/* ============================================================
   RHSH Colorado — Master Stylesheet
   Single source of truth. One definition per class. No !important wars.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;0,800;0,900;1,700&family=Inter:wght@300;400;600;700;800;900&display=swap');

/* ── Variables ── */
:root {
  --bg0:    #0b1220;
  --bg1:    #0f1b33;
  --panel:  rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.12);
  --text:   #f5f1ea;
  --muted:  rgba(245,241,234,0.78);
  --gold:   #fbbf24;
  --accent: #f59e0b;
  --accent2:#fb7185;
  --shadow: 0 18px 40px rgba(0,0,0,0.35);
  --radius: 18px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
p, li { color: var(--muted); }
h1, h2, h3, h4 { color: var(--text); }

/* ── Body & Background ── */
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 500px at 20% 10%, rgba(245,158,11,0.16), transparent 55%),
    radial-gradient(800px 500px at 90% 30%, rgba(251,113,133,0.13), transparent 55%),
    linear-gradient(180deg, var(--bg0) 0%, var(--bg1) 100%);
  line-height: 1.6;
}

/* ── Layout ── */
.container  { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section    { padding: 56px 0; }
.small      { font-size: 13px; color: var(--muted); }
.divider    { height: 1px; background: rgba(255,255,255,0.12); margin: 14px 0; border-radius: 999px; }
.link       { color: rgba(245,241,234,0.86); }
.link:hover { text-decoration: underline; }
.link-gold  { color: var(--gold); font-weight: 700; }

/* ── Typography ── */
.h1 {
  font-family: 'Playfair Display', serif;
  font-size: 54px; line-height: 1.05; margin: 14px 0 12px;
}
.h2 {
  font-family: 'Playfair Display', serif;
  font-size: 30px; margin: 0 0 10px;
}
.lede { font-size: 18px; color: var(--muted); margin: 0 0 18px; max-width: 52ch; }
.sub  { color: var(--muted); margin: 0 0 22px; max-width: 80ch; }
.prose p         { margin: 0 0 14px; color: var(--muted); line-height: 1.9; }
.prose p strong  { color: var(--text); }
.prose .lead     { font-size: 18px; color: rgba(245,241,234,0.82); }

/* ── Brand ── */
.brand, .brand-name {
  font-family: 'Playfair Display', serif;
  font-weight: 800; letter-spacing: 0.3px;
  display: flex; align-items: center; gap: 10px;
}
.brand-mark {
  width: 34px; height: 34px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent) 0%, #ffd48a 40%, var(--accent2) 100%);
  box-shadow: 0 10px 20px rgba(0,0,0,0.25);
}

/* ── Header / Nav ── */
.header, .site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,18,32,0.90);
  backdrop-filter: blur(14px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
.nav, .header-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; gap: 14px; flex-wrap: wrap;
}
.navlinks { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 14px; border-radius: 14px;
  border: 1.5px solid rgba(255,195,77,0.65);
  background: rgba(255,255,255,0.05);
  font-weight: 700; font-size: 14px; color: var(--text);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
  cursor: pointer;
}
.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255,195,77,0.92);
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
  text-decoration: none;
}
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #ffd48a 100%);
  color: #0b1220; border: none;
  box-shadow: 0 16px 40px rgba(245,158,11,0.22);
}
.btn-primary:hover { box-shadow: 0 20px 50px rgba(245,158,11,0.32); color: #0b1220; }
.btn-outline {
  border: 1.5px solid rgba(245,158,11,0.55);
  background: rgba(245,158,11,0.10);
}
.btn-outline:hover { background: rgba(245,158,11,0.18); }
.btn.active {
  text-decoration: underline; text-underline-offset: 5px;
  border-color: rgba(255,195,77,0.90);
}

/* nav-pill alias */
.nav-pill {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 14px; border-radius: 14px;
  border: 1.5px solid rgba(255,195,77,0.65);
  background: rgba(255,255,255,0.05);
  font-weight: 700; font-size: 14px;
  transition: transform 0.16s ease, border-color 0.16s ease;
}
.nav-pill:hover { transform: translateY(-1px); text-decoration: none; border-color: rgba(255,195,77,0.92); }
.nav-pill--active { text-decoration: underline; text-underline-offset: 5px; }
.nav-pill--donate {
  background: linear-gradient(135deg, var(--accent) 0%, #ffd48a 100%);
  color: #0b1220; border: none;
}

/* ── Kicker ── */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 0; border: 0; background: transparent;
  color: rgba(255,255,255,0.72); font-size: 14px;
  cursor: default; user-select: none;
}
.dot {
  width: 10px; height: 10px; border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(255,195,77,0.18);
  flex-shrink: 0;
}

/* ── Hero ── */
.hero { padding: 84px 0 58px; position: relative; }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 26px; align-items: center;
}
.hero-card {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(245,158,11,0.45);
  background: linear-gradient(135deg, rgba(245,158,11,0.22) 0%, rgba(251,113,133,0.20) 70%, rgba(249,115,22,0.18) 100%);
  box-shadow: var(--shadow);
  min-height: 360px; position: relative;
}
.hero-card::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,18,32,0.15) 0%, rgba(11,18,32,0.65) 100%),
    url('image/index1.png') center/cover;
  filter: saturate(115%);
}
.hero-card-inner {
  position: absolute; inset: 0; padding: 18px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
}
.tagrow { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  font-size: 12px; color: rgba(245,241,234,0.9);
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(0,0,0,0.20);
  padding: 6px 9px; border-radius: 999px;
}
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }

/* ── Grids ── */
.grid2 { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.grid3 { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.grid2 > *, .grid3 > * { min-width: 0; }

/* ── Feature (text + image) ── */
.feature {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,0.9fr);
  gap: 18px; align-items: start;
}
.feature > img {
  width: 100%; max-height: 420px; object-fit: cover;
  border-radius: 16px; border: 1px solid rgba(245,158,11,0.45);
}

/* ============================================================
   CARDS
   Default = gold/rose gradient (the favourite)
   ============================================================ */

.card {
  background: linear-gradient(135deg,
    rgba(245,158,11,0.28) 0%,
    rgba(251,113,133,0.22) 55%,
    rgba(249,115,22,0.20) 100%);
  border: 1px solid rgba(245,158,11,0.45);
  border-radius: var(--radius);
  padding: 18px;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, filter 0.25s ease;
  box-shadow:
    0 24px 60px rgba(0,0,0,0.45),
    0 0 0 1px rgba(245,158,11,0.12),
    0 0 60px rgba(245,158,11,0.10);
}
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p  { margin: 0; color: var(--muted); }

@media (hover: hover) {
  .card:hover {
    box-shadow:
      0 16px 38px rgba(0,0,0,0.42),
      0 0 0 1px rgba(255,255,255,0.06),
      0 0 20px rgba(245,158,11,0.06);
    border-color: rgba(245,158,11,0.62);
    filter: saturate(0.96) brightness(0.99);
  }
}

/* Panel — richer gold/rose (your favourite) */
.card.panel {
  background: linear-gradient(135deg,
    rgba(245,158,11,0.32) 0%,
    rgba(251,113,133,0.26) 55%,
    rgba(249,115,22,0.24) 100%);
  border-color: rgba(245,158,11,0.52);
  box-shadow: 0 28px 70px rgba(0,0,0,0.52), 0 0 80px rgba(245,158,11,0.12);
}

/* Clickable card */
.card-link { display: block; cursor: pointer; text-decoration: none; }
.card-link:hover { text-decoration: none; }

/* ── Named Color Variants — used for explicit class assignments ── */
.card.gold {
  background: linear-gradient(135deg,
    rgba(245,158,11,0.32) 0%, rgba(251,113,133,0.26) 55%, rgba(249,115,22,0.24) 100%);
  border-color: rgba(245,158,11,0.52);
}
.card.teal {
  background: linear-gradient(135deg,
    rgba(16,185,129,0.32) 0%, rgba(4,44,28,0.74) 55%, rgba(245,158,11,0.18) 100%);
  border-color: rgba(52,211,153,0.48);
}
.card.blue {
  background: linear-gradient(135deg,
    rgba(59,130,246,0.28) 0%, rgba(4,8,55,0.75) 55%, rgba(245,158,11,0.16) 100%);
  border-color: rgba(96,165,250,0.45);
}
.card.rose {
  background: linear-gradient(135deg,
    rgba(244,63,94,0.30) 0%, rgba(100,5,35,0.72) 55%, rgba(245,158,11,0.16) 100%);
  border-color: rgba(251,113,133,0.50);
}
.card.purple {
  background: linear-gradient(135deg,
    rgba(139,92,246,0.32) 0%, rgba(25,4,60,0.76) 55%, rgba(245,158,11,0.18) 100%);
  border-color: rgba(167,139,250,0.52);
}
.card.orange {
  background: linear-gradient(135deg,
    rgba(249,115,22,0.30) 0%, rgba(65,18,0,0.72) 55%, rgba(245,158,11,0.18) 100%);
  border-color: rgba(251,146,60,0.50);
}

/* ── Story quote block — works inside any card, any page ── */
.story-quote {
  border-left: 4px solid var(--accent);
  padding: 14px 18px;
  background: rgba(245,158,11,0.07);
  border-radius: 0 12px 12px 0;
  margin: 16px 0 0;
  font-size: 15px;
  font-style: italic;
  color: rgba(245,241,234,0.90);
  line-height: 1.8;
}
.story-quote .attr {
  font-size: 12px;
  font-style: normal;
  color: var(--accent);
  font-weight: 700;
  margin-top: 6px;
  display: block;
}
/* Funders light mode override */
body.funders .story-quote {
  background: rgba(180,120,0,0.08);
  color: rgba(20,20,30,0.85);
}
body.funders .story-quote .attr { color: #a07000; }

/* ── Section card rotation: gold → teal → purple cycling ──
   Applies to cards inside .section elements without an explicit color class.
   3-color rotation keeps the page visually dynamic without manual class-setting. */
.section:nth-of-type(3n+1) .card:not(.panel):not(.tidbit):not(.gold):not(.teal):not(.rose):not(.purple):not(.blue):not(.orange) {
  background: linear-gradient(135deg,
    rgba(245,158,11,0.30) 0%, rgba(251,113,133,0.24) 55%, rgba(249,115,22,0.22) 100%);
  border-color: rgba(245,158,11,0.50);
}
.section:nth-of-type(3n+2) .card:not(.panel):not(.tidbit):not(.gold):not(.teal):not(.rose):not(.purple):not(.blue):not(.orange) {
  background: linear-gradient(135deg,
    rgba(16,185,129,0.30) 0%, rgba(4,44,28,0.74) 55%, rgba(245,158,11,0.16) 100%);
  border-color: rgba(52,211,153,0.46);
}
.section:nth-of-type(3n+3) .card:not(.panel):not(.tidbit):not(.gold):not(.teal):not(.rose):not(.purple):not(.blue):not(.orange) {
  background: linear-gradient(135deg,
    rgba(139,92,246,0.30) 0%, rgba(25,4,60,0.76) 55%, rgba(245,158,11,0.16) 100%);
  border-color: rgba(167,139,250,0.50);
}

/* ── Quote ── */
.quote {
  border-left: 4px solid var(--accent);
  padding: 14px; background: rgba(255,255,255,0.05);
  border-radius: 16px; border: 1px solid rgba(245,158,11,0.45);
  color: var(--muted);
}
.quote-strip {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border); border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px 22px; font-size: 15px; font-style: italic;
  color: var(--muted); line-height: 1.8; margin-top: 14px;
}
.quote-strip strong { color: var(--text); font-style: normal; font-size: 13px; }

/* ── People ── */
.headshot { width: 92px; height: 92px; object-fit: cover; border-radius: 18px; border: 1px solid rgba(245,158,11,0.45); }
.person { display: flex; gap: 14px; align-items: flex-start; }
.person h3 { margin: 0 0 6px; }
.person .role { margin: 0; color: var(--muted); font-weight: 600; }

/* ── Photo grid ── */
.photo-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.photo-card {
  overflow: hidden; border-radius: var(--radius);
  border: 1px solid rgba(245,158,11,0.45);
  background: linear-gradient(135deg, rgba(245,158,11,0.22) 0%, rgba(251,113,133,0.20) 70%, rgba(249,115,22,0.18) 100%);
}
.photo-card img { width: 100%; height: 210px; object-fit: cover; display: block; }
.photo-cap { padding: 12px 14px; color: var(--muted); font-size: 13px; }

/* ── Form ── */
.form { display: grid; gap: 12px; max-width: 680px; }
.row  { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.input {
  width: 100%; padding: 12px; border-radius: 14px;
  border: 1px solid rgba(245,158,11,0.45);
  background: rgba(255,255,255,0.05); color: var(--text);
}
textarea.input { min-height: 130px; resize: vertical; }

/* ── Icons / Lists ── */
.icon { font-size: 22px; line-height: 1; margin-bottom: 10px; opacity: 0.95; }
.list { margin: 10px 0 0; padding-left: 18px; }
.list li { margin: 6px 0; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 12px; letter-spacing: .18px;
  padding: 8px 12px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
}

/* ── Accessibility ── */
:focus-visible { outline: 3px solid rgba(251,191,36,0.65); outline-offset: 3px; border-radius: 14px; }
@media (prefers-reduced-motion: reduce) {
  .btn, .card, .card-link, .nav-pill { transition: none; }
}

/* ── Card-media (images inside cards) ── */
.card-media { width: 100%; height: 160px; object-fit: cover; border-radius: 12px; margin-bottom: 12px; border: 1px solid rgba(245,158,11,0.45); }
.card-media.leadership-headshot { aspect-ratio: 1/1; height: auto; border-radius: 16px; margin-bottom: 14px; }

/* ── Role cards (leadership) ── */
.role-card {
  background: linear-gradient(135deg, rgba(245,158,11,0.10) 0%, rgba(30,20,5,0.38) 100%);
  border: 1.5px solid rgba(245,158,11,0.28);
  border-radius: 14px; padding: 18px 16px;
}

/* ============================================================
   TIDBIT — "Why This Matters"
   Emerald box. Title spans full width as header row.
   Image left / content right on desktop. Stack on mobile.
   ============================================================ */

.card.tidbit {
  /* Override default card gradient with emerald */
  background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
  border: 1px solid rgba(16,185,129,0.60);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.50), 0 0 50px rgba(16,185,129,0.08);

  /* Grid: 2 rows — title row spans full, then image+content */
  display: grid;
  grid-template-columns: 300px minmax(0,1fr);
  grid-template-rows: auto auto;
  column-gap: 22px;
  row-gap: 0;
  align-items: start;

  /* No lift/glow on hover for tidbits */
  transition: border-color 0.25s ease;
  filter: none;
}

/* Row 1 — "Why This Matters" spans full width */
.card.tidbit::before {
  content: "Why This Matters";
  grid-column: 1 / -1;
  grid-row: 1;
  display: block;
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 42px; line-height: 1.05;
  letter-spacing: 0.2px;
  color: #ecfdf5;
  margin: 0 0 12px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(245,158,11,0.32);
}

/* Hide the inline label element */
.card.tidbit .tidbit-label { display: none; }

/* Row 2, Col 1 — Image */
.card.tidbit .tidbit-media {
  grid-column: 1;
  grid-row: 2;
  width: 100%; height: 260px;
  border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.20);
  box-shadow: 0 14px 36px rgba(0,0,0,0.30);
  background-size: cover; background-position: center;
  margin: 0;
}
.card.tidbit .tidbit-media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center; display: block;
}

/* Row 2, Col 2 — Content flows naturally */
/* Col 2, Row 2 — content wrapper */
.card.tidbit .tidbit-content-wrap {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Keep individual element rules for styling but remove grid placement */
.card.tidbit h3,
.card.tidbit p,
.card.tidbit .cta {
  min-width: 0;
}

/* Gold subheading (bigger, no extra top margin) */
.card.tidbit .future-title,
.card.tidbit h3.future-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 800; line-height: 1.05;
  color: var(--gold);
  letter-spacing: -0.02em;
  margin: 0 0 12px 0;
}

.card.tidbit p   { margin: 0 0 12px 0; color: rgba(236,253,245,0.88); }
.card.tidbit .cta { margin-top: 10px; }

.card.tidbit:hover {
  border-color: rgba(16,185,129,0.78);
  filter: none;
  box-shadow: 0 24px 60px rgba(0,0,0,0.50), 0 0 50px rgba(16,185,129,0.12);
}

/* Mobile: single column stack */
@media (max-width: 900px) {
  .card.tidbit {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    padding: 20px;
  }
  .card.tidbit::before {
    grid-column: 1; grid-row: 1;
    font-size: 28px;
    margin-bottom: 10px; padding-bottom: 8px;
  }
  .card.tidbit .tidbit-media {
    grid-column: 1; grid-row: 2;
    height: 220px;
  }
  .card.tidbit .tidbit-content-wrap {
    grid-column: 1; grid-row: 3;
  }
  .card.tidbit h3,
  .card.tidbit p,
  .card.tidbit .cta {
    grid-column: unset; grid-row: unset;
  }
}

/* ============================================================
   PROGRAMS PAGE — Outer prog-boxes + inner boxes
   ============================================================ */

.prog-box {
  border-radius: 18px; padding: 32px;
  position: relative; overflow: visible;
}
.prog-box.gold   { background: rgba(100,65,5,0.52);  border: 1.5px solid rgba(245,158,11,0.45); }
.prog-box.teal   { background: rgba(4,50,32,0.55);   border: 1.5px solid rgba(52,211,153,0.35); }
.prog-box.blue   { background: rgba(4,16,55,0.60);   border: 1.5px solid rgba(96,165,250,0.35); }
.prog-box.rose   { background: rgba(120,10,45,0.52); border: 1.5px solid rgba(251,113,133,0.45); }
.prog-box.purple { background: rgba(35,8,70,0.55);   border: 1.5px solid rgba(167,139,250,0.35); }
.prog-box.orange { background: rgba(70,25,4,0.55);   border: 1.5px solid rgba(251,146,60,0.42); }

/* Inner boxes — vivid color+gold gradient */
.inner-box { border-radius: 14px; padding: 22px; margin-top: 16px; border: 1px solid; }
.inner-box.gold   { background: linear-gradient(135deg, rgba(245,158,11,0.30) 0%, rgba(80,45,0,0.72) 100%);    border-color: rgba(245,158,11,0.52); }
.inner-box.teal   { background: linear-gradient(135deg, rgba(16,185,129,0.26) 0%, rgba(2,44,28,0.78) 60%, rgba(245,158,11,0.14) 100%);  border-color: rgba(52,211,153,0.48); }
.inner-box.blue   { background: linear-gradient(135deg, rgba(59,130,246,0.26) 0%, rgba(4,8,55,0.80) 60%, rgba(245,158,11,0.14) 100%);   border-color: rgba(96,165,250,0.48); }
.inner-box.rose   { background: linear-gradient(135deg, rgba(244,63,94,0.28) 0%, rgba(100,5,35,0.78) 60%, rgba(245,158,11,0.14) 100%);  border-color: rgba(251,113,133,0.52); }
.inner-box.purple { background: linear-gradient(135deg, rgba(139,92,246,0.26) 0%, rgba(25,4,60,0.80) 60%, rgba(245,158,11,0.14) 100%); border-color: rgba(167,139,250,0.50); }
.inner-box.orange { background: linear-gradient(135deg, rgba(249,115,22,0.28) 0%, rgba(65,18,0,0.78) 60%, rgba(245,158,11,0.16) 100%); border-color: rgba(251,146,60,0.52); }

/* Program titles */
.program-title {
  font-family: 'Playfair Display', serif;
  font-size: 38px; font-weight: 900; line-height: 1.15;
  margin: 0 0 8px; letter-spacing: -0.01em; color: var(--text);
}
@media (max-width: 700px) { .program-title { font-size: 26px; } }

.prog-callout {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 700;
  color: rgba(245,241,234,0.90); line-height: 1.4; margin: 0 0 20px;
}
@media (max-width: 700px) { .prog-callout { font-size: 18px; } }

.prog-num-badge {
  font-family: 'Playfair Display', serif;
  font-size: 18px; font-weight: 900;
  width: 40px; min-width: 40px; height: 40px;
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; border: 1.5px solid;
}

/* Giving row (money cards — never clipped) */
.giving-row { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin-top: 14px; }
.giving-row-card { border-radius: var(--radius); padding: 20px; transition: border-color 0.2s; }
.prog-box.gold   .giving-row-card { background: linear-gradient(135deg, rgba(245,158,11,0.20) 0%, rgba(60,30,0,0.68) 100%);    border: 1px solid rgba(245,158,11,0.40); }
.prog-box.teal   .giving-row-card { background: linear-gradient(135deg, rgba(16,185,129,0.18) 0%, rgba(4,35,20,0.72) 60%, rgba(245,158,11,0.10) 100%); border: 1px solid rgba(52,211,153,0.30); }
.prog-box.blue   .giving-row-card { background: linear-gradient(135deg, rgba(59,130,246,0.18) 0%, rgba(4,8,45,0.72) 60%, rgba(245,158,11,0.10) 100%); border: 1px solid rgba(96,165,250,0.30); }
.prog-box.rose   .giving-row-card { background: linear-gradient(135deg, rgba(244,63,94,0.20) 0%, rgba(90,5,28,0.72) 60%, rgba(245,158,11,0.10) 100%); border: 1px solid rgba(251,113,133,0.35); }
.prog-box.purple .giving-row-card { background: linear-gradient(135deg, rgba(139,92,246,0.18) 0%, rgba(22,4,50,0.72) 60%, rgba(245,158,11,0.10) 100%); border: 1px solid rgba(167,139,250,0.30); }
.prog-box.orange .giving-row-card { background: linear-gradient(135deg, rgba(249,115,22,0.20) 0%, rgba(55,16,0,0.72) 60%, rgba(245,158,11,0.10) 100%); border: 1px solid rgba(251,146,60,0.32); }
.giving-row-card .gr-amount { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; color: var(--accent); margin: 0 0 4px; display: block; }
.prog-box.teal   .giving-row-card .gr-amount { color: #6ee7b7; }
.prog-box.blue   .giving-row-card .gr-amount { color: #93c5fd; }
.prog-box.rose   .giving-row-card .gr-amount { color: #fda4af; }
.prog-box.purple .giving-row-card .gr-amount { color: #c4b5fd; }
.prog-box.orange .giving-row-card .gr-amount { color: #fdba74; }
.giving-row-card .gr-title { font-size: 14px; font-weight: 700; color: var(--text); margin: 0 0 8px; display: block; }

/* Skill pills */
.skill-pills { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.skill-pill  { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 5px 11px; font-size: 12px; color: rgba(245,241,234,0.88); }
.prog-box.gold   .skill-pill { background: rgba(245,158,11,0.10);  border: 1px solid rgba(245,158,11,0.28); }
.prog-box.teal   .skill-pill { background: rgba(52,211,153,0.09);  border: 1px solid rgba(52,211,153,0.22); }
.prog-box.blue   .skill-pill { background: rgba(96,165,250,0.09);  border: 1px solid rgba(96,165,250,0.22); }
.prog-box.rose   .skill-pill { background: rgba(251,113,133,0.10); border: 1px solid rgba(251,113,133,0.28); }
.prog-box.purple .skill-pill { background: rgba(167,139,250,0.09); border: 1px solid rgba(167,139,250,0.22); }
.prog-box.orange .skill-pill { background: rgba(251,146,60,0.10);  border: 1px solid rgba(251,146,60,0.26); }

/* Sec-box (stat tiles) */
.sec-box { border-radius: 20px; padding: 28px; margin-top: 20px; position: relative; border: 1.5px solid; }

/* ============================================================
   TOC CHIPS / JUMP CARDS  (Programs + Get Involved)
   ============================================================ */

.toc-wrap {
  margin: 10px 0 26px; padding: 12px 12px 10px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
}
.toc-label {
  font-size: 12px; letter-spacing: 0.2px;
  color: rgba(245,241,234,0.75); margin: 0 0 10px; font-weight: 700;
}
.toc-chips { display: flex; gap: 10px; width: 100%; }

@media (min-width: 901px) {
  .toc-chips { flex-wrap: nowrap; justify-content: space-between; align-items: stretch; }
  .toc-chips .jump-card { flex: 1; justify-content: center; }
}
@media (max-width: 900px) {
  .toc-chips { flex-direction: column; }
  .toc-chips .jump-card { width: 100%; justify-content: flex-start; border-radius: 14px; }
}

.jump-card {
  padding: 10px 14px; border-radius: 999px;
  border: 1.5px solid rgba(255,195,77,0.55);
  background: rgba(255,255,255,0.03);
  display: inline-flex; align-items: center; gap: 10px;
  width: auto; min-height: 0;
  color: #fff; text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.jump-card .icon { font-size: 16px; margin: 0; width: 18px; flex-shrink: 0; }
.jump-card h3 {
  font-size: 14px; line-height: 1.1; margin: 0;
  font-family: 'Playfair Display', serif;
  font-weight: 800; letter-spacing: 0.01em;
  color: #fff;
}
.jump-card p { display: none; }
@media (hover: hover) {
  .jump-card:hover {
    border-color: rgba(255,195,77,0.90);
    background: rgba(255,255,255,0.05);
    text-decoration: none;
    transform: none;
  }
}

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

.footer, .site-footer {
  margin-top: 0; padding: 40px 0 0;
  border-top: 2px solid rgba(245,158,11,0.35);
  background: rgba(6,11,22,1.0);
}
.footer-grid,
.footer-grid-responsive {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 32px; align-items: flex-start;
}
.footer-donate { color: var(--gold); font-weight: 700; }
.footer-donate:hover { opacity: 0.9; text-decoration: underline; }
.footer-bottom {
  margin-top: 28px; padding: 16px 0;
  border-top: 1px solid rgba(245,158,11,0.30);
  display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: center; gap: 8px;
}
.footer-title { font-weight: 900; }
.footer-text  { font-size: 13px; color: var(--muted); margin-top: 6px; }
.footer-links { font-size: 13px; color: var(--muted); margin-top: 6px; display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 700px) {
  .footer-grid, .footer-grid-responsive { grid-template-columns: 1fr; gap: 20px; }
}

/* ============================================================
   DONATE PAGE
   ============================================================ */

.donate-now-large {
  display: inline-flex; justify-content: center; align-items: center;
  width: min(420px, 100%); padding: 24px 36px;
  font-size: 22px; font-weight: 900; border-radius: 22px; text-decoration: none;
  box-shadow: 0 30px 70px rgba(245,158,11,0.35), 0 0 90px rgba(245,158,11,0.22);
}
.donor-trustline {
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
  margin: 10px 0 22px; color: rgba(245,241,234,0.78); font-size: 13px;
}
.donor-trustline .trust-item {
  border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.05);
  padding: 6px 10px; border-radius: 999px;
}
.give-monthly  { border-color: rgba(245,158,11,0.55) !important; }
.give-matching { border-color: rgba(34,197,94,0.50)  !important; }
.give-daf      { border-color: rgba(59,130,246,0.50) !important; }
.give-stock    { border-color: rgba(168,85,247,0.50) !important; }
.give-inkind   { border-color: rgba(244,63,94,0.45)  !important; }
.give-check    { border-color: rgba(148,163,184,0.45)!important; }

/* ============================================================
   IMPACT PAGE — Voices
   ============================================================ */

.voices .grid3 { align-items: stretch; }
.voices .card.panel { display: flex; flex-direction: column; }
.voices .quote-photo {
  width: 100%; height: auto; aspect-ratio: 16/10;
  object-fit: cover; object-position: 50% 35%; display: block;
}
@media (min-width: 980px) { .voices .quote-photo { aspect-ratio: 4/3; } }

/* ============================================================
   GLOBAL RESPONSIVE BREAKPOINTS
   ============================================================ */

@media (max-width: 920px) {
  .hero-grid  { grid-template-columns: 1fr; }
  .h1         { font-size: 44px; }
  .grid3      { grid-template-columns: 1fr; }
  .grid2      { grid-template-columns: 1fr; }
  .row        { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr; }
  .photo-card img { height: 220px; }
  .feature    { grid-template-columns: 1fr; }
  .feature > img { max-height: 340px; }
}
@media (max-width: 700px) {
  .giving-row { grid-template-columns: 1fr; }
}


/* ============================================================
   FUNDERS PAGE — Institutional Light Mode
   Overrides CSS variables so ALL var() references resolve light
   ============================================================ */

body.funders {
  --bg0:    #f7f4ee;
  --bg1:    #ede9e0;
  --panel:  rgba(0,0,0,0.04);
  --panel2: rgba(0,0,0,0.05);
  --border: rgba(0,0,0,0.12);
  --text:   #1a1a2e;
  --muted:  #3d3a55;
  --gold:   #b45309;
  --accent: #b45309;
  --accent2:#c2410c;
  --shadow: 0 4px 20px rgba(0,0,0,0.10);
  --radius: 18px;
  background: linear-gradient(180deg, #f7f4ee 0%, #ede9e0 100%) !important;
  color: #1a1a2e;
}
body.funders .header,
body.funders .site-header {
  background: rgba(247,244,238,0.96) !important;
  border-bottom: 1px solid rgba(0,0,0,0.10) !important;
}
body.funders .brand,
body.funders .brand-name { color: #1a1a2e !important; }
body.funders .btn {
  border-color: rgba(160,110,0,0.45) !important;
  background: rgba(160,110,0,0.07) !important;
  color: #1a1a2e !important;
}
body.funders .btn:hover {
  border-color: rgba(160,110,0,0.75) !important;
  background: rgba(160,110,0,0.12) !important;
}
body.funders .btn-primary {
  background: linear-gradient(135deg, #b45309 0%, #d97706 100%) !important;
  color: #fff !important; border: none !important;
}
body.funders .btn-primary:hover { color: #fff !important; }
body.funders .btn-outline {
  border-color: rgba(160,110,0,0.45) !important;
  background: rgba(160,110,0,0.07) !important;
}
body.funders h1, body.funders h2, body.funders h3,
body.funders h4, body.funders .h1, body.funders .h2 { color: #1a1a2e !important; }
body.funders p, body.funders li { color: #3d3a55 !important; }
body.funders strong { color: #1a1a2e !important; }
body.funders .kicker { color: #6b5a1e !important; }
body.funders .dot { background: #b45309 !important; box-shadow: none !important; }
body.funders .card,
body.funders .card.panel,
body.funders .card.teal,
body.funders .card.blue,
body.funders .card.rose,
body.funders .card.purple,
body.funders .card.orange,
body.funders .card.gold {
  background: #ffffff !important;
  border-color: rgba(0,0,0,0.09) !important;
  box-shadow: 0 4px 18px rgba(0,0,0,0.07) !important;
  color: #1a1a2e !important; filter: none !important;
}
body.funders .card h3 { color: #1a1a2e !important; }
body.funders .card p,
body.funders .card li { color: #3d3a55 !important; }
body.funders .card strong { color: #1a1a2e !important; }
body.funders .card:hover {
  box-shadow: 0 10px 36px rgba(0,0,0,0.12) !important;
  border-color: rgba(160,110,0,0.35) !important;
  filter: none !important;
}
body.funders .quote,
body.funders .quote-strip {
  background: #f0ece3 !important;
  border-left-color: #b45309 !important;
  color: #3d3a55 !important;
}
body.funders .quote-strip strong { color: #1a1a2e !important; }
/* Footer stays dark — reset vars */
body.funders .footer,
body.funders .site-footer {
  --text:   #f5f1ea;
  --muted:  rgba(245,241,234,0.78);
  --accent: #f59e0b;
  --border: rgba(255,255,255,0.12);
  background: #1a1a2e !important;
  border-top-color: rgba(160,110,0,0.40) !important;
}
body.funders .footer-donate { color: #fbbf24 !important; }
body.funders .footer-bottom { border-top-color: rgba(160,110,0,0.28) !important; }
body.funders .footer a { color: rgba(245,241,234,0.80) !important; }
body.funders .footer a:hover { color: #fbbf24 !important; }
body.funders .footer h3,
body.funders .footer strong,
body.funders .footer div,
body.funders .footer p,
body.funders .footer span { color: rgba(245,241,234,0.82) !important; }
