:root {
  --leaf: #16a34a;
  --leaf-2: #52d51e;
  --leaf-dark: #052315;
  --leaf-ink: #0b3b22;
  --mint: #dcfce7;
  --sky: #69c9f2;
  --sun: #f6bd4f;
  --soil: #8a5d3b;
  --cream: #f8f2e4;
  --paper: #fffdf7;
  --ink: #142018;
  --muted: #657267;
  --line: rgba(20, 32, 24, 0.13);
  --shadow: 0 24px 70px rgba(5, 35, 21, 0.18);
  --shadow-strong: 0 34px 100px rgba(5, 35, 21, 0.28);
  --radius: 8px;
  --radius-soft: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.lightbox-open {
  overflow: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(120deg, rgba(82, 213, 30, 0.06), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(105, 201, 242, 0.08), transparent 22%);
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

textarea {
  min-height: 118px;
  resize: vertical;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: var(--leaf-dark);
}

.skip-link:focus {
  top: 12px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.top-ribbon {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 42;
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 8px 18px;
  color: #dfffe8;
  background:
    linear-gradient(90deg, rgba(4, 20, 12, 0.95), rgba(15, 74, 37, 0.95), rgba(4, 20, 12, 0.95));
  font-size: 13px;
  font-weight: 800;
}

.top-ribbon a {
  color: var(--sun);
}

.site-header {
  position: fixed;
  top: 34px;
  right: clamp(14px, 4vw, 58px);
  left: clamp(14px, 4vw, 58px);
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1240px;
  margin-inline: auto;
  padding: 10px 12px 10px 14px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(5, 35, 21, 0.28);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(18px);
  transition: background 220ms ease, box-shadow 220ms ease, color 220ms ease, transform 220ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  border-color: rgba(20, 32, 24, 0.1);
  background: rgba(255, 253, 247, 0.88);
  box-shadow: 0 18px 70px rgba(5, 35, 21, 0.14);
  backdrop-filter: blur(18px);
}

.site-header.is-compact {
  transform: translateY(-4px);
}

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

.brand img,
.footer-brand img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.22));
  transition: width 180ms ease, height 180ms ease, transform 180ms ease;
}

.brand:hover img {
  transform: rotate(-3deg) scale(1.04);
}

.site-header.is-compact .brand img {
  width: 44px;
  height: 44px;
}

.brand strong,
.brand small,
.footer-brand strong,
.footer-brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
}

.brand small,
.footer-brand small {
  margin-top: 2px;
  font-size: 12px;
  font-weight: 800;
  opacity: 0.76;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 14px;
  font-weight: 900;
}

.site-nav a {
  padding: 10px 13px;
  border-radius: 999px;
  opacity: 0.94;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.nav-donate,
.floating-donate {
  position: relative;
  overflow: hidden;
  min-width: 96px;
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--leaf-dark);
  background: var(--sun);
  text-align: center;
  box-shadow: 0 12px 28px rgba(246, 189, 79, 0.26);
}

.nav-donate::before,
.floating-donate::before,
.button.primary::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.62), transparent);
  transform: translateX(-120%);
  transition: transform 520ms ease;
}

.nav-donate:hover::before,
.floating-donate:hover::before,
.button.primary:hover::before {
  transform: translateX(120%);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: #fff;
}

.hero-slider,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1100ms ease, transform 7000ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1.01);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 16, 9, 0.94), rgba(2, 16, 9, 0.7) 43%, rgba(2, 16, 9, 0.12)),
    linear-gradient(0deg, rgba(2, 16, 9, 0.68), rgba(2, 16, 9, 0.08));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100vh;
  width: min(740px, calc(100% - 36px));
  flex-direction: column;
  justify-content: center;
  padding: 156px 0 116px;
  margin-left: clamp(18px, 7vw, 96px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--leaf-2);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
span,
strong,
li {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(54px, 8.4vw, 116px);
  line-height: 0.91;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(32px, 4.5vw, 62px);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.14;
}

.hero-content > p:not(.eyebrow) {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button,
.cause-card a,
.amount-pills button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  cursor: pointer;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.cause-card a:hover,
.amount-pills button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(5, 35, 21, 0.16);
}

