/* ==========================================================================
   Reyliable Foundation — main stylesheet
   Colours are taken from the logo: deep leaf green + signal red.
   ========================================================================== */

:root {
  --green-950: #0f1f08;
  --green-900: #152b0c;
  --green-800: #1d3a10;
  --green-700: #2a5118;
  --green-600: #3d6c26;
  --green-200: #cfe0bf;
  --green-100: #e6efdc;
  --green-50:  #f2f7ec;

  --red-700: #a3161c;
  --red-600: #c4232a;
  --red-50:  #fdeeee;

  --ink:    #1a1f16;
  --text:   #3a4133;
  --muted:  #5b6453;
  --line:   #e2e6da;
  --cream:  #fbf9f3;
  --sand:   #f4efe2;
  --white:  #ffffff;

  --font-head: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(21, 43, 12, .06), 0 2px 8px rgba(21, 43, 12, .05);
  --shadow:    0 2px 4px rgba(21, 43, 12, .05), 0 12px 32px rgba(21, 43, 12, .09);
  --shadow-lg: 0 24px 60px rgba(21, 43, 12, .16);

  --container: 1200px;
  --gutter: 20px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-600); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--red-600); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--green-200); color: var(--green-950); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--green-800); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; color: #fff; }
main:focus { outline: none; }
main { overflow-x: hidden; overflow-x: clip; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 780px; }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-sm { padding-block: clamp(44px, 6vw, 72px); }
.bg-white { background: var(--white); }
.bg-green { background: var(--green-50); }
.bg-sand { background: var(--sand); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-0 { margin-top: 0; }
.mt-lg { margin-top: 40px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .85rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--red-600);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.center .eyebrow::after { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; }
.section-head p { font-size: 1.125rem; color: var(--muted); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 640px)  { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.top { align-items: start; }
.split > *, .grid > * { min-width: 0; }
.method span, .contact-card p, .footer-contact a { overflow-wrap: anywhere; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--green-800); --fg: #fff; --bd: var(--green-800);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 2px solid var(--bd);
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn-red { --bg: var(--red-600); --bd: var(--red-600); }
.btn-red:hover { --bg: var(--red-700); --bd: var(--red-700); }
.btn-green:hover { --bg: var(--green-700); --bd: var(--green-700); }
.btn-outline { --bg: transparent; --fg: var(--green-800); --bd: var(--green-800); }
.btn-outline:hover { --bg: var(--green-800); --fg: #fff; }
.btn-light { --bg: #fff; --fg: var(--green-900); --bd: #fff; }
.btn-light:hover { --bg: var(--green-50); --bd: var(--green-50); --fg: var(--green-900); }
.btn-ghost-light { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.55); }
.btn-ghost-light:hover { --bg: #fff; --fg: var(--green-900); --bd: #fff; }
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: .95rem; }
.btn .icon { width: 1.15em; height: 1.15em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; color: var(--green-800); text-decoration: none;
}
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--red-600); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--green-900); color: var(--green-100); font-size: .875rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar .icon { width: 15px; height: 15px; }
@media (max-width: 900px) { .topbar { display: none; } }

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: saturate(160%) blur(10px); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(21, 43, 12, .06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { height: 52px; width: auto; }

.primary-nav { display: flex; align-items: center; gap: 12px; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-row { display: flex; align-items: center; }
.nav-link {
  display: block; padding: 10px 12px; border-radius: 8px;
  font-family: var(--font-head); font-weight: 500; font-size: 1.02rem;
  color: var(--ink); text-decoration: none; transition: color .15s, background-color .15s;
}
.nav-link:hover { color: var(--green-700); background: var(--green-50); }
.nav-link[aria-current="page"], .nav-link.is-active { color: var(--red-600); }
.sub a[aria-current="page"] { color: var(--red-600); font-weight: 600; }
.sub-toggle {
  display: grid; place-items: center; width: 28px; height: 36px; margin-left: -8px;
  background: none; border: 0; border-radius: 6px; cursor: pointer; color: var(--muted);
}
.sub-toggle .icon { width: 16px; height: 16px; transition: transform .2s; }
.has-sub.open .sub-toggle .icon { transform: rotate(180deg); }
.sub {
  position: absolute; left: 0; top: calc(100% + 6px); min-width: 250px;
  list-style: none; margin: 0; padding: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s var(--ease), visibility .18s;
}
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.sub a {
  display: block; padding: 9px 12px; border-radius: 8px;
  color: var(--text); text-decoration: none; font-size: .96rem; line-height: 1.35;
}
.sub a:hover { background: var(--green-50); color: var(--green-800); }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.open > .sub { opacity: 1; visibility: visible; transform: none; }

.nav-toggle {
  display: none; place-items: center; width: 46px; height: 46px;
  background: var(--green-50); border: 1px solid var(--green-100); border-radius: 12px;
  color: var(--green-900); cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .i-close { display: none; }
.nav-open .nav-toggle .i-open { display: none; }
.nav-open .nav-toggle .i-close { display: block; }

@media (max-width: 1140px) {
  .nav-link { padding: 10px 9px; font-size: .98rem; }
}

@media (max-width: 1060px) {
  :root { --header-h: 68px; }
  .brand img { height: 44px; }
  .js .nav-toggle { display: grid; }
  .primary-nav { flex-direction: column; align-items: stretch; gap: 16px; }
  .js .primary-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
    padding: 20px var(--gutter) 40px; overflow-y: auto; overscroll-behavior: contain;
    background: #fff; border-top: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s, transform .2s var(--ease), visibility .2s;
  }
  .js .nav-open .primary-nav { opacity: 1; visibility: visible; transform: none; }
  .no-js .header-inner { flex-wrap: wrap; padding-block: 10px; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-row { justify-content: space-between; }
  .nav-link { padding: 14px 4px; font-size: 1.12rem; flex: 1; }
  .nav-link:hover { background: none; }
  .sub-toggle { width: 48px; height: 48px; margin: 0; background: var(--green-50); }
  .sub {
    position: static; min-width: 0; padding: 0 0 12px 12px; border: 0; box-shadow: none; border-radius: 0;
    opacity: 1; visibility: visible; transform: none; display: none; transition: none;
  }
  .sub::before { display: none; }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub { display: none; }
  .has-sub.open > .sub { display: block; }
  .no-js .sub { display: block; }
  .primary-nav .btn-donate { width: 100%; }
}

/* ---------- Home hero (full-bleed photo + parallax + glass) ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(92vh, 860px); display: flex; align-items: center;
  color: #fff; background: var(--green-950);
  padding-block: clamp(72px, 10vw, 120px);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(15, 31, 8, .92) 0%, rgba(15, 31, 8, .78) 38%, rgba(15, 31, 8, .25) 72%, rgba(15, 31, 8, .35) 100%),
    linear-gradient(0deg, rgba(15, 31, 8, .7), transparent 40%);
}
.hero .parallax-media { z-index: -2; }
.hero-grid { width: 100%; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { color: #fff; margin-bottom: 18px; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero h1 .accent {
  background: linear-gradient(90deg, #d6ecc2, #9fd07a 50%, #f6c9cb);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .eyebrow { color: #ffb4b7; }
.hero-tagline { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.1rem, 1.8vw, 1.35rem); color: #ffd1d3; margin-bottom: 18px; }
.hero .lead { max-width: 580px; margin-bottom: 32px; color: rgba(242, 247, 236, .88); }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 12px; list-style: none; padding: 0; margin: 32px 0 0; font-weight: 500; font-size: .95rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; }
.hero-points .icon { color: #b8e09a; stroke-width: 2.4; width: 16px; height: 16px; }

.hero-stack { position: relative; display: grid; gap: 16px; justify-items: end; }
.hero-chip {
  display: flex; align-items: center; gap: 14px; width: min(100%, 330px);
  border-radius: 20px; padding: 16px 18px;
  font-family: var(--font-head); font-weight: 600; color: #fff; font-size: 1.02rem; line-height: 1.25;
  animation: float 7s ease-in-out infinite;
}
.hero-chip small { display: block; font-family: var(--font-body); font-weight: 400; color: rgba(255,255,255,.75); font-size: .84rem; margin-top: 2px; }
.hero-chip .chip-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; flex: none; background: rgba(255,255,255,.18); }
.hero-chip .chip-icon .icon { width: 22px; height: 22px; }
.hero-chip:nth-child(2) { margin-right: 48px; animation-delay: -2.3s; }
.hero-chip:nth-child(3) { animation-delay: -4.6s; }
.hero-badge { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 22px; width: min(100%, 330px); margin-right: 24px; }
.hero-badge img { width: 58px; height: auto; }
.hero-badge strong { display: block; font-family: var(--font-head); font-size: 1.15rem; color: #fff; }
.hero-badge span { font-size: .88rem; color: rgba(255,255,255,.78); }
@keyframes float { 50% { transform: translateY(-10px); } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  width: 30px; height: 48px; border-radius: 20px; border: 2px solid rgba(255,255,255,.55);
}
.scroll-cue::after {
  content: ""; position: absolute; left: 50%; top: 9px; width: 4px; height: 9px; margin-left: -2px;
  border-radius: 4px; background: #fff; animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Hero load-in stagger */
.hero-anim > * { animation: rise .9s var(--ease) both; }
.hero-anim > :nth-child(2) { animation-delay: .1s; }
.hero-anim > :nth-child(3) { animation-delay: .2s; }
.hero-anim > :nth-child(4) { animation-delay: .3s; }
.hero-anim > :nth-child(5) { animation-delay: .4s; }
.hero-anim > :nth-child(6) { animation-delay: .5s; }
.hero-stack > * { animation: rise-right 1s var(--ease) both, float 7s ease-in-out 1s infinite; }
.hero-stack > :nth-child(2) { animation-delay: .25s, -1.3s; }
.hero-stack > :nth-child(3) { animation-delay: .4s, -2.6s; }
.hero-stack > :nth-child(4) { animation-delay: .55s, -3.9s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes rise-right { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-overlay { background: linear-gradient(180deg, rgba(15, 31, 8, .78), rgba(15, 31, 8, .9)); }
  .hero-stack { justify-items: stretch; grid-template-columns: 1fr 1fr; }
  .hero-chip, .hero-badge { width: auto; margin: 0 !important; }
  .scroll-cue { display: none; }
}
@media (max-width: 560px) {
  .hero-stack { grid-template-columns: 1fr; }
  .hero-stack .hero-chip:nth-child(n+3) { display: none; }
}

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; overflow: hidden; color: var(--green-50);
  background:
    radial-gradient(700px 360px at 100% 0%, rgba(207, 224, 191, .16), transparent 60%),
    linear-gradient(135deg, var(--green-900), var(--green-800) 55%, var(--green-700));
  padding-block: clamp(56px, 8vw, 96px);
}
.page-hero::after {
  content: ""; position: absolute; right: -60px; bottom: -80px; width: 380px; height: 320px;
  background: url("../images/logo-icon-white.png") no-repeat center / contain; opacity: .07; pointer-events: none;
}
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin-bottom: 14px; max-width: 820px; }
.page-hero .lead { color: rgba(242, 247, 236, .85); max-width: 680px; margin: 0; }
.page-hero .eyebrow { color: #f2a7aa; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; font-size: .9rem; }
.breadcrumb li { display: flex; align-items: center; gap: 8px; color: rgba(242, 247, 236, .75); }
.breadcrumb li + li::before { content: "/"; opacity: .5; }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; color: #fff; }

/* In-page quick links */
.chip-nav { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 30px 0 0; padding: 0; }
.chip-nav a {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: #fff; text-decoration: none; font-size: .92rem; font-weight: 500;
  transition: background-color .15s;
}
.chip-nav a:hover { background: rgba(255,255,255,.2); color: #fff; }
.chip-nav .icon { width: 16px; height: 16px; }

/* ---------- Cards ---------- */
.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 32px);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); }
.card > :last-child { margin-bottom: 0; }
a.card { text-decoration: none; color: inherit; }
.card-hover:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--green-200); }
.card .link-arrow { margin-top: auto; padding-top: 8px; }

