/* =========================================================================
   Space Acceleration Industries — Design System
   Brand: Audiowide (display) + Syne (text) + DM Mono (mono)
   Palette: #01092d navy / #ffffff / #ff7a5e coral / #12306f deep blue
   ========================================================================= */

:root {
  --space-1: clamp(0.5rem, 1.6vw, 0.875rem);
  --space-2: clamp(0.875rem, 2.2vw, 1.25rem);
  --space-3: clamp(1.125rem, 2.8vw, 1.75rem);
  --space-4: clamp(1.5rem, 3.4vw, 2.5rem);
  --space-5: clamp(2rem, 5vw, 4rem);
  /* Core palette */
  --c-navy:        #01092d;
  --c-navy-2:      #050f3a;
  --c-deep:        #12306f;
  --c-deep-2:      #1a3f8a;
  --c-white:       #ffffff;
  --c-coral:       #ff7a5e;
  --c-coral-2:     #ff9a83;

  /* Semantic */
  --bg:            var(--c-navy);
  --bg-elev:       #07123e;
  --surface:       rgba(18, 48, 111, 0.18);
  --surface-2:     rgba(18, 48, 111, 0.34);
  --border:        rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.22);
  --text:          var(--c-white);
  --muted:         #b9c3da;
  --muted-2:       #8593b3;
  --accent:        var(--c-coral);

  /* Typography */
  --font-display: "Audiowide", sans-serif;
  --font-text:    "Syne", system-ui, -apple-system, sans-serif;
  --font-mono:    "DM Mono", "Audiowide", monospace;

  /* Layout */
  --maxw:          1200px;
  --maxw-narrow:   880px;
  --gutter:        clamp(16px, 4vw, 40px);
  --section-y:     clamp(80px, 10vw, 140px);
  --section-y-compact: clamp(56px, 7vw, 96px);
  --section-y-large: clamp(96px, 12vw, 176px);
  --measure-base: 64ch;
  --measure-narrow: 56ch;
  --measure-wide: 72ch;
  --hero-min-h: clamp(620px, 88vh, 860px);
  --page-hero-min-h: clamp(420px, 62vh, 620px);
  --radius:        2px;
  --radius-lg:     6px;

  /* Motion */
  --ease:          cubic-bezier(.2, .7, .2, 1);
  --page-bg:       url("/assets/background-image-6.jpg");
}

