:root {
  --signal: #ffe700;
  --signal-soft: #fff06a;
  --cyan: #006b8f;
  --cyan-bright: #18c4f5;
  --ink: #070707;
  --paper: #fdfdf9;
  --paper-muted: #efefea;
  --gray: #a6a6a0;
  --display: "Oxanium", "Arial Narrow", "Aptos Narrow", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --shell: min(1180px, calc(100vw - 48px));
  --line: 1px solid currentColor;
  --nav-height: 66px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--ink);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: 100;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 3px,
    rgba(0, 0, 0, 0.035) 3px,
    rgba(0, 0, 0, 0.035) 4px
  );
  mix-blend-mode: multiply;
}

::selection {
  background: var(--cyan);
  color: white;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 4px;
  box-shadow: 0 0 0 6px var(--ink);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  transform: translateY(-160%);
  background: white;
  color: black;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.scroll-progress {
  position: fixed;
  z-index: 80;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: var(--signal);
  will-change: transform;
}

.hero {
  position: relative;
  min-height: max(720px, 100svh);
  overflow: hidden;
  isolation: isolate;
  background: #111;
  color: white;
}

.hero__media,
.hero__media img,
.hero__shade,
.hero__grid,
.hero__scan {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__media {
  z-index: -5;
}

.hero__media img {
  object-fit: cover;
  object-position: 55% center;
  filter: saturate(0.72) contrast(1.08);
}

.hero__shade {
  z-index: -4;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.64) 42%, rgba(0, 0, 0, 0.08) 72%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, transparent 52%, rgba(0, 0, 0, 0.38) 100%);
}

.hero__grid {
  z-index: -3;
  opacity: 0.11;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.35) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent, black 50%, black);
}

.hero__scan {
  z-index: -2;
  height: 24%;
  top: -24%;
  background: linear-gradient(to bottom, transparent, rgba(0, 151, 204, 0.08), transparent);
  animation: scan-pass 5.4s 1.1s cubic-bezier(0.33, 1, 0.68, 1) 1;
}

.hero__side-rail {
  position: absolute;
  z-index: 4;
  inset: 0 auto 0 0;
  width: clamp(22px, 4.8vw, 72px);
  background: var(--signal);
  color: var(--ink);
  display: grid;
  place-items: center;
}

.hero__side-rail::after {
  position: absolute;
  right: -26px;
  bottom: 0;
  width: 26px;
  height: 31%;
  content: "";
  background: repeating-linear-gradient(135deg, var(--signal) 0 10px, transparent 10px 20px);
}

.hero__side-rail span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.hero__topline {
  position: absolute;
  z-index: 5;
  top: 0;
  right: 0;
  left: 0;
  min-height: 86px;
  padding: 22px max(24px, calc((100vw - min(1180px, calc(100vw - 48px))) / 2));
  padding-left: max(82px, calc((100vw - min(1180px, calc(100vw - 48px))) / 2));
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.hero__brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 14px;
  color: white;
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.wave-mark {
  width: 54px;
  height: 34px;
  overflow: visible;
  stroke: var(--signal);
  stroke-width: 1.7;
  fill: none;
}

.hero__coordinate {
  display: flex;
  gap: 24px;
  padding-top: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.15em;
}

.hero__content {
  position: relative;
  z-index: 3;
  width: var(--shell);
  min-height: max(720px, 100svh);
  margin: 0 auto;
  padding: 150px 0 110px 36px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
}

.hero__eyebrow,
.section-heading__code,
.site-footer__code {
  margin: 0 0 20px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--signal);
}

.hero__eyebrow::before {
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  transform: rotate(45deg);
  content: "";
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  line-height: 0.78;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.hero__title-brand {
  display: block;
  font-size: clamp(5rem, 11.3vw, 10.2rem);
  text-shadow: 0 16px 54px rgba(0, 0, 0, 0.38);
}

.hero__title-brand > span {
  display: block;
}

.hero__title-brand > span:first-child {
  color: var(--signal);
}

.hero__title-file {
  display: inline-block;
  margin-top: 30px;
  padding: 11px 14px 8px;
  background: var(--signal);
  color: var(--ink);
  font-size: clamp(1.05rem, 2vw, 1.75rem);
  line-height: 1;
  letter-spacing: 0.18em;
  clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 13px 100%, 0 calc(100% - 13px));
}

