/* ══════════════════════════════════════════
   TOKENS
══════════════════════════════════════════ */
:root {
  /* ── Light theme ─────────────────────────────
     Brand greens kept for accents & dark-on-gold text.
     New surface/ink tokens drive the light UI.        */
  --green-deep:    #0D2B1A;   /* dark brand ink (text on gold, marquee) */
  --green-dark:    #142E1E;   /* legacy dark (rarely used now)          */
  --green-mid:     #1C4A2E;
  --green-bright:  #2A7A4B;
  --green-vivid:   #34A85A;
  --green-light:   #6FCF87;

  /* Surfaces (light) */
  --bg:            #F6FAF4;   /* page background           */
  --bg-alt:        #ECF3E8;   /* alternating sections      */
  --surface:       #FFFFFF;   /* cards / inputs            */
  --card-bg:       #FFFFFF;   /* (kept name) card surface  */

  /* Text */
  --ink:           #16331F;   /* primary text              */
  --white:         #FFFFFF;   /* true white (badges, captions on photos) */
  --white-soft:    #EAF2EA;
  --muted:         #56705F;   /* secondary text (AA on white) */

  /* Accent */
  --gold:          #FC9C00;   /* fills / buttons           */
  --gold-light:    #FFB84D;
  --gold-pale:     #FBD999;
  --gold-ink:      #9C5C0C;   /* gold for small text/links (AA on white) */

  /* Lines */
  --border:        rgba(20,60,36,0.12);
  --border-gold:   rgba(178,106,16,0.32);

  --shadow-card:   0 6px 24px rgba(20,50,31,0.06), 0 1px 3px rgba(20,50,31,0.05);

  --fs-xs:   clamp(0.68rem, 1.5vw, 0.78rem);
  --fs-sm:   clamp(0.82rem, 2vw,   0.92rem);
  --fs-base: clamp(0.92rem, 2.2vw, 1.05rem);
  --fs-lg:   clamp(1.1rem,  2.5vw, 1.3rem);
  --fs-xl:   clamp(1.4rem,  3vw,   1.8rem);
  --fs-2xl:  clamp(2rem,    4vw,   3rem);
  --fs-3xl:  clamp(2.8rem,  6vw,   5rem);

  --space-xs:  clamp(8px,  2vw,  12px);
  --space-sm:  clamp(12px, 3vw,  20px);
  --space-md:  clamp(20px, 4vw,  36px);
  --space-lg:  clamp(36px, 6vw,  72px);
  --space-xl:  clamp(56px, 8vw, 120px);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
}

/* ══════════════════════════════════════════
   RESET & BASE
══════════════════════════════════════════ */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  overflow-x: hidden;
  line-height: 1.6;
}
img { display:block; max-width:100%; height:auto; }
a { text-decoration:none; color:inherit; }
button { font-family:'Outfit', sans-serif; cursor:pointer; }
input, select { font-family:'Outfit', sans-serif; }

/* Grain overlay */
body::after {
  content:'';
  position:fixed; inset:0;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events:none;
  z-index:9999;
  opacity:.5;
}

/* ══════════════════════════════════════════
   SCROLLBAR
══════════════════════════════════════════ */
::-webkit-scrollbar { width:6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--green-bright); border-radius:3px; }

/* ══════════════════════════════════════════
   NAV
══════════════════════════════════════════ */
nav {
  position: fixed;
  top:0; left:0; right:0;
  z-index: 200;
  padding: clamp(14px,3vw,22px) clamp(20px,5vw,64px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  transition: background 0.4s, box-shadow 0.4s;
}
nav.scrolled {
  background: rgba(255,255,255,0.92);
  box-shadow: 0 2px 24px rgba(20,50,31,0.10);
  backdrop-filter: blur(12px);
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.5px;
  white-space: nowrap;
  flex-shrink:0;
}
.logo span { color: var(--gold); }

.nav-links {
  display: flex;
  list-style: none;
  gap: clamp(16px, 3vw, 36px);
  align-items: center;
}
.nav-links a {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(22,51,31,0.7);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold-light); }

.btn-nav {
  background: var(--gold);
  color: var(--green-deep) !important;
  padding: clamp(8px,1.5vw,12px) clamp(16px,2.5vw,28px);
  border-radius: var(--radius-sm);
  font-weight: 700 !important;
  transition: background 0.2s, transform 0.2s !important;
  white-space: nowrap;
  color: var(--green-deep) !important;
}
.btn-nav:hover {
  background: var(--gold-light) !important;
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s;
  display: block;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity:0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.mobile-menu {
  display: none;
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(246,250,244,0.97);
  z-index:190;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  backdrop-filter: blur(16px);
}
.mobile-menu.open { display:flex; }
.mobile-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 7vw, 3.5rem);
  font-weight: 700;
  color: var(--ink);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu .btn-mobile {
  background: var(--gold);
  color: var(--green-deep);
  padding: 14px 48px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  margin-top: 8px;
}

/* ──── DROPDOWN MENUS ──── */
.nav-dropdown {
  position: relative;
}
.nav-dropdown > button {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(22,51,31,0.7);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color 0.2s;
}
.nav-dropdown > button:hover {
  color: var(--gold-light);
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 12px 0;
  margin-top: 8px;
  min-width: 200px;
  z-index: 300;
  border: 1px solid var(--border);
}
.dropdown-menu.open {
  display: flex;
  flex-direction: column;
  animation: fadeDown 0.2s ease;
}
.dropdown-menu a {
  padding: 10px 20px;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--ink);
  transition: all 0.2s;
  white-space: nowrap;
}
.dropdown-menu a:hover {
  background: var(--bg-alt);
  color: var(--gold);
  padding-left: 24px;
}

/* Mobile submenu */
.mobile-submenu-item {
  width: 100%;
}
.mobile-submenu-btn {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 7vw, 3.5rem);
  font-weight: 700;
  color: var(--ink);
  background: none;
  border: none;
  width: 100%;
  text-align: center;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-submenu-btn:hover {
  color: var(--gold);
}
.mobile-submenu {
  display: none;
  flex-direction: column;
  gap: 16px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.mobile-submenu.open {
  display: flex;
  max-height: 500px;
  margin-top: 16px;
}
.mobile-submenu a {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.2rem, 5vw, 1.8rem);
  color: var(--ink);
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 0 clamp(20px,5vw,64px);
}

/* Decorative background blobs */
.hero::before {
  content:'';
  position:absolute;
  width: clamp(300px,50vw,700px);
  height: clamp(300px,50vw,700px);
  background: radial-gradient(ellipse, rgba(52,168,90,0.18) 0%, transparent 70%);
  top: -10%; right: -5%;
  pointer-events:none;
}
.hero::after {
  content:'';
  position:absolute;
  width: clamp(200px,35vw,500px);
  height: clamp(200px,35vw,500px);
  background: radial-gradient(ellipse, rgba(232,146,42,0.1) 0%, transparent 70%);
  bottom: 10%; left: 5%;
  pointer-events:none;
}

.hero-content {
  position: relative;
  z-index:2;
  padding: clamp(100px,12vw,160px) 0 clamp(60px,8vw,100px);
  max-width: 640px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(52,168,90,0.12);
  border: 1px solid rgba(52,168,90,0.3);
  color: var(--green-light);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: clamp(20px,3vw,32px);
  animation: fadeUp 0.7s ease both;
}
.hero-pill::before {
  content:'';
  width:7px; height:7px;
  background: var(--green-vivid);
  border-radius:50%;
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.2} }

h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--fs-3xl);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -1px;
  margin-bottom: clamp(16px,3vw,28px);
  animation: fadeUp 0.7s 0.1s ease both;
}
h1 em {
  font-style: italic;
  color: var(--gold);
  display: block;
}

.hero-sub {
  font-size: var(--fs-base);
  font-weight: 300;
  color: rgba(22,51,31,0.72);
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: clamp(28px,4vw,48px);
  animation: fadeUp 0.7s 0.2s ease both;
}

.hero-btns {
  display: flex;
  gap: clamp(10px,2vw,16px);
  flex-wrap: wrap;
  animation: fadeUp 0.7s 0.3s ease both;
}

.btn-primary {
  background: var(--gold);
  color: var(--green-deep);
  padding: clamp(12px,2vw,16px) clamp(24px,4vw,40px);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  transition: all 0.25s;
  display: inline-block;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(232,146,42,0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  padding: clamp(12px,2vw,16px) clamp(24px,4vw,40px);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: 500;
  border: 1px solid rgba(22,51,31,0.2);
  transition: all 0.25s;
  display: inline-block;
}
.btn-ghost:hover {
  border-color: var(--green-light);
  color: var(--green-light);
}

.hero-stats {
  display: flex;
  gap: clamp(24px,5vw,56px);
  margin-top: clamp(40px,6vw,72px);
  padding-top: clamp(24px,4vw,48px);
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  animation: fadeUp 0.7s 0.4s ease both;
}
.stat-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--gold);
  line-height:1;
}
.stat-lbl {
  font-size: var(--fs-xs);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top:4px;
}

/* Hero mosaic */
.hero-visual {
  position: relative;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(3, 1fr);
  gap: 5px;
  width: 92%;
  height: 80%;
  border-radius: var(--radius-md);
  overflow: hidden;
  animation: fadeIn 1s 0.3s ease both;
}
.mosaic-item { overflow:hidden; position:relative; background:var(--card-bg); }
.mosaic-item img {
  width:100%; height:100%; object-fit:cover;
  transition: transform 0.6s ease;
  filter: brightness(1) saturate(1);
}
.mosaic-item:hover img { transform:scale(1.06); }
.mosaic-item:nth-child(1) { grid-row: span 2; }
.mosaic-item:nth-child(4) { grid-column: span 2; }
.mosaic-tint {
  position:absolute; inset:0;
  background: linear-gradient(135deg, rgba(13,43,26,0.25) 0%, transparent 60%);
}