/* -------------------------------------------------------------------------
   Reset
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(2, 9, 58, 0.68) 0%, rgba(1, 9, 45, 0.76) 60%, rgba(0, 4, 24, 0.94) 100%),
    var(--page-bg) center / cover fixed no-repeat;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  z-index: 0;
}
.bg-canvas-wrap {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}
.bg-canvas-wrap canvas {
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}
.bg-atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 80% 12%, rgba(26, 63, 138, 0.24), transparent 62%),
    radial-gradient(780px 520px at 12% 18%, rgba(255, 122, 94, 0.07), transparent 60%),
    linear-gradient(180deg, rgba(2, 9, 58, 0.52) 0%, rgba(1, 9, 45, 0.66) 58%, rgba(0, 4, 24, 0.82) 100%);
}
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(26, 63, 138, 0.55), transparent 60%),
    radial-gradient(900px 600px at 0% 10%, rgba(255, 122, 94, 0.10), transparent 60%);
  animation: bg-breathe 28s ease-in-out infinite alternate;
  z-index: -1;
  pointer-events: none;
}
@keyframes bg-breathe {
  from { opacity: 1; transform: scale(1) translate(0, 0); }
  to   { opacity: 0.82; transform: scale(1.07) translate(-1.5%, 1.5%); }
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--c-coral); outline-offset: 3px; }

/* -------------------------------------------------------------------------
   Typography
   ------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 1.05;
  text-wrap: balance;
}
h1 { font-size: clamp(40px, 6.4vw, 84px); }
h2 { font-size: clamp(32px, 4.6vw, 60px); }
h3 { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: 0.01em; }
h4 { font-size: clamp(16px, 1.4vw, 18px); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-family: var(--font-text); font-weight: 600; }
p  { margin: 0 0 1em; color: var(--muted); }
p.lead { font-size: clamp(18px, 1.6vw, 22px); color: #d6deef; line-height: 1.55; max-width: var(--measure-base); }
strong { color: var(--text); font-weight: 600; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--c-coral); font-weight: 500;
  padding: 6px 12px;
  border: 1px solid rgba(255, 122, 94, 0.35);
  border-radius: 999px;
  background: rgba(255, 122, 94, 0.06);
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-coral);
  box-shadow: 0 0 8px var(--c-coral);
}

.text-accent { color: var(--c-coral); }
.text-mono   { font-family: var(--font-display); letter-spacing: 0.04em; }

/* -------------------------------------------------------------------------
   Layout primitives
   ------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container-narrow { max-width: var(--maxw-narrow); }
.section { padding: var(--section-y) 0; position: relative; overflow-x: clip; }
.section,
.partners,
.site-footer,
.cta-band {
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px;
}
.section-divider { border-top: 1px solid var(--border); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.center { text-align: center; }
.stack { display: grid; gap: var(--space-3); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
.panel {
  background: rgba(18, 48, 111, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-lg);
}
.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

/* -------------------------------------------------------------------------
   Navigation
   ------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(1, 9, 45, 0.85), rgba(1, 9, 45, 0.55));
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0; gap: 24px;
}
.nav-brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--c-white);
}
.nav-brand::before {
  content: none;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(255, 122, 94, 0.8);
  box-shadow: 0 0 14px rgba(255, 122, 94, 0.35);
}
.nav-brand span { display: inline-block; }
.nav-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  flex: 0 0 auto;
}

.nav-links {
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  display: inline-block;
  padding: 10px 14px;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  color: #d6deef;
  border-radius: var(--radius);
}
.nav-links a:hover, .nav-links a[aria-current="page"] {
  color: var(--c-white);
  background: var(--surface);
}
.nav-cta {
  margin-left: 8px;
  padding: 10px 18px !important;
  background: var(--c-coral) !important;
  color: var(--c-navy) !important;
  font-weight: 700;
  border-radius: var(--radius);
}
.nav-cta:hover { background: var(--c-coral-2) !important; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--c-white);
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  margin: 0 auto;
  width: 18px; height: 2px;
  background: var(--c-white);
  position: relative;
}
.nav-toggle span::before { content: ""; position: absolute; top: -6px; left: 0; }
.nav-toggle span::after  { content: ""; position: absolute; top:  6px; left: 0; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: rgba(2, 9, 45, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 12px var(--gutter) 20px;
    gap: 2px;
    transform: translateY(-12px);
    opacity: 0; pointer-events: none;
    transition: opacity .2s var(--ease), transform .2s var(--ease);
  }
  .nav-links a { padding: 12px 14px; font-size: 15px; }
  .nav.open .nav-links { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-cta {
    margin-left: 0 !important;
    margin-top: 8px;
    text-align: center;
    justify-content: center;
  }
}

/* -------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px;
  font-family: var(--font-text);
  font-size: 14px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform .15s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--c-coral);
  color: var(--c-navy);
}
.btn-primary:hover { background: var(--c-coral-2); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--c-white);
}
.btn-ghost:hover { border-color: var(--c-coral); color: var(--c-coral); }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-arrow::after {
  content: "→";
  display: inline-block;
  transition: transform .2s var(--ease);
}
.btn-arrow:hover::after { transform: translateX(4px); }

.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.actions.center { justify-content: center; }

/* -------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */
 .hero {
  position: relative;
  min-height: var(--hero-min-h);
  padding: clamp(60px, 10vw, 120px) 0 clamp(80px, 12vw, 160px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 50% 0%, rgba(26, 63, 138, 0.45), transparent 70%);
  opacity: 0.55;
  z-index: -1;
}
@media (max-width: 900px) {
  .hero::before {
    background: radial-gradient(60% 60% at 50% 0%, rgba(26, 63, 138, 0.45), transparent 70%);
    opacity: 0.65;
  }
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(1, 9, 45, 0.35) 60%, var(--c-navy) 100%);
  z-index: -1;
}
.hero-inner { text-align: center; max-width: 1000px; margin: 0 auto; }
.hero-inner { position: relative; z-index: 1; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 122, 94, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 122, 94, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 80% 100% at 50% 0%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 100% at 50% 0%, black 20%, transparent 80%);
}
.hero-logo {
  width: clamp(180px, 20vw, 280px);
  margin: 18px auto 24px;
  object-fit: contain;
}
body[data-route="/"] .hero .eyebrow {
  margin-bottom: 18px;
}
body[data-route="/"] .hero h1 {
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(36px, 6.6vw, 78px);
  margin-bottom: 18px;
}
.hero .tagline {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 28px);
  color: var(--c-coral);
  letter-spacing: 0.04em;
  margin: 0 0 28px;
}
body[data-route="/"] .hero .tagline {
  margin: 0 0 24px;
}
.hero p.lead { margin: 0 auto 36px; }
body[data-route="/"] .hero p.lead {
  margin: 0 auto 34px;
}
.hero .actions { justify-content: center; }
body[data-route="/"] .hero-inner {
  max-width: 940px;
  padding-left: clamp(12px, 3vw, 28px);
  padding-right: clamp(12px, 3vw, 28px);
}

