:root {
  color-scheme: dark;
  --bg: #05070a;
  --bg-soft: #0b1015;
  --panel: rgba(17, 24, 31, 0.78);
  --panel-strong: rgba(20, 28, 36, 0.94);
  --line: rgba(214, 255, 239, 0.14);
  --text: #eef8f4;
  --muted: #9aa9a6;
  --dim: #65716f;
  --green: #43ffb0;
  --cyan: #86a7aa;
  --pink: #b06f88;
  --amber: #c1a36a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 12%, rgba(134, 167, 170, 0.1), transparent 30rem),
    radial-gradient(circle at 18% 0%, rgba(193, 163, 106, 0.08), transparent 26rem),
    linear-gradient(180deg, #05070a 0%, #070b0f 42%, #05070a 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.032) 0 1px, transparent 1px 5px),
    linear-gradient(90deg, rgba(67, 255, 176, 0.026), transparent 26%, rgba(193, 163, 106, 0.018) 72%, transparent);
  opacity: 0.28;
  animation: scan 12s linear infinite;
}

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

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

p,
h1,
h2,
h3 {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3.4rem, 7vw, 7rem);
  max-width: 7.5ch;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
}

h3 {
  font-size: 1.2rem;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(5, 7, 10, 0.76);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  left: 0;
  min-height: 72px;
  padding: 0 28px;
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand,
.site-nav,
.cta-row,
.resource-meta,
.footer-links,
.filters {
  align-items: center;
  display: flex;
}

.brand {
  font-weight: 800;
  gap: 12px;
  text-transform: uppercase;
}

.brand-mark {
  display: block;
  height: 38px;
  object-fit: contain;
  width: 38px;
}

.brand-wordmark {
  display: block;
  height: 22px;
  max-height: 22px;
  max-width: min(118px, 30vw);
  object-fit: contain;
  width: auto;
}

.site-nav {
  gap: 6px;
}

.site-nav a {
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.88rem;
  padding: 9px 12px;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.055);
  border-color: var(--line);
  color: var(--text);
}

.nav-project {
  color: var(--green) !important;
}

.nav-toggle {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: none;
  height: 42px;
  padding: 0;
  width: 46px;
}

.nav-toggle span {
  background: var(--text);
  display: block;
  height: 2px;
  margin: 6px auto;
  width: 18px;
}

.hero {
  display: grid;
  gap: clamp(28px, 5vw, 76px);
  grid-template-columns: minmax(320px, 0.62fr) minmax(420px, 1fr);
  margin: 0 auto;
  max-width: 1400px;
  min-height: calc(100vh - 72px);
  overflow: hidden;
  padding: clamp(34px, 6vw, 88px) 28px 54px;
  position: relative;
}

.hero-copy {
  align-self: center;
  max-width: 620px;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.hero-copy p:not(.kicker),
.transmission-line,
.page-hero p,
.project-hero p,
.section-header p,
.contact-band p,
.footer p,
.philosophy p,
.two-column p {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
  max-width: 66ch;
}

.transmission-line {
  color: var(--text) !important;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.hero-statement {
  border-left: 2px solid rgba(67, 255, 176, 0.75);
  margin-top: 18px;
  padding-left: 16px;
}

.hero-statement p:first-child {
  color: var(--text);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  font-weight: 800;
  margin-bottom: 6px;
}

.hero-statement p:last-child {
  color: var(--muted);
  margin-bottom: 0;
}

.practice-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
  max-width: 620px;
}

.practice-strip span {
  border: 1px solid rgba(238, 248, 244, 0.16);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 10px;
}

.kicker {
  color: var(--green);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.72rem !important;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.signal-dot {
  background: var(--green);
  border-radius: 999px;
  box-shadow: 0 0 18px var(--green);
  display: inline-block;
  height: 8px;
  margin-right: 8px;
  width: 8px;
}

.cursor {
  animation: blink 1s steps(2) infinite;
  background: var(--green);
  display: inline-block;
  height: 0.72em;
  margin-left: 0.12em;
  transform: translateY(0.08em);
  width: 0.08em;
}

.cta-row {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: inline-flex;
  font-weight: 800;
  gap: 12px;
  justify-content: center;
  min-height: 48px;
  padding: 12px 17px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  border-color: rgba(67, 255, 176, 0.7);
  box-shadow: 0 0 0 4px rgba(67, 255, 176, 0.08);
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--green);
  color: #04110c;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.07);
}

.btn-ghost {
  background: transparent;
}

.hero-art {
  aspect-ratio: 16 / 9;
  align-self: center;
  border: 1px solid rgba(238, 248, 244, 0.18);
  border-radius: 6px;
  box-shadow: var(--shadow);
  min-height: 0;
  overflow: hidden;
  position: relative;
}

.hero-art::after,
.project-card a::after {
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.045) 0 1px, transparent 1px 7px),
    linear-gradient(180deg, transparent, rgba(5, 7, 10, 0.64));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.hero-art img,
