/* Eclipsion — shared stylesheet, v3
   A photography-led, editorial system for a credible international NGO.
   Deep-green header/footer bookend a cream editorial body; gold is the
   single accent. Sticky nav, asymmetric alternating image/text sections,
   large stat counters, story cards. Deliberately unlike econreads.org
   (green-on-white, leaf motif, single-column, symmetric). */

:root {
  --green-deep: #2E6B3E;
  --green-mid: #519B53;
  --green-lime: #93BD54;
  --gold: #E0A430;
  --gold-deep: #B9822A;
  --cream: #FAF8F1;
  --tint: #F1EBDA;
  --green-pale: #E9F0E5;
  --white: #FFFFFF;
  --text: #1F2A22;
  --muted: #55605A;
  --rule: #DCD5C0;

  --content-width: 720px;
  --wide-width: 1160px;
  --xwide-width: 1320px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Lora", Georgia, "Times New Roman", serif;
  color: var(--green-deep);
  line-height: 1.14;
  margin: 0 0 0.5em 0;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.6rem, 5.6vw, 4.4rem); line-height: 1.05; }
h2 { font-size: clamp(2rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.36rem; letter-spacing: -0.005em; }

p { margin: 0 0 1.25em 0; }
p.lead { font-size: 1.24rem; line-height: 1.6; color: var(--muted); }

/* A large editorial statement — used sparingly in place of a normal
   heading, to give a section pure typographic weight instead of a
   heading + paragraph + image formula. */
.statement {
  font-family: "Lora", Georgia, serif;
  font-weight: 500;
  font-style: italic;
  color: var(--green-deep);
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1.28;
  letter-spacing: -0.01em;
  max-width: 22ch;
}
.band-green .statement { color: var(--cream); }
.statement strong {
  font-style: normal;
  font-weight: 600;
  color: var(--gold-deep);
}
.band-green .statement strong { color: var(--gold); }

a { color: var(--green-mid); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--gold-deep); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 2px;
}

img { max-width: 100%; display: block; }
hr { border: none; border-top: 1px solid var(--rule); margin: 0; }
ul, ol { padding-left: 1.4em; }

/* Layout helpers */

.wrap { max-width: var(--content-width); margin: 0 auto; padding: 0 1.5rem; }
.wrap-wide { max-width: var(--wide-width); margin: 0 auto; padding: 0 1.5rem; }
.wrap-xwide { max-width: var(--xwide-width); margin: 0 auto; padding: 0 1.5rem; }

.band { padding: 4.25rem 0; }
.band.tight { padding: 2.75rem 0; }
.band.roomy { padding: 5.5rem 0; }
.band-cream { background: var(--cream); }
.band-white { background: var(--white); }
.band-tint { background: var(--tint); }
.band-green { background: var(--green-deep); color: var(--cream); }
.band-green h2, .band-green h3 { color: var(--cream); }
.rule-wrap { border-top: 1px solid var(--rule); }

.section-head { max-width: 62ch; margin-bottom: 2.1rem; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: left; }

.kicker {
  display: block; text-transform: uppercase; letter-spacing: 0.18em;
  font-size: 0.76rem; font-weight: 700; color: var(--gold-deep); margin-bottom: 0.65rem;
}
.band-green .kicker { color: var(--gold); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--green-deep); color: var(--cream); padding: 0.75em 1.2em; z-index: 200;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Header / nav — sticky, solid deep green */

.top-accent { height: 4px; background: var(--gold); }

.site-header {
  background: var(--green-deep);
  border-bottom: 1px solid rgba(255,255,255,0.14);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.3s ease, padding 0.25s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 8px 24px -12px rgba(31, 42, 34, 0.35);
}
.site-header.is-scrolled .nav { padding-top: 0.7rem; padding-bottom: 0.7rem; }
@media (prefers-reduced-motion: reduce) {
  .site-header { transition: none; }
}

.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 1.5rem; max-width: var(--xwide-width); margin: 0 auto;
  flex-wrap: wrap; gap: 1rem;
  transition: padding 0.25s ease;
}