@media (max-width: 480px) {
  .hero .actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero .actions .btn {
    text-align: center;
    justify-content: center;
    width: 100%;
  }
  .hero-logo {
    width: clamp(120px, 36vw, 160px);
    margin-bottom: 20px;
  }
  .hero h1 {
    font-size: clamp(32px, 8.5vw, 44px);
  }
}

/* -------------------------------------------------------------------------
   Section parts
   ------------------------------------------------------------------------- */
.section-head { max-width: 760px; margin: 0 auto 56px; }
.section-head.center { text-align: center; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { margin-bottom: 18px; }

/* -------------------------------------------------------------------------
   Cards
   ------------------------------------------------------------------------- */
.card {
  position: relative;
  padding: 32px 28px;
  background: rgba(18, 48, 111, 0.14);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-lg);
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}

@media (max-width: 900px) {
  body::before { animation: none; opacity: 0.9; }
  .card, .pillar, .cookie-banner { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .site-header { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
}
.card:hover {
  border-color: rgba(255, 122, 94, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 122, 94, 0.12);
}
.card h3 { margin-bottom: 12px; font-family: var(--font-display); }
.card p  { margin-bottom: 0; color: var(--muted); font-size: 15.5px; }
.card-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-coral);
  letter-spacing: 0.18em;
  margin-bottom: 18px;
}

.feature {
  display: grid; gap: 14px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
}
.feature:last-child { border-bottom: 1px solid var(--border); }
.feature-row { display: grid; grid-template-columns: 80px 1fr; gap: 24px; align-items: start; }
.feature-num {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--c-coral);
  letter-spacing: 0.08em;
}
.feature h3 { font-family: var(--font-display); font-size: clamp(20px, 2vw, 26px); }
.feature p  { margin: 8px 0 0; }
@media (max-width: 700px) { .feature-row { grid-template-columns: 1fr; gap: 8px; } }

/* -------------------------------------------------------------------------
   Pillars (3-up)
   ------------------------------------------------------------------------- */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.pillar {
  padding: 36px 30px;
  background: rgba(18, 48, 111, 0.12);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-right: 1px solid var(--border);
  transition: background .3s var(--ease);
}
.pillar:hover { background: rgba(18, 48, 111, 0.22); }
.pillar:last-child { border-right: 0; }
.pillar .pillar-num { font-family: var(--font-mono); color: var(--c-coral); font-size: 12px; letter-spacing: 0.18em; }
.pillar h3 { margin: 14px 0 12px; font-family: var(--font-display); }
.pillar p { margin: 0; color: var(--muted); font-size: 15.5px; }
@media (max-width: 900px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: 0; border-bottom: 1px solid var(--border); }
  .pillar:last-child { border-bottom: 0; }
}

