/* ============================================================
   BRAINS ICONIC CHARITABLE TRUST — Homepage Styles
   Palette: forest greens, cream, warm white, restrained gold
   Display: Fraunces / Body: Work Sans
   ============================================================ */

:root {
  --forest: #173F32;
  --deep-green: #0D2C23;
  --green: #28634D;
  --cream: #F7F4EC;
  --warm-white: #FCFBF7;
  --gold: #C9A85C;
  --text: #17221D;
  --muted: #66716B;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; margin: 0; line-height: 1.12; letter-spacing: -0.01em; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 2.5px solid var(--gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Utility ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1.5px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow-light { color: var(--gold); }

.section-head { max-width: 640px; margin: 0 0 48px; padding: 0 var(--gutter); }
.section-head--center { max-width: 640px; margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 42px); color: var(--forest); }

.muted-text { color: var(--muted); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--forest);
  border-bottom: 1.5px solid var(--gold);
  padding-bottom: 3px;
  transition: gap 0.25s var(--ease), color 0.25s var(--ease);
}
.text-link:hover { gap: 14px; color: var(--green); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 2px;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color .25s var(--ease);
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: var(--deep-green); }
.btn-primary:hover { background: #d8b872; }
.btn-ghost { border-color: rgba(255,255,255,0.55); color: var(--warm-white); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-ghost-light { border-color: rgba(255,255,255,0.5); color: var(--warm-white); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-donate { background: var(--gold); color: var(--deep-green); padding: 11px 22px; }
.btn-donate:hover { background: #d8b872; }
.btn-outline-forest { border-color: var(--forest); color: var(--forest); }
.btn-outline-forest:hover { background: var(--forest); color: var(--warm-white); }
.btn-gold { background: var(--gold); color: var(--deep-green); }
.btn-gold:hover { background: #d8b872; }
.btn-block { width: 100%; margin-top: 8px; }

/* ============================================================
   HEADER
   Sticky (not fixed) so it reserves real space in normal flow —
   this guarantees the Hero (and every page's content) can never
   overlap it, at any content length or viewport size. Always a
   solid forest background with warm-white text in both states,
   so there is no fragile "invert colors on scroll" logic and no
   contrast bugs on the Programs/More dropdown triggers.
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--forest);
  box-shadow: 0 1px 0 rgba(13,44,35,0.12);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), padding 0.35s var(--ease);
  padding: 12px 0;
}
.site-header.is-scrolled {
  background: var(--deep-green);
  box-shadow: 0 8px 28px -12px rgba(13,44,35,0.45);
  padding: 4px 0;
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; color: var(--warm-white); }
.brand-mark {
  width: 56px; height: 56px; flex-shrink: 0;
  background: var(--warm-white);
  border-radius: 50%;
  padding: 4px;
  box-shadow: 0 1px 5px rgba(13,44,35,0.25);
  display: flex; align-items: center; justify-content: center;
}
.brand-mark svg { width: 100%; height: 100%; color: currentColor; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand-word { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 17.5px; }
.brand-sub { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.75; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--warm-white);
  position: relative;
  padding: 4px 0;
  transition: color .25s var(--ease);
}
.main-nav a::after {
  content: '';
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width 0.25s var(--ease);
}
.main-nav a:hover { color: var(--gold); }
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 18px; }

/* Below ~360px, logo + brand text + Donate button + hamburger no longer
   all fit on one row. The mobile drawer already has its own Donate button,
   so hide the header's copy at the very narrowest widths rather than
   shrinking the logo or clipping the brand name. */
@media (max-width: 359px) {
  .header-actions .btn-donate { display: none; }
}

.menu-toggle {
  display: none;
  width: 34px; height: 26px;
  background: none; border: none;
  flex-direction: column; justify-content: space-between;
  padding: 2px 0;
}
.menu-toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--warm-white);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

.mobile-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(360px, 86vw);
  background: var(--forest);
  z-index: 130;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 60px -24px rgba(0,0,0,0.55);
}
.mobile-drawer.is-open { transform: translateX(0); }

.mobile-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 22px;
  border-bottom: 1px solid rgba(252,251,247,0.12);
  flex-shrink: 0;
}
.mobile-drawer-head .brand-mark { width: 40px; height: 40px; }
.mobile-drawer-head .brand-name { font-size: 15.5px; }
.mobile-drawer-head .brand-sub { font-size: 9px; }
.mobile-drawer-close {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: rgba(252,251,247,0.08);
  border: 1px solid rgba(252,251,247,0.2);
  color: var(--warm-white);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.mobile-drawer-close:hover { background: rgba(252,251,247,0.16); border-color: rgba(252,251,247,0.35); }
.mobile-drawer-close svg { width: 15px; height: 15px; }

.mobile-drawer-body {
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 8px 22px 28px;
}
.mobile-drawer nav { display: flex; flex-direction: column; }
.mobile-drawer nav > a,
.mobile-drawer .nav-group { border-bottom: 1px solid rgba(252,251,247,0.1); }
.mobile-drawer nav > a:last-of-type { border-bottom: none; }
.mobile-drawer a {
  color: var(--warm-white);
  font-family: var(--font-display);
  font-size: 18.5px;
  font-weight: 500;
  padding: 15px 4px;
  display: block;
  border-radius: 4px;
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}
.mobile-drawer nav > a { padding-left: 4px; }
.mobile-drawer a:hover,
.mobile-drawer a:focus-visible,
.mobile-drawer a:active { color: var(--gold); padding-left: 10px; }
.mobile-drawer .btn-donate {
  margin-top: 18px;
  font-family: var(--font-body);
}
.drawer-backdrop {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0; background: rgba(13,44,35,0.5);
  z-index: 120; opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--deep-green);
}
.hero-media { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 30%;
  transform: scale(1.06);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-scrim {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background:
    linear-gradient(180deg, rgba(13,44,35,0.55) 0%, rgba(13,44,35,0.15) 32%, rgba(13,44,35,0.35) 62%, rgba(13,44,35,0.92) 100%),
    linear-gradient(90deg, rgba(13,44,35,0.75) 0%, rgba(13,44,35,0.15) 55%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 0 var(--gutter) 88px;
  color: var(--warm-white);
}
.hero-content h1 {
  font-size: clamp(34px, 5.6vw, 66px);
  color: var(--warm-white);
  margin-bottom: 22px;
}
.hero-content h1 em { color: var(--gold); font-style: italic; }
.hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(13px, 1.6vw, 16px);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 16px;
  max-width: 480px;
}
.hero-sub {
  font-size: clamp(15px, 1.6vw, 18px);
  max-width: 560px;
  color: rgba(252,251,247,0.86);
  margin-bottom: 34px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip { background: var(--forest); padding: 30px 0; }
.trust-strip ul {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px 32px;
}
.trust-strip li {
  display: flex; align-items: baseline; gap: 12px;
  color: var(--warm-white);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  flex: 1 1 200px;
}
.ts-mark { font-family: var(--font-body); font-size: 11px; font-weight: 700; color: var(--gold); letter-spacing: 0.05em; }

/* ---------- Vine divider (signature element) ---------- */
.vine-divider { background: var(--cream); line-height: 0; overflow: hidden; }
.vine-divider--dark { background: var(--forest); }
.vine-divider svg { width: 100%; height: 44px; display: block; }
.vine-path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
  transition: stroke-dashoffset 1.6s var(--ease);
}
.vine-divider--dark .vine-path { stroke: rgba(201,168,92,0.65); }
.vine-divider.in-view .vine-path { stroke-dashoffset: 0; }

/* ============================================================
   ABOUT
   ============================================================ */
.about { padding: 108px 0 96px; overflow: hidden; }
.about-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 0 64px;
  align-items: center;
}
.about-media { position: relative; }
.about-media img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  position: relative; z-index: 2;
}
.about-media-frame {
  position: absolute;
  top: -28px; left: -28px;
  width: 100%; height: 100%;
  border: 2px solid var(--gold);
  z-index: 1;
}
.about-copy h2 { font-size: clamp(28px, 3.6vw, 40px); color: var(--forest); margin-bottom: 22px; }
.about-copy p { color: var(--muted); font-size: 16.5px; margin-bottom: 26px; }
.about-stat {
  display: flex; align-items: center; gap: 18px;
  padding: 20px 24px;
  background: var(--warm-white);
  border-left: 3px solid var(--gold);
  margin-bottom: 26px;
}
.about-stat-num { font-family: var(--font-display); font-size: 40px; color: var(--forest); font-weight: 500; line-height: 1; }
.about-stat-label { font-size: 14px; color: var(--muted); max-width: 320px; }

/* ============================================================
   PROGRAMS
   ============================================================ */
.programs { padding: 20px 0 100px; }
.programs-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(120px, auto);
  gap: 18px;
}
.program-card--large { grid-column: span 2; grid-row: span 2; }
.program-card--small { grid-column: span 2; }
.program-card--type { grid-column: span 2; }

