/* ==========================================================================
   Jasmine Hope Foundation — styles.css
   Palette is drawn from the JHF logo green and the jasmine flower.
   The one recurring shape is the dove's wing sweep: a single large curve
   on photos (.sweep-corner) and three arcs in the hero.
   ========================================================================== */

:root {
  --pine: #0d301d;        /* deepest green, dark sections */
  --green: #144525;       /* JHF logo green */
  --leaf: #2b7a4b;        /* mid green, hovers and rules */
  --mist: #e8f1e8;        /* pale green tint */
  --petal: #fbfdf9;       /* page background, jasmine-petal white */
  --jasmine: #f6d860;     /* accent, jasmine-flower yellow */
  --ink: #14231b;
  --muted: #4c5f54;
  --line: #cfdccf;
  --error: #a3261f;

  --display: "Epilogue", "Verdana", "Segoe UI", sans-serif;
  --serif: "Source Serif 4", "Georgia", "Times New Roman", serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(72px, 10vw, 136px);
  --sweep: clamp(72px, 14vw, 200px);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); overflow-x: clip; }

body {
  margin: 0;
  background: var(--petal);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.68;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 0.18em; }
a:hover { color: var(--leaf); }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1.1em; max-width: 68ch; }
p:last-child { margin-bottom: 0; }

h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.15rem); line-height: 1.08; font-weight: 800; color: var(--green); margin-bottom: 0.6em; }
h3 { font-size: 1.2rem; line-height: 1.25; font-weight: 700; }

.lede { font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.45rem); line-height: 1.5; color: var(--green); }

:focus-visible { outline: 3px solid var(--jasmine); outline-offset: 3px; box-shadow: 0 0 0 6px var(--green); border-radius: 4px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); max-width: 720px; }
.section-head h2 { margin-bottom: 0.35em; }
.section-head p { font-size: 1.25rem; color: var(--muted); }
.section-head--light h2 { color: #fff; }
.section-head--light p { color: #c6dccb; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--jasmine); color: var(--pine); padding: 10px 16px; font-family: var(--display); font-weight: 700; border-radius: 6px; transition: top .15s; }
.skip-link:focus { top: 12px; }

/* The wing-sweep corner used on every content photo */
.sweep-corner { margin: 0; border-radius: 0 0 0 var(--sweep); overflow: hidden; background: var(--mist); }
.sweep-corner img { width: 100%; height: 100%; object-fit: cover; }

/* Shown if a stock image fails to load, so the layout never looks broken */
.img-fallback { background: linear-gradient(140deg, var(--green), var(--leaf)); min-height: 240px; }
.img-fallback img { visibility: hidden; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--display); font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 17px 28px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background-color .18s, color .18s, border-color .18s, transform .18s;
}
.btn:active { transform: translateY(1px); }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--pine); color: #fff; }
.btn--jasmine { background: var(--jasmine); color: var(--pine); }
.btn--jasmine:hover { background: #fff; color: var(--pine); }
.btn--ghost-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; background: #fff; color: var(--pine); }
.btn--ghost { border-color: var(--green); color: var(--green); background: transparent; }
.btn--ghost:hover { background: var(--green); color: #fff; }
.btn--wide { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(251,253,249,.96); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(13,48,29,.5); }
.site-header__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { height: 58px; width: auto; }

.site-nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); }
.site-nav ul { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 28px); }
.site-nav ul a { font-family: var(--display); font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.site-nav ul a:hover, .site-nav ul a.is-current { color: var(--green); border-bottom-color: var(--jasmine); }
.site-nav__cta { padding: 13px 22px; font-size: .95rem; white-space: nowrap; }

.nav-toggle { display: none; align-items: center; gap: 10px; background: none; border: 2px solid var(--green); color: var(--green); border-radius: 999px; padding: 10px 16px; font-family: var(--display); font-weight: 700; font-size: .95rem; cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Donate Now icon */
.site-nav__cta svg { width: 18px; height: 18px; fill: var(--jasmine); stroke: none; flex: none; }

/* Partners dropdown */
.has-sub { position: relative; display: flex; align-items: center; gap: 2px; }
.sub-toggle { display: grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; border-radius: 50%; }
.sub-toggle:hover { background: var(--mist); color: var(--green); }
.sub-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.site-nav .sub-menu { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%); display: none; flex-direction: column; gap: 4px; width: 290px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 0 0 0 28px; box-shadow: 0 24px 44px -24px rgba(13,48,29,.45); z-index: 10; }
.site-nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu, .has-sub.is-open .sub-menu { display: flex; }
.site-nav .sub-menu a { display: block; padding: 12px 14px; border-radius: 8px; border: 0; white-space: normal; }
.site-nav .sub-menu a:hover { background: var(--mist); border: 0; }
.sub-menu strong { display: block; font-family: var(--display); font-weight: 700; font-size: .98rem; color: var(--green); }
.sub-menu small { display: block; font-family: var(--serif); font-weight: 400; font-size: .9rem; line-height: 1.35; color: var(--muted); margin-top: 2px; }
.sub-menu li:first-child a { background: var(--mist); box-shadow: inset 4px 0 0 var(--jasmine); }
.sub-menu li:first-child a:hover { background: #d9e9da; }

@media (max-width: 1080px) {
  :root { --header-h: 72px; }
  .brand img { height: 48px; }
  .nav-toggle { display: inline-flex; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--petal); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px; box-shadow: 0 24px 40px -28px rgba(13,48,29,.55); display: none; }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 15px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .site-nav__cta { margin-top: 20px; }
  .has-sub { flex-wrap: wrap; }
  .has-sub > a { flex: 1; }
  .sub-toggle { display: none; }
  .site-nav .sub-menu { position: static; transform: none; display: flex; width: 100%; padding: 6px 0 10px 16px; border: 0; border-bottom: 1px solid var(--line); box-shadow: none; border-radius: 0; }
  .site-nav .sub-menu::before { display: none; }
  .site-nav .sub-menu a { padding: 10px 14px; }
}

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); background: var(--pine); color: #fff; min-height: min(760px, calc(100vh - var(--header-h))); }
.hero__panel { display: flex; align-items: center; padding: clamp(48px, 6vw, 88px) clamp(24px, 4vw, 64px) clamp(48px, 6vw, 88px) max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
.hero__inner { max-width: 560px; }
.hero__intro { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--jasmine); margin-bottom: 28px; }

