:root {
  --canopy: #12382e;
  --canopy-2: #1e5748;
  --juniper: #44675e;
  --limestone: #f2eadb;
  --stone: #d6c4a8;
  --grass: #d6a93d;
  --rust: #9b4e2d;
  --sky: #cfe7ec;
  --ink: #18211e;
  --muted: #5e675f;
  --paper: #fbf8ef;
  --white: #fffdf7;
  --line: rgba(24, 33, 30, 0.16);
  --shadow: 0 22px 70px rgba(18, 56, 46, 0.18);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.nav-active {
  background: rgba(251, 248, 239, 0.96);
  color: var(--ink);
  box-shadow: 0 12px 40px rgba(18, 56, 46, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 220px;
}

.brand-mark {
  position: relative;
  width: 38px;
  height: 38px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.brand-mark span {
  position: absolute;
  inset: 9px 11px 9px 12px;
  border: 2px solid currentColor;
  border-right: 0;
  border-bottom: 0;
  border-radius: 14px 0 0 0;
  transform: rotate(-18deg);
}

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

.brand strong {
  font-size: 1rem;
  letter-spacing: 0;
}

.brand small {
  font-size: 0.76rem;
  color: currentColor;
  opacity: 0.78;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
  opacity: 0.86;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.site-nav .nav-donate {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  opacity: 1;
}

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

.nav-toggle span:not(.sr-only) {
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
}

.hero {
  position: relative;
  min-height: 82svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  padding: 132px clamp(18px, 5vw, 72px) 42px;
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 21, 17, 0.86), rgba(9, 32, 25, 0.47) 42%, rgba(9, 32, 25, 0.1)),
    linear-gradient(0deg, rgba(18, 56, 46, 0.76), rgba(18, 56, 46, 0.02) 48%);
}

.hero-content,
.hero-facts {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 820px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--grass);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  font-family: "Libre Baskerville", Georgia, serif;
  letter-spacing: 0;
  line-height: 1.06;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 7.2rem);
}

.hero-copy {
  max-width: 660px;
  margin: 22px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: rgba(255, 253, 247, 0.9);
}

.hero-actions,
.contact-actions,
.donation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--grass);
  color: #1e1b0e;
}

.button.secondary {
  background: rgba(255, 253, 247, 0.1);
  color: inherit;
  border-color: rgba(255, 253, 247, 0.42);
}

.section .button.secondary,
.contact .button.secondary {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 820px;
  margin-top: 56px;
  border: 1px solid rgba(255, 253, 247, 0.3);
  background: rgba(255, 253, 247, 0.18);
  backdrop-filter: blur(14px);
}

.hero-facts div {
  padding: 18px;
  background: rgba(18, 56, 46, 0.34);
}

.hero-facts strong,
.hero-facts span {
  display: block;
}

.hero-facts strong {
  font-size: 1.02rem;
}

.hero-facts span {
  color: rgba(255, 253, 247, 0.78);
  font-size: 0.88rem;
}

.section {
  padding: clamp(72px, 10vw, 132px) clamp(18px, 5vw, 72px);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.55fr 1.1fr;
  gap: clamp(32px, 7vw, 96px);
  align-items: start;
}

.intro-copy h2,
.section-heading h2,
.campaign h2,
.connectivity h2,
.governance h2,
.contact h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4.3vw, 4.8rem);
}

.intro-copy p,
.section-heading p,
.campaign-copy p,
.connectivity-copy p,
.contact-panel p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
}

.mission-list {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.mission-list article,
.habitat-grid article,
.help-grid article,
.governance-list article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 24px;
}

.mission-list span {
  display: block;
  color: var(--rust);
  font-weight: 800;
  margin-bottom: 26px;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  line-height: 1.25;
}

article p {
  margin: 0;
  color: var(--muted);
}

.campaign {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.05fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
  background: var(--canopy);
  color: var(--white);
}

.campaign-copy p {
  color: rgba(255, 253, 247, 0.78);
}

.campaign-visual {
  margin: 0;
}

.campaign-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.campaign-visual figcaption {
  margin-top: 12px;
  color: rgba(255, 253, 247, 0.62);
  font-size: 0.82rem;
}