.program-card {
  position: relative;
  display: block;
  border-radius: 3px;
  overflow: hidden;
  min-height: 300px;
}
.program-card--large { min-height: 460px; }
.program-card--small { min-height: 300px; }
.program-card img {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.program-card:hover img { transform: scale(1.06); }
.program-overlay {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px;
  background: linear-gradient(180deg, rgba(13,44,35,0) 40%, rgba(13,44,35,0.88) 100%);
  color: var(--warm-white);
}
.program-card--large .program-overlay { padding: 36px; }
.program-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px; display: block;
}
.program-overlay h3 { font-size: 22px; color: var(--warm-white); margin-bottom: 10px; }
.program-card--large .program-overlay h3 { font-size: 28px; }
.program-overlay p { font-size: 14px; color: rgba(252,251,247,0.82); max-width: 380px; margin-bottom: 14px; }
.program-card--small .program-overlay p { display: none; }
.program-more {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 600; color: var(--warm-white);
  border-bottom: 1px solid var(--gold); padding-bottom: 2px; width: fit-content;
  transition: gap 0.25s var(--ease);
}
.program-card:hover .program-more { gap: 13px; }

.program-card--type {
  background: var(--forest);
  color: var(--warm-white);
  padding: 30px 28px;
  display: flex; flex-direction: column;
}
.program-tag--dark { color: var(--gold); }
.program-glyph { width: 40px; height: 40px; color: var(--gold); margin: 14px 0 16px; }
.program-card--type h3 { color: var(--warm-white); font-size: 20px; margin-bottom: 10px; }
.program-card--type p { color: rgba(252,251,247,0.72); font-size: 14px; }

/* ============================================================
   FEATURED STORY
   ============================================================ */
.featured-story {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  background: var(--warm-white);
}
.featured-story-media { overflow: hidden; }
.featured-story-media img { width: 100%; height: 100%; min-height: 460px; object-fit: cover; }
.featured-story-copy { padding: clamp(40px, 6vw, 90px); display: flex; flex-direction: column; justify-content: center; }
.featured-story-copy h2 { font-size: clamp(28px, 3.6vw, 44px); color: var(--forest); margin-bottom: 26px; }
.featured-story-copy h2 em { color: var(--gold); font-style: italic; }
.featured-story-copy p { color: var(--muted); font-size: 16px; margin-bottom: 18px; }
.drop-cap::first-letter {
  font-family: var(--font-display);
  font-size: 58px;
  float: left;
  line-height: 0.8;
  padding: 6px 10px 0 0;
  color: var(--gold);
  font-weight: 500;
}
.featured-story-copy .btn { margin-top: 10px; width: fit-content; }

/* ============================================================
   IMPACT
   ============================================================ */