.hero__title { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; font-size: clamp(2.3rem, 1.1rem + 3.7vw, 4.3rem); line-height: 1.04; font-weight: 800; letter-spacing: -0.035em; }
.hero__phrase { position: relative; font: inherit; letter-spacing: inherit; color: rgba(255,255,255,.34); background: none; border: 0; padding: 4px 0 12px; margin: 0; text-align: left; cursor: pointer; transition: color .4s; }
.hero__phrase:hover { color: rgba(255,255,255,.7); }
.hero__phrase.is-active { color: #fff; }
.hero__phrase::after { content: ""; position: absolute; left: 0; bottom: 2px; height: 5px; width: 100%; border-radius: 5px; background: var(--jasmine); transform: scaleX(0); transform-origin: left; }
.hero__phrase.is-active::after { transform: scaleX(1); }
.hero.is-playing .hero__phrase.is-active::after { animation: hero-timer var(--hero-ms, 6500ms) linear both; }
@keyframes hero-timer { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero__lede { font-size: clamp(1.15rem, 1rem + .5vw, 1.35rem); line-height: 1.55; color: #dcebdf; margin: 32px 0 36px; max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__stage { --hero-r: clamp(120px, 22vw, 340px); position: relative; overflow: hidden; border-radius: 0 0 0 var(--hero-r); background: var(--green); min-height: 420px; }
.hero__slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s .9s; }
.hero__slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s ease; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,48,29,.72), rgba(13,48,29,0) 38%); }
.hero__slide figcaption { position: absolute; z-index: 2; right: clamp(20px, 3vw, 40px); bottom: clamp(20px, 3vw, 34px); left: 46%; text-align: right; font-style: italic; font-size: 1rem; line-height: 1.4; color: #fff; }

.hero__sweep { position: absolute; z-index: 2; left: 0; bottom: 0; width: var(--hero-r); height: var(--hero-r); pointer-events: none; }
.hero__sweep path { fill: none; stroke-linecap: round; stroke-width: 10; }
.hero__sweep path:nth-child(2) { stroke-width: 8; }
.hero__sweep path:nth-child(3) { stroke-width: 6; }
.hero__sweep path:nth-child(1) { stroke: var(--jasmine); }
.hero__sweep path:nth-child(2) { stroke: #fff; opacity: .9; }
.hero__sweep path:nth-child(3) { stroke: var(--jasmine); opacity: .65; }

.hero__controls { position: absolute; z-index: 3; top: clamp(16px, 2.4vw, 28px); right: clamp(16px, 2.4vw, 28px); display: flex; gap: 8px; }
.hero__arrow { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 0; background: rgba(13,48,29,.62); color: #fff; cursor: pointer; backdrop-filter: blur(4px); transition: background-color .18s; }
.hero__arrow:hover { background: var(--pine); }
.hero__arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hero__arrow .icon-play { display: none; fill: currentColor; stroke: none; }
.hero__arrow[aria-pressed="true"] .icon-play { display: block; }
.hero__arrow[aria-pressed="true"] .icon-pause { display: none; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__stage { --hero-r: clamp(80px, 24vw, 180px); order: -1; aspect-ratio: 4 / 3; min-height: 0; }
  .hero__panel { padding: 44px var(--gutter) 64px; }
  .hero__slide figcaption { left: 38%; font-size: .9rem; }
}

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 7vw, 110px); align-items: start; }
.about__quote { margin: 0; position: sticky; top: calc(var(--header-h) + 40px); padding-left: clamp(20px, 3vw, 36px); border-left: 5px solid var(--jasmine); }
.about__quote p { font-style: italic; font-size: clamp(1.6rem, 1.1rem + 2vw, 2.6rem); line-height: 1.26; color: var(--green); max-width: 20ch; }
.about__body h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }

