/* ── DESIGN TOKENS ───────────────────────────────────────────── */
:root {
  /* Structural palette */
  --hull:        #1A1A1A;
  --rebar:       #3D3D3D;
  --concrete:    #8A8A8A;
  --bone:        #EDEAE4;

  /* Signature accents */
  --reactor:     #FF4D1F;
  --alien:       #5BFF8A;
  --skin:        #8FBF8F;

  /* Supporting */
  --amber:       #FFB020;
  --void:        #0F1A2E;
  --rust:        #6B3A1F;

  /* Typography */
  --font-display:  'Archivo Black', sans-serif;
  --font-mono:     'JetBrains Mono', monospace;
  --font-body:     'Barlow', sans-serif;

  /* Spacing scale (4px base) */
  --s1:  4px;
  --s2:  8px;
  --s3:  12px;
  --s4:  16px;
  --s6:  24px;
  --s8:  32px;
  --s12: 48px;
  --s16: 64px;
  --s24: 96px;
  --s32: 128px;

  /* Borders */
  --border:        2px solid var(--hull);
  --border-light:  2px solid var(--rebar);
  --border-accent: 2px solid var(--reactor);
  --border-green:  2px solid var(--alien);

  /* Layout */
  --max-w:  1280px;
  --gutter: clamp(16px, 4vw, 80px);
}

/* ── RESET ───────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  cursor: crosshair;
}

body {
  background: var(--hull);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

/* ── GRAIN OVERLAY ───────────────────────────────────────────── */
.grain::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.08'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 10;
}

/* ── UTILITY CLASSES ─────────────────────────────────────────── */
.hazard-stripe {
  background: repeating-linear-gradient(
    -45deg,
    var(--reactor),
    var(--reactor) 10px,
    var(--hull) 10px,
    var(--hull) 20px
  );
}

.tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--reactor);
}

.tag--green { color: var(--alien); }
.tag--bone  { color: var(--bone); }

.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--reactor);
  margin-bottom: var(--s6);
  display: flex;
  align-items: center;
  gap: var(--s2);
}

.section-label::before {
  content: '//';
  color: var(--concrete);
}

h1, h2, h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.98;
}

h1 { font-size: clamp(36px, 6vw, 72px); }
h2 { font-size: clamp(28px, 4vw, 56px); }
h3 { font-size: clamp(18px, 2.5vw, 28px); }

p {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.6;
  color: var(--concrete);
  max-width: 65ch;
}

p strong { color: var(--bone); }

.mono {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.05em;
}

.rule {
  height: 2px;
  background: var(--rebar);
  width: 100%;
}

.unit-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--reactor);
  border: 2px solid var(--reactor);
  padding: 3px 8px;
  letter-spacing: 0.08em;
  display: inline-block;
}

.rivets { position: relative; }
.rivets::before,
.rivets::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rebar);
  border: 1px solid var(--concrete);
}
.rivets::before { top: 10px; left: 10px; }
.rivets::after  { top: 10px; right: 10px; }

.status {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border: 1px solid currentColor;
}

.status--deployed {
  color: var(--alien);
  border-color: var(--alien);
}

.status--deployed::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--alien);
  animation: pulse-dot 1.5s ease-in-out infinite;
}

/* Placeholder for missing assets */
.placeholder {
  background: var(--rebar);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--concrete);
  letter-spacing: 0.1em;
}
.placeholder::before { content: attr(data-label); }

/* ── KEYFRAME ANIMATIONS ─────────────────────────────────────── */
@keyframes drift {
  0%   { transform: translateY(-50%) translate(0, 0) rotate(0deg); }
  25%  { transform: translateY(-50%) translate(4px, -8px) rotate(0.3deg); }
  50%  { transform: translateY(-50%) translate(-4px, -6px) rotate(-0.3deg); }
  75%  { transform: translateY(-50%) translate(6px, -10px) rotate(0.2deg); }
  100% { transform: translateY(-50%) translate(0, 0) rotate(0deg); }
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.7; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.08); }
}

