:root {
  --green: #1f3a33;
  --green-deep: #142a25;
  --green-mid: #31584c;
  --gold: #b89a58;
  --gold-light: #d8bf7a;
  --sage: #8daa91;
  --stone: #d7d0c2;
  --ink: #2c2c2c;
  --ivory: #f7f4ec;
  --paper: #fffdf7;
  --muted: #68645c;
  --line: rgba(44, 44, 44, 0.15);
  --line-light: rgba(247, 244, 236, 0.16);
  --shadow: 0 28px 80px rgba(29, 34, 31, 0.16);
  --page-pad: clamp(18px, 4.2vw, 68px);
  --content: 1220px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --fast: 220ms;
  --standard: 720ms;
  --slow: 1100ms;
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--ivory);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

::selection {
  color: var(--paper);
  background: var(--green-mid);
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  color: inherit;
}

a {
  text-decoration: none;
}

button {
  border: 0;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  z-index: 1001;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  color: var(--ink);
  background: var(--gold-light);
  transform: translateY(-160%);
  transition: transform var(--fast) var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

h1,
h2,
h3,
p,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3,
blockquote {
  text-wrap: balance;
}

h1,
h2 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.04;
}

h2 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: 4rem;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  letter-spacing: 0;
  line-height: 1.25;
}

p {
  line-height: 1.72;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 1px;
  content: "";
  background: currentColor;
}

.section {
  position: relative;
  padding: 144px var(--page-pad);
}

.section-inner {
  position: relative;
  z-index: 2;
  width: min(var(--content), 100%);
  margin: 0 auto;
}

.section-marker {
  position: absolute;
  z-index: 1;
  top: 0;
  left: var(--page-pad);
  display: flex;
  width: 56px;
  height: 82px;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 12px;
  border-inline: 1px solid var(--line);
  color: var(--gold);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 0.72rem;
}

.section-marker::after {
  position: absolute;
  bottom: -44px;
  width: 1px;
  height: 44px;
  content: "";
  background: var(--line);
}

.section-marker-light {
  border-color: var(--line-light);
}

.section-marker-light::after {
  background: var(--line-light);
}

.two-column,
.impact-intro,
.split-list {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  gap: clamp(48px, 8vw, 126px);
  align-items: start;
}

.section-heading h2 {
  margin-bottom: 0;
}

.mission-copy {
  max-width: 650px;
  color: #413f38;
  font-size: 1.04rem;
}

.mission-copy p:last-child {
  margin-bottom: 0;
}

.lead-copy {
  color: var(--green);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.55rem;
  line-height: 1.55;
}

/* Intro */
.page-intro {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  visibility: hidden;
  place-content: center;
  place-items: center;
  color: var(--paper);
  background: var(--green-deep);
  opacity: 0;
  pointer-events: none;
}

body.is-intro-playing .page-intro {
  visibility: visible;
  opacity: 1;
}

.intro-emblem {
  width: 112px;
  height: 112px;
  overflow: hidden;
  border-radius: 50%;
}

.intro-emblem img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.intro-rule {
  width: 150px;
  height: 1px;
  margin: 26px 0 16px;
  background: var(--gold);
  transform-origin: center;
}

.page-intro p {
  margin: 0;
  color: rgba(247, 244, 236, 0.76);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 0.86rem;
}

/* Cursor */
.cursor {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  display: none;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(184, 154, 88, 0.72);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transform:
    translate3d(var(--cursor-x, -100px), var(--cursor-y, -100px), 0)
    translate(-50%, -50%);
  transition:
    width var(--fast) var(--ease-out),
    height var(--fast) var(--ease-out),
    border-color var(--fast) ease,
    background var(--fast) ease;
}

.cursor span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-light);
  transform: translate(-50%, -50%);
  transition: opacity var(--fast) ease;
}

.cursor.is-visible {
  opacity: 1;
}

.cursor.is-active {
  width: 54px;
  height: 54px;
  border-color: rgba(216, 191, 122, 0.88);
  background: rgba(216, 191, 122, 0.1);
}

.cursor.is-active span {
  opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: block;
  }

  body,
  a,
  button {
    cursor: none;
  }
}

/* Header */
.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 86px;
  padding: 12px var(--page-pad);
  color: var(--paper);
  transition:
    min-height 360ms var(--ease-out),
    background 360ms ease,
    border-color 360ms ease,
    box-shadow 360ms ease;
}

