:root {
  color-scheme: dark;
  --ink-1000: #010308;
  --ink-950: #02050b;
  --ink-900: #050914;
  --ink-850: #08101d;
  --ink-800: #0a1322;
  --mist-100: #eef7ff;
  --mist-200: #cfdfed;
  --mist-300: #9fb5c8;
  --mist-500: #657b8f;
  --signal-blue: #8ad0ff;
  --signal-blue-strong: #2f9fff;
  --stellar-gold: #f1c574;
  --stellar-gold-soft: #d89c42;
  --line: rgba(170, 211, 244, 0.18);
  --line-strong: rgba(170, 211, 244, 0.38);
  --glass: rgba(5, 12, 24, 0.68);
  --page-pad: clamp(1.25rem, 4.5vw, 5.5rem);
  --section-space: clamp(6.5rem, 12vw, 11.5rem);
  --display: "DIN Condensed", "Avenir Next Condensed", "PingFang SC", "Microsoft YaHei", sans-serif;
  --body: "Avenir Next", "Source Han Sans SC", "Noto Sans CJK SC", "PingFang SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  background: var(--ink-950);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--mist-100);
  background:
    radial-gradient(circle at 82% 14%, rgba(25, 91, 144, 0.12), transparent 28rem),
    var(--ink-950);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  content: "";
  opacity: 0.13;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.84' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.3'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

::selection {
  color: var(--ink-950);
  background: var(--signal-blue);
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

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

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

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

.skip-link {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: var(--ink-950);
  background: var(--stellar-gold);
  transform: translate(-50%, -120%);
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

:focus-visible {
  outline: 2px solid var(--stellar-gold);
  outline-offset: 5px;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(13rem, 1fr) auto minmax(11rem, 1fr);
  align-items: center;
  min-height: 5rem;
  padding: 0 var(--page-pad);
  border-bottom: 1px solid rgba(170, 211, 244, 0.12);
  background: linear-gradient(180deg, rgba(2, 5, 11, 0.9), rgba(2, 5, 11, 0.54));
  backdrop-filter: blur(18px) saturate(120%);
  transition: background 0.35s ease, min-height 0.35s ease;
}

.site-header.is-scrolled {
  min-height: 4.25rem;
  background: rgba(2, 5, 11, 0.9);
}

.brand {
  display: grid;
  grid-template-columns: 2.7rem auto;
  grid-template-rows: 1fr 1fr;
  align-items: center;
  width: max-content;
  line-height: 1;
}

.brand-mark {
  grid-row: 1 / 3;
  width: 2.35rem;
  height: 2.35rem;
  margin-right: 0.7rem;
  fill: none;
  stroke: var(--signal-blue);
  stroke-width: 1.5;
  overflow: visible;
}

.brand-mark path {
  stroke: var(--stellar-gold);
  stroke-linecap: round;
}

.brand-mark .brand-star {
  fill: var(--mist-100);
  stroke: none;
  filter: drop-shadow(0 0 5px var(--signal-blue));
}

.brand-name {
  align-self: end;
  color: var(--mist-100);
  font-family: var(--display);
  font-size: 1.03rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.brand-en {
  align-self: start;
  margin-top: 0.25rem;
  color: var(--mist-500);
  font-size: 0.55rem;
  letter-spacing: 0.24em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.2vw, 2.75rem);
}

.site-nav a {
  position: relative;
  padding: 1.75rem 0;
  color: var(--mist-300);
  font-size: 0.73rem;
  letter-spacing: 0.11em;
  transition: color 0.25s ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--signal-blue);
  box-shadow: 0 0 12px var(--signal-blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--mist-100);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-status {
  justify-self: end;
  color: var(--mist-500);
  font-size: 0.55rem;
  letter-spacing: 0.18em;
}

.header-status i {
  display: inline-block;
  width: 0.38rem;
  height: 0.38rem;
  margin-right: 0.5rem;
  border-radius: 50%;
  background: #7dffb1;
  box-shadow: 0 0 8px #7dffb1;
  animation: status-pulse 2.5s ease-in-out infinite;
}

.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  background: transparent;
}

.menu-line {
  display: block;
  width: 100%;
  height: 1px;
  margin: 0.35rem 0;
  background: var(--mist-100);
  transition: transform 0.25s ease;
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100svh;
  padding: clamp(8rem, 15vh, 11rem) var(--page-pad) clamp(6rem, 10vh, 8rem);
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(90deg, rgba(1, 3, 8, 0.98) 0%, rgba(1, 4, 10, 0.78) 34%, rgba(2, 6, 12, 0.18) 68%, rgba(2, 5, 11, 0.3) 100%),
    linear-gradient(0deg, var(--ink-950) 0%, transparent 25%);
}

.hero::after {
  position: absolute;
  right: -12vw;
  bottom: -44vw;
  z-index: -1;
  width: 82vw;
  height: 82vw;
  border: 1px solid rgba(138, 208, 255, 0.24);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 6rem rgba(47, 159, 255, 0.08), inset 0 0 4rem rgba(47, 159, 255, 0.05);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  filter: saturate(0.9) contrast(1.08) brightness(0.82);
  scale: 1.02;
  animation: hero-drift 18s ease-out both;
}

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

.hero-grid {
  position: absolute;
  inset: 5rem 0 0;
  z-index: -1;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(138, 208, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138, 208, 255, 0.08) 1px, transparent 1px);
  background-size: 7.5rem 7.5rem;
  mask-image: linear-gradient(90deg, black, transparent 70%);
}

.hero-copy {
  align-self: center;
  width: min(58rem, 66vw);
  margin-top: 2rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.8rem;
  color: var(--signal-blue);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.24em;
}

.eyebrow::before {
  width: 2.3rem;
  height: 1px;
  content: "";
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

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

.hero h1,
.section-head h2,
.capabilities-intro h2,
.contact h2 {
  text-wrap: balance;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.055em;
}

.hero h1 {
  max-width: 10em;
  margin-bottom: 2rem;
  font-size: clamp(4rem, 6.2vw, 7.2rem);
  line-height: 0.9;
}

.hero h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(90deg, var(--signal-blue), #dff3ff 62%, var(--stellar-gold));
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 1.8rem rgba(126, 200, 255, 0.2));
}

.hero-intro {
  max-width: 38rem;
  margin-bottom: 2.5rem;
  color: var(--mist-200);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 10.5rem;
  padding: 0.9rem 1rem 0.9rem 1.25rem;
  border: 1px solid transparent;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.button i {
  font-style: normal;
  font-size: 1rem;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  color: var(--ink-950);
  background: var(--mist-100);
}

.button-primary:hover {
  background: var(--signal-blue);
}

.button-ghost {
  border-color: var(--line-strong);
  background: rgba(2, 5, 11, 0.35);
}

.button-ghost:hover {
  border-color: var(--signal-blue);
  background: rgba(47, 159, 255, 0.11);
}

.hero-coordinates {
  position: absolute;
  right: var(--page-pad);
  bottom: 3rem;
  display: flex;
  gap: 1.4rem;
  color: var(--mist-500);
  font: 0.58rem/1 var(--body);
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
}

.scroll-cue {
  position: absolute;
  bottom: 2.6rem;
  left: var(--page-pad);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  color: var(--mist-500);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
}

.scroll-cue span {
  position: relative;
  width: 3.5rem;
  height: 1px;
  overflow: hidden;
  background: var(--line);
}

.scroll-cue span::after {
  position: absolute;
  inset: 0;
  content: "";
  background: var(--signal-blue);
  transform: translateX(-100%);
  animation: scroll-line 2.2s ease-in-out infinite;
}

.hero-orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(138, 208, 255, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.hero-orbit-a {
  top: 26%;
  right: 13%;
  width: 28rem;
  height: 28rem;
  transform: rotateX(69deg) rotateZ(-15deg);
}

.hero-orbit-b {
  top: 10%;
  right: -2%;
  width: 48rem;
  height: 48rem;
  border-color: rgba(241, 197, 116, 0.1);
  transform: rotateX(69deg) rotateZ(20deg);
}

.section-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: var(--section-space) var(--page-pad);
  overflow: hidden;
  isolation: isolate;
}

.section-head {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
  align-items: end;
  gap: 5vw;
  margin-bottom: clamp(4rem, 8vw, 7rem);
}

.section-head h2,
.capabilities-intro h2 {
  max-width: 10em;
  margin-bottom: 0;
  font-size: clamp(3rem, 4.7vw, 5.6rem);
  line-height: 0.94;
}

.section-deck {
  max-width: 31rem;
  margin-bottom: 0.6rem;
  color: var(--mist-300);
  line-height: 1.9;
}

.services {
  background:
    linear-gradient(180deg, var(--ink-950) 0%, rgba(4, 10, 18, 0.95) 48%, var(--ink-900) 100%);
}

.services::after {
  position: absolute;
  right: var(--page-pad);
  bottom: 2rem;
  z-index: -1;
  content: "02 / 05";
  color: rgba(138, 208, 255, 0.07);
  font: 700 clamp(7rem, 19vw, 18rem)/1 var(--display);
  letter-spacing: -0.08em;
}

.service-nebula {
  position: absolute;
  top: 16%;
  right: -16%;
  z-index: -2;
  width: min(69rem, 78vw);
  opacity: 0.24;
  filter: saturate(0.85) contrast(1.18);
  mask-image: radial-gradient(circle, black 0%, transparent 68%);
}

.service-nebula img {
  width: 100%;
}

.service-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  position: relative;
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  min-height: 21rem;
  padding: 2rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(16, 35, 57, 0.7), rgba(4, 9, 18, 0.76) 60%),
    rgba(5, 9, 20, 0.7);
  clip-path: polygon(0 0, calc(100% - 2rem) 0, 100% 2rem, 100% 100%, 0 100%);
  cursor: default;
  overflow: hidden;
  transition: border-color 0.35s ease, background 0.35s ease, transform 0.35s ease;
}

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