@keyframes stripe-scroll {
  from { background-position: 0 0; }
  to   { background-position: 28px 0; }
}

@keyframes scanline {
  0%   { top: -2px; opacity: 0; }
  5%   { opacity: 0.06; }
  95%  { opacity: 0.06; }
  100% { top: 100%; opacity: 0; }
}

@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes flicker {
  0%, 90%, 100% { opacity: 1; }
  92%            { opacity: 0.2; }
  95%            { opacity: 0.8; }
  97%            { opacity: 0.1; }
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(91, 255, 138, 0.4); }
  50%       { box-shadow: 0 0 0 6px rgba(91, 255, 138, 0); }
}

@keyframes hologram-spin {
  from { transform: translateX(-50%) rotateY(0deg); }
  to   { transform: translateX(-50%) rotateY(360deg); }
}

@keyframes arm-idle {
  0%, 100% { transform: translateX(-50%) rotate(-8deg); }
  50%       { transform: translateX(-50%) rotate(8deg); }
}

@keyframes scroll-pulse {
  0%   { transform: scaleY(1); opacity: 1; }
  50%  { transform: scaleY(0.5); opacity: 0.3; }
  100% { transform: scaleY(1); opacity: 1; }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.8); }
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: 14px 28px;
  border-radius: 0;
  cursor: crosshair;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  position: relative;
}

.btn--primary {
  background: var(--reactor);
  color: var(--hull);
  border: 2px solid var(--hull);
}

.btn--primary:hover {
  transform: translate(-3px, -3px);
  box-shadow: 3px 3px 0 var(--hull);
}

.btn--primary:active {
  transform: translate(0, 0);
  box-shadow: none;
}

.btn--secondary {
  background: var(--bone);
  color: var(--hull);
  border: 2px solid var(--hull);
}

.btn--secondary:hover {
  transform: translate(-3px, -3px);
  box-shadow: 3px 3px 0 var(--hull);
}

.btn--ghost {
  background: transparent;
  color: var(--bone);
  border: 2px solid var(--rebar);
}

.btn--ghost:hover {
  border-color: var(--bone);
  color: var(--bone);
}

.btn--transmit.is-loading {
  pointer-events: none;
  background: var(--hull);
  color: var(--alien);
  border-color: var(--alien);
}

.btn--transmit.is-loading::after {
  content: '...';
  animation: cursor-blink 0.8s infinite;
}

/* ── NAVIGATION ──────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--hull);
  border-bottom: 2px solid var(--rebar);
  padding: 0 var(--gutter);
}

.nav::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    var(--reactor) 0px, var(--reactor) 12px,
    var(--hull) 12px, var(--hull) 24px
  );
  animation: stripe-scroll 2s linear infinite;
}

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  height: 100px;
  gap: var(--s8);
}

.nav__logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav__logo-img {
  height: 120px;
  width: 120px;
  display: block;
}

.nav__unit {
  font-size: 9px;
  margin-top: 2px;
}

.nav__links {
  display: flex;
  list-style: none;
  gap: var(--s8);
  margin-left: auto;
}

.nav__links a {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--concrete);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.15s;
}

.nav__links a:hover { color: var(--bone); }

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  background: var(--void);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero__scene {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 1;
}

.hero__scene::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(15, 26, 46, 0.72) 0%,
    rgba(15, 26, 46, 0.4) 55%,
    rgba(15, 26, 46, 0.1) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.hero__scanline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(91, 255, 138, 0.06);
  z-index: 8;
  animation: scanline 10s linear infinite;
  pointer-events: none;
}

.hero__hazard {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  z-index: 9;
  animation: stripe-scroll 1.5s linear infinite;
}

.hero__content {
  position: relative;
  z-index: 6;
  padding: 0 var(--gutter);
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--s6);
  max-width: 600px;
  margin-left: var(--gutter);
  padding-top: 60px;
}

.hero__tag { display: block; margin-bottom: var(--s2); }

.hero__headline {
  font-size: clamp(36px, 5.5vw, 72px);
  color: var(--bone);
}

.hero__sub {
  font-size: clamp(14px, 1.2vw, 17px);
  color: var(--concrete);
  max-width: 40ch;
}

.hero__ctas {
  display: flex;
  gap: var(--s4);
  flex-wrap: wrap;
  margin-top: var(--s4);
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 7;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s2);
  opacity: 0.5;
}

.hero__scroll-arrow {
  width: 1px;
  height: 32px;
  background: var(--concrete);
  animation: scroll-pulse 2s ease-in-out infinite;
}

/* ── SIGNAL ──────────────────────────────────────────────────── */
.signal {
  background: var(--bone);
  padding: var(--s32) var(--gutter) var(--s16);
  position: relative;
  overflow: hidden;
}