/* ══════════════════════════════════════════
   MARQUEE
══════════════════════════════════════════ */
.marquee-band {
  background: var(--gold);
  padding: clamp(10px,2vw,16px) 0;
  overflow: hidden;
}
.marquee-track {
  display:flex;
  width: max-content;
  animation: ticker 28s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.m-item {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(0.8rem,2vw,1rem);
  font-weight: 700;
  color: var(--green-deep);
  letter-spacing:0.1em;
  text-transform:uppercase;
  padding: 0 clamp(20px,4vw,44px);
  white-space:nowrap;
}
.m-item::after { content:'✦'; margin-left:clamp(20px,4vw,44px); opacity:0.45; }
@keyframes ticker { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ══════════════════════════════════════════
   SHARED SECTION
══════════════════════════════════════════ */
.section {
  padding: var(--space-xl) clamp(20px,5vw,64px);
}
.section-tag {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: clamp(10px,2vw,16px);
  display:block;
}
.section-h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--fs-2xl);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: clamp(12px,2vw,24px);
}
.section-sub {
  font-size: var(--fs-base);
  font-weight: 300;
  color: rgba(22,51,31,0.66);
  line-height: 1.75;
}

/* ══════════════════════════════════════════
   CAUSES
══════════════════════════════════════════ */
#causes { background: var(--bg-alt); }

.causes-hdr {
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap: var(--space-md);
  margin-bottom: clamp(36px,5vw,64px);
  flex-wrap: wrap;
}

.causes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(16px,3vw,28px);
}

.cause-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
  cursor: pointer;
}
.cause-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
  border-color: var(--border-gold);
}

.cause-img-wrap {
  height: clamp(160px,25vw,230px);
  overflow:hidden;
  position:relative;
}
.cause-img-wrap img {
  width:100%; height:100%; object-fit:cover;
  filter:brightness(1) saturate(1);
  transition: transform 0.5s ease;
}
.cause-card:hover .cause-img-wrap img { transform:scale(1.08); }

.cause-badge {
  position:absolute; top:14px; left:14px;
  background:var(--gold);
  color:var(--green-deep);
  font-size: var(--fs-xs);
  font-weight:700;
  letter-spacing:0.07em;
  text-transform:uppercase;
  padding:4px 12px;
  border-radius:var(--radius-sm);
}
.cause-badge.new { background:var(--green-vivid); color:white; }

.cause-body { padding: clamp(18px,3vw,28px); }
.cause-cat {
  font-size:var(--fs-xs);
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.12em;
  color:var(--gold);
  margin-bottom:8px;
}
.cause-body h3 {
  font-family:'Cormorant Garamond', serif;
  font-size:var(--fs-xl);
  font-weight:700;
  line-height:1.25;
  margin-bottom:10px;
}
.cause-body p {
  font-size:var(--fs-sm);
  color:var(--muted);
  line-height:1.65;
  margin-bottom:var(--space-sm);
}

.prog-wrap { margin-bottom:var(--space-sm); }
.prog-info {
  display:flex;
  justify-content:space-between;
  font-size:var(--fs-xs);
  margin-bottom:6px;
  gap:8px;
  flex-wrap:wrap;
}
.prog-raised { color:var(--gold); font-weight:600; }
.prog-goal { color:var(--muted); }
.prog-bar {
  height:3px;
  background:rgba(20,55,33,0.08);
  border-radius:100px;
  overflow:hidden;
}
.prog-fill {
  height:100%;
  background:linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius:100px;
  transition: width 1.5s cubic-bezier(.25,.46,.45,.94);
}

.cause-cta {
  display:block;
  width:100%;
  text-align:center;
  background:transparent;
  border:1px solid var(--border-gold);
  color:var(--gold);
  padding:clamp(10px,2vw,13px);
  border-radius:var(--radius-sm);
  font-size:var(--fs-xs);
  font-weight:700;
  letter-spacing:0.08em;
  text-transform:uppercase;
  transition:all 0.25s;
}
.cause-cta:hover {
  background:var(--gold);
  color:var(--green-deep);
  border-color:var(--gold);
}

/* ══════════════════════════════════════════
   IMPACT
══════════════════════════════════════════ */
#impact {
  position:relative;
  overflow:hidden;
  background:var(--bg);
}
#impact::before {
  content:'';
  position:absolute;
  inset:0;
  background:
    radial-gradient(ellipse at 5% 50%, rgba(52,168,90,0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 95% 20%, rgba(232,146,42,0.07) 0%, transparent 50%);
  pointer-events:none;
}

.impact-inner {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap: clamp(40px,7vw,90px);
  align-items:center;
  position:relative;
  z-index:1;
}

.impact-desc {
  font-size:var(--fs-base);
  color:rgba(22,51,31,0.6);
  line-height:1.8;
  margin-bottom:clamp(28px,4vw,44px);
}

.counters {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:clamp(14px,2.5vw,22px);
}
.ctr-card {
  background:var(--card-bg);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  padding:clamp(18px,3vw,28px) clamp(14px,2.5vw,22px);
  position:relative;
  overflow:hidden;
  transition:border-color 0.3s;
}
.ctr-card:hover { border-color:var(--border-gold); }
.ctr-card::before {
  content:'';
  position:absolute;
  top:0;left:0;right:0;
  height:2px;
  background:linear-gradient(90deg, var(--gold), transparent);
}
.ctr-num {
  font-family:'Cormorant Garamond', serif;
  font-size:clamp(1.8rem,4vw,3rem);
  font-weight:700;
  color:var(--gold);
  line-height:1;
  margin-bottom:4px;
}
.ctr-lbl {
  font-size:var(--fs-xs);
  color:var(--muted);
  font-weight:500;
}

.impact-visual {
  position:relative;
  height:clamp(380px,55vw,620px);
}
.imp-img-a {
  position:absolute;
  top:0; right:0;
  width:82%;
  height:72%;
  border-radius:var(--radius-md);
  overflow:hidden;
}
.imp-img-a img { width:100%;height:100%;object-fit:cover;filter:brightness(1); }
.imp-img-b {
  position:absolute;
  bottom:0; left:0;
  width:52%;
  height:44%;
  border-radius:var(--radius-md);
  overflow:hidden;
  border:4px solid var(--green-deep);
}
.imp-img-b img { width:100%;height:100%;object-fit:cover;filter:brightness(1); }
.imp-quote {
  position:absolute;
  bottom:32%;
  right:-6px;
  background:var(--gold);
  color:var(--green-deep);
  padding:clamp(14px,2vw,20px) clamp(16px,2.5vw,24px);
  border-radius:var(--radius-sm);
  max-width:clamp(160px,25vw,220px);
  font-family:'Cormorant Garamond', serif;
  font-size:clamp(0.82rem,1.5vw,0.95rem);
  font-style:italic;
  font-weight:700;
  line-height:1.5;
  box-shadow:0 20px 60px rgba(0,0,0,0.5);
  z-index:3;
}

/* ══════════════════════════════════════════
   GALLERY
══════════════════════════════════════════ */
#gallery {
  background:var(--bg-alt);
  padding:0;
}
.gallery-strip {
  display:grid;
  grid-template-columns:repeat(5,1fr);
  height:clamp(200px,30vw,400px);
}
.gal-item { overflow:hidden; position:relative; cursor:pointer; }
.gal-item img {
  width:100%;height:100%;object-fit:cover;
  filter:brightness(0.95) saturate(0.95);
  transition:transform 0.5s ease, filter 0.5s ease;
}
.gal-item:hover img { transform:scale(1.1); filter:brightness(1.02) saturate(1.05); }
.gal-overlay {
  position:absolute;inset:0;
  background:linear-gradient(to top, rgba(13,43,26,0.8), transparent);
  opacity:0;
  transition:opacity 0.3s;
  display:flex; align-items:flex-end;
  padding:clamp(10px,2vw,18px);
}
.gal-item:hover .gal-overlay { opacity:1; }
.gal-caption { font-size:var(--fs-xs); font-weight:600; color:var(--white); }

/* ══════════════════════════════════════════
   DONATE
══════════════════════════════════════════ */
#donate { background:var(--bg); }

.donate-center {
  max-width:min(680px, 100%);
  margin:0 auto;
  text-align:center;
}
.donate-center .section-h2 { margin-bottom:12px; }
.donate-sub-text {
  color:var(--muted);
  font-size:var(--fs-base);
  line-height:1.7;
  margin-bottom:clamp(32px,5vw,56px);
}

.donate-box {
  background:var(--card-bg);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:clamp(24px,5vw,48px);
  text-align:left;
}

/* Currency row */
.d-label {
  display:block;
  font-size:var(--fs-xs);
  font-weight:700;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:clamp(8px,1.5vw,12px);
}
.currency-row {
  display:flex;
  flex-wrap:wrap;
  gap:clamp(6px,1.5vw,10px);
  margin-bottom:clamp(20px,3vw,32px);
}
.cur-btn {
  background:rgba(20,55,33,0.04);
  border:1px solid rgba(20,55,33,0.1);
  color:var(--ink);
  padding:clamp(6px,1vw,9px) clamp(12px,2vw,18px);
  border-radius:var(--radius-sm);
  font-size:var(--fs-xs);
  font-weight:600;
  transition:all 0.2s;
}
.cur-btn.active {
  background:var(--gold);
  border-color:var(--gold);
  color:var(--green-deep);
}
.cur-btn:hover:not(.active) {
  border-color:var(--gold);
  color:var(--gold);
}

/* Frequency */
.freq-row {
  display:flex;
  background:rgba(20,55,33,0.04);
  border:1px solid rgba(20,55,33,0.08);
  border-radius:var(--radius-sm);
  overflow:hidden;
  margin-bottom:clamp(20px,3vw,32px);
}
.freq-btn {
  flex:1;
  padding:clamp(10px,2vw,13px);
  background:transparent;
  border:none;
  color:var(--muted);
  font-size:var(--fs-sm);
  font-weight:600;
  transition:all 0.2s;
}
.freq-btn.active {
  background:rgba(232,146,42,0.18);
  color:var(--gold);
}

/* Amount pills */
.amount-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:clamp(8px,1.5vw,12px);
  margin-bottom:clamp(12px,2vw,16px);
}
.amt-pill {
  background:rgba(20,55,33,0.04);
  border:1px solid rgba(20,55,33,0.1);
  color:var(--ink);
  padding:clamp(10px,2vw,14px) 8px;
  border-radius:var(--radius-sm);
  font-size:clamp(0.85rem,2vw,1rem);
  font-weight:600;
  cursor:pointer;
  text-align:center;
  transition:all 0.2s;
}
.amt-pill.active {
  background:rgba(247,169,55,0.20);
  border-color:var(--gold);
  color:var(--gold);
}
.amt-pill:hover:not(.active) { border-color:rgba(232,146,42,0.4); }