.site-header::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  border-bottom: 1px solid transparent;
  background: rgba(20, 42, 37, 0);
  backdrop-filter: blur(0);
  transition:
    background 360ms ease,
    border-color 360ms ease,
    backdrop-filter 360ms ease;
}

.site-header.is-scrolled {
  min-height: 68px;
  box-shadow: 0 12px 34px rgba(8, 17, 14, 0.18);
}

.site-header.is-scrolled::before {
  border-color: rgba(216, 191, 122, 0.14);
  background: rgba(20, 42, 37, 0.92);
  backdrop-filter: blur(18px);
}

.header-progress {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 245px;
}

.brand-mark {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  transition: width 360ms var(--ease-out), height 360ms var(--ease-out);
}

.site-header.is-scrolled .brand-mark {
  width: 42px;
  height: 42px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
  letter-spacing: 0;
}

.brand strong {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 0.9rem;
}

.brand small {
  margin-top: 4px;
  color: rgba(247, 244, 236, 0.62);
  font-size: 0.66rem;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: clamp(15px, 2.3vw, 32px);
  color: rgba(247, 244, 236, 0.76);
  font-size: 0.78rem;
  font-weight: 600;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
  transition: color var(--fast) ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--gold-light);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 360ms var(--ease-out);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--paper);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.donate-link,
.button {
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 48px;
  padding: 0 22px;
  overflow: hidden;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  transition:
    color var(--fast) ease,
    border-color var(--fast) ease,
    box-shadow 360ms var(--ease-out),
    transform var(--fast) var(--ease-out);
}

.donate-link::before,
.button::before {
  position: absolute;
  inset: 0;
  content: "";
  background: var(--paper);
  transform: translateY(103%);
  transition: transform 420ms var(--ease-out);
}

.donate-link > *,
.button > * {
  position: relative;
  z-index: 1;
}

.donate-link {
  min-height: 42px;
  color: var(--ink);
  background: var(--gold-light);
}

.donate-link:hover::before,
.button:hover::before {
  transform: translateY(0);
}

.button-primary {
  color: var(--ink);
  background: var(--gold-light);
  box-shadow: 0 16px 42px rgba(8, 17, 14, 0.22);
}

.button-primary:hover,
.donate-link:hover {
  color: var(--green-deep);
  box-shadow: 0 20px 50px rgba(8, 17, 14, 0.3);
}

.button-secondary {
  color: var(--paper);
  border: 1px solid rgba(247, 244, 236, 0.42);
  background: rgba(247, 244, 236, 0.02);
  backdrop-filter: blur(8px);
}

.button-secondary:hover {
  color: var(--green-deep);
  border-color: var(--paper);
}

.button:active,
.donate-link:active {
  transform: scale(0.97);
}

.button-arrow {
  font-size: 1rem;
  transition: transform 360ms var(--ease-out);
}

.button:hover .button-arrow {
  transform: translate(3px, -3px);
}

.nav-toggle {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  height: 94svh;
  min-height: 680px;
  align-items: center;
  overflow: hidden;
  color: var(--paper);
  background: var(--green-deep);
  isolation: isolate;
}

.hero-media,
.hero-scrim,
.hero-grid,
.network-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  z-index: -5;
  width: 106%;
  height: 110%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.76) contrast(1.06);
  will-change: transform;
}

.hero-scrim {
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(20, 42, 37, 0.97) 0%, rgba(20, 42, 37, 0.83) 42%, rgba(20, 42, 37, 0.2) 78%),
    linear-gradient(0deg, rgba(20, 42, 37, 0.9), transparent 55%);
}

.hero-grid {
  z-index: -2;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(216, 191, 122, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 191, 122, 0.11) 1px, transparent 1px);
  background-size: 82px 82px;
  mask-image: linear-gradient(90deg, black, transparent 76%);
}

.network-canvas {
  z-index: -1;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(770px, calc(100% - (2 * var(--page-pad))));
  margin-left: max(var(--page-pad), calc((100vw - var(--content)) / 2));
  padding-top: 92px;
  will-change: transform;
}

.tree-watermark {
  position: absolute;
  z-index: -1;
  top: -58px;
  left: -88px;
  width: 360px;
  opacity: 0.08;
  filter: saturate(0.7) brightness(1.35);
}

