/* ---------- Design tokens ---------- */
:root {
  --ink: #1f2a37;
  --ink-soft: #4b5563;
  --cream: #fbf7f0;
  --tint: #f3ece0;
  --teal: #0f5257;
  --teal-dark: #0a3a3e;
  --marigold: #e8a33d;
  --marigold-soft: #fbe7c6;
  --terracotta: #a8422b;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(15, 82, 87, 0.08);
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 17px;
}

img { max-width: 100%; display: block; }
a { color: var(--teal); }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; color: var(--teal-dark); }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); margin-bottom: 1.2rem; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 1.2rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.7rem; }
p + p { margin-top: 1rem; }

.container { width: min(1140px, 92%); margin: 0 auto; }
.narrow { max-width: 780px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.8rem;
}
.lead { font-size: 1.2rem; color: var(--ink); font-weight: 500; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  background: var(--teal);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--teal);
  transition: transform 0.2s, background 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-2px); background: var(--teal-dark); border-color: var(--teal-dark); }
.btn-outline { background: transparent; color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: var(--white); }
.btn-small { padding: 0.5rem 1.1rem; font-size: 0.9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.center-row { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 240, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 82, 87, 0.08);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.logo-mark { display: block; height: 64px; width: auto; mix-blend-mode: multiply; }
.logo-text { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--teal-dark); line-height: 1.05; }
.logo-text small { display: block; font-family: var(--font-body); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }

.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a:not(.btn) { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 0.95rem; }
.site-nav a:not(.btn):hover { color: var(--terracotta); }
.site-nav .btn { color: var(--white); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--teal-dark); margin: 5px 0; transition: 0.3s; }

/* ---------- Hero ---------- */
.hero { padding: 5rem 0 6rem; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: center; }
.hero h1 em { font-style: italic; color: var(--terracotta); }
.hero-copy p:not(.eyebrow):not(.lead) { color: var(--ink-soft); }

.hero-art { position: relative; height: 420px; }
.hero-art::before {
  content: ""; position: absolute; inset: 10% 5%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--marigold-soft), transparent 70%),
              radial-gradient(circle at 70% 70%, rgba(15, 82, 87, 0.15), transparent 70%);
}
.bubble {
  position: absolute;
  padding: 1rem 1.4rem;
  border-radius: 24px;
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.bubble::after {
  content: ""; position: absolute; bottom: -10px; left: 24px;
  border: 10px solid transparent; border-top-color: inherit; border-bottom: 0;
}
.b1 { top: 6%; left: 8%; background: var(--teal); color: var(--white); border-color: var(--teal); }
.b2 { top: 26%; right: 4%; background: var(--marigold); color: var(--teal-dark); border-color: var(--marigold); animation-delay: -1.5s; }
.b4 { bottom: 8%; right: 12%; background: var(--terracotta); color: var(--white); border-color: var(--terracotta); animation-delay: -4.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--teal-dark); color: #e6efef; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .eyebrow { color: var(--marigold); }
.section-accent { background: var(--teal); color: #e6efef; }
.section-accent .eyebrow { color: var(--marigold); }
.section-accent .lead { color: var(--white); font-family: var(--font-head); font-size: 1.6rem; }

blockquote {
  margin: 1.6rem 0;
  padding: 1.2rem 1.6rem;
  border-left: 4px solid var(--marigold);
  background: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink-soft);
  font-style: italic;
}
.callout { font-family: var(--font-head); font-size: 1.35rem; font-weight: 600; color: var(--terracotta); margin-top: 1.6rem !important; }

/* Philosophy */
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: center; }
.process-card { background: var(--white); border-radius: var(--radius); padding: 2.4rem; box-shadow: var(--shadow); }

/* Vision */
.vision-grid {
  list-style: none; margin-top: 2.2rem;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem;
}
.vision-grid li {
  background: var(--white); border-radius: var(--radius); padding: 1.6rem 1.2rem;
  text-align: center; font-weight: 600; color: var(--teal-dark);
  box-shadow: var(--shadow); border-top: 4px solid var(--marigold);
}

