/* ==========================================================================
   Pacha — Automated Externality Accounting
   Design system: warm paper, deep teal, bronze accent.
   Type: Fraunces (display) + Inter (text/UI).
   ========================================================================== */

:root {
  /* Dark tones are deep teal, matched to nellwatson.com
     (#8fc3c5 / #35a3a6 / #2c5c5e family; --green-* names are legacy). */
  --paper: #f7f5f0;
  --paper-2: #efede5;
  --ink: #152020;
  --ink-soft: #3e4d4c;
  --ink-faint: #66807e;
  --green-950: #0a1c1d;
  --green-900: #0e2527;
  --green-800: #143336;
  --green-700: #1d4a4d;
  --green-500: #2b7f82;
  --green-300: #8fc3c5;
  --gold: #b98f4e;
  --gold-soft: #d9c294;
  --line: rgba(21, 32, 32, 0.14);
  --line-dark: rgba(247, 245, 240, 0.16);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(8, 22, 23, 0.06), 0 2px 8px rgba(8, 22, 23, 0.05);
  --shadow-md: 0 2px 6px rgba(8, 22, 23, 0.07), 0 12px 32px rgba(8, 22, 23, 0.1);
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-text: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --wrap: 1160px;
  --wrap-narrow: 720px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-500); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 560;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  color: inherit;
  text-wrap: balance;
}
p { margin: 0 0 1.25em; text-wrap: pretty; }
::selection { background: var(--gold-soft); color: var(--green-950); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--green-950);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
.wrap--narrow { max-width: var(--wrap-narrow); }

/* ---------- Header ----------
   Transparent while at the very top (over the hero image),
   glass once scrolled. Solid fallback when JS never runs. */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.site-header.is-scrolled,
html.no-js .site-header {
  background: rgba(10, 28, 29, 0.82);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid rgba(247, 245, 240, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: #fff;
}
.brand img { height: 34px; width: auto; }
.brand__word {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 560;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.brand__tag {
  display: none;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-300);
  border-left: 1px solid var(--line-dark);
  padding-left: 0.8rem;
}
@media (min-width: 900px) { .brand__tag { display: inline; } }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2rem); }
.site-nav a {
  position: relative;
  color: rgba(247, 245, 239, 0.85);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0;
  transition: color 0.2s ease;
}
.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.site-nav a:hover { color: #fff; }
.site-nav a[aria-current="page"] { color: #fff; }
.site-nav a:not(.nav-cta):hover::after,
.site-nav a:not(.nav-cta)[aria-current="page"]::after { transform: scaleX(1); }
.site-nav .nav-cta {
  border: 1px solid rgba(247, 245, 239, 0.35);
  border-radius: 999px;
  padding: 0.5rem 1.15rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.site-nav .nav-cta:hover { background: rgba(247, 245, 239, 0.1); border-color: var(--gold); border-bottom-color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  font-family: var(--font-text);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.55; cursor: progress; transform: none; }
.btn--primary { background: var(--gold); color: var(--green-950); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: #cba15d; color: var(--green-950); box-shadow: 0 8px 24px rgba(185, 143, 78, 0.38); }
.btn--ghost { border-color: rgba(247, 245, 239, 0.45); color: #fff; }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-soft); background: rgba(247, 245, 239, 0.06); }
.btn--ink { background: var(--green-900); color: var(--paper); }
.btn--ink:hover { background: var(--green-700); color: #fff; box-shadow: var(--shadow-md); }
.btn--outline { border-color: var(--green-700); color: var(--green-700); }
.btn--outline:hover { background: var(--green-700); color: var(--paper); }
.btn .arrow { transition: transform 0.18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* Quiet text-link CTA — secondary actions next to a single primary button */
.link-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--green-700);
  border-bottom: 1px solid rgba(185, 143, 78, 0.45);
  transition: color 0.18s ease, border-color 0.18s ease;
}
.link-cta .arrow { transition: transform 0.18s ease; }
.link-cta:hover { color: var(--green-500); border-bottom-color: var(--gold); }
.link-cta:hover .arrow { transform: translateX(3px); }
.hero .link-cta, .cta-band .link-cta, .section--dark .link-cta {
  color: rgba(247, 245, 240, 0.92);
}
.hero .link-cta:hover, .cta-band .link-cta:hover, .section--dark .link-cta:hover {
  color: var(--gold-soft);
}

/* ---------- Hero ----------
   The photograph is real black space with Earth on the right —
   the text sits in the actual starfield, barely scrimmed. */
.hero {
  position: relative;
  color: var(--paper);
  background: #030507;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid rgba(185, 143, 78, 0.3);
  min-height: 92svh;
  display: flex;
  align-items: center;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: right center;
}
@media (max-width: 760px) {
  .hero__bg { background-position: 43% center; }
  .hero__scrim {
    background:
      linear-gradient(90deg, rgba(3, 6, 8, 0.55) 0%, rgba(3, 6, 8, 0.15) 70%),
      linear-gradient(to top, rgba(10, 28, 29, 0.9) 0%, rgba(10, 28, 29, 0) 30%);
  }
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 6, 8, 0.72) 0%, rgba(3, 6, 8, 0.42) 36%, rgba(3, 6, 8, 0) 60%),
    linear-gradient(to top, rgba(10, 28, 29, 0.92) 0%, rgba(10, 28, 29, 0) 26%),
    linear-gradient(to bottom, rgba(3, 6, 8, 0.6) 0%, rgba(3, 6, 8, 0) 18%);
}
.hero__inner {
  width: 100%;
  padding-top: clamp(6rem, 14vh, 10rem);
  padding-bottom: clamp(7rem, 16vh, 11rem);
}
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 2.2rem;
  transform: translateX(-50%);
  width: 46px;
  height: 46px;
  border: 1px solid rgba(247, 245, 240, 0.35);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: rgba(247, 245, 240, 0.8);
  text-decoration: none;
  animation: hero-bob 2.6s ease-in-out infinite;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.hero__scroll:hover { border-color: var(--gold); color: var(--gold-soft); }
@keyframes hero-bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 7px); }
}
@media (prefers-reduced-motion: reduce) { .hero__scroll { animation: none; } }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: 1.75rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 2.4rem;
  height: 1px;
  background: var(--gold);
}
.hero .eyebrow, .page-hero .eyebrow, .section--dark .eyebrow, .cta-band .eyebrow {
  color: var(--gold-soft);
}
.eyebrow i {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05em;
  letter-spacing: 0.02em;
  color: var(--gold);
}
.hero h1 {
  font-size: clamp(3rem, 7.2vw, 5.6rem);
  line-height: 1.04;
  max-width: 13ch;
  margin-bottom: 1.75rem;
  text-shadow: 0 2px 32px rgba(0, 0, 0, 0.5);
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-soft);
}
.hero__lede {
  max-width: 36rem;
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  line-height: 1.65;
  color: rgba(247, 245, 239, 0.85);
  margin-bottom: 2.75rem;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2.25rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; position: relative; overflow: hidden; }