.button.primary,
.cause-card a,
.amount-pills button {
  color: var(--leaf-dark);
  background: var(--sun);
}

.button.ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.hero-dots {
  position: absolute;
  left: clamp(18px, 7vw, 96px);
  bottom: 42px;
  z-index: 3;
  display: flex;
  gap: 10px;
}

.hero-dots button {
  width: 38px;
  height: 5px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  cursor: pointer;
  transition: width 220ms ease, background 220ms ease;
}

.hero-dots button.is-active {
  width: 70px;
  background: var(--sun);
}

.hero-focus {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 760px;
  margin-top: 28px;
}

.hero-focus article {
  position: relative;
  min-height: 78px;
  padding: 14px 16px 14px 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(12px);
}

.hero-focus article::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--sun);
  content: "";
}

.hero-focus span {
  display: block;
  color: var(--sun);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-focus strong {
  display: block;
  margin-top: 7px;
  color: #fff;
  font-size: 15px;
  line-height: 1.25;
}

.life-visual {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: clamp(128px, 14vh, 156px);
  z-index: 2;
  display: grid;
  width: min(330px, calc(100% - 36px));
  place-items: center;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(4, 28, 16, 0.78), rgba(5, 55, 26, 0.48));
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(16px);
  translate: 0 0;
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  animation: floatCard 5.6s ease-in-out infinite;
  transition: transform 180ms ease;
}

.life-orbit {
  position: absolute;
  inset: 16px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
}

.life-orbit span {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--leaf-2);
  box-shadow: 0 0 20px rgba(82, 213, 30, 0.7);
  animation: orbitPulse 3s ease-in-out infinite;
}

.life-orbit span:nth-child(1) {
  top: 22px;
  left: 36px;
}

.life-orbit span:nth-child(2) {
  right: 30px;
  top: 48%;
  animation-delay: 0.8s;
}

.life-orbit span:nth-child(3) {
  bottom: 28px;
  left: 46%;
  animation-delay: 1.5s;
}

.life-cycle {
  position: relative;
  z-index: 1;
  width: min(238px, 74vw);
  height: auto;
  overflow: visible;
}