/* -------------------------------------------------------------------------
   Partners strip
   ------------------------------------------------------------------------- */
.partners {
  padding: 56px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
}
.partners-label {
  text-align: center;
  font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--muted-2);
  margin: 0 0 28px;
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 36px;
  align-items: center;
}
.partners-grid img {
  max-height: 56px;
  width: auto;
  margin: 0 auto;
  opacity: 0.75;
  filter: grayscale(15%) brightness(1.05);
  transition: opacity .25s var(--ease), filter .25s var(--ease);
}
.partners-grid { min-height: 0; }
.partners-grid img:hover { opacity: 1; filter: grayscale(0) brightness(1.1); }
.partners-grid-home {
  grid-template-columns: repeat(2, minmax(220px, 280px));
  justify-content: center;
  align-items: center;
  gap: clamp(36px, 6vw, 96px);
  margin-top: 12px;
  margin-bottom: 12px;
}
.partner-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 86px;
  padding: 10px 12px;
}
/* Homepage affiliations: tuned relative scale */
.partners-grid-home .partner-logo:nth-of-type(1) img {
  transform: scale(1.15);
  transform-origin: center;
}
.partners-grid-home .partner-logo:nth-of-type(2) img {
  transform: scale(1.2);
  transform-origin: center;
}
@media (max-width: 900px) { .partners-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
@media (max-width: 900px) {
  .partners-grid-home { grid-template-columns: repeat(2, minmax(150px, 1fr)); }
}
@media (max-width: 500px) {
  .partners-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .partners-grid-home { grid-template-columns: 1fr; gap: 18px; }
  .partner-logo { min-height: 72px; }
  .partners-grid-home .partner-logo:nth-of-type(1) img,
  .partners-grid-home .partner-logo:nth-of-type(2) img { transform: none; }
  .partners-grid img { max-height: 46px; }
}

/* -------------------------------------------------------------------------
   Imagery
   ------------------------------------------------------------------------- */
.image-wrap {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.image-wrap:empty,
.partners-grid:empty {
  display: none;
}
.image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.image-wrap.image-placeholder {
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 122, 94, 0.16), transparent 28%),
    radial-gradient(circle at 28% 72%, rgba(26, 63, 138, 0.58), transparent 34%),
    linear-gradient(145deg, rgba(7, 18, 62, 0.9), rgba(1, 9, 45, 0.96));
}
.image-wrap.image-placeholder::before {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(255, 122, 94, 0.34) 50%, transparent 50.2%),
    linear-gradient(0deg, transparent 49.8%, rgba(26, 63, 138, 0.5) 50%, transparent 50.2%);
  opacity: 0.8;
}
.image-wrap::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(1, 9, 45, 0) 40%, rgba(1, 9, 45, 0.5) 100%);
  pointer-events: none;
}

/* -------------------------------------------------------------------------
   CTA band
   ------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  padding: clamp(70px, 9vw, 120px) 0;
  text-align: center;
  background:
    radial-gradient(60% 80% at 50% 100%, rgba(255, 122, 94, 0.18), transparent 70%),
    linear-gradient(180deg, transparent, rgba(18, 48, 111, 0.35));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-band h2 { margin-bottom: 16px; }
.cta-band p { max-width: 60ch; margin: 0 auto 32px; color: #d6deef; font-size: clamp(17px, 1.5vw, 20px); }
.cta-logo {
  width: clamp(150px, 16vw, 230px);
  margin: 40px auto 48px;
  object-fit: contain;
}
body[data-route="/"] .cta-band {
  padding: clamp(64px, 8vw, 104px) 0;
}
body[data-route="/"] .cta-band p {
  margin: 0 auto 26px;
}

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */
.site-footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-grid h5 {
  margin: 0 0 16px;
  font-family: var(--font-text);
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--c-coral);
  font-weight: 700;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--muted); font-size: 14.5px; }
