:root {
  color-scheme: dark;
  --bg: #05070c;
  --bg-deep: #020409;
  --surface: rgba(10, 16, 25, 0.74);
  --surface-strong: rgba(15, 22, 34, 0.9);
  --line: rgba(139, 172, 194, 0.24);
  --line-strong: rgba(222, 238, 247, 0.4);
  --text: #eef5f8;
  --muted: #a5b6c1;
  --dim: #677985;
  --red: #ff432f;
  --red-hot: #ff765e;
  --amber: #ffc071;
  --blue: #98c0d4;
  --font-display: "Orbitron", "Arial Black", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 75% 35%, rgba(152, 192, 212, 0.18), transparent 34%),
    radial-gradient(circle at 30% 28%, rgba(255, 67, 47, 0.14), transparent 32%),
    linear-gradient(135deg, var(--bg-deep), var(--bg) 42%, #07111b);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(139, 172, 194, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 172, 194, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, #000 0%, transparent 78%);
}

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

button,
input {
  font: inherit;
}

#orbit-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}

.scanline {
  position: fixed;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0.22;
  background: linear-gradient(
    to bottom,
    transparent,
    transparent 2px,
    rgba(255, 255, 255, 0.035) 3px
  );
  background-size: 100% 6px;
  mix-blend-mode: screen;
}

.page-shell {
  position: relative;
  width: min(100% - 32px, 1780px);
  min-height: calc(100vh - 32px);
  margin: 16px auto;
  border: 1px solid rgba(139, 172, 194, 0.2);
  background:
    linear-gradient(90deg, rgba(255, 67, 47, 0.12), transparent 14%, transparent 86%, rgba(255, 67, 47, 0.1)),
    rgba(2, 6, 12, 0.44);
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.66), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.page-shell::before,
.page-shell::after {
  position: absolute;
  width: 220px;
  height: 220px;
  z-index: 0;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(255, 67, 47, 0.45);
  transform: rotate(45deg);
}

.page-shell::before {
  top: -180px;
  left: -180px;
}

.page-shell::after {
  right: -180px;
  bottom: -180px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(139, 172, 194, 0.16);
  background: rgba(3, 7, 13, 0.62);
  backdrop-filter: blur(18px);
  transform: translateY(0);
  transition: transform 260ms var(--ease), background 260ms var(--ease);
  will-change: transform;
}

.site-header.header-hidden {
  transform: translateY(-110%);
}

.site-header.header-solid {
  background: rgba(3, 7, 13, 0.88);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  font-family: var(--font-display);
  font-size: clamp(0.82rem, 1.1vw, 1.05rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-tagline {
  position: relative;
  display: inline-block;
  color: transparent;
  background:
    linear-gradient(100deg, #c7d6df 0%, #ffffff 18%, #879eaa 34%, #ff432f 54%, #fff1dc 64%, #dce8ee 82%, #8da4af 100%);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 0 18px rgba(152, 192, 212, 0.18), 0 0 24px rgba(255, 67, 47, 0.08);
  white-space: nowrap;
  animation: tagline-scan 6.5s var(--ease) infinite;
}

.brand-tagline::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(255, 67, 47, 0), rgba(255, 67, 47, 0.9), rgba(152, 192, 212, 0));
  opacity: 0.86;
  box-shadow: 0 0 12px rgba(255, 67, 47, 0.45);
  transform: scaleX(0.72);
  transform-origin: center;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(255, 67, 47, 0.45));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 4vw, 72px);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(238, 245, 248, 0.86);
}

.nav-links a {
  position: relative;
  transition: color 220ms var(--ease);
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms var(--ease);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #fff;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1fr);
  align-items: center;
  min-height: calc(100vh - 150px);
  padding: clamp(18px, 3vw, 48px) clamp(20px, 5vw, 72px) clamp(52px, 5vw, 76px);
  overflow: hidden;
  isolation: isolate;
}