.signal__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s16);
  align-items: center;
}

.signal__text { display: flex; flex-direction: column; gap: var(--s8); }

.signal__headline {
  color: var(--hull);
  font-size: clamp(32px, 4vw, 56px);
}

.signal__body { color: var(--rebar); }

.signal__stats {
  display: flex;
  gap: var(--s8);
  margin-top: var(--s4);
  padding-top: var(--s8);
  border-top: 2px solid var(--rebar);
}

.signal__stat { display: flex; flex-direction: column; gap: var(--s1); }

.signal__stat-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--hull);
  line-height: 1;
}

.signal__stat-label { color: var(--concrete); }

.signal__visual {
  position: relative;
  aspect-ratio: 4/3;
  border: 2px solid var(--hull);
  overflow: hidden;
}

.signal__visual::before,
.signal__visual::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hull);
  z-index: 20;
}
.signal__visual::before { top: 10px; left: 10px; }
.signal__visual::after  { top: 10px; right: 10px; }

.signal__reveal {
  cursor: crosshair;
  aspect-ratio: 4/3;
  --rx: -9999px;
  --ry: -9999px;
}

.signal__reveal-bg,
.signal__reveal-top {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.signal__reveal-bg  { z-index: 1; }

.signal__reveal-top {
  z-index: 2;
  mask-image: radial-gradient(circle 120px at var(--rx) var(--ry),
    black 0%, black 45%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle 120px at var(--rx) var(--ry),
    black 0%, black 45%, transparent 80%);
}

.signal__reveal-ring {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 2px solid var(--reactor);
  box-shadow: 0 0 14px var(--reactor), inset 0 0 18px rgba(255, 77, 31, 0.12);
  pointer-events: none;
  z-index: 4;
  left: var(--rx);
  top: var(--ry);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.25s;
}

.signal__reveal.is-active .signal__reveal-ring {
  opacity: 1;
}

.signal__reveal-hint {
  position: absolute;
  bottom: var(--s6);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: var(--alien);
  font-size: 10px;
  letter-spacing: 0.15em;
  opacity: 0.7;
  pointer-events: none;
  animation: cursor-blink 2s ease-in-out infinite;
  transition: opacity 0.3s;
  white-space: nowrap;
}

.signal__reveal.is-active .signal__reveal-hint {
  opacity: 0;
}

/* ── SIGNAL: VIDEO SCRUB ─────────────────────────────────────── */
.signal__scrub {
  aspect-ratio: 4/3;
  background: #000;
}

.signal__scrub-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 1;
}

.signal__scrub-hint {
  position: absolute;
  bottom: var(--s6);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: var(--alien);
  font-size: 10px;
  letter-spacing: 0.15em;
  opacity: 0.7;
  pointer-events: none;
  animation: cursor-blink 2s ease-in-out infinite;
  transition: opacity 0.3s;
  white-space: nowrap;
}

.signal__scrub.is-active .signal__scrub-hint { opacity: 0; }