/* Pathways */
.pathways { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2.5rem; }
.pathway { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius); padding: 2.2rem; }
.principle { font-family: var(--font-head); font-size: 1.25rem; color: var(--marigold); font-style: italic; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0; }
.tags li { padding: 0.35rem 0.9rem; border-radius: 999px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(232, 163, 61, 0.45); color: var(--white); font-size: 0.9rem; font-weight: 500; }

.delivery { margin-top: 3.5rem; text-align: center; }
.delivery-flow { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.5rem; margin-top: 1.4rem; }
.delivery-flow li { padding: 0.8rem 1.2rem; border-radius: 12px; background: var(--white); color: var(--teal-dark); box-shadow: var(--shadow); font-weight: 500; }
.delivery-flow li:not(:last-child)::after { content: "→"; margin-left: 1rem; color: var(--terracotta); }
.delivery-flow li { display: flex; align-items: center; }
.delivery-flow .highlight { background: var(--marigold); color: var(--teal-dark); font-weight: 700; }

/* Framework */
.framework { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; counter-reset: none; }
.framework li { background: var(--white); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); position: relative; }
.step {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--marigold-soft); color: var(--terracotta); font-weight: 700; margin-bottom: 1rem;
}
.framework p { color: var(--ink-soft); }

/* Classroom cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.card { background: var(--white); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); transition: transform 0.25s; }
.card:hover { transform: translateY(-4px); }
.card p { color: var(--ink-soft); }

/* Partners */
.partners { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.partner { background: var(--white); border-radius: var(--radius); padding: 2.2rem; box-shadow: var(--shadow); border-left: 5px solid var(--teal); }
.partner:last-child:nth-child(odd) { grid-column: 1 / -1; }
.partner-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.8rem; font-size: 0.8rem; font-weight: 600; }
.place { color: var(--terracotta); text-transform: uppercase; letter-spacing: 0.08em; }
.since { color: var(--ink-soft); }
.since::before { content: "• "; }
.partner p { color: var(--ink-soft); }

/* India map (where-we-work-map.html) */
.map-wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: center; margin-top: 2.5rem; padding: 2rem 2.5rem; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.india-map { display: block; width: 100%; max-width: 460px; height: auto; margin: 0 auto; }
.map-land { fill: var(--tint); stroke: var(--teal); stroke-width: 1.2; stroke-linejoin: round; }
.map-pin circle { fill: var(--terracotta); stroke: var(--white); stroke-width: 2.5; transition: fill 0.2s; }
.map-pin:hover circle, .map-pin:focus circle { fill: var(--teal); }
.pin-num { fill: var(--white); font-family: var(--font-body); font-size: 15px; font-weight: 700; text-anchor: middle; }
.pin-label { fill: var(--teal-dark); font-family: var(--font-body); font-size: 18px; font-weight: 600; paint-order: stroke; stroke: var(--tint); stroke-width: 4px; stroke-linejoin: round; }
.map-key { list-style: none; display: grid; gap: 0.6rem; }
.map-key a { display: flex; align-items: center; gap: 0.9rem; padding: 0.7rem 0.9rem; border-radius: 12px; text-decoration: none; color: var(--ink-soft); font-size: 0.9rem; transition: background 0.2s; }
.map-key a:hover { background: var(--cream); }
.map-key strong { display: block; color: var(--teal-dark); font-family: var(--font-head); font-size: 1.1rem; }
.key-num { flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--terracotta); color: var(--white); font-weight: 700; font-size: 0.9rem; }
.partner { scroll-margin-top: 6rem; }
@media (max-width: 860px) { .map-wrap { grid-template-columns: 1fr; padding: 1.5rem; } }

