/* Variables/base */
:root {
  --ink: #050606;
  --night: #081011;
  --deep: #0d2024;
  --basalt: #122d31;
  --cream: #f2dfbf;
  --cream-dim: #d8bf92;
  --teal: #1595a3;
  --teal-bright: #54c5cb;
  --yellow: #efb307;
  --red: #d7331f;
  --magenta: #8f244c;
  --white: #fff6df;
  --rule: 2px solid var(--cream);
  --ink-rule: 3px solid var(--ink);
  --shadow: 9px 9px 0 rgba(0, 0, 0, 0.62);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  background: #000;
  color: var(--cream);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background: #000;
  overflow-x: hidden;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 4px solid var(--yellow);
  outline-offset: 4px;
}

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

.interactive-panel {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
  transform-origin: center;
}

.interactive-panel:hover,
.interactive-panel:focus-visible {
  z-index: 10;
  transform: translateY(-8px) scale(1.025);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.58), 0 0 0 2px rgba(242, 223, 191, 0.22);
  filter: contrast(1.06) saturate(1.05);
}

.interactive-panel:focus-visible {
  outline: 4px solid var(--yellow);
  outline-offset: 6px;
}

::selection {
  background: var(--yellow);
  color: var(--ink);
}

/* Layout/header/footer */
.site-header,
.site-footer,
main {
  position: relative;
  z-index: 1;
  width: min(1700px, calc(100% - 28px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0 14px;
}

.site-mark {
  display: inline-flex;
  align-items: stretch;
  color: var(--cream);
  text-decoration: none;
}

.site-mark__stamp,
.site-mark__name {
  display: grid;
  place-items: center;
  min-height: 50px;
}

.site-mark__stamp {
  width: 50px;
  margin-right: 10px;
  border: 2px solid var(--teal-bright);
  border-radius: 50%;
  color: var(--yellow);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
}

.site-mark__name {
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(2.2rem, 4vw, 4.1rem);
  line-height: 0.85;
  text-transform: uppercase;
  text-shadow: 2px 2px 0 rgba(215, 51, 31, 0.85);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
  color: var(--cream);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.site-nav .site-nav__cta {
  padding: 10px 16px;
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.72);
  transform: skew(-4deg);
}

.site-nav .site-nav__cta::after {
  content: "->";
  position: static;
  display: inline;
  margin-left: 10px;
  background: transparent;
  transform: none;
  transition: none;
}

.site-nav .site-nav__cta:hover {
  transform: translate(2px, 2px) skew(-4deg);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.72);
}

/* Generic typography */
h1,
h2,
h3 {
  margin: 0;
  line-height: 0.96;
}

h1,
h2 {
  font-family: "Archivo Black", Impact, sans-serif;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  font-size: clamp(3.6rem, 9.4vw, 8.9rem);
}

h2 {
  font-size: clamp(2.1rem, 4.4vw, 4.8rem);
}

p {
  font-size: 1.05rem;
}

.eyebrow,
.card__label {
  margin: 0 0 12px;
  color: var(--yellow);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Hero/homepage */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(420px, 1.18fr);
  grid-template-rows: 1fr auto;
  gap: 20px 28px;
  min-height: calc(100vh - 88px);
  padding: 34px 0 0;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  padding: 34px;
  background:
    radial-gradient(circle at 72% 20%, rgba(242, 223, 191, 0.12), transparent 30%),
    radial-gradient(circle at 52% 70%, rgba(215, 51, 31, 0.2), transparent 28%),
    linear-gradient(180deg, rgba(8, 16, 17, 0.18), rgba(0, 0, 0, 0.78));
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.36;
  pointer-events: none;
  background:
    radial-gradient(circle at 86% 18%, var(--yellow) 0 1px, transparent 2px),
    radial-gradient(circle at 62% 12%, var(--cream) 0 1px, transparent 2px),
    radial-gradient(circle at 73% 43%, var(--teal-bright) 0 1px, transparent 2px),
    radial-gradient(circle at 91% 33%, var(--red) 0 1px, transparent 2px);
  background-size: 95px 95px, 130px 130px, 150px 150px, 180px 180px;
}

.hero__content {
  position: relative;
  z-index: 3;
  align-self: center;
  padding: 30px 0 38px;
}

.hero h1 span {
  display: block;
}

.hero h1 span:nth-child(1),
.hero h1 span:nth-child(2) {
  color: var(--cream);
}

.hero h1 span:nth-child(3) {
  color: var(--teal-bright);
}

.hero h1 span:nth-child(4) {
  color: var(--red);
}

.tagline {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--white);
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(1.04rem, 1.7vw, 1.32rem);
  font-weight: 500;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 2px solid currentColor;
  box-shadow: 5px 5px 0 var(--ink);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  transform: skew(-4deg);
}