/* Custom amount */
.custom-wrap {
  position:relative;
  margin-bottom:clamp(20px,3vw,32px);
}
.cur-sym {
  position:absolute;
  left:15px; top:50%;
  transform:translateY(-50%);
  color:var(--gold);
  font-weight:700;
  font-size:var(--fs-base);
  pointer-events:none;
}
.custom-input {
  width:100%;
  background:rgba(20,55,33,0.04);
  border:1px solid rgba(20,55,33,0.1);
  border-radius:var(--radius-sm);
  color:var(--ink);
  padding:clamp(12px,2vw,15px) 15px clamp(12px,2vw,15px) 36px;
  font-size:var(--fs-base);
  font-weight:600;
  outline:none;
  transition:border-color 0.2s;
}
.custom-input:focus { border-color:var(--gold); }
.custom-input::placeholder { color:var(--muted); font-weight:400; }

/* Select */
.styled-select {
  width:100%;
  background:rgba(20,55,33,0.04);
  border:1px solid rgba(20,55,33,0.1);
  border-radius:var(--radius-sm);
  color:var(--ink);
  padding:clamp(12px,2vw,15px) 40px clamp(12px,2vw,15px) 15px;
  font-size:var(--fs-sm);
  outline:none;
  margin-bottom:clamp(20px,3vw,32px);
  cursor:pointer;
  appearance:none;
  -webkit-appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23E8922A' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 15px center;
  background-color:rgba(20,55,33,0.04);
}
.styled-select option { background:var(--card-bg); }

/* Info fields */
.two-col { display:grid; grid-template-columns:1fr 1fr; gap:clamp(10px,2vw,16px); margin-bottom:clamp(10px,2vw,16px); }
.field {
  width:100%;
  background:rgba(20,55,33,0.04);
  border:1px solid rgba(20,55,33,0.1);
  border-radius:var(--radius-sm);
  color:var(--ink);
  padding:clamp(12px,2vw,15px);
  font-size:var(--fs-sm);
  outline:none;
  transition:border-color 0.2s;
  margin-bottom:clamp(10px,2vw,16px);
}
.field:focus { border-color:var(--gold); }
.field::placeholder { color:var(--muted); }

/* Donate button */
.donate-btn {
  width:100%;
  background:var(--gold);
  color:var(--green-deep);
  padding:clamp(14px,2.5vw,18px);
  border:none;
  border-radius:var(--radius-sm);
  font-size:var(--fs-base);
  font-weight:700;
  letter-spacing:0.05em;
  text-transform:uppercase;
  cursor:pointer;
  transition:all 0.25s;
  margin-top:8px;
  position:relative;
  overflow:hidden;
}
.donate-btn::before {
  content:'';
  position:absolute; inset:0;
  background:linear-gradient(135deg,rgba(255,255,255,0.15),transparent);
  opacity:0;
  transition:opacity 0.25s;
}
.donate-btn:hover {
  background:var(--gold-light);
  transform:translateY(-2px);
  box-shadow:0 16px 48px rgba(232,146,42,0.45);
}
.donate-btn:hover::before { opacity:1; }

.secure-row {
  display:flex; align-items:center; gap:8px;
  justify-content:center;
  margin-top:18px;
  font-size:var(--fs-xs);
  color:var(--muted);
}
.pay-badges {
  display:flex; flex-wrap:wrap; gap:8px;
  justify-content:center;
  margin-top:14px;
}
.pay-badge {
  background:rgba(20,55,33,0.05);
  border:1px solid rgba(20,55,33,0.08);
  border-radius:var(--radius-sm);
  padding:5px 12px;
  font-size:var(--fs-xs);
  color:var(--muted);
  font-weight:600;
}

/* ══════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════ */
#stories {
  background:var(--bg-alt);
  overflow:hidden;
}
.stories-hdr { text-align:center; margin-bottom:clamp(36px,5vw,64px); }

.testi-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));
  gap:clamp(16px,3vw,24px);
}
.testi-card {
  background:var(--card-bg);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:clamp(24px,4vw,36px) clamp(20px,3.5vw,32px);
  transition:all 0.3s;
  position:relative;
}
.testi-card:hover { border-color:var(--border-gold); transform:translateY(-4px); }
.qmark {
  font-family:'Cormorant Garamond', serif;
  font-size:clamp(3rem,7vw,5rem);
  font-weight:900;
  color:var(--gold);
  opacity:0.18;
  line-height:0.5;
  margin-bottom:18px;
  display:block;
}
.testi-text {
  font-size:var(--fs-sm);
  color:rgba(22,51,31,0.78);
  line-height:1.75;
  margin-bottom:clamp(18px,3vw,28px);
  font-style:italic;
}
.testi-author { display:flex; align-items:center; gap:12px; }
.avatar {
  width:clamp(36px,6vw,46px);
  height:clamp(36px,6vw,46px);
  border-radius:50%;
  background:var(--green-bright);
  display:flex; align-items:center; justify-content:center;
  font-family:'Cormorant Garamond', serif;
  font-size:clamp(0.85rem,2vw,1rem);
  font-weight:700;
  color:white;
  flex-shrink:0;
  overflow:hidden;
}
.avatar img { width:100%;height:100%;object-fit:cover; }
.auth-name { font-weight:600; font-size:var(--fs-sm); }
.auth-loc { font-size:var(--fs-xs); color:var(--muted); }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
footer {
  background:var(--bg);
  padding:clamp(52px,8vw,90px) clamp(20px,5vw,64px) clamp(28px,4vw,44px);
  border-top:1px solid var(--border);
}
.footer-grid {
  display:grid;
  grid-template-columns:2fr repeat(3,1fr);
  gap:clamp(32px,5vw,64px);
  margin-bottom:clamp(40px,6vw,72px);
}
.foot-logo {
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(1.4rem,3vw,2rem);
  font-weight:700;
  margin-bottom:clamp(12px,2vw,20px);
  display:block;
}
.foot-logo span { color:var(--gold); }
.foot-desc {
  font-size:var(--fs-sm);
  color:var(--muted);
  line-height:1.7;
  margin-bottom:clamp(18px,3vw,28px);
  max-width:300px;
}
.footer-newsletter {
  margin-bottom:clamp(18px,3vw,28px);
}
.newsletter-label {
  font-size:var(--fs-xs);
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.08em;
  color:var(--ink);
  display:block;
  margin-bottom:8px;
}
.newsletter-input-group {
  display:flex;
  gap:6px;
  margin-bottom:8px;
}
.newsletter-input {
  flex:1;
  padding:8px 12px;
  border:1px solid var(--border);
  border-radius:var(--radius-sm);
  font-size:var(--fs-sm);
  background:var(--surface);
  color:var(--ink);
  transition:border-color 0.2s;
}
.newsletter-input:focus {
  outline:none;
  border-color:var(--gold);
}
.newsletter-btn {
  padding:8px 16px;
  background:var(--gold);
  color:var(--green-deep);
  border:none;
  border-radius:var(--radius-sm);
  font-size:var(--fs-xs);
  font-weight:700;
  text-transform:uppercase;
  cursor:pointer;
  transition:all 0.2s;
}
.newsletter-btn:hover {
  background:var(--gold-light);
  transform:translateY(-1px);
}
.newsletter-note {
  font-size:var(--fs-xs);
  color:var(--muted);
}
.socials { display:flex; gap:10px; flex-wrap:wrap; }
.soc {
  width:clamp(34px,5vw,40px);
  height:clamp(34px,5vw,40px);
  background:var(--green-deep);
  border:1px solid var(--green-deep);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  text-decoration:none;
  color:#fff;
  transition:.2s;
}
.soc:hover { background:var(--gold); border-color:var(--gold); color:var(--green-deep); }
.foot-col h4 {
  font-size:var(--fs-xs);
  font-weight:700;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:var(--ink);
  margin-bottom:clamp(14px,2.5vw,20px);
}
.foot-col ul { list-style:none; display:flex; flex-direction:column; gap:9px; }
.foot-col ul a { font-size:var(--fs-sm); color:var(--muted); transition:color 0.2s; }
.foot-col ul a:hover { color:var(--gold); }
.footer-bottom {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  padding-top:clamp(20px,3vw,32px);
  border-top:1px solid var(--border);
  font-size:var(--fs-xs);
  color:var(--muted);
}

/* ══════════════════════════════════════════
   SUCCESS MODAL
══════════════════════════════════════════ */
.modal-wrap {
  display:none;
  position:fixed; inset:0;
  background:rgba(18,42,28,0.55);
  z-index:500;
  align-items:center;
  justify-content:center;
  padding:20px;
  backdrop-filter:blur(12px);
}
.modal-wrap.show { display:flex; }
.modal {
  background:var(--card-bg);
  border:1px solid var(--border-gold);
  border-radius:var(--radius-lg);
  padding:clamp(36px,6vw,60px) clamp(28px,5vw,56px);
  text-align:center;
  max-width:min(480px,100%);
  width:100%;
  animation:fadeUp 0.5s ease;
}
.modal-icon {
  width:70px; height:70px;
  background:rgba(247,169,55,0.20); border:1px solid rgba(247,169,55,0.3);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  margin:0 auto clamp(18px,3vw,28px);
  font-size:2rem;
}
.modal h2 {
  font-family:'Cormorant Garamond',serif;
  font-size:var(--fs-xl);
  font-weight:700;
  color:var(--gold);
  margin-bottom:12px;
}
.modal p {
  color:var(--muted);
  font-size:var(--fs-sm);
  line-height:1.7;
  margin-bottom:clamp(20px,3vw,32px);
}

/* ══════════════════════════════════════════
   REVEAL
══════════════════════════════════════════ */
.reveal {
  opacity:0;
  transform:translateY(36px);
  transition:opacity 0.8s cubic-bezier(.16,1,.3,1), transform 0.8s cubic-bezier(.16,1,.3,1);
}
.reveal.in { opacity:1; transform:translateY(0); }

