/* ============================================================
   SpaceHub — landing styles
   Aesthetic: clinical aerospace. Cold void, hairline rules,
   DIN-style display type, one orbital-blue accent.
   ============================================================ */

:root {
  /* color */
  --void:    #05070A;
  --deep:    #090D14;
  --panel:   #0F141C;
  --panel-2: #131A24;
  --line:    rgba(255, 255, 255, 0.08);
  --line-2:  rgba(255, 255, 255, 0.14);
  --ink:     #FFFFFF;
  --mist:    #9AA4B2;
  --steel:   #5B6675;
  --accent:  #3D7FFF;
  --accent-2:#6FA8FF;
  --flame:   #FF6A2B;

  /* type */
  --font-display: "Saira", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --fs-hero: clamp(2.7rem, 7.2vw, 6rem);
  --fs-h2:   clamp(1.9rem, 4vw, 3.1rem);
  --fs-h3:   clamp(1.15rem, 1.6vw, 1.4rem);
  --fs-lede: clamp(1.05rem, 1.5vw, 1.3rem);

  /* layout */
  --maxw: 1200px;
  --gutter: clamp(1.2rem, 4vw, 3rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--void);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 4px;
}

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: 1rem; top: -3rem;
  background: var(--accent); color: #fff; padding: .6rem 1rem;
  border-radius: 8px; z-index: 200; transition: top .2s;
}
.skip-link:focus { top: 1rem; }

.mono { font-family: var(--font-mono); font-feature-settings: "tnum" 1; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent-2);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(61,127,255,.18);
}

.h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin-top: .8rem;
}

.section { padding-block: var(--section-y); }
.section__head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3.4rem); }

/* ---------- buttons ---------- */
.btn {
  --b: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: .02em;
  padding: .7rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 10px;
  transition: transform .15s var(--ease), background .2s, border-color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn--lg { padding: .95rem 1.7rem; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn--primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 8px 30px -10px rgba(61,127,255,.7);
}
.btn--primary:hover { background: var(--accent-2); transform: translateY(-2px); }
.btn--ghost {
  background: transparent; color: var(--ink);
  border-color: var(--line-2);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-2); transform: translateY(-2px); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: transparent;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(5,7,10,.78);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 1.5rem; height: 70px; }

.brand { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-display); }
.brand__mark { width: 26px; height: 26px; fill: var(--accent); }
.brand__mark circle { fill: var(--void); }
.brand__word { font-weight: 800; letter-spacing: .12em; font-size: 1.05rem; }
.brand__hub { color: var(--accent-2); }

.nav__links { display: flex; gap: 1.6rem; margin-left: auto; }
.nav__links a {
  font-size: .92rem; color: var(--mist); position: relative; padding: .2rem 0;
  transition: color .2s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--accent); transition: width .25s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }
.nav__cta { margin-left: .4rem; padding-block: .55rem; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: .4rem; margin-left: auto; }
.nav__toggle span { width: 24px; height: 2px; background: var(--ink); transition: transform .25s, opacity .2s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none; flex-direction: column; gap: .4rem;
  padding: 1rem var(--gutter) 1.6rem;
  background: rgba(9,13,20,.97); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__mobile a { padding: .7rem 0; color: var(--mist); border-bottom: 1px solid var(--line); }
.nav__mobile .btn { margin-top: .6rem; color: #fff; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 70px;
  overflow: hidden;
  isolation: isolate;
}
.hero__sky { position: absolute; inset: 0; z-index: -1; }
#starfield { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__glow {
  position: absolute; left: 50%; top: -10%; transform: translateX(-50%);
  width: 90vw; height: 70vh;
  background: radial-gradient(ellipse at center, rgba(61,127,255,.14), transparent 60%);
  filter: blur(20px);
}
.hero__scene { position: absolute; inset: 0; width: 100%; height: 100%; }

.vehicle { animation: ascend 14s linear infinite; }
.vehicle__flame { transform-box: fill-box; transform-origin: center top; animation: flicker .12s steps(2) infinite; }
@keyframes ascend {
  0%   { transform: translateY(120px); opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { transform: translateY(-640px); opacity: 0; }
}
@keyframes flicker { 0% { transform: scaleY(1); } 100% { transform: scaleY(1.18); } }

.hero__content { position: relative; z-index: 2; padding-block: 2rem; }
.hero__eyebrow { animation: rise .7s var(--ease) both; }
.hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 1.1rem 0 1.3rem;
  max-width: 16ch;
  animation: rise .7s var(--ease) .08s both;
}
.hero__title-accent { color: var(--mist); }
.hero__lede {
  font-size: var(--fs-lede); color: var(--mist); max-width: 46ch;
  animation: rise .7s var(--ease) .16s both;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; animation: rise .7s var(--ease) .24s both; }

