:root {
  color-scheme: dark;
  --indigo: #2e2a74;
  --deep: #24254f;
  --panel: #404697;
  --line: #606cb2;
  --muted: #b3b8de;
  --text: #dee2f4;
  --yellow: #ffde59;
  --accent: #9c89fa;
  --nav-height: 64px;
  --gutter: clamp(20px, 5vw, 88px);
}
html { scroll-padding-top: calc(var(--nav-height) + 20px); }
body { background: var(--indigo); padding-top: var(--nav-height); }
[id] { scroll-margin-top: calc(var(--nav-height) + 20px); }
.skip-link { z-index: 110; }
body .site-header.dark-header {
  --deep: #0b1220;
  --panel: #26344e;
  --line: #3b4968;
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  width: 100%;
  height: var(--nav-height) !important;
  min-height: 0 !important;
  padding: 0 var(--gutter) !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 30px;
  background: var(--deep);
  color: #fff;
  border-bottom: 1px solid #243147;
  transition: border-color .2s, box-shadow .2s;
}
body .dark-header.is-scrolled { border-bottom-color: #3b4968; box-shadow: 0 8px 30px #03081255; }
body .dark-header .brand { display: inline-flex; flex: 0 0 auto; padding: 0; gap: 0; }
body .dark-header .brand img { display: block; height: 25px !important; width: auto; }
body .dark-header .site-nav {
  display: flex;
  width: auto;
  flex-direction: row;
  align-items: center;
  gap: clamp(18px, 2vw, 30px) !important;
  font: 400 12px/1.4 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
body .dark-header .site-nav > a { padding: 10px 0; color: #fff; position: relative; white-space: nowrap; text-decoration: none; }
body .dark-header .site-nav > a:hover { color: #c8bbff; }
body .dark-header .site-nav > a[aria-current]::after {
  content: ''; position: absolute; inset: auto 0 2px; height: 2px; background: var(--accent);
}
body .dark-header .site-nav > .nav-briefing {
  padding: 10px 15px;
  border: 1px solid #4d5b75;
  border-radius: 3px;
  display: flex;
  gap: 14px;
  font-weight: 500;
}
body .dark-header .nav-briefing:hover { background: #182239; border-color: var(--accent); }
.site-menu-toggle { display: none; }
.error-main { padding: 90px var(--gutter); display: grid; gap: 26px; justify-items: start; }
.error-main h1 { font-size: clamp(42px, 7vw, 80px); }
body footer { background: var(--deep) !important; border-top: 1px solid var(--panel); }
.study-strip { background: var(--deep); border-color: var(--panel); }
.mission-card, .review-card, .consensus, .architecture-card, .layer-panel { border-radius: 4px; }
.mission-card:hover { background: var(--indigo); border-color: var(--line); }
.consensus { box-shadow: 0 24px 70px #03071240; }
.layer-section, .missions { background: var(--deep); }
.contact-band:not(.variant-contact) { background: var(--indigo); }

/* A compact motion accent supports the statement, rather than replacing it. */
.hero-statement {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  padding-block: clamp(64px, 6vw, 96px);
  background: radial-gradient(ellipse at 85% 42%, #241d4526, transparent 45%);
}
.statement-copy { min-width: 0; }
.statement-copy h1 { font-size: clamp(48px, 4.65vw, 79px); margin: 24px 0 27px; }
.statement-copy > p { font-size: 18px; max-width: 610px; }
.statement-copy .kicker { font-size: 10px; }
.statement-copy .principles { gap: 14px 24px; max-width: 610px; }
.mission-current { width: 100%; max-width: 470px; margin: 0; justify-self: end; }
.current-stage {
  position: relative;
  aspect-ratio: 1.6;
  isolation: isolate;
  background: radial-gradient(ellipse at 54% 48%, #6a4a9d23, transparent 65%);
}
.current-stage::before, .current-stage::after {
  content: ''; position: absolute; width: 11px; height: 11px; border-color: #786da65e; border-style: solid; z-index: -1;
}
.current-stage::before { left: 0; top: 0; border-width: 1px 0 0 1px; }
.current-stage::after { right: 0; bottom: 0; border-width: 0 1px 1px 0; }
.current-stage canvas, .current-fallback { display: block; width: 100%; height: 100%; position: absolute; inset: 0; }
.current-stage canvas { opacity: 0; }
.current-stage.has-canvas canvas { opacity: 1; }
.current-stage.has-canvas .current-fallback { visibility: hidden; }
.mission-current figcaption {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 14px;
  margin-top: 18px; font: 400 9px/1.5 'Helvetica Neue', Helvetica, Arial, sans-serif;
  letter-spacing: .1em; text-transform: uppercase; color: #a4b2c9;
}
.mission-current figcaption span:last-child { color: #c3b4ff; }
.current-motion {
  position: absolute; bottom: 8px; right: 8px; color: #a4b2c9;
  background: #0b122099; border: 1px solid #3b4968; border-radius: 3px;
  width: 30px; height: 28px; padding: 0; font: 14px/1 Arial; cursor: pointer;
}
.current-motion:hover { color: #fff; border-color: #9c89fa; }
.current-motion[hidden] { display: none; }

@media (max-width: 980px) {
  body .dark-header .site-nav {
    display: none !important; position: absolute; top: var(--nav-height); left: 0; right: 0;
    width: 100%; flex-direction: column; align-items: stretch;
    gap: 6px !important; padding: 16px var(--gutter) 24px !important;
    background: var(--deep); border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px #03081255;
    max-height: calc(100dvh - var(--nav-height)); overflow-y: auto;
  }
  body .dark-header .site-nav.open { display: flex !important; }
  body .dark-header .site-nav > a { padding-block: 12px; font-size: 15px; }
  body .dark-header .site-nav > .nav-briefing { margin-top: 6px; justify-content: space-between; padding: 12px 15px; }
  .site-menu-toggle {
    display: flex; align-items: center; gap: 22px; background: transparent;
    color: #fff; border: 1px solid #3b4968; border-radius: 3px; padding: 9px 12px;
    font: 400 12px/1.4 'Helvetica Neue', Helvetica, Arial, sans-serif; cursor: pointer;
  }
  .site-menu-toggle span { color: #c3b4ff; font-size: 18px; line-height: 1; }
  .hero-statement { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; }
  .statement-copy h1 { font-size: clamp(42px, 5.8vw, 56px); }
  .statement-copy > p { font-size: 16px; }
}
@media (max-width: 700px) {
  :root { --nav-height: 60px; }
  body .dark-header .brand img { height: 22px !important; }
  .hero-statement { grid-template-columns: 1fr; gap: 30px; padding-block: 44px 38px; }
  .statement-copy h1 { font-size: clamp(38px, 9.5vw, 60px); }
  .statement-copy .kicker { max-width: 310px; }
  .mission-current { width: min(100%, 410px); justify-self: center; }
  .current-stage { aspect-ratio: 2.05; }
  .mission-current figcaption { margin-top: 10px; font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dark-header { transition: none !important; }
}
@media print {
  body { padding-top: 0; }
  body .site-header.dark-header { position: static; }
  .current-motion { display: none; }
}
