@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&family=Michroma&display=swap");

:root {
  color-scheme: dark;
  --void: #020304;
  --hull: #080c10;
  --hull-2: #101923;
  --panel: rgba(12, 18, 24, 0.78);
  --panel-solid: #101820;
  --ink: #f3f7ee;
  --muted: #aab5b0;
  --quiet: #64716f;
  --line: rgba(222, 246, 255, 0.13);
  --line-strong: rgba(222, 246, 255, 0.28);
  --danger: #6ee7ff;
  --danger-deep: #0a3440;
  --amber: #ffc66d;
  --cyan: #6ee7ff;
  --green: #77ffb2;
  --radius-xl: 34px;
  --radius-lg: 24px;
  --shadow: 0 42px 120px rgba(0, 0, 0, 0.62);
  --display: "Michroma", "Eurostile Extended", "Bank Gothic", "Orbitron", "Segoe UI", system-ui, sans-serif;
  --mono: "Michroma", "Share Tech Mono", "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-family: "Inter", "Aptos", "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 58% 31%, rgba(246, 243, 232, 0.11), transparent 19%),
    radial-gradient(circle at 18% 70%, rgba(110, 231, 255, 0.08), transparent 28%),
    radial-gradient(circle at 72% 24%, rgba(255, 255, 255, 0.055), transparent 26%),
    linear-gradient(180deg, #051013 0%, #071014 38%, #020304 100%);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  top: clamp(34px, 3.6vw, 70px);
  left: 61%;
  width: clamp(940px, 91vw, 1580px);
  aspect-ratio: 2;
  z-index: -5;
  background: url("assets/event-horizon.svg") center / contain no-repeat;
  content: "";
  filter: saturate(1.14) contrast(1.06) drop-shadow(0 0 68px rgba(126, 160, 255, 0.16));
  mask-image: radial-gradient(ellipse at 58% 48%, #000 0 54%, rgba(0, 0, 0, 0.72) 65%, transparent 82%);
  mix-blend-mode: screen;
  opacity: 0.9;
  transform: translateX(-50%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), transparent 24% 72%, rgba(0, 0, 0, 0.76)),
    radial-gradient(ellipse 47% 38% at 59% 34%, rgba(1, 3, 6, 0.04) 0 24%, rgba(255, 255, 255, 0.055) 38%, rgba(0, 0, 0, 0.18) 49%, rgba(0, 0, 0, 0.82) 78%),
    radial-gradient(ellipse at 47% 68%, rgba(230, 206, 190, 0.16), transparent 34%),
    linear-gradient(180deg, transparent 0 58%, rgba(0, 0, 0, 0.72) 88%, #000 100%);
  content: "";
  pointer-events: none;
}

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

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #000;
  color: var(--ink);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.stars,
.ship-ribs,
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.stars {
  z-index: -6;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.98) 0 1px, transparent 1.45px),
    radial-gradient(circle, rgba(245, 230, 207, 0.92) 0 1.2px, transparent 1.7px),
    radial-gradient(circle, rgba(190, 225, 238, 0.74) 0 1px, transparent 1.45px),
    radial-gradient(circle, rgba(255, 255, 255, 0.58) 0 1px, transparent 1.2px),
    radial-gradient(circle, rgba(255, 255, 255, 0.52) 0 2px, transparent 2.6px);
  background-position: 0 0, 34px 52px, 90px 18px, 12px 96px, 64px 22px;
  background-size: 58px 58px, 104px 104px, 152px 152px, 226px 226px, 310px 310px;
  opacity: 0.82;
}

.stars-near {
  animation: drift-stars 44s linear infinite;
}

.stars-far {
  opacity: 0.24;
  transform: scale(1.4);
  animation: drift-stars 90s linear infinite reverse;
}

.ship-ribs {
  z-index: -4;
}

.ship-ribs::before,
.ship-ribs::after {
  position: absolute;
  left: 50%;
  content: "";
}

.ship-ribs::before {
  display: none;
}