.life-glow {
  fill: url(#lifeGlow);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: glowBloom 5.8s ease-in-out infinite;
}

.life-halo {
  fill: none;
  stroke: rgba(142, 255, 83, 0.34);
  stroke-width: 1.5;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: haloRipple 5.8s ease-in-out infinite;
}

.halo-b {
  animation-delay: 0.42s;
}

.life-shade {
  fill: rgba(33, 161, 78, 0.16);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: shadeArrive 5.8s ease-in-out infinite;
}

.soil-wave {
  fill: none;
  stroke: rgba(233, 194, 122, 0.68);
  stroke-linecap: round;
  stroke-width: 7;
  stroke-dasharray: 230;
  stroke-dashoffset: 230;
  animation: drawSceneLine 5.8s ease-in-out infinite;
}

.seed-shell {
  fill: #d89447;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: seedSplit 5.8s ease-in-out infinite;
}

.life-root,
.life-trunk-main,
.life-branch {
  fill: none;
  stroke: url(#trunkLife);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 10;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: drawSceneLine 5.8s ease-in-out infinite;
}

.life-root {
  stroke: #a97045;
  stroke-width: 5;
}

.root-a {
  animation-delay: 0.08s;
}

.root-b {
  animation-delay: 0.18s;
}

.root-c {
  animation-delay: 0.28s;
}

.life-trunk-main {
  animation-delay: 0.5s;
}

.life-branch {
  stroke-width: 6;
  animation-delay: 1.05s;
}

.branch-b {
  animation-delay: 1.18s;
}

.branch-c {
  animation-delay: 1.3s;
}

.life-canopy {
  transform-box: fill-box;
  transform-origin: center;
  filter: drop-shadow(0 18px 22px rgba(19, 127, 56, 0.28));
}

.leaf-cluster {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  animation: canopyBloom 5.8s ease-in-out infinite;
}

.cluster-a {
  fill: #63d82f;
  animation-delay: 1.35s;
}

.cluster-b {
  fill: #42c950;
  animation-delay: 1.48s;
}

.cluster-c {
  fill: #90e34c;
  animation-delay: 1.6s;
}

.cluster-d,
.cluster-e {
  fill: #43c76c;
  animation-delay: 1.72s;
}

.cluster-f {
  fill: #77df40;
  animation-delay: 1.85s;
}

.life-particles circle {
  fill: var(--leaf-2);
  opacity: 0;
  filter: drop-shadow(0 0 10px rgba(82, 213, 30, 0.7));
  animation: particleRise 5.8s ease-in-out infinite;
}

.life-particles circle:nth-child(2) {
  animation-delay: 0.45s;
}

.life-particles circle:nth-child(3) {
  animation-delay: 0.8s;
}

.life-particles circle:nth-child(4) {
  animation-delay: 1.1s;
}

.life-caption {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 6px;
  text-align: center;
}

.life-caption span {
  color: var(--leaf-2);
  font-weight: 900;
  text-transform: uppercase;
}

.life-caption strong {
  color: #fff;
  font-size: 20px;
  line-height: 1.35;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  color: #fff;
  background: var(--leaf-dark);
}

.trust-strip div {
  min-height: 130px;
  padding: 28px clamp(18px, 4vw, 56px);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  font-size: 22px;
}

.trust-strip span {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.section-pad {
  padding: clamp(54px, 7vw, 92px) clamp(18px, 5vw, 72px);
}

.section-kicker {
  max-width: 880px;
}

.section-kicker.center {
  margin-inline: auto;
  text-align: center;
}

.section-kicker > p:not(.eyebrow),
.process-copy > p,
.story-copy p,
.donate-copy p,
.location-card p,
.contact-copy p,
.program-card p,
.cause-card p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.cause-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 42px;
}

.cause-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-soft);
  background: #fff;
  box-shadow: 0 16px 46px rgba(5, 35, 21, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.cause-card:hover {
  border-color: rgba(22, 163, 74, 0.32);
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.cause-card img {
  transition: transform 600ms ease;
}

.cause-card:hover img {
  transform: scale(1.06);
}

.cause-card.featured {
  border-color: rgba(82, 213, 30, 0.42);
}

.cause-card img {
  width: 100%;
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
}

.cause-card div {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.cause-card span {
  color: var(--leaf);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.cause-card p {
  margin: 0;
}

.cause-card a {
  width: fit-content;
  min-width: 118px;
}

.process {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(300px, 0.8fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
  background: var(--cream);
}

.process-media img,
.story-image img {
  width: 100%;
  border-radius: var(--radius-soft);
  box-shadow: var(--shadow);
}

.steps {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  position: relative;
  padding: 18px 18px 18px 72px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  counter-increment: steps;
}

.steps li::before {
  position: absolute;
  left: 18px;
  top: 18px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: var(--leaf-dark);
  background: var(--sun);
  content: counter(steps);
  font-weight: 900;
}

.steps strong,
.steps span {
  display: block;
}

.steps span {
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.55;
}

.programs {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(5, 35, 21, 0.96), rgba(13, 92, 45, 0.86)),
    url("assets/images/gallery-awareness.jpg") center / cover;
}

.programs .eyebrow {
  color: var(--sun);
}

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

.program-card {
  min-height: 276px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-soft);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.program-card span {
  display: inline-flex;
  margin-bottom: 38px;
  color: var(--sun);
  font-size: 30px;
  font-weight: 900;
}

.program-card p {
  color: rgba(255, 255, 255, 0.76);
}

.story {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(320px, 1fr);
  gap: clamp(32px, 5vw, 78px);
  align-items: center;
}

.story-copy {
  display: grid;
  gap: 18px;
}

.story-copy p {
  margin: 0;
}

.text-link {
  width: fit-content;
  color: var(--leaf-ink);
  font-weight: 900;
  border-bottom: 2px solid var(--leaf);
}

.story-image {
  position: relative;
}

.floating-note {
  position: absolute;
  right: 20px;
  bottom: -24px;
  max-width: 300px;
  padding: 18px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--leaf-dark);
  box-shadow: var(--shadow);
  font-weight: 800;
  line-height: 1.45;
}

.donate {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(320px, 0.92fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: start;
  background: var(--cream);
}

.donation-form,
.join-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-soft);
  background: #fff;
  box-shadow: 0 16px 46px rgba(5, 35, 21, 0.1);
}

.amount-pills {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.amount-pills button {
  min-width: 0;
  padding-inline: 12px;
}

.amount-pills button.is-selected,
.cause-card a.is-selected {
  color: #fff;
  background: var(--leaf);
  box-shadow: 0 14px 32px rgba(22, 163, 74, 0.26);
}

label {
  display: grid;
  gap: 8px;
  color: var(--leaf-ink);
  font-size: 13px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.form-alert {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 100;
  max-width: min(420px, calc(100vw - 36px));
  padding: 14px 16px;
  border-radius: 14px;
  color: #fff;
  box-shadow: var(--shadow);
  font-weight: 900;
}

.form-alert.success {
  background: var(--leaf);
}

.form-alert.error {
  background: #b42318;
}

.gallery {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #fff 0%, #f7fbf2 42%, #fff 100%);
}

.gallery-showcase {
  display: grid;
  grid-template-columns: 1.1fr 0.72fr 0.72fr;
  grid-auto-rows: 260px;
  gap: 16px;
  margin-top: 42px;
  perspective: 1200px;
}

.gallery-showcase.reveal {
  opacity: 1;
  transform: none;
}

.gallery-showcase.reveal .gallery-item {
  opacity: 0;
  transform: translateY(34px) scale(0.965);
}

.gallery-showcase.is-visible .gallery-item {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.gallery-showcase.is-visible .gallery-item:nth-child(2) {
  transition-delay: 80ms;
}

.gallery-showcase.is-visible .gallery-item:nth-child(3) {
  transition-delay: 140ms;
}

.gallery-showcase.is-visible .gallery-item:nth-child(4) {
  transition-delay: 200ms;
}

.gallery-showcase.is-visible .gallery-item:nth-child(5) {
  transition-delay: 260ms;
}

.gallery-showcase.is-visible .gallery-item:nth-child(6) {
  transition-delay: 320ms;
}

.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 18px;
  padding: 0;
  color: #fff;
  background: var(--leaf-dark);
  cursor: pointer;
  box-shadow: 0 16px 42px rgba(5, 35, 21, 0.1);
  transform: translateZ(0);
  transition: opacity 620ms cubic-bezier(0.16, 1, 0.3, 1), transform 620ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 260ms ease, filter 260ms ease;
}

.gallery-item::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(180deg, transparent 28%, rgba(2, 14, 8, 0.74)),
    linear-gradient(120deg, rgba(82, 213, 30, 0.18), transparent 45%);
  opacity: 0.86;
  transition: opacity 220ms ease;
}

.gallery-item::after {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  color: #fff;
  content: "+";
  font-size: 26px;
  font-weight: 500;
  transform: scale(0.86);
  opacity: 0;
  transition: transform 220ms ease, opacity 220ms ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease, filter 300ms ease;
}

.gallery-item span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 2;
  display: grid;
  gap: 5px;
  text-align: left;
  transform: translateY(8px);
  transition: transform 220ms ease;
}

.gallery-item strong,
.gallery-item small {
  display: block;
}

.gallery-item strong {
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.06;
}

.gallery-item small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.gallery-item.wide {
  grid-row: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item:hover {
  z-index: 3;
  transform: translateY(-8px) rotateX(1deg) rotateY(-1deg) scale(1.01);
  box-shadow: var(--shadow-strong);
}

.gallery-item:hover::before {
  opacity: 0.64;
}

.gallery-item:hover::after {
  opacity: 1;
  transform: scale(1);
}

.gallery-item:hover img {
  filter: saturate(1.12) contrast(1.03);
  transform: scale(1.08);
}

.gallery-item:hover span {
  transform: translateY(0);
}

.video-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.field-reel {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(320px, 1fr);
  gap: 20px;
  align-items: stretch;
  margin-top: 22px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-soft);
  background:
    linear-gradient(135deg, rgba(5, 35, 21, 0.95), rgba(10, 82, 41, 0.88)),
    url("assets/images/gallery-field.jpg") center / cover;
  box-shadow: var(--shadow);
}

.field-reel > div {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

.field-reel .eyebrow {
  color: var(--sun);
}

.field-reel p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
  line-height: 1.7;
}

.field-reel video {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border-radius: 18px;
  background: var(--leaf-dark);
  object-fit: cover;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

.location {
  background: var(--leaf-dark);
}

.location-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(320px, 1fr);
  gap: 24px;
  align-items: stretch;
  padding: clamp(18px, 3vw, 32px);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.location-card .eyebrow {
  color: var(--sun);
}

.location-card p {
  color: rgba(255, 255, 255, 0.78);
}

.map-frame {
  overflow: hidden;
  min-height: 430px;
  border-radius: var(--radius);
  background: #0b2015;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  background: var(--cream);
}

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

.join-form select,
.join-form textarea,
.join-form button {
  grid-column: span 2;
}

.floating-donate {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  font-weight: 900;
  animation: pulseDonate 2.8s ease-in-out infinite;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 28px;
  pointer-events: none;
  opacity: 0;
  background: rgba(2, 13, 8, 0.82);
  backdrop-filter: blur(14px);
  transition: opacity 220ms ease;
}

.lightbox.is-open {
  pointer-events: auto;
  opacity: 1;
}

.lightbox img {
  max-height: min(78vh, 760px);
  width: min(1100px, 100%);
  border-radius: 18px;
  object-fit: contain;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.42);
  transform: scale(0.96);
  transition: transform 220ms ease;
}

.lightbox.is-open img {
  transform: scale(1);
}

.lightbox p {
  width: min(1100px, 100%);
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 800;
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  font-size: 28px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 34px clamp(18px, 5vw, 72px);
  color: #fff;
  background: #020d08;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 900;
}

.site-footer p {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.reveal {
  opacity: 0;
  transform: translateY(30px) scale(0.985);
  transition: opacity 720ms cubic-bezier(0.16, 1, 0.3, 1), transform 720ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.cause-card.reveal:nth-child(2),
.program-card.reveal:nth-child(2),
.gallery-item:nth-child(2) {
  transition-delay: 80ms;
}

.cause-card.reveal:nth-child(3),
.program-card.reveal:nth-child(3),
.gallery-item:nth-child(3) {
  transition-delay: 150ms;
}

.program-card.reveal:nth-child(4),
.gallery-item:nth-child(4) {
  transition-delay: 220ms;
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translateX(0);
  }
  to {
    transform: scale(1.08) translateX(1.5%);
  }
}

@keyframes floatCard {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -10px;
  }
}

@keyframes pulseDonate {
  0%,
  100% {
    box-shadow: 0 12px 28px rgba(246, 189, 79, 0.26);
  }
  50% {
    box-shadow: 0 16px 44px rgba(246, 189, 79, 0.46);
  }
}

@keyframes drawSceneLine {
  0% {
    opacity: 0;
    stroke-dashoffset: 300;
  }
  14% {
    opacity: 1;
  }
  44%,
  84% {
    opacity: 1;
    stroke-dashoffset: 0;
  }
  100% {
    opacity: 0;
    stroke-dashoffset: 0;
  }
}

@keyframes seedSplit {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.65) rotate(0deg);
  }
  10% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
  }
  24% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(-4deg);
  }
  48%,
  86% {
    opacity: 0.42;
    transform: translateY(4px) scale(0.92) rotate(-7deg);
  }
  100% {
    opacity: 0;
    transform: translateY(12px) scale(0.78) rotate(-7deg);
  }
}