.hero-earth {
  position: absolute;
  right: -10%;
  bottom: -49%;
  z-index: -1;
  width: min(88vw, 1120px);
  aspect-ratio: 1672 / 941;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(3, 8, 14, 0.02) 0%, rgba(3, 8, 14, 0.26) 45%, rgba(3, 8, 14, 0.84) 100%),
    linear-gradient(90deg, rgba(3, 8, 14, 0.58) 0%, rgba(3, 8, 14, 0.06) 42%, rgba(255, 67, 47, 0.12) 100%),
    url("media/earth-night-hero.webp") center / cover no-repeat;
  border-radius: 50%;
  opacity: 0.68;
  box-shadow:
    0 -20px 76px rgba(124, 194, 255, 0.24),
    0 -5px 24px rgba(255, 192, 113, 0.14);
  transform: rotate(-3deg);
  animation: earth-drift 18s var(--ease) infinite alternate;
  -webkit-mask-image: radial-gradient(112% 82% at 56% 58%, #000 0 58%, rgba(0, 0, 0, 0.78) 69%, transparent 100%);
  mask-image: radial-gradient(112% 82% at 56% 58%, #000 0 58%, rgba(0, 0, 0, 0.78) 69%, transparent 100%);
}

.hero-earth::before,
.hero-earth::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  border-radius: inherit;
}

.hero-earth::before {
  background:
    radial-gradient(circle at 76% 18%, rgba(255, 205, 122, 0.36), transparent 16%),
    radial-gradient(ellipse at 48% 20%, rgba(159, 213, 246, 0.28), transparent 48%);
  mix-blend-mode: screen;
}

.hero-earth::after {
  background:
    linear-gradient(90deg, rgba(3, 8, 14, 0.92) 0%, transparent 12%, transparent 74%, rgba(3, 8, 14, 0.98) 100%),
    linear-gradient(180deg, rgba(3, 8, 14, 0.56) 0%, transparent 18%, transparent 65%, rgba(3, 8, 14, 0.94) 100%),
    linear-gradient(rgba(139, 172, 194, 0.03) 1px, transparent 1px),
    radial-gradient(ellipse at 50% 50%, transparent 0 54%, rgba(3, 8, 14, 0.76) 82%, rgba(3, 8, 14, 0.98) 100%);
  background-size: 100% 100%, 100% 100%, 100% 6px, 100% 100%;
}

.hero-bottom-fade {
  position: absolute;
  right: -2%;
  bottom: -1px;
  left: 28%;
  z-index: -1;
  height: 28%;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 0%, rgba(3, 8, 14, 0.36) 44%, rgba(3, 8, 14, 0.94) 100%),
    linear-gradient(90deg, transparent 0%, rgba(3, 8, 14, 0.16) 28%, rgba(3, 8, 14, 0.74) 100%);
}

.hero::before {
  position: absolute;
  right: -5%;
  bottom: 7%;
  width: 70%;
  height: 36%;
  z-index: -1;
  pointer-events: none;
  content: "";
  border-top: 2px solid rgba(198, 226, 239, 0.5);
  border-radius: 50% 50% 0 0;
  box-shadow: 0 -12px 44px rgba(152, 192, 212, 0.2);
  transform: rotate(-10deg);
}

.hero::after {
  position: absolute;
  inset: auto 0 12% 0;
  z-index: -1;
  height: 1px;
  pointer-events: none;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 67, 47, 0.62), rgba(152, 192, 212, 0.3), transparent);
}

.hud {
  position: absolute;
  left: clamp(20px, 4vw, 58px);
  top: clamp(92px, 14vh, 150px);
  display: grid;
  gap: 12px;
  width: 150px;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
}

.hud i {
  display: block;
  width: 78px;
  height: 10px;
  background: repeating-linear-gradient(90deg, rgba(165, 182, 193, 0.6) 0 2px, transparent 2px 6px);
}

.hud small {
  color: var(--muted);
}

.hero-mark {
  --hero-logo-width: min(88%, 560px, 54vh);
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(58vh, 500px);
  isolation: isolate;
}

.hero-mark img {
  position: relative;
  z-index: 1;
  width: var(--hero-logo-width);
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 28px 48px rgba(0, 0, 0, 0.58))
    drop-shadow(0 0 34px rgba(255, 67, 47, 0.18));
  animation: float-mark 7s var(--ease) infinite alternate;
}