.icon-badge {
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px;
  background: var(--green-50); color: var(--green-700); margin-bottom: 22px;
  transition: background-color .25s, color .25s;
}
.icon-badge .icon { width: 28px; height: 28px; }
.icon-badge.red { background: var(--red-50); color: var(--red-600); }
.card-hover:hover .icon-badge { background: var(--green-800); color: #fff; }
.card-hover:hover .icon-badge.red { background: var(--red-600); color: #fff; }

/* Check lists */
.check-list { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 36px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 24px; height: 24px; border-radius: 50%;
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a5118' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / 14px;
}
.check-list.two-col { grid-template-columns: 1fr 1fr; column-gap: 32px; }
@media (max-width: 640px) { .check-list.two-col { grid-template-columns: 1fr; } }
@media (min-width: 901px) and (max-width: 1150px) { .program-body .check-list.two-col { grid-template-columns: 1fr; } }
.check-list.on-dark li::before { background-color: rgba(255,255,255,.14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

/* Tag list */
.tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 1em; }
.tags li { padding: 8px 14px; border-radius: 999px; background: var(--green-50); border: 1px solid var(--green-100); color: var(--green-800); font-size: .94rem; font-weight: 500; }

/* ---------- Home: intro ---------- */
.intro-statement { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.25; color: var(--ink); margin: 0; }
.intro-statement em { font-style: normal; color: var(--green-700); }
.belief-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.belief-list li { display: flex; gap: 14px; align-items: flex-start; }
.belief-list .icon-badge { width: 44px; height: 44px; border-radius: 12px; margin: 0; }
.belief-list .icon-badge .icon { width: 22px; height: 22px; }
.belief-list strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 1.08rem; }
.belief-list span { color: var(--muted); font-size: .98rem; }

/* ---------- Mission panel ---------- */
.panel-dark {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--green-800), var(--green-900));
  color: var(--green-50); border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 56px);
}
.panel-dark h2, .panel-dark h3 { color: #fff; }
.panel-dark p { color: rgba(242, 247, 236, .85); }
.panel-dark .eyebrow { color: #f2a7aa; }
.panel-dark::after {
  content: ""; position: absolute; right: -40px; bottom: -40px; width: 220px; height: 190px;
  background: url("../images/logo-icon-white.png") no-repeat center / contain; opacity: .08;
}
.big-quote { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.3; color: #fff; margin: 0 0 24px; }

/* ---------- Quote band ---------- */
.quote-band { background: var(--sand); }
.quote-band blockquote { margin: 0 auto; max-width: 900px; text-align: center; }
.quote-band blockquote p { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.3; color: var(--ink); }
.quote-band blockquote p em { font-style: normal; color: var(--red-600); }
.quote-band .quote-mark { width: 48px; height: 48px; margin: 0 auto 18px; color: var(--green-600); }
.quote-band footer { color: var(--muted); font-size: 1rem; }

/* ---------- Stats band ---------- */
.stats-band { background: linear-gradient(135deg, var(--green-900), var(--green-800)); color: var(--green-50); }
.stats-band h2 { color: #fff; }
.stats-band .section-head p { color: rgba(242, 247, 236, .8); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { padding: 28px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.stat-num { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; color: #fff; margin-bottom: 10px; }
.stat-label { font-weight: 600; color: #fff; display: block; margin-bottom: 4px; font-family: var(--font-head); font-size: 1.1rem; }
.stat p { margin: 0; color: rgba(242, 247, 236, .75); font-size: .95rem; line-height: 1.55; }
@media (max-width: 1000px) { .stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } }

/* ---------- Get involved cards ---------- */
.involve-card { text-align: left; }
.involve-card.featured { background: linear-gradient(150deg, var(--red-600), var(--red-700)); border-color: transparent; color: #fff; }
.involve-card.featured h3, .involve-card.featured p, .involve-card.featured .link-arrow { color: #fff; }
.involve-card.featured .icon-badge { background: rgba(255,255,255,.16); color: #fff; }
.involve-card.featured:hover .icon-badge { background: #fff; color: var(--red-600); }

/* ---------- Closing CTA ---------- */
.cta-final {
  position: relative; overflow: hidden; text-align: center; color: var(--green-50);
  background:
    radial-gradient(600px 300px at 15% 0%, rgba(196, 35, 42, .25), transparent 60%),
    radial-gradient(700px 400px at 100% 100%, rgba(207, 224, 191, .15), transparent 60%),
    var(--green-900);
}
.cta-final h2 { color: #fff; }
.cta-final .btn-row { justify-content: center; }
.cta-final p { color: rgba(242, 247, 236, .85); max-width: 680px; margin-inline: auto; font-size: 1.12rem; }
.lets { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; list-style: none; padding: 0; margin: 28px 0 36px; }
.lets li { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.05rem, 2vw, 1.35rem); color: #fff; padding: 8px 18px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.lets li:last-child { background: var(--red-600); border-color: var(--red-600); }

/* ---------- Contact strip / cards ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.contact-card .icon-badge { width: 48px; height: 48px; border-radius: 14px; margin: 0; }
.contact-card .icon-badge .icon { width: 22px; height: 22px; }
.contact-card h3 { font-size: 1.08rem; margin-bottom: 4px; }
.contact-card p { margin: 0; color: var(--muted); font-size: .98rem; }
.contact-card a { color: var(--ink); font-weight: 500; text-decoration: none; word-break: break-word; }
.contact-card a:hover { color: var(--red-600); }

/* ---------- Program sections (Our Work) ---------- */
.program { padding-block: clamp(56px, 7vw, 88px); border-bottom: 1px solid var(--line); }
.program:nth-of-type(even) { background: #fff; }
.program-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .program-grid { grid-template-columns: 1fr; } }
.program-num { font-family: var(--font-head); font-weight: 800; font-size: .95rem; letter-spacing: .12em; color: var(--red-600); }
.program-head .icon-badge { width: 72px; height: 72px; border-radius: 22px; }
.program-head .icon-badge .icon { width: 34px; height: 34px; }
.program-head p { font-size: 1.1rem; color: var(--muted); }
.program-body { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3.5vw, 36px); }
.program:nth-of-type(odd) .program-body { background: #fff; }
.program-body h3 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--green-700); font-weight: 600; }
.goal-note { margin-top: 20px; padding: 18px 20px; border-left: 4px solid var(--red-600); background: var(--red-50); border-radius: 0 12px 12px 0; color: var(--ink); }
.goal-note strong { font-family: var(--font-head); }

/* ---------- About: values / goals ---------- */
.value-card { padding: 26px; }
.value-card .icon-badge { width: 52px; height: 52px; border-radius: 16px; margin-bottom: 16px; }
.value-card .icon-badge .icon { width: 24px; height: 24px; }
.value-card h3 { font-size: 1.2rem; }

.goals { counter-reset: goal; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; }
@media (max-width: 760px) { .goals { grid-template-columns: 1fr; } }
.goals li { counter-increment: goal; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 24px 84px; }
.goals li::before {
  content: counter(goal, decimal-leading-zero); position: absolute; left: 24px; top: 22px;
  font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--green-200);
}
.goals h3 { font-size: 1.15rem; margin-bottom: 6px; }
.goals p { margin: 0; color: var(--muted); font-size: 1rem; }

.story-block p { font-size: 1.08rem; }
.pull { font-family: var(--font-head); font-weight: 600; font-size: 1.35rem; line-height: 1.4; color: var(--green-800); border-left: 4px solid var(--red-600); padding-left: 20px; margin: 28px 0; }

/* ---------- Stories ---------- */
.story-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 40px); }
.story-card .quote-icon { width: 40px; height: 40px; color: var(--green-200); margin-bottom: 16px; }
.tag { display: inline-block; align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: var(--green-50); color: var(--green-700); font-size: .84rem; font-weight: 600; margin-bottom: 12px; }
.story-card h3 { font-size: 1.5rem; }
.story-card p { font-size: 1.1rem; }
.story-card footer { color: var(--muted); font-size: .92rem; font-style: italic; }

.notice { display: flex; gap: 16px; align-items: flex-start; padding: 20px 24px; border-radius: var(--radius); background: var(--green-50); border: 1px solid var(--green-100); color: var(--green-900); }
.notice .icon { width: 24px; height: 24px; color: var(--green-700); margin-top: 2px; }
.notice p { margin: 0; }
.notice.warm { background: var(--sand); border-color: #e8dfc8; }

/* ---------- Gallery ---------- */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 32px; }
.filter-btn { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-weight: 500; font-size: .95rem; transition: all .15s; }
.filter-btn:hover { border-color: var(--green-600); color: var(--green-800); }
.filter-btn[aria-pressed="true"] { background: var(--green-800); border-color: var(--green-800); color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.gallery-item { position: relative; display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--green-50); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 36px 16px 14px; color: #fff; font-size: .95rem; font-weight: 500;
  background: linear-gradient(transparent, rgba(15, 31, 8, .8));
}
.gallery-item[hidden] { display: none; }
.empty-state { text-align: center; max-width: 620px; margin: 0 auto; padding: clamp(40px, 6vw, 64px) 24px; background: #fff; border: 2px dashed var(--green-200); border-radius: var(--radius-lg); }
.empty-state .icon-badge { margin-inline: auto; width: 76px; height: 76px; border-radius: 50%; }
.empty-state .icon-badge .icon { width: 34px; height: 34px; }
.empty-state p { color: var(--muted); }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(10, 18, 6, .88); }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 12px; }
.lightbox p { color: #fff; text-align: center; margin: 14px 0 0; }
.lb-btn { position: fixed; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; }
.lb-btn:hover { background: rgba(255,255,255,.28); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- Donate ---------- */
.donate-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow); }
.donate-box h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); }
.contact-methods { display: grid; gap: 12px; margin: 24px 0; }
.method {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--cream); text-decoration: none; color: var(--ink);
  transition: border-color .15s, background-color .15s;
}
.method:hover { border-color: var(--green-600); background: var(--green-50); color: var(--ink); }
.method .icon-badge { width: 46px; height: 46px; border-radius: 12px; margin: 0; background: #fff; }
.method .icon-badge .icon { width: 22px; height: 22px; }
.method strong { display: block; font-family: var(--font-head); font-size: 1.05rem; }
.method span { color: var(--muted); font-size: .94rem; }
.bank-table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.bank-table th, .bank-table td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.bank-table th { color: var(--muted); font-weight: 500; width: 40%; }
.bank-table td { font-weight: 600; color: var(--ink); }
.copy-btn { margin-left: 8px; padding: 4px 10px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font-size: .8rem; cursor: pointer; }
.copy-btn:hover { border-color: var(--green-600); }
.help-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.help-tile { display: flex; gap: 14px; align-items: center; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 500; color: var(--ink); line-height: 1.4; }
.help-tile .icon { width: 26px; height: 26px; color: var(--red-600); }

/* ---------- Transparency ---------- */
.doc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.doc-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.doc-list .doc-name { display: flex; align-items: center; gap: 14px; font-weight: 600; color: var(--ink); }
.doc-list .doc-name .icon { color: var(--green-700); width: 24px; height: 24px; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600; background: var(--sand); color: #6b5a2c; }
.status.ok { background: var(--green-50); color: var(--green-700); }
.info-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.info-table th, .info-table td { padding: 16px 22px; text-align: left; border-bottom: 1px solid var(--line); }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }
.info-table th { width: 42%; font-weight: 500; color: var(--muted); background: var(--cream); }
.info-table td { font-weight: 600; color: var(--ink); }
@media (max-width: 560px) {
  .info-table th, .info-table td { display: block; width: 100%; }
  .info-table th { border-bottom: 0; padding-bottom: 4px; }
  .info-table td { padding-top: 4px; }
}

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-weight: 600; color: var(--ink); font-size: .95rem; margin-bottom: 7px; }
.field .req { color: var(--red-600); }
.field .hint { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid #d4d9cb; background: var(--cream);
  transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6453' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-600); background-color: #fff; box-shadow: 0 0 0 4px rgba(61, 108, 38, .15); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--red-600); background-color: #fff; }
.field-error { display: none; color: var(--red-700); font-size: .88rem; margin-top: 6px; }
.field.invalid .field-error { display: block; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.check { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1.5px solid #d4d9cb; border-radius: 12px; background: var(--cream); cursor: pointer; font-size: .95rem; }
.check:has(input:checked) { border-color: var(--green-600); background: var(--green-50); }
.check input { width: 18px; height: 18px; accent-color: var(--green-700); flex: none; }
.consent, .field .consent { display: flex; gap: 12px; align-items: flex-start; font-size: .94rem; font-weight: 400; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--green-700); flex: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }
.form-status { margin: 0; font-weight: 500; }
.form-status.ok { color: var(--green-700); }
.form-status.err { color: var(--red-700); }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 24px; transition: border-color .15s; }
.faq details[open] { border-color: var(--green-200); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; position: relative; font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; color: var(--green-700); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding-bottom: 20px; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

/* ---------- Map ---------- */
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--green-50); aspect-ratio: 16 / 10; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Prose (policy pages) ---------- */
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--text); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-950); color: rgba(242, 247, 236, .75); font-size: .98rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-block: 72px 48px; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px)  { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.footer-brand img { height: 56px; width: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 340px; }
.footer-motto { font-family: var(--font-head); font-weight: 600; color: #fff; letter-spacing: .02em; }
.site-footer h2 { color: #fff; font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(242, 247, 236, .78); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .icon { width: 18px; height: 18px; margin-top: 4px; color: #9fc184; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 22px 28px; border-top: 1px solid rgba(255,255,255,.1); font-size: .9rem; }
.footer-bottom p { margin: 0; }
.footer-bottom .credit { opacity: .7; margin-left: 6px; }
.footer-bottom .credit a { text-decoration: underline; }
.made-by-wrap { display: flex; justify-content: center; padding-bottom: 26px; }
.made-by {
  display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 7px; padding: 8px 18px; border-radius: 999px;
  max-width: 100%; text-align: center;
  font-size: .86rem; letter-spacing: .01em; color: rgba(242, 247, 236, .78) !important; text-decoration: none !important;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.14);
  transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease);
}
.made-by .icon { width: 14px; height: 14px; color: #ff7a80; fill: #ff7a80; stroke: #ff7a80; }
.made-by strong {
  font-family: var(--font-head); font-weight: 700; letter-spacing: .02em;
  background: linear-gradient(90deg, #b8e09a, #fff 60%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.made-by:hover { color: #fff !important; background: rgba(255,255,255,.09); border-color: rgba(184, 224, 154, .5); transform: translateY(-2px); }
.made-by:hover .icon { animation: beat .8s ease-in-out; }
@keyframes beat { 30% { transform: scale(1.3); } 60% { transform: scale(.95); } }
@media (max-width: 1340px) { .footer-bottom { padding-right: calc(var(--gutter) + 60px); } }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 20px; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--green-800); color: #fff; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .2s, transform .2s, visibility .2s, background-color .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--red-600); color: #fff; }

/* ---------- 404 ---------- */
.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.error-code { font-family: var(--font-head); font-weight: 800; font-size: clamp(5rem, 16vw, 9rem); line-height: 1; color: var(--green-600); margin: 0; }

/* ==========================================================================
   Effects: glass, parallax, photos, motion
   ========================================================================== */

/* ---------- Glassmorphism ---------- */
.glass {
  background: linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.07));
  border: 1px solid rgba(255,255,255,.28);
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 10px 40px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.3);
}
.glass-light {
  background: linear-gradient(135deg, rgba(255,255,255,.78), rgba(255,255,255,.5));
  border: 1px solid rgba(255,255,255,.85);
  -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%);
  box-shadow: 0 10px 40px rgba(21, 43, 12, .10), inset 0 1px 0 #fff;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(15, 31, 8, .72); }
  .glass-light { background: rgba(255,255,255,.94); }
}