.hero-title {
  max-width: 740px;
  margin: 0 0 26px;
  font-size: 5.7rem;
  line-height: 0.98;
}

.title-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}

.title-line > span {
  display: block;
  will-change: transform;
}

.title-line-indent {
  padding-left: 90px;
  color: var(--gold-light);
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 0;
  color: rgba(247, 244, 236, 0.76);
  font-size: 1.02rem;
}

.hero-lead strong {
  display: block;
  margin-bottom: 8px;
  color: var(--paper);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.28rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-index {
  position: absolute;
  right: var(--page-pad);
  bottom: 42px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: rgba(247, 244, 236, 0.6);
  font-size: 0.68rem;
}

.hero-index > span {
  color: var(--gold-light);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.8rem;
}

.hero-index p {
  margin: 0;
  padding-left: 16px;
  border-left: 1px solid rgba(247, 244, 236, 0.26);
  line-height: 1.6;
}

.scroll-cue {
  position: absolute;
  bottom: 34px;
  left: var(--page-pad);
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(247, 244, 236, 0.52);
}

.scroll-cue > span {
  position: relative;
  width: 38px;
  height: 1px;
  overflow: hidden;
  background: rgba(247, 244, 236, 0.24);
}

.scroll-cue > span::after {
  position: absolute;
  inset: 0;
  content: "";
  background: var(--gold-light);
  animation: scroll-cue 1.8s var(--ease-in-out) infinite;
}

.scroll-cue small {
  font-size: 0.64rem;
}

@keyframes scroll-cue {
  from {
    transform: translateX(-110%);
  }
  to {
    transform: translateX(110%);
  }
}

/* Belief */
.belief-band {
  background: var(--paper);
}

.belief-band::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 28%;
  height: 1px;
  content: "";
  background: var(--gold);
  opacity: 0.48;
}

.belief-path {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 38px;
  color: var(--green-mid);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.belief-path i {
  position: relative;
  width: 44px;
  height: 1px;
  overflow: hidden;
  background: var(--stone);
}

.belief-path i::after {
  position: absolute;
  inset: 0;
  content: "";
  background: var(--gold);
  transform: scaleX(var(--path-progress, 0));
  transform-origin: left;
}

/* Programs */
.programs-section {
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent 0, transparent calc(50% - 1px), rgba(44, 44, 44, 0.035) 50%, transparent calc(50% + 1px)),
    var(--ivory);
}

.programs-heading {
  max-width: 850px;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 62px;
  perspective: 1400px;
}

.program-card {
  --rotate-x: 0deg;
  --rotate-y: 0deg;
  --lift: 0px;
  position: relative;
  display: flex;
  min-height: 400px;
  flex-direction: column;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--stone);
  border-radius: 6px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 0 0 rgba(18, 34, 29, 0);
  transform: perspective(1000px) rotateX(var(--rotate-x)) rotateY(var(--rotate-y)) translateY(var(--lift));
  transform-style: preserve-3d;
  transition:
    color 420ms ease,
    border-color 420ms ease,
    box-shadow 420ms var(--ease-out),
    transform 120ms ease-out;
  will-change: transform;
}

.program-card::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: var(--green);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 520ms var(--ease-out);
}

.program-card::after {
  position: absolute;
  top: 0;
  right: 26px;
  width: 1px;
  height: 74px;
  content: "";
  background: var(--gold);
  transform: scaleY(0.45);
  transform-origin: top;
  transition: transform 520ms var(--ease-out);
}

.program-card:hover,
.program-card.is-touch-active {
  --lift: -8px;
  color: var(--paper);
  border-color: rgba(216, 191, 122, 0.42);
  box-shadow: 0 30px 72px rgba(18, 34, 29, 0.2);
}

.program-card:hover::before,
.program-card.is-touch-active::before {
  transform: scaleY(1);
}

.program-card:hover::after,
.program-card.is-touch-active::after {
  transform: scaleY(1);
}

.card-light {
  position: absolute;
  z-index: 0;
  inset: -1px;
  opacity: 0;
  background: radial-gradient(circle at var(--light-x, 50%) var(--light-y, 50%), rgba(216, 191, 122, 0.22), transparent 40%);
  transition: opacity var(--fast) ease;
  pointer-events: none;
}

.program-card:hover .card-light {
  opacity: 1;
}

.card-top,
.program-card h3,
.program-card p,
.card-rule {
  position: relative;
  z-index: 1;
  transform: translateZ(26px);
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 128px;
}