.logo-orbit {
  position: absolute;
  width: min(88%, 660px);
  aspect-ratio: 1;
  z-index: -1;
  border: 1px solid rgba(152, 192, 212, 0.28);
  border-radius: 50%;
  background:
    conic-gradient(from 120deg, transparent 0 24deg, rgba(255, 67, 47, 0.5) 25deg 36deg, transparent 37deg 118deg, rgba(152, 192, 212, 0.35) 119deg 132deg, transparent 133deg 360deg),
    radial-gradient(circle, transparent 56%, rgba(152, 192, 212, 0.12) 57%, transparent 59%);
  filter: drop-shadow(0 0 32px rgba(255, 67, 47, 0.16));
  animation: rotate-orbit 24s linear infinite;
}

.hero-copy {
  justify-self: start;
  max-width: 690px;
  padding-left: clamp(0px, 2vw, 24px);
}

h1,
h2,
h3,
.button,
.telemetry span,
.telemetry strong,
.scroll-cue,
.site-footer {
  font-family: var(--font-display);
}

h1 {
  margin: 0;
  color: #f3f7f8;
  font-size: clamp(3.25rem, 7.4vw, 7.9rem);
  line-height: 0.89;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 5px 0 rgba(255, 255, 255, 0.14), 0 0 34px rgba(152, 192, 212, 0.2);
}

h1 span {
  display: block;
  color: var(--red);
  text-shadow: 0 0 34px rgba(255, 67, 47, 0.44);
}

.mission {
  max-width: 650px;
  margin: 24px 0 0;
  color: #f2f6f7;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.45vw, 1.48rem);
  font-weight: 800;
  line-height: 1.75;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.mission strong {
  color: var(--red);
  font-weight: 900;
}

.mission-line {
  display: block;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 40px;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 72px;
  padding: 0 30px;
  border: 1px solid var(--line-strong);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  overflow: hidden;
  transition: transform 260ms var(--ease), border-color 260ms var(--ease), background 260ms var(--ease);
}

.button::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(110deg, rgba(255, 67, 47, 0.28), rgba(255, 118, 94, 0.04), rgba(152, 192, 212, 0.12));
  transform: translateX(-100%);
  transition: transform 360ms var(--ease);
}

.button:hover,
.button:focus-visible {
  border-color: rgba(255, 118, 94, 0.9);
  transform: translateY(-2px);
}

.button:hover::before,
.button:focus-visible::before {
  transform: translateX(0);
}

.button-primary {
  min-width: 312px;
  background: linear-gradient(135deg, rgba(255, 67, 47, 0.9), rgba(132, 28, 22, 0.84));
  box-shadow: 0 0 42px rgba(255, 67, 47, 0.26), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.button-secondary {
  min-width: 270px;
  background: rgba(10, 16, 25, 0.82);
}

.button svg,
.scroll-cue svg,
.service-card svg,
.notice-form svg,
.social-links svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.satellite {
  position: absolute;
  top: 20%;
  right: 6%;
  width: 156px;
  height: 156px;
  pointer-events: none;
  isolation: isolate;
  transform: rotate(-18deg);
}

.satellite::before {
  position: absolute;
  top: 10px;
  right: -2px;
  width: 114px;
  height: 114px;
  content: "";
  border: 1px solid rgba(152, 192, 212, 0.34);
  border-radius: 50%;
  box-shadow:
    0 0 0 18px rgba(152, 192, 212, 0.06),
    0 0 0 36px rgba(152, 192, 212, 0.035),
    0 0 32px rgba(152, 192, 212, 0.22);
  animation: satellite-pulse 2.8s ease-out infinite;
  z-index: 2;
}

.satellite-core {
  position: absolute;
  top: 38px;
  right: 26px;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(238, 245, 248, 0.66);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, #ffffff 0 5%, #b8d2df 15%, #43616f 36%, #09121b 72%),
    #08111a;
  box-shadow:
    0 0 0 2px rgba(7, 12, 19, 0.92),
    0 0 24px rgba(152, 192, 212, 0.5),
    inset -14px -12px 24px rgba(0, 0, 0, 0.74);
  z-index: 4;
}

.satellite-core::after {
  position: absolute;
  top: 24px;
  right: -5px;
  width: 9px;
  height: 9px;
  content: "";
  border-radius: 50%;
  background: #eef5f8;
  box-shadow:
    0 0 10px rgba(238, 245, 248, 0.95),
    0 0 18px rgba(255, 96, 74, 0.52);
  z-index: 5;
}

.satellite span {
  position: absolute;
  right: 25px;
  width: 356px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 67, 47, 0.74), rgba(255, 192, 113, 0.72), rgba(238, 245, 248, 0.86));
  transform-origin: right center;
  z-index: 3;
}

