:root {
  --ink: #0f1b2d;
  --ink-soft: #3a516e;
  --paper: #eef4f8;
  --sky-0: #071525;
  --sky-1: #0c2a44;
  --sky-2: #13405f;
  --cyan: #3dffe8;
  --magenta: #ff5c8a;
  --amber: #ffb347;
  --mint: #7cffb2;
  --blue: #7ea8ff;
  --accent: #ff7a3d;
  --accent-deep: #e55a18;
  --safe: #2f6f5e;
  --warn: #b45309;
  --danger: #b42318;
  --line: rgba(15, 27, 45, 0.12);
  --glass: rgba(255, 255, 255, 0.55);
  --font-display: "Rajdhani", "Noto Sans SC", "PingFang SC", sans-serif;
  --font-brand: "Orbitron", "Rajdhani", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Helvetica Neue", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  background:
    radial-gradient(1000px 520px at 85% -5%, rgba(61, 255, 232, 0.12), transparent 55%),
    radial-gradient(800px 480px at 5% 15%, rgba(255, 179, 71, 0.1), transparent 50%),
    linear-gradient(180deg, #dce8f2 0%, var(--paper) 30%, #e8eef4 100%);
  min-height: 100vh;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1.25rem, 4vw, 3rem);
  background: rgba(7, 21, 37, 0.82);
  border-bottom: 1px solid rgba(61, 255, 232, 0.12);
  backdrop-filter: blur(12px);
  color: #e8f4ff;
  transition:
    background 0.35s var(--ease),
    color 0.35s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.site-header.is-light {
  background: rgba(238, 244, 248, 0.9);
  border-bottom-color: rgba(15, 27, 45, 0.1);
  color: #0f1b2d;
  box-shadow: 0 8px 24px rgba(15, 27, 45, 0.06);
}

.logo {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: inherit;
  transition: color 0.35s var(--ease);
}

.site-header.is-light .logo {
  color: #0f1b2d;
}

.site-header:not(.is-light) .logo {
  color: #e8f4ff;
}

.nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav a {
  color: inherit;
  opacity: 0.78;
  transition: opacity 0.25s var(--ease), color 0.25s var(--ease);
}

.nav a:hover {
  opacity: 1;
}

.site-header:not(.is-light) .nav a:hover {
  color: var(--cyan);
}

.site-header.is-light .nav a:hover {
  color: var(--accent-deep);
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-content: end;
  padding: 6.5rem clamp(1.25rem, 4vw, 3rem) 4rem;
  overflow: hidden;
  color: #eaf6ff;
}

.hero-sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 70% 20%, rgba(126, 168, 255, 0.28), transparent 60%),
    radial-gradient(ellipse 55% 40% at 15% 30%, rgba(61, 255, 232, 0.18), transparent 55%),
    radial-gradient(ellipse 40% 35% at 85% 55%, rgba(255, 92, 138, 0.16), transparent 50%),
    linear-gradient(165deg, #050d18 0%, #0a2238 42%, #12324c 72%, #1a3d4a 100%);
  z-index: 0;
}

.hero-aurora {
  position: absolute;
  inset: -20% -10% auto;
  height: 70%;
  filter: blur(40px);
  opacity: 0.55;
  pointer-events: none;
}

.hero-aurora-a {
  background:
    radial-gradient(circle at 30% 40%, rgba(61, 255, 232, 0.45), transparent 45%),
    radial-gradient(circle at 70% 30%, rgba(126, 168, 255, 0.35), transparent 40%);
  animation: auroraShift 12s ease-in-out infinite alternate;
}

.hero-aurora-b {
  background:
    radial-gradient(circle at 75% 50%, rgba(255, 92, 138, 0.3), transparent 42%),
    radial-gradient(circle at 45% 70%, rgba(255, 179, 71, 0.22), transparent 40%);
  animation: auroraShift 16s ease-in-out infinite alternate-reverse;
}