/* Impact */
.goal {
  margin-top: 2rem !important; padding: 2rem; border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--font-head); font-size: 1.35rem; font-weight: 600; color: var(--white);
}

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.member { text-align: center; }
.member figcaption strong { display: block; color: var(--teal-dark); }
.member figcaption span { color: var(--ink-soft); font-size: 0.9rem; }

/* Get involved */
.involve-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.involve { background: var(--white); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); border-top: 4px solid var(--terracotta); }
.involve p { color: var(--ink-soft); }
.together { margin-top: 2.5rem; font-family: var(--font-head); font-size: 1.3rem; color: var(--teal-dark); }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-dark); color: #cfdede; padding: 3rem 0 1.5rem; }
.footer-grid { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 1.5rem; }
.footer-name { font-family: var(--font-head); font-size: 1.3rem; color: var(--white); font-weight: 600; }
.copyright { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.85rem; }
.copyright p { margin: 0; }
.copyright p + p { margin-top: 0.4rem; }

/* ---------- Photos ---------- */
.hero-art .hero-photo {
  position: absolute; inset: 8% 6% 8% 6%;
  width: 88%; height: 84%; object-fit: cover;
  border-radius: 28px; box-shadow: 0 20px 50px rgba(15, 82, 87, 0.22);
}
.hero-art .bubble { z-index: 2; }
.hero-art .b1 { top: 0; left: 0; }
.hero-art .b2 { top: 34%; right: -2%; }
.hero-art .b4 { bottom: 0; left: 10%; right: auto; }

.process-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; margin-bottom: 1.4rem; }
.pathway-photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; margin-bottom: 1.4rem; }

.delivery-figure { max-width: 760px; margin: 2.5rem auto 0; }
.delivery-figure img { width: 100%; border-radius: var(--radius); box-shadow: 0 20px 50px rgba(10, 58, 62, 0.25); }
.delivery-figure figcaption { margin-top: 0.9rem; font-size: 0.92rem; color: var(--ink-soft); font-style: italic; }

.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px;
  gap: 1rem; margin-top: 2.5rem;
}
.gallery figure { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery figure:hover img { transform: scale(1.05); }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }
.g-full { grid-column: 1 / -1; }

.section-photo-bg {
  background: linear-gradient(rgba(10, 58, 62, 0.86), rgba(10, 58, 62, 0.9)), url("images/impact-bg.jpg") center / cover no-repeat;
}

.section-classroom-bg {
  background: linear-gradient(rgba(10, 58, 62, 0.82), rgba(10, 58, 62, 0.88)), url("images/classroom-bg.jpg") center / cover no-repeat;
}
.section-classroom-bg h2 { color: var(--white); }
.section-classroom-bg .subtitle { color: var(--marigold); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .bubble { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .vision-grid { grid-template-columns: repeat(3, 1fr); }
  .framework, .card-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--cream); padding: 0 4%;
    max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease;
    border-bottom: 1px solid rgba(15, 82, 87, 0.08);
  }
  .site-nav.open { max-height: 420px; padding: 1rem 4% 1.5rem; }
  .site-nav a { padding: 0.7rem 0; width: 100%; }
  .site-nav .btn { width: auto; margin-top: 0.6rem; padding: 0.6rem 1.2rem; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding: 3rem 0 4rem; }
  .hero-grid, .split, .pathways, .partners, .involve-grid { grid-template-columns: 1fr; }
  .hero-art { height: 320px; order: -1; }
  .section { padding: 4rem 0; }
  .delivery-flow { flex-direction: column; }
  .delivery-flow li:not(:last-child)::after { content: "↓"; display: none; }
  .delivery-flow li { justify-content: center; width: 100%; max-width: 320px; }
  .delivery-flow li:not(:last-child) { position: relative; margin-bottom: 1.2rem; }
  .delivery-flow li:not(:last-child)::before {
    content: "↓"; position: absolute; bottom: -1.45rem; left: 50%; transform: translateX(-50%); color: var(--terracotta);
  }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .vision-grid, .framework, .card-grid { grid-template-columns: 1fr; }
  .bubble { font-size: 1rem; padding: 0.7rem 1rem; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .g-wide, .g-tall, .g-full { grid-column: auto; grid-row: auto; }
}