.service-card::before {
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--signal-blue), transparent);
  transform: translateX(-100%);
  transition: transform 0.7s ease;
}

.service-card::after {
  right: -5rem;
  bottom: -5rem;
  width: 10rem;
  height: 10rem;
  border: 1px solid rgba(138, 208, 255, 0.15);
  border-radius: 50%;
  box-shadow: 0 0 4rem rgba(47, 159, 255, 0.08);
}

.service-card-wide {
  grid-column: span 6;
}

.service-card:hover,
.service-card.is-active,
.service-card:focus-visible {
  border-color: rgba(138, 208, 255, 0.55);
  background:
    linear-gradient(145deg, rgba(25, 72, 109, 0.68), rgba(4, 9, 18, 0.88) 65%),
    rgba(5, 9, 20, 0.78);
  transform: translateY(-0.45rem);
}

.service-card:hover::before,
.service-card.is-active::before,
.service-card:focus-visible::before {
  transform: translateX(100%);
}

.card-index {
  color: var(--stellar-gold);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
}

.card-signal {
  width: 2.4rem;
  height: 2.4rem;
  margin: 2.5rem 0 3.5rem;
  border: 1px solid var(--signal-blue);
  border-radius: 50%;
  box-shadow: 0 0 1.3rem rgba(138, 208, 255, 0.16), inset 0 0 1rem rgba(138, 208, 255, 0.12);
}