.button::after {
  content: "->";
  margin-left: 12px;
}

.button--primary {
  background: var(--yellow);
  color: var(--ink);
}

.button--ghost {
  background: rgba(8, 16, 17, 0.68);
  color: var(--cream);
}

.button:hover {
  transform: translate(2px, 2px) skew(-4deg);
  box-shadow: 3px 3px 0 var(--ink);
}

.hero__ribbon {
  width: min(520px, 100%);
  margin-top: 34px;
  padding: 15px 22px;
  background: var(--red);
  color: var(--ink);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.48);
  clip-path: polygon(0 0, 96% 0, 100% 50%, 96% 100%, 0 100%);
  transform: rotate(-1.5deg);
}

.hero__ribbon strong,
.hero__ribbon span {
  display: block;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(1.2rem, 2.3vw, 2.1rem);
  line-height: 1.02;
  text-transform: uppercase;
}

.hero__ribbon span {
  color: var(--cream);
}

.hero__visual {
  position: relative;
  min-height: 630px;
  align-self: stretch;
  overflow: hidden;
}

.planet {
  position: absolute;
  top: 2%;
  right: 2%;
  width: min(620px, 86%);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 26%, rgba(242, 223, 191, 0.94) 0 6%, transparent 7%),
    radial-gradient(circle at 55% 38%, rgba(242, 223, 191, 0.9) 0 5%, transparent 6%),
    radial-gradient(circle at 38% 55%, rgba(242, 223, 191, 0.86) 0 7%, transparent 8%),
    radial-gradient(circle at 63% 62%, rgba(242, 223, 191, 0.7) 0 4%, transparent 5%),
    repeating-radial-gradient(circle at 44% 48%, rgba(242, 223, 191, 0.82) 0 2px, transparent 2px 7px),
    linear-gradient(140deg, var(--teal) 0%, #0b6d79 54%, #073f49 100%);
  box-shadow:
    inset 44px -38px 0 rgba(0, 0, 0, 0.28),
    0 0 0 4px rgba(242, 223, 191, 0.58),
    0 0 70px rgba(84, 197, 203, 0.2);
}

.planet::before,
.planet::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.planet::before {
  inset: 18%;
  border: 2px dashed rgba(242, 223, 191, 0.56);
  transform: rotate(-18deg);
}

.planet::after {
  left: 10%;
  top: 18%;
  width: 66%;
  height: 42%;
  border-top: 15px solid rgba(242, 223, 191, 0.78);
  border-bottom: 10px solid rgba(242, 223, 191, 0.46);
  transform: rotate(-16deg);
}

.moon {
  position: absolute;
  z-index: 2;
  border-radius: 50%;
}

.moon--yellow {
  top: 7%;
  right: 1%;
  width: 78px;
  aspect-ratio: 1;
  background:
    repeating-radial-gradient(circle at 35% 35%, rgba(5, 6, 6, 0.45) 0 1px, transparent 1px 4px),
    var(--yellow);
}

.moon--red {
  top: 27%;
  right: 8%;
  width: 30px;
  aspect-ratio: 1;
  background:
    repeating-radial-gradient(circle, rgba(5, 6, 6, 0.36) 0 1px, transparent 1px 4px),
    var(--red);
}

.ocean {
  position: absolute;
  right: -6%;
  bottom: 31%;
  z-index: 4;
  width: 103%;
  height: 190px;
  background:
    repeating-linear-gradient(174deg, rgba(242, 223, 191, 0.92) 0 3px, transparent 3px 16px),
    linear-gradient(180deg, rgba(21, 149, 163, 0.82), rgba(4, 20, 23, 0.96));
  clip-path: polygon(0 52%, 16% 42%, 33% 50%, 51% 30%, 63% 42%, 79% 18%, 100% 38%, 100% 100%, 0 100%);
}

.ocean::after {
  content: "";
  position: absolute;
  inset: 34% 0 0;
  background:
    repeating-linear-gradient(0deg, transparent 0 8px, rgba(242, 223, 191, 0.23) 8px 10px),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.4));
}