.footer-grid a:hover { color: var(--c-white); }
.footer-brand p { margin: 12px 0 0; color: var(--muted); font-size: 14px; max-width: 36ch; }
.footer-brand .nav-brand { margin-bottom: 0; }
.footer-brand .nav-brand::before { content: none; }
.footer-brand .nav-logo {
  width: 120px;
  height: 120px;
}
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px; color: var(--muted-2);
}
.footer-bottom a:hover { color: var(--c-coral); }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------------------
   Cookie banner
   ------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px;
  z-index: 100;
  display: none;
  padding: 18px 22px;
  background: rgba(2, 9, 45, 0.96);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  max-width: 720px;
  margin: 0 auto;
}
.cookie-banner.show { display: flex; }
.cookie-banner-inner {
  display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
  width: 100%;
}
.cookie-banner p {
  margin: 0; flex: 1 1 320px;
  font-size: 14px; color: var(--muted);
}
.cookie-banner p a { color: var(--c-coral); text-decoration: underline; }
.cookie-banner .actions { gap: 10px; }
.cookie-banner .btn { padding: 10px 16px; font-size: 12px; }

/* -------------------------------------------------------------------------
   Utilities
   ------------------------------------------------------------------------- */
.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;
}
.divider-glow {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 122, 94, 0.6), transparent);
  margin: 0 auto;
  max-width: 200px;
}

/* -------------------------------------------------------------------------
   Internal pages — compact hero + prose
   ------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  min-height: var(--page-hero-min-h);
  padding: clamp(80px, 10vw, 140px) 0 clamp(50px, 6vw, 80px);
  text-align: center;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(50% 60% at 50% 0%, rgba(26, 63, 138, 0.35), transparent 70%),
    radial-gradient(40% 50% at 50% 100%, rgba(255, 122, 94, 0.08), transparent 70%);
  z-index: -1;
  opacity: 0.72;
}

body[data-route="/"] { --page-bg: none; }
body[data-route="/vision/"] { --page-bg: url("/assets/background-image-1.jpg"); }
body[data-route="/services/"] { --page-bg: url("/assets/background-image-2.jpg"); }
body[data-route="/markets/"] { --page-bg: url("/assets/background-image-3.jpg"); }
body[data-route="/procurement/"] { --page-bg: url("/assets/background-image-4.jpg"); }
body[data-route="/impact/"] { --page-bg: url("/assets/background-image-5.jpg"); }
body[data-route="/platform/"] { --page-bg: url("/assets/image-12.jpg"); }
body[data-route="/architecture/"] { --page-bg: url("/assets/image-3.webp"); }
body[data-route="/standards/"] { --page-bg: url("/assets/image-4.webp"); }
body[data-route="/security/"] { --page-bg: url("/assets/image-5.webp"); }
body[data-route="/cyber/"] { --page-bg: url("/assets/image-6.jpg"); }
body[data-route="/defense/"] { --page-bg: url("/assets/image-8.jpg"); }
body[data-route="/newsroom/"] { --page-bg: url("/assets/image-9.jpg"); }
body[data-route="/faq/"] { --page-bg: url("/assets/image-11.webp"); }

/* Impact page: tighten vertical rhythm to avoid large mobile gaps */
body[data-route="/impact/"] .section {
  padding: clamp(56px, 7vw, 96px) 0;
}
body[data-route="/impact/"] .section-head {
  margin-bottom: 36px;
}
@media (max-width: 900px) {
  body[data-route="/impact/"] .section {
    padding: 44px 0;
  }
  body[data-route="/impact/"] .section-head {
    margin-bottom: 28px;
  }
}