.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.brand img { height: 36px; width: auto; }
.brand-name { font-family: "Lora", Georgia, serif; font-size: 1.22rem; font-weight: 600; color: var(--cream); }

.nav-links { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; align-items: center; }

.nav-links a {
  position: relative; color: var(--cream); text-decoration: none; font-size: 0.95rem;
  padding-bottom: 4px; opacity: 0.86; transition: opacity 0.15s ease;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.2s ease;
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--gold); opacity: 1; }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.nav-cta {
  background: var(--gold); color: var(--green-deep) !important; text-decoration: none !important;
  padding: 0.5em 1.1em; font-size: 0.88rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
}
.nav-cta:hover { background: var(--cream); }
.nav-cta::after { display: none; }

.nav-toggle { display: none; }

/* Footer */

.site-footer { background: var(--green-deep); color: var(--cream); }

.footer-cta {
  border-bottom: 1px solid rgba(255,255,255,0.16);
  padding: 3.5rem 0;
  text-align: left;
}
.footer-cta .wrap-wide { display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; justify-content: space-between; }
.footer-cta h2 { color: var(--cream); margin-bottom: 0.3rem; }
.footer-cta p { color: #CFE0CE; margin-bottom: 0; max-width: 48ch; }

.footer-inner {
  max-width: var(--xwide-width); margin: 0 auto; padding: 3.5rem 1.5rem 2rem;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem;
}

.footer-brand img { height: 40px; margin-bottom: 0.9rem; }
.footer-brand .brand-name { color: var(--cream); }
.footer-tagline { color: #CFE0CE; margin-top: 0.75rem; }
.footer-social { display: flex; gap: 0.9rem; margin-top: 1.25rem; list-style: none; padding: 0; }
.footer-social a {
  color: var(--cream); text-decoration: none; opacity: 0.85; font-size: 0.85rem;
  border: 1px solid rgba(255,255,255,0.3); padding: 0.4em 0.8em;
}
.footer-social a:hover { opacity: 1; border-color: var(--gold); color: var(--gold); }

.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: var(--cream); text-decoration: none; opacity: 0.9; }
.footer-links a:hover { opacity: 1; color: var(--gold); }

.footer-heading { font-family: "Lora", Georgia, serif; font-size: 0.98rem; color: var(--gold); margin-bottom: 1rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.16); color: #A9C0A8; font-size: 0.88rem;
  padding: 1.2rem 1.5rem; max-width: var(--xwide-width); margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
}

/* Hero — large photograph occupies most of the viewport, text overlay */

.hero {
  position: relative; overflow: hidden; background: var(--green-deep);
  min-height: 86vh; display: flex; align-items: flex-end;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(31,42,34,0.15) 0%, rgba(31,42,34,0.55) 65%, rgba(31,42,34,0.86) 100%);
}
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--gold); z-index: 2; }

.hero-inner { position: relative; z-index: 2; max-width: var(--xwide-width); margin: 0 auto; padding: 3.5rem 1.5rem 4.5rem; width: 100%; }
.hero-copy { max-width: 680px; }
.hero h1 { color: var(--cream); margin-bottom: 0.9rem; }
.hero .subline { color: #E9EFE6; font-size: 1.22rem; max-width: 56ch; }
.hero-ctas { margin-top: 2rem; display: flex; gap: 1rem; flex-wrap: wrap; }

.page-hero {
  background: var(--green-deep); color: var(--cream); padding: 4.5rem 0 3.5rem; position: relative;
}
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--gold); }
.page-hero h1 { color: var(--cream); margin-bottom: 0.6rem; }
.page-hero .lede { color: #D8E6D6; font-size: 1.15rem; max-width: 64ch; }

/* Buttons */

.btn {
  display: inline-block; background: var(--green-deep); color: var(--cream) !important;
  padding: 0.9em 2em; text-decoration: none !important; border: 1.5px solid var(--green-deep);
  font-size: 0.9rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  font-family: inherit; cursor: pointer; border-radius: 0;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: var(--gold); border-color: var(--gold); color: var(--green-deep) !important; }
.btn-ghost { background: transparent; color: var(--cream) !important; border-color: var(--cream); }
.btn-ghost:hover { background: var(--gold); border-color: var(--gold); color: var(--green-deep) !important; }
.btn-outline-dark { background: transparent; color: var(--green-deep) !important; border-color: var(--green-deep); }
.btn-outline-dark:hover { background: var(--green-deep); color: var(--cream) !important; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--green-deep) !important; }
.btn-gold:hover { background: var(--cream); border-color: var(--cream); color: var(--green-deep) !important; }