.ghost-num {
  position: absolute;
  top: clamp(1.5rem, 4vw, 3.5rem);
  right: clamp(1rem, 5vw, 5rem);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 560;
  font-size: clamp(9rem, 17vw, 15rem);
  line-height: 1;
  color: var(--green-800);
  opacity: 0.055;
  pointer-events: none;
  user-select: none;
}
.section--dark .ghost-num { color: var(--paper); opacity: 0.045; }
.ghost-num--left { right: auto; left: clamp(1rem, 5vw, 5rem); }
@media (max-width: 1000px) { .ghost-num { display: none; } }

/* ---------- Film grain on dark surfaces ---------- */
.grain { position: relative; }
.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.section--tint { background: var(--paper-2); }
.section--dark { background: var(--green-950); color: var(--paper); }
.section-head { max-width: 50rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-head h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); letter-spacing: -0.02em; }
.section-head .lede { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--ink-soft); }
.section--dark .section-head .lede { color: rgba(247, 245, 239, 0.75); }
.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  max-width: 52rem;
}
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .eyebrow::after {
  content: "";
  display: inline-block;
  width: 2.4rem;
  height: 1px;
  background: var(--gold);
}
.section--flush-top { padding-top: 0; }

/* ---------- Editorial prose ---------- */
.prose { max-width: var(--wrap-narrow); margin-left: auto; margin-right: auto; font-size: 1.145rem; }
.prose p { margin-bottom: 1.4em; color: var(--ink-soft); }
.prose strong { color: var(--ink); }
.prose .opener { font-size: 1.3rem; line-height: 1.6; color: var(--ink); }
.prose .opener::first-letter {
  font-family: var(--font-display);
  font-size: 3.4em;
  font-weight: 560;
  float: left;
  line-height: 0.82;
  padding: 0.06em 0.12em 0 0;
  color: var(--green-700);
}
.pullquote {
  margin: clamp(3.5rem, 7vw, 5.5rem) auto 1rem;
  padding: 0;
  border: 0;
  max-width: 46rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-style: italic;
  line-height: 1.38;
  color: var(--green-800);
}
.pullquote::before {
  content: "\201C";
  display: block;
  font-size: 2.6em;
  line-height: 0.5;
  color: var(--gold);
  opacity: 0.6;
  margin: 0 auto 1.1rem;
  font-style: normal;
}
.pullquote::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 2px;
  background: var(--gold);
  margin: 1.8rem auto 0;
  opacity: 0.8;
}
.signature {
  margin-top: 2.5rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ink);
}
.signature small {
  display: block;
  font-family: var(--font-text);
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 0.35rem;
}

