:root {
  --ink: #020414;
  --navy: #06143c;
  --blue: #1167ff;
  --cyan: #49f5ff;
  --ice: #dffcff;
  --violet: #8b42ff;
  --hot-violet: #cc54ff;
  --red: #ff2f61;
  --white: #ffffff;
  --muted: rgba(221, 243, 255, 0.68);
  --line: rgba(98, 222, 255, 0.24);
  --glass: rgba(4, 10, 39, 0.52);
  --mx: 0px;
  --my: 0px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  font-family: "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.experience {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 650px;
  overflow: hidden;
  background: #01020c;
}

.cosmos,
.starfield,
.grid,
.scanlines,
.aurora {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cosmos {
  z-index: -6;
  inset: -3%;
  background-image:
    linear-gradient(90deg, rgba(1, 3, 15, 0.98) 0%, rgba(1, 3, 15, 0.8) 27%, rgba(1, 3, 15, 0.18) 63%, rgba(1, 3, 15, 0.04) 100%),
    linear-gradient(0deg, rgba(1, 3, 15, 0.84) 0%, transparent 35%),
    url("assets/cosmic-background.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(1.18) contrast(1.08);
  transform: scale(1.05);
  animation: cosmic-breathe 16s ease-in-out infinite alternate;
}

.starfield {
  z-index: -2;
  width: 100%;
  height: 100%;
  opacity: 0.95;
}

.grid {
  z-index: -1;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(98, 222, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(98, 222, 255, 0.1) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 68%);
}

.scanlines {
  z-index: 20;
  opacity: 0.13;
  mix-blend-mode: overlay;
  background: repeating-linear-gradient(0deg, transparent 0, transparent 3px, rgba(145, 226, 255, 0.12) 4px);
}

.aurora {
  z-index: -3;
  border-radius: 50%;
  filter: blur(80px);
  mix-blend-mode: screen;
  opacity: 0.18;
}

.aurora-a {
  width: 56vw;
  height: 30vw;
  left: 24%;
  top: 38%;
  background: var(--blue);
  transform: rotate(-24deg);
  animation: aurora-drift 8s ease-in-out infinite alternate;
}

.aurora-b {
  width: 28vw;
  height: 28vw;
  right: -7%;
  top: -7%;
  background: var(--violet);
  animation: aurora-drift 10s 1s ease-in-out infinite alternate-reverse;
}

.cursor-glow {
  position: fixed;
  z-index: 18;
  width: 360px;
  height: 360px;
  left: 0;
  top: 0;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle, rgba(55, 212, 255, 0.12), rgba(78, 80, 255, 0.04) 42%, transparent 70%);
  transform: translate3d(calc(var(--cursor-x, -500px) - 50%), calc(var(--cursor-y, -500px) - 50%), 0);
  transition: opacity 300ms ease;
  mix-blend-mode: screen;
}

.site-header {
  position: relative;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 104px;
  padding: 24px clamp(28px, 4vw, 76px) 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  width: max-content;
  outline: none;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(112, 231, 255, 0.6);
  border-radius: 50%;
  background: rgba(2, 12, 38, 0.72);
  box-shadow: 0 0 26px rgba(47, 211, 255, 0.32), inset 0 0 16px rgba(64, 215, 255, 0.16);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: -2px;
  border: 2px dashed rgba(132, 240, 255, 0.52);
  border-radius: inherit;
  animation: orbit 9s linear infinite;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-type {
  display: grid;
  line-height: 1;
}

.brand-type strong {
  font-family: "Arial Black", Impact, sans-serif;
  font-size: 1.02rem;
  letter-spacing: 0.12em;
}

.brand-type small {
  margin-top: 7px;
  color: var(--cyan);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.17em;
}

.brand:focus-visible,
.action:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 5px;
}

.system-status {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 255px;
  padding: 11px 14px;
  border: 1px solid rgba(89, 220, 255, 0.34);
  background: rgba(2, 9, 33, 0.46);
  box-shadow: inset 0 0 25px rgba(45, 198, 255, 0.06);
  backdrop-filter: blur(12px);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  color: rgba(226, 249, 255, 0.88);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.11em;
}

.system-status b {
  margin-left: auto;
  color: var(--cyan);
  font-size: 1.15rem;
  text-shadow: 0 0 16px var(--cyan);
}

.status-orbit {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan), 0 0 28px var(--blue);
  animation: status-pulse 1.4s ease-out infinite;
}

.hero {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(520px, 0.94fr) minmax(560px, 1.06fr);
  height: calc(100% - 152px);
  padding: 2.1vh clamp(28px, 4vw, 76px) 54px;
}