/* Stats — generous space, animated counters */

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat {
  border-top: 3px solid var(--gold); padding: 1.5rem 1.75rem 0 0;
}
.stat-number { font-family: "Lora", Georgia, serif; font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 600; color: var(--green-deep); line-height: 1; }
.band-green .stat-number { color: var(--gold); }
.band-green .stat { border-top-color: var(--gold); }
.stat-label { color: var(--muted); margin-top: 0.85rem; font-size: 1.02rem; max-width: 26ch; }
.band-green .stat-label { color: #CFE0CE; }

/* Icon tiles */

.icon-tile { width: 60px; height: 60px; border: 1.5px solid var(--green-mid); background: var(--green-pale); display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; }
.icon-tile svg { width: 30px; height: 30px; color: var(--green-deep); }
.band-green .icon-tile { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.4); }
.band-green .icon-tile svg { color: var(--gold); }

/* Split section — asymmetric alternating image/text, the workhorse layout */

.split { display: flex; gap: 3rem; align-items: center; flex-wrap: wrap; }
.split.reverse { flex-direction: row-reverse; }
.split > .split-text { flex: 1 1 420px; }
.split > .split-media { flex: 1 1 460px; }
.split.narrow-text > .split-text { flex-basis: 340px; }
.split.wide-media > .split-media { flex: 1.6 1 520px; }
.split.wide-media > .split-text { flex-basis: 360px; }
.split.tight-gap { gap: 1.75rem; }
.split.top-align { align-items: flex-start; }

.photo-frame {
  overflow: hidden; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--tint);
}
.photo-frame img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 0;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.photo-frame:hover img { transform: scale(1.035); }
.photo-frame.ratio-4-3 { aspect-ratio: 4 / 3; }
.photo-frame.ratio-3-4 { aspect-ratio: 3 / 4; }
.photo-frame.ratio-16-9 { aspect-ratio: 16 / 9; }
.photo-frame.ratio-1-1 { aspect-ratio: 1 / 1; }
.photo-frame.ratio-3-2 { aspect-ratio: 3 / 2; }
.photo-frame.ratio-2-3 { aspect-ratio: 2 / 3; }
.photo-caption {
  color: var(--muted); font-size: 0.86rem; margin-top: 0.7rem; margin-bottom: 0;
  text-transform: uppercase; letter-spacing: 0.06em;
}
@media (prefers-reduced-motion: reduce) {
  .photo-frame img { transition: none; }
}

.stat-chip {
  display: inline-block; font-family: "Lora", Georgia, serif; font-weight: 600; color: var(--green-deep);
  background: var(--green-pale); border: 1px solid var(--green-mid); padding: 0.35em 0.85em; font-size: 0.95rem;
  margin: 0.9rem 0 0.25rem;
}

/* Full-bleed photo break */

.photo-break { width: 100%; aspect-ratio: 21 / 8; overflow: hidden; position: relative; }
.photo-break img { width: 100%; height: 100%; object-fit: cover; }
.photo-break-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem 1.5rem;
  background: rgba(31,42,34,0.55); color: var(--cream); font-size: 0.92rem;
}

/* Problem list */

