:root {
  --ink: #10231f;
  --ink-soft: #27413a;
  --muted: #63716c;
  --paper: #fbfaf6;
  --cream: #f1efe3;
  --soft: #edf3f2;
  --blue: #1675a8;
  --blue-dark: #0c557c;
  --green: #93c646;
  --line: rgba(16, 35, 31, .14);
  --line-light: rgba(255, 255, 255, .16);
  --header: 82px;
  --radius: 22px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow-sm: 0 12px 34px rgba(16, 35, 31, .08);
  --shadow: 0 24px 70px rgba(16, 35, 31, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-snap-type: y proximity; background: var(--paper); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.6 "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { color: #fff; background: var(--blue); }

.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.skip-link {
  position: fixed; left: 12px; top: -80px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

/* Header */
.site-header {
  position: fixed; z-index: 100; inset: 0 0 auto;
  background: rgba(251, 250, 246, .94);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
  background: rgba(251, 250, 246, .98);
  border-color: var(--line);
  box-shadow: 0 5px 24px rgba(16, 35, 31, .04);
}
.nav-wrap { height: var(--header); display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; line-height: 1.08; min-width: 0; }
.brand-mark { width: 42px; flex: 0 0 42px; fill: var(--blue); }
.brand-mark .mark-leaf { fill: var(--green); }
.brand strong, .brand small { display: block; }
.brand strong { font: 700 13px/1.1 Manrope, sans-serif; }
.brand small { margin-top: 4px; color: var(--blue); font-size: 10px; text-transform: uppercase; letter-spacing: .15em; }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 600; }
.site-nav > a:not(.button) { position: relative; }
.site-nav > a:not(.button)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px;
  background: var(--green); transition: right .28s var(--ease);
}
.site-nav > a:hover::after, .site-nav > a.active::after { right: 0; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 8px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 26px; height: 2px; margin: 6px auto; background: var(--ink); transition: transform .25s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Core controls */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 18px;
  min-height: 48px; padding: 13px 22px; border: 0; border-radius: 999px;
  background: var(--blue); color: #fff; font-weight: 700; cursor: pointer;
  box-shadow: 0 10px 25px rgba(22, 117, 168, .18);
  transition: transform .25s var(--ease), background .25s ease, box-shadow .25s ease;
}
.button:hover { transform: translateY(-2px); background: var(--blue-dark); box-shadow: 0 14px 32px rgba(22, 117, 168, .22); }
.button:focus-visible, .text-link:focus-visible, .site-nav a:focus-visible, .contact-links a:focus-visible,
.carousel-controls button:focus-visible, .testimonial-dots button:focus-visible { outline: 3px solid rgba(147, 198, 70, .8); outline-offset: 4px; }
.button-small { min-height: 40px; padding: 9px 17px; font-size: 13px; }
.button-light { background: var(--green); color: var(--ink); box-shadow: none; }
.button-light:hover { background: #a4d85a; }
.text-link { display: inline-flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid currentColor; font-weight: 700; }

.scroll-progress {
  position: fixed; z-index: 120; left: 0; top: 0; width: 100%; height: 3px;
  pointer-events: none; background: var(--green); transform: scaleX(0); transform-origin: left center;
  will-change: transform;
}
.page-indicator {
  position: fixed; z-index: 80; left: 22px; bottom: 28px; display: flex; align-items: center; gap: 10px;
  color: var(--muted); font: 700 10px Manrope, sans-serif; letter-spacing: .12em;
}
.page-indicator i { width: 52px; height: 1px; background: currentColor; opacity: .5; }
.page-indicator__number { color: var(--blue); }

/* Presentation panels */
.page { width: 100%; }
.panel {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; min-height: 100dvh;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}
.panel__inner {
  min-height: 100svh; min-height: 100dvh;
  display: flex; align-items: center; position: relative; z-index: 2;
  padding-top: calc(var(--header) + 24px); padding-bottom: 48px;
}
.section-stage { width: 100%; }
.panel--light { background: var(--paper); }
.panel--cream { background: var(--cream); }
.panel--soft { background: var(--soft); }
.panel--dark { background: var(--ink); color: #fff; }
.panel--blue { background: var(--blue); color: #fff; }

.panel::after {
  content: ""; position: absolute; z-index: 1; inset: auto 0 0; height: 1px;
  background: rgba(16, 35, 31, .055); pointer-events: none;
}
.panel--dark::after, .panel--blue::after { background: rgba(255, 255, 255, .1); }
.panel__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.panel__bg--hero {
  background:
    radial-gradient(circle at 88% 22%, rgba(22, 117, 168, .1), transparent 28%),
    linear-gradient(125deg, #f3f5ec 0%, #fbfaf6 55%, #edf4f3 100%);
}
.panel__bg--hero::after {
  content: ""; position: absolute; width: 560px; height: 560px; right: -260px; top: 80px;
  border: 1px solid rgba(22, 117, 168, .12); border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(22, 117, 168, .035), 0 0 0 140px rgba(22, 117, 168, .025);
}

/* Lightweight slide choreography. Only composited properties are animated. */
.reveal {
  --rx: 0px; --ry: 28px; --rs: .985; --rr: 0deg;
  opacity: 0;
  transform: translate3d(var(--rx), var(--ry), 0) scale(var(--rs)) rotate(var(--rr));
  transition:
    opacity .46s ease-out var(--delay, 0ms),
    transform .64s var(--ease-out) var(--delay, 0ms);
  backface-visibility: hidden;
}
.reveal--left { --rx: -42px; --ry: 0px; }
.reveal--right { --rx: 42px; --ry: 0px; }
.reveal--up { --rx: 0px; --ry: 28px; }
.panel.is-active .reveal { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
.panel.is-before .reveal { opacity: 0; transform: translate3d(0, -24px, 0) scale(.99); transition-delay: 0ms; }
.panel.is-after .reveal { opacity: 0; }

/* Type */
.eyebrow, .section-label {
  margin: 0 0 13px; color: var(--blue); text-transform: uppercase; letter-spacing: .15em;
  font-size: 11px; font-weight: 800;
}
.section-label--light { color: var(--green); }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 24px; height: 2px; background: var(--green); }
h1, h2, h3 { margin: 0; font-family: Manrope, sans-serif; line-height: 1.06; letter-spacing: -.045em; }
h1 { font-size: clamp(54px, 6.7vw, 94px); font-weight: 700; }
h1 em { color: var(--blue); font-style: normal; }
h2 { font-size: clamp(38px, 4.6vw, 66px); }
h3 { font-size: 26px; }

/* Hero */
.hero-layout { display: grid; grid-template-columns: .92fr 1.08fr; gap: 70px; align-items: center; }
.official-slogan {
  max-width: 560px; margin: 22px 0 0; padding-left: 17px; border-left: 3px solid var(--green);
  font: 600 17px/1.5 Manrope, sans-serif;
}
.hero-lead { max-width: 570px; margin: 24px 0; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.trust-line {
  display: flex; align-items: center; gap: 10px; margin-top: 30px; padding-top: 15px;
  border-top: 1px solid var(--line); color: var(--muted); font-size: 12px;
}
.trust-line strong { margin-left: auto; color: var(--ink); font-family: Manrope, sans-serif; }
.trust-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(147, 198, 70, .14); }
.hero-visual { height: min(66vh, 610px); min-height: 430px; position: relative; }
.hero-photo { position: absolute; inset: 0 0 30px 38px; overflow: hidden; border-radius: 180px 20px 180px 20px; box-shadow: var(--shadow); background: #cbded9; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(160deg, rgba(16, 35, 31, .03), rgba(22, 117, 168, .18)); }
.hero-photo::after { content: ""; position: absolute; z-index: 2; inset: 16px; border: 1px solid rgba(255, 255, 255, .66); border-radius: 168px 15px 168px 15px; }
.floating-note { position: absolute; z-index: 4; left: 0; bottom: 0; width: 270px; padding: 20px 22px; border-radius: 18px; background: var(--ink); color: #fff; box-shadow: var(--shadow); }
.floating-note span { display: block; margin-bottom: 5px; color: var(--green); font-size: 9px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.floating-note strong { font: 700 16px/1.35 Manrope, sans-serif; }
.orbit-badge { position: absolute; z-index: 5; right: -35px; top: 20px; width: 106px; height: 106px; display: grid; place-items: center; border-radius: 50%; background: var(--green); }
.orbit-badge svg { position: absolute; inset: 5px; width: 96px; height: 96px; animation: spin 18s linear infinite; }
.orbit-badge text { fill: var(--ink); font: 700 8px Manrope, sans-serif; letter-spacing: 1px; }
.orbit-badge b { font: 800 21px Manrope, sans-serif; }
.scroll-cue { position: absolute; z-index: 3; right: 28px; bottom: 24px; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.scroll-cue span { width: 34px; height: 34px; display: block; position: relative; border: 1px solid var(--line); border-radius: 50%; }
.scroll-cue span::after { content: ""; position: absolute; width: 5px; height: 5px; left: 13px; top: 11px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); animation: cue 1.8s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes cue { 0%, 100% { transform: translateY(-2px) rotate(45deg); opacity: .45; } 50% { transform: translateY(5px) rotate(45deg); opacity: 1; } }

/* About / approach */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.body-large { max-width: 520px; }
.body-large p { margin: 0; }
.body-large p:first-child { margin-bottom: 22px; font-size: 22px; line-height: 1.48; }
.body-large p:last-child { color: var(--muted); font-size: 16px; }
.section-intro { display: flex; align-items: end; justify-content: space-between; margin-bottom: 36px; }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principle-grid article { min-height: 190px; padding: 30px 34px; border-right: 1px solid var(--line); }
.principle-grid article:first-child { border-left: 1px solid var(--line); }
.principle-grid span { color: var(--blue); font: 700 11px Manrope, sans-serif; }
.principle-grid h3 { margin: 8px 0; }
.principle-grid p { margin: 0; color: var(--muted); }

/* Section heading */
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 60px; margin-bottom: 28px; }
.section-heading > p { max-width: 390px; margin: 0; color: var(--muted); font-size: 15px; }

/* Programs */
.panel--programs { background: linear-gradient(180deg, var(--cream), #f5f2e8); }
.program-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 16px; height: clamp(390px, 56vh, 510px); }
.program-card { position: relative; min-height: 0; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); }
.program-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; border: 1px solid rgba(16, 35, 31, .07); border-radius: inherit; }
.program-card--featured { background: #fff; box-shadow: var(--shadow-sm); }
.program-image { height: 42%; flex: none; overflow: hidden; }
.program-image img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.001); transition: transform .7s var(--ease); }
.program-card:hover .program-image img { transform: scale(1.045); }
.program-content { flex: 1; display: flex; flex-direction: column; padding: 24px; }
.card-top { display: flex; align-items: center; justify-content: space-between; }
.card-top > span:first-child { opacity: .72; font: 700 11px Manrope, sans-serif; }
.pill { padding: 5px 9px; border-radius: 999px; background: rgba(22, 117, 168, .09); color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.program-card h3 { margin: 18px 0 9px; font-size: 27px; }
.program-card p { margin: 0 0 15px; font-size: 14px; line-height: 1.55; }
.program-card a { margin-top: auto; font-size: 13px; font-weight: 800; }
.program-card--blue, .program-card--green { padding: 24px; }
.program-card--blue { background: var(--blue); color: #fff; }
.program-card--green { background: var(--green); }
.program-card--blue p { color: rgba(255, 255, 255, .78); }
.program-card--green p { color: rgba(16, 35, 31, .72); }
.program-card--blue .program-content, .program-card--green .program-content { padding: 0; }
.icon-disc { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .16); }

/* Impact */
.impact-layout { display: grid; grid-template-columns: .82fr 1fr; gap: 80px; align-items: center; }
.impact-image { position: relative; height: min(68vh, 590px); }
.impact-image > img { width: 100%; height: 100%; object-fit: cover; border-radius: 180px 20px 20px 20px; filter: saturate(.9); }
.image-caption { position: absolute; right: -25px; bottom: 24px; padding: 20px 23px; border-radius: 15px; background: var(--green); color: var(--ink); box-shadow: 0 18px 48px rgba(0, 0, 0, .14); }
.image-caption span { display: block; margin-bottom: 5px; font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.image-caption strong { font: 700 15px/1.35 Manrope, sans-serif; }
.impact-copy > p:not(.section-label) { max-width: 620px; margin: 24px 0; color: rgba(255, 255, 255, .68); }
.check-list { display: grid; gap: 12px; margin: 0 0 28px; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, .88); }
.check-list span { width: 25px; height: 25px; flex: 0 0 25px; display: grid; place-items: center; border-radius: 50%; background: rgba(147, 198, 70, .15); color: var(--green); font-size: 12px; }

/* Stories */
.story-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 16px; height: clamp(380px, 52vh, 490px); }
.quote-main { position: relative; margin: 0; padding: 38px; display: flex; flex-direction: column; justify-content: end; overflow: hidden; border-radius: var(--radius); background: var(--ink); color: #fff; }
.quote-main::before { content: ""; position: absolute; width: 280px; height: 280px; right: -95px; top: -105px; border: 1px solid rgba(147, 198, 70, .2); border-radius: 50%; box-shadow: 0 0 0 50px rgba(147, 198, 70, .035); }
.quote-main p { position: relative; z-index: 2; max-width: 760px; margin: auto 0 24px; font: 600 clamp(29px, 3.3vw, 49px)/1.15 Manrope, sans-serif; letter-spacing: -.04em; }
.quote-main footer { position: relative; z-index: 2; color: rgba(255, 255, 255, .58); font-size: 12px; }
.quote-mark { position: absolute; z-index: 1; left: auto; right: 30px; top: 22px; color: var(--green); opacity: .68; font: 700 72px/1 Georgia, serif; pointer-events: none; }
.mini-stories { display: grid; gap: 16px; }
.mini-stories article { min-height: 0; padding: 28px; display: flex; flex-direction: column; justify-content: end; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 10px 30px rgba(16, 35, 31, .035); }
.mini-stories article span { color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.mini-stories h3 { margin: 9px 0; font-size: 25px; }
.mini-stories p { margin: 0; color: var(--muted); font-size: 14px; }

/* Community-note carousel */
.testimonial-shell { position: relative; }
.testimonial-stage { position: relative; height: clamp(280px, 38vh, 360px); overflow: hidden; border-radius: 28px; background: #fff; box-shadow: var(--shadow-sm); }
.testimonial-stage::after { content: "“"; position: absolute; right: 26px; top: 18px; z-index: 0; color: rgba(22, 117, 168, .055); font: 700 126px/1 Georgia, serif; pointer-events: none; }
.testimonial { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 6vw, 72px); opacity: 0; pointer-events: none; transform: translate3d(12%, 0, 0) scale(.985); transition: opacity .42s ease, transform .58s var(--ease-out); }
.testimonial.is-current { z-index: 2; opacity: 1; pointer-events: auto; transform: translate3d(0, 0, 0) scale(1); }
.testimonial.is-prev { opacity: 0; transform: translate3d(-12%, 0, 0) scale(.985); }
.testimonial.is-next { opacity: 0; transform: translate3d(12%, 0, 0) scale(.985); }
.testimonial-kicker { margin-bottom: 17px; color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.testimonial p { max-width: 840px; margin: 0 0 22px; font: 600 clamp(25px, 3.15vw, 42px)/1.17 Manrope, sans-serif; letter-spacing: -.035em; text-wrap: balance; }
.testimonial footer { color: var(--muted); font-size: 13px; }
.carousel-controls { display: flex; gap: 8px; }
.carousel-controls button { width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; transition: border-color .25s ease, background .25s ease, transform .25s ease; }
.carousel-controls button:hover { border-color: var(--blue); background: #fff; transform: translateY(-2px); }
.testimonial-dots { display: flex; gap: 7px; margin-top: 16px; }
.testimonial-dots button { width: 28px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(16, 35, 31, .14); cursor: pointer; transition: width .3s var(--ease), background .3s ease; }
.testimonial-dots button.is-current { width: 56px; background: var(--blue); }
.testimonial-progress { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; height: 3px; overflow: hidden; background: rgba(16, 35, 31, .06); border-radius: 0 0 28px 28px; }
.testimonial-progress i { display: block; width: 100%; height: 100%; background: var(--green); transform: scaleX(0); transform-origin: left; }
.testimonial-shell.is-playing .testimonial-progress i { animation: carousel-progress 5.8s linear forwards; }
@keyframes carousel-progress { to { transform: scaleX(1); } }

/* Get involved */
.join-layout { display: grid; grid-template-columns: 1fr 1fr; min-height: 65vh; overflow: hidden; border: 1px solid rgba(255, 255, 255, .2); border-radius: 26px; }
.join-head { padding: clamp(36px, 6vw, 70px); display: flex; flex-direction: column; justify-content: center; background: rgba(0, 0, 0, .06); }
.join-head h2 { max-width: 600px; }
.join-head > p:last-child { max-width: 500px; margin: 24px 0 0; color: rgba(255, 255, 255, .76); }
.join-options { display: grid; border-left: 1px solid rgba(255, 255, 255, .18); }
.join-options > a { display: grid; grid-template-columns: 48px 1fr auto; gap: 18px; align-items: center; padding: 24px 30px; border-bottom: 1px solid rgba(255, 255, 255, .18); transition: background .25s ease; }
.join-options > a:last-child { border-bottom: 0; }
.join-options > a:hover { background: rgba(255, 255, 255, .08); }
.join-options h3 { font-size: 25px; }
.join-options p { margin: 5px 0 0; color: rgba(255, 255, 255, .72); font-size: 13px; }
.join-options b { font-size: 23px; font-weight: 400; transition: transform .25s var(--ease); }
.join-options > a:hover b { transform: translateX(4px); }
.option-icon { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; color: var(--green); font: 700 10px Manrope, sans-serif; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: .8fr 1fr; gap: 90px; align-items: center; }
.contact-copy > p:not(.section-label):not(.location) { max-width: 530px; margin: 24px 0; color: var(--muted); }
.contact-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 32px; }
.contact-links a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; font-weight: 700; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.contact-links a:hover { transform: translateY(-2px); border-color: rgba(22, 117, 168, .4); background: #fff; }
.contact-links span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-size: 9px; text-transform: lowercase; }
.location { margin-top: 30px; color: var(--muted); font-size: 13px; }
.location strong { color: var(--ink); }
.contact-form { padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow-sm); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: block; margin-bottom: 14px; font-size: 12px; font-weight: 700; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; margin-top: 6px; padding: 12px 13px; border: 1px solid rgba(16, 35, 31, .18); border-radius: 10px; outline: 0; background: #fcfcfa; color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.contact-form textarea { resize: vertical; min-height: 92px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(22, 117, 168, .09); }
.contact-form small { display: none; margin-top: 4px; color: #a12b2b; font-size: 10px; }
.contact-form label.invalid small { display: block; }
.contact-form label.invalid input, .contact-form label.invalid select, .contact-form label.invalid textarea { border-color: #b54949; }
.consent { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; line-height: 1.45; }
.consent input { width: 17px; height: 17px; margin: 2px 0 0; flex: 0 0 17px; accent-color: var(--blue); box-shadow: none !important; }
.consent a { color: var(--blue); text-decoration: underline; }
.form-submit { width: 100%; }
.form-note { margin: 10px 0 0; color: var(--muted); font-size: 10px; text-align: center; }

/* Footer */
.site-footer { padding: 62px 0 28px; background: #0c1b18; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 55px; padding-bottom: 46px; }
.footer-brand > p { max-width: 340px; margin: 22px 0 0; color: rgba(255, 255, 255, .57); font-size: 14px; }
.site-footer .brand strong { color: #fff; }
.site-footer h3 { margin-bottom: 18px; color: rgba(255, 255, 255, .46); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.site-footer .footer-grid > div:not(.footer-brand) a { display: block; margin: 10px 0; color: rgba(255, 255, 255, .78); font-size: 13px; }
.site-footer .footer-grid > div:not(.footer-brand) a:hover { color: var(--green); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .44); font-size: 11px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(255, 255, 255, .76); }

/* Legal pages */
.legal-body { background: #f7f7f2; }
.legal-page { min-height: 100vh; padding: calc(var(--header) + 54px) 0 80px; background: linear-gradient(180deg, #eef4f2 0, #f7f7f2 360px, #f7f7f2 100%); }
.legal-hero { width: min(1180px, calc(100% - 48px)); margin: 0 auto 44px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.legal-hero h1 { max-width: 850px; font-size: clamp(48px, 7vw, 88px); }
.legal-hero p:not(.section-label):not(.legal-meta) { max-width: 720px; margin: 20px 0 0; color: var(--muted); font-size: 18px; }
.legal-meta { margin: 0 0 8px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .66); color: var(--muted); font-size: 11px; white-space: nowrap; }
.legal-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 48px; align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header) + 22px); padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, .76); }
.legal-toc strong { display: block; margin-bottom: 10px; color: var(--muted); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.legal-toc a { display: block; padding: 7px 8px; border-radius: 8px; color: var(--muted); font-size: 12px; line-height: 1.35; transition: background .2s ease, color .2s ease; }
.legal-toc a:hover { background: var(--soft); color: var(--ink); }
.legal-content { padding: clamp(30px, 5vw, 58px); border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow-sm); }
.legal-content > p:first-child { margin-top: 0; padding-bottom: 26px; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: 18px; }
.legal-content section { scroll-margin-top: calc(var(--header) + 24px); padding: 31px 0; border-bottom: 1px solid var(--line); }
.legal-content section:last-child { padding-bottom: 0; border-bottom: 0; }
.legal-content h2 { margin-bottom: 13px; font-size: clamp(25px, 3vw, 34px); letter-spacing: -.035em; }
.legal-content p { margin: 0; color: #4d625c; }
.legal-content p + p { margin-top: 12px; }
.legal-content ul { margin: 13px 0 0; padding-left: 20px; color: #4d625c; }
.legal-content li + li { margin-top: 8px; }
.legal-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.legal-callout { margin: 8px 0 22px; padding: 18px 20px; border-left: 4px solid var(--green); border-radius: 0 14px 14px 0; background: #f2f7ea; color: var(--ink-soft); }
.legal-callout strong { display: block; margin-bottom: 4px; font-family: Manrope, sans-serif; }
.legal-socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.legal-socials a { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 12px; font-weight: 700; }



/* -------------------------------------------------------------
   Section-by-section presentation choreography
   Explicit timings replace generic DOM nth-child delays.
   Only opacity + transform are animated for smooth compositing.
-------------------------------------------------------------- */

/* 01 · Hero — copy builds first, visual lands last. */
#home .hero-copy .eyebrow { --delay: 30ms; --ry: 18px; }
#home .hero-copy h1 { --delay: 115ms; --ry: 24px; --rs: .975; }
#home .official-slogan { --delay: 225ms; --rx: -26px; --ry: 0; }
#home .hero-lead { --delay: 330ms; --ry: 20px; }
#home .hero-actions { --delay: 430ms; --ry: 18px; }
#home .trust-line { --delay: 520ms; --ry: 14px; }
#home .hero-visual { --delay: 265ms; --rx: 46px; --ry: 0; --rs: .97; }

/* 02 · Who we are — statement enters from left, supporting thoughts answer from right. */
#about .two-col > .reveal { --delay: 70ms; --rx: -52px; --ry: 0; }
#about .body-large p:first-child { --delay: 290ms; --rx: 44px; --ry: 0; }
#about .body-large p:last-child { --delay: 470ms; --rx: 34px; --ry: 0; }

/* 03 · Approach — heading, then a three-card upward cascade. */
#approach .section-intro .section-label { --delay: 30ms; --rx: -28px; --ry: 0; }
#approach .section-intro h2 { --delay: 135ms; --ry: 24px; }
#approach .principle-grid article { --ry: 42px; --rs: .955; }
#approach .principle-grid article:nth-child(1) { --delay: 320ms; --rx: -12px; --rr: -.7deg; }
#approach .principle-grid article:nth-child(2) { --delay: 475ms; }
#approach .principle-grid article:nth-child(3) { --delay: 630ms; --rx: 12px; --rr: .7deg; }

/* 04 · Programs — context first, then each programme gets its own entrance. */
#programs .section-heading > div { --delay: 30ms; --rx: -36px; --ry: 0; }
#programs .section-heading > p { --delay: 180ms; --ry: 20px; }
#programs .program-card:nth-child(1) { --delay: 365ms; --rx: -46px; --ry: 0; --rs: .965; }
#programs .program-card:nth-child(2) { --delay: 525ms; --ry: 40px; --rs: .955; }
#programs .program-card:nth-child(3) { --delay: 685ms; --rx: 46px; --ry: 0; --rs: .965; }

/* Small internal accent: card content settles after each card shell. */
#programs .program-card .card-top,
#programs .program-card h3,
#programs .program-card p,
#programs .program-card a {
  opacity: 0; transform: translate3d(0, 12px, 0);
  transition: opacity .38s ease-out, transform .48s var(--ease-out);
}
#programs .panel-placeholder { display: none; }
#programs.is-active .program-card .card-top,
#programs.is-active .program-card h3,
#programs.is-active .program-card p,
#programs.is-active .program-card a { opacity: 1; transform: none; }
#programs.is-active .program-card:nth-child(1) .card-top { transition-delay: 520ms; }
#programs.is-active .program-card:nth-child(1) h3 { transition-delay: 580ms; }
#programs.is-active .program-card:nth-child(1) p { transition-delay: 640ms; }
#programs.is-active .program-card:nth-child(1) a { transition-delay: 700ms; }
#programs.is-active .program-card:nth-child(2) .card-top { transition-delay: 680ms; }
#programs.is-active .program-card:nth-child(2) h3 { transition-delay: 740ms; }
#programs.is-active .program-card:nth-child(2) p { transition-delay: 800ms; }
#programs.is-active .program-card:nth-child(2) a { transition-delay: 860ms; }
#programs.is-active .program-card:nth-child(3) .card-top { transition-delay: 840ms; }
#programs.is-active .program-card:nth-child(3) h3 { transition-delay: 900ms; }
#programs.is-active .program-card:nth-child(3) p { transition-delay: 960ms; }
#programs.is-active .program-card:nth-child(3) a { transition-delay: 1020ms; }

/* 05 · Impact — image establishes place, copy and evidence follow like speaker notes. */
#impact .impact-image { --delay: 70ms; --rx: -42px; --ry: 0; --rs: .95; }
#impact .image-caption { --delay: 330ms; --rx: 26px; --ry: 18px; --rs: .94; }
#impact .impact-copy .section-label { --delay: 175ms; --ry: 16px; }
#impact .impact-copy h2 { --delay: 290ms; --ry: 24px; }
#impact .impact-copy > p:not(.section-label) { --delay: 405ms; --ry: 20px; }
#impact .check-list li:nth-child(1) { --delay: 535ms; --rx: 24px; --ry: 0; }
#impact .check-list li:nth-child(2) { --delay: 640ms; --rx: 24px; --ry: 0; }
#impact .check-list li:nth-child(3) { --delay: 745ms; --rx: 24px; --ry: 0; }
#impact .check-list li:nth-child(4) { --delay: 850ms; --rx: 24px; --ry: 0; }
#impact .impact-copy .button { --delay: 955ms; --ry: 18px; }
#impact .impact-copy .button.reveal {
  transition:
    opacity .46s ease-out var(--delay, 0ms),
    transform .64s var(--ease-out) var(--delay, 0ms),
    background .25s ease, box-shadow .25s ease;
}
#impact.is-active .impact-copy .button.reveal:hover { transform: translate3d(0, -2px, 0) scale(1); }

/* 06 · Stories — title, anchor quote, then two takeaway cards. */
#stories .section-heading > div { --delay: 30ms; --rx: -34px; --ry: 0; }
#stories .section-heading > .text-link { --delay: 170ms; --rx: 26px; --ry: 0; }
#stories .quote-main { --delay: 345ms; --rx: -44px; --ry: 0; --rs: .965; }
#stories .mini-stories article:nth-child(1) { --delay: 535ms; --ry: 38px; --rs: .96; }
#stories .mini-stories article:nth-child(2) { --delay: 700ms; --rx: 38px; --ry: 0; --rs: .96; }
#stories .quote-main p,
#stories .quote-main footer { opacity: 0; transform: translate3d(0, 14px, 0); transition: opacity .4s ease-out, transform .52s var(--ease-out); }
#stories.is-active .quote-main p { opacity: 1; transform: none; transition-delay: 500ms; }
#stories.is-active .quote-main footer { opacity: 1; transform: none; transition-delay: 610ms; }

/* 07 · Community notes — restrained title, then carousel as the focal slide. */
#testimonials .section-heading > div { --delay: 35ms; --rx: -32px; --ry: 0; }
#testimonials .carousel-controls { --delay: 160ms; --rx: 26px; --ry: 0; }
#testimonials .testimonial-shell { --delay: 325ms; --ry: 34px; --rs: .97; }
.testimonial > * { opacity: 0; transform: translate3d(0, 14px, 0); transition: opacity .36s ease-out, transform .48s var(--ease-out); }
.testimonial.is-current > .testimonial-kicker { opacity: 1; transform: none; transition-delay: .13s; }
.testimonial.is-current > p { opacity: 1; transform: none; transition-delay: .20s; }
.testimonial.is-current > footer { opacity: 1; transform: none; transition-delay: .29s; }

/* 08 · Get involved — exact requested sequence: intro first, then 01 → 02 → 03. */
#join .join-head .section-label { --delay: 40ms; --ry: 18px; }
#join .join-head h2 { --delay: 155ms; --ry: 24px; --rs: .98; }
#join .join-head > p:last-child { --delay: 285ms; --ry: 18px; }
#join .join-options > a { --rx: 52px; --ry: 0; --rs: .985; }
#join .join-options > a:nth-child(1) { --delay: 540ms; }
#join .join-options > a:nth-child(2) { --delay: 720ms; }
#join .join-options > a:nth-child(3) { --delay: 900ms; }
#join .join-options > a.reveal {
  transition:
    opacity .46s ease-out var(--delay, 0ms),
    transform .64s var(--ease-out) var(--delay, 0ms),
    background .25s ease;
}
#join.is-active .join-options > a:nth-child(1) .option-icon { animation: option-pop .44s var(--ease-out) .75s both; }
#join.is-active .join-options > a:nth-child(2) .option-icon { animation: option-pop .44s var(--ease-out) .93s both; }
#join.is-active .join-options > a:nth-child(3) .option-icon { animation: option-pop .44s var(--ease-out) 1.11s both; }
@keyframes option-pop { from { transform: scale(.72); } to { transform: scale(1); } }

/* 09 · Contact — invitation first, social routes in sequence, form arrives last. */
#contact .contact-copy .section-label { --delay: 30ms; --rx: -32px; --ry: 0; }
#contact .contact-copy h2 { --delay: 135ms; --rx: -38px; --ry: 0; }
#contact .contact-copy > p:not(.section-label):not(.location) { --delay: 270ms; --ry: 20px; }
#contact .contact-links { --delay: 405ms; --ry: 18px; }
#contact .location { --delay: 535ms; --ry: 16px; }
#contact .contact-form { --delay: 405ms; --rx: 46px; --ry: 0; --rs: .975; }

/* When a panel leaves, all internal section-only choreography resets immediately. */
.panel:not(.is-active) .program-card .card-top,
.panel:not(.is-active) .program-card h3,
.panel:not(.is-active) .program-card p,
.panel:not(.is-active) .program-card a,
.panel:not(.is-active) .quote-main p,
.panel:not(.is-active) .quote-main footer { transition-delay: 0ms; }


/* Responsive */
@media (max-width: 1120px) {
  .page-indicator { display: none; }
  .hero-layout { gap: 44px; }
  .program-grid { grid-template-columns: 1.15fr 1fr 1fr; }
  .impact-layout { gap: 56px; }
  .contact-layout { gap: 56px; }
}

@media (max-width: 960px) {
  :root { --header: 72px; }
  html { scroll-snap-type: y proximity; }
  .container, .legal-hero, .legal-shell { width: min(100% - 36px, 760px); }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: calc(100% + 1px); left: 18px; right: 18px; display: grid; gap: 0; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: rgba(251, 250, 246, .98); box-shadow: var(--shadow-sm); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s ease, transform .25s var(--ease), visibility .2s; }
  .site-nav.open { opacity: 1; visibility: visible; transform: none; }
  .site-nav a { padding: 11px 12px; }
  .site-nav > a:not(.button)::after { display: none; }
  .site-nav .button { margin-top: 7px; }
  .panel { height: auto; min-height: 100svh; overflow: clip; }
  .panel__inner { height: auto; min-height: 100svh; padding-top: calc(var(--header) + 48px); padding-bottom: 58px; }
  .hero-layout, .two-col, .impact-layout, .story-grid, .join-layout, .contact-layout { grid-template-columns: 1fr; }
  .hero-layout { gap: 38px; }
  .hero-visual { height: 440px; min-height: 0; }
  .hero-photo { inset: 0 0 28px 18px; }
  .orbit-badge { right: -4px; }
  .two-col { gap: 30px; }
  .section-intro { display: block; margin-bottom: 26px; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle-grid article, .principle-grid article:first-child { min-height: auto; padding: 24px; border-left: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .principle-grid article:last-child { border-bottom: 0; }
  .section-heading { display: block; margin-bottom: 26px; }
  .section-heading > p, .section-heading > .text-link, .section-heading > .carousel-controls { margin-top: 16px; }
  .program-grid { height: auto; grid-template-columns: 1fr; }
  .program-card { min-height: 320px; }
  .program-card--featured { display: grid; grid-template-columns: .9fr 1.1fr; }
  .program-image { height: auto; }
  .impact-image { height: 420px; max-width: 650px; }
  .image-caption { right: 18px; }
  .story-grid { height: auto; }
  .quote-main { min-height: 380px; }
  .mini-stories { grid-template-columns: 1fr 1fr; }
  .testimonial-stage { height: 340px; }
  .join-layout { min-height: 0; }
  .join-options { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .18); }
  .contact-layout { gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 38px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .legal-hero { grid-template-columns: 1fr; gap: 18px; }
  .legal-meta { width: fit-content; }
  .legal-shell { grid-template-columns: 1fr; gap: 22px; }
  .legal-toc { position: static; display: flex; gap: 7px; overflow-x: auto; padding: 10px; scrollbar-width: thin; }
  .legal-toc strong { display: none; }
  .legal-toc a { flex: 0 0 auto; padding: 8px 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
}

@media (max-width: 620px) {
  .container, .legal-hero, .legal-shell { width: calc(100% - 28px); }
  .brand strong { max-width: 185px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  h1 { font-size: clamp(46px, 14vw, 66px); }
  h2 { font-size: clamp(36px, 11vw, 52px); }
  .panel__inner { padding-top: calc(var(--header) + 36px); padding-bottom: 44px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 13px; }
  .hero-actions .text-link { align-self: flex-start; }
  .hero-visual { height: 355px; }
  .floating-note { width: 225px; padding: 17px; }
  .orbit-badge { width: 88px; height: 88px; }
  .orbit-badge svg { width: 78px; height: 78px; }
  .scroll-cue { display: none; }
  .program-card--featured { display: flex; }
  .program-image { height: 180px; }
  .program-card { min-height: 350px; }
  .impact-image { height: 350px; }
  .image-caption { left: 18px; right: auto; bottom: 18px; }
  .mini-stories { grid-template-columns: 1fr; }
  .quote-main { min-height: 390px; padding: 30px; }
  .testimonial-stage { height: 350px; }
  .testimonial { padding: 28px; }
  .testimonial p { font-size: clamp(25px, 7.8vw, 34px); line-height: 1.2; }
  .join-head { padding: 38px 28px; }
  .join-options > a { grid-template-columns: 42px 1fr auto; padding: 20px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .legal-page { padding-top: calc(var(--header) + 38px); }
  .legal-hero h1 { font-size: clamp(46px, 15vw, 68px); }
  .legal-hero p:not(.section-label):not(.legal-meta) { font-size: 16px; }
  .legal-content { padding: 26px 21px; border-radius: 18px; }
}

@media (max-height: 760px) and (min-width: 961px) {
  :root { --header: 72px; }
  .panel__inner { padding-top: calc(var(--header) + 18px); padding-bottom: 28px; }
  h1 { font-size: clamp(52px, 6.2vw, 82px); }
  h2 { font-size: clamp(36px, 4.2vw, 58px); }
  .hero-visual { height: min(60vh, 520px); min-height: 380px; }
  .official-slogan { margin-top: 16px; }
  .hero-lead { margin: 18px 0; }
  .trust-line { margin-top: 20px; }
  .program-grid { height: clamp(350px, 54vh, 455px); }
  .story-grid { height: clamp(350px, 50vh, 440px); }
  .impact-image { height: min(62vh, 520px); }
  .testimonial-stage { height: clamp(280px, 38vh, 350px); }
  .join-layout { min-height: 60vh; }
  .contact-form { padding: 21px; }
  .contact-form label { margin-bottom: 9px; }
  .contact-form input, .contact-form select, .contact-form textarea { padding: 9px 11px; }
  .contact-form textarea { min-height: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; scroll-snap-type: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .panel.is-before .reveal, .panel.is-after .reveal,
  #programs .program-card .card-top, #programs .program-card h3, #programs .program-card p, #programs .program-card a,
  #stories .quote-main p, #stories .quote-main footer, .testimonial > * { opacity: 1 !important; transform: none !important; }
}

/* Desktop hero balance: keep the opening panel truly viewport-sized on standard laptop screens. */
@media (min-width: 961px) {
  .hero-layout { grid-template-columns: 1.04fr .96fr; gap: 58px; }
  .hero-copy h1 { font-size: clamp(52px, 6.1vw, 88px); }
}