.ship-ribs::after {
  display: none;
}

.noise {
  z-index: -1;
  opacity: 0.19;
  background-image:
    repeating-radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.4) 0 1px, transparent 1px 5px),
    radial-gradient(circle at 58% 32%, rgba(255, 255, 255, 0.12), transparent 22%),
    linear-gradient(180deg, transparent 0 55%, rgba(221, 207, 196, 0.18) 74%, rgba(0, 0, 0, 0.86) 100%);
  mix-blend-mode: screen;
}

.page-shell {
  width: min(1240px, calc(100% - 44px));
  margin: 0 auto;
  overflow: clip;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.brand img {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(110, 231, 255, 0.24);
  border-radius: 16px;
  object-fit: contain;
  box-shadow: 0 0 32px rgba(255, 36, 79, 0.18);
}

nav {
  display: flex;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(4, 8, 11, 0.76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(20px);
}

nav a {
  padding: 10px 15px;
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
}

nav a:hover,
nav a:focus-visible {
  color: var(--ink);
  background: rgba(110, 231, 255, 0.08);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 880px);
  gap: 0;
  align-items: center;
  min-height: 720px;
  padding: 60px 0 104px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

.eyebrow,
.section-kicker,
.meta,
.signal-strip span,
.hatch-label,
.bay-controls,
.console-readout {
  font-family: var(--mono);
  text-transform: uppercase;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: rgba(246, 239, 219, 0.86);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.42em;
  line-height: 1.45;
}

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

h1 {
  max-width: 880px;
  margin-bottom: 30px;
  font-family: var(--display);
  font-size: clamp(36px, 6.15vw, 84px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.105em;
  text-shadow:
    0 0 34px rgba(255, 255, 255, 0.24),
    0 16px 90px rgba(0, 0, 0, 0.72);
  text-transform: uppercase;
}

h2 {
  margin-bottom: 0;
  font-family: var(--display);
  font-size: clamp(34px, 4.8vw, 70px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 10px;
  font-family: var(--display);
  font-size: clamp(23px, 2vw, 31px);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: 0.035em;
}

p {
  color: var(--muted);
  line-height: 1.68;
}

.hero-lede {
  max-width: 690px;
  margin-bottom: 0;
  color: rgba(237, 242, 236, 0.88);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.72);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible,
.dock-actions a:not(.button):hover,
.dock-actions a:not(.button):focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent),
    linear-gradient(135deg, rgba(232, 244, 247, 0.36), rgba(92, 134, 154, 0.78) 48%, rgba(8, 24, 31, 0.94));
  box-shadow: 0 22px 80px rgba(110, 231, 255, 0.16);
}

.button-secondary {
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: rgba(110, 231, 255, 0.055);
}

.signal-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.signal-strip span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: rgba(237, 242, 236, 0.72);
  background: rgba(3, 5, 7, 0.42);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.viewport-card {
  position: relative;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(110, 231, 255, 0.08), rgba(255, 36, 79, 0.04)),
    rgba(5, 9, 12, 0.84);
  box-shadow: var(--shadow);
}

.viewport-card::before,
.viewport-card::after {
  position: absolute;
  inset: -34px;
  z-index: -1;
  border: 1px solid rgba(110, 231, 255, 0.08);
  border-radius: 48% 52% 45% 55%;
  content: "";
}

.viewport-card::after {
  inset: 52px -28px;
  border-color: rgba(255, 36, 79, 0.16);
  transform: rotate(-18deg);
}

.viewport-glass {
  position: relative;
  display: grid;
  min-height: 490px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(222, 246, 255, 0.12);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 36, 79, 0.22), transparent 23%),
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.08), transparent 32%),
    linear-gradient(145deg, #101820, #030507 64%);
}

.viewport-glass::before {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(222, 246, 255, 0.08);
  border-radius: 24px;
  content: "";
}