.card-number {
  color: var(--gold);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 2.2rem;
}

.card-scope {
  max-width: 90px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 700;
  text-align: right;
  text-transform: uppercase;
  transition: color 420ms ease;
}

.program-card:hover .card-scope,
.program-card.is-touch-active .card-scope {
  color: rgba(247, 244, 236, 0.58);
}

.program-card h3 {
  min-height: 54px;
  margin-bottom: 18px;
}

.program-card p {
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 0.86rem;
  transition: color 420ms ease;
}

.program-card:hover p,
.program-card.is-touch-active p {
  color: rgba(247, 244, 236, 0.74);
}

.card-rule {
  width: 100%;
  height: 1px;
  margin-top: auto;
  overflow: hidden;
  background: var(--stone);
}

.card-rule::after {
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  background: var(--gold-light);
  transform: translateX(-100%);
  transition: transform 520ms var(--ease-out);
}

.program-card:hover .card-rule::after,
.program-card.is-touch-active .card-rule::after {
  transform: translateX(0);
}

/* Sticky philosophy */
.philosophy-section {
  position: relative;
  min-height: 240vh;
  padding: 0 var(--page-pad);
  color: var(--paper);
  background: var(--green-deep);
}

.philosophy-section::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(216, 191, 122, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 191, 122, 0.16) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(90deg, black 0%, transparent 62%);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: minmax(380px, 0.9fr) minmax(440px, 1.1fr);
  gap: clamp(60px, 10vw, 150px);
  align-items: start;
}

.philosophy-visual {
  position: sticky;
  top: 88px;
  display: grid;
  height: calc(100svh - 88px);
  place-content: center;
}

.orbit {
  position: relative;
  width: 430px;
  max-width: 38vw;
  aspect-ratio: 1;
}

.orbit-ring {
  position: absolute;
  border: 1px solid rgba(216, 191, 122, 0.28);
  border-radius: 50%;
}

.orbit-ring-one {
  inset: 0;
}

.orbit-ring-two {
  inset: 14%;
}

.orbit-ring-three {
  inset: 28%;
  border-color: rgba(247, 244, 236, 0.18);
}

.orbit-ring-one::before,
.orbit-ring-two::before {
  position: absolute;
  inset: -4px 48%;
  content: "";
  background: var(--green-deep);
}

.orbit-node {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid var(--green-deep);
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 0 8px rgba(216, 191, 122, 0.09);
}

.orbit-node-one {
  top: 12%;
  left: 21%;
}

.orbit-node-two {
  top: 43%;
  right: -5px;
}

.orbit-node-three {
  bottom: 7%;
  left: 34%;
}

.orbit-core {
  position: absolute;
  inset: 35%;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(216, 191, 122, 0.44);
  border-radius: 50%;
  background: rgba(247, 244, 236, 0.04);
  backdrop-filter: blur(12px);
}

.orbit-core img {
  width: 84%;
  opacity: 0.86;
}

.story-meter {
  position: absolute;
  bottom: 42px;
  left: 0;
  width: calc(100% - 64px);
  height: 1px;
  overflow: hidden;
  background: var(--line-light);
}

.story-meter-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--gold-light);
  transform: scaleX(0);
  transform-origin: left;
}

.story-index {
  position: absolute;
  right: 0;
  bottom: 33px;
  display: flex;
  gap: 4px;
  align-items: baseline;
  color: rgba(247, 244, 236, 0.38);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 0.74rem;
}

.story-current {
  color: var(--gold-light);
  font-size: 1.5rem;
}

.philosophy-story {
  padding: 150px 0;
}

.story-heading {
  max-width: 720px;
  margin-bottom: 110px;
}

.story-heading h2 {
  margin-bottom: 0;
  font-size: 3.65rem;
}

.story-step {
  display: flex;
  min-height: 64vh;
  flex-direction: column;
  justify-content: center;
  opacity: 0.3;
  transition: opacity 480ms ease;
}

.story-step.is-current {
  opacity: 1;
}

.story-step > p {
  margin-bottom: 18px;
  color: rgba(247, 244, 236, 0.52);
  font-size: 0.9rem;
}

.story-step h3 {
  max-width: 700px;
  margin-bottom: 24px;
  color: var(--gold-light);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 3.5rem;
  font-weight: 400;
  line-height: 1.12;
}