.hero-copy {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 820px;
  padding-bottom: 2vh;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 15px;
  color: rgba(216, 246, 255, 0.72);
  font-family: Consolas, "Courier New", monospace;
  font-size: clamp(0.72rem, 0.7vw, 0.84rem);
  letter-spacing: 0.23em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 38px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan));
  box-shadow: 0 0 10px var(--cyan);
}

.eyebrow span {
  color: var(--cyan);
}

.hero-title {
  position: relative;
  display: grid;
  margin: 0;
  max-width: 900px;
  font-family: "Arial Black", Impact, sans-serif;
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: -0.058em;
  text-transform: uppercase;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.42));
}

.hero-title span {
  display: block;
}

.title-top {
  font-size: clamp(4.8rem, 6.25vw, 8rem);
  color: #fff;
  text-shadow: 0 0 30px rgba(146, 239, 255, 0.2);
}

.title-mid {
  margin-top: 0.16em;
  font-size: clamp(3.25rem, 4.28vw, 5.35rem);
  letter-spacing: -0.075em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(109, 235, 255, 0.94);
  background: linear-gradient(90deg, #f4ffff 0%, #55f6ff 32%, #1a9cff 67%, #b768ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  filter: drop-shadow(0 0 14px rgba(52, 221, 255, 0.45));
}

.title-bottom {
  margin-top: 0.08em;
  font-size: clamp(5.5rem, 7.3vw, 9.1rem);
  color: #fff;
  letter-spacing: -0.065em;
  text-shadow: 5px 0 0 rgba(40, 213, 255, 0.68), -4px 0 0 rgba(135, 54, 255, 0.42), 0 0 34px rgba(50, 197, 255, 0.22);
}

.hero-title.is-glitching .title-top,
.hero-title.is-glitching .title-bottom {
  animation: title-glitch 220ms steps(2, end) 2;
}

.signal-line {
  margin: 22px 0 9px;
  color: rgba(227, 246, 255, 0.82);
  font-size: clamp(1.04rem, 1.18vw, 1.38rem);
  letter-spacing: 0.03em;
}

.signal-line strong {
  color: var(--white);
  font-weight: 700;
}

.lore {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.94rem, 0.9vw, 1.08rem);
  line-height: 1.58;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 27px;
}

.action {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 17px;
  overflow: hidden;
  border: 1px solid rgba(100, 226, 255, 0.4);
  background: rgba(4, 12, 42, 0.66);
  color: #eefeff;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  cursor: pointer;
  backdrop-filter: blur(14px);
  box-shadow: inset 0 0 20px rgba(51, 208, 255, 0.05);
  font-weight: 700;
  letter-spacing: 0.035em;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
  transform: translate3d(var(--mag-x, 0), var(--mag-y, 0), 0);
}

.action::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 25%, rgba(255, 255, 255, 0.18) 45%, transparent 66%);
  transform: translateX(-130%);
  transition: transform 480ms ease;
}

.action:hover::before {
  transform: translateX(130%);
}

.action:hover {
  border-color: rgba(140, 243, 255, 0.88);
  background: rgba(8, 31, 83, 0.74);
  box-shadow: 0 0 26px rgba(41, 196, 255, 0.18), inset 0 0 22px rgba(58, 217, 255, 0.09);
}

.action-primary {
  border-color: rgba(110, 238, 255, 0.72);
  background: linear-gradient(135deg, rgba(19, 142, 232, 0.74), rgba(43, 58, 188, 0.58));
}

.action-ca {
  min-width: 155px;
  border-color: rgba(194, 97, 255, 0.62);
  background: linear-gradient(135deg, rgba(71, 27, 145, 0.68), rgba(11, 49, 103, 0.74));
}

.action-index {
  color: rgba(170, 235, 255, 0.54);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.69rem;
  font-weight: 400;
}

.action-arrow {
  color: var(--cyan);
  font-size: 1.05rem;
}

.copy-icon {
  position: relative;
  width: 16px;
  height: 18px;
}

.copy-icon i {
  position: absolute;
  width: 10px;
  height: 12px;
  border: 1px solid var(--cyan);
}

.copy-icon i:first-child {
  left: 1px;
  top: 5px;
}

.copy-icon i:last-child {
  left: 5px;
  top: 1px;
  background: rgba(4, 22, 61, 0.9);
}

.telemetry {
  display: flex;
  gap: 0;
  margin-top: 24px;
  border-top: 1px solid rgba(94, 220, 255, 0.22);
  border-bottom: 1px solid rgba(94, 220, 255, 0.13);
}