/* ---------- Copy-edit additions ---------- */
.process-card .process-quote {
  margin: 0; padding: 0; border: 0; background: none; border-radius: 0;
  font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; font-style: italic;
  line-height: 1.45; color: var(--teal-dark);
}
.process-card figcaption {
  margin-top: 0.8rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--terracotta);
}

#delivery .delivery { margin-top: 0; }
.delivery-intro { max-width: 680px; margin: 0 auto 0.5rem; color: var(--ink-soft); }

.stats {
  list-style: none; display: flex; justify-content: center; flex-wrap: wrap;
  gap: 1.5rem 1.6rem; margin: 0.5rem 0 2.5rem;
}
.stats li { display: flex; flex-direction: column; align-items: center; flex: 1 1 0; min-width: 120px; max-width: 150px; text-align: center; }
.stats strong { font-family: var(--font-head); font-size: 2.6rem; line-height: 1; color: var(--marigold); }
.stats span { margin-top: 0.4rem; font-size: 0.85rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: #e6efef; }

/* ---------- Ruru Khas class notes ---------- */

.text-link { font-weight: 600; color: var(--teal); text-decoration: none; white-space: nowrap; }
.text-link:hover { color: var(--terracotta); }

.notes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.note-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.note-card img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top;
  border-bottom: 1px solid rgba(15, 82, 87, 0.1); transition: transform 0.4s ease;
}
.note-card:hover img { transform: scale(1.03); }
.note-card figcaption { padding: 1.2rem 1.4rem 1.5rem; font-size: 0.95rem; color: var(--ink-soft); }
.note-card figcaption strong {
  display: block; margin-bottom: 0.4rem; font-size: 0.78rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--terracotta);
}


@media (max-width: 1000px) {
  .notes-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .notes-grid { grid-template-columns: 1fr; }
}

/* ---------- Impact stories ---------- */
.impact-block + .impact-block {
  margin-top: 5rem; padding-top: 5rem;
  border-top: 1px solid rgba(15, 82, 87, 0.12);
}
@media (max-width: 820px) {
  .impact-block + .impact-block { margin-top: 3.5rem; padding-top: 3.5rem; }
}

/* ---------- Challenge highlight card ---------- */
.highlight-box {
  margin: 2rem 0;
  padding: 1.8rem 2rem 1.8rem 2.2rem;
  background: var(--white);
  border-left: 6px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--ink);
}
@media (max-width: 560px) {
  .highlight-box { padding: 1.4rem 1.3rem 1.4rem 1.5rem; font-size: 1.05rem; }
}

/* ---------- Multi-page additions ---------- */
.site-nav a.active:not(.btn) { color: var(--terracotta); box-shadow: inset 0 -2px 0 var(--terracotta); }
.site-nav .btn.active { background: var(--terracotta); border-color: var(--terracotta); }

.explore-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.explore-card {
  display: flex; flex-direction: column; text-decoration: none; color: var(--ink);
  background: var(--white); border-radius: var(--radius); padding: 2rem;
  box-shadow: var(--shadow); border-top: 4px solid var(--teal);
  transition: transform 0.25s, box-shadow 0.25s;
}
.explore-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(15, 82, 87, 0.14); }
.explore-card p { color: var(--ink-soft); flex: 1; }
.explore-card .text-link { margin-top: 1.2rem; }