.signal__floor {
  display: block;
  width: 100%;
  height: 24px;
  object-fit: cover;
  margin-top: var(--s8);
  animation: stripe-scroll 4s linear infinite;
}

/* ── LAB ─────────────────────────────────────────────────────── */
.lab {
  position: relative;
  padding: var(--s32) var(--gutter);
  min-height: 90vh;
  background: var(--hull);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.lab__scene {
  position: absolute;
  inset: 0 0 35% 0;
  overflow: hidden;
}

.lab__bg,
.lab__cabinet,
.lab__hologram,
.lab__arm-base,
.lab__arm-head,
.lab__alien-l,
.lab__alien-r {
  position: absolute;
  pointer-events: none;
}

.lab__bg      { inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }

.lab__scene::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.2)  50%,
    transparent      100%);
  z-index: 3;
  pointer-events: none;
}
.lab__alien-l { bottom: 0; left: 10%; height: 85%; z-index: 4; }
.lab__alien-r { bottom: 0; right: 12%; height: 80%; z-index: 4; }
.lab__arm-base {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 60%;
  z-index: 2;
}
.lab__arm-head {
  bottom: 25%;
  left: 50%;
  transform: translateX(-50%);
  height: 30%;
  z-index: 3;
  transform-origin: bottom center;
  animation: arm-idle 4s ease-in-out infinite;
  will-change: transform;
}
.lab__hologram {
  bottom: 30%;
  left: 50%;
  transform: translateX(-50%);
  height: 20%;
  z-index: 3;
  animation: hologram-spin 8s linear infinite;
}
.lab__cabinet {
  bottom: 0;
  right: 5%;
  height: 70%;
  width: 120px;
  z-index: 3;
  animation: glow-pulse 2s ease-in-out infinite;
}

.lab__scrub-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.4s;
}

#lab-scrub:hover .lab__scrub-video { opacity: 1; }

.lab__gradient {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 55%;
  background: linear-gradient(to top, var(--hull) 50%, transparent);
  z-index: 5;
  pointer-events: none;
}

.lab__cards-wrapper {
  position: relative;
  z-index: 6;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
}

.lab__header {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  margin-bottom: var(--s8);
}

.lab__headline {
  color: var(--bone);
  text-shadow: 0 2px 16px rgba(0,0,0,0.9), 0 0 48px rgba(0,0,0,0.6);
}

.lab__header .section-label {
  text-shadow: 0 1px 8px rgba(0,0,0,0.95), 0 0 24px rgba(0,0,0,0.8);
}

.lab__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
}

.lab__card {
  background: var(--rebar);
  border: 2px solid var(--concrete);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: default;
}

.lab__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 0 var(--reactor);
  border-color: var(--reactor);
}

.lab__card-stripe {
  height: 6px;
  width: 100%;
  animation: stripe-scroll 2s linear infinite;
}

.lab__card-body {
  padding: var(--s8);
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}

.lab__card h3 { color: var(--bone); font-size: 20px; margin-top: var(--s2); }
.lab__card p  { color: var(--concrete); font-size: 14px; }

/* ── WORK ────────────────────────────────────────────────────── */
.work {
  background: var(--bone);
  padding: var(--s32) var(--gutter);
  position: relative;
  overflow: hidden;
}

.work__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--s16);
}

.work__headline { color: var(--hull); margin-bottom: var(--s4); }

.work__entry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s12);
  align-items: center;
}

.work__entry--right { direction: rtl; }
.work__entry--right > * { direction: ltr; }

.work__console {
  border: 2px solid var(--hull);
  background: var(--hull);
  overflow: hidden;
}

.work__console-header {
  background: var(--rebar);
  padding: var(--s2) var(--s4);
  display: flex;
  align-items: center;
  gap: var(--s3);
  border-bottom: 2px solid var(--hull);
}

.work__console-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--reactor);
  animation: pulse-dot 1.5s ease-in-out infinite;
}

.work__console-title {
  font-size: 10px;
  color: var(--concrete);
  letter-spacing: 0.08em;
  flex: 1;
}