.problem-list { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.problem-list li { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.problem-list li:first-child { border-top: 1px solid var(--rule); }
.problem-mark { font-family: "Lora", Georgia, serif; color: var(--gold-deep); font-weight: 700; flex-shrink: 0; }
.problem-list strong { color: var(--green-deep); display: block; margin-bottom: 0.15rem; }
.problem-list span { color: var(--muted); font-size: 0.97rem; }

/* Cards grid (approach / our-work pillars used as cards on Home) */

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2.5rem; }
.card { border: 1px solid var(--rule); background: var(--white); }
.card .photo-frame { border: none; border-radius: 0; aspect-ratio: 4/3; }
.card-body { padding: 1.75rem; }
.card-body h3 { margin-bottom: 0.5em; }
.card-body p { font-size: 0.98rem; color: var(--muted); margin-bottom: 0.75em; }

/* Process / flow diagram */

.process { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2.5rem; counter-reset: step; }
.process-step { position: relative; padding-left: 3.1rem; }
.process-step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; left: 0; top: -0.25rem; font-family: "Lora", Georgia, serif; font-size: 1.7rem; color: var(--gold-deep); font-weight: 600;
}
.process-step h3 { margin-bottom: 0.4em; }
.process-step p { color: var(--muted); font-size: 0.98rem; margin-bottom: 0; }

.flow { display: flex; flex-wrap: wrap; align-items: stretch; border: 1px solid var(--rule); background: var(--white); }
.flow-step { flex: 1 1 160px; text-align: center; padding: 2rem 1.25rem; position: relative; }
.flow-step:not(:last-child)::after {
  content: "→"; position: absolute; right: -0.9rem; top: 50%; transform: translateY(-50%);
  color: var(--gold-deep); font-size: 1.3rem; z-index: 1;
}
.flow-step + .flow-step { border-left: 1px solid var(--rule); }
.flow-step h4 { font-family: "Lora", Georgia, serif; color: var(--green-deep); font-size: 1.02rem; margin: 0 0 0.4rem; }
.flow-step p { color: var(--muted); font-size: 0.88rem; margin-bottom: 0; }
.flow-num { font-family: "Lora", Georgia, serif; color: var(--tint); -webkit-text-stroke: 1.2px var(--gold-deep); font-size: 1.6rem; display: block; margin-bottom: 0.5rem; }

/* Pull quote / testimonial */

.pull-quote { border-left: 4px solid var(--gold); padding: 0.2rem 0 0.2rem 1.85rem; margin: 0; }
.pull-quote p { font-family: "Lora", Georgia, serif; font-style: italic; font-size: 1.5rem; color: var(--green-deep); line-height: 1.5; margin-bottom: 0; }
.band-green .pull-quote p { color: var(--cream); }
.band-green .pull-quote { border-left-color: var(--gold); }
.pull-quote cite { display: block; margin-top: 0.9rem; font-style: normal; font-size: 0.92rem; color: var(--muted); font-family: "Inter", sans-serif; }
.band-green .pull-quote cite { color: #CFE0CE; }

.placeholder-note {
  display: inline-block; font-size: 0.85rem; color: var(--gold-deep); font-weight: 600;
  border: 1px dashed var(--gold-deep); padding: 0.3em 0.7em; letter-spacing: 0.02em;
}

/* Story cards */

.stories-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; }
.story-card { border: 1px solid var(--rule); background: var(--white); display: flex; flex-direction: column; }
.story-card .photo-frame { border: none; border-radius: 0; aspect-ratio: 4/3; }
.story-card-body { padding: 1.85rem; display: flex; flex-direction: column; gap: 1rem; flex: 1; }
.story-name { font-family: "Lora", Georgia, serif; font-size: 1.2rem; color: var(--green-deep); margin: 0; }
.story-location { color: var(--muted); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; }
.story-field h4 { font-family: "Lora", Georgia, serif; font-size: 0.92rem; color: var(--gold-deep); text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 0.3rem; }
.story-field p { color: var(--muted); font-size: 0.97rem; margin-bottom: 0; }

/* Milestones / timeline */