.cta-band h2 { margin-bottom: 0.6rem; }
.cta-band .btn-row { margin-top: 1.6rem; }
.cta-band { padding-bottom: 3rem; }
main:has(.cta-band:last-child) + .site-footer { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.btn-light { background: var(--marigold); border-color: var(--marigold); color: var(--teal-dark); }
.btn-light:hover { background: var(--white); border-color: var(--white); color: var(--teal-dark); }

.footer-pages { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; }
.footer-pages a { color: #cfdede; text-decoration: none; }
.footer-pages a:hover { color: var(--white); text-decoration: underline; }

@media (max-width: 1000px) { .explore-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px) {
  .site-nav a.active:not(.btn) { box-shadow: none; }
  .site-nav.open { max-height: 480px; }
}
@media (max-width: 560px) { .explore-grid { grid-template-columns: 1fr; } }

/* ---------- Section headings: title + subtitle ---------- */
.subtitle {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.4;
  color: var(--terracotta);
  margin: -0.4rem 0 1.4rem;
}
h2 + .subtitle { margin-top: -0.5rem; }
.section-dark .subtitle, .section-accent .subtitle { color: var(--marigold); }
.section-accent h2 { color: var(--white); }


/* ---------- Home impact snapshot ---------- */
.impact-strip { padding: 3.5rem 0; }
.impact-strip h2 { margin-bottom: 1.4rem; }
.impact-strip .stats { margin: 0 0 1.8rem; }
.impact-strip .text-link { color: var(--marigold); }
.impact-strip .text-link:hover { color: var(--white); }
.g-top img { object-position: center 15%; }

/* ---------- Team members ---------- */
.team-grid { grid-template-columns: repeat(3, 1fr); max-width: 900px; margin-left: auto; margin-right: auto; gap: 2.5rem; align-items: start; }
.member-photo {
  width: 100%; max-width: 220px; aspect-ratio: 1; margin: 0 auto 1.1rem; display: block;
  border-radius: 50%; object-fit: cover; box-shadow: var(--shadow); border: 4px solid var(--white);
}
.member-initials {
  display: grid; place-items: center; background: var(--teal); color: var(--white);
  font-family: var(--font-head); font-size: 3.2rem; font-weight: 600; letter-spacing: 0.04em;
}
.member figcaption strong { font-family: var(--font-head); font-size: 1.25rem; }
.member figcaption span { display: block; margin-top: 0.2rem; }
.member-bio { margin-top: 0.8rem; text-align: left; }
.member-bio summary {
  text-align: center; cursor: pointer; font-weight: 600; font-size: 0.9rem; color: var(--teal);
  list-style: none;
}
.member-bio summary::-webkit-details-marker { display: none; }
.member-bio summary::after { content: " ↓"; }
.member-bio[open] summary::after { content: " ↑"; }
.member-bio[open] summary { margin-bottom: 0.6rem; }
.member-bio p { font-size: 0.92rem; color: var(--ink-soft); }
.member-bio p + p { margin-top: 0.6rem; }
@media (max-width: 1000px) { .team-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
@media (max-width: 700px) { .team-grid { grid-template-columns: 1fr; max-width: 360px; } }

/* ---------- Contact details ---------- */
.footer-contact address { font-style: normal; line-height: 1.8; margin-bottom: 0.8rem; }
.footer-contact address a { color: var(--marigold); text-decoration: none; }
.footer-contact address a:hover { text-decoration: underline; }

.contact-card {
  max-width: 620px; margin: 3rem auto 0; padding: 2rem 2.2rem;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  border-top: 4px solid var(--teal);
}
.contact-card h3 { text-align: center; margin-bottom: 1.2rem; }
.contact-list div {
  display: grid; grid-template-columns: 90px 1fr; gap: 1rem;
  padding: 0.8rem 0; border-top: 1px solid rgba(15, 82, 87, 0.1);
}
.contact-list div:first-child { border-top: 0; }
.contact-list dt { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--terracotta); padding-top: 0.2rem; }
.contact-list dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.contact-list a { color: var(--teal); font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
@media (max-width: 560px) {
  .contact-card { padding: 1.5rem 1.3rem; }
  .contact-list div { grid-template-columns: 1fr; gap: 0.2rem; }
}