.subsurface {
  position: absolute;
  right: -8%;
  bottom: 0;
  z-index: 3;
  width: 106%;
  height: 310px;
  background:
    radial-gradient(circle at 62% 18%, rgba(239, 179, 7, 0.88) 0 4px, transparent 5px),
    radial-gradient(circle at 50% 34%, rgba(239, 179, 7, 0.68) 0 3px, transparent 4px),
    radial-gradient(circle at 80% 66%, rgba(215, 51, 31, 0.68) 0 3px, transparent 4px),
    repeating-radial-gradient(circle at 48% 65%, rgba(215, 51, 31, 0.84) 0 2px, transparent 3px 10px),
    linear-gradient(160deg, #102b2d 0 34%, #071415 34% 53%, #8f1f16 53% 66%, #1b0c08 66% 100%);
  clip-path: polygon(0 12%, 19% 21%, 39% 8%, 58% 18%, 76% 3%, 100% 14%, 100% 100%, 0 100%);
}

.vent {
  position: absolute;
  left: 44%;
  bottom: 98px;
  z-index: 6;
  width: 82px;
  height: 290px;
  border-left: 6px solid rgba(242, 223, 191, 0.76);
  border-right: 3px solid rgba(84, 197, 203, 0.72);
  transform: skew(-11deg);
}

.vent::before,
.vent::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
}

.vent::before {
  bottom: 16px;
  width: 26px;
  height: 180px;
  background: linear-gradient(180deg, rgba(242, 223, 191, 0.82), rgba(84, 197, 203, 0.18));
  filter: blur(3px);
}

.vent::after {
  bottom: 0;
  width: 40px;
  aspect-ratio: 1;
  background: var(--cream);
  box-shadow: 0 0 28px rgba(242, 223, 191, 0.7);
}

.microbe-lens {
  position: absolute;
  right: 2%;
  bottom: 88px;
  z-index: 8;
  width: min(250px, 34vw);
  aspect-ratio: 1;
  border: 5px solid var(--yellow);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 32%, rgba(84, 197, 203, 0.9) 0 4px, transparent 5px),
    radial-gradient(circle at 66% 60%, rgba(84, 197, 203, 0.72) 0 4px, transparent 5px),
    radial-gradient(circle at 54% 28%, rgba(84, 197, 203, 0.45) 0 3px, transparent 4px),
    rgba(0, 0, 0, 0.72);
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.82);
}

.microbe-lens::before {
  content: "";
  position: absolute;
  left: -150px;
  top: 50%;
  width: 155px;
  height: 3px;
  background: var(--yellow);
  transform: rotate(-18deg);
  transform-origin: right center;
}

.microbe {
  position: absolute;
  width: 34px;
  height: 92px;
  border: 3px solid var(--teal-bright);
  border-radius: 50%;
  background:
    repeating-linear-gradient(100deg, transparent 0 9px, rgba(84, 197, 203, 0.34) 9px 12px),
    rgba(21, 149, 163, 0.16);
}

.microbe--one {
  left: 28%;
  top: 26%;
  transform: rotate(16deg);
}

.microbe--two {
  left: 58%;
  top: 34%;
  transform: rotate(-24deg);
}

.microbe--three {
  left: 44%;
  top: 58%;
  transform: rotate(62deg) scale(0.84);
}

.hero__label {
  position: absolute;
  z-index: 9;
  max-width: 250px;
  margin: 0;
  padding: 9px 12px;
  background: var(--ink);
  color: var(--cream);
  border-left: 6px solid var(--yellow);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero__label--top {
  top: 24%;
  left: 3%;
  transform: rotate(-3deg);
}

.hero__label--bottom {
  right: 5%;
  bottom: 26px;
  border-left-color: var(--teal-bright);
  transform: rotate(2deg);
}

.hero__stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 12px;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 -8px 0 rgba(0, 0, 0, 0.54);
}

.hero__stats div {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-items: center;
  min-height: 104px;
  padding: 16px 18px;
  border-right: 1px solid rgba(5, 6, 6, 0.4);
}

.hero__stats div:last-child {
  border-right: 0;
}

.hero__stats strong,
.hero__stats span:last-child {
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
}

.hero__stats strong {
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  line-height: 1;
}

.hero__stats span:last-child {
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.25;
}

.stat-icon {
  grid-row: 1 / 3;
  position: relative;
  display: block;
  width: 52px;
  aspect-ratio: 1;
  background: var(--ink);
  border-radius: 50%;
}

