/* ===========================================================
   FSSPM Foundation — shared styles
   =========================================================== */
:root {
  --cream: #faf6ef;
  --cream-soft: #fbf8f2;
  --ink: #3a3324;
  --ink-soft: #6f6450;
  --olive: #5c6b3a;
  --olive-dark: #46522c;
  --gold: #c9a86a;
  --terracotta: #c46a4f;
  --terracotta-dark: #b25c43;
  --card-border: #ece4d6;
  --tag-bg: #f6efe2;
  --tag-border: #e3d6bf;
  --shadow: 0 18px 40px rgba(58, 51, 36, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Josefin Sans", system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .serif { font-family: "Playfair Display", Georgia, serif; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
.container { width: min(1180px, 92%); margin-inline: auto; }
.section { padding: 72px 0; }
.section.tight { padding: 48px 0; }
.center { text-align: center; }

.eyebrow { color: var(--olive); font-weight: 600; letter-spacing: 2px; text-transform: uppercase; font-size: 13px; }
.h-rule { width: 70px; height: 3px; background: var(--gold); border-radius: 3px; margin: 16px 0 24px; }
.center .h-rule { margin-inline: auto; }
.lead { color: var(--ink-soft); font-size: 17px; max-width: 760px; }
.center .lead { margin-inline: auto; }

h2.title { font-size: clamp(28px, 4vw, 42px); font-weight: 700; }
h3.subtitle { font-size: clamp(22px, 3vw, 30px); font-weight: 700; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 30px;
  font-weight: 500; font-size: 14.5px; letter-spacing: .3px;
  cursor: pointer; border: 0; transition: transform .2s, background .2s, color .2s;
  font-family: inherit;
}
.btn-primary { background: var(--terracotta); color: #fff; box-shadow: 0 6px 16px rgba(196,106,79,.3); }
.btn-primary:hover { background: var(--terracotta-dark); transform: translateY(-1px); }
.btn-olive { background: var(--olive); color: #fff; }
.btn-olive:hover { background: var(--olive-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--tag-border); }
.btn-ghost:hover { border-color: var(--olive); color: var(--olive); }

/* ---------- Header ---------- */
header.site {
  background: var(--cream-soft);
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px 0; position: relative; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .logo {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--olive); color: #fff; display: grid; place-items: center;
  font-family: "Playfair Display", serif; font-weight: 700; font-size: 20px;
  box-shadow: 0 0 0 4px rgba(92,107,58,.12);
}
.brand .name { font-family: "Playfair Display", serif; font-weight: 700; font-size: 18px; letter-spacing: .5px; line-height: 1; }
.brand .sub { font-size: 10px; letter-spacing: 3px; color: var(--ink-soft); text-transform: uppercase; }

.menu { display: flex; align-items: center; gap: 6px; list-style: none; }
.menu > li { position: relative; }
.menu > li > a {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 15px; color: var(--ink); padding: 10px 14px; border-radius: 8px; transition: color .2s, background .2s;
}
.menu > li > a:hover { color: var(--olive); background: rgba(92,107,58,.07); }
.menu > li.active > a { color: var(--olive); font-weight: 600; }
.menu .caret { font-size: 10px; opacity: .6; }

.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0;
  background: #fff; border: 1px solid var(--card-border); border-radius: 12px;
  min-width: 220px; padding: 8px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; list-style: none; z-index: 110;
}
.menu > li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 14px; color: var(--ink); }
.dropdown li a:hover { background: var(--tag-bg); color: var(--olive); }
.dropdown .d-title { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-soft); padding: 8px 12px 4px; }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.hamburger { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- Page hero ---------- */
.page-hero {
  position: relative; color: #fff; padding: 76px 0 58px;
  background:
    linear-gradient(100deg, rgba(58,64,36,.92) 0%, rgba(74,82,48,.78) 45%, rgba(96,84,52,.6) 100%),
    url("https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?auto=format&fit=crop&w=1600&q=70");
  background-size: cover; background-position: center;
}
.page-hero h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; margin-bottom: 12px; }
.page-hero p { max-width: 560px; color: rgba(255,255,255,.9); font-weight: 300; }
.breadcrumb { margin-top: 24px; font-size: 14px; color: rgba(255,255,255,.85); }
.breadcrumb a { color: var(--gold); }
.breadcrumb .sep { margin: 0 8px; opacity: .7; }

/* ---------- Slideshow ---------- */
.slideshow { position: relative; height: clamp(380px, 60vh, 620px); overflow: hidden; background: #2f2b1f; }
.slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease;
  display: grid; place-items: center;
}
.slide-media {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center center;
  transform: translateZ(0);
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.slide-media--education { object-position: center 42%; }
.slide::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(30,28,20,.25), rgba(30,28,20,.65)); pointer-events: none; }
.slide.active { opacity: 1; }
.slide-content { position: relative; z-index: 2; text-align: center; color: #fff; width: min(760px, 88%); pointer-events: none; }
.slide-content .eyebrow { color: var(--gold); }
.slide-content h2 { font-size: clamp(30px, 5vw, 52px); font-weight: 800; margin: 10px 0 14px; text-shadow: 0 2px 18px rgba(0,0,0,.4); }
.slide-content { pointer-events: none; }
.slide-content p { font-size: clamp(15px, 2vw, 19px); color: rgba(255,255,255,.92); max-width: 42em; margin-inline: auto; }
.slide-content .slide-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0 auto 14px;
  max-width: 42em;
  pointer-events: none;
}
.slide-content .slide-tags .tag {
  font-size: 11.5px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 4px 11px;
  border-radius: 20px;
}
.slide-content .slide-cta {
  margin-top: 18px;
  pointer-events: auto;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.slide-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.18); color: #fff; font-size: 22px; backdrop-filter: blur(4px);
  display: grid; place-items: center; transition: background .2s;
}
.slide-arrow:hover { background: rgba(255,255,255,.35); }
.slide-arrow.prev { left: 22px; }
.slide-arrow.next { right: 22px; }
.slide-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; gap: 9px; }
.slide-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.4); cursor: pointer; transition: .2s; }
.slide-dots button.active { background: #fff; width: 26px; border-radius: 6px; }

/* ---------- Impact metrics ---------- */
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.metric {
  background: #fff; border: 1px solid var(--card-border); border-radius: 14px; padding: 28px 22px; text-align: center;
}
.metric .num { font-family: "Playfair Display", serif; font-size: 42px; font-weight: 800; color: var(--olive); line-height: 1; }
.metric .num .plus { color: var(--gold); }
.metric .label { margin-top: 8px; color: var(--ink-soft); font-size: 14.5px; }
.metrics.loading { min-height: 140px; opacity: 0.55; }
.metrics[data-animated="1"] .metric { animation: metric-in 0.5s ease backwards; }
.metrics[data-animated="1"] .metric:nth-child(1) { animation-delay: 0.05s; }
.metrics[data-animated="1"] .metric:nth-child(2) { animation-delay: 0.1s; }
.metrics[data-animated="1"] .metric:nth-child(3) { animation-delay: 0.15s; }
.metrics[data-animated="1"] .metric:nth-child(4) { animation-delay: 0.2s; }
.metrics[data-animated="1"] .metric:nth-child(5) { animation-delay: 0.25s; }
.metrics[data-animated="1"] .metric:nth-child(6) { animation-delay: 0.3s; }
@keyframes metric-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Generic cards / tiles ---------- */
.grid { display: grid; gap: 24px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.tile {
  background: #fff; border: 1px solid var(--card-border); border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s;
}
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tile .thumb { aspect-ratio: 16/10; overflow: hidden; }
.tile .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tile:hover .thumb img { transform: scale(1.06); }
.tile .body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tile h3 { font-size: 20px; font-weight: 700; }
.tile .desc { color: var(--ink-soft); font-size: 14px; }
.tile .champion { margin-top: auto; font-size: 12.5px; color: var(--olive); font-weight: 600; }
.tile .champion span { color: var(--ink-soft); font-weight: 400; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 11.5px; color: #8a6d3b; background: var(--tag-bg); border: 1px solid var(--tag-border); padding: 4px 11px; border-radius: 20px; }
.learn { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 14px; color: var(--ink); transition: gap .2s, color .2s; margin-top: 4px; }
.learn:hover { color: var(--olive); gap: 12px; }

/* category cards (home) */
.cat-card {
  background: #fff; border: 1px solid var(--card-border); border-radius: 14px; padding: 26px;
  display: flex; gap: 16px; align-items: flex-start; transition: .25s; cursor: pointer;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.cat-card .ic { width: 52px; height: 52px; border-radius: 12px; background: var(--tag-bg); display: grid; place-items: center; font-size: 26px; flex: none; }
.cat-card h3 { font-size: 21px; }
.cat-card p { color: var(--ink-soft); font-size: 14.5px; margin-top: 4px; }

/* ---------- By Category two-panel ---------- */
.cat-layout { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start; }
.cat-side { background: #fff; border: 1px solid var(--card-border); border-radius: 14px; padding: 12px; position: sticky; top: 90px; }
.cat-side button {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer; font-family: inherit;
  padding: 13px 16px; border-radius: 10px; font-size: 15.5px; color: var(--ink); display: flex; justify-content: space-between; align-items: center; transition: .2s;
}
.cat-side button:hover { background: var(--tag-bg); }
.cat-side button.active { background: var(--olive); color: #fff; font-weight: 600; }
.cat-side button .count { font-size: 12px; opacity: .7; }

/* ---------- Champion banner ---------- */
.champion-row { display: grid; grid-template-columns: 320px 1fr; gap: 32px; align-items: center; background: #fff; border: 1px solid var(--card-border); border-radius: 16px; padding: 26px; margin-bottom: 28px; }
.champion-row img { border-radius: 14px; aspect-ratio: 1; object-fit: cover; width: 100%; }
.champion-row h3 { font-size: 26px; }
.champion-row .role { color: var(--olive); font-weight: 600; font-size: 14px; }
.champion-row p { color: var(--ink-soft); margin-top: 10px; }
.champion-block { margin-bottom: 56px; padding-bottom: 8px; border-bottom: 1px solid var(--card-border); }
.champion-block:last-child { border-bottom: 0; margin-bottom: 0; }
.champion-category-block { margin-bottom: 28px; }
.champion-category-block:last-child { margin-bottom: 0; }
.champion-category-heading {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--olive);
  display: inline-block;
  min-width: min(100%, 280px);
}

/* ---------- Details page ---------- */
.split { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.panel-block { background: #fff; border: 1px solid var(--card-border); border-radius: 14px; padding: 26px; }
.panel-block h3 { color: var(--olive); margin-bottom: 10px; }
.panel-block p { color: var(--ink-soft); font-size: 15px; }

.video-feature { aspect-ratio: 16/9; width: 100%; border-radius: 14px; border: 0; background: #1a1814; }
.video-poster { position: relative; width: 100%; border-radius: 14px; overflow: hidden; background: #1a1814; }
.video-poster-link {
  display: block;
  position: relative;
  aspect-ratio: 16/9;
}
.video-poster-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-poster-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(196, 106, 79, 0.95);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 28px;
  padding-left: 4px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s, background 0.2s;
}
.video-poster-link:hover .video-poster-play {
  transform: translate(-50%, -50%) scale(1.06);
  background: var(--terracotta-dark);
}
.video-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.video-link {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.video-link:hover {
  border-color: rgba(92, 107, 58, 0.45);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.video-link-thumb {
  position: relative;
  display: block;
  width: 100%;
  padding-top: 56.25%;
  background-color: #1a1814;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}
.video-link-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.video-link:hover .video-link-thumb img { transform: scale(1.03); }
.video-link-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(196, 106, 79, 0.95);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 18px;
  padding-left: 3px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s, background 0.2s;
}
.video-link:hover .video-link-play {
  transform: translate(-50%, -50%) scale(1.06);
  background: var(--terracotta-dark);
}
.video-link-title {
  display: block;
  padding: 12px 14px 14px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}

.story { background: #fff; border: 1px solid var(--card-border); border-left: 4px solid var(--gold); border-radius: 10px; padding: 22px; }
.story .who { font-weight: 600; color: var(--olive); margin-top: 10px; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--card-border); border-radius: 16px; padding: 30px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 500; margin-bottom: 6px; }
.field label .req { color: var(--terracotta); font-weight: 600; }
.field label .hint { font-weight: 400; color: var(--ink-soft); font-size: 12.5px; }
.contact-details { list-style: none; display: grid; gap: 16px; margin-bottom: 24px; }
.contact-details a { color: var(--olive); }
.contact-details a:hover { text-decoration: underline; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--tag-border); border-radius: 10px;
  font-family: inherit; font-size: 14.5px; background: var(--cream-soft); color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid rgba(92,107,58,.35); border-color: var(--olive); }
.amount-row { display: flex; flex-wrap: wrap; gap: 10px; }
.amount-row button { flex: 1; min-width: 80px; padding: 12px; border: 1.5px solid var(--tag-border); background: var(--cream-soft); border-radius: 10px; cursor: pointer; font-family: inherit; font-weight: 600; transition: .2s; }
.amount-row button.active { background: var(--olive); color: #fff; border-color: var(--olive); }

/* ---------- Donate (location + payment methods) ---------- */
.donate-form-stack { display: grid; gap: 18px; }
.field-hint { font-size: 12.5px; color: var(--ink-soft); margin-top: 6px; line-height: 1.45; }
.donate-tax-note { font-size: 14px; color: var(--ink-soft); line-height: 1.55; padding: 14px 16px; background: var(--cream-soft); border-radius: 10px; border: 1px solid var(--card-border); }
.donate-pay-panel { margin-top: 0; }
.donate-method-summary { color: var(--ink-soft); margin-bottom: 14px; font-size: 15px; }
.donate-method-steps { margin: 0; padding-left: 1.25rem; display: grid; gap: 10px; color: var(--ink); font-size: 14.5px; line-height: 1.5; }
.donate-method-steps a { color: var(--olive); font-weight: 600; }

/* ---------- Accordion (resources) ---------- */
.acc-item { background: #fff; border: 1px solid var(--card-border); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.acc-head { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; font-family: inherit; padding: 18px 22px; font-size: 16px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; color: var(--ink); }
.acc-head .chev { transition: transform .25s; color: var(--olive); }
.acc-item.open .acc-head .chev { transform: rotate(180deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.acc-item.open .acc-body { max-height: 2000px; }
.acc-body-inner { padding: 0 22px 20px; }
.doc-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-top: 1px solid var(--card-border); flex-wrap: wrap; }
.doc-row:first-child { border-top: 0; }
.doc-row-label { flex: 1; min-width: 200px; font-size: 15px; }
.doc-row-actions { display: flex; gap: 8px; flex-shrink: 0; }
.btn-sm { padding: 8px 14px; font-size: 13px; }

/* ---------- Suggestion / support strips ---------- */
.strip { background: linear-gradient(110deg, var(--olive), var(--olive-dark)); color: #fff; border-radius: 16px; padding: 36px; display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.strip h3 { font-size: 26px; }
.strip p { color: rgba(255,255,255,.85); margin-top: 6px; max-width: 520px; }

/* ---------- Map ---------- */
.map-frame { width: 100%; height: 340px; border: 0; border-radius: 14px; }

/* ---------- Footer ---------- */
footer.site { background: #2f2b1f; color: #c9c1b0; padding: 44px 0 28px; margin-top: 20px; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}
.foot-brand .name { color: #fff; font-family: "Playfair Display", serif; font-size: 20px; }
.foot-brand p { margin-top: 10px; max-width: 420px; font-size: 14.5px; line-height: 1.6; color: #c9c1b0; }
.foot-email { margin-top: 14px !important; }
.foot-email a { color: var(--gold); font-weight: 500; }
.foot-email a:hover { text-decoration: underline; }
.foot-links h4 { color: #fff; font-size: 15px; margin-bottom: 14px; letter-spacing: 0.3px; }
.foot-links ul { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 24px; }
.foot-links a { color: #c9c1b0; font-size: 14px; transition: color .2s; }
.foot-links a:hover { color: var(--gold); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 32px; padding-top: 20px; text-align: center; font-size: 13px; color: #9a917f; }
.foot-bottom .gold { color: var(--gold); }

.view-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

.tile .body .tags { margin-top: 4px; }

/* Program details — full docx content */
.program-detail-body { padding-top: 40px; }
.program-intro {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 24px 28px;
  margin-bottom: 28px;
}
.program-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--olive);
  background: var(--tag-bg);
  border: 1px solid var(--tag-border);
  border-radius: 999px;
  padding: 6px 12px;
  margin-bottom: 12px;
}
.program-intro-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.program-cat { font-weight: 600; color: var(--olive); }
.program-lead { font-size: 17px; color: var(--ink); line-height: 1.65; max-width: 900px; }
.program-sections {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.program-sections .panel-wide { grid-column: 1 / -1; }
.panel-block p { line-height: 1.7; margin-bottom: 12px; }
.panel-block p:last-child { margin-bottom: 0; }
.panel-block .body-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}
.panel-block .body-list li { margin-bottom: 10px; }
.panel-block .body-list li:last-child { margin-bottom: 0; }
.placeholder-notice .muted { color: var(--ink-soft); margin-top: 12px; font-size: 15px; }

/* Program impact — photo + stat grid (inspired by NGO impact layouts) */
.program-impact-showcase {
  background: var(--cream-soft);
  border-color: transparent;
  padding: clamp(24px, 4vw, 36px);
}
.program-impact-showcase h3 {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 22px;
}
.impact-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(22px, 4vw, 36px);
  align-items: start;
}
.impact-showcase-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(58, 51, 36, 0.1);
}
.impact-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px) clamp(16px, 2.5vw, 28px);
}
.impact-stat-value {
  font-family: "Playfair Display", serif;
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 800;
  color: var(--olive);
  line-height: 1.05;
}
.impact-stat-label {
  margin: 8px 0 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
}
.impact-narrative {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--card-border);
}
.impact-narrative p {
  margin: 0 0 10px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.impact-narrative p:last-child { margin-bottom: 0; }
.program-impact-fallback h3 { color: var(--olive); margin-bottom: 10px; }

/* Program photo gallery — mosaic, lightbox (no hover zoom) */
.program-gallery {
  margin: 28px 0 8px;
  padding-bottom: 8px;
}
.program-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: #2f2b1f;
  box-shadow: 0 4px 20px rgba(58, 51, 36, 0.08);
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  border: 2px solid transparent;
}
.program-gallery--visible .gallery-item {
  opacity: 1;
  transform: translateY(0);
}
.program-gallery--visible .gallery-item:hover,
.program-gallery--visible .gallery-item:focus-visible {
  transform: translateY(-3px);
}
.program-gallery--visible .gallery-item:nth-child(1) { transition-delay: 0.04s; }
.program-gallery--visible .gallery-item:nth-child(2) { transition-delay: 0.08s; }
.program-gallery--visible .gallery-item:nth-child(3) { transition-delay: 0.12s; }
.program-gallery--visible .gallery-item:nth-child(4) { transition-delay: 0.16s; }
.program-gallery--visible .gallery-item:nth-child(5) { transition-delay: 0.2s; }
.program-gallery--visible .gallery-item:nth-child(6) { transition-delay: 0.24s; }
.program-gallery--visible .gallery-item:nth-child(n+7) { transition-delay: 0.28s; }

.gallery-zoom {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.gallery-zoom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.35s ease;
}
.gallery-item:hover,
.gallery-item:focus-visible {
  box-shadow: var(--shadow);
  border-color: var(--gold);
}
/* Lightbox */
body.gallery-lightbox-open { overflow: hidden; }
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
}
.gallery-lightbox[hidden] { display: none !important; }
.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 28, 20, 0.92);
  backdrop-filter: blur(6px);
}
.gallery-lightbox-panel {
  position: relative;
  z-index: 2;
  width: min(1100px, 96vw);
  max-height: 92vh;
  display: flex;
  align-items: center;
  gap: 8px;
}
.gallery-lightbox-figure {
  flex: 1;
  margin: 0;
  text-align: center;
  animation: gallery-lightbox-in 0.35s ease;
}
@keyframes gallery-lightbox-in {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}
.gallery-lightbox-img {
  max-width: 100%;
  max-height: min(78vh, 820px);
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  object-fit: contain;
}
.gallery-lightbox-cap {
  display: none;
}
.gallery-lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}
.gallery-lightbox-close:hover { background: rgba(255, 255, 255, 0.28); }
.gallery-lightbox-nav {
  flex: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  transition: background 0.2s;
}
.gallery-lightbox-nav:hover { background: rgba(255, 255, 255, 0.25); }

@media (prefers-reduced-motion: reduce) {
  .gallery-item,
  .gallery-zoom img,
  .gallery-lightbox-figure {
    transition: none !important;
    animation: none !important;
  }
  .gallery-item { opacity: 1; transform: none; }
  .program-gallery--visible .gallery-item:hover,
  .program-gallery--visible .gallery-item:focus-visible {
    transform: none;
  }
}

.tile .thumb { position: relative; }
.tile.is-placeholder { opacity: 0.92; }
.tile .champion .cat-label { color: var(--olive); font-weight: 600; }

.suggest-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.strip-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .metrics, .grid.cols-3, .grid.cols-4, .split, .video-links { grid-template-columns: repeat(2, 1fr); }
  .program-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .impact-showcase { grid-template-columns: 1fr; }
  .suggest-layout { grid-template-columns: 1fr; }
  .cat-layout { grid-template-columns: 1fr; }
  .cat-side { position: static; display: flex; flex-wrap: wrap; }
  .cat-side button { width: auto; }
  .champion-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 760px) {
  .nav-cta { gap: 8px; flex-shrink: 0; }
  .nav-donate-btn {
    display: inline-flex !important;
    padding: 10px 14px;
    font-size: 12px;
    letter-spacing: 0.2px;
    white-space: nowrap;
  }
  .hamburger { display: flex; }
  .menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--cream-soft); padding: 14px 6%; border-bottom: 1px solid rgba(0,0,0,.06); gap: 2px;
  }
  .menu.open { display: flex; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding-left: 12px; display: none; }
  .menu > li.expanded .dropdown { display: block; }
}
@media (max-width: 420px) {
  .nav-donate-btn { padding: 9px 12px; font-size: 11px; }
  .brand .sub { display: none; }
  .brand .name { font-size: 16px; }
}
@media (max-width: 620px) {
  .metrics, .grid.cols-2, .grid.cols-3, .grid.cols-4, .split, .video-links { grid-template-columns: 1fr; }
  .program-gallery-grid { grid-template-columns: 1fr; }
  .gallery-lightbox-panel { flex-direction: column; }
  .gallery-lightbox-nav { display: none; }
  .gallery-lightbox-close { top: 8px; right: 8px; position: fixed; z-index: 3; }
  .program-intro { padding: 18px 16px; }
  .slide-content { width: 92%; }
  .slide-content h2 { font-size: clamp(24px, 7vw, 36px); }
  .section { padding: 52px 0; }
  .page-hero { padding: 56px 0 44px; }
  .champion-row { padding: 18px; gap: 20px; }
  .champion-row h3 { font-size: 22px; }
  .strip { padding: 24px; flex-direction: column; align-items: flex-start; }
  .strip .btn { width: 100%; justify-content: center; }
  .foot-links ul { grid-template-columns: 1fr; }
  .slide-arrow { width: 40px; height: 40px; font-size: 18px; }
  .slide-arrow.prev { left: 10px; }
  .slide-arrow.next { right: 10px; }
}
