:root {
  --bg: #f8f2e2;
  --bg-deep: #ebdfc0;
  --ink: #173a31;
  --muted: #4a625b;
  --panel: rgba(255, 250, 240, 0.82);
  --line: rgba(23, 58, 49, 0.12);
  --accent: #da5b31;
  --accent-deep: #a6401f;
  --sun: #ffd679;
  --river: #a9d6ca;
  --river-deep: #73b8a3;
  --wood: #8f633d;
  --wood-deep: #6e4c2f;
  --shadow: 0 24px 70px rgba(80, 56, 26, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Bricolage Grotesque", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 214, 121, 0.5), transparent 24%),
    radial-gradient(circle at 86% 14%, rgba(115, 184, 163, 0.28), transparent 20%),
    linear-gradient(180deg, #fcf8ef 0%, var(--bg) 48%, var(--bg-deep) 100%);
}

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

.page-shell {
  position: relative;
  overflow: hidden;
}

.ambient {
  position: fixed;
  width: 36rem;
  height: 36rem;
  border-radius: 50%;
  filter: blur(52px);
  opacity: 0.46;
  pointer-events: none;
}

.ambient-amber {
  top: -9rem;
  left: -10rem;
  background: rgba(255, 214, 121, 0.34);
}

.ambient-river {
  right: -10rem;
  bottom: 7rem;
  background: rgba(115, 184, 163, 0.26);
}

.wave {
  position: absolute;
  left: -8%;
  width: 116%;
  height: 6.2rem;
  border-top: 2px dashed rgba(23, 58, 49, 0.07);
  border-bottom: 2px dashed rgba(23, 58, 49, 0.05);
  border-radius: 100%;
  pointer-events: none;
}

.wave-top {
  top: 7rem;
  transform: rotate(-2deg);
}

.wave-bottom {
  bottom: 10rem;
  transform: rotate(3deg);
}

.hero,
.section,
.footer {
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  padding: 1.25rem 0 3.4rem;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0 2.35rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  min-width: 3.1rem;
  height: 3.1rem;
  padding: 0 0.7rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--accent), var(--sun));
  color: #fff8ec;
  font-family: "Russo One", sans-serif;
  font-size: 0.96rem;
}

.brand-text,
.eyebrow,
.section-label,
.mission-index,
.timeline-index,
.top-link {
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.top-link {
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(10px);
  font-size: 0.82rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 2rem;
  align-items: start;
}

.hero-copy h1,
.section-head h2,
.mission-card h3,
.timeline-step h3,
.quote {
  font-family: "Russo One", sans-serif;
}

.hero-copy h1 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(2.9rem, 6vw, 5.5rem);
  line-height: 0.97;
}

.eyebrow,
.section-label,
.mission-index,
.timeline-index {
  color: var(--muted);
  font-size: 0.76rem;
}

.lead {
  max-width: 42rem;
  margin: 1.5rem 0 0;
  font-size: 1.17rem;
  line-height: 1.72;
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0 1.35rem;
  border-radius: 1.15rem;
  font-weight: 700;
}

.button-primary {
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  color: #fff7ed;
  box-shadow: var(--shadow);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
}

.hero-ticker,
.toolbox-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-ticker {
  margin-top: 2rem;
}

.hero-ticker span,
.toolbox-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 2.3rem;
  padding: 0 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(23, 58, 49, 0.1);
  background: rgba(255, 255, 255, 0.44);
}

.hero-visual {
  display: grid;
  gap: 1rem;
}

.dispatch-card,
.hero-card,
.mission-card,
.timeline-step,
.toolbox-card,
.quote-block {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.dispatch-card,
.hero-card,
.toolbox-card,
.quote-block {
  border-radius: 1.8rem;
  padding: 1.35rem;
}

.dispatch-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
}

.status-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(218, 91, 49, 0.45);
  animation: pulse 2s infinite;
}

.hero-scene {
  position: relative;
  min-height: 18rem;
  margin: 1.2rem 0;
  border-radius: 1.5rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(169, 214, 202, 0.18), rgba(115, 184, 163, 0.42)),
    linear-gradient(135deg, rgba(255, 214, 121, 0.36), rgba(218, 91, 49, 0.08));
}