.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 44px 0 0; border-top: 2px solid var(--green); }
.facts div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: .98rem; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-family: var(--display); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; color: var(--green); }

@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__quote { position: static; }
  .about__quote p { max-width: 26ch; }
}

/* ---------- Mission & vision ---------- */
.purpose { background: var(--mist); }
.purpose__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 6vw, 96px); }
.purpose__item h2 { font-size: 1.05rem; font-weight: 700; letter-spacing: 0; color: var(--leaf); margin-bottom: 18px; }
.purpose__statement { font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); line-height: 1.24; letter-spacing: -0.02em; color: var(--green); margin-bottom: 1em; text-wrap: balance; }
@media (max-width: 860px) { .purpose__grid { grid-template-columns: 1fr; } }

/* ---------- Faith foundation ---------- */
.faith { background: var(--pine); color: #dcebdf; }
.faith h2 { color: #fff; margin-bottom: .3em; }
.faith__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 96px); align-items: end; margin-bottom: clamp(44px, 6vw, 80px); }
.faith__motto { font-style: italic; font-size: clamp(1.2rem, 1.05rem + .6vw, 1.45rem); color: var(--jasmine); margin: 0; }
.faith__anchor { margin: 0; padding: clamp(28px, 4vw, 56px); background: var(--green); border-radius: 0 0 0 var(--sweep); position: relative; }
.faith__anchor blockquote { margin: 0; }
.faith__anchor p { font-style: italic; font-size: clamp(1.35rem, 1rem + 1.6vw, 2.2rem); line-height: 1.35; color: #fff; max-width: 40ch; }
.faith__anchor figcaption { margin-top: 20px; font-family: var(--display); font-weight: 700; color: var(--jasmine); }
.faith__identity { margin: 28px 0 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); line-height: 1.4; color: #fff; max-width: 52ch; }
.faith__subhead { margin: clamp(52px, 7vw, 88px) 0 20px; font-size: 1.1rem; color: var(--jasmine); }
.scriptures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 4vw, 56px); }
.scriptures li { padding: 22px 0 26px; border-top: 1px solid rgba(255,255,255,.22); }
.scriptures blockquote { margin: 0; }
.scriptures p { font-style: italic; font-size: 1.1rem; line-height: 1.55; color: #e6f1e8; }
.scriptures cite { display: block; margin-top: 10px; font-style: normal; font-family: var(--display); font-weight: 700; font-size: .98rem; color: var(--jasmine); }
.faith__inclusion { margin-top: clamp(36px, 5vw, 56px); padding-left: 22px; border-left: 5px solid var(--jasmine); font-size: 1.1rem; line-height: 1.55; color: #fff; max-width: 70ch; }
@media (max-width: 860px) { .faith__head, .scriptures { grid-template-columns: 1fr; } }

/* ---------- What we do ---------- */
.what__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.what__text h2 { max-width: 17ch; }
.what__photo { position: sticky; top: calc(var(--header-h) + 32px); aspect-ratio: 4 / 5; }

.cases { margin: 40px 0 44px; border-top: 2px solid var(--green); }
.cases li { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 8px 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cases strong { font-family: var(--display); font-weight: 800; font-size: 1.15rem; color: var(--green); }
.what__turn { font-family: var(--display); font-weight: 800; font-size: clamp(1.4rem, 1.1rem + 1.1vw, 1.9rem); line-height: 1.2; letter-spacing: -0.02em; color: var(--green); margin-bottom: .6em; }

@media (max-width: 860px) {
  .what__grid { grid-template-columns: 1fr; }
  .what__photo { position: static; aspect-ratio: 16 / 10; }
}
@media (max-width: 520px) { .cases li { grid-template-columns: 1fr; } }

/* ---------- Areas of impact (tabs) ---------- */
.impact { background: var(--pine); color: #fff; }
.tabs { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: stretch; }
.tabs__list { display: flex; flex-direction: column; border-top: 1px solid rgba(255,255,255,.18); }
.tabs__list button { display: flex; align-items: center; gap: 16px; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid rgba(255,255,255,.18); padding: 19px 14px 19px 0; color: rgba(255,255,255,.66); font-family: var(--display); font-weight: 700; font-size: 1.1rem; line-height: 1.25; cursor: pointer; transition: color .18s, padding-left .18s; }
.tabs__list button:hover { color: #fff; }
.tabs__list button[aria-selected="true"] { color: var(--jasmine); padding-left: 14px; box-shadow: inset 4px 0 0 var(--jasmine); }
.tabs__list svg { flex: none; width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.tabs__panels { background: var(--petal); color: var(--ink); border-radius: 0 0 0 var(--sweep); padding: clamp(28px, 4.5vw, 60px); padding-bottom: clamp(44px, 6vw, 84px); min-height: 100%; }
.tabs__panels h3 { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.1rem); font-weight: 800; letter-spacing: -0.025em; color: var(--green); margin-bottom: 14px; }
.tabs__panels p { font-size: 1.25rem; line-height: 1.5; }
.taglist { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.taglist li { font-family: var(--display); font-weight: 600; font-size: .95rem; line-height: 1.3; padding: 10px 16px; border-radius: 999px; background: var(--mist); color: var(--green); }

@media (max-width: 860px) {
  .tabs { grid-template-columns: 1fr; }
  .tabs__list { flex-direction: row; overflow-x: auto; border-top: 0; gap: 8px; padding-bottom: 6px; scrollbar-width: thin; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .tabs__list button { flex: none; width: auto; white-space: nowrap; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 12px 18px; font-size: .98rem; gap: 10px; }
  .tabs__list button[aria-selected="true"] { background: var(--jasmine); border-color: var(--jasmine); color: var(--pine); padding-left: 18px; box-shadow: none; }
  .tabs__list svg { width: 20px; height: 20px; }
}

/* ---------- Approach ---------- */
.approach__head { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.approach__head h2 { margin: 0; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(28px, 4vw, 56px); }
.pillars li { padding: 26px 0 30px; border-top: 2px solid var(--green); }
.pillars h3 { color: var(--green); margin-bottom: 8px; font-size: 1.25rem; font-weight: 800; }
.pillars p { color: var(--muted); font-size: 1.05rem; line-height: 1.55; }
@media (max-width: 860px) {
  .approach__head { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Theory of change: a real sequence, so it climbs ---------- */
.theory { background: var(--mist); }
.steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; align-items: end; counter-reset: none; }
.steps li { background: var(--green); color: #fff; padding: 20px 18px 24px; border-radius: 0 22px 0 0; display: flex; flex-direction: column; justify-content: flex-start; }
.steps li:nth-child(1) { min-height: 170px; }
.steps li:nth-child(2) { min-height: 206px; }
.steps li:nth-child(3) { min-height: 242px; }
.steps li:nth-child(4) { min-height: 278px; }
.steps li:nth-child(5) { min-height: 314px; }
.steps li:nth-child(6) { min-height: 350px; background: var(--pine); }
.steps__n { font-family: var(--display); font-weight: 800; font-size: 2.2rem; line-height: 1; color: var(--jasmine); margin-bottom: 14px; }
.steps p { font-size: 1.02rem; line-height: 1.4; color: #dcebdf; }
.steps strong { display: block; font-family: var(--display); font-weight: 700; font-size: 1.08rem; color: #fff; margin-bottom: 4px; }
.theory__result { margin-top: clamp(36px, 5vw, 60px); font-family: var(--display); font-weight: 800; font-size: clamp(1.4rem, 1.1rem + 1.3vw, 2.1rem); line-height: 1.22; letter-spacing: -0.02em; color: var(--green); max-width: 30ch; text-wrap: balance; }

@media (max-width: 980px) {
  .steps { grid-template-columns: 1fr; gap: 6px; }
  .steps li, .steps li:nth-child(n) { min-height: 0; flex-direction: row; align-items: center; gap: 18px; padding: 16px 20px; border-radius: 0 18px 0 0; }
  .steps li:nth-child(1) { width: 75%; } .steps li:nth-child(2) { width: 80%; }
  .steps li:nth-child(3) { width: 85%; } .steps li:nth-child(4) { width: 90%; }
  .steps li:nth-child(5) { width: 95%; } .steps li:nth-child(6) { width: 100%; }
  .steps__n { margin: 0; font-size: 1.7rem; min-width: 1.2em; }
  .steps strong { display: inline; }
}
@media (max-width: 520px) { .steps li:nth-child(n) { width: 100%; } }

/* ---------- Who we serve ---------- */
.serve__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.served { columns: 2; column-gap: 40px; margin: 32px 0 36px; border-top: 2px solid var(--green); padding-top: 8px; }
.served li { break-inside: avoid; position: relative; padding: 13px 0 13px 30px; border-bottom: 1px solid var(--line); font-family: var(--display); font-weight: 600; font-size: 1.05rem; line-height: 1.35; color: var(--green); }
.served li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 16px; height: 9px; border: solid var(--leaf); border-width: 3px 3px 0 0; border-radius: 0 12px 0 0; }
.serve__photo { aspect-ratio: 4 / 5; }
@media (max-width: 860px) {
  .serve__grid { grid-template-columns: 1fr; }
  .serve__photo { aspect-ratio: 16 / 10; }
}
@media (max-width: 560px) { .served { columns: 1; } }

/* ---------- Where we work ---------- */
.where { padding-top: 0; }
.where__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 72px); align-items: center; }
.where__map { border-radius: 0 0 0 var(--sweep); overflow: hidden; background: var(--mist); aspect-ratio: 5 / 4; }
.where__map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.85); }
@media (max-width: 860px) { .where__grid { grid-template-columns: 1fr; } }

/* ---------- Offices (where we work) ---------- */
.offices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 20px; margin: 32px 0 0; border-top: 2px solid var(--green); }
.offices div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.offices__head { grid-column: 1 / -1; }
.offices dt { font-family: var(--display); font-weight: 800; font-size: 1.05rem; color: var(--green); }
.offices dd { margin: 4px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.5; }
.offices__head dd { font-size: 1.08rem; color: var(--ink); }
.offices dd a { color: inherit; }
@media (max-width: 560px) { .offices { grid-template-columns: 1fr; } }

/* ---------- SDGs ---------- */
.sdgs { background: #fff; border-block: 1px solid var(--line); }
.sdg-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sdg-grid li { position: relative; background: var(--sdg); color: #fff; padding: 22px 22px 26px; min-height: 210px; display: flex; flex-direction: column; border-radius: 0 0 0 36px; overflow: hidden; }
/* Official UN icon fills the tile; the coloured tile beneath is the fallback if it fails to load */
.sdg__icon { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.sdg__icon.is-loaded { opacity: 1; }
.sdg-grid li:has(.sdg__icon.is-loaded) { min-height: 0; aspect-ratio: 1; padding: 0; }
.sdg-grid li:has(.sdg__icon.is-loaded) > :not(.sdg__icon) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sdgs__note { margin-top: 28px; font-size: .92rem; color: var(--muted); max-width: none; }
.sdg__n { font-family: var(--display); font-weight: 800; font-size: 3rem; line-height: 1; letter-spacing: -0.04em; margin-bottom: auto; padding-bottom: 20px; }
.sdg-grid h3 { font-size: 1.12rem; font-weight: 800; margin-bottom: 6px; }
.sdg-grid p { font-size: .98rem; line-height: 1.4; }
@media (max-width: 980px) { .sdg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .sdg-grid { grid-template-columns: 1fr; } .sdg-grid li { min-height: 0; } }

/* ---------- Partners ---------- */
.partners { background: var(--mist); }
.partners__head { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.partners__head h2 { margin: 0; }
.partner-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(28px, 4vw, 56px); margin: 0; }
.partner-list div { padding: 24px 0 28px; border-top: 2px solid var(--green); }
.partner-list dt { font-family: var(--display); font-weight: 800; font-size: 1.22rem; color: var(--green); margin-bottom: 6px; }
.partner-list dd { margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.5; }
.partners__invite { margin-top: clamp(32px, 4vw, 56px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding: clamp(24px, 3.5vw, 40px); background: var(--petal); border-radius: 0 0 0 64px; }
.partners__invite p { font-size: 1.25rem; line-height: 1.45; color: var(--green); max-width: 46ch; margin: 0; }
@media (max-width: 860px) {
  .partners__head { grid-template-columns: 1fr; }
  .partner-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) { .partner-list { grid-template-columns: 1fr; } }

/* ---------- Principles ---------- */
.principle-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(24px, 3.5vw, 48px); }
.principle-grid li { padding: 24px 0 30px; border-top: 2px solid var(--green); }
.principle-grid h3 { color: var(--green); font-weight: 800; font-size: 1.25rem; margin-bottom: 6px; }
.principle-grid p { color: var(--muted); font-size: 1.05rem; line-height: 1.5; }
.principle-grid__mark { border-top-color: transparent !important; display: grid; place-items: center; }
.principle-grid__mark img { width: 104px; opacity: .9; }
@media (max-width: 980px) { .principle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .principle-grid { grid-template-columns: 1fr; } .principle-grid__mark { display: none; } }

/* ---------- Ambition + manifesto ---------- */
.ambition { background: var(--pine); color: #dcebdf; }
.ambition h2 { color: #fff; }
.ambition__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.ambition__goal { font-family: var(--display); font-weight: 700; font-size: clamp(1.25rem, 1.05rem + .8vw, 1.6rem); line-height: 1.3; color: var(--jasmine); margin-top: 1.4em; }
.ambition__photo { aspect-ratio: 4 / 5; background: var(--green); }

.manifesto { margin-top: clamp(72px, 10vw, 140px); }
.manifesto__lead { font-style: italic; font-size: clamp(1.25rem, 1.05rem + .8vw, 1.6rem); color: var(--jasmine); max-width: 36ch; margin-bottom: 36px; }
.manifesto__lines li { font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 1rem + 3.2vw, 3.6rem); line-height: 1.14; letter-spacing: -0.03em; color: rgba(255,255,255,.2); padding: .16em 0; transition: color .5s ease; text-wrap: balance; }
.manifesto__lines li.is-lit { color: #fff; }
.manifesto__close { margin-top: 44px; font-size: clamp(1.25rem, 1.05rem + .8vw, 1.6rem); line-height: 1.45; color: #fff; max-width: 34ch; padding-left: 24px; border-left: 5px solid var(--jasmine); }
@media (max-width: 860px) {
  .ambition__grid { grid-template-columns: 1fr; }
  .ambition__photo { aspect-ratio: 16 / 10; }
}

/* ---------- News & press ---------- */
.news { background: #fff; border-top: 1px solid var(--line); }
.news__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; margin-bottom: clamp(32px, 4vw, 48px); }
.news__filters { display: flex; flex-wrap: wrap; gap: 8px; }
.news__filters button { font-family: var(--display); font-weight: 700; font-size: .95rem; padding: 10px 16px; border-radius: 999px; border: 2px solid var(--green); background: transparent; color: var(--green); cursor: pointer; transition: background-color .15s, color .15s; }
.news__filters button:hover { background: var(--mist); }
.news__filters button.is-active { background: var(--green); color: #fff; }
.news__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post { display: flex; flex-direction: column; background: var(--petal); border: 1px solid var(--line); border-radius: 0 0 0 40px; overflow: hidden; }
.post[hidden] { display: none; }
.post--feature { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.post__media { display: block; background: var(--mist); }
.post__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.post--feature .post__media img { aspect-ratio: auto; min-height: 320px; }
.post__body { padding: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; flex: 1; }
.post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 14px; font-size: .95rem; color: var(--muted); }
.post__type { font-family: var(--display); font-weight: 700; font-size: .82rem; padding: 5px 11px; border-radius: 999px; color: #fff; background: var(--green); }
.post__type--current-issue { background: #a3261f; }
.post__type--update { background: var(--leaf); }
.post__type--press { background: var(--pine); }
.post h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 12px; line-height: 1.25; }
.post--feature h3 { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2rem); }
.post h3 a { color: var(--green); text-decoration: none; }
.post h3 a:hover { text-decoration: underline; }
.post p { font-size: 1.02rem; line-height: 1.55; color: var(--muted); }
.post__link { margin-top: auto; padding-top: 18px; font-family: var(--display); font-weight: 700; }
.news__empty { margin-top: 24px; color: var(--muted); font-style: italic; }
@media (max-width: 980px) { .news__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .news__head { grid-template-columns: 1fr; align-items: start; } }
@media (max-width: 760px) { .post--feature { grid-template-columns: 1fr; } .post--feature .post__media img { min-height: 0; aspect-ratio: 16 / 10; } }
@media (max-width: 560px) { .news__grid { grid-template-columns: 1fr; } }

/* ---------- Press gallery + lightbox ---------- */
.gallery { margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(32px, 4vw, 48px); border-top: 2px solid var(--green); }
.gallery__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; margin-bottom: 24px; }
.gallery__head h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); font-weight: 800; color: var(--green); }
.gallery__head p { color: var(--muted); font-size: 1rem; }
.gallery__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gallery__grid button { display: block; width: 100%; padding: 0; border: 0; background: var(--mist); cursor: zoom-in; text-align: left; border-radius: 0 0 0 32px; overflow: hidden; font: inherit; color: inherit; }
.gallery__grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s; }
.gallery__grid button:hover img { transform: scale(1.03); }
.gallery__grid span { display: block; padding: 12px 16px 16px; font-size: .98rem; line-height: 1.4; color: var(--muted); background: var(--petal); }
.gallery__grid li:first-child { grid-column: span 2; grid-row: span 2; }
.gallery__grid li:first-child img { aspect-ratio: auto; height: 100%; }
.gallery__grid li:first-child button { display: flex; flex-direction: column; height: 100%; }
.gallery__grid li:first-child img { flex: 1; min-height: 0; }
@media (max-width: 760px) { .gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gallery__grid li:first-child { grid-column: 1 / -1; grid-row: auto; } .gallery__grid li:first-child img { aspect-ratio: 4 / 3; } }
@media (max-width: 480px) { .gallery__grid { grid-template-columns: 1fr; } }

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(10,38,23,.94); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; padding: 16px; }
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; min-width: 0; }
.lightbox__figure img { max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain; border-radius: 0 0 0 28px; }
.lightbox__figure figcaption { color: #dcebdf; font-style: italic; margin-top: 14px; text-align: center; max-width: 60ch; }
.lightbox__close, .lightbox__nav { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); background: transparent; color: #fff; cursor: pointer; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.14); }
.lightbox__close { position: absolute; top: 16px; right: 16px; }
.lightbox svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.lightbox :focus-visible { outline-color: var(--jasmine); box-shadow: none; }
@media (max-width: 600px) { .lightbox { grid-template-columns: 1fr; } .lightbox__nav { position: absolute; bottom: 16px; } .lightbox__nav--prev { left: 16px; } .lightbox__nav--next { right: 16px; } .lightbox__figure img { max-height: calc(100vh - 170px); } }

/* ---------- Get involved ---------- */
.involve { background: var(--jasmine); color: var(--pine); padding-block: clamp(56px, 8vw, 104px); }
.involve__grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.involve h2 { color: var(--pine); font-size: clamp(2.2rem, 1.4rem + 3vw, 3.8rem); line-height: 1; margin: 0; }
.involve__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); }
.involve__list li { border-top: 3px solid var(--pine); padding-top: 18px; display: flex; flex-direction: column; }
.involve__list h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: 8px; }
.involve__list p { font-size: 1.05rem; line-height: 1.5; margin-bottom: 18px; }
.involve__list a { margin-top: auto; font-family: var(--display); font-weight: 700; color: var(--pine); text-decoration-thickness: 2px; }
.involve__list a:hover { color: var(--green); text-decoration-thickness: 3px; }
.involve :focus-visible { outline-color: var(--pine); box-shadow: none; }
@media (max-width: 980px) { .involve__grid { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .involve__list { grid-template-columns: 1fr; } }

/* ---------- Enquiry ---------- */
.enquiry__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.contact-list { margin: 40px 0 32px; border-top: 2px solid var(--green); }
.contact-list li { display: flex; gap: 18px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list svg { flex: none; width: 26px; height: 26px; margin-top: 4px; fill: none; stroke: var(--leaf); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-list span { display: block; font-size: .98rem; color: var(--muted); }
.contact-list a, .contact-list p { font-family: var(--display); font-weight: 700; font-size: 1.12rem; color: var(--green); margin: 0; word-break: break-word; }

.socials { display: flex; gap: 10px; }
.socials a { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--green); color: var(--green); transition: background-color .18s, color .18s; }
.socials a:hover { background: var(--green); color: #fff; }
.socials svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.socials svg .fill { fill: currentColor; stroke: none; }

.enquiry__card { background: #fff; border: 1px solid var(--line); border-radius: 0 0 0 var(--sweep); padding: clamp(24px, 4vw, 52px); padding-bottom: clamp(40px, 5vw, 64px); box-shadow: 0 40px 70px -56px rgba(13,48,29,.6); }
.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.field label { display: block; font-family: var(--display); font-weight: 700; font-size: .98rem; margin-bottom: 8px; color: var(--ink); }
.field label .optional { font-family: var(--serif); font-weight: 400; font-style: italic; color: var(--muted); margin-left: 4px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1.05rem; color: var(--ink); background: var(--petal);
  border: 1.5px solid #9fb4a5; border-radius: 8px; padding: 14px 16px; transition: border-color .15s, background-color .15s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23144525' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 20px; padding-right: 46px; }
.field textarea { resize: vertical; min-height: 140px; line-height: 1.55; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--green); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--jasmine); outline-offset: 0; box-shadow: none; border-color: var(--green); background: #fff; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--error); background: #fdf3f2; }
.field__error { font-size: .95rem; line-height: 1.35; color: var(--error); margin: 6px 0 0; min-height: 0; }
.field__error:empty { display: none; }

.field--check { display: grid; grid-template-columns: auto 1fr; gap: 0 12px; align-items: start; }
.field--check input { width: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--green); }
.field--check label { font-family: var(--serif); font-weight: 400; font-size: 1rem; line-height: 1.45; margin: 0; }
.field--check .field__error { grid-column: 2; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__status { margin: 0; font-size: 1rem; line-height: 1.45; color: var(--muted); }
.form__status:empty { display: none; }
.form__status.is-error { color: var(--error); }

.sent { text-align: left; }
.sent[hidden], .form[hidden] { display: none; }
.sent img { width: 72px; margin-bottom: 20px; }
.sent h3 { font-size: 1.9rem; font-weight: 800; color: var(--green); margin-bottom: 10px; }
.sent__channels { margin: 22px 0 28px; border-top: 2px solid var(--green); }
.sent__channels li { padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line); position: relative; font-size: 1.05rem; line-height: 1.45; }
.sent__channels li::before { content: ""; position: absolute; left: 4px; top: 1.15em; width: 14px; height: 8px; border: solid var(--leaf); border-width: 0 0 3px 3px; transform: rotate(-45deg); }
.sent__channels li.is-warn::before { width: 4px; height: 14px; border: 0; background: var(--error); transform: none; top: 1em; left: 9px; border-radius: 2px; }
.sent__channels li:empty { display: none; }
.sent__actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 900px) { .enquiry__grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: #0a2617; color: #c6dccb; padding-top: clamp(56px, 7vw, 96px); font-size: 1.02rem; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: clamp(32px, 4vw, 64px); }
.site-footer__brand img { width: 250px; margin-bottom: 24px; }
.site-footer__brand p { max-width: 38ch; line-height: 1.55; }
.site-footer h2 { font-size: 1rem; font-weight: 700; letter-spacing: 0; color: var(--jasmine); margin-bottom: 16px; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #e6f1e8; text-decoration: none; }
.site-footer a:hover { color: var(--jasmine); text-decoration: underline; }
.site-footer__base { margin-top: clamp(40px, 5vw, 72px); padding-block: 24px 28px; border-top: 1px solid rgba(255,255,255,.16); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; font-size: .95rem; }
.site-footer__base p { margin: 0; max-width: none; }
.site-footer__tagline { font-style: italic; color: var(--jasmine); }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Floating actions ---------- */
.fab { position: fixed; right: clamp(14px, 2vw, 28px); z-index: 90; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; border: 0; cursor: pointer; box-shadow: 0 14px 30px -12px rgba(0,0,0,.5); transition: transform .18s; }
.fab:hover { transform: translateY(-3px); }
.fab--wa { bottom: clamp(14px, 2vw, 28px); background: #1fa855; color: #fff; }
.fab--wa svg { width: 30px; height: 30px; fill: currentColor; }
.fab--top { bottom: calc(clamp(14px, 2vw, 28px) + 68px); background: var(--petal); color: var(--green); border: 2px solid var(--green); }
.fab--top svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.fab[hidden] { display: none; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .manifesto__lines li { color: #fff; }
}

@media print {
  .site-header, .fab, .hero__controls, .where__map, .involve { display: none !important; }
  .hero, .impact, .ambition, .site-footer { background: #fff !important; color: #000 !important; }
}