.hero-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(255, 255, 255, 0.85), transparent),
    radial-gradient(1.5px 1.5px at 28% 42%, rgba(61, 255, 232, 0.8), transparent),
    radial-gradient(1px 1px at 48% 12%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1.5px 1.5px at 66% 28%, rgba(255, 179, 71, 0.75), transparent),
    radial-gradient(1px 1px at 82% 16%, rgba(255, 92, 138, 0.7), transparent),
    radial-gradient(1.5px 1.5px at 90% 48%, rgba(124, 255, 178, 0.7), transparent),
    radial-gradient(1px 1px at 18% 62%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 55% 55%, rgba(126, 168, 255, 0.65), transparent);
  animation: starTwinkle 4.5s ease-in-out infinite;
}

.hero-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    180deg,
    transparent 0,
    transparent 3px,
    rgba(61, 255, 232, 0.03) 3px,
    rgba(61, 255, 232, 0.03) 4px
  );
  pointer-events: none;
  mix-blend-mode: soft-light;
}

.hero-grid {
  position: absolute;
  inset: 8% 0 18%;
  background-image:
    linear-gradient(rgba(61, 255, 232, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 168, 255, 0.1) 1px, transparent 1px);
  background-size: 56px 56px;
  transform: perspective(520px) rotateX(58deg) translateY(-8%);
  transform-origin: center top;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 88%);
  animation: gridDrift 22s linear infinite;
}

.hero-horizon {
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(180deg, transparent, rgba(238, 244, 248, 0.15) 40%, rgba(238, 244, 248, 0.96) 88%, var(--paper));
  pointer-events: none;
}

.hero-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scene .radar-ring {
  fill: none;
  stroke: rgba(61, 255, 232, 0.35);
  stroke-width: 1.2;
}

.hero-scene .radar-sweep {
  fill: rgba(61, 255, 232, 0.12);
}

.hero-scene .radar-sweep-g {
  transform-origin: 0px 0px;
  animation: radarSpin 4.5s linear infinite;
}

.hero-scene .blip {
  animation: blipPulse 2.2s ease-in-out infinite;
}

.hero-scene .blip.b2 { animation-delay: 0.4s; }
.hero-scene .blip.b3 { animation-delay: 0.9s; }

.hero-scene .orbit {
  fill: none;
  stroke: rgba(126, 168, 255, 0.35);
  stroke-dasharray: 4 8;
  animation: orbitDash 14s linear infinite;
}

.hero-scene .orbit.o2 {
  stroke: rgba(255, 179, 71, 0.35);
  animation-duration: 10s;
  animation-direction: reverse;
}

.hero-scene .sat {
  animation: satPulse 3s ease-in-out infinite;
}

.hero-scene .sat.s2 {
  animation-delay: 1s;
}

.hero-scene .strip {
  transform-origin: center bottom;
  animation: stripPulse 2.4s ease-in-out infinite;
}

.hero-scene .strip.s2 { animation-delay: 0.2s; }
.hero-scene .strip.s3 { animation-delay: 0.4s; }
.hero-scene .strip.s4 { animation-delay: 0.1s; }
.hero-scene .strip.s5 { animation-delay: 0.3s; }
.hero-scene .strip.s6 { animation-delay: 0.5s; }

.hero-scene .hero-drone {
  animation: droneFloat 5.5s var(--ease) infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.hero-scene .beam {
  opacity: 0.45;
  animation: beamPulse 2.8s ease-in-out infinite;
}

.hero-scene .beam-r { animation-delay: 0.4s; }
.hero-scene .beam-f { animation-delay: 0.8s; }

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 40rem;
}