.milestones { list-style: none; margin: 1.75rem 0 0; padding: 0; border-left: 2px solid var(--rule); }
.milestones li { position: relative; padding: 0 0 2.25rem 2.1rem; }
.milestones li:last-child { padding-bottom: 0; }
.milestones li::before { content: ""; position: absolute; left: -7px; top: 0.35rem; width: 12px; height: 12px; background: var(--gold); border: 2px solid var(--cream); }
.milestones h3 { margin-bottom: 0.3em; font-size: 1.1rem; }
.milestones p { color: var(--muted); margin-bottom: 0; }

/* Impact table */

.impact-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; }
.impact-table th, .impact-table td { text-align: left; padding: 1.1rem 0.5rem; border-bottom: 1px solid var(--rule); }
.impact-table th { font-family: "Lora", Georgia, serif; color: var(--green-deep); font-weight: 600; width: 55%; }
.impact-table td { color: var(--text); font-size: 1.35rem; font-family: "Lora", Georgia, serif; font-weight: 600; }

/* Partner grid (full section, not just a strip) */

.partners-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 2rem; }
.partner-card { border: 1px solid var(--rule); background: var(--white); padding: 1.75rem; display: flex; flex-direction: column; gap: 0.9rem; }
.partner-card img { height: 44px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(1); opacity: 0.85; }
.partner-card h3 { font-size: 1.05rem; margin: 0; }
.partner-card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0; }

.partners-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 2.5rem 3rem; }
.partner-logo { height: 42px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: 0.8; transition: filter 0.2s ease, opacity 0.2s ease; }
.partner-logo:hover { filter: grayscale(0); opacity: 1; }
.band-green .partner-logo { filter: grayscale(1) brightness(2.2); opacity: 0.75; }
.band-green .partner-logo:hover { filter: none; opacity: 1; }

/* Partner marquee — bigger logos, only some visible at once, looping */

.marquee {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.marquee-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 2.5rem;
  width: max-content;
  animation: marquee-scroll 22s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-logo {
  flex: 0 0 auto;
  width: 110px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.marquee-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.92;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.marquee-logo:hover img { opacity: 1; transform: scale(1.04); }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
}

/* Featured photo gallery (bento-style) — used for the "Farming in Action" showcase */

.gallery-lead {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.gallery-lead .photo-frame { aspect-ratio: 4 / 3; }
.gallery-lead-side { display: grid; grid-template-rows: 1fr 1fr; gap: 1rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}
.gallery-grid .photo-frame { aspect-ratio: 4 / 3; }
.gallery-grid figcaption, .gallery-lead figcaption { display: none; }

.g-item { position: relative; }
.g-item .photo-frame img { transition: transform 0.5s ease; }
.g-item:hover .photo-frame img { transform: scale(1.045); }
.g-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 0.6rem 0.85rem;
  background: linear-gradient(0deg, rgba(31,42,34,0.72), transparent);
  color: var(--cream); font-size: 0.85rem; opacity: 0; transition: opacity 0.2s ease;
}
.g-item:hover .g-caption { opacity: 1; }

/* Low-emphasis disclosure gallery (collaboration photos) */

.disclosure {
  border: 1px solid var(--rule);
  background: var(--white);
}
.disclosure summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 1.4rem;
  font-family: "Lora", Georgia, serif;
  color: var(--green-deep);
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.disclosure summary::-webkit-details-marker { display: none; }
.disclosure summary::after { content: "+"; color: var(--gold-deep); font-size: 1.3rem; }
.disclosure[open] summary::after { content: "\2212"; }
.disclosure[open] summary { border-bottom: 1px solid var(--rule); }
.disclosure-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.65rem;
  padding: 1.25rem 1.4rem;
}
.disclosure-grid .photo-frame { aspect-ratio: 1 / 1; border-radius: 4px; }

/* Legacy photo placeholder (kept for a couple of remaining spots) */

.photo { width: 100%; background: var(--white); border: 1.5px dashed var(--green-mid); color: var(--muted); display: flex; align-items: center; justify-content: center; text-align: center; padding: 2rem; font-size: 0.95rem; min-height: 220px; }
figure { margin: 0; }
figcaption { color: var(--muted); font-size: 0.92rem; margin-top: 0.6rem; }

/* Initiatives (Our Work) */