/* ══════════════════════════════════════════
   KEYFRAMES
══════════════════════════════════════════ */
@keyframes fadeUp { from{opacity:0;transform:translateY(28px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }

/* ══════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
══════════════════════════════════════════ */

/* Tablet landscape & below */
@media (max-width:1100px) {
  .hero { grid-template-columns:1fr; }
  .hero-visual { display:none; }
  .hero-content { max-width:100%; padding-bottom:clamp(60px,8vw,90px); }
  .impact-inner { grid-template-columns:1fr; }
  .impact-visual { height:clamp(280px,55vw,420px); }
  .footer-grid { grid-template-columns:1fr 1fr; }
}

/* Tablet portrait */
@media (max-width:768px) {
  .nav-links { display:none; }
  .hamburger { display:flex; }
  .gallery-strip { grid-template-columns:repeat(3,1fr); }
  .gallery-strip .gal-item:nth-child(n+4) { display:none; }
  .two-col { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr; gap:clamp(24px,4vw,36px); }
  .foot-desc { max-width:100%; }
  .footer-bottom { flex-direction:column; text-align:center; }
}

/* Mobile */
@media (max-width:480px) {
  .amount-grid { grid-template-columns:1fr 1fr; }
  .gallery-strip { grid-template-columns:1fr 1fr; height:clamp(160px,50vw,240px); }
  .gallery-strip .gal-item:nth-child(n+3) { display:none; }
  .hero-stats { gap:20px; }
  .counters { grid-template-columns:1fr 1fr; }
  .causes-hdr { flex-direction:column; align-items:flex-start; }
  .freq-btn { font-size:var(--fs-xs); padding:10px 6px; }
  .currency-row { gap:6px; }
  .cur-btn { padding:6px 10px; font-size:0.7rem; }
}

/* Very small */
@media (max-width:360px) {
  .amount-grid { grid-template-columns:1fr 1fr; }
  .counters { grid-template-columns:1fr; }
}

/* ══════════════════════════════════════════
   INTERIOR PAGES (added for multi-page build)
══════════════════════════════════════════ */

/* Page hero / banner used on all sub-pages */
.page-hero {
  position: relative;
  padding: clamp(120px,16vw,180px) clamp(20px,5vw,64px) clamp(48px,7vw,90px);
  background: var(--bg-alt);
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content:'';
  position:absolute;
  width: clamp(300px,50vw,640px);
  height: clamp(300px,50vw,640px);
  background: radial-gradient(ellipse, rgba(52,168,90,0.16) 0%, transparent 70%);
  top:-30%; right:-5%;
  pointer-events:none;
}
.page-hero::after {
  content:'';
  position:absolute;
  width: clamp(200px,35vw,460px);
  height: clamp(200px,35vw,460px);
  background: radial-gradient(ellipse, rgba(232,146,42,0.10) 0%, transparent 70%);
  bottom:-20%; left:0;
  pointer-events:none;
}
.page-hero-inner { position:relative; z-index:1; max-width: 760px; margin:0 auto; }
.page-hero h1 {
  font-size: var(--fs-2xl);
  animation: none;
  margin-bottom: clamp(12px,2vw,18px);
}
.page-hero h1 em { display:inline; }
.page-hero p {
  font-size: var(--fs-base);
  font-weight: 300;
  color: rgba(22,51,31,0.72);
  line-height: 1.75;
  max-width: 600px;
  margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
  position: relative; z-index:1;
  font-size: var(--fs-xs);
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: clamp(16px,3vw,24px);
}
.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span { opacity:.5; margin:0 8px; }

/* Generic prose / content blocks */
.content {
  max-width: 820px;
  margin: 0 auto;
}
.content h2 {
  font-family:'Cormorant Garamond', serif;
  font-size: var(--fs-xl);
  font-weight: 700;
  margin: clamp(28px,4vw,44px) 0 clamp(12px,2vw,16px);
  color: var(--ink);
}
.content h3 {
  font-family:'Cormorant Garamond', serif;
  font-size: var(--fs-lg);
  font-weight: 600;
  margin: clamp(20px,3vw,28px) 0 10px;
  color: var(--gold-light);
}
.content p, .content li {
  font-size: var(--fs-base);
  font-weight: 300;
  color: rgba(22,51,31,0.72);
  line-height: 1.8;
  margin-bottom: clamp(12px,2vw,18px);
}
.content ul, .content ol { padding-left: 1.4em; margin-bottom: clamp(12px,2vw,18px); }
.content li { margin-bottom: 8px; }
.content a:not(.btn-primary):not(.btn-ghost) { color: var(--gold); text-decoration: underline; text-underline-offset:3px; }
.content a:hover { color: var(--gold-light); }
.content strong { color: var(--ink); font-weight:600; }
.content .lede {
  font-size: var(--fs-lg);
  color: rgba(22,51,31,0.85);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: clamp(20px,3vw,32px);
}

/* Two-column value / info cards */
.info-grid {
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%,260px),1fr));
  gap: clamp(16px,3vw,28px);
  margin-top: clamp(24px,4vw,40px);
}
.info-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(22px,4vw,34px);
  transition: border-color .3s, transform .3s;
}
.info-card:hover { border-color: var(--border-gold); transform: translateY(-4px); }
.info-card .ic-icon {
  width: 48px; height:48px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(247,169,55,0.20); border:1px solid rgba(247,169,55,0.32);
  border-radius: var(--radius-md);
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.info-card h3 {
  font-family:'Cormorant Garamond', serif;
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-bottom: 8px;
}
.info-card p { font-size: var(--fs-sm); color: var(--muted); line-height:1.7; }

/* Team grid */
.team-grid {
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%,220px),1fr));
  gap: clamp(16px,3vw,28px);
}
.team-card { text-align:center; }
.team-photo {
  width: clamp(110px,18vw,150px);
  height: clamp(110px,18vw,150px);
  border-radius: 50%;
  margin: 0 auto 16px;
  overflow: hidden;
  border: 2px solid var(--border-gold);
}
.team-photo img { width:100%; height:100%; object-fit:cover; filter:brightness(.9) saturate(.9); }
.team-card h3 { font-family:'Cormorant Garamond', serif; font-size: var(--fs-lg); font-weight:700; }
.team-card .role { font-size: var(--fs-xs); color: var(--gold); text-transform:uppercase; letter-spacing:.1em; margin-top:4px; }

/* Staff Grid */
.staff-grid {
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%,220px),1fr));
  gap: clamp(24px,4vw,36px);
}
.staff-card { text-align:center; }
.staff-photo-container {
  position:relative;
  width: clamp(140px,22vw,200px);
  height: clamp(140px,22vw,200px);
  border-radius: 8px;
  margin: 0 auto 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--surface);
}
.staff-photo-main,
.staff-photo-hover {
  position:absolute;
  width:100%;
  height:100%;
  object-fit:cover;
  transition: opacity 0.4s ease;
}
.staff-photo-main { opacity:1; }
.staff-photo-hover { opacity:0; }
.staff-photo-container:hover .staff-photo-main { opacity:0; }
.staff-photo-container:hover .staff-photo-hover { opacity:1; }
.staff-card h3 {
  font-family:'Cormorant Garamond', serif;
  font-size: var(--fs-lg);
  font-weight:700;
  margin-bottom:6px;
}
.staff-title {
  font-size: var(--fs-sm);
  color: var(--gold);
  text-transform:uppercase;
  letter-spacing:.08em;
  font-weight:600;
}

/* Board Grid */
.board-grid {
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%,240px),1fr));
  gap: clamp(24px,4vw,36px);
}
.board-card {
  text-align:center;
  padding: 20px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.board-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}
.board-photo {
  width: clamp(90px,15vw,120px);
  height: clamp(90px,15vw,120px);
  border-radius: 50%;
  margin: 0 auto 16px;
  overflow: hidden;
  border: 3px solid var(--gold-light);
}
.board-photo img {
  width:100%;
  height:100%;
  object-fit:cover;
}
.board-card h3 {
  font-family:'Cormorant Garamond', serif;
  font-size: var(--fs-lg);
  font-weight:700;
  margin-bottom:4px;
}
.board-position {
  font-size: var(--fs-sm);
  color: var(--gold);
  text-transform:uppercase;
  letter-spacing:.08em;
  font-weight:600;
  margin-bottom:4px;
}
.board-occupation {
  font-size: var(--fs-xs);
  color: var(--muted);
  font-weight:500;
  margin-bottom:12px;
}
.board-cv {
  font-size: var(--fs-xs);
  color: var(--muted);
  line-height:1.6;
}

/* Governance Info */
.governance-info h2 {
  font-family:'Cormorant Garamond', serif;
  font-size: var(--fs-3xl);
  font-weight:700;
  margin-bottom: clamp(32px,5vw,48px);
  text-align:center;
}
.governance-grid {
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%,240px),1fr));
  gap: clamp(20px,3vw,32px);
}
.governance-card {
  padding: clamp(20px,3vw,28px);
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.governance-card h4 {
  font-size: var(--fs-lg);
  font-weight:700;
  color: var(--ink);
  margin-bottom:12px;
}
.governance-card p {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height:1.7;
}

/* Tabs */
.tabs-container { margin: clamp(32px,5vw,56px) 0; }
.tabs-header {
  display:flex;
  gap: clamp(8px,2vw,16px);
  margin-bottom: clamp(28px,4vw,40px);
  border-bottom: 2px solid var(--border);
  overflow-x:auto;
  flex-wrap:wrap;
}
.tab-btn {
  padding: clamp(10px,2vw,14px) clamp(16px,3vw,24px);
  background:none;
  border:none;
  font-size: var(--fs-sm);
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.08em;
  color: var(--muted);
  cursor:pointer;
  transition:all 0.2s;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}
.tab-btn:hover { color: var(--ink); }
.tab-btn.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.tab-content {
  display:none;
  animation: fadeIn 0.3s ease;
}
.tab-content.active { display:block; }
.financial-content h3 {
  font-family:'Cormorant Garamond',serif;
  font-size: var(--fs-2xl);
  font-weight:700;
  margin-bottom: clamp(24px,4vw,36px);
}
.financial-grid {
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%,260px),1fr));
  gap: clamp(20px,3vw,28px);
}
.financial-card {
  padding: clamp(20px,3vw,28px);
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  display:flex;
  flex-direction:column;
}
.financial-stat {
  margin-bottom:16px;
  padding-bottom:16px;
  border-bottom: 2px solid var(--border-gold);
}
.stat-value {
  font-family:'Cormorant Garamond',serif;
  font-size: clamp(1.8rem,4vw,2.4rem);
  font-weight:700;
  color: var(--gold);
  line-height:1;
}
.stat-label {
  font-size: var(--fs-xs);
  text-transform:uppercase;
  letter-spacing:.08em;
  color: var(--muted);
  margin-top:6px;
}
.financial-card p {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height:1.7;
  margin-bottom:12px;
  flex:1;
}
.financial-card h4 {
  font-size: var(--fs-lg);
  font-weight:700;
  margin-bottom:12px;
}
.btn-small {
  display:inline-block;
  padding: 8px 14px;
  background: var(--gold);
  color: var(--green-deep);
  border-radius: var(--radius-sm);
  font-size: var(--fs-xs);
  font-weight:700;
  text-transform:uppercase;
  transition:all 0.2s;
  align-self:flex-start;
}
.btn-small:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.audit-info {
  text-align:center;
  max-width: 700px;
  margin: 0 auto;
}
.audit-info h2 {
  font-family:'Cormorant Garamond',serif;
  font-size: var(--fs-3xl);
  font-weight:700;
  margin-bottom: clamp(16px,3vw,24px);
}
.audit-info > p {
  font-size: var(--fs-lg);
  color: var(--muted);
  margin-bottom: clamp(32px,5vw,48px);
}
.audit-grid {
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%,200px),1fr));
  gap: clamp(20px,3vw,28px);
  text-align:left;
}
.audit-card {
  padding: clamp(20px,3vw,28px);
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.audit-card h4 {
  font-size: var(--fs-lg);
  font-weight:700;
  color: var(--ink);
  margin-bottom:12px;
}
.audit-card p {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height:1.7;
}

/* Press */
.press-list {
  display:flex;
  flex-direction:column;
  gap: clamp(24px,4vw,36px);
}
.press-item {
  padding: clamp(20px,3vw,28px);
  background: var(--surface);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--gold);
  transition: all 0.3s;
}
.press-item:hover {
  box-shadow: var(--shadow-card);
  transform: translateX(4px);
}
.press-date {
  font-size: var(--fs-xs);
  text-transform:uppercase;
  letter-spacing:.08em;
  color: var(--gold);
  font-weight:700;
  margin-bottom:8px;
}
.press-item h3 {
  font-family:'Cormorant Garamond',serif;
  font-size: var(--fs-xl);
  font-weight:700;
  margin-bottom:12px;
}
.press-item p {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height:1.7;
  margin-bottom:14px;
}
.press-link {
  font-size: var(--fs-sm);
  font-weight:700;
  color: var(--gold);
  transition:all 0.2s;
  display:inline-block;
}
.press-link:hover {
  color: var(--gold-light);
  transform: translateX(4px);
}