.card-signal::after {
  display: block;
  width: 0.35rem;
  height: 0.35rem;
  margin: calc(50% - 0.175rem);
  border-radius: 50%;
  content: "";
  background: var(--mist-100);
  box-shadow: 0 0 10px var(--signal-blue);
}

.service-card h3 {
  margin-bottom: 0.75rem;
  font: 700 clamp(1.55rem, 2.3vw, 2.3rem)/1.1 var(--display);
  letter-spacing: -0.03em;
}

.service-card p {
  max-width: 22rem;
  margin-bottom: 2rem;
  color: var(--mist-300);
}

.card-code {
  margin-top: auto;
  color: var(--mist-500);
  font-size: 0.55rem;
  letter-spacing: 0.17em;
}

.scenarios {
  background:
    radial-gradient(circle at 20% 46%, rgba(20, 87, 138, 0.16), transparent 30rem),
    linear-gradient(180deg, var(--ink-900), #030710 60%, var(--ink-950));
}

.scenarios::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  opacity: 0.22;
  background-image: linear-gradient(90deg, transparent 49.8%, var(--line) 50%, transparent 50.2%);
}

.scenario-system {
  display: grid;
  grid-template-columns: minmax(19rem, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 9rem);
}

.orbit-stage {
  position: relative;
  aspect-ratio: 1;
  width: min(100%, 34rem);
  margin-inline: auto;
}