.telemetry-item {
  display: grid;
  gap: 5px;
  min-width: 142px;
  padding: 12px 28px 12px 0;
}

.telemetry-item + .telemetry-item {
  padding-left: 28px;
  border-left: 1px solid rgba(94, 220, 255, 0.18);
}

.telemetry-item span {
  color: rgba(177, 224, 240, 0.54);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.67rem;
  letter-spacing: 0.16em;
}

.telemetry-item strong {
  color: rgba(242, 253, 255, 0.96);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.92rem;
  letter-spacing: 0.055em;
}

.telemetry-item small {
  color: var(--cyan);
}

.hero-visual {
  position: relative;
  min-width: 0;
  z-index: 2;
}

.character-parallax {
  position: absolute;
  z-index: 8;
  width: min(70vw, 1260px);
  left: 46%;
  top: 55%;
  transform: translate3d(calc(-54% + var(--mx)), calc(-50% + var(--my)), 0);
  will-change: transform;
  pointer-events: none;
}

.character-float {
  position: relative;
  animation: character-flight 5.8s ease-in-out infinite;
  transform-origin: 58% 54%;
}

.character {
  display: block;
  width: 100%;
  height: auto;
  filter:
    drop-shadow(0 0 10px rgba(114, 244, 255, 0.88))
    drop-shadow(0 0 34px rgba(38, 124, 255, 0.8))
    drop-shadow(-28px 36px 58px rgba(78, 37, 255, 0.58));
  user-select: none;
  animation: character-charge 3.2s ease-in-out infinite alternate;
}

.character-flare {
  position: absolute;
  width: 22%;
  height: 34%;
  right: 8%;
  top: 4%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 255, 255, 0.44), rgba(49, 224, 255, 0.18) 36%, transparent 72%);
  filter: blur(18px);
  mix-blend-mode: screen;
  animation: flare 2s ease-in-out infinite alternate;
}

.portal {
  position: absolute;
  z-index: 1;
  left: 53%;
  top: 49%;
  width: min(46vw, 820px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%) rotate(-27deg);
  opacity: 0.72;
  pointer-events: none;
}

.portal-ring {
  position: absolute;
  inset: 16%;
  border: 1px solid rgba(86, 228, 255, 0.46);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(40, 207, 255, 0.24), inset 0 0 18px rgba(40, 207, 255, 0.14);
}

.ring-1 {
  inset: 9%;
  border-style: dashed;
  animation: orbit 18s linear infinite;
}

.ring-2 {
  inset: 19%;
  border-color: rgba(164, 83, 255, 0.45);
  animation: orbit 12s linear infinite reverse;
}

.ring-3 {
  inset: 30%;
  border-width: 2px;
  animation: portal-pulse 2.4s ease-in-out infinite;
}

.portal-core {
  position: absolute;
  inset: 38%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 255, 255, 0.62), rgba(58, 211, 255, 0.17) 48%, transparent 72%);
  filter: blur(8px);
  animation: flare 1.6s ease-in-out infinite alternate;
}

.velocity-lines {
  position: absolute;
  z-index: 3;
  inset: 0;
  transform: rotate(-28deg);
  pointer-events: none;
}

.velocity-lines i {
  position: absolute;
  display: block;
  left: 0;
  width: 42%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(107, 229, 255, 0.72), transparent);
  filter: drop-shadow(0 0 5px var(--cyan));
  animation: speed-line 2.8s ease-in-out infinite;
}

.velocity-lines i:nth-child(1) { top: 22%; animation-delay: -0.4s; }
.velocity-lines i:nth-child(2) { top: 34%; width: 55%; animation-delay: -1.8s; }
.velocity-lines i:nth-child(3) { top: 48%; width: 31%; animation-delay: -0.9s; }
.velocity-lines i:nth-child(4) { top: 61%; width: 48%; animation-delay: -2.2s; }
.velocity-lines i:nth-child(5) { top: 73%; width: 36%; animation-delay: -1.2s; }
.velocity-lines i:nth-child(6) { top: 84%; width: 58%; animation-delay: -2.5s; }

.mission-card {
  position: absolute;
  z-index: 11;
  right: 0;
  bottom: 24px;
  width: min(30vw, 470px);
  padding: 19px 22px 17px;
  border: 1px solid rgba(112, 229, 255, 0.32);
  background: linear-gradient(135deg, rgba(3, 11, 38, 0.7), rgba(24, 16, 70, 0.46));
  backdrop-filter: blur(15px);
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28), inset 0 0 30px rgba(80, 181, 255, 0.05);
}