@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.hero__scroll {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
  width: 24px; height: 38px; border: 1px solid var(--line-2); border-radius: 14px; z-index: 2;
}
.hero__scroll span {
  position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px;
  background: var(--accent-2); border-radius: 2px; animation: scrolldot 1.6s var(--ease) infinite;
}
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translateY(12px); } 100% { opacity: 0; } }

/* ---------- HUD (signature) ---------- */
.hud {
  position: absolute; right: var(--gutter); bottom: clamp(2rem, 6vh, 4.5rem); z-index: 3;
  width: 290px; max-width: calc(100vw - 2 * var(--gutter));
  background: linear-gradient(180deg, rgba(15,20,28,.92), rgba(9,13,20,.92));
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 1rem 1.1rem 1.1rem;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.9);
  backdrop-filter: blur(8px);
  animation: rise .7s var(--ease) .4s both;
}
.hud__row--head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .7rem; }
.hud__live { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .18em; color: var(--flame); }
.hud__live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--flame); box-shadow: 0 0 0 0 rgba(255,106,43,.6); animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,106,43,.55); } 70% { box-shadow: 0 0 0 7px rgba(255,106,43,0); } 100% { box-shadow: 0 0 0 0 rgba(255,106,43,0); } }
.hud__mission { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .12em; color: var(--steel); }
.hud__clock { font-family: var(--font-mono); font-size: 1.7rem; font-weight: 700; letter-spacing: .02em; color: var(--ink); margin-bottom: .9rem; }
.hud__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem .9rem; }
.hud__cell { display: flex; flex-direction: column; gap: .15rem; }
.hud__label { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); }
.hud__value { font-family: var(--font-mono); font-size: 1.05rem; font-weight: 500; color: var(--accent-2); }
.hud__value small { color: var(--mist); font-size: .7rem; }
.hud__stage { font-size: .82rem !important; color: #6FE2A8; }
.hud__bar { height: 4px; border-radius: 4px; background: var(--line); margin-top: 1rem; overflow: hidden; }
.hud__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width .3s linear; }