/* Platform page: overview split has an empty media pane */
body[data-route="/platform/"] .split {
  grid-template-columns: 1fr;
  gap: 0;
}
body[data-route="/platform/"] .split > .image-wrap:empty {
  display: none;
}
body[data-route="/architecture/"] .split {
  grid-template-columns: 1fr;
  gap: 0;
}
body[data-route="/architecture/"] .split > .image-wrap:empty {
  display: none;
}
body[data-route="/cyber/"] .split {
  grid-template-columns: 1fr;
  gap: 0;
}
body[data-route="/cyber/"] .split > .image-wrap:empty {
  display: none;
}
body[data-route="/defense/"] .split {
  grid-template-columns: 1fr;
  gap: 0;
}
body[data-route="/defense/"] .split > .image-wrap:empty {
  display: none;
}

@media (max-width: 900px) {
  body {
    background-attachment: scroll;
    background-position: center top;
  }
  .page-hero::before {
    background-position: center top;
    opacity: 0.78;
  }
}
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero h1 { font-size: clamp(36px, 5.6vw, 64px); margin-bottom: 16px; }
.page-hero p.lead { margin: 0 auto; max-width: 64ch; color: #d6deef; }

/* Prose / legal */
.prose {
  max-width: 760px;
  margin: 0 auto;
  font-size: 16.5px;
  line-height: 1.7;
  color: #d6deef;
}
.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  color: var(--c-white);
  margin: 56px 0 16px;
  letter-spacing: 0.02em;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-coral);
  margin: 28px 0 10px;
}
.prose p { margin: 0 0 16px; color: inherit; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 22px; color: inherit; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--c-white); }
.prose a { color: var(--c-coral); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--c-coral-2); }
.prose .meta {
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-text);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.prose hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}

/* Contact card grid */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.9fr);
  gap: 36px;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
.contact-aside {
  display: grid;
  gap: 18px;
}
.contact-card {
  padding: 32px;
  background: linear-gradient(170deg, rgba(18, 48, 111, 0.25), rgba(7, 18, 62, 0.5));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.contact-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
.contact-card p { margin: 0 0 12px; color: #d6deef; }
.contact-card .label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-coral);
  margin-bottom: 6px;
  font-weight: 700;
}
.contact-card a { color: var(--c-coral); text-decoration: none; word-break: break-word; }
.contact-card a:hover { color: var(--c-coral-2); }

/* Pull-quote */
.pullquote {
  margin: 56px auto;
  padding: 32px 28px;
  border-left: 3px solid var(--c-coral);
  background: rgba(255, 122, 94, 0.04);
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.35;
  color: var(--c-white);
}
.pullquote::before { content: "“"; color: var(--c-coral); margin-right: 6px; }
.pullquote::after  { content: "”"; color: var(--c-coral); }

/* -------------------------------------------------------------------------
   Scroll-reveal
   ------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
[data-reveal="left"]  { transform: translateX(-28px); }
[data-reveal="right"] { transform: translateX(28px); }
[data-reveal="scale"] { transform: scale(0.94) translateY(12px); }
[data-reveal].visible {
  opacity: 1;
  transform: none;
}
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.32s; }
[data-reveal-delay="4"] { transition-delay: 0.46s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  body::before { animation: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* Tokenized layout utilities */
.section-sm { padding: var(--section-y-compact) 0; }
.section-lg { padding: var(--section-y-large) 0; }
.measure { max-width: var(--measure-base); }
.measure-narrow { max-width: var(--measure-narrow); }
.measure-wide { max-width: var(--measure-wide); }
.text-center { text-align: center; }
.text-left { text-align: left; }
.flow-title { margin: 18px 0 22px; }
.flow-title-tight { margin: 18px 0 14px; }
.flow-lead-center { margin: 14px auto 0; }
.flow-lead-lg { margin: 48px auto 0; }
.flow-cta-gap { margin-top: 26px; }
.link-accent { color: var(--c-coral); text-decoration: underline; text-underline-offset: 3px; }
.m-0 { margin: 0; }
.mt-18 { margin-top: 18px; }
.mb-4 { margin-bottom: 4px; }
.grid-gap-18 { gap: 18px; }
.justify-center { justify-content: center; }