.hero-art video,
.hero-slot {
  aspect-ratio: 16 / 9;
  height: 100%;
  margin: 0;
  min-height: 0;
  object-fit: cover;
  width: 100%;
}

.artwork-slot {
  align-content: center;
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 12px),
    linear-gradient(0deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 10px),
    radial-gradient(circle at 50% 44%, rgba(67, 255, 176, 0.1), transparent 34%),
    #070b0f;
  border: 1px solid rgba(238, 248, 244, 0.14);
  color: var(--muted);
  display: grid;
  gap: 12px;
  overflow: hidden;
  padding: 24px;
  position: relative;
}

.artwork-slot::before {
  border: 16px solid rgba(0, 0, 0, 0.22);
  border-radius: 18px;
  content: "";
  inset: 12px;
  pointer-events: none;
  position: absolute;
}

.artwork-slot::after {
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(67, 255, 176, 0.18) 18% 20%, transparent 20% 46%, rgba(193, 163, 106, 0.14) 46% 47%, transparent 47%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.02) 0 2px, transparent 2px 9px);
  bottom: 18px;
  content: "";
  height: 22%;
  left: 22px;
  opacity: 0.72;
  position: absolute;
  right: 22px;
}

.artwork-slot span,
.artwork-slot strong,
.artwork-slot em {
  position: relative;
  z-index: 1;
}

.artwork-slot span {
  color: var(--amber);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.artwork-slot strong {
  color: var(--text);
  font-size: clamp(1.15rem, 2.7vw, 1.85rem);
  line-height: 1.08;
  max-width: 14ch;
}

.artwork-slot em {
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  font-style: normal;
}

.hero-slot {
  aspect-ratio: auto;
  min-height: 520px;
  padding: clamp(28px, 5vw, 58px);
}

.hero-slot strong {
  max-width: 18ch;
}

.terminal-readout {
  background: rgba(5, 7, 10, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  bottom: 18px;
  color: var(--green);
  display: grid;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  gap: 5px;
  left: 18px;
  padding: 12px;
  position: absolute;
  z-index: 2;
}

.section,
.contact-band,
.footer,
.page-hero,
.project-hero {
  margin: 0 auto;
  max-width: var(--max);
  padding: clamp(58px, 9vw, 110px) 28px;
}

body[data-page="home"] .section {
  padding-bottom: clamp(44px, 6vw, 76px);
  padding-top: clamp(44px, 6vw, 76px);
}

body[data-page="home"] .contact-band {
  margin-top: clamp(22px, 4vw, 42px);
}

.section-header {
  align-items: start;
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
  margin-bottom: 24px;
  max-width: 680px;
}

.section-header h2 {
  font-size: clamp(1.45rem, 2.4vw, 2.25rem);
  margin-bottom: 0;
}

.section-header p:not(.kicker) {
  font-size: 0.98rem;
  max-width: 52ch;
}

.project-grid,
.art-grid,
.resource-grid,
.lab-build-grid,
.social-grid {
  display: grid;
  gap: 18px;
}

.project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card,
.art-card,
.resource-card,
.broadcast-promo,
.lab-build-card,
.signal-panel,
.social-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.project-card:hover,
.art-card:hover,
.resource-card:hover,
.broadcast-promo:hover,
.lab-build-card:hover,
.social-card:hover {
  border-color: rgba(67, 255, 176, 0.42);
  transform: translateY(-3px);
}

.broadcast-promo {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 18px;
  max-width: 920px;
}

.broadcast-promo a {
  align-items: stretch;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  min-height: 238px;
}

.broadcast-promo img,
.broadcast-slot {
  aspect-ratio: 16 / 8.75;
  background: #000;
  height: 100%;
  min-height: 238px;
  object-fit: contain;
  width: 100%;
}

.broadcast-promo > a > div:last-child {
  align-content: end;
  background:
    linear-gradient(180deg, rgba(5, 7, 10, 0.08), rgba(5, 7, 10, 0.88)),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 6px);
  display: grid;
  padding: clamp(16px, 3vw, 26px);
}

.broadcast-promo h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.9rem);
  margin-bottom: 10px;
}