.impact { background: var(--forest); padding: 100px 0; color: var(--warm-white); }
.impact .section-head h2, .impact .eyebrow { color: var(--warm-white); }
.impact .eyebrow { color: var(--gold); }
.impact-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.impact-stat {
  text-align: center;
  padding: 0 20px;
  border-left: 1px solid rgba(252,251,247,0.16);
}
.impact-stat:first-child { border-left: none; }
.impact-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 58px);
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 12px;
}
.impact-label { font-size: 14.5px; color: rgba(252,251,247,0.82); }
.impact-label small { color: rgba(252,251,247,0.55); font-size: 12px; display: inline-block; margin-top: 4px; }

/* ============================================================
   ACTIVITIES
   ============================================================ */
.activities { padding: 100px 0; }
.activities-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 22px;
}
.activity-card { position: relative; display: block; overflow: hidden; border-radius: 3px; background: var(--warm-white); }
.activity-card img { transition: transform 0.6s var(--ease); }
.activity-card:hover img { transform: scale(1.06); }
.activity-card--large { min-height: 520px; }
.activity-card--large img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.activity-card--large .activity-body {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 34px;
  background: linear-gradient(180deg, rgba(13,44,35,0) 45%, rgba(13,44,35,0.9) 100%);
  color: var(--warm-white);
}
.activity-card--large h3 { font-size: 26px; color: var(--warm-white); margin: 8px 0 12px; }
.activity-card--large p { color: rgba(252,251,247,0.82); font-size: 14.5px; margin-bottom: 16px; max-width: 420px; }
.activity-meta { font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }

.activities-stack { display: flex; flex-direction: column; gap: 22px; }
.activity-card--small { display: flex; align-items: center; height: calc(50% - 11px); min-height: 249px; }
.activity-card--small img { width: 42%; height: 100%; object-fit: cover; flex-shrink: 0; }
.activity-card--small .activity-body { padding: 22px; flex: 1; }
.activity-card--small .activity-meta { color: var(--green); }
.activity-card--small h3 { font-size: 17px; color: var(--forest); margin: 8px 0 12px; }
.activity-card--small .program-more { color: var(--forest); border-color: var(--gold); }

/* ============================================================
   MILESTONE
   ============================================================ */
.milestone { background: var(--deep-green); color: var(--warm-white); overflow: hidden; }
.milestone-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 100px var(--gutter);
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}
.milestone-badge {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--gold);
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 22px;
}
.milestone-badge svg { width: 22px; height: 22px; }
.milestone h2 { font-size: clamp(28px, 3.4vw, 38px); color: var(--warm-white); margin-bottom: 16px; }
.milestone-date { color: var(--gold); font-weight: 600; font-size: 14.5px; margin-bottom: 22px; }
.milestone p:not(.milestone-date) { color: rgba(252,251,247,0.78); font-size: 15.5px; margin-bottom: 30px; }
.milestone-media img { width: 100%; border-radius: 3px; }

/* ============================================================
   RECOGNITION
   ============================================================ */
.recognition { padding: 100px 0; background: var(--cream); }
.recognition-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.recognition-media { position: relative; }
.recognition-media img { width: 100%; border-radius: 2px; box-shadow: 0 30px 60px -20px rgba(13,44,35,0.28); }
.recognition-copy p { font-size: 17px; color: var(--text); margin-bottom: 18px; }
.recognition-copy p strong { color: var(--forest); }
.recognition-thumb { margin-top: 26px; max-width: 240px; border-left: 3px solid var(--gold); padding-left: 18px; }
.recognition-thumb img { border-radius: 2px; }

/* ============================================================
   STORIES / BLOG
   ============================================================ */
.stories { padding: 20px 0 110px; }
.stories-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.story-card { display: flex; flex-direction: column; }
.story-media { border-radius: 3px; overflow: hidden; margin-bottom: 18px; aspect-ratio: 4/3; }
.story-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.story-card:hover .story-media img { transform: scale(1.06); }
.story-card .activity-meta { color: var(--green); margin-bottom: 10px; }
.story-card h3 { font-size: 19px; color: var(--forest); margin-bottom: 10px; }
.story-card p { font-size: 14.5px; color: var(--muted); margin-bottom: 16px; flex-grow: 1; }
.story-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid rgba(23,63,50,0.12); font-size: 13px; color: var(--muted); }
.story-foot span { color: var(--gold); font-weight: 700; transition: transform 0.25s var(--ease); }
.story-card:hover .story-foot span { transform: translateX(5px); }

/* ============================================================
   CTA
   ============================================================ */
