@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url("/assets/oswald-latin.woff2") format("woff2");
}

:root {
  --brand: #00592b;
  --brand-strong: #003f1e;
  --brand-secondary: #ffffff;
  --brand-tertiary: #0023d1;
  --brand-quaternary: #e374c7;
  --body: #f2ede2;
  --body-subtle: #d6ccb0;
  --black: #000000;
  --background: var(--brand);
  --surface: var(--brand-secondary);
  --border: var(--black);
  --brand-tertiary-surface: var(--brand-tertiary);
  --radar-accent: var(--brand-quaternary);
  --on-quaternary: var(--black);
  --max: 1280px;
  --read: 720px;
  --radius: 20px;
  --shadow-xs: 4px 4px 0 0 var(--black);
  --shadow-sm: 6px 6px 0 0 var(--black);
  --shadow-md: 8px 8px 0 0 var(--black);
  --shadow-lg: 10px 10px 0 0 var(--black);
  --spring-snappy: linear(
    0, 0.009, 0.035 2.1%, 0.141 4.4%, 0.723 12.9%,
    0.938 16.7%, 1.017 19.4%, 1.067 22.5%, 1.089 26%,
    1.079 30.3%, 1.049 36%, 1.024 42.6%, 1.011 50.3%,
    1.004 59.2%, 1.001 69.3%, 1
  );
  --ease-snap: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #9bddb6;
    --brand-strong: #b5e9ca;
    --brand-secondary: #f2ede2;
    --brand-tertiary: #a9b5ff;
    --brand-tertiary-surface: #233b9f;
    --brand-quaternary: #7f2f67;
    --radar-accent: #e6a0d6;
    --on-quaternary: #f2ede2;
    --body: #f2ede2;
    --body-subtle: #d6ccb0;
    --black: #000000;
    --background: #052a19;
    --surface: #0e3a27;
    --border: #92c7a8;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--body);
  font: 400 18px/1.5 "Oswald", sans-serif;
}

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

a {
  color: var(--brand-secondary);
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration: none;
}

a:focus-visible {
  outline: 4px solid var(--brand-tertiary);
  outline-offset: 4px;
  box-shadow: 0 0 0 4px var(--brand-secondary);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--brand-secondary);
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(44px, 8vw, 96px);
}

h2 {
  font-size: clamp(36px, 5.4vw, 64px);
  line-height: 1;
}

h3 {
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.1;
}

p {
  margin: 0 0 24px;
}

.skip-link {
  position: absolute;
  z-index: 20;
  top: 8px;
  left: 8px;
  padding: 12px 18px;
  border: 4px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--brand);
  box-shadow: var(--shadow-xs);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  display: grid;
  grid-template-columns: 210px 1fr auto;
  align-items: center;
  gap: 32px;
  width: min(calc(100% - 64px), var(--max));
  margin: auto;
  padding: 24px 0;
  border-bottom: 4px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--brand-secondary);
  text-decoration: none;
  text-transform: uppercase;
}

.brand img {
  width: 40px;
  height: 40px;
  padding: 4px;
  border: 4px solid var(--black);
  border-radius: 8px;
  background: var(--brand-secondary);
  object-fit: contain;
  box-shadow: var(--shadow-xs);
}

.brand strong {
  font-size: 18px;
  letter-spacing: 0.02em;
}

.brand strong i {
  color: var(--brand-secondary);
  font-style: normal;
}