.broadcast-promo p:not(.kicker),
.lab-build-card p:not(.kicker) {
  color: var(--muted);
}

.project-card a {
  display: block;
  min-height: 100%;
  position: relative;
}

.project-card img,
.project-card video {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
}

.project-slot {
  aspect-ratio: 1 / 1;
  min-height: 360px;
}

.card-content {
  bottom: 0;
  left: 0;
  padding: 22px;
  position: absolute;
  right: 0;
  z-index: 2;
}

.muted-link {
  color: var(--dim);
}

.card-content p:not(.kicker),
.resource-card p,
.art-card p {
  color: var(--muted);
}

.text-link {
  color: var(--green);
  display: inline-flex;
  font-weight: 800;
  gap: 8px;
  margin-top: 8px;
}

.back-to-top {
  align-items: center;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 5px),
    rgba(10, 15, 19, 0.92);
  border: 1px solid rgba(67, 255, 176, 0.34);
  border-radius: 999px;
  bottom: 22px;
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.42);
  color: var(--green);
  cursor: pointer;
  display: inline-flex;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 800;
  justify-content: center;
  letter-spacing: 0.04em;
  opacity: 0;
  padding: 10px 14px;
  pointer-events: none;
  position: fixed;
  right: 22px;
  text-transform: uppercase;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease, border-color 180ms ease;
  z-index: 30;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  border-color: rgba(67, 255, 176, 0.72);
}

.art-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.art-card {
  display: grid;
  gap: 14px;
  padding: 12px;
}

.art-card > div {
  display: grid;
  gap: 4px;
}

.art-card img,
.art-video,
.art-iframe {
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  object-fit: cover;
  width: 100%;
}

.art-video {
  background: #000;
  display: block;
}

.hero-art .art-video {
  aspect-ratio: auto;
  border-radius: 0;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  width: 100%;
}

.art-iframe {
  background: #000;
  border: 1px solid rgba(238, 248, 244, 0.14);
  display: block;
  min-height: 0;
}

.art-card .artwork-slot {
  border-radius: 6px;
}

.art-card h3,
.art-card p {
  margin-bottom: 4px;
}

.resources-feature {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  max-width: none;
}

.resources-feature > * {
  margin-left: auto;
  margin-right: auto;
  max-width: var(--max);
}

.resource-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.exhibition-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.exhibition-grid-compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.exhibition-grid-featured {
  grid-template-columns: 1.15fr repeat(3, minmax(0, 0.72fr));
}

.exhibition-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.exhibition-card:hover {
  border-color: rgba(67, 255, 176, 0.42);
  transform: translateY(-3px);
}

.exhibition-media {
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 5px),
    #05070a;
  overflow: hidden;
}

.exhibition-media img,
.exhibition-video,
.exhibition-slot {
  aspect-ratio: 4 / 3;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.exhibition-card-featured:first-child {
  grid-row: span 2;
}

.exhibition-card-featured:first-child .exhibition-media img,
.exhibition-card-featured:first-child .exhibition-video {
  aspect-ratio: 4 / 5;
}

.exhibition-content {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.exhibition-content h3 {
  margin-bottom: 0;
}

.exhibition-artwork {
  color: var(--text) !important;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.9rem;
  margin-bottom: 0;
}

.exhibition-content p:not(.exhibition-artwork) {
  color: var(--muted);
  margin-bottom: 0;
}

.lab-build-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 18px;
  max-width: var(--max);
}

.resources-feature .lab-build-grid-compact {
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
  max-width: var(--max);
}

.lab-build-card {
  display: grid;
  grid-template-rows: auto 1fr;
}

.lab-build-card video,
.lab-build-card img {
  aspect-ratio: 16 / 10;
  background: #000;
  display: block;
  max-height: none;
  object-fit: contain;
  width: 100%;
}

.lab-build-card > div {
  padding: 16px;
}

.lab-build-grid-compact .lab-build-card {
  grid-template-rows: auto 1fr;
  min-height: 0;
}

.lab-build-grid-compact .lab-build-card video,
.lab-build-grid-compact .lab-build-card img {
  aspect-ratio: 16 / 10;
  background: #000;
  height: auto;
  max-height: none;
  min-height: 0;
  object-fit: contain;
}

.lab-build-grid-compact .lab-build-card > div {
  padding: 14px;
}

.lab-build-grid-compact .lab-build-card h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.lab-build-grid-compact .lab-build-card p:not(.kicker) {
  font-size: 0.82rem;
  line-height: 1.45;
}

.labs-build-section {
  padding-bottom: 28px;
}

.resource-card {
  display: grid;
  min-height: 205px;
  padding: 22px;
}

.resource-thumb {
  aspect-ratio: 12 / 7;
  border: 1px solid rgba(238, 248, 244, 0.12);
  border-radius: 6px;
  margin-bottom: 18px;
  object-fit: cover;
  width: 100%;
}

.resource-meta {
  color: var(--dim);
  flex-wrap: wrap;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.7rem;
  gap: 8px;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.resource-meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 8px;
}

.section-action {
  margin-top: 24px;
}

.resources-feature .resource-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.community-tools-section {
  border-top: 1px solid var(--line);
  padding-top: clamp(36px, 6vw, 70px);
}

.philosophy-grid,
.two-column {
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.5fr);
}