.initiative { padding: 4.5rem 0; }
.initiative:first-child { padding-top: 0; }
.initiative-eyebrow { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.initiative-num { font-family: "Lora", Georgia, serif; font-size: 2.4rem; font-weight: 600; color: var(--tint); -webkit-text-stroke: 1.5px var(--gold-deep); line-height: 1; }
.initiative-body h2 { margin-bottom: 0; }

/* FAQ */

.faq-item { border-bottom: 1px solid var(--rule); padding: 1.6rem 0; }
.faq-item h3 { margin-bottom: 0.5em; }
.faq-item p { color: var(--muted); margin-bottom: 0; }

/* Contact form */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 2rem; }
.form-full { grid-column: 1 / -1; }
label { display: block; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 0.5rem; }
input[type="text"], input[type="email"], textarea {
  width: 100%; padding: 0.8em; border: 1.5px solid var(--muted); background: var(--white); color: var(--text);
  font-family: inherit; font-size: 1rem; border-radius: 0;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus { border-color: var(--green-deep); }
textarea { resize: vertical; min-height: 150px; }
.contact-line { border: 1.5px solid var(--green-mid); padding: 1.4rem 1.6rem; background: var(--white); }
.contact-line a { color: var(--green-deep); font-weight: 600; }
.contact-note { color: var(--muted); font-size: 0.9rem; margin-top: 0.4rem; margin-bottom: 0; }
.contact-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.contact-info-grid h3 { font-size: 1.02rem; margin-bottom: 0.4rem; }
.contact-info-grid p { color: var(--muted); font-size: 0.97rem; margin-bottom: 0; }

/* Leadership */

.leader-row { display: flex; gap: 2.5rem; align-items: center; flex-wrap: wrap; margin-top: 1.5rem; }
.leader-row .photo-frame { flex: 0 0 220px; width: 220px; aspect-ratio: 1/1; }
.leader-row .split-text { flex: 1 1 360px; }

/* Get Involved ways-to-help grid */

.ways-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2.5rem; }
.way-card { border-top: 3px solid var(--gold); padding-top: 1.25rem; }
.way-card h3 { margin-bottom: 0.5em; }
.way-card p { color: var(--muted); font-size: 0.98rem; }

/* Scroll reveal */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 80ms; }
.reveal-d2 { transition-delay: 160ms; }
.reveal-d3 { transition-delay: 240ms; }
.reveal-d4 { transition-delay: 320ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 2rem; }
}

@media (max-width: 780px) {
  .hero { min-height: 78vh; }
  .hero-inner { padding: 3rem 1.25rem 3rem; }
  .nav { flex-direction: row; }
  .nav-links { display: none; }
  .nav.is-open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 1rem;
    width: 100%; padding-top: 1rem; margin-top: 0.75rem; border-top: 1px solid rgba(255,255,255,0.16);
  }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; background: transparent; border: 1.5px solid rgba(255,255,255,0.5);
    color: var(--cream); font-size: 1.1rem; cursor: pointer;
  }
  .split, .split.reverse { flex-direction: column; }
  .leader-row .photo-frame { width: 160px; flex-basis: 160px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-cta .wrap-wide { flex-direction: column; align-items: flex-start; }
  .band { padding: 3.5rem 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .flow { flex-direction: column; }
  .flow-step + .flow-step { border-left: none; border-top: 1px solid var(--rule); }
  .flow-step:not(:last-child)::after { content: "↓"; right: 50%; top: auto; bottom: -1.1rem; transform: translateX(50%); }
  .gallery-lead { grid-template-columns: 1fr; }
  .gallery-lead-side { grid-template-rows: 1fr 1fr; grid-auto-flow: column; grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .gallery-lead-side { grid-template-columns: 1fr; grid-auto-flow: row; }
}

/* ============================================================
   v4 additions — circle stats, SDG tiles, external assessments,
   testimonials, and the global-presence map.
   ============================================================ */

/* Circle stats (replaces the plain top-rule stat blocks in some sections) */

.circle-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: flex-start;
}
.circle-stat {
  width: 168px;
  height: 168px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  flex-shrink: 0;
}
.circle-stat .stat-number {
  font-size: 1.55rem;
  line-height: 1.15;
  color: var(--green-deep);
}
.band-green .circle-stat .stat-number { color: var(--gold); }
.circle-stat .stat-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-top: 0.35rem;
  line-height: 1.3;
}
.band-green .circle-stat { border-color: var(--gold); }
.band-green .circle-stat .stat-label { color: #CFE0CE; }

/* SDG tiles */

.sdg-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2.25rem;
}
.sdg-tile {
  width: 140px;
  height: 140px;
  flex-shrink: 0;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0.85rem;
  font-family: "Inter", sans-serif;
}
.sdg-tile .sdg-num { font-size: 1.7rem; font-weight: 700; line-height: 1; }
.sdg-tile .sdg-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.25;
  margin-top: 0.4rem;
}

