/* Earth Missions — Seed. Full-bleed hero, earth palette, no card soup. */
:root {
  --ground: #14241c;
  --ground-2: #1c3227;
  --ink: #f2f6f1;
  --ink-soft: #b7c6bb;
  --line: rgba(242, 246, 241, 0.14);
  --gold: #d2b46a;
  --gold-ink: #14241c;
  --display: "Fraunces", Georgia, serif;
  --body: "Outfit", "Avenir Next", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

#siteScroll {
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem 1.25rem 2.75rem;
  isolation: isolate;
  background:
    radial-gradient(90% 70% at 85% 15%, rgba(210, 180, 106, 0.22), transparent 55%),
    radial-gradient(70% 55% at 12% 80%, rgba(58, 110, 88, 0.45), transparent 60%),
    linear-gradient(165deg, #1a3327 0%, #14241c 42%, #0f1c16 100%);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    repeating-linear-gradient(
      -18deg,
      transparent 0 18px,
      rgba(242, 246, 241, 0.025) 18px 19px
    ),
    radial-gradient(120% 90% at 70% 30%, rgba(86, 140, 112, 0.35), transparent 58%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transform: scale(1.04);
  animation: drift 28s ease-in-out infinite alternate;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 36, 28, 0.45) 0%, rgba(20, 36, 28, 0.2) 40%, rgba(20, 36, 28, 0.94) 100%),
    radial-gradient(100% 70% at 80% 10%, rgba(210, 180, 106, 0.16), transparent 50%);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  animation: rise 0.9s ease both;
}

.mark {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.85rem, 4.5vw, 2.55rem);
  font-weight: 650;
  letter-spacing: -0.03em;
}

.topbar nav {
  display: flex;
  gap: 1rem;
}

.topbar a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.topbar a:hover { color: var(--ink); }

.hero-copy {
  max-width: 36rem;
  padding-bottom: 0.25rem;
  animation: rise 1.05s ease 0.12s both;
}

.line {
  margin: 0 0 0.85rem;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}

h1, h2 {
  font-family: var(--display);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.15rem, 6.2vw, 3.6rem);
  max-width: 14ch;
}

h2 {
  font-size: clamp(1.55rem, 3.4vw, 2.25rem);
  max-width: 18ch;
}

.support, .prose, .aside {
  margin: 0;
  color: var(--ink-soft);
  max-width: 38ch;
  font-size: 1.05rem;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.1rem;
  margin-top: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn.primary {
  background: var(--gold);
  color: var(--gold-ink);
}

.btn.secondary {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(242, 246, 241, 0.04);
}

.btn.text {
  padding-left: 0.15rem;
  color: var(--ink-soft);
  font-weight: 500;
  position: relative;
}

.btn.text::after {
  content: "";
  position: absolute;
  left: 0.15rem;
  right: 0.15rem;
  bottom: 0.45rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.btn.text:hover { color: var(--ink); }
.btn.text:hover::after { transform: scaleX(1); }

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.25rem 2rem;
}

.band {
  padding: 4.5rem 0 3.5rem;
  border-top: 1px solid var(--line);
  animation: rise 0.8s ease both;
}

.kicker {
  margin: 0 0 0.75rem;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}

.pulse {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.pulse li {
  display: grid;
  gap: 0.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

.pulse span {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: var(--ink);
  letter-spacing: -0.02em;
}

.aside {
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.path-steps {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: 1.25rem;
}

.path-steps li {
  counter-increment: step;
  display: grid;
  gap: 0.25rem;
  padding-left: 3rem;
  position: relative;
}

.path-steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-family: var(--display);
  color: var(--gold);
  font-size: 1.05rem;
}

.path-steps strong {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 650;
}

.path-steps span {
  color: var(--ink-soft);
  max-width: 36ch;
}

.join .prose { margin-bottom: 0.25rem; }

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
  color: var(--ink);
}

.foot {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3.5rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.foot p { margin: 0; }
.foot strong { color: var(--ink); font-weight: 600; }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  #siteScroll { scroll-behavior: auto; }
}