.hero__entry {
  padding: 24px 0 0 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.52);
}

.hero__entry > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__entry > p + p {
  margin-top: 4px;
}

.enter-file {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 58px;
  margin-top: 28px;
  padding: 0 16px 0 20px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden;
  border: 1px solid var(--signal);
  color: white;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, transform 180ms ease;
}

.enter-file::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  transform: translateX(-102%);
  background: var(--signal);
  transition: transform 240ms cubic-bezier(0.33, 1, 0.68, 1);
}

.enter-file:hover,
.enter-file:focus-visible {
  color: var(--ink);
  transform: translateX(3px);
}

.enter-file:hover::before,
.enter-file:focus-visible::before {
  transform: translateX(0);
}

.enter-file svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
}

.hero__footer {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 22px;
  left: max(82px, calc((100vw - min(1180px, calc(100vw - 48px))) / 2));
  display: grid;
  grid-template-columns: auto minmax(120px, 1fr) auto;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.hero__barcode {
  height: 12px;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.5) 0 2px,
    transparent 2px 5px,
    rgba(255, 255, 255, 0.5) 5px 6px,
    transparent 6px 11px
  );
}

.hero__reveal {
  animation: boot-in 760ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero__entry.hero__reveal {
  animation-delay: 180ms;
}

.brief-nav {
  position: sticky;
  z-index: 40;
  top: 0;
  height: var(--nav-height);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  background: var(--ink);
  color: white;
  scrollbar-width: none;
  border-bottom: 1px solid #333;
}

.brief-nav::-webkit-scrollbar {
  display: none;
}

.brief-nav__inner {
  width: var(--shell);
  min-width: max-content;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
}

.brief-nav a {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  padding: 0 clamp(14px, 2vw, 28px);
  align-items: center;
  gap: 9px;
  color: #aaa;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease, background 160ms ease;
}

.brief-nav a:first-child {
  padding-left: 0;
}

.brief-nav a span {
  color: var(--cyan-bright);
}

.brief-nav a::after {
  position: absolute;
  right: 20px;
  bottom: 0;
  left: 20px;
  height: 3px;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  background: var(--signal);
  transition: transform 180ms ease;
}

.brief-nav a:hover,
.brief-nav a:focus-visible,
.brief-nav a[aria-current="location"] {
  color: white;
}

.brief-nav a[aria-current="location"]::after {
  transform: scaleX(1);
}

.section {
  position: relative;
  min-height: 72vh;
  padding: clamp(88px, 11vw, 156px) 0;
  overflow: hidden;
}

.section--paper {
  background: var(--paper);
  color: var(--ink);
}

.section--signal {
  background: var(--signal);
  color: var(--ink);
}

.section--ink {
  background: var(--ink);
  color: white;
}

.section__shell {
  position: relative;
  z-index: 2;
  width: var(--shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
}

.section__index {
  padding-top: 4px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--display);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section__index span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  background: var(--ink);
  color: white;
  line-height: 1;
}

.section--ink .section__index span {
  background: var(--signal);
  color: var(--ink);
}

.section__index p {
  margin: 0;
}

.section__body {
  min-width: 0;
}

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

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

.section-heading {
  position: relative;
  margin-bottom: clamp(46px, 7vw, 90px);
  padding-top: 22px;
  border-top: 2px solid currentColor;
}

.section-heading::before,
.section-heading::after {
  position: absolute;
  top: -2px;
  content: "";
}

.section-heading::before {
  left: 0;
  width: 22px;
  height: 22px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
}

.section-heading::after {
  right: 0;
  width: min(30%, 260px);
  height: 10px;
  background: currentColor;
}

.section-heading__code {
  margin-bottom: 14px;
  color: var(--cyan);
}

.section--ink .section-heading__code {
  color: var(--cyan-bright);
}

.section-heading h2 {
  max-width: 970px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.5rem, 8vw, 7.8rem);
  font-weight: 600;
  line-height: 0.87;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.prose {
  max-width: 72ch;
  margin: 0;
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.8;
}

.prose--lead {
  max-width: 68ch;
  font-size: clamp(1.04rem, 1.55vw, 1.27rem);
  line-height: 1.78;
}

.prose--inverse {
  color: rgba(255, 255, 255, 0.83);
}

.world-state::after {
  position: absolute;
  right: -0.03em;
  bottom: -0.23em;
  content: "2088";
  color: rgba(0, 0, 0, 0.035);
  font-family: var(--display);
  font-size: min(31vw, 30rem);
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.world-state__grid {
  display: grid;
  grid-template-columns: minmax(190px, 260px) minmax(0, 1fr);
  gap: clamp(38px, 7vw, 100px);
  align-items: start;
}

.world-state__stat {
  padding: 20px 0;
  border-top: 7px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.world-state__stat-value {
  display: block;
  font-family: var(--display);
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.08em;
}

.world-state__stat-label {
  display: block;
  margin: 4px 0 26px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.node-track {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.node-track::before {
  position: absolute;
  right: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
}

.node-track i {
  position: relative;
  width: 10px;
  height: 10px;
  transform: rotate(45deg);
  border: 1px solid currentColor;
  background: var(--paper);
}

.node-track i:first-child,
.node-track i:last-child {
  background: var(--ink);
}

.activated-agent::before {
  position: absolute;
  inset: 0;
  opacity: 0.055;
  content: "";
  background-image: repeating-linear-gradient(135deg, black 0 1px, transparent 1px 13px);
  pointer-events: none;
}

.activated-agent__ghost {
  position: absolute;
  z-index: 0;
  right: -0.05em;
  bottom: -0.26em;
  color: rgba(255, 255, 255, 0.28);
  font-family: var(--display);
  font-size: min(34vw, 34rem);
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.activated-agent__intro {
  position: relative;
  max-width: 78ch;
  margin-bottom: 62px;
  padding-left: 26px;
  border-left: 7px solid var(--ink);
}

.origin-list {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 2px solid var(--ink);
}

.origin-list li {
  position: relative;
  min-height: 84px;
  padding: 22px 20px 22px 0;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  border-top: 2px solid var(--ink);
  font-size: clamp(0.98rem, 1.2vw, 1.1rem);
  line-height: 1.6;
}

.origin-list li::after {
  position: absolute;
  top: -7px;
  right: 0;
  width: 14px;
  height: 14px;
  transform: rotate(45deg);
  border: 2px solid var(--ink);
  background: var(--signal);
  content: "";
}

.origin-list__number {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
}

.origin-list__number::after {
  width: 20px;
  height: 2px;
  background: currentColor;
  content: "";
}

.incident-file::before {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  content: "";
  background-image:
    linear-gradient(rgba(0, 151, 204, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 151, 204, 0.2) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(to bottom, transparent, black 45%, black);
  pointer-events: none;
}

.glitch-title {
  position: relative;
  display: inline-block;
  color: var(--signal);
  text-shadow: 4px -1px 0 rgba(24, 196, 245, 0.76), -4px 2px 0 rgba(255, 255, 255, 0.72);
}

.incident-file__name {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.incident-file__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(50px, 8vw, 120px);
  align-items: start;
}

.forest-telemetry {
  position: relative;
  min-height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.025);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}

.forest-telemetry svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  stroke: var(--signal);
  stroke-width: 1.5;
  fill: none;
}

.forest-telemetry__grid {
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 1;
}

.forest-telemetry__trees {
  stroke: rgba(255, 255, 255, 0.7);
}

.forest-telemetry__route {
  stroke: var(--cyan-bright);
  stroke-width: 3;
  stroke-dasharray: 7 7;
}

.forest-telemetry__crosshair {
  stroke: var(--signal);
  stroke-width: 1;
}

.forest-telemetry__readout {
  position: absolute;
  right: 16px;
  bottom: 14px;
  left: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.mission-directive {
  background-image: linear-gradient(90deg, transparent 0 97%, rgba(0, 0, 0, 0.035) 97%);
  background-size: 44px 100%;
}

.mission-directive__copy {
  margin: 0;
}

.mission-directive__copy > span {
  display: block;
}

.mission-directive__setup {
  max-width: 75ch;
  margin-bottom: clamp(58px, 8vw, 110px);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.8;
}

.mission-directive__command {
  position: relative;
  max-width: 1010px;
  padding: 20px 0;
  font-family: var(--display);
  font-size: clamp(2.4rem, 6.5vw, 6.3rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.mission-directive__command::before {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0.12em;
  left: 0;
  height: 0.28em;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--signal);
  content: "";
  transition: transform 800ms 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible .mission-directive__command::before,
.no-js .mission-directive__command::before {
  transform: scaleX(1);
}

.mission-directive__command--second {
  margin-top: 18px;
  padding-left: clamp(24px, 8vw, 120px);
}

.mission-directive__final {
  width: fit-content;
  margin-top: 58px;
  padding: 14px 30px 11px;
  background: var(--ink);
  color: var(--signal);
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 4.4rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.runner-setup::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 34px;
  content: "";
  background: repeating-linear-gradient(135deg, var(--ink) 0 15px, transparent 15px 30px);
}

.runner-setup__intro {
  max-width: 68ch;
  margin: 0 0 44px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.7);
  font-size: clamp(0.98rem, 1.25vw, 1.08rem);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

.setup-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 3px solid var(--ink);
}

.setup-block {
  min-height: 150px;
  padding: clamp(26px, 4vw, 48px) 0;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
  border-top: 3px solid var(--ink);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.7;
}

.setup-block p {
  max-width: 74ch;
  margin: 0;
}

.setup-block__number {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  background: var(--ink);
  color: white;
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.goal-grid {
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 38px;
  list-style: none;
}

.goal-grid li {
  position: relative;
  min-height: 44px;
  padding: 8px 8px 8px 38px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.42);
  font-family: var(--display);
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.goal-grid li::before {
  position: absolute;
  left: 7px;
  width: 14px;
  height: 14px;
  transform: rotate(45deg);
  border: 2px solid var(--ink);
  background: transparent;
  content: "";
}

.approach-word {
  display: inline-block;
  margin: 5px 1px;
  padding: 2px 7px 1px;
  background: var(--ink);
  color: white;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.setup-block--augmentation {
  position: relative;
  min-height: 190px;
}

.setup-block--augmentation::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(36%, 320px);
  height: 24px;
  content: "";
  background: repeating-linear-gradient(135deg, var(--ink) 0 12px, transparent 12px 24px);
}

.site-footer {
  position: relative;
  padding: 0 0 40px;
  background: var(--ink);
  color: white;
}

.site-footer__hazard {
  width: 100%;
  height: 28px;
  margin-bottom: 50px;
  background: repeating-linear-gradient(135deg, var(--signal) 0 14px, transparent 14px 28px);
}

.site-footer__inner {
  width: var(--shell);
  margin: 0 auto;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.site-footer__code {
  margin-bottom: 6px;
  color: var(--cyan-bright);
}

.site-footer__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.site-footer a {
  display: inline-flex;
  min-height: 44px;
  padding: 8px 0;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--signal);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-footer a span {
  color: var(--signal);
  font-size: 1rem;
}

@keyframes boot-in {
  from {
    opacity: 0;
    transform: translateY(34px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scan-pass {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(520%);
  }
}

@media (max-width: 980px) {
  :root {
    --shell: min(100% - 40px, 860px);
  }

  .hero__coordinate span:last-child {
    display: none;
  }

  .hero__content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    gap: 40px;
    padding-left: 40px;
  }

  .hero__entry {
    width: min(100%, 340px);
    margin-left: auto;
  }

  .hero__title-brand {
    font-size: clamp(4.8rem, 13vw, 8.2rem);
  }

  .section__shell {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 30px;
  }

  .world-state__grid,
  .incident-file__layout {
    grid-template-columns: 1fr;
  }

  .world-state__stat {
    max-width: 430px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 24px;
    align-items: end;
  }

  .world-state__stat-label {
    margin: 0 0 12px;
  }

  .node-track {
    grid-column: 1 / -1;
  }

  .forest-telemetry {
    max-width: 660px;
  }
}

@media (max-width: 720px) {
  :root {
    --shell: calc(100vw - 32px);
    --nav-height: 60px;
  }

  body {
    font-size: 15px;
  }

  body::before {
    display: none;
  }

  .hero {
    min-height: max(720px, 100svh);
  }

  .hero__media img {
    object-position: 62% center;
  }

  .hero__shade {
    background:
      linear-gradient(0deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.68) 56%, rgba(0, 0, 0, 0.34) 100%),
      rgba(0, 0, 0, 0.18);
  }

  .hero__side-rail {
    width: 18px;
  }

  .hero__side-rail span {
    display: none;
  }

  .hero__side-rail::after {
    right: -13px;
    width: 13px;
  }

  .hero__topline {
    min-height: 72px;
    padding: 15px 16px 12px 45px;
  }

  .hero__brand {
    font-size: 0.58rem;
    letter-spacing: 0.09em;
  }

  .wave-mark {
    width: 40px;
  }

  .hero__coordinate {
    padding-top: 10px;
  }

  .hero__coordinate span:not(:first-child) {
    display: none;
  }

  .hero__content {
    width: calc(100vw - 64px);
    min-height: max(720px, 100svh);
    margin-left: 44px;
    padding: 122px 0 84px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    gap: 44px;
  }

  .hero__title-brand {
    font-size: clamp(3.3rem, 15vw, 7rem);
  }

  .hero__title-file {
    margin-top: 23px;
  }

  .hero__entry {
    max-width: 340px;
    margin-left: 0;
    padding-top: 0;
  }

  .enter-file {
    width: min(100%, 320px);
  }

  .hero__footer {
    bottom: 13px;
    left: 44px;
    grid-template-columns: auto 1fr;
  }

  .hero__footer span:last-child {
    display: none;
  }

  .brief-nav__inner {
    width: max-content;
    margin: 0;
    padding: 0 8px;
  }

  .brief-nav a,
  .brief-nav a:first-child {
    padding: 0 15px;
  }

  .section {
    min-height: 0;
    padding: 78px 0;
  }

  .section__shell {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .section__index {
    padding: 0;
    align-items: center;
    writing-mode: horizontal-tb;
    transform: none;
  }

  .section__index span {
    width: 36px;
    height: 36px;
  }

  .section-heading {
    margin-bottom: 46px;
  }

  .section-heading::after {
    width: 20%;
  }

  .section-heading h2 {
    font-size: clamp(3.05rem, 16vw, 5.6rem);
  }

  .world-state__grid {
    gap: 46px;
  }

  .activated-agent__intro {
    margin-bottom: 45px;
    padding-left: 18px;
  }

  .origin-list li {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 10px;
    padding-right: 10px;
  }

  .origin-list__number::after {
    display: none;
  }

  .incident-file__layout {
    gap: 54px;
  }

  .forest-telemetry {
    min-height: 0;
  }

  .forest-telemetry__readout {
    position: static;
    padding: 12px 16px 16px;
  }

  .mission-directive__setup {
    margin-bottom: 60px;
  }

  .mission-directive__command {
    font-size: clamp(2.2rem, 11vw, 4.4rem);
  }

  .mission-directive__command--second {
    padding-left: 20px;
  }

  .setup-block {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 18px;
  }

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

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  :root {
    --shell: calc(100vw - 28px);
  }

  .hero__brand span {
    max-width: 110px;
    line-height: 1.2;
  }

  .hero__title-brand {
    font-size: clamp(3.25rem, 15vw, 4.25rem);
  }

  .hero__entry {
    padding-left: 17px;
  }

  .prose,
  .prose--lead {
    font-size: 1rem;
    line-height: 1.75;
  }

  .section-heading h2 {
    font-size: clamp(2.8rem, 15vw, 4.2rem);
  }

  .incident-file__name {
    overflow-wrap: anywhere;
  }

  .setup-block {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .setup-block__number {
    width: 48px;
    height: 48px;
  }

  .goal-grid {
    margin-top: 24px;
  }
}

@media (max-height: 620px) and (min-width: 721px) {
  .hero,
  .hero__content {
    min-height: 680px;
  }

  .hero__content {
    padding-top: 120px;
  }

  .hero__title-brand {
    font-size: clamp(5rem, 10vw, 7rem);
  }
}

@media (max-height: 650px) and (max-width: 720px) {
  .hero,
  .hero__content {
    min-height: 100svh;
  }

  .hero__content {
    padding-top: 84px;
    padding-bottom: 38px;
    gap: 20px;
  }

  .hero__eyebrow {
    margin-bottom: 10px;
  }

  .hero__title-file {
    margin-top: 14px;
  }

  .hero__entry {
    padding-left: 14px;
  }

  .enter-file {
    min-height: 50px;
    margin-top: 14px;
  }

  .hero__footer {
    bottom: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (forced-colors: active) {
  .hero__shade,
  .hero__grid,
  .hero__scan,
  .hero__side-rail,
  .hero__footer,
  .activated-agent__ghost,
  .forest-telemetry,
  .site-footer__hazard {
    display: none;
  }

  .hero,
  .section,
  .brief-nav,
  .site-footer {
    forced-color-adjust: auto;
  }

  .hero__title-file,
  .section__index span,
  .setup-block__number,
  .mission-directive__final,
  .approach-word {
    border: 1px solid currentColor;
  }
}

@media print {
  @page {
    margin: 14mm;
  }

  html {
    scroll-padding-top: 0;
  }

  body,
  .hero,
  .section,
  .site-footer {
    background: white !important;
    color: black !important;
  }

  body::before,
  .scroll-progress,
  .hero__media,
  .hero__shade,
  .hero__grid,
  .hero__scan,
  .hero__side-rail,
  .hero__entry,
  .hero__footer,
  .brief-nav,
  .section__index,
  .activated-agent__ghost,
  .forest-telemetry,
  .site-footer__hazard,
  .site-footer a {
    display: none !important;
  }

  .hero,
  .hero__content {
    min-height: 0;
  }

  .hero__topline {
    position: static;
    min-height: 0;
    padding: 0 0 12mm;
    border-color: black;
  }

  .hero__brand {
    color: black;
  }

  .wave-mark {
    stroke: black;
  }

  .hero__content {
    width: 100%;
    padding: 0 0 14mm;
    display: block;
  }

  .hero__eyebrow,
  .hero__title-brand > span:first-child,
  .section-heading__code,
  .site-footer__code {
    color: black;
  }

  .hero__title-brand {
    font-size: 56pt;
    text-shadow: none;
  }

  .hero__title-file {
    padding-left: 0;
    background: none;
    color: black;
    clip-path: none;
  }

  .section {
    min-height: 0;
    padding: 12mm 0;
    break-inside: auto;
    border-top: 1px solid black;
  }

  .section__shell {
    width: 100%;
    display: block;
  }

  .section-heading {
    margin-bottom: 8mm;
  }

  .section-heading h2 {
    font-size: 34pt;
  }

  .prose,
  .prose--lead,
  .prose--inverse {
    color: black;
    font-size: 10pt;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .mission-directive__command {
    font-size: 26pt;
  }

  .mission-directive__final,
  .approach-word,
  .setup-block__number {
    background: black;
    color: white;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .site-footer {
    padding-top: 10mm;
    border-top: 1px solid black;
  }
}