.viewport-glass::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 49.6%, rgba(110, 231, 255, 0.16) 49.8% 50.2%, transparent 50.4%),
    linear-gradient(transparent 49.6%, rgba(110, 231, 255, 0.12) 49.8% 50.2%, transparent 50.4%);
  content: "";
  opacity: 0.46;
}

.viewport-glass img {
  position: relative;
  z-index: 3;
  width: min(290px, 60%);
  opacity: 0.3;
  filter: drop-shadow(0 28px 70px rgba(255, 36, 79, 0.42));
}

.black-hole {
  position: absolute;
  width: min(390px, 78%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  animation: horizon-pulse 6s ease-in-out infinite;
}

.singularity {
  position: absolute;
  width: 36%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #000;
  box-shadow:
    0 0 0 18px rgba(0, 0, 0, 0.38),
    0 0 70px rgba(255, 36, 79, 0.58),
    0 0 120px rgba(255, 198, 109, 0.22);
}

.accretion {
  position: absolute;
  width: 100%;
  height: 24%;
  border-radius: 50%;
  background: linear-gradient(90deg, transparent 4%, var(--danger), #fff4c8 48%, var(--amber), transparent 96%);
  filter: blur(1px);
  transform: rotate(-13deg);
}

.accretion-two {
  width: 82%;
  opacity: 0.64;
  transform: rotate(16deg);
}

.trajectory {
  position: absolute;
  border: 1px solid rgba(110, 231, 255, 0.18);
  border-radius: 50%;
}

.trajectory-one {
  width: 76%;
  aspect-ratio: 1;
  transform: rotate(-22deg);
}

.trajectory-two {
  width: 58%;
  aspect-ratio: 1;
  border-color: rgba(255, 198, 109, 0.16);
  transform: rotate(34deg);
}

.console-readout {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #d7e6e0;
  background: rgba(0, 0, 0, 0.36);
  font-size: 12px;
  letter-spacing: 0.05em;
}

.console-readout span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 24px rgba(119, 255, 178, 0.9);
}

.transmissions,
.mission,
.dock {
  padding: 98px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 0.52fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 30px;
}

.section-heading p {
  margin-bottom: 6px;
  font-size: 18px;
}

.bay-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(4, 8, 11, 0.7);
  color: var(--quiet);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.sound-toggle {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(110, 231, 255, 0.22);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(110, 231, 255, 0.06);
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  text-transform: uppercase;
}

.sound-toggle[aria-pressed="true"] {
  border-color: rgba(119, 255, 178, 0.42);
  box-shadow: 0 0 28px rgba(119, 255, 178, 0.14);
}

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

.hatch-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), transparent 13% 72%, rgba(0, 0, 0, 0.36)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(5, 10, 14, 0.8);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -18px 38px rgba(0, 0, 0, 0.3),
    0 26px 90px rgba(0, 0, 0, 0.36);
  transform: translateY(18px);
  animation: card-arrival 560ms ease forwards;
  animation-delay: var(--delay, 0ms);
  opacity: 0;
}

.hatch-shell {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 250px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(222, 246, 255, 0.12);
  border-radius: 18px;
  clip-path: polygon(8% 0, 92% 0, 100% 12%, 100% 88%, 92% 100%, 8% 100%, 0 88%, 0 12%);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 16%, rgba(0, 0, 0, 0.46) 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 18px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035), transparent 18% 82%, rgba(255, 255, 255, 0.03)),
    radial-gradient(circle at 50% 45%, rgba(222, 246, 255, 0.08), transparent 34%),
    linear-gradient(90deg, rgba(108, 129, 139, 0.46) 0 9%, transparent 9% 91%, rgba(108, 129, 139, 0.42) 91% 100%),
    linear-gradient(180deg, rgba(175, 196, 202, 0.16) 0 8%, transparent 8% 86%, rgba(0, 0, 0, 0.5) 86% 100%),
    linear-gradient(135deg, #111820, #050708 70%);
  box-shadow:
    inset 0 0 0 12px rgba(6, 12, 16, 0.78),
    inset 0 0 0 14px rgba(190, 218, 228, 0.08),
    inset 0 26px 56px rgba(255, 255, 255, 0.045),
    inset 0 -32px 56px rgba(0, 0, 0, 0.64);
  cursor: pointer;
  color: var(--ink);
  font: inherit;
}