/* External assessments */

.assess-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-top: 3rem;
  position: relative;
}
.assess-item {
  flex: 1 1 160px;
  text-align: center;
  padding: 0 1rem;
  position: relative;
}
.assess-item::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  border-top: 2px dotted var(--gold);
  position: absolute;
  top: 6px;
  left: 50%;
  z-index: 0;
}
.assess-item:first-child::before { left: 50%; width: 50%; }
.assess-item:last-child::before { width: 50%; }
.assess-mark {
  width: 12px; height: 12px;
  background: var(--gold);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  margin: 0 auto 1rem;
  position: relative;
  z-index: 1;
}
.assess-item h4 {
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--gold-deep);
  margin: 0;
}
.assess-center {
  flex: 0 0 auto;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-deep);
  margin: 0 1.5rem;
  position: relative;
  z-index: 1;
}
.assess-center svg { width: 64px; height: 64px; }

/* Testimonials */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
}
.testimonial-card .photo-frame { border: none; border-radius: 0; aspect-ratio: 4 / 5; }
.testimonial-body { padding: 1.85rem; display: flex; flex-direction: column; gap: 1rem; flex: 1; }
.testimonial-quote {
  font-family: "Lora", Georgia, serif;
  font-style: italic;
  color: var(--green-deep);
  font-size: 1.08rem;
  line-height: 1.55;
  margin: 0;
}
.testimonial-quote::before { content: "\201C"; color: var(--gold-deep); }
.testimonial-quote::after { content: "\201D"; color: var(--gold-deep); }
.testimonial-name { font-family: "Lora", Georgia, serif; color: var(--green-deep); font-size: 1.02rem; margin: 0; }
.testimonial-role { color: var(--muted); font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.04em; }
.testimonial-help {
  font-size: 0.88rem;
  color: var(--gold-deep);
  font-weight: 600;
  border-top: 1px solid var(--rule);
  padding-top: 0.85rem;
  margin-top: auto;
}

/* ============================================================
   Our Presence — two-level interactive map (world -> India)
   ============================================================ */

.presence-section .section-head { margin-bottom: 2rem; }

.presence-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 2rem;
  align-items: start;
}

.presence-map-frame {
  position: relative;
  background: var(--white);
  border: 1px solid var(--rule);
  padding: 1.25rem;
  overflow: hidden;
}

.presence-view { position: relative; }
.presence-view svg { width: 100%; height: auto; display: block; }