.brand-mark {
  margin: 0 0 0.75rem;
  font-family: var(--font-brand);
  font-size: clamp(2.35rem, 7vw, 4.6rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(105deg, #ffffff 10%, var(--cyan) 42%, var(--amber) 68%, var(--magenta) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: riseIn 0.9s var(--ease) both;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.5vw, 2.45rem);
  font-weight: 600;
  line-height: 1.3;
  max-width: 18em;
  color: #f3f9ff;
  animation: riseIn 0.9s var(--ease) 0.12s both;
}

.lede {
  margin: 0 0 1.75rem;
  color: rgba(210, 228, 245, 0.86);
  max-width: 34em;
  animation: riseIn 0.9s var(--ease) 0.22s both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: riseIn 0.9s var(--ease) 0.32s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 0.35rem;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 550;
  cursor: pointer;
  transition:
    transform 0.2s var(--ease),
    background 0.2s var(--ease),
    border-color 0.2s var(--ease),
    color 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    filter 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(120deg, var(--accent) 0%, #ff5c8a 55%, #c45cff 100%);
  color: #fff7f2;
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(120deg, #ffe08a 0%, #ff7a3d 40%, #ff3d7a 100%);
  color: #1a1020;
  box-shadow: 0 8px 22px rgba(255, 122, 61, 0.45);
  filter: saturate(1.15);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(15, 27, 45, 0.28);
  color: var(--ink);
}

.btn-ghost:hover {
  background: #0f1b2d;
  border-color: #0f1b2d;
  color: #e8f4ff;
  box-shadow: 0 8px 20px rgba(15, 27, 45, 0.22);
}

.btn-ghost:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.hero .btn-ghost {
  background: rgba(8, 24, 42, 0.35);
  border-color: rgba(61, 255, 232, 0.45);
  color: #e8f7ff;
}

.hero .btn-ghost:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #062018;
  box-shadow: 0 8px 22px rgba(61, 255, 232, 0.35);
}

.lab-actions .btn-primary:hover {
  background: linear-gradient(120deg, #3dffe8 0%, #7ea8ff 50%, #c45cff 100%);
  color: #071525;
  box-shadow: 0 8px 22px rgba(61, 255, 232, 0.35);
}

.lab-actions .btn-ghost:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff7f2;
  box-shadow: 0 8px 20px rgba(255, 122, 61, 0.3);
}

.section {
  padding: clamp(4rem, 10vw, 7rem) clamp(1.25rem, 4vw, 3rem);
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.section h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 500;
  line-height: 1.3;
  max-width: 16em;
}

.section-lede {
  margin: 0 0 2.5rem;
  color: var(--ink-soft);
  max-width: 40em;
}

.principle-list {
  display: grid;
  gap: 2rem 3rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}

.principle h3 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

.principle p {
  margin: 0;
  color: var(--ink-soft);
}

.systems-layout {
  display: grid;
  gap: 1.5rem;
}

.system-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.system-tab {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  padding: 0.55rem 0.95rem;
  border-radius: 0.3rem;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.sys-icon {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

.system-copy-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.system-copy-head .sys-icon-lg {
  width: 2.4rem;
  height: 2.4rem;
  padding: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.45);
  color: var(--accent);
}

.system-copy-head h3 {
  margin: 0;
}

.system-tab:hover {
  border-color: rgba(26, 35, 50, 0.35);
  color: var(--ink);
}

.system-tab.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #f4f7f9;
}

.system-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: stretch;
}

.system-visual {
  margin: 0;
  background: #d9e7ee;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}

.system-photo-btn {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: #1a2332;
  cursor: zoom-in;
}

.system-visual img,
.system-photo-btn img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}

.system-photo-btn:hover img {
  transform: scale(1.03);
  opacity: 0.92;
}

.zoom-hint {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.3rem 0.55rem;
  border-radius: 0.25rem;
  background: rgba(26, 35, 50, 0.72);
  color: #f4f7f9;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  pointer-events: none;
}

.system-visual figcaption {
  margin: 0;
  padding: 0.65rem 0.85rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  font-size: 0.78rem;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.65);
  border-top: 1px solid var(--line);
}

.photo-source-link {
  color: var(--accent);
  font-weight: 550;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  white-space: nowrap;
}

.photo-source-link:hover {
  color: var(--accent-deep);
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 18, 28, 0.72);
  backdrop-filter: blur(6px);
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: min(92vh, 900px);
  display: flex;
  flex-direction: column;
  background: #f7fafb;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0.45rem;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  animation: riseIn 0.35s var(--ease) both;
}

.lightbox-dialog img {
  width: 100%;
  max-height: calc(92vh - 5.5rem);
  object-fit: contain;
  background: #121820;
}

.lightbox-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
}

