/* ═══════════════════════════════════════════════════════════
   FORGE SPACE OPERATIONS — Global Stylesheet
   ═══════════════════════════════════════════════════════════ */

/* ── Design tokens ── */
:root {
  --navy-deep:      #0b0f1a;
  --navy-mid:       #0f1628;
  --navy-surface:   #141927;
  --navy-card:      #1a2235;
  --blue-bright:    #3b82f6;
  --blue-dim:       #1d4ed8;
  --blue-soft:      #5b8fc7;
  --light-blue-soft:#a8c4e0;
  --orange:         #d35b27;
  --cream:          #f5f2ec;
  --cream-text:     #1e293b;
  --white:          #ffffff;
  --text-body:      #e2e8f0;
  --text-muted:     #94a3b8;
  --rule:           #1e293b;

  --font-sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --max-w: 1040px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--navy-deep);
  color: var(--text-body);
  font-family: var(--font-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ═══════════════════════════════
   HEADER & NAV
   ═══════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 26, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo { width: 36px; height: 36px; }

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name-primary {
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--white);
  text-transform: uppercase;
}

.brand-name-secondary {
  font-size: .58rem;
  font-weight: 500;
  letter-spacing: .2em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
}

.primary-nav a {
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 4px;
  transition: color .15s, background .15s;
}

.primary-nav a:hover,
.primary-nav a.active {
  color: var(--white);
  background: var(--navy-card);
}

.primary-nav .nav-cta {
  background: var(--blue-dim);
  color: var(--white) !important;
  border-radius: 4px;
}

.primary-nav .nav-cta:hover { background: var(--blue-bright); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 4px;
}

@media (max-width: 700px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--navy-mid);
    border-bottom: 1px solid var(--rule);
    padding: 16px 24px 24px;
  }
  .primary-nav.open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* ═══════════════════════════════
   SECTION SHELL
   ═══════════════════════════════ */
.section { padding: 80px 24px; }
.section-inner { max-width: var(--max-w); margin: 0 auto; }

.section-deep  { background: var(--navy-mid); }
.section-cream { background: var(--cream); color: var(--cream-text); }
.section-navy  { background: var(--navy-surface); }

.section-eyebrow {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 10px;
}

.section-cream .section-eyebrow { color: var(--blue-dim); }

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 36ch;
}

.section-deck {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 68ch;
  line-height: 1.7;
  margin-bottom: 48px;
}

.section-cream .section-deck { color: #475569; }

/* ═══════════════════════════════
   HERO
   ═══════════════════════════════ */
.hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, #0d1a30 100%);
  padding: 96px 24px 80px;
  border-bottom: 1px solid var(--rule);
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

@media (max-width: 700px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-mark { display: none; }
}

.hero-eyebrow {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
  max-width: 22ch;
}

.hero-title em { color: var(--orange); font-style: normal; }

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--light-blue-soft);
  max-width: 58ch;
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-cta-row { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-mark { width: 160px; opacity: .9; }

/* ═══════════════════════════════
   BUTTONS
   ═══════════════════════════════ */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 5px;
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .03em;
  transition: opacity .15s, background .15s;
  cursor: pointer;
  border: none;
}

.btn-primary { background: var(--blue-bright); color: var(--white); }
.btn-primary:hover { background: var(--blue-dim); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.25);
}
.btn-ghost:hover { border-color: var(--white); }

/* ═══════════════════════════════
   STATS ROW
   ═══════════════════════════════ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.stat-card {
  background: var(--white);
  border: 1px solid #d1dce8;
  border-radius: 8px;
  padding: 28px 24px;
}

.stat-value {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--blue-dim);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: .82rem;
  color: #475569;
  line-height: 1.4;
}

/* ═══════════════════════════════
   JUDGMENT BAR
   ═══════════════════════════════ */
.judgment-bar {
  border-left: 3px solid var(--orange);
  padding: 14px 20px;
  background: rgba(211,91,39,.08);
  border-radius: 0 5px 5px 0;
  font-size: .9rem;
  color: var(--light-blue-soft);
  line-height: 1.6;
}

.section-cream .judgment-bar {
  background: rgba(211,91,39,.06);
  color: var(--cream-text);
}

/* ═══════════════════════════════
   DOMAIN CARDS
   ═══════════════════════════════ */
.domains-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 0;
}

.domain-card {
  border-radius: 8px;
  padding: 28px 22px;
  border-top: 3px solid transparent;
  background: var(--navy-card);
}

.domain-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin: 12px 0 8px;
}

.domain-card p {
  font-size: .84rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.domain-num {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--text-muted);
}

.domain-icon {
  width: 22px; height: 22px;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
  margin-top: 10px;
}

.color-energy    { border-color: var(--orange);     } .color-energy    .domain-icon { color: var(--orange);    }
.color-utilities { border-color: #3b9ddd;           } .color-utilities .domain-icon { color: #3b9ddd;          }
.color-propellant{ border-color: #9c6ef5;           } .color-propellant .domain-icon{ color: #9c6ef5;          }
.color-transport { border-color: #34c97e;           } .color-transport .domain-icon { color: #34c97e;          }
.color-environment{border-color: #60a5fa;           } .color-environment .domain-icon{color: #60a5fa;          }

/* ═══════════════════════════════
   POSITIONING CARDS
   ═══════════════════════════════ */
.positioning {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 0;
}

.position-card {
  background: var(--navy-card);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 24px;
}

.position-card.highlight {
  border-color: var(--blue-dim);
  background: rgba(59,130,246,.08);
}

.position-card .label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.position-card.highlight .label { color: var(--blue-bright); }

.position-card p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ═══════════════════════════════
   FOOTER
   ═══════════════════════════════ */
.site-footer {
  background: #080c16;
  border-top: 1px solid var(--rule);
  padding: 56px 24px 32px;
}

.footer-inner { max-width: var(--max-w); margin: 0 auto; }

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  margin-bottom: 40px;
}

@media (max-width: 640px) { .footer-top { grid-template-columns: 1fr; } }

.footer-tagline {
  font-size: .85rem;
  color: var(--text-muted);
  max-width: 44ch;
  margin-top: 14px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 8px; }

.footer-col a {
  font-size: .84rem;
  color: var(--text-muted);
  transition: color .15s;
}

.footer-col a:hover { color: var(--white); }

.footer-domains {
  font-size: .72rem;
  color: #334155;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 20px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 20px;
}

.footer-domains span { margin: 0 10px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .78rem;
  color: #334155;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom .right { display: flex; gap: 24px; }