.site-header nav {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.site-header nav a,
.site-footer a {
  color: var(--brand-secondary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status,
.eyebrow,
.stream > header > p,
.manifesto > p,
.breadcrumb,
.signal > span,
.signal > div > p:first-of-type,
.guide-link span,
.checklist li::before {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status i {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  border: 2px solid var(--border);
  border-radius: 9999px;
  background: var(--brand-quaternary);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.5fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
  min-height: calc(100dvh - 92px);
  width: min(calc(100% - 64px), var(--max));
  margin: auto;
  padding: clamp(88px, 11vh, 128px) 0;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: clamp(72px, 11vh, 112px);
  left: -18px;
  width: min(43vw, 560px);
  height: clamp(72px, 8vw, 104px);
  border: 4px solid var(--border);
  background: var(--brand-quaternary);
  box-shadow: var(--shadow-md);
  transform: skewX(-15deg);
  animation: hero-plank-in 520ms var(--spring-snappy) both;
}

.eyebrow {
  color: var(--body-subtle);
}

.hero .eyebrow {
  color: var(--on-quaternary);
}

.hero h1 {
  position: relative;
  z-index: 1;
  max-width: 13ch;
  margin: clamp(28px, 4vh, 48px) 0 32px;
  font-size: clamp(68px, 9.25vw, 132px);
  line-height: 0.82;
  letter-spacing: -0.055em;
  text-wrap: balance;
  animation: hero-enter 620ms var(--spring-snappy) 90ms both;
}

.hero h1 em {
  color: var(--body);
  font-style: normal;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 47ch;
  font-size: clamp(18px, 1.55vw, 21px);
  line-height: 1.48;
  animation: hero-enter 560ms var(--spring-snappy) 210ms both;
}

.hero .eyebrow {
  position: relative;
  z-index: 1;
  margin: 0;
  animation: hero-enter 520ms var(--spring-snappy) 20ms both;
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  margin: 20px 16px 16px;
  margin-left: 0;
  padding: 11px 33px;
  border: 0;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--brand);
  box-shadow: var(--shadow-sm);
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transform: skewX(-15deg);
  transition:
    box-shadow 420ms var(--ease-snap),
    transform 420ms var(--ease-snap);
}

.button > span {
  transform: skewX(15deg);
}

.hero .button {
  animation: hero-enter 520ms var(--spring-snappy) 320ms both;
}

.button:hover {
  background: var(--surface);
  color: var(--brand);
  box-shadow: var(--shadow-lg);
  transform: translate(-2px, -2px) skewX(-15deg);
}

.button:active {
  box-shadow: var(--shadow-xs);
  transform: translate(1px, 1px) skewX(-15deg) scale(0.98);
}

.radar {
  position: relative;
  justify-self: end;
  width: min(100%, 420px);
  aspect-ratio: 1;
  border: 4px solid var(--border);
  border-radius: 9999px;
  background:
    repeating-radial-gradient(circle, transparent 0 16%, var(--radar-accent) 16.5% 17%),
    linear-gradient(90deg, transparent 49.5%, var(--border) 49.5% 50.5%, transparent 50.5%),
    linear-gradient(transparent 49.5%, var(--border) 49.5% 50.5%, transparent 50.5%),
    var(--brand-tertiary-surface);
  box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
  animation: radar-enter 680ms var(--spring-snappy) 130ms both;
  transition:
    transform 520ms var(--spring-snappy),
    box-shadow 420ms var(--ease-snap);
}

.radar:hover {
  box-shadow: 14px 14px 0 0 var(--black);
  transform: rotate(0deg) translateY(-3px);
}

.radar::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 9999px;
  background: conic-gradient(from 20deg, transparent 0 70%, var(--radar-accent));
  clip-path: polygon(50% 50%, 100% 0, 100% 100%);
}

.radar b {
  position: absolute;
  top: 31%;
  left: 58%;
  width: 20px;
  height: 20px;
  border: 4px solid var(--border);
  border-radius: 9999px;
  background: var(--radar-accent);
  box-shadow: var(--shadow-xs);
}

.radar span {
  position: absolute;
  padding: 4px 12px;
  border: 2px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.radar span:nth-child(1) {
  top: 10%;
  left: 42%;
}

.radar span:nth-child(2) {
  top: 48%;
  right: -4%;
}

.radar span:nth-child(3) {
  bottom: 8%;
  left: 42%;
}

.radar span:nth-child(4) {
  top: 48%;
  left: -4%;
}

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-plank-in {
  from {
    opacity: 0;
    transform: translateX(-32px) skewX(-15deg);
  }
  to {
    opacity: 1;
    transform: translateX(0) skewX(-15deg);
  }
}

@keyframes radar-enter {
  from {
    opacity: 0;
    transform: translateX(30px) scale(0.94) rotate(-4deg);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1) rotate(-2deg);
  }
}

.stream,
.checklist {
  width: min(calc(100% - 64px), var(--max));
  margin: auto;
  padding: 128px 0;
}

.stream > header {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  margin-bottom: 64px;
}

.stream > header > p {
  color: var(--body-subtle);
}

.signal {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  margin: 0 10px 32px 0;
  padding: 32px;
  border: 4px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--brand);
  box-shadow: var(--shadow-md);
}

.signal > span {
  color: var(--brand-tertiary);
}

.signal > div {
  display: grid;
  grid-template-columns: 160px minmax(160px, 0.45fr) minmax(240px, 1.25fr) minmax(200px, 0.8fr);
  align-items: center;
  gap: 24px;
}

.signal img {
  width: 160px;
  aspect-ratio: 16 / 10;
  border: 4px solid var(--border);
  border-radius: var(--radius);
  object-fit: cover;
  filter: saturate(0.75) contrast(1.08);
}

.signal > div > p:first-of-type {
  color: var(--brand);
}

.signal h3 {
  font-size: clamp(24px, 2.6vw, 36px);
}

.signal h3 a {
  color: var(--brand);
}

.signal > div > p:last-child {
  margin: 0;
}

.manifesto {
  display: grid;
  grid-template-columns: 0.5fr 1.2fr 0.8fr;
  gap: 64px;
  width: min(calc(100% - 64px), var(--max));
  margin: auto;
  padding: 128px 0;
  border-top: 4px solid var(--border);
  border-bottom: 4px solid var(--border);
  background: var(--background);
  color: var(--body);
}

.manifesto > p {
  color: var(--body-subtle);
}

.manifesto a {
  color: var(--brand-secondary);
  font-weight: 700;
}

.route-hero {
  width: min(calc(100% - 64px), var(--max));
  margin: auto;
  padding: 128px 0;
  border-bottom: 4px solid var(--border);
}

.route-hero h1 {
  max-width: 11ch;
  margin: 24px 0 32px;
}

.route-hero > p:last-of-type {
  max-width: 64ch;
  font-size: 22px;
}

.breadcrumb {
  display: flex;
  gap: 16px;
  width: min(calc(100% - 64px), var(--max));
  margin: 32px auto;
}

.article {
  width: min(calc(100% - 64px), var(--max));
  margin: 96px auto 128px;
}

.article > header {
  display: grid;
  grid-template-columns: 0.3fr 1.7fr;
  gap: 64px;
}

.article > header .eyebrow {
  padding-top: 16px;
}

.article h1 {
  max-width: 12ch;
}

.article .lede {
  grid-column: 2;
  max-width: 62ch;
  font-size: 22px;
}

.article-image {
  width: min(100%, 1050px);
  margin: 64px 10px 72px auto;
}

.article-image img {
  width: 100%;
  max-height: 650px;
  border: 4px solid var(--border);
  border-radius: var(--radius);
  object-fit: cover;
  filter: saturate(0.8) contrast(1.05);
  box-shadow: var(--shadow-lg);
}

.reading {
  max-width: var(--read);
  margin-left: auto;
  color: var(--body);
  font-size: 18px;
}

.reading h2,
.reading h3 {
  margin: 64px 0 24px;
}

.reading p,
.reading ul,
.reading ol {
  margin: 0 0 24px;
}

.reading ul,
.reading ol {
  padding-left: 32px;
}

.reading li {
  margin-bottom: 16px;
}

.reading img {
  margin: 40px 0;
  border: 4px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.reading blockquote {
  margin: 40px 0;
  padding: 24px 32px;
  border: 4px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--brand);
  box-shadow: var(--shadow-md);
}

.embed-poster,
.guide-link,
.notice,
.disclosure {
  margin: 64px 10px 10px 0;
  padding: 32px;
  border: 4px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--brand);
  box-shadow: var(--shadow-md);
}