.philosophy ul,
.signal-panel ul {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.philosophy li,
.signal-panel li {
  border-bottom: 1px solid var(--line);
  color: var(--text);
  padding: 10px 0;
}

.contact-band {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(67, 255, 176, 0.09), rgba(97, 217, 255, 0.035)),
    var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 54px;
}

.footer {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.footer-links {
  align-items: end;
  flex-direction: column;
  gap: 10px;
}

.footer-links a,
.social-card {
  color: var(--muted);
}

.footer-brand-wordmark {
  display: block;
  margin: 4px 0 18px;
  max-width: min(270px, 72vw);
  width: 100%;
}

.subpage .site-header + main {
  min-height: 60vh;
}

.page-hero {
  padding-bottom: 24px;
}

.page-hero h1,
.project-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  max-width: 13ch;
}

.signal-panel {
  padding: 24px;
}

.resource-tools {
  background: rgba(255, 255, 255, 0.035);
  border-block: 1px solid var(--line);
  display: grid;
  gap: 18px;
  margin: 0 auto;
  max-width: var(--max);
  padding: 22px 28px;
}

.search {
  display: grid;
  gap: 8px;
}

.search span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.search input {
  background: #080d12;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font: inherit;
  min-height: 50px;
  padding: 12px 14px;
}

.filters {
  flex-wrap: wrap;
  gap: 8px;
}

.filter {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  min-height: 38px;
  padding: 8px 12px;
}

.filter.is-active,
.filter:hover {
  background: var(--green);
  color: #04110c;
}

.project-hero {
  align-items: center;
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 0.62fr);
}

.project-hero img {
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.project-hero-slot {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-height: 420px;
}

.infected-page {
  --infected-green: #58f2ad;
  --infected-line: rgba(210, 238, 226, 0.13);
}

.infected-hero {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 68px);
  grid-template-columns: minmax(280px, 0.52fr) minmax(0, 1.2fr);
  margin: 0 auto;
  max-width: 1420px;
  min-height: calc(100vh - 72px);
  padding: clamp(44px, 8vw, 104px) 28px clamp(48px, 8vw, 110px);
}

.infected-hero-copy {
  max-width: 560px;
}