.story-step > span {
  max-width: 480px;
  padding-top: 16px;
  border-top: 1px solid var(--line-light);
  color: rgba(247, 244, 236, 0.7);
  font-size: 0.8rem;
}

/* Impact */
.impact-section {
  overflow: hidden;
  background: var(--ivory);
}

.impact-section::before {
  position: absolute;
  top: -110px;
  right: -110px;
  width: 380px;
  height: 380px;
  content: "";
  border: 1px solid rgba(184, 154, 88, 0.22);
  border-radius: 50%;
}

.impact-intro {
  padding-bottom: 74px;
  border-bottom: 1px solid var(--stone);
}

.impact-intro > p {
  max-width: 560px;
  margin: 52px 0 0;
  color: var(--muted);
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat {
  display: grid;
  grid-template-columns: 126px 1fr;
  gap: 28px;
  align-items: center;
  min-height: 260px;
  padding: 42px 36px;
  border-bottom: 1px solid var(--stone);
}

.stat:nth-child(odd) {
  padding-left: 0;
  border-right: 1px solid var(--stone);
}

.stat h3 {
  margin-bottom: 8px;
  color: var(--green);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.75rem;
}

.stat p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.stat .stat-kicker {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
}

.stat-visual {
  position: relative;
  width: 112px;
  height: 112px;
}

.stat-visual svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  transform: rotate(-90deg);
}

.stat-track,
.stat-progress {
  fill: none;
  stroke-width: 1.5;
}

.stat-track {
  stroke: var(--stone);
}

.stat-progress {
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-dasharray: 327;
  stroke-dashoffset: 327;
}

.stat-visual strong {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
}

.stat-visual sup {
  margin-top: -14px;
  font-size: 0.72rem;
}

/* Quote */
.quote-section {
  overflow: hidden;
  color: var(--paper);
  background: var(--green);
}

.quote-section::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.1;
  background-image: radial-gradient(circle at center, var(--gold-light) 1px, transparent 1px);
  background-size: 30px 30px;
}

.quote-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 68px;
  background: var(--gold-light);
  transform-origin: top;
}

.quote-section blockquote {
  max-width: 1000px;
  margin: 0 auto;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 3.9rem;
  line-height: 1.2;
  text-align: center;
}

.quote-section em {
  color: var(--gold-light);
  font-style: normal;
}

/* Work showcase */
.gallery-section {
  background: var(--paper);
}

.gallery-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 70px;
  align-items: end;
}

.gallery-heading > p {
  margin-bottom: 4px;
  color: var(--muted);
}

.project-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 16px;
  margin-top: 62px;
}

.project-preview {
  overflow: hidden;
  border-radius: 6px;
  background: var(--green-deep);
}

.project-preview-wide {
  grid-row: span 2;
}

.project-trigger {
  position: relative;
  display: block;
  width: 100%;
  min-height: 330px;
  padding: 0;
  overflow: hidden;
  color: var(--paper);
  background: var(--green-deep);
  text-align: left;
}

.project-preview-wide .project-trigger {
  min-height: 676px;
}

.project-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.project-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(20, 42, 37, 0.94), rgba(20, 42, 37, 0.02) 64%);
}

.project-media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 66% center;
  filter: saturate(0.78);
  transform: scale(1.03);
  transition: transform 900ms var(--ease-out), filter 600ms ease;
}

.project-media-detail img {
  width: 170%;
  transform: translateX(-40%) scale(1.04);
}

.project-media-community img {
  width: 155%;
  transform: translateX(-16%) scale(1.04);
}

.project-overlay {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 12px;
  padding: 28px;
}

.project-meta {
  color: var(--gold-light);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
}

.project-overlay strong {
  max-width: 500px;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.65rem;
  font-weight: 400;
  line-height: 1.25;
}

.project-action {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  color: rgba(247, 244, 236, 0.62);
  font-size: 0.68rem;
}

.project-action i {
  font-style: normal;
  transition: transform 360ms var(--ease-out);
}

.project-trigger:hover .project-media img,
.project-trigger:focus-visible .project-media img,
.project-preview.is-expanded .project-media img {
  filter: saturate(1);
  transform: scale(1.1);
}

.project-trigger:hover .project-media-detail img,
.project-trigger:focus-visible .project-media-detail img,
.project-preview.is-expanded .project-media-detail img {
  transform: translateX(-40%) scale(1.12);
}