.mission-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 2px;
  background: linear-gradient(transparent, var(--cyan), var(--violet), transparent);
  box-shadow: 0 0 12px var(--cyan);
}

.mission-kicker {
  color: var(--cyan);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
}

.mission-card p {
  margin: 9px 0 13px;
  color: rgba(244, 253, 255, 0.9);
  font-size: clamp(0.94rem, 1vw, 1.14rem);
  font-weight: 600;
  line-height: 1.38;
}

.mission-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding-top: 11px;
  border-top: 1px solid rgba(98, 222, 255, 0.18);
  color: rgba(191, 229, 241, 0.5);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.61rem;
  letter-spacing: 0.11em;
}

.mission-footer strong {
  color: var(--cyan);
  font-weight: 600;
}

.coordinate {
  position: absolute;
  z-index: 3;
  color: rgba(170, 227, 244, 0.42);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.63rem;
  letter-spacing: 0.16em;
}

.coordinate-a {
  right: 2%;
  top: 11%;
  writing-mode: vertical-rl;
}

.coordinate-b {
  right: 13%;
  top: 7%;
}

.site-footer {
  position: absolute;
  z-index: 30;
  left: clamp(28px, 4vw, 76px);
  right: clamp(28px, 4vw, 76px);
  bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(177, 218, 231, 0.4);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.61rem;
  letter-spacing: 0.12em;
}

.footer-signal {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(196, 239, 248, 0.56);
}

.footer-signal i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border: 1px solid rgba(109, 236, 255, 0.62);
  background: rgba(2, 10, 35, 0.92);
  color: #effeff;
  box-shadow: 0 0 34px rgba(44, 211, 255, 0.24);
  backdrop-filter: blur(16px);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 24px);
  transition: opacity 220ms ease, transform 220ms ease;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: status-pulse 1s ease-out infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal 700ms cubic-bezier(0.2, 0.75, 0.25, 1) forwards;
}

.reveal-1 { animation-delay: 100ms; }
.reveal-2 { animation-delay: 180ms; }
.reveal-3 { animation-delay: 310ms; }
.reveal-4 { animation-delay: 390ms; }
.reveal-5 { animation-delay: 500ms; }
.reveal-6 { animation-delay: 620ms; }

.experience.flash::after {
  content: "";
  position: absolute;
  z-index: 90;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 45% 55%, rgba(162, 249, 255, 0.2), transparent 46%);
  animation: screen-flash 500ms ease-out both;
}

@keyframes reveal {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes cosmic-breathe {
  0% { transform: scale(1.05) translate3d(-0.4%, 0, 0); }
  100% { transform: scale(1.085) translate3d(0.6%, -0.6%, 0); }
}

@keyframes aurora-drift {
  to { transform: rotate(-19deg) translate3d(5%, -4%, 0) scale(1.1); opacity: 0.27; }
}

@keyframes orbit {
  to { transform: rotate(360deg); }
}

@keyframes status-pulse {
  0% { box-shadow: 0 0 0 0 rgba(73, 245, 255, 0.72), 0 0 12px var(--cyan); }
  100% { box-shadow: 0 0 0 10px rgba(73, 245, 255, 0), 0 0 16px var(--cyan); }
}

@keyframes character-flight {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-0.4deg); }
  50% { transform: translate3d(1.2%, -1.8%, 0) rotate(0.7deg); }
}

@keyframes character-charge {
  from { filter: drop-shadow(0 0 9px rgba(114, 244, 255, 0.82)) drop-shadow(0 0 28px rgba(38, 124, 255, 0.72)) drop-shadow(-25px 32px 52px rgba(78, 37, 255, 0.5)); }
  to { filter: drop-shadow(0 0 15px rgba(171, 253, 255, 1)) drop-shadow(0 0 45px rgba(37, 151, 255, 0.92)) drop-shadow(-34px 42px 72px rgba(102, 45, 255, 0.72)); }
}

@keyframes flare {
  to { transform: scale(1.22); opacity: 0.62; }
}

@keyframes portal-pulse {
  50% { transform: scale(1.16); opacity: 0.42; }
}

@keyframes speed-line {
  0% { transform: translateX(-65%); opacity: 0; }
  20% { opacity: 0.7; }
  70% { opacity: 0.16; }
  100% { transform: translateX(125%); opacity: 0; }
}