.work__console-screen {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #000;
}

.work__console-screen img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.work__scanline {
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(91, 255, 138, 0.5);
  box-shadow: 0 0 8px var(--alien);
  animation: scanline 3.5s linear infinite;
  pointer-events: none;
  z-index: 5;
}

.work__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 6;
  mix-blend-mode: multiply;
}

.work__lights {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 24px;
  z-index: 7;
}

.work__entry-text {
  display: flex;
  flex-direction: column;
  gap: var(--s6);
}

.work__entry-text h3 { color: var(--hull); }
.work__entry-text p  { color: var(--rebar); }

/* ── TRANSMISSIONS ───────────────────────────────────────────── */
.transmissions {
  background: var(--hull);
  padding: var(--s32) 0 var(--s24);
  position: relative;
  overflow: hidden;
}

.transmissions__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
  z-index: 0;
}

.transmissions__overlay {
  position: absolute;
  inset: 0;
  background: var(--hull);
  opacity: 0.7;
  z-index: 1;
}

.transmissions__header {
  position: relative;
  z-index: 2;
  padding: 0 var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto var(--s12);
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}

.transmissions__sub { color: var(--concrete); }

.transmissions__track-wrapper {
  position: relative;
  z-index: 2;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.transmissions__track {
  display: flex;
  gap: var(--s6);
  width: max-content;
  animation: marquee 40s linear infinite;
  padding: var(--s4) var(--gutter);
}

.transmissions__track:hover { animation-play-state: paused; }

.t-card {
  background: var(--rebar);
  border: 1px solid var(--concrete);
  box-shadow: 0 0 0 1px rgba(91, 255, 138, 0.1);
  padding: var(--s8);
  width: 320px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s6);
  transition: box-shadow 0.2s ease;
}

.t-card:hover {
  border-color: var(--alien);
  box-shadow: 0 0 0 1px var(--alien), 0 0 20px rgba(91, 255, 138, 0.1);
}

.t-card__intercepted {
  font-size: 9px;
  letter-spacing: 0.12em;
  opacity: 0.6;
  animation: cursor-blink 1s ease-in-out infinite;
}

.t-card__quote {
  font-size: 13px;
  line-height: 1.7;
  color: var(--alien);
  font-style: normal;
  min-height: 80px;
}

.t-card__attribution {
  display: flex;
  flex-direction: column;
  gap: var(--s1);
  padding-top: var(--s4);
  border-top: 1px solid var(--rebar);
}

.t-card__name { font-weight: 600; color: var(--bone); font-size: 14px; }
.t-card__role { font-size: 10px; color: var(--concrete); }

/* ── AIRLOCK ─────────────────────────────────────────────────── */
.airlock {
  background: var(--hull);
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.airlock__visual {
  position: relative;
  overflow: hidden;
}

.airlock__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 1;
}

.airlock__form-wrapper {
  padding: var(--s24) var(--s16);
  display: flex;
  flex-direction: column;
  gap: var(--s8);
  justify-content: center;
  border-left: 2px solid var(--rebar);
}

.airlock__headline { color: var(--bone); }
.airlock__sub      { color: var(--concrete); }

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}

.form-label {
  font-size: 11px;
  color: var(--concrete);
  letter-spacing: 0.1em;
}

.form-input {
  background: var(--rebar);
  border: 2px solid var(--concrete);
  border-radius: 0;
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 15px;
  padding: var(--s3) var(--s4);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus {
  border-color: var(--reactor);
  box-shadow: inset 0 0 0 1px var(--alien), 0 0 12px rgba(91, 255, 138, 0.15);
}

.form-input--textarea {
  resize: vertical;
  min-height: 120px;
  font-family: var(--font-body);
}

.form-footer {
  display: flex;
  align-items: center;
  gap: var(--s6);
  flex-wrap: wrap;
  margin-top: var(--s4);
}

.airlock__success {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  padding: var(--s8);
  border: 1px solid var(--alien);
  background: rgba(91, 255, 138, 0.05);
}

/* ── FOOTER ──────────────────────────────────────────────────── */
.footer {
  background: var(--hull);
  border-top: 2px solid var(--rebar);
  position: relative;
  overflow: hidden;
}

.footer__hazard {
  height: 5px;
  width: 100%;
  animation: stripe-scroll 2s linear infinite;
}

.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--s12) var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--s8);
}