.cta {
  background: var(--forest);
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  text-align: center;
}
.cta::before {
  content: '';
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(201,168,92,0.10) 0, transparent 45%),
                     radial-gradient(circle at 82% 70%, rgba(201,168,92,0.08) 0, transparent 45%);
}
.cta-inner { position: relative; max-width: 620px; margin: 0 auto; padding: 0 var(--gutter); color: var(--warm-white); }
.cta-inner h2 { font-size: clamp(30px, 4.4vw, 48px); color: var(--warm-white); margin-bottom: 20px; }
.cta-inner p { color: rgba(252,251,247,0.8); font-size: 16.5px; margin-bottom: 36px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--deep-green); color: rgba(252,251,247,0.72); padding: 80px 0 0; }
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(252,251,247,0.1);
}
.brand--footer { color: var(--warm-white); margin-bottom: 18px; }
.footer-tagline { font-family: var(--font-display); font-style: italic; color: var(--gold); font-size: 16px; margin: 18px 0 8px; }
.footer-location { font-size: 13.5px; color: rgba(252,251,247,0.5); }
.footer-col h4 { font-family: var(--font-body); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--warm-white); margin-bottom: 20px; }
.footer-col a { display: block; font-size: 14.5px; margin-bottom: 13px; transition: color 0.25s var(--ease); }
.footer-col a:hover { color: var(--gold); }
.footer-note { font-size: 14px; margin-bottom: 18px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px; border: 1px solid rgba(252,251,247,0.25);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 12px; text-transform: uppercase;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.footer-social a:hover { border-color: var(--gold); background: rgba(201,168,92,0.1); }
.footer-contact-strip { border-bottom: 1px solid rgba(252,251,247,0.1); }
.footer-contact-inner {
  max-width: var(--container); margin: 0 auto; padding: 26px var(--gutter);
  display: flex; flex-wrap: wrap; gap: 12px 40px;
  font-size: 13.5px; color: rgba(252,251,247,0.75);
}
.footer-contact-inner strong { color: var(--warm-white); font-weight: 600; }
.footer-contact-inner a { color: rgba(252,251,247,0.75); transition: color .2s var(--ease); }
.footer-contact-inner a:hover { color: var(--gold); }
.footer-email-sep { color: rgba(252,251,247,0.35); margin: 0 2px; }
.footer-bottom {
  max-width: var(--container); margin: 0 auto; padding: 22px var(--gutter);
  font-size: 13px; color: rgba(252,251,247,0.45);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
}
.footer-legal-links { display: flex; gap: 22px; }
.footer-legal-links a { color: rgba(252,251,247,0.55); transition: color .2s var(--ease); }
.footer-legal-links a:hover { color: var(--gold); }
@media (max-width: 640px) { .footer-bottom { justify-content: flex-start; } }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].in-view { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .header-actions { gap: 14px; }

  .about-inner { grid-template-columns: 1fr; gap: 50px; }
  .about-media { max-width: 420px; margin: 0 auto; }
  .about-media-frame { top: -18px; left: -18px; }

  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .program-card--large { grid-column: span 2; }
  .program-card--small { grid-column: span 1; }
  .program-card--type { grid-column: span 1; }

  .featured-story { grid-template-columns: 1fr; }
  .featured-story-media img { min-height: 320px; }

  .impact-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
  .impact-stat { border-left: none; border-top: 1px solid rgba(252,251,247,0.16); padding-top: 30px; }
  .impact-stat:nth-child(1), .impact-stat:nth-child(2) { border-top: none; }

  .activities-grid { grid-template-columns: 1fr; }
  .activity-card--large { min-height: 400px; }

  .milestone-inner { grid-template-columns: 1fr; gap: 40px; }
  .milestone-media { order: -1; }

  .recognition-inner { grid-template-columns: 1fr; gap: 40px; }

  .stories-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px 30px; }
}

@media (max-width: 640px) {
  .hero { min-height: 100vh; }
  .hero-content { padding-bottom: 64px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { text-align: center; }

  .trust-strip ul { flex-direction: column; gap: 16px; }
  .trust-strip li { flex: none; width: 100%; }

  .about { padding: 80px 0 70px; }

  .programs-grid { grid-template-columns: 1fr; }
  .program-card--large, .program-card--small, .program-card--type { grid-column: span 1; }

  .drop-cap::first-letter { font-size: 44px; }

  .impact-grid { grid-template-columns: 1fr; }
  .impact-stat { border-top: 1px solid rgba(252,251,247,0.16); padding-top: 26px; }
  .impact-stat:first-child { border-top: none; }

  .activity-card--small { flex-direction: column; height: auto; }
  .activity-card--small img { width: 100%; height: 180px; }

  .recognition-thumb { display: none; }

  .stories-grid { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; }
  .cta { padding: 90px 0; }
}

/* ============================================================
   INNER-PAGE SHARED COMPONENTS
   (Programs, About, Activities, Gallery, Impact, Blog, Awards,
   Volunteer, Careers, Donate, Contact, Legal pages)
   ============================================================ */

/* ---------- Desktop dropdown nav (Programs / More) ---------- */
.main-nav { position: relative; }
.nav-item { position: relative; }
.nav-item > button.nav-trigger {
  background: none; border: none; font: inherit;
  color: var(--warm-white);
  position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14.5px; font-weight: 500; padding: 4px 0;
  cursor: pointer;
  transition: color .25s var(--ease);
}
.nav-trigger::after {
  content: '';
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width 0.25s var(--ease);
}
.nav-item:hover .nav-trigger,
.nav-item.is-open .nav-trigger { color: var(--gold); }
.nav-item:hover .nav-trigger::after,
.nav-item.is-open .nav-trigger::after { width: 100%; }
.nav-trigger svg { width: 11px; height: 11px; transition: transform 0.25s var(--ease); }
.nav-item:hover .nav-trigger svg,
.nav-item.is-open .nav-trigger svg { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute; top: calc(100% + 18px); left: 50%;
  transform: translate(-50%, 8px);
  min-width: 268px;
  background: var(--warm-white);
  border-radius: 3px;
  box-shadow: 0 24px 48px -16px rgba(13,44,35,0.28);
  padding: 10px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
  z-index: 50;
}
.nav-item:hover .dropdown-menu,
.nav-item.is-open .dropdown-menu {
  opacity: 1; pointer-events: auto; transform: translate(-50%, 0);
}
.dropdown-menu a {
  display: block; padding: 11px 14px; border-radius: 2px;
  font-size: 14px; color: var(--text); font-weight: 500;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.dropdown-menu a:hover { background: var(--cream); color: var(--forest); }
.dropdown-menu a.is-active { color: var(--green); font-weight: 700; }

.main-nav a.is-active { color: var(--gold); }
.main-nav a.is-active::after { width: 100%; }
.nav-item.is-active .nav-trigger { color: var(--gold); }
.nav-item.is-active .nav-trigger::after { width: 100%; }

/* ---------- Mobile submenu ---------- */
.mobile-drawer .nav-group { display: flex; flex-direction: column; }
.mobile-submenu-toggle {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; background: none; border: none; text-align: left;
  font-family: var(--font-display); font-size: 18.5px; font-weight: 500;
  color: var(--warm-white); padding: 15px 4px;
  border-radius: 4px;
  transition: color 0.2s var(--ease);
}
.mobile-submenu-toggle:hover,
.mobile-submenu-toggle[aria-expanded="true"] { color: var(--gold); }
.mobile-submenu-toggle svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); flex-shrink: 0; }
.mobile-submenu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.mobile-submenu {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s var(--ease);
  display: flex; flex-direction: column;
  padding-left: 4px;
}
.mobile-submenu.is-open { max-height: 640px; padding-bottom: 8px; }
.mobile-submenu a {
  font-family: var(--font-body) !important;
  font-size: 15px !important; font-weight: 500 !important;
  color: rgba(252,251,247,0.72) !important;
  padding: 11px 4px 11px 16px !important;
  border-left: 2px solid rgba(201,168,92,0.4);
}
.mobile-submenu a:hover,
.mobile-submenu a:focus-visible,
.mobile-submenu a:active {
  color: var(--gold) !important;
  border-left-color: var(--gold);
  padding-left: 20px !important;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  min-height: 46vh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  background: var(--deep-green);
  margin-top: 0;
}
.page-hero-media { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media::after {
  content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(180deg, rgba(13,44,35,0.55) 0%, rgba(13,44,35,0.3) 45%, rgba(13,44,35,0.94) 100%);
}
.page-hero.no-media { background: var(--forest); min-height: 34vh; align-items: center; text-align: left; }
.page-hero-content {
  position: relative; z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  padding: 64px var(--gutter) 56px;
  color: var(--warm-white);
}
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(252,251,247,0.65);
  margin-bottom: 18px;
}
.breadcrumb a { color: rgba(252,251,247,0.85); transition: color .2s var(--ease); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span[aria-hidden] { color: var(--gold); }
.page-hero h1 { font-size: clamp(30px, 4.4vw, 52px); color: var(--warm-white); max-width: 780px; }
.page-hero-sub { font-size: 16px; color: rgba(252,251,247,0.82); max-width: 560px; margin-top: 16px; }

/* ---------- Generic content section wrapper ---------- */
.content { padding: 96px 0; }
.content--tight { padding: 64px 0; }
.content-narrow { max-width: 780px; margin: 0 auto; padding: 0 var(--gutter); }
.content-inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.content-inner p, .content-narrow p { color: var(--muted); font-size: 16.5px; margin-bottom: 18px; }
.content--alt { background: var(--warm-white); }

/* ---------- Value / Approach cards ---------- */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.value-grid.focus-grid { grid-template-columns: repeat(3, 1fr); }

.pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(22px, 3vw, 32px);
  color: var(--forest);
  line-height: 1.4;
}
.value-card { background: var(--warm-white); padding: 34px 26px; border-top: 3px solid var(--gold); }
.value-card svg { width: 34px; height: 34px; color: var(--forest); margin-bottom: 18px; }
.value-card h3 { font-size: 18.5px; color: var(--forest); margin-bottom: 10px; }
.value-card p { color: var(--muted); font-size: 14.5px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); align-items: start; }
.two-col--center { align-items: center; }
.two-col img { width: 100%; border-radius: 2px; }