.media-contact {
  text-align:center;
  max-width:600px;
  margin:0 auto;
}
.media-contact h2 {
  font-family:'Cormorant Garamond',serif;
  font-size: var(--fs-3xl);
  font-weight:700;
  margin-bottom: clamp(28px,4vw,40px);
}
.contact-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(28px,4vw,40px);
  border: 1px solid var(--border);
  text-align:left;
}
.contact-card h3 {
  font-size: var(--fs-lg);
  font-weight:700;
  margin-bottom:12px;
}
.contact-card p {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height:1.8;
  margin-bottom:8px;
}
.contact-card a {
  color: var(--gold);
  font-weight:600;
  transition:color 0.2s;
}
.contact-card a:hover {
  color: var(--gold-light);
}

/* FAQ accordion */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  width:100%;
  background:none; border:none;
  text-align:left;
  display:flex; justify-content:space-between; align-items:center; gap:16px;
  padding: clamp(18px,3vw,26px) 0;
  font-family:'Outfit', sans-serif;
  font-size: var(--fs-lg);
  font-weight: 500;
  color: var(--ink);
}
.faq-q:hover { color: var(--gold-light); }
.faq-q .chev {
  flex-shrink:0;
  width: 22px; height:22px;
  transition: transform .3s;
  color: var(--gold);
}
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a {
  max-height:0; overflow:hidden;
  transition: max-height .35s ease;
}
.faq-a-inner {
  padding-bottom: clamp(18px,3vw,26px);
  font-size: var(--fs-base);
  font-weight: 300;
  color: rgba(22,51,31,0.66);
  line-height: 1.8;
}

/* Contact form */
.contact-grid {
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px,5vw,56px);
  align-items:start;
  max-width: 1000px;
  margin: 0 auto;
}
.contact-info .ci-row { display:flex; gap:14px; align-items:flex-start; margin-bottom: clamp(20px,3vw,28px); }
.contact-info .ci-icon {
  width:42px;height:42px;flex-shrink:0;
  background: rgba(247,169,55,0.20); border:1px solid rgba(247,169,55,0.32);
  border-radius: var(--radius-md);
  display:flex;align-items:center;justify-content:center;
  font-size:1.2rem;
}
.contact-info h4 { font-size: var(--fs-base); margin-bottom:2px; }
.contact-info p { font-size: var(--fs-sm); color: var(--muted); line-height:1.6; }
.contact-form .field, .contact-form textarea {
  width:100%;
  background: rgba(20,55,33,0.04);
  border:1px solid rgba(20,55,33,0.1);
  border-radius: var(--radius-sm);
  color: var(--ink);
  padding: clamp(12px,2vw,15px);
  font-size: var(--fs-sm);
  outline:none;
  transition: border-color .2s;
  margin-bottom: clamp(12px,2vw,16px);
  font-family:'Outfit', sans-serif;
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form .field:focus, .contact-form textarea:focus { border-color: var(--gold); }
.contact-form .field::placeholder, .contact-form textarea::placeholder { color: var(--muted); }

@media (max-width:768px){
  .contact-grid { grid-template-columns:1fr; }
}

/* Simple section heading helper for centered sub-page sections */
.center-head { text-align:center; max-width:680px; margin:0 auto clamp(36px,5vw,56px); }

/* 404 */
.error-page {
  min-height: 80svh;
  display:flex; flex-direction:column;
  align-items:center; justify-content:center;
  text-align:center;
  padding: clamp(120px,16vw,180px) 20px 80px;
}
.error-code {
  font-family:'Cormorant Garamond', serif;
  font-size: clamp(5rem,18vw,11rem);
  font-weight:700;
  color: var(--gold);
  line-height:.9;
}

/* ══════════════════════════════════════════════════════════════
   LIGHT THEME — FINISHING OVERRIDES
   (kept in one block so the theme is easy to tweak in one place)
══════════════════════════════════════════════════════════════ */

/* Softer page grain on a light background */
body::after { opacity:.28; }

/* Gold reads poorly as small text on white — use the deeper gold-ink */
.section-tag,
.cause-cat,
.prog-raised,
.breadcrumb a { color: var(--gold-ink); }

.nav-links a:hover,
.foot-col ul a:hover,
.faq-q:hover { color: var(--gold-ink); }

.content a:not(.btn-primary):not(.btn-ghost) { color: var(--gold-ink); }
.content a:not(.btn-primary):not(.btn-ghost):hover { color: var(--gold); }

.cause-cta { color: var(--gold-ink); }

/* Ghost button + hero pill: the pale greens vanish on white → use brand green */
.hero-pill { color: var(--green-bright); }
.btn-ghost { color: var(--ink); }
.btn-ghost:hover { border-color: var(--green-bright); color: var(--green-bright); }

/* White cards need a soft shadow to separate from the white page */
.cause-card,
.info-card,
.testi-card,
.ctr-card,
.donate-box,
.modal { box-shadow: var(--shadow-card); }

/* Hover shadows were tuned for a dark bg — lighten them */
.cause-card:hover { box-shadow: 0 22px 50px rgba(20,50,31,0.12); }
.testi-card:hover,
.info-card:hover { box-shadow: 0 16px 40px rgba(20,50,31,0.10); }
.imp-quote { box-shadow: 0 20px 50px rgba(20,50,31,0.22); }

/* Inputs: a hair more border definition on white */
.custom-input,
.styled-select,
.field,
.cur-btn,
.contact-form .field,
.contact-form textarea,
.amt-pill { border-color: rgba(20,55,33,0.16); }

/* Selects/inputs keep a clean white fill */
.styled-select { background-color: #fff; }

/* Footer now sits on the light page — give it a clear divider */
footer { border-top: 1px solid var(--border); }

/* Marquee text already dark-on-gold; ensure it stays crisp */
.m-item { color: var(--green-deep); }

/* Large gold display numbers — deepen for legibility on white */
.stat-val,
.ctr-num { color: var(--gold-ink); }

/* ══════════════════════════════════════════════════════════════
   DONATE POPUP + HEARTBEAT + SOCIAL ICONS
══════════════════════════════════════════════════════════════ */

/* Donate popup: wider, left-aligned, scrolls if tall */
.donate-modal { align-items: flex-start; }
.donate-modal-card {
  position: relative;
  max-width: 600px;
  width: 100%;
  text-align: left;
  padding: clamp(30px,5vw,46px) clamp(22px,4vw,40px);
  max-height: calc(100svh - 40px);
  overflow-y: auto;
  overflow-x: hidden;
  margin: auto;
}
.donate-modal-head { margin-bottom: clamp(18px,3vw,26px); }
.donate-modal-head h2 {
  font-family:'Cormorant Garamond', serif;
  font-size: var(--fs-xl);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  margin: 4px 0 8px;
}
.donate-modal-head p {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.6;
}

/* Close (×) button */
.modal-close {
  position: absolute;
  top: 12px; right: 14px;
  width: 36px; height: 36px;
  background: rgba(20,55,33,0.05);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all .2s;
}
.modal-close:hover {
  background: var(--gold);
  color: var(--green-deep);
  border-color: var(--gold);
  transform: rotate(90deg);
}

/* Heartbeat hover on the Donate buttons */
@keyframes heartbeat {
  0%   { transform: scale(1); }
  15%  { transform: scale(1.12); }
  30%  { transform: scale(1); }
  45%  { transform: scale(1.12); }
  60%  { transform: scale(1); }
}
@keyframes heartbeat-soft {
  0%   { transform: scale(1); }
  15%  { transform: scale(1.035); }
  30%  { transform: scale(1); }
  45%  { transform: scale(1.035); }
  60%  { transform: scale(1); }
}
.btn-nav:hover,
.btn-mobile:hover { animation: heartbeat 1.3s ease-in-out infinite; }
.donate-btn:hover { animation: heartbeat-soft 1.3s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .btn-nav:hover,
  .btn-mobile:hover,
  .donate-btn:hover { animation: none; }
}

/* Real social icons replace the text initials */
.soc svg { width: clamp(16px, 2.6vw, 18px); height: clamp(16px, 2.6vw, 18px); display: block; }
.soc { padding: 0; }

/* ══════════════════════════════════════════════════════════════
   CAREERS JOB PORTAL + CORPORATE LOGO WALL  (refinement pass)
══════════════════════════════════════════════════════════════ */

/* Job portal */
.jobs-toolbar {
  display: flex; flex-wrap: wrap; gap: 14px;
  align-items: center; justify-content: space-between;
  max-width: 900px; margin: 0 auto clamp(20px,3vw,32px);
}
.jobs-toolbar #jobSearch { max-width: 320px; margin: 0; flex: 1 1 220px; }
.job-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.jf {
  background: rgba(20,55,33,0.05);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 9px 16px; border-radius: 999px;
  font-family: 'Outfit', sans-serif; font-size: var(--fs-sm);
  cursor: pointer; transition: all .2s;
}
.jf:hover { color: var(--ink); border-color: var(--border-gold); }
.jf.active { background: var(--gold); border-color: var(--gold); color: var(--green-deep); font-weight: 600; }

.jobs-list { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.job-card {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: clamp(18px,3vw,26px);
  box-shadow: var(--shadow-card);
  transition: border-color .25s, transform .25s;
}
.job-card:hover { border-color: var(--border-gold); transform: translateY(-2px); }
.job-main h3 { font-family: 'Cormorant Garamond', serif; font-size: var(--fs-lg); font-weight: 700; margin-bottom: 6px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 8px; }
.job-meta span { font-size: var(--fs-xs); color: var(--gold-ink); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.job-card p { font-size: var(--fs-sm); color: var(--muted); line-height: 1.6; }
.job-apply {
  flex-shrink: 0; background: var(--green-deep); color: #fff;
  padding: 11px 24px; border-radius: 999px; font-size: var(--fs-sm); font-weight: 600;
  transition: background .2s;
}
.job-apply:hover { background: var(--green-bright); }
.jobs-empty { text-align: center; color: var(--muted); max-width: 900px; margin: 24px auto 0; }
@media (max-width: 600px) {
  .jobs-toolbar { flex-direction: column; align-items: stretch; }
  .jobs-toolbar #jobSearch { max-width: none; }
  .job-card { flex-direction: column; align-items: flex-start; }
  .job-apply { width: 100%; text-align: center; }
}

/* Corporate partner logo wall */
.logo-wall {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr));
  gap: clamp(14px,2.5vw,22px); max-width: 1100px; margin: 0 auto;
}
.logo-tile {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: clamp(24px,4vw,34px) 18px;
  text-align: center; transition: border-color .25s, transform .25s, box-shadow .25s;
}
.logo-tile:hover { border-color: var(--border-gold); transform: translateY(-3px); box-shadow: var(--shadow-card); }
.logo-mark {
  font-family: 'Cormorant Garamond', serif; font-weight: 700;
  font-size: clamp(1.15rem,2.4vw,1.55rem); color: var(--ink); line-height: 1.1;
}
.logo-cat { font-size: var(--fs-xs); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-top: 8px; }

/* ══════════════════════════════════════════════════════════════
   COMIC-RELIEF-STYLE MEGA NAV  (refinement pass)
══════════════════════════════════════════════════════════════ */
.nav-links .has-mega { position: relative; }
.nav-top { display: inline-flex; align-items: center; gap: 6px; }
.nav-chev { transition: transform .25s ease; opacity: .8; }
.has-mega:hover .nav-chev,
.has-mega:focus-within .nav-chev { transform: rotate(180deg); }

/* invisible hover bridge between the nav item and the panel */
.has-mega::after { content:''; position:absolute; left:0; right:0; top:100%; height:18px; }

.mega {
  position: absolute; top: 100%; left: 0;
  margin-top: 14px;
  display: flex; gap: 6px;
  min-width: 470px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 26px 60px rgba(20,50,31,.18);
  padding: 14px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(8px);
  transition: opacity .22s ease, transform .22s ease;
  z-index: 200;
}
.has-mega:hover .mega,
.has-mega:focus-within .mega {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);
}
/* keep the right-most panel inside the viewport */
.nav-links .has-mega:last-of-type .mega { left: auto; right: 0; }

.mega-links { display: flex; flex-direction: column; gap: 2px; padding: 6px; min-width: 215px; }
.mega-links a {
  padding: 11px 14px; border-radius: var(--radius-sm);
  font-size: var(--fs-sm); color: var(--ink); font-weight: 500;
  transition: background .15s, color .15s;
}
.mega-links a:hover { background: rgba(20,55,33,.06); color: var(--gold-ink); }

.mega-feature {
  position: relative; width: 188px; flex-shrink: 0;
  border-radius: var(--radius-md); overflow: hidden;
  background-size: cover; background-position: center;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 16px; gap: 2px; min-height: 210px;
  transition: transform .3s ease;
}
.mega-feature:hover { transform: scale(1.03); }
.mega-feature-tag { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--gold-light); font-weight: 600; }
.mega-feature-title { font-family: 'Cormorant Garamond', serif; font-size: 1.45rem; font-weight: 700; line-height: 1.08; color: #fff; }

@media (max-width: 768px){ .mega { display: none; } }

/* ── Card polish: hover states the inline styles can't provide ── */
.way-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(22px,4vw,32px);
  box-shadow: var(--shadow-card);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.way-card:hover,
.partnership-model:hover,
.story-card:hover,
.event-card:hover,
.board-card:hover,
.financial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(20,50,31,.12);
  border-color: var(--border-gold);
}
.way-card h3,
.partnership-model h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--fs-lg); font-weight: 700; margin-bottom: 6px;
}