.lightbox-meta p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.lightbox-meta a {
  color: var(--accent);
  font-weight: 550;
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.lightbox-close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 2;
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  border-radius: 0.3rem;
  background: rgba(26, 35, 50, 0.75);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover {
  background: rgba(26, 35, 50, 0.95);
}

.system-copy {
  padding: 0.25rem 0;
}

.system-copy h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.system-meta {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 1.25rem;
  padding: 0;
}

.system-meta div {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.system-meta dt {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.system-meta dd {
  margin: 0;
  color: var(--ink-soft);
}

.system-copy p {
  margin: 0;
  color: var(--ink-soft);
}

.lab {
  background:
    linear-gradient(180deg, rgba(158, 201, 219, 0.28), rgba(158, 201, 219, 0.1) 40%, transparent);
  border-block: 1px solid rgba(26, 35, 50, 0.08);
  scroll-margin-top: 4.5rem;
}

.lab .eyebrow {
  font-size: 0.85rem;
}

.lab h2 {
  max-width: 20em;
}

.lab-stage {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 1rem;
  align-items: stretch;
}

.field-speed input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
  height: 2.85rem;
}

.field-speed strong {
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.9rem;
}

.field-check .check-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.85rem;
  font-size: 0.92rem;
  color: var(--ink);
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}

.field-check .check-row input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--accent);
  cursor: pointer;
}

.sim-viewport {
  position: relative;
  min-height: 420px;
  border-radius: 0.55rem;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 14px 36px rgba(40, 60, 80, 0.12);
  background: #1a2332;
}

.sim-viewport #simCanvas {
  width: 100% !important;
  height: 100% !important;
  min-height: 420px;
  display: block;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  touch-action: none;
  cursor: grab;
}

.sim-viewport #simCanvas:active {
  cursor: grabbing;
}

.sim-hint {
  position: absolute;
  left: 0.75rem;
  bottom: 0.65rem;
  margin: 0;
  padding: 0.3rem 0.55rem;
  border-radius: 0.25rem;
  background: rgba(20, 28, 40, 0.55);
  color: rgba(242, 246, 248, 0.85);
  font-size: 0.72rem;
  pointer-events: none;
}

.lab-controls {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.25rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.field select {
  appearance: none;
  width: 100%;
  min-height: 2.85rem;
  padding: 0.55rem 2rem 0.55rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  background:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%) calc(100% - 14px) calc(50% - 2px) / 6px 6px no-repeat,
    linear-gradient(135deg, var(--ink) 50%, transparent 50%) calc(100% - 9px) calc(50% - 2px) / 6px 6px no-repeat,
    rgba(255, 255, 255, 0.7);
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
}

.lab-actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.lab-telemetry {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  padding: 1rem;
  backdrop-filter: blur(10px);
}

.lab-telemetry dl {
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.lab-telemetry dl > div {
  display: grid;
  gap: 0.15rem;
}

.lab-telemetry dt {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.lab-telemetry dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
}

.lab-note {
  margin: 1.25rem 0 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.closing {
  text-align: left;
}

.closing .section-lede {
  margin-bottom: 1.5rem;
}

.site-footer {
  padding: 2.5rem clamp(1.25rem, 4vw, 3rem) 3rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0 0 0.35rem;
  max-width: 1120px;
}

.site-footer .fine {
  font-size: 0.8rem;
  opacity: 0.85;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes droneFloat {
  0%, 100% { transform: translate(600px, 300px) translateY(0); }
  50% { transform: translate(600px, 300px) translateY(-14px); }
}

@keyframes beamPulse {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 0.85; }
}

@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 56px 56px, 56px 56px; }
}

@keyframes auroraShift {
  from { transform: translate3d(-2%, 0, 0) scale(1); }
  to { transform: translate3d(3%, 2%, 0) scale(1.06); }
}

@keyframes starTwinkle {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 1; }
}

@keyframes radarSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes blipPulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

@keyframes orbitDash {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -120; }
}

@keyframes satPulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

@keyframes stripPulse {
  0%, 100% { transform: scaleY(0.55); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 0.9; }
}

@media (max-width: 900px) {
  .principle-list,
  .system-panel,
  .lab-stage,
  .lab-controls {
    grid-template-columns: 1fr;
  }

  .lab-actions {
    width: 100%;
  }

  .lab-actions .btn {
    flex: 1;
  }
}

@media (max-width: 640px) {
  .nav {
    gap: 0.9rem;
    font-size: 0.82rem;
  }

  .hero {
    align-content: end;
    padding-top: 7rem;
  }

  .hero-copy {
    margin-top: 28vh;
  }

  .cta-row {
    width: 100%;
  }

  .cta-row .btn {
    flex: 1;
  }
}

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