/* ---------- Pillar cards ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.pillar {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, var(--green-800) 0%, var(--green-950) 100%);
  border: 1px solid rgba(143, 195, 197, 0.2);
  border-radius: var(--radius-lg);
  padding: 1.9rem 2rem 2rem;
  color: var(--paper);
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.pillar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.pillar::after {
  content: attr(data-num);
  position: absolute;
  right: 1.1rem;
  bottom: 0.2rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 5.5rem;
  line-height: 1;
  color: rgba(143, 195, 197, 0.1);
  pointer-events: none;
}
.pillar:hover { transform: translateY(-5px); border-color: rgba(185, 143, 78, 0.55); box-shadow: 0 18px 44px rgba(4, 10, 11, 0.4); }
.pillar:hover::before { transform: scaleX(1); }
.pillar__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.1rem;
}
.pillar__icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(217, 194, 148, 0.45);
  background: rgba(185, 143, 78, 0.12);
  display: grid;
  place-items: center;
  color: var(--gold-soft);
}
.pillar__icon svg { display: block; }
.pillar h3 { font-size: 1.38rem; margin: 0; color: #fff; }
.pillar p { color: rgba(247, 245, 240, 0.76); font-size: 0.98rem; line-height: 1.65; margin: 0; position: relative; }

/* ---------- Video ---------- */
.video-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(185, 143, 78, 0.32), 0 24px 60px rgba(0, 0, 0, 0.45);
  background: #000;
}
.video-frame video { width: 100%; height: auto; }
.video-caption {
  text-align: center;
  margin: 1.4rem 0 0;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  color: rgba(247, 245, 239, 0.55);
}

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(185, 143, 78, 0.22), transparent 60%),
    radial-gradient(800px 400px at 5% 110%, rgba(43, 127, 130, 0.25), transparent 60%),
    var(--green-900);
  color: var(--paper);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(185, 143, 78, 0.28);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  box-shadow: 0 30px 70px rgba(5, 12, 13, 0.35);
}
.cta-band h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); max-width: 20ch; }
.cta-band p { color: rgba(247, 245, 239, 0.78); max-width: 42rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2.25rem; margin-top: 2rem; }

/* ---------- Changemakers chip cloud ---------- */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; max-width: 62rem; margin: 0 auto; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  background: rgba(29, 74, 77, 0.08);
  color: var(--green-700);
  font-size: 0.93rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.chip:hover {
  background: var(--green-700);
  color: var(--paper);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(10, 28, 29, 0.25);
}
.chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  transition: background 0.18s ease;
}
.chip:hover::before { background: var(--gold-soft); }

/* ---------- Partner thanks ---------- */
.partners {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: baseline;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 560;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  max-width: 60rem;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.partners span { opacity: 0.75; transition: opacity 0.2s ease, color 0.2s ease; }
.partners span:hover { opacity: 1; color: var(--green-700); }
.partners span:not(:first-child)::before {
  content: "·";
  color: var(--gold);
  margin-right: clamp(1.5rem, 4vw, 3.5rem);
  opacity: 0.9;
}

/* ---------- Resource cards (links page) ---------- */
.category { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.category + .category { border-top: 1px solid var(--line); }
.category__head { display: flex; align-items: baseline; gap: 1.25rem; margin-bottom: 2rem; flex-wrap: wrap; }
.category__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold);
}
.category__head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0; }
.category__head p { margin: 0; color: var(--ink-faint); font-size: 0.98rem; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 1.1rem;
}
.card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(43, 127, 130, 0.4); color: var(--ink); }
.card__title { font-weight: 600; font-size: 1.02rem; line-height: 1.45; padding-right: 1.4rem; transition: color 0.2s ease; }
.card:hover .card__title { color: var(--green-700); }
.card__meta { font-size: 0.85rem; color: var(--ink-faint); }
.card::after {
  content: "↗";
  position: absolute;
  top: 1.1rem;
  right: 1.2rem;
  font-size: 0.85rem;
  color: var(--green-300);
  transition: color 0.2s ease, transform 0.2s ease;
}
.card:hover::after { color: var(--gold); transform: translate(2px, -2px); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
@media (min-width: 880px) { .contact-grid { grid-template-columns: 5fr 6fr; } }
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-md);
}
.field { margin-bottom: 1.4rem; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}
.field input, .field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green-500);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(43, 127, 130, 0.15);
}
.field textarea { min-height: 160px; resize: vertical; }
.form-status { margin-top: 1.25rem; font-weight: 500; display: none; }
.form-status--ok { display: block; color: var(--green-700); }
.form-status--err { display: block; color: #a4453a; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-950);
  color: rgba(247, 245, 239, 0.72);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 2.5rem;
  font-size: 0.95rem;
  border-top: 1px solid rgba(185, 143, 78, 0.25);
}
.to-top { white-space: nowrap; }
.site-footer a { color: rgba(247, 245, 239, 0.85); text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); }
.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid var(--line-dark);
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-brand img { height: 40px; margin-bottom: 1.1rem; }
.footer-brand p { max-width: 34rem; margin: 0; }
.footer-lore {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.98rem;
  color: rgba(247, 245, 239, 0.52);
  margin-top: 0.9rem !important;
}
.footer-col h3 {
  font-family: var(--font-text);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-300);
  margin-bottom: 1.1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  font-size: 0.85rem;
  color: rgba(247, 245, 239, 0.5);
}
.footer-meta a { color: rgba(247, 245, 239, 0.65); text-decoration: underline; text-decoration-color: rgba(247, 245, 239, 0.3); }