/* ── Brand logo (image with text fallback) ── */
.logo, .foot-logo { display: inline-flex; align-items: center; }
.logo .logo-img { height: clamp(34px,5.5vw,46px); width: auto; display: block; }
.foot-logo .logo-img { height: clamp(38px,6vw,52px); width: auto; display: block; }
.logo .logo-word, .foot-logo .logo-word { display: none; }
.logo.no-img .logo-img, .foot-logo.no-img .logo-img { display: none; }
.logo.no-img .logo-word, .foot-logo.no-img .logo-word { display: inline; }

/* ══════════════════════════════════════════════════════════════
   OFFICIAL LOGO LOCKUP (emblem + wordmark in nav, full logo in footer)
══════════════════════════════════════════════════════════════ */
.logo {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  line-height: 1;
}
.logo .logo-mark { height: clamp(30px, 5.5vw, 42px); width: auto; display: block; }
.logo .logo-word {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  color: var(--ink);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
/* emblem-only on very small screens so the bar never crowds */
@media (max-width: 430px){ .logo .logo-word { display: none; } }

.foot-logo { display: inline-block; margin-bottom: clamp(14px, 2.5vw, 22px); }
.foot-logo .foot-logo-img { height: clamp(60px, 11vw, 88px); width: auto; display: block; }

/* ── Nav logo: full official logo (emblem + wordmark), like the footer ── */
.logo .logo-full {
  height: clamp(48px, 8vw, 66px);
  width: auto;
  display: block;
}
@media (max-width: 360px){ .logo .logo-full { height: 44px; } }

/* ── Inline SVG icons (Lucide, ISC license) inherit brand color ── */
.ic-icon svg { color: var(--gold-ink); }
.modal-icon svg { color: var(--green-bright); }

/* ══════════════════════════════════════════════════════════════
   NAV FIT & MOBILE MENU POLISH (fixes overflow + upgrades mobile)
══════════════════════════════════════════════════════════════ */
/* Panels can never exceed the viewport */
.mega {
  max-width: min(580px, calc(100vw - 24px));
}
/* Right-align the panel that sits nearest the right edge */
.nav-links .has-mega.mega-right .mega { left: auto; right: 0; }
/* On tighter desktops/tablets, drop the photo card so links always fit */
@media (max-width: 1000px){
  .mega { min-width: 0; }
  .mega-feature { display: none; }
  .mega-links { min-width: 190px; }
}

/* ── Mobile menu: clean, on-brand slide-over ── */
.mobile-menu {
  display: flex;
  visibility: hidden; opacity: 0; pointer-events: none;
  transform: translateX(8%);
  transition: opacity .28s ease, transform .28s ease, visibility .28s;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  padding: calc(72px + env(safe-area-inset-top)) clamp(20px,6vw,32px) 40px;
  overflow-y: auto;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(14px);
}
.mobile-menu.open {
  visibility: visible; opacity: 1; pointer-events: auto; transform: none;
}
.mobile-menu > a {
  font-family: 'Outfit', sans-serif;
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--ink);
  padding: 17px 2px;
  border-bottom: 1px solid var(--border);
}
.mobile-submenu-item { border-bottom: 1px solid var(--border); }
.mobile-submenu-btn {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  background: none; border: none; cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-size: 1.06rem; font-weight: 600; color: var(--ink);
  padding: 17px 2px; text-align: left;
}
.mobile-submenu-btn .m-chev {
  width: 16px; height: 16px; flex-shrink: 0;
  color: var(--gold-ink);
  transition: transform .25s ease;
}
.mobile-submenu-btn.open .m-chev { transform: rotate(180deg); }
.mobile-submenu {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease;
}
.mobile-submenu.open { max-height: 420px; }
.mobile-submenu a {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: .98rem; font-weight: 400;
  color: var(--muted);
  padding: 12px 0 12px 16px;
  border-left: 2px solid var(--border);
  margin: 0 0 2px 6px;
}
.mobile-submenu a:active,
.mobile-submenu a:hover { color: var(--gold-ink); border-left-color: var(--gold); }
.mobile-menu .mobile-contact {
  margin-top: 22px;
  text-align: center;
  background: var(--gold);
  color: var(--green-deep);
  border-radius: 999px;
  padding: 15px;
  font-weight: 700;
  border-bottom: none;
}

/* ══════════════════════════════════════════════════════════════
   REDESIGN LAYER — floating "island" nav, photo hero, premium polish
   (appended last so it takes precedence)
══════════════════════════════════════════════════════════════ */

/* ─────────── 1. FLOATING ISLAND NAV ─────────── */
nav#mainNav {
  position: fixed;
  top: max(12px, env(safe-area-inset-top));
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: min(1180px, calc(100vw - 24px));
  padding: 8px 10px 8px 16px;
  border-radius: 22px;
  background: rgba(255,255,255,0.72);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  backdrop-filter: blur(20px) saturate(170%);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 10px 34px rgba(16,44,28,.13), 0 2px 8px rgba(16,44,28,.06);
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease, border-radius .35s ease;
  gap: 12px;
}
nav#mainNav.scrolled {
  background: rgba(255,255,255,0.9);
  box-shadow: 0 12px 40px rgba(16,44,28,.18), 0 2px 8px rgba(16,44,28,.08);
  padding-top: 6px; padding-bottom: 6px;
}
nav#mainNav .logo { flex-shrink: 0; }
nav#mainNav .logo .logo-full { height: clamp(36px, 4.6vw, 46px); }
nav#mainNav .nav-links { gap: 2px; align-items: center; }