/* ---------- Person / volunteer cards ---------- */
.people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.person-card { text-align: center; }
.person-photo {
  width: 100%; aspect-ratio: 1; border-radius: 3px; overflow: hidden; margin-bottom: 18px;
  background: var(--forest); display: flex; align-items: center; justify-content: center;
}
.person-photo svg { width: 44%; height: 44%; color: rgba(252,251,247,0.5); }
.person-photo--avatar { border-radius: 50%; aspect-ratio: 1; width: 72%; margin: 0 auto 18px; }
.person-photo--avatar span {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  color: var(--warm-white);
  letter-spacing: 0.02em;
}
.avatar-01 { background: linear-gradient(145deg, var(--forest), var(--green)); }
.avatar-02 { background: linear-gradient(145deg, var(--green), #3a7a5c); }
.avatar-03 { background: linear-gradient(145deg, var(--deep-green), var(--forest)); }
.person-card h3 { font-size: 18px; color: var(--forest); margin-bottom: 4px; }
.person-card p { color: var(--muted); font-size: 13.5px; letter-spacing: 0.04em; text-transform: uppercase; }

/* ---------- Program overview (index-style with featured + supporting) ---------- */
.overview-grid {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
}

/* ---------- Program detail layout ---------- */
.detail-block { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 90px; }
.detail-grid.reverse .detail-media { order: 2; }
.detail-grid--single { grid-template-columns: 1fr; max-width: 720px; }
.detail-media img { width: 100%; border-radius: 2px; aspect-ratio: 4/3; object-fit: cover; }
.detail-media.no-photo {
  aspect-ratio: 4/3; background: var(--forest); border-radius: 2px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px; text-align: center;
}
.detail-media.no-photo svg { width: 64px; height: 64px; color: var(--gold); margin-bottom: 20px; }
.detail-media.no-photo p { color: rgba(252,251,247,0.65); font-size: 14px; }
.detail-copy .eyebrow { margin-bottom: 12px; }
.detail-copy h2 { font-size: clamp(24px, 3vw, 32px); color: var(--forest); margin-bottom: 18px; }
.detail-list { display: flex; flex-direction: column; gap: 14px; margin: 22px 0; }
.detail-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--text); font-size: 15px; }
.detail-list li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--gold); }

.impact-callout {
  display: flex; gap: 40px; flex-wrap: wrap;
  background: var(--forest); border-radius: 3px; padding: 40px;
  max-width: var(--container); margin: 0 auto 90px; margin-left: var(--gutter); margin-right: var(--gutter);
}
@media (min-width: 1304px) { .impact-callout { margin-left: auto; margin-right: auto; } }
.impact-callout-item { color: var(--warm-white); }
.impact-callout-item strong { display: block; font-family: var(--font-display); font-size: 30px; color: var(--gold); margin-bottom: 6px; }
.impact-callout-item span { font-size: 14px; color: rgba(252,251,247,0.78); }