.footer__logo-img {
  height: 48px;
  width: 48px;
  display: block;
}

.footer__tagline {
  display: block;
  margin-top: var(--s2);
  font-size: 11px;
  color: var(--concrete);
}

.footer__nav {
  display: flex;
  gap: var(--s8);
}

.footer__nav a {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--concrete);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.15s;
}

.footer__nav a:hover { color: var(--bone); }

.footer__status { display: flex; justify-content: flex-end; }

.footer__bar {
  border-top: 1px solid var(--rebar);
  padding: var(--s4) var(--gutter);
  max-width: 100%;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--rebar);
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */

/* Tablet landscape */
@media (max-width: 1024px) {
  .lab__cards { grid-template-columns: 1fr 1fr; }
}

/* Tablet portrait */
@media (max-width: 768px) {
  /* Nav */
  .nav__inner    { height: 64px; }
  .nav__logo-img { height: 52px; width: 52px; }
  .nav__links    { display: none; }
  .nav__cta      { display: none; }

  /* Hero */
  .hero__content { margin-left: 0; padding: 0 var(--gutter); padding-top: 64px; }

  /* Signal */
  .signal { padding: var(--s16) var(--gutter); }
  .signal__inner  { grid-template-columns: 1fr; gap: var(--s8); }
  .signal__visual { aspect-ratio: 4/3; }
  .signal__reveal { aspect-ratio: 4/3; }

  /* Lab */
  .lab         { padding: var(--s16) var(--gutter); min-height: auto; }
  .lab__scene  { inset: 0 0 50% 0; }
  .lab__cards  { grid-template-columns: 1fr; }

  /* Work */
  .work        { padding: var(--s16) var(--gutter); }
  .work__entry { grid-template-columns: 1fr; direction: ltr; }
  .work__entry--right > * { direction: ltr; }

  /* Airlock */
  .airlock              { grid-template-columns: 1fr; min-height: auto; }
  .airlock__visual      { height: 55vw; min-height: 260px; }
  .airlock__form-wrapper { padding: var(--s12) var(--gutter); border-left: none; border-top: 2px solid var(--rebar); }

  /* Footer */
  .footer__inner  { grid-template-columns: 1fr; text-align: center; gap: var(--s6); }
  .footer__nav    { justify-content: center; flex-wrap: wrap; }
  .footer__status { justify-content: center; }
  .footer__logo-img { margin: 0 auto; }
  .footer__bar    { flex-direction: column; gap: var(--s2); text-align: center; }
}

/* Mobile phone */
@media (max-width: 480px) {
  /* Nav */
  .nav__inner    { height: 56px; }
  .nav__logo-img { height: 44px; width: 44px; }

  /* Typography */
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  h3 { font-size: 18px; }

  /* Hero */
  .hero__ctas { flex-direction: column; align-items: flex-start; }
  .hero__sub  { font-size: 14px; }

  /* Signal */
  .signal__stats  { flex-direction: column; gap: var(--s4); }
  .signal__visual { display: none; }

  /* Lab */
  .lab__scene { inset: 0 0 55% 0; }

  /* Work */
  .work__console-screen { aspect-ratio: 16/9; }

  /* Airlock */
  .airlock__visual       { height: 60vw; }
  .airlock__headline     { font-size: 28px; }
  .airlock__form-wrapper { padding: var(--s8) var(--s4); }

  /* Buttons */
  .btn { padding: 12px 20px; font-size: 11px; }
}