.stat-icon--globe::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 3px solid var(--teal-bright);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 46%, var(--teal-bright) 46% 54%, transparent 54%),
    linear-gradient(0deg, transparent 46%, var(--teal-bright) 46% 54%, transparent 54%);
}

.stat-icon--flask::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 9px;
  width: 20px;
  height: 31px;
  border: 3px solid var(--red);
  border-top: 0;
  border-radius: 2px 2px 12px 12px;
}

.stat-icon--drop::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 12px;
  width: 20px;
  height: 27px;
  border: 3px solid var(--teal-bright);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.stat-icon--burst::before,
.stat-icon--burst::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  top: 24px;
  height: 4px;
  background: var(--yellow);
}

.stat-icon--burst::after {
  transform: rotate(90deg);
}

.intro-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(240px, 0.42fr);
  gap: 34px;
  align-items: start;
  margin: 24px 0 0;
  padding: 0;
}

.intro-band::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
  background:
    linear-gradient(115deg, rgba(21, 149, 163, 0.72) 0 52%, transparent 52%),
    linear-gradient(180deg, rgba(242, 223, 191, 0.1), rgba(242, 223, 191, 0.02));
}

.intro-band__text p,
.split-section p,
.page-hero p,
.content-grid p,
.timeline p,
.people-grid p,
.output-list p,
.news-list p,
.contact-panel p {
  max-width: 760px;
}

.intro-band__text p:not(.eyebrow) {
  color: var(--white);
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
}

.intro-band__note {
  position: relative;
  padding: 20px;
  background: var(--yellow);
  color: var(--ink);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
  transform: rotate(2deg);
}

.intro-band__note::before {
  content: "Field margin";
  position: absolute;
  left: -12px;
  top: -12px;
  padding: 5px 8px;
  background: var(--ink);
  color: var(--cream);
  font-size: 0.68rem;
  text-transform: uppercase;
}

/* Cards/interactions */
.cards {
  display: grid;
  width: 100%;
  max-width: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 0;
  align-items: stretch;
  justify-items: stretch;
  margin: 0;
  overflow: visible;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  min-height: 470px;
  padding: 34px 28px 28px;
  overflow: hidden;
  color: var(--ink);
  border: 0;
  isolation: isolate;
}

.card h2 {
  display: block;
  width: 100%;
  margin-top: 8px;
  font-size: clamp(1.6rem, 2vw, 2.4rem);
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card p:not(.card__label) {
  position: relative;
  z-index: 2;
  max-width: 22ch;
  margin-top: 18px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.9rem;
  line-height: 1.35;
  font-weight: 700;
  text-transform: uppercase;
}

.card__label {
  color: var(--ink);
  font-size: clamp(2.4rem, 6vw, 5.8rem);
  line-height: 0.85;
  opacity: 0.9;
}

.card--red {
  background: var(--red);
}

.card--blue {
  background: var(--teal);
  color: var(--ink);
}

.card--yellow {
  background: var(--yellow);
}

.panel-icon {
  position: absolute;
  right: 18px;
  bottom: 30px;
  z-index: 1;
  width: 124px;
  aspect-ratio: 1;
  opacity: 0.82;
}

.panel-icon--escape {
  border-top: 12px solid var(--ink);
  border-right: 12px solid var(--ink);
  transform: rotate(-32deg);
}

.panel-icon--escape::before,
.panel-icon--escape::after,
.panel-icon--microbe::before,
.panel-icon--microbe::after,
.panel-icon--water::before,
.panel-icon--water::after {
  content: "";
  position: absolute;
}

.panel-icon--escape::before {
  right: -19px;
  top: -21px;
  width: 32px;
  aspect-ratio: 1;
  border-top: 12px solid var(--ink);
  border-right: 12px solid var(--ink);
  transform: rotate(45deg);
}

.panel-icon--escape::after {
  left: -18px;
  bottom: 2px;
  width: 70px;
  height: 4px;
  background: var(--ink);
}

.panel-icon--microbe {
  border: 8px solid var(--ink);
  border-radius: 50%;
}

.panel-icon--microbe::before {
  left: 38px;
  top: 17px;
  width: 28px;
  height: 78px;
  border: 6px solid var(--ink);
  border-radius: 50%;
  transform: rotate(-28deg);
}

.panel-icon--microbe::after {
  left: 64px;
  top: 42px;
  width: 22px;
  height: 58px;
  border: 5px solid var(--ink);
  border-radius: 50%;
  transform: rotate(38deg);
}

.panel-icon--water {
  border: 9px solid var(--ink);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg) scale(0.86);
}