@keyframes canopyBloom {
  0%,
  24% {
    opacity: 0;
    transform: scale(0.12) translateY(18px) rotate(-10deg);
  }
  37% {
    opacity: 1;
    transform: scale(1.12) translateY(-3px) rotate(2deg);
  }
  47%,
  82% {
    opacity: 1;
    transform: scale(1) translateY(0) rotate(0deg);
  }
  62% {
    opacity: 1;
    transform: scale(1.06) translateY(-2px) rotate(1deg);
  }
  100% {
    opacity: 0;
    transform: scale(0.85) translateY(10px) rotate(0deg);
  }
}

@keyframes glowBloom {
  0%,
  24% {
    opacity: 0;
    transform: scale(0.55);
  }
  42%,
  84% {
    opacity: 1;
    transform: scale(1);
  }
  62% {
    opacity: 0.72;
    transform: scale(1.08);
  }
  100% {
    opacity: 0;
    transform: scale(0.82);
  }
}

@keyframes haloRipple {
  0%,
  30% {
    opacity: 0;
    transform: scale(0.56);
  }
  48% {
    opacity: 0.72;
  }
  82% {
    opacity: 0;
    transform: scale(1.18);
  }
  100% {
    opacity: 0;
    transform: scale(1.18);
  }
}

@keyframes shadeArrive {
  0%,
  32% {
    opacity: 0;
    transform: scaleX(0.35);
  }
  48%,
  84% {
    opacity: 1;
    transform: scaleX(1);
  }
  100% {
    opacity: 0;
    transform: scaleX(0.62);
  }
}