/* Glass header */
.site-header { background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%); }
.site-header.is-scrolled { background: rgba(255, 255, 255, .82); }

/* Scroll progress bar */
.scroll-progress {
  position: fixed; left: 0; top: 0; z-index: 200; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--green-600), #9fd07a, var(--red-600));
  transform-origin: 0 50%; transform: scaleX(0); pointer-events: none;
}

/* ---------- Parallax media ---------- */
.parallax-media { position: absolute; inset: -18% 0; overflow: hidden; will-change: transform; }
.parallax-media img { width: 100%; height: 100%; object-fit: cover; }
.kenburns img { animation: kenburns 26s ease-in-out infinite alternate; transform-origin: 60% 40%; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.14); } }

/* Inner page heroes with photo */
.page-hero.has-photo { background: var(--green-950); isolation: isolate; padding-block: clamp(80px, 11vw, 150px); }
.page-hero.has-photo .parallax-media { z-index: -2; }
.page-hero.has-photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(15, 31, 8, .93), rgba(15, 31, 8, .72) 55%, rgba(15, 31, 8, .35)),
    linear-gradient(0deg, rgba(15, 31, 8, .6), transparent 50%);
}
.page-hero.has-photo::after { z-index: -1; }
.page-hero .container > * { animation: rise .8s var(--ease) both; }
.page-hero .container > :nth-child(2) { animation-delay: .08s; }
.page-hero .container > :nth-child(3) { animation-delay: .16s; }
.page-hero .container > :nth-child(4) { animation-delay: .24s; }
.page-hero .container > :nth-child(5) { animation-delay: .32s; }
.breadcrumb ol { display: inline-flex; padding: 7px 16px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.chip-nav a { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

/* ---------- Photo bands (parallax sections with glass content) ---------- */
.photo-band { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: var(--green-950); }
.photo-band .parallax-media { z-index: -2; }
.photo-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15, 31, 8, .78), rgba(15, 31, 8, .7)); }
.photo-band.soft::before { background: linear-gradient(90deg, rgba(15, 31, 8, .85), rgba(15, 31, 8, .45)); }
.photo-band h2, .photo-band h3 { color: #fff; }
.glass-panel { border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 56px); }
.stats-band.photo-band .stat { background: none; }
.stats-band .stat.glass { transition: transform .3s var(--ease), background-color .3s; }
.stats-band .stat.glass:hover { transform: translateY(-6px); }
.cta-final.photo-band { background: var(--green-950); }
.cta-final .glass-panel { max-width: 920px; margin-inline: auto; }
.quote-band.photo-band { background: var(--green-950); }
.quote-band.photo-band blockquote p { color: #fff; }
.quote-band.photo-band blockquote p em { color: #ffb4b7; }
.quote-band.photo-band footer { color: rgba(255,255,255,.8); }
.quote-band.photo-band .quote-mark { color: #b8e09a; }

/* ---------- Ticker ---------- */
.ticker { overflow: hidden; background: var(--green-800); color: #fff; padding-block: 18px; border-block: 1px solid rgba(255,255,255,.08); }
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker ul { display: flex; align-items: center; gap: 36px; list-style: none; margin: 0; padding: 0 36px 0 0; }
.ticker li { display: flex; align-items: center; gap: 36px; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.15rem, 2.2vw, 1.6rem); white-space: nowrap; }
.ticker li::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--red-600); box-shadow: 0 0 0 4px rgba(196, 35, 42, .25); }
.ticker li:nth-child(even) { color: #b8e09a; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Image cards ---------- */
.img-card { padding: 0; overflow: hidden; }
.img-card .card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--green-50); }
.img-card .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.img-card .card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(15, 31, 8, .45)); }
.img-card:hover .card-media img { transform: scale(1.08); }
.img-card .card-body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 0 clamp(22px, 3vw, 30px) clamp(22px, 3vw, 30px); }
.img-card .icon-badge { margin-top: -32px; position: relative; z-index: 1; border: 4px solid #fff; box-shadow: var(--shadow-sm); background: var(--green-50); }
.img-card .icon-badge.red { background: var(--red-50); }

/* Photo-backed "get involved" cards */
.photo-card { position: relative; overflow: hidden; isolation: isolate; min-height: 420px; justify-content: flex-end; border: 0; color: #fff; }
.photo-card > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.photo-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15, 31, 8, .1) 20%, rgba(15, 31, 8, .85)); }
.photo-card.red::before { background: linear-gradient(180deg, rgba(120, 12, 16, .1) 20%, rgba(120, 12, 16, .88)); }
.photo-card:hover > img { transform: scale(1.07); }
.photo-card .card-glass { border-radius: 20px; padding: 22px; }
.photo-card h3, .photo-card p, .photo-card .link-arrow { color: #fff; }
.photo-card p { color: rgba(255,255,255,.86); }
.photo-card .icon-badge { background: rgba(255,255,255,.2); color: #fff; margin-bottom: 16px; }
.card-hover.photo-card:hover .icon-badge { background: #fff; color: var(--green-800); }
.card-hover.photo-card.red:hover .icon-badge { color: var(--red-600); }

/* ---------- Photo collage ---------- */
.collage { position: relative; padding: 0 12% 12% 0; }
.collage .main { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; }
.collage .main img, .collage .inset img { width: 100%; height: 100%; object-fit: cover; }
.collage .inset {
  position: absolute; right: 0; bottom: 0; width: 55%; aspect-ratio: 4 / 3;
  border-radius: 22px; overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow-lg);
}
.collage .collage-badge {
  position: absolute; left: -18px; bottom: 22%; display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: 18px; font-family: var(--font-head); font-weight: 600; color: var(--ink); line-height: 1.25;
  animation: float 7s ease-in-out infinite;
}
.collage .collage-badge small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--muted); font-size: .82rem; }
.collage .collage-badge .icon-badge { width: 42px; height: 42px; border-radius: 12px; margin: 0; }
.collage .collage-badge .icon-badge .icon { width: 20px; height: 20px; }
@media (max-width: 900px) { .collage { max-width: 520px; margin-inline: auto; } .collage .collage-badge { left: 0; } }