.orbit-ring {
  position: absolute;
  border: 1px solid rgba(138, 208, 255, 0.19);
  border-radius: 50%;
}

.orbit-ring::before,
.orbit-ring::after {
  position: absolute;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  content: "";
  background: var(--signal-blue);
  box-shadow: 0 0 1.1rem var(--signal-blue);
}

.orbit-ring-outer {
  inset: 2%;
  animation: orbit-rotate 24s linear infinite;
}

.orbit-ring-outer::before {
  top: 15%;
  left: 14%;
}

.orbit-ring-outer::after {
  right: 4%;
  bottom: 30%;
  background: var(--stellar-gold);
  box-shadow: 0 0 1.1rem var(--stellar-gold);
}

.orbit-ring-inner {
  inset: 21%;
  border-style: dashed;
  animation: orbit-rotate 16s linear infinite reverse;
}

.orbit-ring-inner::before {
  top: -0.25rem;
  left: 50%;
}

.orbit-ring-inner::after {
  right: 7%;
  bottom: 12%;
}

.orbit-core {
  position: absolute;
  inset: 37%;
  display: grid;
  place-content: center;
  border: 1px solid rgba(138, 208, 255, 0.4);
  border-radius: 50%;
  text-align: center;
  box-shadow: 0 0 4rem rgba(47, 159, 255, 0.18), inset 0 0 2rem rgba(47, 159, 255, 0.12);
}

.orbit-core span {
  font: 700 clamp(2.6rem, 6vw, 5rem)/0.85 var(--display);
  letter-spacing: -0.08em;
}

.orbit-core small {
  margin-top: 0.6rem;
  color: var(--mist-500);
  font-size: 0.45rem;
  letter-spacing: 0.18em;
}

.orbit-dot {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--mist-100);
  box-shadow: 0 0 10px 3px var(--signal-blue);
}

.dot-1 { top: 22%; left: 8%; }
.dot-2 { top: 6%; right: 32%; }
.dot-3 { right: 10%; bottom: 17%; }

.scenario-orbit {
  border-top: 1px solid var(--line);
}

.scenario-node {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.3s ease, border-color 0.3s ease;
}

.scenario-node:hover {
  padding-left: 0.75rem;
  border-color: var(--signal-blue);
}

.scenario-node > span {
  color: var(--stellar-gold);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
}

.scenario-node h3 {
  margin-bottom: 0.3rem;
  font: 700 clamp(1.4rem, 2vw, 2rem)/1.1 var(--display);
}

.scenario-node p {
  margin: 0;
  color: var(--mist-300);
  font-size: 0.93rem;
}