.hatch-media {
  position: absolute;
  inset: 22% 16% 17%;
  z-index: 1;
  border: 1px solid rgba(222, 246, 255, 0.16);
  border-radius: 8px;
  background-position: center;
  background-size: cover;
  box-shadow:
    inset 0 0 40px rgba(0, 0, 0, 0.58),
    0 0 36px rgba(255, 255, 255, 0.08);
  clip-path: polygon(7% 0, 93% 0, 100% 14%, 100% 86%, 93% 100%, 7% 100%, 0 86%, 0 14%);
  filter: saturate(0.92) brightness(0.78) contrast(1.12);
  opacity: 0.92;
  transform: scale(1.03);
  transition: opacity 360ms ease, transform 620ms ease, filter 360ms ease;
}

.hatch-shell::before {
  position: absolute;
  inset: 0;
  z-index: 5;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0 5%, transparent 5% 95%, rgba(0, 0, 0, 0.74) 95% 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.82) 0 11%, transparent 11% 86%, rgba(0, 0, 0, 0.7) 86% 100%),
    linear-gradient(135deg, transparent 0 10%, rgba(205, 230, 236, 0.16) 10.4% 11%, transparent 11.5% 88%, rgba(205, 230, 236, 0.13) 88.5% 89.1%, transparent 89.6%),
    linear-gradient(45deg, transparent 0 10%, rgba(205, 230, 236, 0.12) 10.4% 11%, transparent 11.5% 88%, rgba(205, 230, 236, 0.1) 88.5% 89.1%, transparent 89.6%);
  content: "";
  pointer-events: none;
}

.hatch-shell::after {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 9px;
  z-index: 6;
  height: 10px;
  background:
    linear-gradient(90deg, transparent, rgba(206, 226, 230, 0.18), transparent),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 18px),
    rgba(4, 8, 11, 0.82);
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.08), 0 5px 16px rgba(0, 0, 0, 0.56);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease 260ms;
}

.hatch-door {
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: 3;
  height: 108%;
  background:
    radial-gradient(circle at 12% 17%, rgba(231, 243, 246, 0.62) 0 2px, rgba(3, 8, 11, 0.88) 2.5px 6px, transparent 6.5px),
    radial-gradient(circle at 88% 17%, rgba(231, 243, 246, 0.58) 0 2px, rgba(3, 8, 11, 0.86) 2.5px 6px, transparent 6.5px),
    radial-gradient(circle at 12% 84%, rgba(231, 243, 246, 0.5) 0 2px, rgba(3, 8, 11, 0.9) 2.5px 6px, transparent 6.5px),
    radial-gradient(circle at 88% 84%, rgba(231, 243, 246, 0.48) 0 2px, rgba(3, 8, 11, 0.9) 2.5px 6px, transparent 6.5px),
    linear-gradient(90deg, transparent 0 47.8%, rgba(2, 6, 9, 0.92) 48.2% 51.8%, transparent 52.2% 100%),
    linear-gradient(180deg, transparent 0 21%, rgba(215, 233, 238, 0.1) 21.4% 22.4%, rgba(0, 0, 0, 0.34) 22.8% 25%, transparent 25.4% 74%, rgba(215, 233, 238, 0.08) 74.4% 75.4%, rgba(0, 0, 0, 0.36) 75.8% 78%, transparent 78.4%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 17px),
    repeating-linear-gradient(0deg, transparent 0 19px, rgba(255, 255, 255, 0.05) 19px 20px),
    linear-gradient(90deg, rgba(190, 208, 212, 0.2) 0 1px, transparent 1px 12%, rgba(0, 0, 0, 0.38) 12% 15%, transparent 15% 85%, rgba(0, 0, 0, 0.38) 85% 88%, rgba(190, 208, 212, 0.18) 88% 100%),
    linear-gradient(145deg, #4b5a61, #222d35 31%, #0d151b 64%, #05090d 100%);
  box-shadow:
    inset 0 0 0 10px rgba(2, 5, 7, 0.48),
    inset 0 0 0 12px rgba(220, 239, 242, 0.08),
    inset 0 24px 44px rgba(255, 255, 255, 0.06),
    inset 0 -24px 48px rgba(0, 0, 0, 0.56),
    0 20px 48px rgba(0, 0, 0, 0.58);
  clip-path: polygon(8% 0, 92% 0, 100% 12%, 100% 88%, 92% 100%, 8% 100%, 0 88%, 0 12%);
  filter: saturate(0.74) contrast(1.2) brightness(0.94);
  transform: translateY(-108%);
  transition: transform 660ms cubic-bezier(0.18, 0.82, 0.18, 1), filter 220ms ease;
}

.hatch-door::before,
.hatch-door::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hatch-door::before {
  inset: 18px 22px 34px;
  border: 1px solid rgba(221, 239, 243, 0.16);
  border-radius: 10px;
  clip-path: polygon(6% 0, 94% 0, 100% 16%, 100% 84%, 94% 100%, 6% 100%, 0 84%, 0 16%);
  background:
    linear-gradient(90deg, transparent 0 48%, rgba(0, 0, 0, 0.62) 48.5% 51.5%, transparent 52%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.34)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 28px);
  box-shadow:
    inset 0 0 28px rgba(0, 0, 0, 0.52),
    inset 0 0 0 8px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(0, 0, 0, 0.32);
}