.panel-icon--water::before {
  left: 28px;
  top: 54px;
  width: 58px;
  height: 5px;
  background: var(--ink);
  transform: rotate(45deg);
}

.panel-icon--water::after {
  left: 34px;
  top: 34px;
  width: 38px;
  height: 5px;
  background: var(--ink);
  transform: rotate(45deg);
}

.split-section {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: start;
  margin: 0 0 36px;
  padding: 36px 0;
}

.split-section p {
  color: var(--white);
  font-family: "IBM Plex Mono", monospace;
}

.split-panel {
  min-height: 100%;
  padding: 30px;
  overflow: visible;
}

.split-panel--dispatches {
  background:
    repeating-linear-gradient(108deg, rgba(255, 246, 223, 0.06) 0 1px, transparent 1px 8px),
    radial-gradient(circle at 12% 18%, rgba(239, 179, 7, 0.2), transparent 24%),
    linear-gradient(145deg, rgba(21, 149, 163, 0.42), rgba(5, 6, 6, 0.88));
  border-top: 1px solid rgba(242, 223, 191, 0.28);
  border-bottom: 1px solid rgba(242, 223, 191, 0.28);
}

.split-panel--join {
  background:
    repeating-radial-gradient(circle at 82% 24%, rgba(255, 246, 223, 0.14) 0 1px, transparent 1px 6px),
    linear-gradient(145deg, rgba(215, 51, 31, 0.74), rgba(8, 16, 17, 0.9));
  border-top: 1px solid rgba(242, 223, 191, 0.28);
  border-bottom: 1px solid rgba(242, 223, 191, 0.28);
}

/* Dispatches */
.dispatch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 18px;
  margin: 30px 0 0;
}

.dispatch-grid--home {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: 12px;
}

.dispatch-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 290px;
  padding: 20px;
  overflow: hidden;
  background:
    repeating-linear-gradient(108deg, rgba(255, 246, 223, 0.08) 0 1px, transparent 1px 9px),
    linear-gradient(145deg, rgba(21, 149, 163, 0.92), rgba(8, 16, 17, 0.92));
  color: var(--cream);
  border: 1px solid rgba(242, 223, 191, 0.34);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.56);
  text-decoration: none;
}

.dispatch-card::after {
  content: "";
  position: absolute;
  right: -18%;
  bottom: -24%;
  width: 58%;
  aspect-ratio: 1;
  border: 2px solid rgba(239, 179, 7, 0.42);
  border-radius: 50%;
}

.dispatch-card__image {
  width: calc(100% + 40px);
  min-height: 140px;
  margin: -20px -20px 18px;
  background-color: var(--basalt);
  background-position: center;
  background-size: cover;
  border-bottom: 1px solid rgba(242, 223, 191, 0.34);
}

.dispatch-card h2 {
  position: relative;
  z-index: 1;
  font-size: clamp(1.35rem, 2.2vw, 2.2rem);
}

.dispatch-card p {
  position: relative;
  z-index: 1;
}

.dispatch-card > p:not(.dispatch-meta):not(.dispatch-tags) {
  color: var(--white);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.92rem;
}

.dispatch-card--compact {
  min-height: 0;
  padding: 14px;
  background:
    repeating-linear-gradient(108deg, rgba(255, 246, 223, 0.07) 0 1px, transparent 1px 8px),
    rgba(5, 6, 6, 0.72);
}

.dispatch-card--compact .dispatch-card__image {
  display: none;
}

.dispatch-card--compact h2 {
  font-size: clamp(1rem, 1.5vw, 1.28rem);
}

.dispatch-card--compact > p:not(.dispatch-meta):not(.dispatch-tags) {
  font-size: 0.78rem;
}

.dispatch-card:not(.interactive-panel):hover {
  filter: contrast(1.04) saturate(1.04);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.62);
  transform: translateY(-6px) scale(1.015);
}

.dispatch-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px;
  color: var(--yellow);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.dispatch-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: auto 0 0;
  padding-top: 16px;
}