/* ---------- Reveal on scroll ----------
   Hidden states are gated behind html.js so content stays visible
   when scripts never run. */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
html.js .reveal.is-visible { opacity: 1; transform: none; }

/* Staggered children: keyframe animation, so it never competes with
   the hover transitions defined on cards/pillars/chips. */
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
html.js .stagger > * { opacity: 0; }
html.js .stagger.is-visible > * { animation: rise 0.65s cubic-bezier(0.22, 1, 0.36, 1) both; }
html.js .stagger.is-visible > *:nth-child(1) { animation-delay: 0.04s; }
html.js .stagger.is-visible > *:nth-child(2) { animation-delay: 0.09s; }
html.js .stagger.is-visible > *:nth-child(3) { animation-delay: 0.14s; }
html.js .stagger.is-visible > *:nth-child(4) { animation-delay: 0.19s; }
html.js .stagger.is-visible > *:nth-child(5) { animation-delay: 0.24s; }
html.js .stagger.is-visible > *:nth-child(6) { animation-delay: 0.29s; }
html.js .stagger.is-visible > *:nth-child(7) { animation-delay: 0.34s; }
html.js .stagger.is-visible > *:nth-child(8) { animation-delay: 0.38s; }
html.js .stagger.is-visible > *:nth-child(9) { animation-delay: 0.42s; }
html.js .stagger.is-visible > *:nth-child(10) { animation-delay: 0.46s; }
html.js .stagger.is-visible > *:nth-child(11) { animation-delay: 0.5s; }
html.js .stagger.is-visible > *:nth-child(12) { animation-delay: 0.54s; }
html.js .stagger.is-visible > *:nth-child(n+13) { animation-delay: 0.58s; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; }
  html.js .stagger > * { opacity: 1; animation: none !important; }
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(900px 420px at 90% -20%, rgba(185, 143, 78, 0.18), transparent 60%),
    var(--green-950);
  color: var(--paper);
  padding: clamp(8rem, 14vw, 11rem) 0 clamp(4rem, 8vw, 6rem);
  border-bottom: 1px solid rgba(185, 143, 78, 0.3);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../content/v1/5d1df3ba1ab1300001143409/1562267812508-BMIG5L91I7ZHZDYX7DFZ/earth-1365995_1920.jpg") center 30% / cover no-repeat;
  opacity: 0.14;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(10, 28, 29, 0.85) 30%, rgba(10, 28, 29, 0.3) 100%);
}
.page-hero h1 { font-size: clamp(2.4rem, 5.5vw, 4.1rem); max-width: 18ch; margin-bottom: 1rem; }
.page-hero p { max-width: 40rem; color: rgba(247, 245, 239, 0.78); font-size: 1.12rem; margin: 0; }

/* ---------- Small screens ---------- */
@media (max-width: 620px) {
  .site-header__inner { min-height: 64px; }
  .brand img { height: 28px; }
  .brand__word { font-size: 1.2rem; }
  .site-nav { gap: 0.9rem; }
  .site-nav a { font-size: 0.8rem; }
  .hero__actions .btn, .cta-band__actions .btn, .form-card .btn { width: 100%; justify-content: center; }
}