/* Program photos */
.program-img { position: relative; margin: 28px 0 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.program-img .parallax-media { inset: -12% 0; }
.program-img figcaption {
  position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; color: #fff; font-size: .88rem; font-weight: 500;
}
.program-img figcaption .icon { width: 16px; height: 16px; }

/* ---------- Soft background blobs ---------- */
.has-blobs { position: relative; overflow: hidden; isolation: isolate; }
.blob { position: absolute; z-index: -1; width: 460px; height: 460px; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; animation: drift 22s ease-in-out infinite alternate; }
.blob.g { background: radial-gradient(circle, #b9dca0, transparent 70%); }
.blob.r { background: radial-gradient(circle, #f6b9bc, transparent 70%); animation-duration: 28s; }
.blob.y { background: radial-gradient(circle, #f3dfa3, transparent 70%); animation-duration: 25s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(60px, -40px) scale(1.12); } 100% { transform: translate(-40px, 50px) scale(.95); } }
.has-blobs .contact-card { background: rgba(255,255,255,.65); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-color: rgba(255,255,255,.9); }

/* ---------- Button shine ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after {
  content: ""; position: absolute; top: 0; left: -75%; z-index: -1; width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); transition: left .6s var(--ease);
}
.btn:hover::after { left: 130%; }
.btn-red { box-shadow: 0 8px 24px rgba(196, 35, 42, .28); }

/* ---------- 3D tilt ---------- */
[data-tilt] { transform-style: preserve-3d; will-change: transform; }
[data-tilt].tilting { transition: transform .08s linear !important; }

/* Icon badge wiggle on card hover */
.card-hover:hover .icon-badge .icon { animation: wiggle .6s var(--ease); }
@keyframes wiggle { 30% { transform: rotate(-10deg) scale(1.1); } 60% { transform: rotate(8deg) scale(1.1); } }

/* ---------- Reveal on scroll (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); }
.js .reveal[data-reveal="left"]  { transform: translateX(-48px); }
.js .reveal[data-reveal="right"] { transform: translateX(48px); }
.js .reveal[data-reveal="zoom"]  { transform: scale(.92); }
.js .reveal[data-reveal="blur"]  { filter: blur(12px); transform: translateY(12px); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }

/* ---------- Reduced motion: switch every effect off ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .hero-anim > *, .hero-stack > *, .page-hero .container > *, .kenburns img, .blob, .ticker-track,
  .collage .collage-badge, .scroll-cue::after, .card-hover:hover .icon-badge .icon { animation: none !important; }
  .ticker-track { flex-wrap: wrap; width: auto; }
  .ticker ul[aria-hidden="true"] { display: none; }
  .btn::after { display: none; }
}

/* ---------- Print ---------- */
@media print {
  .topbar, .site-header, .site-footer, .to-top, .cta-final, form { display: none !important; }
  body { background: #fff; color: #000; }
  .page-hero { background: none; color: #000; padding: 0 0 20px; }
  .page-hero h1 { color: #000; }
}