.satellite span:nth-child(2) {
  top: 67px;
  transform: rotate(13deg);
}

.satellite span:nth-child(3) {
  top: 67px;
  transform: rotate(-1deg);
}

.satellite span:nth-child(4) {
  top: 67px;
  transform: rotate(-16deg);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue svg {
  width: 26px;
  height: 26px;
  padding: 6px;
  border: 1px solid rgba(255, 67, 47, 0.75);
  border-radius: 50%;
}

.services,
.model-lab,
.approach,
.contact {
  position: relative;
  z-index: 1;
  margin: 0 clamp(18px, 3vw, 56px);
  border: 1px solid rgba(139, 172, 194, 0.22);
  background: linear-gradient(180deg, rgba(7, 13, 22, 0.88), rgba(4, 8, 14, 0.82));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 24px 60px rgba(0, 0, 0, 0.26);
}

.services {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(520px, 1.6fr);
  gap: clamp(28px, 4vw, 62px);
  padding: clamp(34px, 4vw, 64px);
}

.section-lead h2,
.approach h2,
.contact h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 4.6rem);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.section-lead h2 span,
.approach h2 span,
.contact h2 span {
  color: var(--red);
}

.section-lead p,
.approach p,
.contact p {
  max-width: 560px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1vw, 1.08rem);
  line-height: 1.8;
}

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

.service-card {
  min-height: 212px;
  padding: 12px clamp(18px, 2vw, 32px);
  border-left: 1px solid rgba(139, 172, 194, 0.18);
}

.service-card svg {
  width: 44px;
  height: 44px;
  color: var(--red-hot);
  filter: drop-shadow(0 0 14px rgba(255, 67, 47, 0.32));
}

.service-card h3 {
  margin: 26px 0 10px;
  color: #eef5f8;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.model-lab {
  display: grid;
  gap: clamp(26px, 4vw, 54px);
  margin-top: 28px;
  padding: clamp(30px, 4vw, 58px);
  background:
    radial-gradient(circle at 78% 28%, rgba(152, 192, 212, 0.16), transparent 36%),
    radial-gradient(circle at 22% 80%, rgba(255, 67, 47, 0.13), transparent 38%),
    linear-gradient(180deg, rgba(5, 10, 18, 0.94), rgba(3, 7, 13, 0.9));
  overflow: hidden;
}

.model-lab::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background-image:
    radial-gradient(circle, rgba(238, 245, 248, 0.56) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(255, 67, 47, 0.36) 0 1px, transparent 1.5px);
  background-position: 0 0, 42px 28px;
  background-size: 118px 118px, 164px 164px;
  opacity: 0.22;
  animation: drift-stars 18s linear infinite;
}

.model-copy {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(360px, 1.15fr);
  gap: clamp(22px, 4vw, 58px);
  align-items: end;
}

.model-copy h2 {
  max-width: 620px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 4.6rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.model-copy h2 span {
  color: var(--red);
}

.model-copy p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1vw, 1.08rem);
  line-height: 1.8;
}

.model-stage-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 292px);
  min-height: clamp(480px, 58vw, 720px);
  border-top: 1px solid rgba(139, 172, 194, 0.22);
}

.model-stage {
  position: relative;
  min-height: inherit;
  overflow: hidden;
}

.model-stage::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 10, 18, 0.82), transparent 16%, transparent 86%, rgba(5, 10, 18, 0.74)),
    linear-gradient(180deg, rgba(5, 10, 18, 0.86), transparent 18%, transparent 84%, rgba(5, 10, 18, 0.82));
}

.model-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  cursor: grab;
}

.model-stage canvas:active {
  cursor: grabbing;
}

.model-status {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  color: rgba(238, 245, 248, 0.68);
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  pointer-events: none;
}

.model-controls {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: clamp(20px, 3vw, 32px);
  border-left: 1px solid rgba(139, 172, 194, 0.22);
  background:
    linear-gradient(180deg, rgba(5, 10, 18, 0.76), rgba(2, 5, 10, 0.58)),
    rgba(255, 255, 255, 0.02);
}