.nav-top, .nav-contact {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: var(--fs-sm); font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}
.nav-top:hover, .nav-contact:hover,
.has-mega:focus-within .nav-top { background: rgba(20,55,33,.07); color: var(--gold-ink); }
.nav-contact {
  background: var(--gold); color: var(--green-deep); font-weight: 700;
  margin-left: 6px; padding: 10px 20px;
}
.nav-contact:hover { background: var(--gold-light); color: var(--green-deep); }

/* ─────────── 2. MEGA DROPDOWNS (rebuilt: cannot overflow) ─────────── */
.mega {
  position: absolute;
  top: calc(100% + 14px);
  left: 0; right: auto;
  margin-top: 0;
  display: grid;
  grid-template-columns: minmax(190px, max-content) 176px;
  gap: 10px;
  width: max-content;
  min-width: 0;
  max-width: min(520px, calc(100vw - 28px));
  padding: 12px;
  border-radius: 20px;
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 22px 54px rgba(16,44,28,.2), 0 4px 12px rgba(16,44,28,.08);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(6px) scale(.985);
  transform-origin: top left;
  transition: opacity .24s cubic-bezier(.2,.7,.2,1), transform .24s cubic-bezier(.2,.7,.2,1), visibility .24s;
  z-index: 210;
}
/* the right-most panel opens leftward so it always stays on screen */
.nav-links .has-mega.mega-right .mega { left: auto; right: 0; transform-origin: top right; }
.has-mega:hover > .mega,
.has-mega:focus-within > .mega {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateY(0) scale(1);
}
/* hover bridge so the panel doesn't close in the gap */
.has-mega::after { content:''; position:absolute; left:0; right:0; top:100%; height:16px; }

.mega-links { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mega-links a {
  padding: 11px 14px; border-radius: 12px;
  font-size: var(--fs-sm); font-weight: 500; color: var(--ink);
  white-space: nowrap;
  transition: background .16s ease, color .16s ease;
}
.mega-links a:hover { background: rgba(20,55,33,.07); color: var(--gold-ink); }

.mega-feature {
  position: relative; display: block;
  border-radius: 14px; overflow: hidden;
  min-height: 190px;
  background: var(--green-deep);
  transition: transform .3s cubic-bezier(.2,.7,.2,1);
}
.mega-feature img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.mega-feature::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,43,26,0) 30%, rgba(13,43,26,.86) 100%);
}
.mega-feature:hover img { transform: scale(1.06); }
.mega-feature-body {
  position: absolute; left: 0; right: 0; bottom: 0;
  z-index: 2; display: flex; flex-direction: column; gap: 2px;
  padding: 14px;
}
.mega-feature-tag {
  font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .09em;
  color: var(--gold-light); font-weight: 700;
}
.mega-feature-title {
  font-family: 'Cormorant Garamond', serif; font-size: 1.35rem;
  font-weight: 700; line-height: 1.06; color: #fff;
}
/* tighter screens: drop the photo, panel shrinks to fit the links */
@media (max-width: 1120px) {
  .mega { grid-template-columns: 1fr; max-width: min(300px, calc(100vw - 28px)); }
  .mega-feature { display: none; }
}
@media (max-width: 900px) {
  nav#mainNav .nav-links { display: none; }
  nav#mainNav .hamburger { display: flex; }
}

/* ─────────── 3. MOBILE MENU (premium sheet) ─────────── */
.mobile-menu {
  padding: calc(96px + env(safe-area-inset-top)) clamp(18px,5vw,28px) 48px;
  background: rgba(250,252,249,.96);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
}
.mobile-submenu-item, .mobile-menu > a { border-bottom: 1px solid rgba(20,60,36,.10); }
.mobile-submenu-btn { padding: 18px 4px; font-size: 1.1rem; }
.mobile-submenu a { font-size: 1rem; padding: 13px 0 13px 16px; }
.mobile-menu .mobile-contact {
  margin-top: 26px; border-radius: 999px; padding: 16px;
  box-shadow: 0 8px 22px rgba(252,156,0,.3);
}
.hamburger {
  width: 44px; height: 44px; border-radius: 999px;
  align-items: center; justify-content: center;
  background: rgba(20,55,33,.06);
  flex-shrink: 0;
}
.hamburger span { width: 18px; }

/* ─────────── 4. HERO WITH TEAM PHOTO ─────────── */
.hero.hero-photo {
  display: block;
  min-height: 100svh;
  padding: 0;
  position: relative;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 28%;
}
/* seamless scrim: keeps text and icons legible, blends into the page below */
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(9,32,19,.62) 0%, rgba(9,32,19,.42) 32%, rgba(9,32,19,.72) 72%, var(--bg) 100%),
    linear-gradient(100deg, rgba(9,32,19,.72) 0%, rgba(9,32,19,.30) 55%, rgba(9,32,19,.15) 100%);
}
.hero.hero-photo .hero-content {
  position: relative; z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: calc(150px + env(safe-area-inset-top)) clamp(20px,5vw,64px) clamp(60px,9vw,110px);
  display: flex; flex-direction: column; align-items: flex-start;
  min-height: 100svh; justify-content: center;
}
.hero.hero-photo .hero-pill {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.32);
  color: #fff;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.hero.hero-photo h1 { color: #fff; max-width: 15ch; text-shadow: 0 2px 24px rgba(6,24,14,.4); }
.hero.hero-photo h1 em { color: var(--gold-light); font-style: italic; }
.hero.hero-photo .hero-sub {
  color: rgba(255,255,255,.92); max-width: 56ch;
  text-shadow: 0 1px 16px rgba(6,24,14,.45);
}
.hero.hero-photo .btn-ghost {
  color: #fff; border-color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.1);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.hero.hero-photo .btn-ghost:hover { background: rgba(255,255,255,.2); border-color: #fff; color: #fff; }

/* glass stat cards over the photo */
.hero.hero-photo .hero-stats {
  display: grid; gap: clamp(10px,1.6vw,16px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  width: 100%; max-width: 780px;
  margin-top: clamp(26px,4vw,44px);
  border: none; padding: 0;
}
.hero.hero-photo .hero-stats > div {
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.26);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  border-radius: 16px;
  padding: clamp(14px,2.2vw,20px);
  transition: transform .3s ease, background .3s ease;
}
.hero.hero-photo .hero-stats > div:hover { transform: translateY(-3px); background: rgba(255,255,255,.2); }
.hero.hero-photo .stat-val { color: #fff; }
.hero.hero-photo .stat-lbl { color: rgba(255,255,255,.82); }
.hero-scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 2; color: rgba(255,255,255,.7);
  animation: cueBob 2.4s ease-in-out infinite;
}
@keyframes cueBob { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(7px)} }

/* ─────────── 5. PREMIUM POLISH ─────────── */
.info-card, .way-card, .story-card, .event-card, .cause-card {
  border-radius: 20px;
  transition: transform .38s cubic-bezier(.2,.7,.2,1), box-shadow .38s ease, border-color .38s ease;
}
.info-card:hover, .way-card:hover, .story-card:hover, .event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 46px rgba(16,44,28,.13);
  border-color: var(--border-gold);
}
.btn-primary, .btn-ghost {
  border-radius: 999px;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s ease, background .25s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(252,156,0,.34); }
.page-hero { padding-top: clamp(140px, 17vw, 190px); }
:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 3px; border-radius: 6px; }

@media (prefers-reduced-motion: reduce) {
  .hero-scroll-cue { animation: none; }
  .mega, .info-card, .way-card, .btn-primary { transition: none; }
}

/* ══════════════════════════════════════════════════════════════
   UPDATE: nav logo legibility + Executive Director card
══════════════════════════════════════════════════════════════ */

/* (nav reverted to the v=8 appearance at your request) */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  nav#mainNav { background: rgba(255,255,255,.96); }
  .mega { background: #fff; }
}

/* Executive Director card */
.info-card.ed-card {
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 152px 1fr;
  gap: 0;
  align-items: stretch;
}
.ed-card .ed-portrait {
  width: 100%; height: 100%;
  min-height: 210px;
  object-fit: cover;
  object-position: 49% 23%;
  display: block;
}
.ed-card .ed-body {
  padding: clamp(16px,2.4vw,22px);
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
}
.ed-card .ed-quote {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--ink);
}
.ed-card .ed-name {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--gold-ink);
  text-transform: uppercase;
  letter-spacing: .07em;
  line-height: 1.5;
}
.ed-card .ed-name span {
  display: block;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
}
@media (max-width: 520px){
  .info-card.ed-card { grid-template-columns: 1fr; }
  .ed-card .ed-portrait { min-height: 260px; object-position: center 15%; }
}

/* ══════════════════════════════════════════════════════════════
   UPDATE: static ribbon, ED feature card on Staff, image framing
══════════════════════════════════════════════════════════════ */

/* Ribbon no longer scrolls — themes sit evenly across the band */
.marquee-band.static-band { overflow: visible; }
.marquee-band.static-band .marquee-track {
  animation: none !important;
  transform: none !important;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(10px, 2.6vw, 34px);
  width: 100%;
  padding: 0 clamp(16px, 4vw, 40px);
  white-space: normal;
}
.marquee-band.static-band .m-item {
  white-space: nowrap;
  font-size: clamp(.82rem, 2.1vw, 1.12rem);
}
@media (max-width: 560px){
  .marquee-band.static-band .marquee-track { gap: 8px 14px; }
  .marquee-band.static-band .m-item { font-size: .78rem; }
}

/* Hero stats: four boxes that stay legible down to small phones */
.hero.hero-photo .hero-stats {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 165px), 1fr));
  max-width: 940px;
}
.hero.hero-photo .stat-val { font-variant-numeric: tabular-nums; }
@media (max-width: 700px){
  .hero.hero-photo .hero-stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero.hero-photo .stat-val { font-size: clamp(1.5rem, 6.5vw, 2.1rem); }
  .hero.hero-photo .stat-lbl { font-size: .74rem; line-height: 1.35; }
}

/* Images sit less tight in their frames (portrait photos were cropping in too far) */
.gal-item img { object-position: center 38%; }
.cause-img-wrap img { object-position: center 40%; }
.mega-feature img { object-position: center 40%; }
.imp-img-a img, .imp-img-b img { object-position: center 40%; }