.status-panel {
  display: grid;
  gap: 1px;
  margin-top: 30px;
  border: 1px solid rgba(255, 253, 247, 0.22);
  background: rgba(255, 253, 247, 0.16);
}

.status-panel div {
  padding: 16px 18px;
  background: rgba(8, 30, 23, 0.38);
}

.status-panel span,
.status-panel strong {
  display: block;
}

.status-panel span {
  color: var(--grass);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.status-panel strong {
  margin-top: 4px;
}

.section-heading {
  max-width: 940px;
}

.section-heading.compact {
  max-width: 780px;
}

.habitat {
  background:
    linear-gradient(180deg, var(--paper), #eef3ea);
}

.habitat-grid,
.help-grid,
.governance-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.habitat-grid article:nth-child(2),
.help-grid article:nth-child(2),
.governance-list article:nth-child(2) {
  border-top: 4px solid var(--grass);
}

.habitat-grid article:nth-child(3),
.help-grid article:nth-child(3) {
  border-top: 4px solid var(--juniper);
}

.connectivity {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 84px);
  background: var(--white);
}

.connectivity-copy {
  align-self: end;
}

.timeline {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 10px;
  border-top: 1px solid var(--line);
}

.timeline article {
  position: relative;
  padding: 34px 26px 0 0;
}

.timeline article + article {
  padding-left: 26px;
}

.timeline article span {
  position: absolute;
  top: -7px;
  left: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--grass);
  box-shadow: 0 0 0 6px rgba(214, 169, 61, 0.18);
}

.timeline article + article span {
  left: 26px;
}

.help {
  background: #f4efe2;
}

.donation-note {
  display: grid;
  grid-template-columns: 0.34fr 1fr;
  gap: 24px;
  margin-top: 22px;
  padding: 24px;
  border: 1px solid rgba(155, 78, 45, 0.35);
  border-left: 6px solid var(--rust);
  border-radius: var(--radius);
  background: #fffaf0;
}

.donation-note strong {
  color: var(--rust);
}

.donation-note p {
  margin: 0;
  color: var(--muted);
}

.donation-actions {
  margin-top: 18px;
}

.governance {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.1fr);
  gap: clamp(30px, 6vw, 84px);
  background: var(--canopy);
  color: var(--white);
}

.governance-list {
  grid-template-columns: 1fr;
  margin-top: 0;
}

.governance-list article {
  background: rgba(255, 253, 247, 0.08);
  border-color: rgba(255, 253, 247, 0.18);
}

.governance-list article p {
  color: rgba(255, 253, 247, 0.72);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  background: var(--paper);
}

.contact-panel {
  max-width: 820px;
}

.contact-placeholder {
  display: grid;
  gap: 6px;
  max-width: 620px;
  margin-top: 24px;
  padding: 20px;
  border: 1px dashed rgba(18, 56, 46, 0.42);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.66);
}

.contact-placeholder span {
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  background: #0d241e;
  color: rgba(255, 253, 247, 0.76);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1000px) {
  .intro-grid,
  .campaign,
  .connectivity,
  .governance,
  .contact {
    grid-template-columns: 1fr;
  }

  .mission-list,
  .habitat-grid,
  .help-grid,
  .timeline {
    grid-template-columns: 1fr 1fr;
  }

  .mission-list {
    grid-column: 1;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
    padding: 12px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    inset: 68px 14px auto;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .site-header.nav-active .site-nav {
    display: grid;
  }

  .site-nav a {
    padding: 13px 10px;
  }

  .hero {
    min-height: 84svh;
    padding: 108px 18px 24px;
  }

  .hero h1 {
    font-size: clamp(3rem, 16vw, 4.8rem);
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions,
  .contact-actions,
  .donation-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-facts,
  .mission-list,
  .habitat-grid,
  .help-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .hero-facts {
    margin-top: 30px;
  }

  .section {
    padding: 62px 18px;
  }

  .intro-copy h2,
  .section-heading h2,
  .campaign h2,
  .connectivity h2,
  .governance h2,
  .contact h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .timeline article,
  .timeline article + article {
    padding: 28px 0 0;
  }

  .timeline article + article span {
    left: 0;
  }

  .donation-note {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

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