.hero-scene::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5.3rem;
  background:
    linear-gradient(180deg, rgba(169, 214, 202, 0), rgba(115, 184, 163, 0.45)),
    repeating-linear-gradient(
      90deg,
      var(--wood-deep) 0,
      var(--wood-deep) 2.8rem,
      var(--wood) 2.8rem,
      var(--wood) 3.45rem
    );
  border-top: 4px solid rgba(74, 50, 31, 0.14);
}

.beaver-illustration {
  position: absolute;
  right: 1.1rem;
  bottom: 1.7rem;
  width: min(13rem, 46%);
}

.dam-tags {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: flex;
  gap: 0.55rem;
  z-index: 1;
}

.dam-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.2rem;
  min-height: 2.75rem;
  padding: 0.35rem 0.7rem;
  border-radius: 1rem 1rem 0.65rem 0.65rem;
  background: linear-gradient(180deg, var(--wood), var(--wood-deep));
  color: #fff7ea;
  font-weight: 800;
}

.radar {
  position: absolute;
  top: 1.35rem;
  right: 1.3rem;
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  border: 2px solid rgba(218, 91, 49, 0.22);
  background: radial-gradient(circle, rgba(255, 214, 121, 0.9) 0, rgba(218, 91, 49, 0.72) 27%, transparent 30%);
}

.radar::before,
.radar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(218, 91, 49, 0.35);
  animation: radar 3s infinite;
}

.radar::after {
  animation-delay: 1.5s;
}

.signal-list,
.toolbox-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--muted);
  line-height: 1.68;
}

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

.metric-grid strong {
  display: block;
  margin-bottom: 0.3rem;
  font-family: "Russo One", sans-serif;
  font-size: 1.7rem;
}

.metric-grid span {
  color: var(--muted);
}

.section {
  padding: 1.25rem 0 3.5rem;
}

.section-head {
  max-width: 58rem;
  margin-bottom: 1.5rem;
}

.section-head h2 {
  margin: 0.55rem 0 0;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.08;
}

.mission-grid,
.timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.mission-card,
.timeline-step {
  border-radius: 1.6rem;
  padding: 1.35rem;
}

.mission-card h3,
.timeline-step h3 {
  margin: 0.7rem 0 0.65rem;
  font-size: 1.24rem;
}

.mission-card p,
.timeline-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.66;
}

.section-process {
  position: relative;
}

.section-process::before {
  content: "";
  position: absolute;
  inset: 7rem auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(23, 58, 49, 0.18), transparent);
  pointer-events: none;
}

.toolbox-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  gap: 1.5rem;
}

.toolbox-tags {
  align-content: start;
}

.quote-block {
  text-align: center;
  padding: 2rem 1.5rem;
}

.quote {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.32rem);
  line-height: 1.22;
}

.quote-author {
  margin: 1rem 0 0;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.76rem;
}

.footer {
  padding: 0 0 3rem;
}

.footer p {
  margin: 0;
  padding: 1.2rem 1.4rem 0;
  color: var(--muted);
  border-top: 1px solid rgba(23, 58, 49, 0.12);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(218, 91, 49, 0.45);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(218, 91, 49, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(218, 91, 49, 0);
  }
}

@keyframes radar {
  0% {
    transform: scale(0.85);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

@media (max-width: 920px) {
  .hero-grid,
  .mission-grid,
  .timeline,
  .toolbox-card {
    grid-template-columns: 1fr;
  }

  .section-process::before {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 1rem;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 2rem;
  }

  .hero-copy h1 {
    max-width: none;
  }

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

  .dispatch-card,
  .hero-card,
  .mission-card,
  .timeline-step,
  .toolbox-card,
  .quote-block {
    border-radius: 1.35rem;
  }

  .hero-scene {
    min-height: 15rem;
  }

  .beaver-illustration {
    width: min(10rem, 46%);
    right: 0.8rem;
  }

  .dam-tags {
    gap: 0.4rem;
  }

  .dam-tags span {
    min-width: 3.6rem;
    min-height: 2.45rem;
    font-size: 0.84rem;
  }

  .radar {
    width: 4.8rem;
    height: 4.8rem;
    top: 1rem;
    right: 1rem;
  }
}