@keyframes particleRise {
  0%,
  35% {
    opacity: 0;
    transform: translateY(18px) scale(0.65);
  }
  52% {
    opacity: 1;
  }
  80% {
    opacity: 0;
    transform: translateY(-26px) scale(1.18);
  }
  100% {
    opacity: 0;
    transform: translateY(-26px) scale(1.18);
  }
}

@keyframes orbitPulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.85);
  }
  50% {
    opacity: 1;
    transform: scale(1.35);
  }
}

@media (max-width: 1100px) {
  .cause-grid,
  .program-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .life-visual {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(720px, calc(100% - 36px));
    margin: -116px 18px 24px auto;
  }
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
    order: 3;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    color: var(--ink);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
  }

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

  .process,
  .story,
  .donate,
  .location-card,
  .contact,
  .field-reel {
    grid-template-columns: 1fr;
  }

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

  .nav-donate {
    margin-left: auto;
  }
}

@media (max-width: 720px) {
  .top-ribbon {
    justify-content: space-between;
    gap: 10px;
    font-size: 11px;
  }

  .site-header {
    right: 12px;
    left: 12px;
    padding: 9px 10px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand strong {
    font-size: 14px;
  }

  .brand small {
    display: none;
  }

  .nav-donate {
    min-width: 74px;
    padding: 10px 13px;
    font-size: 13px;
  }

  .hero-content {
    min-height: 800px;
    padding: 128px 0 218px;
    margin-left: 18px;
  }

  .hero-slide {
    object-position: center;
  }

  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(2, 16, 9, 0.93), rgba(2, 16, 9, 0.72)),
      linear-gradient(0deg, rgba(2, 16, 9, 0.58), rgba(2, 16, 9, 0.12));
  }

  .hero-actions,
  .button,
  .cause-card a {
    width: 100%;
  }

  .hero-dots {
    left: 18px;
    bottom: 18px;
  }

  .hero-dots button {
    width: 28px;
  }

  .hero-dots button.is-active {
    width: 54px;
  }

  .hero-focus,
  .trust-strip,
  .cause-grid,
  .program-grid,
  .gallery-showcase,
  .amount-pills,
  .join-form,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-focus {
    display: none;
  }

  .trust-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .life-visual {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: calc(100% - 36px);
    margin: 0;
    padding: 14px;
  }

  .life-cycle {
    width: 150px;
  }

  .life-caption strong {
    font-size: 16px;
  }

  .gallery-showcase {
    grid-auto-rows: 230px;
  }

  .field-reel {
    padding: 16px;
  }

  .field-reel > div,
  .field-reel video {
    min-height: 240px;
  }

  .gallery-item.wide,
  .gallery-item.tall {
    grid-row: auto;
  }

  .gallery-item {
    border-radius: 14px;
  }

  .join-form select,
  .join-form textarea,
  .join-form button {
    grid-column: auto;
  }

  .floating-donate {
    right: 12px;
    bottom: 12px;
    min-width: 88px;
    padding: 11px 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