.embed-poster figcaption {
  margin-top: 16px;
  font-size: 14px;
}

.guide-link span {
  display: block;
  color: var(--brand);
}

.guide-link a {
  display: block;
  margin-top: 16px;
  color: var(--brand-tertiary);
  font-size: 24px;
  font-weight: 700;
}

.disclosure {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  max-width: 800px;
}

.checklist ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.checklist li {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 64px 0.8fr 1.2fr;
  gap: 32px;
  margin: 0 10px 32px 0;
  padding: 32px;
  border: 4px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--brand);
  box-shadow: var(--shadow-md);
}

.checklist li::before {
  content: "0" counter(steps);
  color: var(--brand-tertiary);
}

.checklist strong {
  color: var(--brand);
  font-size: 24px;
  text-transform: uppercase;
}

.sources {
  width: min(calc(100% - 64px), var(--max));
  margin: auto;
  padding: 0 0 128px;
}

.sources h2 {
  margin-bottom: 64px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 32px;
  width: min(calc(100% - 64px), var(--max));
  margin: auto;
  padding: 64px 0;
  border-top: 4px solid var(--border);
}

.site-footer > div {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--brand-secondary);
}

.site-footer img {
  width: 48px;
  padding: 4px;
  border: 4px solid var(--black);
  border-radius: 8px;
  background: var(--brand-secondary);
}