.project-trigger:hover .project-media-community img,
.project-trigger:focus-visible .project-media-community img,
.project-preview.is-expanded .project-media-community img {
  transform: translateX(-16%) scale(1.12);
}

.project-trigger:hover .project-action i,
.project-trigger:focus-visible .project-action i {
  transform: translate(4px, -4px);
}

.project-details {
  padding: 22px 28px;
  color: rgba(247, 244, 236, 0.72);
  border-top: 1px solid var(--line-light);
  background: var(--green-deep);
}

.project-details p {
  margin: 0;
  font-size: 0.82rem;
}

/* Events and about */
.events-section {
  background: var(--ivory);
}

.event-list {
  border-top: 1px solid var(--line);
}

.event-row {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr 28px;
  gap: 24px;
  align-items: center;
  min-height: 150px;
  padding: 26px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.event-row::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: rgba(141, 170, 145, 0.11);
  transform: translateX(-102%);
  transition: transform 540ms var(--ease-out);
}

.event-row:hover::before {
  transform: translateX(0);
}

.event-row time {
  color: var(--green);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.event-row time span {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
}

.event-row h3 {
  margin-bottom: 8px;
}

.event-row p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.event-arrow {
  color: var(--gold);
  transition: transform 360ms var(--ease-out);
}

.event-row:hover .event-arrow {
  transform: translate(4px, -4px);
}

.about-section {
  background: #e8eee7;
}

.about-section::after {
  position: absolute;
  right: var(--page-pad);
  bottom: 0;
  width: 160px;
  height: 80px;
  content: "";
  border: 1px solid rgba(31, 58, 51, 0.14);
  border-bottom: 0;
  border-radius: 160px 160px 0 0;
}

/* Donation and footer */
.donate-section {
  position: relative;
  min-height: 78svh;
  padding: 150px var(--page-pad);
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
  isolation: isolate;
}

.donate-grid {
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: 0.15;
  background-image:
    linear-gradient(rgba(216, 191, 122, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 191, 122, 0.16) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(90deg, transparent, black 40%, black 100%);
}

.footer-network {
  z-index: -1;
}

.donate-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 80px;
  align-items: end;
}

.donate-copy {
  max-width: 900px;
}

.donate-copy h2 {
  margin-bottom: 30px;
  font-size: 5.2rem;
}

.donate-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin-bottom: 0;
  color: rgba(247, 244, 236, 0.66);
}

.donate-button {
  min-width: 180px;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 74px var(--page-pad) 28px;
  color: rgba(247, 244, 236, 0.72);
  background: var(--green-deep);
}

.footer-brand-reveal {
  position: absolute;
  right: -28px;
  bottom: -66px;
  color: rgba(216, 191, 122, 0.055);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 18rem;
  line-height: 1;
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(var(--content), 100%);
  margin: 0 auto 66px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
}

.footer-brand {
  display: flex;
  gap: 20px;
  align-items: center;
}

.footer-brand img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.footer-brand strong {
  color: var(--paper);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.15rem;
}

.footer-brand p {
  max-width: 520px;
  margin: 8px 0 0;
  font-size: 0.78rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 0.76rem;
  font-weight: 600;
}

.footer-links a {
  position: relative;
  padding-bottom: 6px;
}

.footer-links a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: var(--gold-light);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 360ms var(--ease-out);
}

.footer-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(var(--content), 100%);
  margin: 0 auto;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line-light);
  color: rgba(247, 244, 236, 0.38);
  font-size: 0.62rem;
}