.capabilities {
  display: grid;
  grid-template-columns: minmax(18rem, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(4rem, 10vw, 10rem);
  align-items: start;
  background:
    linear-gradient(115deg, rgba(13, 39, 64, 0.25), transparent 42%),
    var(--ink-950);
}

.capabilities-intro {
  position: sticky;
  top: 8.5rem;
}

.capabilities-intro h2 {
  max-width: none;
  font-size: clamp(3rem, 4vw, 4.8rem);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.capability-grid article {
  position: relative;
  min-height: 20rem;
  padding: 2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.capability-grid article::after {
  position: absolute;
  right: -4rem;
  bottom: -4rem;
  width: 9rem;
  height: 9rem;
  border: 1px solid rgba(138, 208, 255, 0.1);
  border-radius: 50%;
  content: "";
  transition: scale 0.45s ease, border-color 0.45s ease;
}

.capability-grid article:hover::after {
  border-color: rgba(138, 208, 255, 0.45);
  scale: 1.45;
}

.capability-grid span {
  color: var(--signal-blue);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
}

.capability-grid h3 {
  margin: 4.6rem 0 0.9rem;
  font: 700 clamp(1.7rem, 2.5vw, 2.6rem)/1 var(--display);
}

.capability-grid p {
  max-width: 18rem;
  color: var(--mist-300);
}

.capability-grid i {
  position: absolute;
  right: 1.7rem;
  bottom: 1.2rem;
  color: rgba(138, 208, 255, 0.24);
  font: normal 3rem/1 var(--display);
}

.contact {
  display: grid;
  place-items: center start;
  min-height: 100svh;
  background: #02050a;
}

.contact::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(2, 5, 10, 0.99) 0%, rgba(2, 5, 10, 0.83) 42%, rgba(2, 5, 10, 0.18) 85%),
    linear-gradient(0deg, var(--ink-950), transparent 35%);
}

.contact-visual {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.contact-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  opacity: 0.88;
  filter: contrast(1.05) saturate(0.9);
}

.contact-copy {
  width: min(64rem, 76vw);
}

.contact h2 {
  max-width: 10em;
  margin-bottom: 2rem;
  font-size: clamp(4rem, 6.5vw, 7.5rem);
  line-height: 0.88;
}

.contact h2 em {
  color: transparent;
  background: linear-gradient(90deg, var(--stellar-gold), #fff1bd 62%, var(--signal-blue));
  -webkit-background-clip: text;
  background-clip: text;
  font-style: normal;
}

.contact-deck {
  max-width: 37rem;
  margin-bottom: 2.5rem;
  color: var(--mist-200);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
}

.contact-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-email {
  position: relative;
  padding-bottom: 0.45rem;
  color: var(--mist-100);
  font: 600 clamp(1.15rem, 2.5vw, 2rem)/1.2 var(--display);
  letter-spacing: 0.01em;
}

.contact-email::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--signal-blue), var(--stellar-gold));
}

.copy-button {
  display: inline-flex;
  gap: 0.7rem;
  align-items: center;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line-strong);
  background: rgba(3, 8, 16, 0.68);
  cursor: pointer;
  font-size: 0.75rem;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.copy-button:hover {
  border-color: var(--stellar-gold);
  background: rgba(241, 197, 116, 0.08);
}

.copy-button i {
  font-style: normal;
}

.copy-status {
  min-height: 1.7rem;
  margin-top: 0.9rem;
  color: var(--stellar-gold);
  font-size: 0.78rem;
}

.contact-stamp {
  position: absolute;
  right: var(--page-pad);
  bottom: 3.5rem;
  display: flex;
  align-items: flex-end;
  gap: 0.7rem;
  padding: 1rem;
  border: 1px solid rgba(241, 197, 116, 0.32);
  color: var(--stellar-gold);
  transform: rotate(-3deg);
}

.contact-stamp span {
  font: 700 3rem/0.8 var(--display);
  letter-spacing: -0.08em;
}

.contact-stamp small {
  font-size: 0.45rem;
  line-height: 1.35;
  letter-spacing: 0.17em;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  padding: 2rem var(--page-pad);
  border-top: 1px solid var(--line);
  color: var(--mist-500);
  background: var(--ink-950);
  font-size: 0.58rem;
  letter-spacing: 0.13em;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  justify-self: end;
  color: var(--mist-300);
}

.noscript-note {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 60;
  padding: 0.8rem 1rem;
  color: var(--ink-950);
  background: var(--stellar-gold);
  text-align: center;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.2, 0.7, 0.15, 1);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.js [data-reveal]:nth-child(2) { transition-delay: 0.08s; }
.js [data-reveal]:nth-child(3) { transition-delay: 0.16s; }
.js [data-reveal]:nth-child(4) { transition-delay: 0.24s; }
.js [data-reveal]:nth-child(5) { transition-delay: 0.32s; }

@keyframes status-pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

@keyframes scroll-line {
  0% { transform: translateX(-100%); }
  50%, 100% { transform: translateX(100%); }
}

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