/* ---------- stats ---------- */
.stats { border-block: 1px solid var(--line); background: var(--deep); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(1.8rem, 4vw, 3rem) 1rem; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat__num { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1; letter-spacing: -0.02em; }
.stat__label { display: block; margin-top: .6rem; font-size: .82rem; color: var(--mist); letter-spacing: .02em; }

/* ---------- value cards ---------- */
.value__head { max-width: 620px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.value__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.5rem; transition: border-color .25s, transform .25s, background .25s;
}
.card:hover { border-color: var(--line-2); background: var(--panel-2); transform: translateY(-3px); }
.card__title { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 600; margin-bottom: .6rem; }
.card__body { color: var(--mist); font-size: .98rem; }

/* ---------- story ---------- */
.story { background: var(--deep); border-block: 1px solid var(--line); }
.story__inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.story__lede { font-size: var(--fs-lede); color: var(--ink); margin: 1rem 0 1.2rem; }
.story__para { color: var(--mist); margin-bottom: 1rem; }
.story__para strong { color: var(--ink); font-weight: 600; }
.story__signoff { display: flex; flex-direction: column; gap: .2rem; margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.story__sign { font-family: var(--font-display); font-weight: 600; }
.story__loc { font-family: var(--font-mono); font-size: .75rem; color: var(--steel); letter-spacing: .12em; }

.story__media { display: flex; justify-content: center; }
.orbit { position: relative; width: min(340px, 80vw); }
.orbit svg { width: 100%; }
.orbit__earth { fill: url(#earthGrad); fill: #14365f; stroke: var(--accent); stroke-width: 1; filter: drop-shadow(0 0 18px rgba(61,127,255,.5)); }
.orbit__path { fill: none; stroke: var(--line-2); stroke-width: 1; }
.orbit__path--2 { stroke: rgba(61,127,255,.25); }
.orbit__sat circle { fill: var(--accent-2); }
.orbit__sat--a { transform-origin: 160px 160px; animation: spin 9s linear infinite; }
.orbit__sat--a circle { transform: translate(250px, 160px); }
.orbit__sat--b { transform-origin: 160px 160px; animation: spin 14s linear infinite reverse; }
.orbit__sat--b circle { transform: translate(290px, 160px); fill: var(--flame); }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit__caption { display: flex; justify-content: space-between; margin-top: 1rem; font-size: .68rem; color: var(--steel); letter-spacing: .12em; }

/* ---------- services ---------- */
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.service {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.4rem; display: flex; flex-direction: column;
  transition: border-color .25s, transform .25s, background .25s;
}
.service:hover { border-color: var(--accent); transform: translateY(-3px); background: var(--panel-2); }
.service__index { color: var(--steel); font-size: .82rem; letter-spacing: .1em; }
.service__title { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 600; margin: .7rem 0 .5rem; }
.service__body { color: var(--mist); font-size: .92rem; flex: 1; }
.service__price { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; margin-top: 1.2rem; color: var(--accent-2); }
.service__price span { display: block; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--steel); font-weight: 400; }
.service__price small { font-size: .82rem; color: var(--mist); font-weight: 400; }

/* ---------- fleet ---------- */
.fleet { background: var(--deep); border-block: 1px solid var(--line); }
.fleet__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.vehicle-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: border-color .25s, transform .25s;
}
.vehicle-card:hover { border-color: var(--line-2); transform: translateY(-4px); }
.vehicle-card--featured { border-color: rgba(61,127,255,.4); box-shadow: 0 30px 60px -40px rgba(61,127,255,.6); }
.vehicle-card__art {
  height: 210px; position: relative; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(120% 80% at 50% 115%, rgba(61,127,255,.22), var(--void) 70%);
  border-bottom: 1px solid var(--line);
}
.vehicle-card__art svg { height: 168px; width: auto; filter: drop-shadow(0 10px 24px rgba(0,0,0,.5)); transition: transform .4s var(--ease); }
.vehicle-card:hover .vehicle-card__art svg { transform: translateY(-6px); }
.vehicle-card__art .ship-flame { transform-box: fill-box; transform-origin: center top; animation: flicker .12s steps(2) infinite; }
@media (prefers-reduced-motion: reduce) { .vehicle-card__art .ship-flame { animation: none; } }
.vehicle-card__body { padding: 1.4rem 1.5rem 1.7rem; }
.vehicle-card__name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.vehicle-card__tag { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); margin: .3rem 0 1.1rem; }
.spec { display: flex; flex-direction: column; gap: .6rem; }
.spec > div { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .55rem; border-bottom: 1px solid var(--line); }
.spec dt { color: var(--steel); font-size: .85rem; }
.spec dd { font-family: var(--font-mono); font-size: .9rem; color: var(--ink); }

/* ---------- roadmap ---------- */
.timeline { list-style: none; padding: 0; position: relative; display: flex; flex-direction: column; gap: 1.4rem; }
.timeline::before { content: ""; position: absolute; left: 87px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline__item { position: relative; display: grid; grid-template-columns: 70px 1fr; column-gap: 3rem; align-items: start; }
.timeline__year { padding-top: .9rem; font-size: .95rem; color: var(--steel); text-align: right; }
.timeline__item.is-done .timeline__year { color: var(--mist); }
.timeline__item.is-now .timeline__year { color: var(--accent-2); }
.timeline__item::before {
  content: ""; position: absolute; left: 81px; top: 14px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--void); border: 2px solid var(--steel); z-index: 1;
}
.timeline__item.is-done::before { background: var(--mist); border-color: var(--mist); }
.timeline__item.is-now::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 5px rgba(61,127,255,.25); animation: pulse-accent 2s infinite; }
@keyframes pulse-accent { 0% { box-shadow: 0 0 0 0 rgba(61,127,255,.4); } 70% { box-shadow: 0 0 0 9px rgba(61,127,255,0); } 100% { box-shadow: 0 0 0 0 rgba(61,127,255,0); } }
.timeline__card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.2rem 1.4rem; transition: border-color .25s, transform .25s;
}
.timeline__item.is-now .timeline__card { border-color: rgba(61,127,255,.4); }
.timeline__card:hover { border-color: var(--line-2); transform: translateX(4px); }
.timeline__title { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 600; margin-bottom: .35rem; display: flex; align-items: center; gap: .7rem; }
.timeline__card p { color: var(--mist); font-size: .95rem; }
.timeline__badge { font-family: var(--font-mono); font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; background: var(--accent); padding: .15rem .5rem; border-radius: 20px; }