.model-controls h3 {
  margin: 0 0 6px;
  color: #eef5f8;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.control-toggle,
.control-range {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.control-toggle {
  grid-template-columns: 18px 1fr;
  align-items: center;
}

.control-toggle input {
  width: 16px;
  height: 16px;
  accent-color: var(--red);
}

.control-range input {
  width: 100%;
  accent-color: var(--red);
}

.view-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.view-buttons button {
  min-height: 38px;
  border: 1px solid rgba(139, 172, 194, 0.24);
  background: rgba(7, 13, 22, 0.68);
  color: #eef5f8;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 220ms var(--ease), color 220ms var(--ease), transform 220ms var(--ease);
}

.view-buttons button:hover,
.view-buttons button:focus-visible {
  border-color: rgba(255, 67, 47, 0.84);
  color: #fff;
  transform: translateY(-1px);
}

.approach {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(28px, 4vw, 64px);
  margin-top: 28px;
  padding: clamp(34px, 5vw, 72px);
}

.telemetry {
  display: grid;
  gap: 14px;
  align-self: center;
}

.telemetry div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  border: 1px solid rgba(139, 172, 194, 0.18);
  background:
    linear-gradient(90deg, rgba(255, 67, 47, 0.1), transparent),
    rgba(255, 255, 255, 0.025);
}

.telemetry span,
.telemetry strong {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.telemetry span {
  color: var(--muted);
}

.telemetry strong {
  color: var(--red-hot);
}

.contact {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(340px, 520px) auto;
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
  margin-top: 28px;
  margin-bottom: 28px;
  padding: clamp(30px, 4vw, 56px);
}

.notice-form {
  display: grid;
  align-self: start;
  gap: 12px;
}

.notice-form label {
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.notice-form > div {
  display: grid;
  grid-template-columns: 1fr 64px;
  min-height: 60px;
  border: 1px solid rgba(139, 172, 194, 0.28);
  background: rgba(5, 9, 15, 0.72);
}

.notice-form input {
  min-width: 0;
  border: 0;
  padding: 0 18px;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 1rem;
}

.notice-form input::placeholder {
  color: var(--dim);
}

.notice-form button {
  display: grid;
  place-items: center;
  border: 0;
  border-left: 1px solid rgba(139, 172, 194, 0.22);
  background: linear-gradient(135deg, var(--red), #9d241d);
  color: #fff;
  cursor: pointer;
  transition: filter 220ms var(--ease), transform 220ms var(--ease);
}

.notice-form button:hover,
.notice-form button:focus-visible {
  filter: brightness(1.15);
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--amber);
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  align-self: start;
  gap: 16px;
  padding-top: calc(0.72rem + 16px);
}

.social-links a {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border: 1px solid rgba(139, 172, 194, 0.24);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  transition: color 220ms var(--ease), border-color 220ms var(--ease), transform 220ms var(--ease);
}

.social-links a:hover,
.social-links a:focus-visible {
  color: #fff;
  border-color: rgba(255, 67, 47, 0.72);
  transform: translateY(-2px);
}

.site-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 clamp(18px, 3vw, 56px) 24px;
  color: var(--dim);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-station {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

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

@keyframes float-mark {
  from {
    transform: translateY(-8px) rotate(-0.6deg);
  }

  to {
    transform: translateY(10px) rotate(0.8deg);
  }
}

@keyframes tagline-scan {
  0%,
  100% {
    background-position: 0% 50%;
  }

  48%,
  58% {
    background-position: 100% 50%;
  }
}

@keyframes drift-stars {
  to {
    background-position: 118px 118px, 206px 192px;
  }
}

@keyframes earth-drift {
  from {
    transform: translate3d(-1.2%, 0, 0) rotate(-3.2deg) scale(1);
  }

  to {
    transform: translate3d(1.4%, -1.1%, 0) rotate(-2deg) scale(1.025);
  }
}

@keyframes satellite-pulse {
  0% {
    opacity: 0.9;
    transform: scale(0.86);
  }

  70% {
    opacity: 0.46;
  }

  100% {
    opacity: 0;
    transform: scale(1.22);
  }
}

@media (min-width: 1500px) {
  .hero-earth {
    right: -7%;
    bottom: clamp(-310px, -26vh, -245px);
    width: min(78vw, 1260px);
    opacity: 0.7;
  }

  .hero-bottom-fade {
    left: 24%;
    height: 34%;
  }
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: auto;
    padding-top: 34px;
  }

  .hero-earth {
    right: -34%;
    bottom: -32%;
    width: min(138vw, 980px);
    opacity: 0.48;
  }

  .hero-mark {
    --hero-logo-width: min(74vw, 520px, 54vh);
    min-height: 360px;
  }

  .hero-copy {
    justify-self: center;
    max-width: 860px;
    padding-left: 0;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hud,
  .satellite {
    display: none;
  }

  .services,
  .model-lab,
  .approach,
  .contact {
    grid-template-columns: 1fr;
  }

  .model-copy,
  .model-stage-wrap {
    grid-template-columns: 1fr;
  }

  .model-stage-wrap {
    min-height: 560px;
  }

  .model-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid rgba(139, 172, 194, 0.22);
    border-left: 0;
  }

  .model-controls h3,
  .control-range,
  .view-buttons {
    grid-column: 1 / -1;
  }

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

  .contact {
    align-items: start;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    border-right: 0;
    border-left: 0;
  }

  .site-header {
    align-items: flex-start;
    min-height: 76px;
  }

  .brand {
    gap: 10px;
    max-width: none;
    font-size: clamp(0.56rem, 2.6vw, 0.72rem);
    letter-spacing: 0.1em;
    line-height: 1.4;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    justify-items: center;
    gap: 22px;
    overflow: hidden;
    padding: 28px 24px 70px;
  }

  .hero-earth {
    right: -72%;
    bottom: -9%;
    width: 210vw;
    opacity: 0.3;
    transform: rotate(-7deg);
  }

  .hero::before {
    right: auto;
    left: 50%;
    width: 132%;
    transform: translateX(-50%) rotate(-8deg);
  }

  .hero-mark {
    --hero-logo-width: min(48vw, 188px);
    width: 100%;
    justify-self: center;
    min-height: 196px;
    margin: 0 auto 4px;
  }

  .hero-mark img {
    width: var(--hero-logo-width);
  }

  .logo-orbit {
    width: min(72vw, 300px);
  }

  .hero-copy {
    width: 100%;
    max-width: 342px;
    justify-self: center;
    margin-right: auto;
    margin-left: auto;
  }

  h1 {
    max-width: 330px;
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(2.25rem, 10.2vw, 2.85rem);
    line-height: 0.94;
    text-wrap: balance;
  }

  .mission {
    max-width: 322px;
    margin: 18px auto 0;
    font-size: clamp(0.62rem, 2.6vw, 0.72rem);
    letter-spacing: 0.035em;
    line-height: 1.7;
  }

  .mission strong {
    display: inline;
  }

  .hero-actions {
    width: 100%;
    gap: 12px;
    justify-content: center;
    margin-top: 28px;
  }

  .button {
    width: min(100%, 320px);
    min-width: 0;
    min-height: 56px;
    padding: 0 18px;
    font-size: clamp(0.64rem, 2.5vw, 0.72rem);
  }

  .scroll-cue span {
    display: none;
  }

  .services,
  .model-lab,
  .approach,
  .contact {
    margin-right: 14px;
    margin-left: 14px;
    padding: 26px 20px;
  }

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

  .service-card {
    min-height: 0;
    padding: 22px 0;
    border-top: 1px solid rgba(139, 172, 194, 0.18);
    border-left: 0;
  }

  .section-lead h2,
  .model-copy h2,
  .approach h2,
  .contact h2 {
    max-width: 318px;
    font-size: clamp(1.55rem, 7.4vw, 2.15rem);
    line-height: 1.15;
  }

  .telemetry div {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact {
    gap: 22px;
  }

  .model-stage-wrap {
    min-height: 520px;
  }

  .model-stage {
    min-height: 340px;
  }

  .model-controls {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .social-links {
    width: 100%;
    padding-top: 0;
  }

  .social-links a {
    flex: 1;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 18px;
    font-size: 0.58rem;
  }
}

@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;
  }
}