/* ---------- Gallery ---------- */
.gallery-filters {
  display: flex; flex-wrap: wrap; gap: 10px;
  max-width: var(--container); margin: 0 auto 40px; padding: 0 var(--gutter);
}
.gallery-filter {
  background: var(--warm-white); border: 1px solid rgba(23,63,50,0.15);
  padding: 9px 20px; border-radius: 30px; font-size: 13.5px; font-weight: 600;
  color: var(--muted); transition: all 0.25s var(--ease);
}
.gallery-filter.is-active, .gallery-filter:hover { background: var(--forest); color: var(--warm-white); border-color: var(--forest); }

/* ---------- Proud Moments strip (Activities page teaser) ---------- */
.proud-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  max-width: var(--container); margin: 0 auto 32px; padding: 0 var(--gutter);
}
.proud-strip-item { aspect-ratio: 1; border-radius: 4px; overflow: hidden; display: block; box-shadow: 0 10px 24px -14px rgba(13,44,35,0.25); }
.proud-strip-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.proud-strip-item:hover img { transform: scale(1.08); }
.proud-video-feature { max-width: 720px; margin: 0 auto 8px; padding: 0 var(--gutter); }
@media (max-width: 640px) {
  .proud-strip { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Standalone video embed (About / Environment / Activities pages) ---------- */
.video-embed { max-width: 480px; }
.video-embed.video-embed--wide { max-width: 720px; }
.video-frame {
  position: relative; width: 100%; border-radius: 3px; overflow: hidden;
  background: var(--deep-green); box-shadow: 0 20px 44px -22px rgba(13,44,35,0.35);
}
.video-frame--portrait { aspect-ratio: 9 / 16; max-width: 320px; margin: 0 auto; }
.video-frame--landscape { aspect-ratio: 16 / 9; }
.video-frame video, .video-frame iframe {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  border: none; background: var(--deep-green);
}
.video-frame--portrait video { object-fit: contain; }
.video-frame--landscape video, .video-frame--landscape iframe { object-fit: cover; }
.video-caption {
  margin-top: 14px; text-align: center; font-size: 14.5px; font-weight: 600; color: var(--forest);
}

/* ---------- Gallery archive: unified card grid (photos + videos) ---------- */
.gallery-grid {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.gallery-item {
  position: relative; border-radius: 4px; overflow: hidden; cursor: zoom-in;
  background: var(--warm-white);
  border: 1px solid rgba(23,63,50,0.08);
  box-shadow: 0 10px 26px -16px rgba(13,44,35,0.2);
  aspect-ratio: 4 / 3;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.gallery-item:hover { box-shadow: 0 22px 42px -18px rgba(13,44,35,0.32); transform: translateY(-3px); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item-overlay {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; opacity: 0;
  background: linear-gradient(180deg, rgba(13,44,35,0) 50%, rgba(13,44,35,0.88) 100%);
  display: flex; align-items: flex-end; padding: 16px;
  transition: opacity 0.3s var(--ease);
}
.gallery-item:hover .gallery-item-overlay, .gallery-item.is-video-item .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay span { color: var(--warm-white); font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }

/* Video cards: featured 2-column, 16:9, play badge */
.gallery-item.is-video-item {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
  background: var(--deep-green);
  cursor: pointer;
}
.gallery-item.is-video-item .gallery-item-overlay { background: linear-gradient(180deg, rgba(13,44,35,0.15) 0%, rgba(13,44,35,0.85) 100%); }
.play-badge {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 58px; height: 58px; border-radius: 50%;
  background: rgba(252,251,247,0.94);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(0,0,0,0.35);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.play-badge svg { width: 20px; height: 20px; color: var(--forest); margin-left: 3px; }
.gallery-item.is-video-item:hover .play-badge { transform: translate(-50%, -50%) scale(1.12); background: var(--warm-white); }

@media (max-width: 1023px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 479px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.is-video-item { grid-column: span 1; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 200;
  background: rgba(13,44,35,0.96);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: min(88vw, 1100px); max-height: 82vh; object-fit: contain; border-radius: 2px; }
#lightboxMedia { display: flex; align-items: center; justify-content: center; max-width: 92vw; max-height: 82vh; }
#lightboxMedia video { max-width: min(88vw, 480px); max-height: 82vh; border-radius: 2px; background: #000; }
#lightboxMedia iframe { width: min(88vw, 900px); aspect-ratio: 16 / 9; max-height: 82vh; border-radius: 2px; border: none; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; background: rgba(252,251,247,0.08); border: 1px solid rgba(252,251,247,0.25);
  color: var(--warm-white); border-radius: 50%; width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background 0.2s var(--ease);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(252,251,247,0.18); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-caption { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); color: rgba(252,251,247,0.75); font-size: 13.5px; text-align: center; }
@media (max-width: 640px) {
  .lightbox-prev { left: 10px; width: 40px; height: 40px; }
  .lightbox-next { right: 10px; width: 40px; height: 40px; }
  .lightbox-close { top: 14px; right: 14px; width: 40px; height: 40px; }
}

/* ---------- Forms ---------- */
.form-card { background: var(--warm-white); padding: clamp(28px, 4vw, 48px); border-radius: 3px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-field label { font-size: 13.5px; font-weight: 600; color: var(--forest); }
.form-field .req { color: var(--gold); }
.form-field input, .form-field textarea, .form-field select {
  font-family: var(--font-body); font-size: 15px; color: var(--text);
  padding: 13px 16px; border: 1.5px solid rgba(23,63,50,0.18); border-radius: 2px;
  background: var(--cream); transition: border-color 0.2s var(--ease);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--green); background: var(--warm-white);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field.has-error input, .form-field.has-error textarea, .form-field.has-error select { border-color: #b3543f; }
.field-error { font-size: 12.5px; color: #b3543f; display: none; }
.form-field.has-error .field-error { display: block; }
.form-honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; }
.form-submit-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-status {
  display: none; padding: 14px 18px; border-radius: 2px; font-size: 14px; margin-bottom: 22px;
}
.form-status.is-success { display: block; background: rgba(40,99,77,0.12); color: var(--forest); border: 1px solid rgba(40,99,77,0.3); }
.form-status.is-error { display: block; background: rgba(179,84,63,0.1); color: #8a3f2d; border: 1px solid rgba(179,84,63,0.3); }
.form-note { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* ---------- Contact layout ---------- */
.contact-grid {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px;
}
.contact-info-list { display: flex; flex-direction: column; gap: 26px; margin: 30px 0 36px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-item svg { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.contact-info-item h4 { font-size: 14px; color: var(--forest); margin-bottom: 4px; }
.contact-info-item p, .contact-info-item a { color: var(--muted); font-size: 14.5px; }
.contact-map { margin-top: 34px; border-radius: 3px; overflow: hidden; aspect-ratio: 4/3; border: none; }
.contact-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Donate ---------- */
/* ---------- Bank details / UPI (Donate page) ---------- */
.bank-details-card {
  max-width: 680px; margin: 0 auto; background: var(--warm-white);
  border-radius: 3px; overflow: hidden; box-shadow: 0 20px 50px -24px rgba(13,44,35,0.25);
}
.bank-details-header { background: var(--forest); padding: 22px 32px; }
.bank-details-header h3 { color: var(--warm-white); font-size: 19px; font-weight: 500; }
.bank-details-list { margin: 0; padding: 8px 32px; }
.bank-detail-row {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 16px 0; border-bottom: 1px solid rgba(23,63,50,0.1);
}
.bank-detail-row:last-child { border-bottom: none; }
.bank-detail-row dt { font-size: 13.5px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.bank-detail-row dd { margin: 0; font-size: 16px; font-weight: 600; color: var(--forest); text-align: right; font-family: var(--font-display); }
.bank-detail-row--upi dd { display: flex; align-items: center; gap: 12px; }
.bank-detail-row--upi #upiId { font-family: var(--font-body); font-weight: 700; letter-spacing: 0.01em; }
.btn-copy-upi {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--gold); color: var(--deep-green);
  border: none; padding: 9px 16px; border-radius: 2px;
  font-family: var(--font-body); font-size: 12.5px; font-weight: 700;
  cursor: pointer; transition: background 0.2s var(--ease), transform 0.2s var(--ease);
  white-space: nowrap;
}
.btn-copy-upi svg { width: 14px; height: 14px; }
.btn-copy-upi:hover { background: #d8b872; }
.btn-copy-upi:active { transform: scale(0.96); }
.btn-copy-upi.is-copied { background: var(--green); color: var(--warm-white); }
.tax-info {
  background: var(--cream); padding: 16px 32px; font-size: 13.5px; color: var(--text);
  border-top: 1px solid rgba(23,63,50,0.1);
}
.tax-info strong { color: var(--forest); }

.copy-toast {
  position: fixed; left: 50%; bottom: 32px; transform: translateX(-50%) translateY(20px);
  background: var(--deep-green); color: var(--warm-white);
  padding: 13px 26px; border-radius: 30px; font-size: 14px; font-weight: 600;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,0.4);
  opacity: 0; pointer-events: none; z-index: 300;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.copy-toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

.safety-notice {
  max-width: 680px; margin: 32px auto 0; padding: 22px 26px;
  background: rgba(201,168,92,0.1); border: 1px solid rgba(201,168,92,0.35);
  border-radius: 3px; display: flex; gap: 16px; align-items: flex-start;
}
.safety-notice svg { width: 26px; height: 26px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.safety-notice p { font-size: 13.5px; color: var(--text); line-height: 1.65; margin: 0; }
.safety-notice p strong { color: var(--forest); }

@media (max-width: 640px) {
  .bank-details-header { padding: 18px 22px; }
  .bank-details-list { padding: 4px 22px; }
  .bank-detail-row { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px 0; }
  .bank-detail-row dd { text-align: left; }
  .bank-detail-row--upi dd { flex-direction: column; align-items: flex-start; width: 100%; }
  .btn-copy-upi { width: 100%; justify-content: center; }
  .tax-info { padding: 14px 22px; }
  .safety-notice { flex-direction: column; padding: 18px 20px; }
}

.donate-grid { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.donate-card { background: var(--warm-white); padding: 34px 28px; border-top: 3px solid var(--gold); display: flex; flex-direction: column; }
.donate-card svg { width: 32px; height: 32px; color: var(--forest); margin-bottom: 18px; }
.donate-card h3 { font-size: 19px; color: var(--forest); margin-bottom: 10px; }
.donate-card p { color: var(--muted); font-size: 14.5px; margin-bottom: 20px; flex-grow: 1; }
.donate-note {
  max-width: var(--container); margin: 50px auto 0; padding: 28px var(--gutter);
  border-top: 1px solid rgba(23,63,50,0.12);
}
.donate-note p { color: var(--muted); font-size: 14px; }
.gateway-pending {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold); background: rgba(201,168,92,0.12); padding: 8px 18px; border-radius: 30px;
  margin-bottom: 16px;
}
.gateway-pending svg { width: 15px; height: 15px; flex-shrink: 0; }

.coming-soon-panel {
  max-width: var(--container); margin: 0 auto 50px; padding: 0 var(--gutter);
  display: flex; align-items: flex-start; gap: 24px;
}
.coming-soon-panel { background: var(--warm-white); border-top: 3px solid var(--gold); padding: 32px clamp(24px, 4vw, 44px); margin-left: var(--gutter); margin-right: var(--gutter); }
@media (min-width: 1304px) { .coming-soon-panel { margin-left: auto; margin-right: auto; max-width: var(--container); } }
.coming-soon-icon {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  background: rgba(201,168,92,0.14); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.coming-soon-icon svg { width: 24px; height: 24px; }
.coming-soon-panel h3 { font-size: 19px; color: var(--forest); margin-bottom: 8px; }
.coming-soon-panel p { color: var(--muted); font-size: 15px; margin-bottom: 0; }
@media (max-width: 640px) {
  .coming-soon-panel { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ---------- Careers ---------- */
.job-card {
  max-width: var(--container); margin: 0 auto 20px; padding: 34px var(--gutter);
  background: var(--warm-white); border-left: 3px solid var(--gold);
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.job-card-main h3 { font-size: 21px; color: var(--forest); margin-bottom: 8px; }
.job-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); margin-bottom: 12px; }
.job-meta span { display: inline-flex; align-items: center; gap: 6px; }
.job-card-main p { color: var(--muted); font-size: 14.5px; max-width: 560px; }
.empty-state {
  max-width: 560px; margin: 0 auto; padding: 70px var(--gutter); text-align: center;
}
.empty-state svg { width: 56px; height: 56px; color: var(--gold); margin-bottom: 22px; }
.empty-state h3 { font-size: 22px; color: var(--forest); margin-bottom: 12px; }
.empty-state p { color: var(--muted); margin-bottom: 26px; }

/* ---------- FAQ Accordion ---------- */
.faq-list { max-width: 780px; margin: 0 auto; padding: 0 var(--gutter); }
.faq-item { border-bottom: 1px solid rgba(23,63,50,0.14); }
.faq-question {
  width: 100%; background: none; border: none; text-align: left;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font-family: var(--font-display); font-size: 17.5px; color: var(--forest); font-weight: 500;
}
.faq-question svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; transition: transform 0.3s var(--ease); }
.faq-question[aria-expanded="true"] svg { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq-answer.is-open { max-height: 300px; }
.faq-answer p { color: var(--muted); font-size: 15px; padding-bottom: 22px; max-width: 640px; }

/* ---------- Legal pages ---------- */
.legal-content { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }
.legal-content h2 { font-size: 24px; color: var(--forest); margin: 44px 0 16px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { color: var(--text); font-size: 15.5px; margin-bottom: 16px; line-height: 1.75; }
.legal-content ul { margin: 0 0 16px; padding-left: 22px; }
.legal-content li { color: var(--text); font-size: 15.5px; margin-bottom: 8px; line-height: 1.7; list-style: disc; }
.legal-updated { color: var(--muted); font-size: 13.5px; margin-bottom: 40px; display: block; }

/* ---------- Blog detail ---------- */
.article-header { max-width: 780px; margin: 0 auto; padding: 0 var(--gutter) 40px; text-align: center; }
.article-header h1 { font-size: clamp(28px, 4vw, 42px); color: var(--forest); margin: 18px 0; }
.article-meta { display: flex; justify-content: center; gap: 18px; font-size: 13.5px; color: var(--muted); }
.article-cover { max-width: var(--container); margin: 0 auto 56px; padding: 0 var(--gutter); }
.article-cover img { width: 100%; border-radius: 3px; aspect-ratio: 21/9; object-fit: cover; }
.article-body { max-width: 720px; margin: 0 auto; padding: 0 var(--gutter); }
.article-body h3 { font-size: 21px; color: var(--forest); margin: 34px 0 14px; }
.article-body p { color: var(--text); font-size: 16.5px; line-height: 1.8; margin-bottom: 18px; }
.article-body ul { padding-left: 22px; margin-bottom: 18px; }
.article-body li { color: var(--text); font-size: 16px; margin-bottom: 10px; line-height: 1.7; }
.article-quote {
  border-left: 3px solid var(--gold); padding: 4px 0 4px 26px; margin: 30px 0;
  font-family: var(--font-display); font-style: italic; font-size: 19px; color: var(--forest);
}
.article-share { display: flex; align-items: center; gap: 14px; margin-top: 40px; padding-top: 26px; border-top: 1px solid rgba(23,63,50,0.12); }
.article-share span { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.article-share a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(23,63,50,0.18); display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--forest); transition: all 0.2s var(--ease); }
.article-share a:hover { background: var(--forest); color: var(--warm-white); border-color: var(--forest); }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 60;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--forest); color: var(--warm-white);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.2s var(--ease);
  box-shadow: 0 10px 24px -8px rgba(13,44,35,0.4);
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--green); }
.back-to-top svg { width: 18px; height: 18px; }

/* ---------- Category badge (activities/blog reuse) ---------- */
.cat-badge {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--green); background: rgba(40,99,77,0.1); padding: 5px 12px; border-radius: 20px; margin-bottom: 12px;
}

/* ---------- Responsive: inner-page components ---------- */
@media (max-width: 980px) {
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid.focus-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 34px; }
  .people-grid { grid-template-columns: repeat(2, 1fr); }
  .overview-grid { grid-template-columns: 1fr 1fr; }
  .detail-grid { grid-template-columns: 1fr; gap: 34px; }
  .detail-grid.reverse .detail-media { order: 0; }
  .gallery-grid { columns: 3 180px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .donate-grid { grid-template-columns: 1fr 1fr; }
  .dropdown-menu { position: static; opacity: 1; pointer-events: auto; transform: none; box-shadow: none; display: none; }
}
@media (max-width: 640px) {
  .page-hero-content { padding: 48px var(--gutter) 40px; }
  .value-grid { grid-template-columns: 1fr; }
  .value-grid.focus-grid { grid-template-columns: 1fr; }
  .people-grid { grid-template-columns: 1fr; }
  .overview-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .gallery-grid { columns: 2 140px; }
  .job-card { flex-direction: column; align-items: flex-start; }
  .donate-grid { grid-template-columns: 1fr; }
  .impact-callout { flex-direction: column; gap: 22px; padding: 30px 24px; }
  .back-to-top { right: 16px; bottom: 16px; width: 42px; height: 42px; }
}