/* ---------- book / form ---------- */
.book { background: var(--deep); border-top: 1px solid var(--line); }
.book__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.book__lede { font-size: var(--fs-lede); color: var(--mist); margin: 1rem 0 1.6rem; }
.book__list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .8rem; }
.book__list li { position: relative; padding-left: 1.8rem; color: var(--ink); }
.book__list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-2); font-weight: 700; }

.book__form { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.field--row { flex-direction: row; gap: 1rem; margin-bottom: 0; }
.field--row .field { flex: 1; }
.field label { font-size: .82rem; color: var(--mist); font-weight: 500; letter-spacing: .02em; }
.field__opt { color: var(--steel); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: var(--void); border: 1px solid var(--line-2); border-radius: 9px;
  padding: .75rem .9rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 80px; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%239AA4B2' stroke-width='1.6'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 12px 8px; padding-right: 2.6rem; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(61,127,255,.18);
}
.field.has-error input, .field.has-error select { border-color: #FF5468; box-shadow: 0 0 0 3px rgba(255,84,104,.16); }
.field__error { font-size: .76rem; color: #FF7585; min-height: 1em; }
.book__formnote { margin-top: 1rem; font-size: .9rem; min-height: 1.2em; color: var(--mist); }
.book__formnote.is-ok { color: #6FE2A8; }
.book__formnote.is-bad { color: #FF7585; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--void); padding-top: clamp(2.5rem, 5vw, 4rem); }
.footer__inner { display: grid; grid-template-columns: 1.2fr 2fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer__tag { color: var(--mist); margin-top: .8rem; font-size: .92rem; }
.footer__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.footer__col { display: flex; flex-direction: column; gap: .6rem; }
.footer__col h4 { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--steel); font-weight: 400; margin-bottom: .3rem; }
.footer__col a { color: var(--mist); font-size: .92rem; transition: color .2s; }
.footer__col a:hover { color: var(--accent-2); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.footer__bottom .mono { font-size: .72rem; color: var(--steel); letter-spacing: .04em; }
.footer__status { display: inline-flex; align-items: center; gap: .5rem; color: #6FE2A8 !important; }
.footer__status .hud__live-dot { background: #6FE2A8; }

/* ---------- legal modal ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: var(--gutter); }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(3,5,8,.7); backdrop-filter: blur(4px); animation: fade .25s; }
.modal__panel {
  position: relative; width: min(720px, 100%); max-height: 86vh; display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden;
  animation: pop .3s var(--ease);
}
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.modal__head { display: flex; align-items: center; justify-content: space-between; padding: 1.3rem 1.6rem; border-bottom: 1px solid var(--line); }
.modal__title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; }
.modal__close { background: none; border: 1px solid var(--line-2); color: var(--mist); width: 34px; height: 34px; border-radius: 8px; transition: color .2s, border-color .2s; }
.modal__close:hover { color: var(--ink); border-color: var(--accent); }
.modal__body { padding: 1.6rem; overflow-y: auto; color: var(--mist); }
.modal__body h3 { font-family: var(--font-display); color: var(--ink); font-size: 1.05rem; margin: 1.4rem 0 .5rem; }
.modal__body h3:first-child { margin-top: 0; }
.modal__body p { margin-bottom: .8rem; font-size: .95rem; }
.modal__body ul { margin: 0 0 .8rem 1.2rem; font-size: .95rem; }
.modal__body li { margin-bottom: .4rem; }
.modal__body .mono { color: var(--steel); font-size: .8rem; display: block; margin-top: 1.4rem; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   responsive
   ============================================================ */
@media (max-width: 980px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav__mobile:not([hidden]) { display: flex; }
  .value__grid, .services__grid, .fleet__grid, .footer__nav { grid-template-columns: 1fr 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .story__inner, .book__inner, .footer__inner { grid-template-columns: 1fr; }
  .story__media { order: -1; }
  .hud { position: static; width: 100%; max-width: 360px; margin: 2.2rem 0 0; }
  .hero { min-height: auto; padding-bottom: 4rem; }
}
@media (max-width: 620px) {
  .value__grid, .services__grid, .fleet__grid, .footer__nav { grid-template-columns: 1fr; }
  .field--row { flex-direction: column; gap: 0; }
  .field--row .field { margin-bottom: 1.1rem; }
  .timeline::before { left: 7px; }
  .timeline__item { grid-template-columns: 1fr; gap: .5rem; padding-left: 2rem; }
  .timeline__item::before { left: 1px; }
  .timeline__year { text-align: left; padding-top: 0; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .vehicle, .hero__scroll span, .orbit__sat--a, .orbit__sat--b { animation: none !important; }
}