.dispatch-tags span {
  padding: 4px 7px;
  background: rgba(239, 179, 7, 0.16);
  color: var(--yellow);
  border: 1px solid rgba(239, 179, 7, 0.48);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.dispatch-page {
  max-width: 920px;
  margin: 54px auto 76px;
  padding: 0;
}

.dispatch-page h1 {
  max-width: none;
  font-size: clamp(3rem, 7vw, 6.8rem);
}

.dispatch-page figure {
  margin: 32px 0;
  border: 1px solid rgba(242, 223, 191, 0.34);
  box-shadow: var(--shadow);
}

.dispatch-page__body {
  margin-top: 34px;
  color: var(--white);
  font-size: 1.08rem;
}

.dispatch-page__body p {
  max-width: 760px;
}

/* Generic pages */
.page-hero,
.callout,
.contact-panel {
  position: relative;
  margin: 44px 0 30px;
  padding: 42px 32px;
  background:
    repeating-linear-gradient(108deg, rgba(255, 246, 223, 0.08) 0 1px, transparent 1px 9px),
    linear-gradient(135deg, rgba(21, 149, 163, 0.4), rgba(8, 16, 17, 0.94));
  border: var(--rule);
  box-shadow: var(--shadow);
}

.page-hero h1 {
  font-size: clamp(3rem, 8vw, 7rem);
}

.page-hero p:last-child {
  margin-bottom: 0;
  color: var(--white);
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 500;
}

.page-hero--science,
.page-hero--outputs {
  background:
    repeating-linear-gradient(108deg, rgba(255, 246, 223, 0.08) 0 1px, transparent 1px 9px),
    linear-gradient(135deg, rgba(215, 51, 31, 0.88), rgba(8, 16, 17, 0.92));
}

.page-hero--field,
.page-hero--contact {
  background:
    repeating-linear-gradient(108deg, rgba(255, 246, 223, 0.08) 0 1px, transparent 1px 9px),
    linear-gradient(135deg, rgba(21, 149, 163, 0.86), rgba(8, 16, 17, 0.94));
}

.page-hero--team,
.page-hero--news {
  background:
    repeating-linear-gradient(108deg, rgba(5, 6, 6, 0.08) 0 1px, transparent 1px 9px),
    linear-gradient(135deg, var(--yellow), var(--cream-dim));
  color: var(--ink);
}

.page-hero--team p:last-child,
.page-hero--news p:last-child {
  color: var(--ink);
}

.content-grid,
.people-grid,
.output-list,
.news-list,
.timeline {
  display: grid;
  gap: 20px;
  margin: 34px 0 56px;
}

.content-grid,
.people-grid,
.output-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.timeline,
.news-list {
  grid-template-columns: 1fr;
}

.person-card,
.output-list article,
.timeline article,
.news-list article,
.content-grid article {
  padding: 24px;
  background: rgba(242, 223, 191, 0.92);
  color: var(--ink);
  border: 2px solid rgba(5, 6, 6, 0.8);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.62);
}

/* Team */
.team-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: 24px;
  margin: 44px 0 64px;
  align-items: start;
}

.team-list {
  display: grid;
  gap: 22px;
}

.team-profile {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  min-height: 310px;
  background:
    repeating-linear-gradient(108deg, rgba(255, 246, 223, 0.06) 0 1px, transparent 1px 9px),
    linear-gradient(145deg, rgba(242, 223, 191, 0.96), rgba(216, 191, 146, 0.9));
  color: var(--ink);
  border: 1px solid rgba(242, 223, 191, 0.4);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.62);
  overflow: hidden;
}

.team-profile--pi {
  grid-template-columns: minmax(300px, 0.42fr) minmax(0, 1fr);
  min-height: 430px;
  background:
    repeating-linear-gradient(108deg, rgba(255, 246, 223, 0.08) 0 1px, transparent 1px 9px),
    radial-gradient(circle at 84% 18%, rgba(239, 179, 7, 0.28), transparent 24%),
    linear-gradient(145deg, rgba(21, 149, 163, 0.9), rgba(5, 6, 6, 0.96));
  color: var(--cream);
}

.team-profile__photo {
  position: relative;
  min-height: 310px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 22%, rgba(239, 179, 7, 0.62), transparent 18%),
    linear-gradient(145deg, var(--teal), var(--ink));
  border-right: 2px solid rgba(5, 6, 6, 0.7);
}

.team-profile--pi .team-profile__photo {
  min-height: 430px;
  border-right-color: rgba(242, 223, 191, 0.35);
}

.team-profile__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(21, 149, 163, 0.22), transparent 38%),
    radial-gradient(circle at 78% 72%, rgba(215, 51, 31, 0.24), transparent 30%),
    linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.34));
  mix-blend-mode: multiply;
}