/* Cross-fade + scale between the world and India views */
.presence-view-world,
.presence-view-india {
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.presence-stage[data-view="world"] .presence-view-india { opacity: 0; transform: scale(1.04); pointer-events: none; }
.presence-stage[data-view="world"] .presence-view-world { opacity: 1; transform: scale(1); }
.presence-stage[data-view="india"] .presence-view-world { opacity: 0; transform: scale(0.96); pointer-events: none; }
.presence-stage[data-view="india"] .presence-view-india { opacity: 1; transform: scale(1); }
@media (prefers-reduced-motion: reduce) {
  .presence-view-world, .presence-view-india { transition: opacity 0.01ms; }
}

/* Map geography */
.presence-view .w-ctx { fill: var(--tint); }
.presence-view .in-ctx path { fill: var(--tint); }
.presence-view .w-active,
.presence-view .in-state {
  fill: var(--green-mid);
  cursor: pointer;
  transition: fill 0.15s ease;
}
.presence-view .w-active.w-india { fill: var(--green-deep); }
.presence-view .w-active:hover,
.presence-view .in-state:hover { fill: var(--green-lime); }
.presence-view .w-active.is-active,
.presence-view .in-state.is-active { fill: var(--gold); }
.presence-view .w-active:focus-visible,
.presence-view .in-state:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.presence-back {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 2;
  background: var(--white);
  border: 1px solid var(--rule);
  color: var(--green-deep);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.55em 1.1em;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.presence-back:hover { border-color: var(--green-deep); color: var(--gold-deep); }

.presence-tooltip {
  position: absolute;
  z-index: 3;
  background: var(--green-deep);
  color: var(--cream);
  font-size: 0.82rem;
  padding: 0.35em 0.7em;
  pointer-events: none;
  white-space: nowrap;
}

/* Compact legend beside the map */
.presence-legend { display: flex; flex-direction: column; gap: 1.25rem; }
.presence-legend-item {
  border-top: 3px solid var(--gold);
  padding-top: 0.75rem;
}
.presence-legend-item .presence-legend-num {
  font-family: "Lora", Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--green-deep);
  line-height: 1;
  display: block;
}
.presence-legend-item .presence-legend-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-top: 0.4rem;
  display: block;
}

/* Chip rows — the map's primary keyboard/screen-reader-accessible fallback */
.presence-fallback { margin-top: 1.5rem; }
.presence-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.presence-chip-row[hidden] { display: none; }
.presence-chip {
  background: var(--white);
  border: 1px solid var(--rule);
  color: var(--text);
  font-size: 0.88rem;
  padding: 0.45em 0.95em;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.presence-chip:hover { border-color: var(--green-mid); color: var(--green-deep); }
.presence-chip.is-active { border-color: var(--gold); color: var(--gold-deep); font-weight: 600; }

/* Info panel — slides in from the right on desktop, bottom sheet on mobile */
.presence-panel {
  position: fixed;
  z-index: 200;
  background: var(--white);
  border-left: 1px solid var(--rule);
  top: 0;
  right: 0;
  height: 100%;
  width: min(420px, 92vw);
  padding: 2rem 1.75rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.presence-panel.is-open { transform: translateX(0); }
@media (prefers-reduced-motion: reduce) {
  .presence-panel { transition: transform 0.01ms; }
}
.presence-panel-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}
.presence-panel-close:hover { color: var(--green-deep); }
.presence-panel-body h3 { margin: 0.3rem 0 0.75rem; }
.presence-panel-label {
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-deep);
  font-weight: 700;
  margin: 1.5rem 0 0.6rem;
}
.presence-panel-list { list-style: none; margin: 0; padding: 0; }
.presence-panel-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.96rem;
}
.presence-panel-impact { margin: 0; }
.presence-panel-impact div {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--rule);
}
.presence-panel-impact dt { color: var(--muted); font-size: 0.92rem; margin: 0; }
.presence-panel-impact dd {
  margin: 0;
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  color: var(--green-deep);
  font-variant-numeric: tabular-nums;
}
.presence-panel-note {
  color: var(--gold-deep);
  font-size: 0.85rem;
  border: 1px dashed var(--gold-deep);
  padding: 0.6em 0.85em;
  margin-top: 1.25rem;
}

@media (max-width: 900px) {
  .presence-stage { grid-template-columns: 1fr; }
  .presence-legend { flex-direction: row; }
  .presence-legend-item { flex: 1; }
}

@media (max-width: 640px) {
  .presence-panel {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    max-height: 78vh;
    border-left: none;
    border-top: 1px solid var(--rule);
    transform: translateY(100%);
  }
  .presence-panel.is-open { transform: translateY(0); }
  .presence-tooltip { display: none; }
}