/* ══════════════════════════════════════════════════════════════
   UPDATE: single-line ribbon + person cards (photo background)
══════════════════════════════════════════════════════════════ */

/* Ribbon: always one line — text scales and shortens rather than wrapping */
.marquee-band.static-band .marquee-track {
  flex-wrap: nowrap;
  gap: clamp(8px, 2.4vw, 34px);
  padding: 0 clamp(10px, 3vw, 40px);
}
.marquee-band.static-band .m-item {
  white-space: nowrap;
  font-size: clamp(.62rem, 1.55vw, 1.06rem);
  letter-spacing: .01em;
}
.marquee-band.static-band .m-short { display: none; }
@media (max-width: 820px){
  .marquee-band.static-band .m-full  { display: none; }
  .marquee-band.static-band .m-short { display: inline; }
  .marquee-band.static-band .m-item  { font-size: clamp(.6rem, 2.1vw, .92rem); }
  .marquee-band.static-band .marquee-track { gap: clamp(7px, 2.6vw, 18px); }
}
@media (max-width: 380px){
  .marquee-band.static-band .m-item { font-size: .55rem; }
  .marquee-band.static-band .marquee-track { gap: 6px; padding: 0 8px; }
}

/* Person cards: photo as the card background, same shape as the other role cards.
   To add a colleague later, copy this card and swap the <img src>. */
.info-card.person-card {
  position: relative;
  padding: 0;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}
.person-card .person-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 16%;
  z-index: 0;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.person-card::after {
  content: '';
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(9,32,19,0) 30%, rgba(9,32,19,.72) 62%, rgba(9,32,19,.95) 100%);
}
.person-card:hover .person-photo { transform: scale(1.05); }
.person-card .person-body {
  position: relative; z-index: 2;
  padding: clamp(16px, 2.4vw, 24px);
  width: 100%;
}
.person-card .person-body h3 { color: #fff; }
.person-card .person-body p { color: rgba(255,255,255,.88) !important; font-size: var(--fs-sm); }
@media (max-width: 520px){
  .info-card.person-card { min-height: 340px; }
  .person-card .person-photo { object-position: center 14%; }
}

/* ══════════════════════════════════════════════════════════════
   FIX: ribbon spacing — items kept their old ticker padding, which
   pushed the row wider than the band and clipped the ends.
══════════════════════════════════════════════════════════════ */
.marquee-band.static-band { overflow: hidden; }
.marquee-band.static-band .marquee-track {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: clamp(10px, 2.2vw, 30px);
  padding: 0 clamp(10px, 2.5vw, 28px);
  animation: none !important;
  transform: none !important;
}
.marquee-band.static-band .m-item {
  padding: 0;                       /* ← the fix: drop the old ticker padding */
  margin: 0;
  letter-spacing: .04em;
  white-space: nowrap;
  flex: 0 0 auto;
  font-size: clamp(.62rem, 1.12vw, 1rem);
}
/* thin divider dots instead of wide empty gaps */
.marquee-band.static-band .m-item + .m-item::before {
  content: '·';
  margin-right: clamp(10px, 2.2vw, 30px);
  opacity: .55;
  font-weight: 700;
}
@media (max-width: 820px){
  .marquee-band.static-band .m-item { font-size: clamp(.6rem, 1.95vw, .9rem); letter-spacing: .02em; }
  .marquee-band.static-band .marquee-track { gap: clamp(6px, 1.8vw, 14px); padding: 0 8px; }
  .marquee-band.static-band .m-item + .m-item::before { margin-right: clamp(6px, 1.8vw, 14px); }
}
@media (max-width: 400px){
  .marquee-band.static-band .m-item { font-size: .56rem; letter-spacing: 0; }
  .marquee-band.static-band .marquee-track { gap: 5px; padding: 0 6px; }
  .marquee-band.static-band .m-item + .m-item::before { margin-right: 5px; }
}

/* ══════════════════════════════════════════════════════════════
   FIX: ribbon separators — small round dots, tighter spacing
══════════════════════════════════════════════════════════════ */
.marquee-band.static-band .marquee-track { gap: clamp(8px, 1.5vw, 20px); }
.marquee-band.static-band .m-item + .m-item::before {
  content: '';
  display: inline-block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: .42;
  vertical-align: middle;
  margin: 0 clamp(8px, 1.5vw, 20px) 0 0;
  transform: translateY(-1px);
}
@media (max-width: 820px){
  .marquee-band.static-band .marquee-track { gap: clamp(6px, 1.4vw, 12px); }
  .marquee-band.static-band .m-item + .m-item::before {
    width: 3px; height: 3px; margin-right: clamp(6px, 1.4vw, 12px);
  }
}
@media (max-width: 400px){
  .marquee-band.static-band .marquee-track { gap: 5px; }
  .marquee-band.static-band .m-item + .m-item::before { width: 3px; height: 3px; margin-right: 5px; }
}

/* ══════════════════════════════════════════════════════════════
   STAFF: person cards (name + position) and biography popup
══════════════════════════════════════════════════════════════ */
.info-card.person-card { cursor: pointer; }
.info-card.person-card:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.person-card .person-role {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--gold-light);
  margin-bottom: 4px;
}
.person-card .person-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 700;
  line-height: 1.12;
  color: #fff;
  margin: 0;
}
.person-card .person-more {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 10px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: rgba(255,255,255,.85);
  border-bottom: 1px solid rgba(255,255,255,.4);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.person-card:hover .person-more { color: var(--gold-light); border-color: var(--gold-light); }

/* biography popup */
.bio-modal .bio-card {
  max-width: 620px;
  width: 100%;
  padding: 0;
  overflow: hidden;
  text-align: left;
  display: grid;
  grid-template-columns: 210px 1fr;
  position: relative;
  background: var(--surface);
  border-radius: 22px;
}
.bio-card .bio-photo {
  width: 100%; height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}
.bio-card .bio-text {
  padding: clamp(20px, 3vw, 30px);
  display: flex; flex-direction: column; gap: 8px;
  justify-content: center;
}
.bio-card .bio-text h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  font-weight: 700; line-height: 1.12; color: var(--ink);
}
.bio-card .bio-text p { color: var(--muted); font-size: var(--fs-sm); line-height: 1.75; }
.bio-close {
  position: absolute; top: 10px; right: 12px; z-index: 3;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.92);
  color: var(--ink); font-size: 1.4rem; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .2s;
}
.bio-close:hover { background: var(--gold); transform: rotate(90deg); }
@media (max-width: 620px){
  .bio-modal .bio-card { grid-template-columns: 1fr; max-height: 88svh; overflow-y: auto; }
  .bio-card .bio-photo { min-height: 240px; object-position: center 12%; }
}

/* ══════════════════════════════════════════════════════════════
   FIX: one separator only — the old ticker star (.m-item::after)
   was still rendering next to the new dot.
══════════════════════════════════════════════════════════════ */
.marquee-band.static-band .m-item::after {
  content: none !important;
  margin: 0 !important;
}

/* ══════════════════════════════════════════════════════════════
   TEAM: cards awaiting photos + longer biographies in the popup
══════════════════════════════════════════════════════════════ */
/* card with no photo yet — brand-coloured panel with initials */
.person-card.no-photo {
  background: linear-gradient(150deg, var(--green-bright), var(--green-deep));
}
.person-card .person-initials {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 7vw, 4.4rem);
  font-weight: 700;
  color: rgba(255,255,255,.22);
  letter-spacing: .04em;
  z-index: 0;
}
.person-card.no-photo::after {
  background: linear-gradient(180deg, rgba(9,32,19,0) 35%, rgba(9,32,19,.55) 70%, rgba(9,32,19,.9) 100%);
}

/* popup: photo/initials panel + scrollable biography */
.bio-modal .bio-card { max-height: 86svh; }
.bio-card .bio-media { position: relative; background: linear-gradient(150deg, var(--green-bright), var(--green-deep)); }
.bio-card .bio-initials {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.4rem; font-weight: 700; color: rgba(255,255,255,.3);
}
.bio-card .bio-text { overflow-y: auto; max-height: 86svh; }
.bio-card .bio-text #bioBody p {
  color: var(--muted); font-size: var(--fs-sm); line-height: 1.75; margin-bottom: 10px;
}
.bio-card .bio-text #bioBody p:last-child { margin-bottom: 0; }
.bio-link {
  display: inline-block; margin-top: 6px;
  font-size: var(--fs-xs); font-weight: 700; color: var(--gold-ink);
  border-bottom: 1px solid var(--border-gold); padding-bottom: 2px;
}
.bio-link:hover { color: var(--gold); }
@media (max-width: 620px){
  .bio-card .bio-media { min-height: 220px; }
  .bio-card .bio-text { max-height: none; }
}

/* ══════════════════════════════════════════════════════════════
   FIX: biography popup layout (the photo column had no resolvable
   height, so the card and its contents sat misaligned)
══════════════════════════════════════════════════════════════ */
.modal-wrap.bio-modal { align-items: center; padding: clamp(12px, 3vw, 24px); }

.bio-modal .bio-card {
  position: relative;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  width: 100%;
  max-width: 700px;
  max-height: min(86svh, 640px);
  padding: 0;
  overflow: hidden;
  text-align: left;
  border-radius: 22px;
  background: var(--surface);
}
/* photo column: give it a definite box so the image can fill it */
.bio-card .bio-media {
  position: relative;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  background: linear-gradient(150deg, var(--green-bright), var(--green-deep));
}
.bio-card .bio-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  min-height: 0;
  object-fit: cover;
  display: block;
}
.bio-card .bio-initials { position: absolute; inset: 0; }

/* text column scrolls on its own, so the card never overflows the screen */
.bio-card .bio-text {
  min-width: 0;
  max-height: min(86svh, 640px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: clamp(22px, 3vw, 32px);
  padding-right: clamp(46px, 5vw, 56px);   /* clear of the close button */
  display: block;
}
.bio-card .bio-text .section-tag { display: block; margin-bottom: 6px; }
.bio-card .bio-text h3 { margin: 0 0 12px; }
.bio-close { top: 12px; right: 14px; }

@media (max-width: 680px){
  .bio-modal .bio-card {
    grid-template-columns: 1fr;
    grid-template-rows: 230px minmax(0, 1fr);
    max-height: 90svh;
  }
  .bio-card .bio-media { height: 230px; min-height: 230px; }
  .bio-card .bio-text { max-height: none; padding: 20px; padding-top: 18px; }
}