@keyframes hero-drift {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .header-status {
    display: none;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav.is-open {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    padding: 1rem var(--page-pad) 2rem;
    border-bottom: 1px solid var(--line-strong);
    background: rgba(2, 5, 11, 0.97);
    backdrop-filter: blur(18px);
  }

  .site-nav.is-open a {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.85rem;
  }

  .hero-copy {
    width: min(48rem, 78vw);
  }

  .service-card {
    grid-column: span 6;
  }

  .service-card:last-child {
    grid-column: span 12;
  }

  .scenario-system,
  .capabilities {
    grid-template-columns: 1fr;
  }

  .orbit-stage {
    width: min(100%, 27rem);
  }

  .capabilities-intro {
    position: static;
  }
}

@media (max-width: 760px) {
  :root {
    --page-pad: 1.2rem;
    --section-space: 6.5rem;
  }

  html {
    scroll-padding-top: 4.5rem;
  }

  .site-header {
    min-height: 4.5rem;
  }

  .brand {
    grid-template-columns: 2.4rem auto;
  }

  .brand-mark {
    width: 2rem;
    height: 2rem;
  }

  .brand-name {
    font-size: 0.92rem;
  }

  .hero {
    min-height: 100svh;
    padding-top: 7.5rem;
  }

  .hero::before {
    background:
      linear-gradient(0deg, rgba(1, 3, 8, 0.98) 0%, rgba(1, 4, 10, 0.73) 62%, rgba(2, 6, 12, 0.23) 100%),
      linear-gradient(90deg, rgba(1, 3, 8, 0.74), transparent);
  }

  .hero-media img {
    object-position: 70% center;
  }

  .hero-copy {
    align-self: end;
    width: 100%;
    margin-bottom: 3.8rem;
  }

  .hero h1 {
    max-width: none;
    margin-bottom: 1.5rem;
    font-size: clamp(2.8rem, 12vw, 5rem);
  }

  .hero-intro {
    max-width: 33rem;
    font-size: 0.94rem;
    line-height: 1.75;
  }

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

  .button {
    min-width: 0;
  }

  .hero-coordinates,
  .scroll-cue,
  .hero-orbit-b {
    display: none;
  }

  .section-shell {
    min-height: auto;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3.5rem;
  }

  .section-head h2,
  .capabilities-intro h2 {
    font-size: clamp(2.5rem, 10vw, 4.5rem);
  }

  .section-deck {
    font-size: 0.94rem;
  }

  .service-nebula {
    top: 14%;
    right: -60%;
    width: 145vw;
  }

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

  .service-card,
  .service-card-wide,
  .service-card:last-child {
    grid-column: auto;
    min-height: 17rem;
  }

  .card-signal {
    margin: 1.8rem 0 2.2rem;
  }

  .scenario-system {
    gap: 4rem;
  }

  .orbit-stage {
    width: min(85vw, 22rem);
  }

  .scenario-orbit {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(16rem, 78vw);
    gap: 0.8rem;
    margin-right: calc(var(--page-pad) * -1);
    padding-right: var(--page-pad);
    border: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .scenario-orbit::-webkit-scrollbar {
    display: none;
  }

  .scenario-node {
    display: block;
    min-height: 13rem;
    padding: 1.5rem;
    border: 1px solid var(--line);
    background: rgba(7, 15, 27, 0.68);
    scroll-snap-align: start;
  }

  .scenario-node > span {
    display: block;
    margin-bottom: 2rem;
  }

  .capabilities {
    gap: 3.5rem;
  }

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

  .capability-grid article {
    min-height: 16rem;
  }

  .capability-grid h3 {
    margin-top: 3rem;
  }

  .contact {
    min-height: 100svh;
    padding-top: 8rem;
    padding-bottom: 7rem;
  }

  .contact::before {
    background:
      linear-gradient(0deg, rgba(2, 5, 10, 0.99) 0%, rgba(2, 5, 10, 0.76) 68%, rgba(2, 5, 10, 0.22) 100%);
  }

  .contact-visual img {
    object-position: 72% center;
  }

  .contact-copy {
    align-self: end;
    width: 100%;
  }

  .contact h2 {
    max-width: none;
    font-size: clamp(2.6rem, 11vw, 5.2rem);
  }

  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-email {
    width: max-content;
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: clamp(1rem, 5vw, 1.4rem);
  }

  .copy-button {
    align-self: start;
  }

  .contact-stamp {
    display: none;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    row-gap: 1rem;
  }

  .site-footer p:nth-child(2) {
    display: none;
  }
}

@media (max-width: 420px) {
  .brand-en {
    display: none;
  }

  .brand-name {
    grid-row: 1 / 3;
    align-self: center;
  }

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

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

  .starfield {
    display: none;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