.infected-hero h1 {
  color: var(--infected-green);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: clamp(1.85rem, 3.35vw, 3.85rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.12;
  max-width: 13ch;
}

.infected-hero p:not(.kicker) {
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  max-width: 42ch;
}

.infected-hero-art {
  background: #030504;
  border: 1px solid var(--infected-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 0;
  overflow: hidden;
  position: relative;
}

.infected-hero-art::after,
.infected-video-frame::after {
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 6px),
    linear-gradient(180deg, transparent, rgba(3, 5, 4, 0.26));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.infected-hero-art img {
  aspect-ratio: 16 / 9;
  object-fit: contain;
  width: 100%;
}

.infected-statement {
  border-block: 1px solid var(--infected-line);
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
}

.infected-statement div {
  display: grid;
  gap: 12px;
}

.infected-statement p:not(.kicker) {
  color: var(--text);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  margin: 0;
}

.infected-split,
.infected-status {
  display: grid;
  gap: clamp(28px, 5vw, 70px);
  grid-template-columns: minmax(0, 0.75fr) minmax(280px, 0.62fr);
}

.infected-split p,
.infected-status p,
.infected-closing p {
  color: var(--muted);
  max-width: 62ch;
}

.infected-diagnostic-panel,
.infected-status-readout,
.infected-note-grid article {
  background: rgba(8, 12, 13, 0.72);
  border: 1px solid var(--infected-line);
  border-radius: var(--radius);
}

.infected-diagnostic-panel {
  align-self: start;
  display: grid;
  gap: 0;
  padding: 14px;
}

.infected-diagnostic-panel span {
  border-bottom: 1px solid var(--infected-line);
  color: var(--infected-green);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
  padding: 12px 4px;
}

.infected-diagnostic-panel span:last-child {
  border-bottom: 0;
}

.infected-video-section {
  max-width: 980px;
}

.infected-video-frame {
  background: #020303;
  border: 1px solid var(--infected-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.infected-video-frame video {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}

.infected-evolution {
  border-block: 1px solid var(--infected-line);
}

.infected-evolution p {
  font-family: "SFMono-Regular", Consolas, monospace;
}

.infected-status-readout {
  padding: 22px;
}

.infected-status-readout p {
  margin-bottom: 10px;
}

.infected-status-readout span {
  color: var(--infected-green);
  font-family: "SFMono-Regular", Consolas, monospace;
}

.infected-note-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.infected-note-grid article {
  min-height: 132px;
  padding: 20px;
}

.infected-note-grid span {
  color: var(--infected-green);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.76rem;
}

.infected-note-grid p {
  color: var(--text);
  font-family: "SFMono-Regular", Consolas, monospace;
  margin: 16px 0 0;
}

.infected-closing {
  max-width: 820px;
}

.social-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.social-card {
  align-items: center;
  display: flex;
  font-weight: 800;
  justify-content: space-between;
  min-height: 92px;
  padding: 20px;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 420ms ease, transform 420ms ease, border-color 180ms ease;
}

@keyframes scan {
  from { background-position: 0 0, 0 0; }
  to { background-position: 0 80px, 140px 0; }
}

@keyframes blink {
  50% { opacity: 0; }
}

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

@media (max-width: 920px) {
  .site-header {
    padding: 0 18px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    background: rgba(5, 7, 10, 0.98);
    border-bottom: 1px solid var(--line);
    display: none;
    flex-direction: column;
    left: 0;
    padding: 16px 18px 22px;
    position: absolute;
    right: 0;
    top: 72px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
  }

  .hero,
  .project-hero,
  .infected-hero,
  .infected-statement,
  .infected-split,
  .infected-status,
  .section-header,
  .broadcast-promo a,
  .philosophy-grid,
  .two-column,
  .contact-band,
  .footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-art,
  .hero-art img,
  .hero-art video,
  .hero-slot {
    min-height: 0;
  }

  .project-grid,
  .resource-grid,
  .exhibition-grid,
  .exhibition-grid-compact,
  .exhibition-grid-featured,
  .lab-build-grid,
  .resources-feature .lab-build-grid-compact,
  .resources-feature .resource-grid,
  .infected-note-grid,
  .social-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .broadcast-promo img,
  .broadcast-slot {
    min-height: 190px;
  }

  .art-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-links {
    align-items: start;
  }
}

@media (max-width: 620px) {
  h1 {
    font-size: clamp(2.55rem, 15vw, 4.4rem);
  }

  h2 {
    font-size: clamp(1.75rem, 10vw, 3rem);
  }

  .hero,
  .section,
  .contact-band,
  .footer,
  .page-hero,
  .project-hero,
  .infected-hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-art,
  .hero-art img,
  .hero-art video,
  .hero-slot {
    min-height: 0;
  }

  .hero-art {
    order: -1;
  }

  .hero-copy {
    order: 1;
  }

  .terminal-readout {
    display: none;
  }

  .project-grid,
  .resource-grid,
  .exhibition-grid,
  .exhibition-grid-compact,
  .exhibition-grid-featured,
  .lab-build-grid,
  .resources-feature .lab-build-grid-compact,
  .resources-feature .resource-grid,
  .infected-note-grid,
  .art-grid,
  .social-grid {
    grid-template-columns: 1fr;
  }

  .infected-hero-art {
    order: -1;
  }

  .practice-strip span {
    font-size: 0.72rem;
  }

  .project-card img,
  .project-card video,
  .project-slot {
    aspect-ratio: 16 / 11;
    min-height: 260px;
  }

  .broadcast-promo img,
  .broadcast-slot,
  .lab-build-card video,
  .lab-build-card img {
    min-height: 170px;
  }

  .lab-build-grid-compact .lab-build-card {
    grid-template-columns: 1fr;
  }

  .lab-build-grid-compact .lab-build-card video,
  .lab-build-grid-compact .lab-build-card img {
    aspect-ratio: 16 / 10;
    height: auto;
    min-height: 0;
  }

  .card-content {
    position: relative;
  }

  .project-card a::after {
    opacity: 0.4;
  }

  .btn {
    width: 100%;
  }
}