.hatch-door::after {
  left: 19%;
  right: 19%;
  bottom: 24px;
  height: 18px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent, rgba(222, 240, 244, 0.28), transparent),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px 16px),
    rgba(2, 6, 8, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 -8px 18px rgba(0, 0, 0, 0.44);
}

.hatch-door-left {
  height: 108%;
}

.hatch-door-right {
  height: 32%;
  z-index: 4;
  background:
    radial-gradient(circle at 17% 35%, rgba(235, 246, 248, 0.5) 0 2px, rgba(0, 0, 0, 0.82) 2.5px 5px, transparent 5.5px),
    radial-gradient(circle at 83% 35%, rgba(235, 246, 248, 0.48) 0 2px, rgba(0, 0, 0, 0.82) 2.5px 5px, transparent 5.5px),
    linear-gradient(90deg, transparent 0 48%, rgba(0, 0, 0, 0.58) 48.6% 51.4%, transparent 52%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 22px),
    linear-gradient(180deg, rgba(226, 241, 244, 0.28), rgba(70, 84, 92, 0.94) 38%, rgba(8, 14, 19, 0.98));
  box-shadow:
    inset 0 0 0 10px rgba(0, 0, 0, 0.3),
    inset 0 -8px 22px rgba(0, 0, 0, 0.58),
    0 10px 28px rgba(0, 0, 0, 0.4);
  clip-path: polygon(9% 0, 91% 0, 100% 24%, 100% 100%, 0 100%, 0 24%);
  transition-delay: 80ms;
}

.hatch-window {
  position: absolute;
  z-index: 5;
  top: 24px;
  left: 50%;
  width: 84px;
  height: 34px;
  border: 1px solid rgba(188, 214, 220, 0.38);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(160, 184, 190, 0.3) 0 45%, transparent 45% 55%, rgba(160, 184, 190, 0.3) 55% 100%),
    rgba(0, 0, 0, 0.72);
  box-shadow: inset 0 0 18px rgba(140, 190, 205, 0.16), 0 0 22px rgba(110, 231, 255, 0.06);
  opacity: 0;
  transform: translateX(-50%) translateY(-12px);
  transition: transform 520ms ease, opacity 300ms ease;
}