.team-profile__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.team-profile__placeholder {
  display: grid;
  place-items: center;
  color: var(--cream);
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(4rem, 10vw, 8rem);
  text-transform: uppercase;
}

.team-profile__body {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 28px;
}

.team-profile--pi .team-profile__body {
  padding: 36px;
}

.team-profile__body h3 {
  color: inherit;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(2rem, 4vw, 4.4rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.team-profile:not(.team-profile--pi) .team-profile__body h3 {
  font-size: clamp(1.65rem, 2.8vw, 3rem);
}

.team-profile__body p {
  color: inherit;
  margin: 0;
}

.team-profile__meta {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
}

dl.team-profile__meta {
  display: grid;
  gap: 8px;
  margin: 4px 0 0;
}

.team-profile__meta div {
  display: grid;
  gap: 2px;
}

.team-profile__meta dt {
  color: var(--red);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.team-profile--pi .team-profile__meta dt {
  color: var(--yellow);
}

.team-profile__meta dd {
  margin: 0;
  font-size: 0.86rem;
}

.team-profile__meta a {
  color: inherit;
}

.team-profile__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.team-profile__links a {
  padding: 6px 9px;
  background: var(--ink);
  color: var(--cream);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.team-profile--pi .team-profile__links a {
  background: var(--yellow);
  color: var(--ink);
}

.timeline article {
  display: grid;
  grid-template-columns: 100px minmax(0, 0.45fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.timeline span,
.news-list time {
  color: var(--red);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
  text-transform: uppercase;
}

/* Expeditions map */
.field-sites {
  margin: 46px 0 56px;
}

.field-sites h3 {
  margin: 10px 0 0;
  color: var(--yellow);
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(1rem, 2vw, 1.25rem);
  text-transform: uppercase;
}

.field-sites > p:not(.eyebrow) {
  max-width: 760px;
  color: var(--white);
  font-family: "IBM Plex Mono", monospace;
}

.expedition-map {
  width: 100%;
  margin: 28px auto 0;
  color: var(--cream);
}

.expedition-map__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  min-height: 360px;
  overflow: visible;
  background:
    radial-gradient(circle at 28% 32%, rgba(84, 197, 203, 0.24), transparent 30%),
    radial-gradient(circle at 76% 60%, rgba(215, 51, 31, 0.18), transparent 26%),
    linear-gradient(145deg, #08252a, #061112 58%, #130706);
  border: 2px solid rgba(242, 223, 191, 0.46);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.6);
}

.expedition-map__basemap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: block;
  object-fit: fill;
  opacity: 0.9;
  pointer-events: none;
}

.expedition-map__marker-wrap {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 3;
  width: 28px;
  height: 28px;
  transform: translate(-50%, -50%);
}

.expedition-map__marker {
  position: relative;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 2px solid var(--yellow);
  border-radius: 50%;
  background: rgba(239, 179, 7, 0.6);
  color: inherit;
  cursor: pointer;
  appearance: none;
  box-shadow:
    0 0 0 8px rgba(84, 197, 203, 0.16),
    0 0 24px rgba(239, 179, 7, 0.58);
}

.expedition-map__marker:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 7px;
}

.expedition-map__marker-wrap:nth-of-type(3n) .expedition-map__marker {
  background: rgba(215, 51, 31, 0.62);
}

.expedition-map__marker-wrap:nth-of-type(3n + 1) .expedition-map__marker {
  background: rgba(84, 197, 203, 0.62);
}

.expedition-map__tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 14px);
  z-index: 20;
  display: grid;
  gap: 6px;
  width: min(260px, 70vw);
  padding: 14px;
  background:
    repeating-linear-gradient(108deg, rgba(255, 246, 223, 0.08) 0 1px, transparent 1px 8px),
    rgba(5, 6, 6, 0.96);
  color: var(--cream);
  border: 1px solid rgba(239, 179, 7, 0.55);
  box-shadow: 7px 7px 0 rgba(0, 0, 0, 0.62);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  line-height: 1.35;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.expedition-map__tooltip strong {
  color: var(--yellow);
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 1.1rem;
  line-height: 1;
  text-transform: uppercase;
}

.expedition-map__tooltip em {
  color: var(--teal-bright);
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
}

.expedition-map__marker-wrap:hover,
.expedition-map__marker-wrap:focus-within {
  z-index: 10;
}

.expedition-map__marker-wrap:hover .expedition-map__tooltip,
.expedition-map__marker-wrap:focus-within .expedition-map__tooltip {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.expedition-map__site-list {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 12px;
  margin-top: 20px;
}

.expedition-map__site {
  padding: 16px;
  background:
    repeating-linear-gradient(108deg, rgba(255, 246, 223, 0.06) 0 1px, transparent 1px 8px),
    rgba(5, 6, 6, 0.72);
  border: 1px solid rgba(242, 223, 191, 0.28);
}

.expedition-map__site h3 {
  color: var(--yellow);
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 1.4rem;
  text-transform: uppercase;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.5fr);
  gap: 24px;
  margin-top: 64px;
  padding: 28px 0 36px;
  border-top: 2px solid rgba(242, 223, 191, 0.45);
}

.site-footer p {
  margin: 0;
  color: var(--cream);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.9rem;
}

.fine-print {
  color: rgba(242, 223, 191, 0.7);
}

/* Responsive rules */
@media (max-width: 1020px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__visual {
    min-height: 540px;
  }

  .hero__stats,
  .cards,
  .intro-band,
  .split-section,
  .site-footer,
  .content-grid,
  .people-grid,
  .team-section,
  .output-list {
    grid-template-columns: 1fr;
  }

  .team-profile,
  .team-profile--pi {
    grid-template-columns: 1fr;
  }

  .team-profile__photo,
  .team-profile--pi .team-profile__photo,
  .team-profile__image {
    min-height: 280px;
    aspect-ratio: 16 / 10;
    border-right: 0;
    border-bottom: 2px solid rgba(5, 6, 6, 0.7);
  }

  .hero__stats div {
    border-right: 0;
    border-bottom: 1px solid rgba(5, 6, 6, 0.34);
  }

  .hero__stats div:last-child {
    border-bottom: 0;
  }

  .cards {
    grid-template-rows: none;
    gap: 14px;
    margin: 28px 0 0;
  }

  .card,
  .card--red,
  .card--blue,
  .card--yellow {
    min-height: 320px;
    transform: none;
  }

  .timeline article {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .interactive-panel {
    transition: none;
  }

  .interactive-panel:hover,
  .interactive-panel:focus-visible {
    transform: none;
  }
}

@media (max-width: 720px) {
  .site-header,
  .site-footer,
  main {
    width: min(100% - 22px, 1280px);
  }

  .site-header {
    display: block;
  }

  .site-nav {
    justify-content: flex-start;
    gap: 5px 12px;
    margin-top: 16px;
  }

  .site-nav a {
    font-size: 0.76rem;
  }

  h1 {
    font-size: clamp(3.1rem, 16vw, 5.8rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3.6rem);
  }

  .hero {
    padding-top: 18px;
  }

  .hero__visual {
    min-height: 440px;
  }

  .planet {
    width: 105%;
    right: -28%;
  }

  .ocean {
    bottom: 33%;
    height: 142px;
  }

  .subsurface {
    height: 225px;
  }

  .vent {
    left: 40%;
    bottom: 62px;
    height: 205px;
  }

  .microbe-lens {
    width: 152px;
    right: 4%;
    bottom: 56px;
  }

  .microbe-lens::before {
    left: -82px;
    width: 90px;
  }

  .hero__label--top {
    top: 16%;
    left: 0;
  }

  .hero__label--bottom {
    display: none;
  }

  .hero__stats div {
    min-height: 90px;
    padding: 14px;
  }

  .hero__ribbon {
    clip-path: polygon(0 0, 100% 0, 94% 100%, 0 100%);
  }

  .intro-band,
  .split-section {
    margin: 0 0;
    padding: 30px 0;
  }

  .card {
    padding: 22px;
  }

  .card__label {
    font-size: clamp(2.7rem, 18vw, 5rem);
  }

  .panel-icon {
    width: 92px;
  }

  .expedition-map__frame {
    min-height: 220px;
  }

  .expedition-map__marker-wrap,
  .expedition-map__marker {
    width: 28px;
    height: 28px;
  }

  .expedition-map__tooltip {
    display: none;
  }

  .expedition-map__site-list {
    display: grid;
  }

  .page-hero,
  .callout,
  .contact-panel,
  .person-card,
  .team-profile__body,
  .team-profile--pi .team-profile__body,
  .output-list article,
  .timeline article,
  .news-list article,
  .content-grid article {
    padding: 20px;
  }
}