@keyframes title-glitch {
  0% { transform: translate(0); clip-path: inset(0); }
  25% { transform: translate(-7px, 2px); clip-path: inset(18% 0 62%); }
  50% { transform: translate(6px, -2px); clip-path: inset(56% 0 20%); }
  75% { transform: translate(-3px, 1px); clip-path: inset(75% 0 5%); }
  100% { transform: translate(0); clip-path: inset(0); }
}

@keyframes screen-flash {
  from { opacity: 1; }
  to { opacity: 0; }
}

@media (max-width: 1280px) {
  .hero {
    grid-template-columns: minmax(480px, 0.96fr) minmax(430px, 1.04fr);
  }

  .character-parallax {
    width: min(88vw, 1180px);
    left: 52%;
  }

  .mission-card {
    width: min(34vw, 410px);
  }

  .telemetry-item {
    min-width: 124px;
    padding-right: 20px;
  }

  .telemetry-item + .telemetry-item {
    padding-left: 20px;
  }
}

@media (max-height: 790px) and (min-width: 900px) {
  .site-header { height: 86px; padding-top: 16px; }
  .hero { height: calc(100% - 128px); padding-top: 0; }
  .eyebrow { margin-bottom: 10px; }
  .signal-line { margin-top: 14px; }
  .lore { line-height: 1.42; }
  .actions { margin-top: 18px; }
  .telemetry { margin-top: 16px; }
  .action { min-height: 46px; }
  .mission-card { bottom: 8px; }
}

@media (max-width: 900px) {
  body { overflow: auto; }

  .experience {
    height: auto;
    min-height: 100svh;
    overflow: hidden;
  }

  .site-header {
    height: 88px;
    padding: 18px 20px 8px;
  }

  .system-status {
    min-width: 0;
    padding: 9px 11px;
  }

  .system-status span:not(.status-orbit) {
    display: none;
  }

  .hero {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: calc(100svh - 88px);
    padding: 34px 20px 122px;
  }

  .hero-copy {
    width: 100%;
    padding: 0;
  }

  .hero-title {
    line-height: 0.81;
  }

  .title-top { font-size: clamp(3.8rem, 18vw, 7rem); }
  .title-mid { font-size: clamp(2.35rem, 10.8vw, 4.9rem); }
  .title-bottom { font-size: clamp(4.6rem, 22vw, 8rem); }

  .lore {
    max-width: 620px;
    font-size: 1rem;
  }

  .actions {
    width: 100%;
  }

  .action {
    flex: 1 1 145px;
  }

  .telemetry {
    width: 100%;
    overflow-x: auto;
  }

  .telemetry-item {
    min-width: 120px;
    flex: 1;
  }

  .hero-visual {
    min-height: 560px;
    margin: -30px -20px 0;
  }

  .character-parallax {
    width: 132vw;
    left: 43%;
    top: 52%;
  }

  .portal {
    width: 84vw;
    left: 58%;
  }

  .mission-card {
    right: 20px;
    bottom: 0;
    width: min(72vw, 440px);
  }

  .site-footer {
    left: 20px;
    right: 20px;
    bottom: 15px;
  }

  .site-footer > span:first-child {
    max-width: 64%;
  }
}

@media (max-width: 560px) {
  .brand-type small { display: none; }
  .brand-type strong { font-size: 0.86rem; }
  .brand-mark { width: 46px; }

  .hero { padding-top: 28px; }
  .eyebrow { font-size: 0.66rem; }
  .signal-line { margin-top: 18px; }
  .title-top { font-size: clamp(3.25rem, 16vw, 6rem); }
  .title-mid { font-size: clamp(1.82rem, 8.3vw, 3.6rem); }
  .title-bottom { font-size: clamp(4rem, 20vw, 7rem); }

  .actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .action-ca {
    grid-column: 1 / -1;
  }

  .action {
    gap: 7px;
    padding-inline: 10px;
    font-size: 0.86rem;
    white-space: nowrap;
  }

  .telemetry {
    overflow: hidden;
  }

  .telemetry-item {
    min-width: 0;
    padding-right: 8px;
  }

  .telemetry-item + .telemetry-item {
    padding-left: 8px;
  }

  .telemetry-item span { font-size: 0.58rem; }
  .telemetry-item strong { font-size: 0.69rem; }

  .hero-visual {
    min-height: 460px;
  }

  .character-parallax {
    width: 154vw;
    left: 36%;
    top: 49%;
  }

  .mission-card {
    width: calc(100% - 40px);
  }

  .coordinate { display: none; }

  .site-footer {
    font-size: 0.53rem;
  }

  .footer-signal { display: none; }
}

@media (hover: none), (pointer: coarse) {
  .cursor-glow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