/* Responsive */
@media (max-width: 1180px) {
  h2 {
    font-size: 3.4rem;
  }

  .hero-title {
    font-size: 4.65rem;
  }

  .program-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .program-card {
    min-height: 350px;
  }

  .philosophy-grid {
    grid-template-columns: minmax(320px, 0.8fr) minmax(390px, 1.2fr);
  }

  .story-step h3 {
    font-size: 3rem;
  }

  .story-heading h2 {
    font-size: 3.2rem;
  }

  .donate-copy h2 {
    font-size: 4.4rem;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .brand {
    min-width: 0;
  }

  .nav-toggle {
    position: relative;
    z-index: 52;
    display: grid;
    width: 44px;
    height: 44px;
    place-content: center;
    gap: 6px;
    padding: 0;
    border: 1px solid rgba(247, 244, 236, 0.34);
    border-radius: 50%;
    background: rgba(20, 42, 37, 0.18);
  }

  .nav-toggle span {
    display: block;
    width: 18px;
    height: 1px;
    background: var(--paper);
    transition: transform 360ms var(--ease-out);
  }

  .nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    z-index: 51;
    inset: 0 auto auto 0;
    display: flex;
    visibility: hidden;
    width: 100vw;
    height: 100svh;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    justify-self: auto;
    gap: 2px;
    padding: 110px var(--page-pad) 60px;
    color: var(--paper);
    background: rgba(20, 42, 37, 0.98);
    clip-path: inset(0 0 100% 0);
    opacity: 0;
    pointer-events: none;
    transition:
      clip-path 620ms var(--ease-out),
      opacity 300ms ease,
      visibility 0s linear 620ms;
  }

  .site-nav.is-open {
    visibility: visible;
    clip-path: inset(0 0 0 0);
    opacity: 1;
    pointer-events: auto;
    transition:
      clip-path 620ms var(--ease-out),
      opacity 300ms ease,
      visibility 0s;
  }

  .site-nav a {
    overflow: hidden;
    padding: 10px 0;
    font-family: "Libre Baskerville", Georgia, serif;
    font-size: 2.3rem;
    font-weight: 400;
    transform: translateY(16px);
    opacity: 0;
    transition:
      color var(--fast) ease,
      transform 480ms var(--ease-out),
      opacity 480ms ease;
  }

  .site-nav.is-open a {
    transform: translateY(0);
    opacity: 1;
  }

  .site-nav.is-open a:nth-child(2) {
    transition-delay: 45ms;
  }

  .site-nav.is-open a:nth-child(3) {
    transition-delay: 90ms;
  }

  .site-nav.is-open a:nth-child(4) {
    transition-delay: 135ms;
  }

  .site-nav.is-open a:nth-child(5) {
    transition-delay: 180ms;
  }

  .site-nav.is-open a:nth-child(6) {
    transition-delay: 225ms;
  }

  .site-nav a::after {
    display: none;
  }

  .donate-link {
    display: none;
  }

  .two-column,
  .impact-intro,
  .split-list {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hero {
    height: 92svh;
    min-height: 660px;
  }

  .hero-copy {
    padding-top: 82px;
  }

  .hero-index {
    display: none;
  }

  .philosophy-section {
    min-height: 0;
    padding-top: 110px;
    padding-bottom: 110px;
  }

  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 72px;
  }

  .philosophy-visual {
    position: relative;
    top: auto;
    height: auto;
    min-height: 440px;
  }

  .orbit {
    width: 360px;
    max-width: 72vw;
  }

  .story-meter,
  .story-index {
    display: none;
  }

  .philosophy-story {
    padding: 0;
  }

  .story-heading {
    margin-bottom: 60px;
  }

  .story-step {
    min-height: 0;
    padding: 62px 0;
    border-top: 1px solid var(--line-light);
    opacity: 1;
  }

  .impact-intro > p {
    margin-top: 0;
  }

  .gallery-heading {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .donate-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
  }

  .donate-button {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  :root {
    --page-pad: 20px;
  }

  h2 {
    font-size: 2.55rem;
  }

  .section {
    padding-top: 104px;
    padding-bottom: 104px;
  }

  .section-marker {
    left: var(--page-pad);
    height: 54px;
  }

  .section-marker::after {
    bottom: -28px;
    height: 28px;
  }

  .brand-mark,
  .site-header.is-scrolled .brand-mark {
    width: 44px;
    height: 44px;
  }

  .brand strong {
    font-size: 0.78rem;
  }

  .brand small {
    display: none;
  }

  .hero {
    height: 91svh;
    min-height: 610px;
  }

  .hero-media {
    width: 135%;
    height: 108%;
    object-position: 62% center;
  }

  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(20, 42, 37, 0.94), rgba(20, 42, 37, 0.54)),
      linear-gradient(0deg, rgba(20, 42, 37, 0.96), rgba(20, 42, 37, 0.08) 72%);
  }

  .hero-grid {
    background-size: 58px 58px;
  }

  .hero-copy {
    width: calc(100% - (2 * var(--page-pad)));
    margin-left: var(--page-pad);
    padding-top: 72px;
  }

  .hero-title {
    margin-bottom: 22px;
    font-size: 3.35rem;
  }

  .title-line-indent {
    padding-left: 42px;
  }

  .tree-watermark {
    top: -40px;
    left: -56px;
    width: 260px;
  }

  .hero-lead {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .hero-lead strong {
    font-size: 1.05rem;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .button {
    min-height: 46px;
    padding-inline: 17px;
    font-size: 0.72rem;
  }

  .scroll-cue {
    bottom: 22px;
  }

  .belief-path {
    flex-wrap: wrap;
  }

  .belief-path i {
    width: 22px;
  }

  .program-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 44px;
  }

  .program-card {
    min-height: 320px;
    padding: 24px;
  }

  .card-top {
    min-height: 92px;
  }

  .program-card h3 {
    min-height: 0;
  }

  .philosophy-section {
    padding-top: 96px;
    padding-bottom: 96px;
  }

  .philosophy-visual {
    min-height: 330px;
  }

  .orbit {
    width: 300px;
    max-width: 84vw;
  }

  .story-heading h2 {
    font-size: 2.55rem;
  }

  .story-step {
    padding: 52px 0;
  }

  .story-step h3 {
    font-size: 2.35rem;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .stat,
  .stat:nth-child(odd) {
    grid-template-columns: 96px 1fr;
    min-height: 210px;
    padding: 30px 0;
    border-right: 0;
  }

  .stat-visual {
    width: 86px;
    height: 86px;
  }

  .stat-visual strong {
    font-size: 1.55rem;
  }

  .stat h3 {
    font-size: 1.35rem;
  }

  .quote-section blockquote {
    font-size: 2.35rem;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-preview-wide {
    grid-row: auto;
  }

  .project-preview-wide .project-trigger,
  .project-trigger {
    min-height: 430px;
  }

  .project-overlay {
    padding: 22px;
  }

  .project-overlay strong {
    font-size: 1.4rem;
  }

  .event-row {
    grid-template-columns: 62px 1fr;
    min-height: 132px;
  }

  .event-arrow {
    display: none;
  }

  .donate-section {
    min-height: 0;
    padding-top: 110px;
    padding-bottom: 110px;
  }

  .donate-copy h2 {
    font-size: 3.35rem;
  }

  .footer-brand-reveal {
    font-size: 10rem;
  }

  .footer-inner,
  .footer-bottom {
    display: grid;
  }

  .footer-brand {
    align-items: flex-start;
  }

  .footer-brand img {
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 420px) {
  .brand-copy strong {
    max-width: 170px;
    line-height: 1.2;
  }

  .hero-title {
    font-size: 2.72rem;
  }

  .title-line-indent {
    padding-left: 30px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 290px;
  }

  .scroll-cue small {
    display: none;
  }

  .site-nav a {
    font-size: 2rem;
  }

  .story-heading h2 {
    font-size: 2.25rem;
  }

  .story-step h3,
  .quote-section blockquote {
    font-size: 2rem;
  }

  .project-preview-wide .project-trigger,
  .project-trigger {
    min-height: 390px;
  }

  .donate-copy h2 {
    font-size: 2.8rem;
  }
}

/* The class mirrors the system preference and provides a stable QA override. */
.reduce-motion {
  scroll-behavior: auto;
}

.reduce-motion *,
.reduce-motion *::before,
.reduce-motion *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
  transition-delay: 0ms !important;
}

.reduce-motion .page-intro,
.reduce-motion .cursor,
.reduce-motion .network-canvas,
.reduce-motion .scroll-cue {
  display: none !important;
}

.reduce-motion .hero-media,
.reduce-motion .hero-copy,
.reduce-motion .title-line > span,
.reduce-motion [data-reveal],
.reduce-motion [data-stagger-item],
.reduce-motion .orbit-ring,
.reduce-motion .orbit-node,
.reduce-motion .footer-brand-reveal {
  opacity: 1 !important;
  transform: none !important;
}

.reduce-motion .stat-progress {
  stroke-dashoffset: 0;
}

/* Reduced motion keeps every message and control available without transitional states. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .page-intro,
  .cursor,
  .network-canvas,
  .scroll-cue {
    display: none !important;
  }

  .hero-media,
  .hero-copy,
  .title-line > span,
  [data-reveal],
  [data-stagger-item],
  .orbit-ring,
  .orbit-node,
  .footer-brand-reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .stat-progress {
    stroke-dashoffset: 0;
  }
}