.site-footer p {
  margin: 0;
  text-align: center;
}

.site-footer nav {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .status {
    grid-column: 2;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 96px 0;
  }

  .radar {
    width: min(100%, 500px);
    justify-self: center;
    margin: auto;
  }

  .stream,
  .checklist {
    padding: 96px 0;
  }

  .stream > header,
  .article > header,
  .manifesto {
    grid-template-columns: 1fr;
  }

  .signal > div {
    grid-template-columns: 120px 1fr;
  }

  .signal img {
    width: 120px;
  }

  .signal > div > p:last-child {
    grid-column: 2;
  }

  .article .lede {
    grid-column: auto;
  }

  .article-image {
    margin-left: 0;
  }

  .checklist li {
    grid-template-columns: 48px 1fr;
  }

  .checklist li span {
    grid-column: 2;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer p {
    text-align: left;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .site-header,
  .hero,
  .stream,
  .route-hero,
  .breadcrumb,
  .article,
  .checklist,
  .sources,
  .manifesto,
  .site-footer {
    width: min(calc(100% - 32px), var(--max));
  }

  .site-header {
    gap: 24px;
  }

  .brand strong {
    font-size: 16px;
  }

  .status {
    display: none;
  }

  .hero {
    gap: 48px;
    padding: 64px 0;
  }

  .hero::before {
    top: 40px;
    left: -8px;
    width: 84%;
    height: 72px;
  }

  .hero h1 {
    max-width: 7ch;
    margin-top: 32px;
    font-size: clamp(58px, 20vw, 86px);
  }

  .hero-copy > p:not(.eyebrow),
  .route-hero > p:last-of-type,
  .article .lede {
    font-size: 20px;
  }

  .button {
    padding: 11px 24px;
    font-size: 20px;
  }

  .radar {
    width: 88%;
  }

  .stream,
  .checklist {
    padding: 64px 0;
  }

  .stream > header {
    gap: 24px;
    margin-bottom: 48px;
  }

  .signal {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .signal > div {
    grid-template-columns: 1fr;
  }

  .signal img {
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .signal > div > p:last-child {
    grid-column: auto;
  }

  .manifesto,
  .route-hero {
    padding: 64px 0;
  }

  .article {
    margin-top: 64px;
  }

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

  .checklist li {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .checklist li span {
    grid-column: auto;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }

  .radar {
    transform: none;
  }
}