.hatch-label {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 6;
  display: inline-flex;
  justify-content: center;
  padding: 8px 10px;
  border: 1px solid rgba(222, 246, 255, 0.15);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.44);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.hatch-card.is-sealed .hatch-door-left {
  transform: translateY(0);
  filter: saturate(0.74) contrast(1.22) brightness(1.0);
}

.hatch-card.is-sealed .hatch-door-right {
  transform: translateY(0);
  filter: saturate(0.74) contrast(1.22) brightness(1.02);
}

.hatch-card.is-sealed .hatch-media {
  filter: saturate(0.42) brightness(0.48) contrast(1.2);
  opacity: 0.45;
  transform: scale(1.08);
}

.hatch-card.is-sealed .hatch-window {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.hatch-card.is-sealed .hatch-shell::after {
  opacity: 0.78;
}

.hatch-content {
  padding: 20px 8px 8px;
}

.meta {
  margin-bottom: 10px;
  color: var(--danger);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.hatch-content p:last-of-type {
  margin-bottom: 18px;
}

.hatch-content a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(110, 231, 255, 0.22);
  border-radius: 999px;
  color: #e8fbff;
  background: rgba(110, 231, 255, 0.055);
  font-weight: 800;
}

.mission {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 46px;
  align-items: start;
}

.mission-grid {
  display: grid;
  gap: 14px;
}

.mission-grid article {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 8px 22px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(110, 231, 255, 0.075), rgba(255, 36, 79, 0.025)),
    rgba(5, 10, 14, 0.82);
}

.mission-grid span {
  grid-row: span 2;
  color: transparent;
  font-size: 46px;
  font-weight: 950;
  letter-spacing: -0.08em;
  -webkit-text-stroke: 1px rgba(110, 231, 255, 0.72);
}

.mission-grid p {
  margin-bottom: 0;
}

.dock {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.65fr);
  gap: 36px;
  align-items: center;
  margin-bottom: 84px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 80% 18%, rgba(255, 36, 79, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(110, 231, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(5, 9, 12, 0.86);
  box-shadow: var(--shadow);
}

.dock-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.dock-actions a:not(.button) {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #e8fbff;
  background: rgba(255, 255, 255, 0.05);
  font-weight: 820;
  transition: transform 180ms ease;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: 14px;
}

@keyframes drift-stars {
  to {
    background-position: 900px 520px, 560px 840px;
  }
}

@keyframes horizon-pulse {
  50% {
    transform: scale(1.04) rotate(2deg);
  }
}

@keyframes card-arrival {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero,
  .section-heading,
  .mission,
  .dock {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 58px 0 84px;
  }

  .viewport-card {
    max-width: 650px;
  }

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

  .dock-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: calc(100% - 36px);
  }

  .site-header,
  .brand,
  nav,
  .hero,
  .hero-copy,
  .viewport-card {
    min-width: 0;
  }

  .site-header {
    align-items: flex-start;
    gap: 16px;
    flex-direction: column;
  }

  nav {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 0.75fr);
    width: 100%;
  }

  nav a {
    padding-inline: 0;
    overflow: hidden;
    font-size: 10px;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  h1 {
    font-size: clamp(29px, 8.6vw, 42px);
    line-height: 1.14;
    letter-spacing: 0.055em;
  }

  h2 {
    font-size: clamp(28px, 8.8vw, 44px);
  }

  .hero-lede,
  .section-heading p {
    font-size: 17px;
  }

  .hero-actions,
  .button,
  footer {
    width: 100%;
  }

  .viewport-glass {
    min-height: 330px;
  }

  .viewport-card::before,
  .viewport-card::after {
    display: none;
  }

  .bay-controls {
    align-items: stretch;
    border-radius: 22px;
    flex-direction: column;
  }

  .hatch-shell {
    min-height: 230px;
  }

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

  .mission-grid span {
    grid-row: auto;
    font-size: 34px;
  }

  .dock {
    padding: 24px;
  }

  footer {
    flex-direction: column;
  }
}

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