:root {
  --bg: #030813;
  --bg-2: #07111f;
  --panel: rgba(7, 18, 31, 0.72);
  --panel-strong: rgba(9, 24, 39, 0.88);
  --panel-soft: rgba(10, 28, 43, 0.62);
  --line: rgba(83, 142, 179, 0.24);
  --line-strong: rgba(110, 205, 244, 0.52);
  --text: #eef8ff;
  --muted: #a2bfd1;
  --aqua: #00d4ff;
  --blue: #2c7dff;
  --mint: #76ffc2;
  --lime: #d7ff62;
  --orange: #ff7c58;
  --gold: #ffd93d;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  overflow-x: clip;
  color: var(--text);
  font-family: "IBM Plex Sans", sans-serif;
  background:
    radial-gradient(1200px 820px at 0% 0%, rgba(44, 125, 255, 0.18), transparent 56%),
    radial-gradient(820px 700px at 100% 0%, rgba(0, 212, 255, 0.16), transparent 52%),
    radial-gradient(900px 760px at 50% 100%, rgba(118, 255, 194, 0.08), transparent 58%),
    linear-gradient(180deg, #040914 0%, #07111c 38%, #050b15 100%);
}

a { color: inherit; }
canvas,
img,
svg { display: block; max-width: 100%; }
main { position: relative; }
main,
section,
header,
footer,
.nav-overlay-shell,
.nav-overlay-panel,
.nav-overlay-grid,
.nav-overlay-grid-mobile,
.mobile-menu-section,
.mobile-menu-links,
.mobile-menu-link,
.hero,
.hero-copy,
.hero-visual,
.science-home-grid,
.science-home-visual,
.architecture-panel,
.route-atlas,
.atlas-links {
  min-width: 0;
}
#nebula { position: fixed; inset: 0; z-index: -5; }
.grain {
  position: fixed;
  inset: 0;
  z-index: -4;
  opacity: 0.055;
  pointer-events: none;
  background-image: radial-gradient(#fff 0.6px, transparent 0.6px);
  background-size: 4px 4px;
}
.halo {
  position: fixed;
  inset: auto;
  width: 36vw;
  height: 36vw;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.22;
  pointer-events: none;
  z-index: -3;
}
.halo-a {
  top: -10vw;
  right: -8vw;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.55), transparent 70%);
  animation: driftHalo 18s ease-in-out infinite alternate;
}
.halo-b {
  bottom: -14vw;
  left: -8vw;
  background: radial-gradient(circle, rgba(255, 124, 88, 0.38), transparent 68%);
  animation: driftHalo 22s ease-in-out infinite alternate-reverse;
}

.wrap {
  width: min(1280px, 92vw);
  margin: 0 auto;
}

.page-entry-signal {
  position: relative;
  width: min(1280px, 92vw);
  margin: 4.05rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.72rem 0.92rem;
  border-radius: 22px;
  border: 1px solid rgba(96, 164, 203, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent),
    linear-gradient(145deg, rgba(8, 19, 31, 0.88), rgba(7, 15, 26, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 38px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.page-entry-signal::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 212, 255, 0), rgba(0, 212, 255, 0.18), rgba(118, 255, 194, 0.16), rgba(255, 124, 88, 0)),
    linear-gradient(rgba(112, 191, 230, 0.05) 1px, transparent 1px);
  background-size: 180px 100%, 100% 18px;
  animation: codeSweep 7s linear infinite;
  pointer-events: none;
}

.page-entry-code {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.page-entry-code span {
  color: #a9cfe1;
  font: 600 0.72rem/1.4 "IBM Plex Mono", monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-entry-code span:first-child {
  color: var(--aqua);
}

.page-entry-arrow {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  border-radius: 18px;
  border: 1px solid rgba(102, 172, 211, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent),
    linear-gradient(145deg, rgba(10, 25, 40, 0.92), rgba(7, 16, 29, 0.96));
  color: #f4fbff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 14px 28px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  overflow: hidden;
}

.page-entry-arrow::before {
  content: "</>";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(118, 255, 194, 0.8);
  font: 700 0.54rem/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.18em;
  animation: codeBlink 1.8s steps(2) infinite;
}

.page-entry-arrow::after {
  content: "";
  position: absolute;
  inset: auto 12px 10px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 212, 255, 0), rgba(0, 212, 255, 0.22), rgba(255, 124, 88, 0));
  filter: blur(8px);
}

.page-entry-arrow-glyph {
  display: block;
  font: 700 1.4rem/56px "Orbitron", sans-serif;
  text-align: center;
  text-shadow: 0 0 18px rgba(0, 212, 255, 0.34);
  animation: signalArrowDrop 2.8s ease-in-out infinite;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  backdrop-filter: none;
  background: linear-gradient(180deg, rgba(4, 8, 18, 0.94), rgba(4, 8, 18, 0.64));
  border-bottom: 1px solid rgba(72, 122, 154, 0.16);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
  transition: background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
}

.header-inner {
  min-height: 50px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.8rem;
  padding: 0.1rem 0;
  transition: min-height 0.28s ease, padding 0.28s ease, gap 0.28s ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  position: relative;
  z-index: 2;
  justify-self: start;
}

.brand-logo-image {
  width: clamp(138px, 12vw, 208px);
  height: auto;
  filter: drop-shadow(0 0 22px rgba(0, 212, 255, 0.3));
  transition: width 0.28s ease, filter 0.28s ease, transform 0.28s ease;
}

.nav-toggle {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  grid-column: 2;
  gap: 0.68rem;
  width: auto;
  min-width: 118px;
  height: 40px;
  padding: 0 0.78rem 0 0.72rem;
  border-radius: 14px;
  border: 1px solid rgba(101, 164, 203, 0.28);
  background: linear-gradient(145deg, rgba(16, 31, 47, 0.78), rgba(9, 18, 31, 0.82));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  cursor: pointer;
  backdrop-filter: blur(18px);
  text-decoration: none;
  font: inherit;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, min-width 0.28s ease, height 0.28s ease, padding 0.28s ease;
}

.nav-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(118, 255, 194, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 18px 34px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(0, 212, 255, 0.08);
}

.nav-toggle-icon {
  display: grid;
  gap: 3px;
  width: 18px;
  flex: 0 0 auto;
}

.nav-toggle-icon span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0;
  border-radius: 999px;
  background: #dff8ff;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-toggle-label {
  color: #eef8ff;
  font: 700 0.62rem/1 "Syncopate", sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-toggle-chevron {
  color: var(--mint);
  font: 700 0.92rem/1 "IBM Plex Mono", monospace;
  transition: transform 0.22s ease, color 0.22s ease;
}

body.is-scrolled .site-header,
.site-header.is-scrolled {
  background: linear-gradient(180deg, rgba(3, 7, 16, 0.98), rgba(4, 8, 18, 0.88));
  border-bottom-color: rgba(118, 176, 212, 0.22);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

body.is-scrolled .header-inner {
  min-height: 44px;
  gap: 0.62rem;
  padding: 0.06rem 0;
}

body.is-scrolled .brand-logo-image {
  width: clamp(126px, 10.8vw, 182px);
  filter: drop-shadow(0 0 16px rgba(0, 212, 255, 0.24));
}

body.is-scrolled .nav-toggle {
  min-width: 108px;
  height: 36px;
  padding: 0 0.72rem 0 0.66rem;
}

body.is-scrolled .nav-toggle-label {
  font-size: 0.58rem;
}

body.is-scrolled .nav-toggle-chevron {
  font-size: 0.84rem;
}

.nav-toggle.is-open .nav-toggle-icon span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle-icon span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .nav-toggle-icon span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-toggle.is-open .nav-toggle-chevron { transform: rotate(180deg); color: var(--gold); }

.top-nav {
  display: none;
}

.top-nav a,
.nav-atlas-trigger,
.btn {
  text-decoration: none;
  border-radius: 999px;
  padding: 0.82rem 1.1rem;
  border: 1px solid rgba(83, 143, 181, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent),
    linear-gradient(145deg, rgba(12, 30, 46, 0.82), rgba(7, 16, 29, 0.84));
  color: #dff0fb;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 14px 32px rgba(0, 0, 0, 0.18);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, color 0.24s ease;
}

.top-nav a:hover,
.nav-atlas-trigger:hover,
.btn:hover {
  transform: translateY(-2px) scale(1.01);
  border-color: rgba(136, 218, 255, 0.54);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 34px rgba(0, 0, 0, 0.24),
    0 0 0 1px rgba(0, 212, 255, 0.08);
}

.nav-atlas-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.52rem;
  appearance: none;
}

.nav-arrow {
  font-size: 0.68rem;
  color: var(--mint);
  transition: transform 0.24s ease, color 0.24s ease;
}

.nav-atlas-trigger[aria-expanded="true"] .nav-arrow {
  transform: rotate(180deg);
}

body.nav-open {
  overflow: hidden;
  overscroll-behavior: none;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-overlay:target {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-overlay-backdrop {
  appearance: none;
  display: block;
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 212, 255, 0.16), transparent 26%),
    radial-gradient(circle at 80% 16%, rgba(118, 255, 194, 0.14), transparent 24%),
    radial-gradient(circle at 76% 80%, rgba(255, 124, 88, 0.16), transparent 28%),
    rgba(2, 7, 14, 0.84);
  backdrop-filter: blur(18px);
}

.nav-overlay-shell {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin: 0;
  min-height: 100dvh;
  height: 100dvh;
  display: grid;
  align-items: center;
  padding: 0;
  overflow: hidden;
}

.nav-overlay-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(94, 166, 208, 0.12);
  filter: blur(0.3px);
  animation: overlayOrbit 24s linear infinite;
}

.orbit-one {
  width: 58vw;
  height: 58vw;
  max-width: 780px;
  max-height: 780px;
  top: -12%;
  right: -8%;
}

.orbit-two {
  width: 42vw;
  height: 42vw;
  max-width: 560px;
  max-height: 560px;
  left: -8%;
  bottom: -10%;
  animation-duration: 18s;
  animation-direction: reverse;
}

.nav-overlay-panel {
  position: relative;
  z-index: 1;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  align-content: start;
  width: 100%;
  max-width: 100%;
  min-height: 100dvh;
  max-height: 100dvh;
  padding: clamp(1.2rem, 2.6vw, 2rem);
  border-radius: 0;
  border: 1px solid rgba(102, 170, 210, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 26%),
    radial-gradient(circle at 12% 12%, rgba(0, 212, 255, 0.12), transparent 24%),
    radial-gradient(circle at 82% 12%, rgba(118, 255, 194, 0.1), transparent 22%),
    radial-gradient(circle at 76% 82%, rgba(255, 124, 88, 0.11), transparent 25%),
    linear-gradient(145deg, rgba(6, 15, 27, 0.96), rgba(8, 24, 39, 0.95));
  backdrop-filter: blur(30px);
  box-shadow:
    0 34px 100px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: translateY(18px) scale(0.985);
  transition: transform 0.34s cubic-bezier(0.2, 0.8, 0.2, 1);
  scrollbar-width: thin;
  scrollbar-color: rgba(118, 255, 194, 0.68) rgba(7, 18, 30, 0.42);
}

.nav-overlay-panel::-webkit-scrollbar {
  width: 14px;
}

.nav-overlay-panel::-webkit-scrollbar-track {
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(118, 255, 194, 0.34) 0 1.5px, transparent 1.7px) center top/10px 18px repeat-y,
    linear-gradient(180deg, rgba(7, 18, 30, 0.82), rgba(5, 12, 21, 0.72));
  box-shadow: inset 0 0 0 1px rgba(102, 170, 210, 0.08);
}

.nav-overlay-panel::-webkit-scrollbar-thumb {
  border-radius: 999px;
  border: 3px solid transparent;
  background:
    linear-gradient(180deg, rgba(255, 217, 61, 0.95), rgba(0, 212, 255, 0.88), rgba(118, 255, 194, 0.82)) padding-box,
    linear-gradient(180deg, rgba(255,255,255,0.26), rgba(255,255,255,0.02)) border-box;
  box-shadow:
    0 0 18px rgba(0, 212, 255, 0.22),
    inset 0 0 12px rgba(255, 255, 255, 0.08);
}

.nav-overlay-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(118, 196, 226, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(118, 196, 226, 0.045) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, black 56%, transparent 100%);
  pointer-events: none;
}

.nav-overlay-panel::after {
  content: "";
  position: fixed;
  top: 108px;
  right: 12px;
  width: 10px;
  height: calc(100dvh - 156px);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(118, 255, 194, 0.9) 0 1.5px, transparent 1.7px) center top/10px 20px repeat-y;
  opacity: 0.52;
  filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.28));
  animation: menuRailPulse 2.8s ease-in-out infinite;
  pointer-events: none;
}

.nav-overlay.is-open .nav-overlay-panel {
  transform: translateY(0) scale(1);
}

.nav-overlay:target .nav-overlay-panel {
  transform: translateY(0) scale(1);
}

.nav-overlay-top,
.nav-overlay-body,
.nav-overlay-hero,
.nav-overlay-quick,
.nav-overlay-grid,
.nav-overlay-main,
.nav-overlay-command,
.nav-search-wrap {
  position: relative;
  z-index: 1;
}

.nav-overlay-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  position: sticky;
  top: calc(clamp(1.2rem, 2.6vw, 2rem) * -1);
  margin: calc(clamp(1.2rem, 2.6vw, 2rem) * -1) calc(clamp(1.2rem, 2.6vw, 2rem) * -1) 1rem;
  padding: clamp(1.2rem, 2.6vw, 2rem) clamp(1.2rem, 2.6vw, 2rem) 1rem;
  background: linear-gradient(180deg, rgba(6, 15, 27, 0.99), rgba(6, 15, 27, 0.94), rgba(6, 15, 27, 0.2));
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(88, 149, 188, 0.08);
}

.nav-overlay-kicker {
  margin: 0 0 0.45rem;
  color: var(--aqua);
  font: 700 0.76rem/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.26em;
}

.nav-overlay-top h2 {
  margin: 0;
  color: #f4fbff;
  font: 700 clamp(1.7rem, 3vw, 2.6rem)/1 "Syncopate", sans-serif;
  overflow-wrap: anywhere;
}

.nav-overlay-body {
  display: grid;
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
  gap: 1rem;
  min-height: 0;
}

.nav-overlay-rail {
  display: grid;
  gap: 0.9rem;
  align-content: start;
  position: sticky;
  top: 0.35rem;
}

.nav-overlay-main {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 1rem;
  min-width: 0;
  align-content: start;
}

.nav-overlay-close {
  appearance: none;
  display: block;
  position: relative;
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  padding: 0;
  border-radius: 20px;
  border: 1px solid rgba(103, 173, 213, 0.28);
  background: linear-gradient(145deg, rgba(13, 29, 45, 0.88), rgba(7, 16, 28, 0.9));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 18px 34px rgba(0,0,0,0.24);
  cursor: pointer;
  text-decoration: none;
}

.nav-overlay-close span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 24px;
  height: 2px;
  background: #e8f7ff;
  border-radius: 999px;
}

.nav-overlay-close span:first-child { transform: translate(-50%, -50%) rotate(45deg); }
.nav-overlay-close span:last-child { transform: translate(-50%, -50%) rotate(-45deg); }

.nav-overlay-hero {
  display: grid;
  gap: 0.85rem;
}

.nav-overlay-copy {
  margin: 0;
  max-width: 30ch;
  color: #d8edf8;
  font: 500 clamp(0.98rem, 1.25vw, 1.08rem)/1.72 "IBM Plex Sans", sans-serif;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.nav-overlay-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.nav-overlay-stats article,
.menu-group {
  padding: 1.08rem 1.1rem;
  border-radius: 22px;
  border: 1px solid rgba(90, 152, 192, 0.16);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), transparent),
    linear-gradient(145deg, rgba(11, 25, 41, 0.64), rgba(8, 18, 31, 0.48));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.nav-overlay-stats strong {
  display: block;
  margin-bottom: 0.28rem;
  color: #f6fbff;
  font: 700 1.36rem/1 "Syncopate", sans-serif;
}

.nav-overlay-stats span {
  color: #9ec0d3;
  font: 600 0.72rem/1.4 "IBM Plex Mono", monospace;
  text-transform: uppercase;
}

.nav-overlay-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.nav-overlay-quick a {
  text-decoration: none;
  border-radius: 999px;
  padding: 0.74rem 0.95rem;
  border: 1px solid rgba(94, 156, 196, 0.24);
  background: linear-gradient(145deg, rgba(10, 25, 40, 0.82), rgba(8, 17, 29, 0.86));
  color: #def0fb;
  font: 700 0.84rem/1 "IBM Plex Sans", sans-serif;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, color 0.22s ease;
}

.nav-overlay-quick a:hover {
  transform: translateY(-2px);
  border-color: rgba(132, 220, 255, 0.48);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(0, 212, 255, 0.08);
}

.nav-overlay-command {
  padding: 1rem 1rem 1.05rem;
  border-radius: 22px;
  border: 1px solid rgba(90, 152, 192, 0.16);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), transparent),
    linear-gradient(145deg, rgba(11, 25, 41, 0.7), rgba(8, 18, 31, 0.52));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.nav-command-kicker {
  margin: 0 0 0.65rem;
  color: var(--mint);
  font: 700 0.72rem/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav-command-note {
  margin: 0.75rem 0 0;
  color: #9fc4d6;
  font-size: 0.8rem;
  line-height: 1.6;
}

.nav-command-note span {
  display: inline-grid;
  place-items: center;
  min-width: 1.8rem;
  padding: 0.15rem 0.35rem;
  border-radius: 999px;
  border: 1px solid rgba(101, 170, 209, 0.22);
  background: linear-gradient(145deg, rgba(10, 24, 39, 0.76), rgba(7, 15, 27, 0.82));
  color: #f3fbff;
  font: 700 0.72rem/1 "IBM Plex Mono", monospace;
}

.nav-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.nav-filter-chip {
  appearance: none;
  border: 1px solid rgba(90, 152, 192, 0.2);
  border-radius: 999px;
  padding: 0.7rem 0.9rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), transparent),
    linear-gradient(145deg, rgba(10, 23, 38, 0.84), rgba(7, 15, 27, 0.88));
  color: #dcedf7;
  font: 700 0.76rem/1 "IBM Plex Sans", sans-serif;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, color 0.22s ease;
}

.nav-filter-chip:hover,
.nav-filter-chip.is-active {
  transform: translateY(-1px);
  color: #ffffff;
  border-color: rgba(118, 255, 194, 0.34);
  box-shadow: 0 14px 26px rgba(0,0,0,0.18), 0 0 0 1px rgba(0, 212, 255, 0.08);
}

.nav-filter-chip.is-active {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), transparent),
    linear-gradient(135deg, rgba(0, 212, 255, 0.24), rgba(118, 255, 194, 0.14), rgba(255, 124, 88, 0.1));
}

.nav-overlay-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  min-height: 0;
  align-content: start;
}

.nav-overlay.is-open .nav-overlay-top,
.nav-overlay.is-open .nav-overlay-hero,
.nav-overlay.is-open .nav-overlay-quick,
.nav-overlay.is-open .nav-overlay-command,
.nav-overlay.is-open .mobile-menu-section {
  animation: overlayRise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.nav-overlay.is-open .nav-overlay-hero { animation-delay: 0.06s; }
.nav-overlay.is-open .nav-overlay-quick { animation-delay: 0.12s; }
.nav-overlay.is-open .nav-overlay-command { animation-delay: 0.18s; }
.nav-overlay.is-open .mobile-menu-section:nth-child(1) { animation-delay: 0.16s; }
.nav-overlay.is-open .mobile-menu-section:nth-child(2) { animation-delay: 0.22s; }
.nav-overlay.is-open .mobile-menu-section:nth-child(3) { animation-delay: 0.28s; }
.nav-overlay.is-open .mobile-menu-section:nth-child(4) { animation-delay: 0.34s; }
.nav-overlay.is-open .mobile-menu-section:nth-child(5) { animation-delay: 0.4s; }

@keyframes overlayRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes codeSweep {
  from { background-position: -220px 0, 0 0; }
  to { background-position: calc(100% + 220px) 0, 0 0; }
}

@keyframes codeBlink {
  0%, 100% { opacity: 0.32; }
  50% { opacity: 1; }
}

@keyframes signalArrowDrop {
  0%, 100% { transform: translateY(-2px); opacity: 0.82; }
  50% { transform: translateY(4px); opacity: 1; }
}

@keyframes overlayOrbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.menu-group {
  position: relative;
  overflow: hidden;
}

.menu-group strong {
  display: block;
  margin-bottom: 0.45rem;
  color: #f0fbff;
  font: 700 0.88rem/1.2 "Syncopate", sans-serif;
}

.menu-group p {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.menu-links {
  display: grid;
  gap: 0.46rem;
}

.wide-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.54rem 0.8rem;
}

.menu-links a {
  color: #d5ecf9;
  text-decoration: none;
  font-size: 0.84rem;
  line-height: 1.4;
}

.menu-links a:hover {
  color: var(--mint);
}

.desktop-nav-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
}

.desktop-nav-cluster {
  display: flex;
  align-items: stretch;
  flex: none;
  width: 100%;
  min-width: 0;
  flex-wrap: nowrap;
  gap: 0.55rem;
  padding: 0.36rem;
  border-radius: 24px;
  border: 1px solid rgba(88, 151, 190, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(255, 124, 88, 0.12), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(0, 212, 255, 0.12), transparent 28%),
    linear-gradient(145deg, rgba(9, 20, 34, 0.86), rgba(7, 15, 27, 0.88));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 18px 42px rgba(0, 0, 0, 0.16);
}

.nav-group {
  position: relative;
  flex: 1 1 132px;
  min-width: 0;
}

.nav-group-trigger,
.nav-utility-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.48rem;
  text-decoration: none;
  border-radius: 16px;
  min-height: 52px;
  padding: 0.82rem 1rem;
  border: 1px solid rgba(84, 145, 184, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent),
    linear-gradient(145deg, rgba(10, 24, 39, 0.78), rgba(7, 16, 28, 0.84));
  color: #d9edf8;
  font: 700 0.82rem/1 "IBM Plex Sans", sans-serif;
  letter-spacing: 0.02em;
  cursor: pointer;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 12px 24px rgba(0, 0, 0, 0.14);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, color 0.22s ease, background 0.22s ease;
}

.nav-group-trigger {
  width: 100%;
}

.nav-utility-link {
  width: auto;
  min-width: max-content;
}

.nav-group-trigger:hover,
.nav-group.is-open .nav-group-trigger,
.nav-utility-link:hover {
  transform: translateY(-2px);
  color: #ffffff;
  border-color: rgba(133, 220, 255, 0.42);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24), 0 0 0 1px rgba(0, 212, 255, 0.08);
}

.nav-group.is-open .nav-group-trigger {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent),
    linear-gradient(145deg, rgba(16, 36, 54, 0.9), rgba(7, 17, 29, 0.88));
}

.nav-mega-panel {
  display: none !important;
}

.menu-panel-head {
  margin-bottom: 0.9rem;
}

.menu-panel-head strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #f2fbff;
  font: 700 0.94rem/1.2 "Syncopate", sans-serif;
}

.menu-panel-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.nav-panel-links {
  display: grid;
  gap: 0.45rem;
  max-height: min(60vh, 32rem);
  padding-right: 0.18rem;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(118, 255, 194, 0.32) transparent;
}

.nav-panel-links::-webkit-scrollbar {
  width: 8px;
}

.nav-panel-links::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.55), rgba(118, 255, 194, 0.35));
}

.nav-panel-link,
.mobile-menu-link {
  display: grid;
  gap: 0.24rem;
  min-width: 0;
  padding: 0.82rem 0.88rem;
  border-radius: 16px;
  text-decoration: none;
  border: 1px solid rgba(88, 149, 188, 0.12);
  background: linear-gradient(145deg, rgba(10, 22, 37, 0.74), rgba(8, 18, 31, 0.64));
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.nav-panel-link:hover,
.mobile-menu-link:hover {
  transform: translateY(-2px);
  border-color: rgba(118, 255, 194, 0.28);
  background: linear-gradient(145deg, rgba(12, 27, 43, 0.9), rgba(8, 19, 32, 0.82));
  box-shadow: 0 14px 28px rgba(0,0,0,0.18);
}

.nav-panel-link strong,
.mobile-menu-link strong {
  color: #edf8ff;
  font: 700 0.84rem/1.3 "IBM Plex Sans", sans-serif;
  overflow-wrap: anywhere;
}

.nav-panel-link span,
.menu-link-note {
  color: #9fbdcf;
  font-size: 0.77rem;
  line-height: 1.48;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.nav-utility {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: none;
  flex-wrap: nowrap;
  gap: 0.55rem;
  min-width: max-content;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.72rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(88, 149, 188, 0.18);
  background: linear-gradient(145deg, rgba(10, 22, 37, 0.72), rgba(8, 18, 31, 0.74));
  color: #9fc4d7;
  font: 700 0.68rem/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.16em;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 12px rgba(118,255,194,0.7);
  animation: statusPulse 2.2s ease-in-out infinite;
}

.nav-utility-accent {
  color: #fff3ed;
  border-color: rgba(255, 124, 88, 0.22);
  background: linear-gradient(135deg, rgba(255, 124, 88, 0.28), rgba(255, 217, 61, 0.18));
}

.nav-search-wrap {
  margin: 0;
}

.nav-search-input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #eef8ff;
  font: 500 0.96rem/1.2 "IBM Plex Sans", sans-serif;
  box-shadow: none;
}

.nav-search-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
  border: 1px solid rgba(92, 154, 194, 0.22);
  border-radius: 18px;
  padding: 0.9rem 1rem;
  background: linear-gradient(145deg, rgba(10, 23, 38, 0.84), rgba(7, 15, 27, 0.88));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.nav-search-input::placeholder {
  color: #7f9fb1;
}

.nav-search-shell:focus-within {
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: 0 0 0 1px rgba(0, 212, 255, 0.12);
}

.nav-search-input:focus {
  outline: none;
}

.nav-search-prefix {
  color: var(--aqua);
  font: 700 1rem/1 "IBM Plex Mono", monospace;
}

.nav-search-meta {
  display: grid;
  justify-items: end;
  gap: 0.1rem;
  color: #96b7ca;
}

.nav-search-meta strong {
  color: #f4fbff;
  font: 700 0.88rem/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.06em;
}

.nav-search-meta span {
  font: 500 0.66rem/1.2 "IBM Plex Mono", monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-overlay-grid-mobile {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  width: 100%;
}

.mobile-menu-section {
  position: relative;
  overflow: hidden;
  padding: 0.96rem 1rem 1.04rem;
  border-radius: 22px;
  border: 1px solid rgba(90, 152, 192, 0.16);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), transparent),
    linear-gradient(145deg, rgba(11, 25, 41, 0.64), rgba(8, 18, 31, 0.48));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.mobile-menu-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 212, 255, 0), rgba(0, 212, 255, 0.65), rgba(255, 124, 88, 0));
  opacity: 0.78;
}

.mobile-menu-section::after {
  content: "";
  position: absolute;
  inset: auto 1rem 1rem auto;
  width: 48px;
  height: 48px;
  border-right: 1px solid rgba(118, 255, 194, 0.18);
  border-bottom: 1px solid rgba(0, 212, 255, 0.16);
  border-radius: 0 0 18px 0;
  pointer-events: none;
}

.mobile-menu-section:hover {
  transform: translateY(-3px);
  border-color: rgba(118, 255, 194, 0.24);
  box-shadow: 0 18px 30px rgba(0,0,0,0.18), 0 0 0 1px rgba(0, 212, 255, 0.06);
}

.mobile-menu-section .menu-panel-head {
  display: grid;
  gap: 0.28rem;
  cursor: pointer;
  padding-right: 2.4rem;
  position: relative;
  user-select: none;
}

.menu-section-count {
  position: absolute;
  right: 2.9rem;
  top: 0.08rem;
  display: inline-grid;
  place-items: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(101, 170, 209, 0.18);
  background: linear-gradient(145deg, rgba(10, 24, 39, 0.66), rgba(7, 15, 27, 0.78));
  color: #cfeeff;
  font: 700 0.68rem/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.08em;
}

.mobile-menu-section .menu-panel-head::after {
  content: "\25BE";
  position: absolute;
  right: 0.1rem;
  top: 0.1rem;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--mint);
  border: 1px solid rgba(101, 170, 209, 0.22);
  background: linear-gradient(145deg, rgba(10, 24, 39, 0.76), rgba(7, 15, 27, 0.82));
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.mobile-menu-section.is-open .menu-panel-head::after {
  transform: rotate(180deg);
  border-color: rgba(118, 255, 194, 0.34);
  box-shadow: 0 0 0 1px rgba(0, 212, 255, 0.08);
}

.mobile-menu-links {
  display: grid;
  gap: 0.5rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-8px);
  transition: max-height 0.28s ease, opacity 0.24s ease, transform 0.24s ease, margin-top 0.24s ease;
}

.mobile-menu-section.is-open .mobile-menu-links {
  margin-top: 0.85rem;
  max-height: 1600px;
  opacity: 1;
  transform: translateY(0);
}

.nav-mobile-empty {
  display: none;
  margin: 1rem 0 0;
  color: #95b7c8;
  font-size: 0.9rem;
}

.nav-mobile-empty.is-visible {
  display: block;
}

.faq-section {
  padding-bottom: 0.4rem;
}

.faq-list {
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  border-radius: 24px;
  border: 1px solid rgba(88, 149, 188, 0.18);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), transparent 26%),
    linear-gradient(145deg, rgba(9, 22, 37, 0.88), rgba(7, 16, 28, 0.84));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  background: transparent;
  border: 0;
  color: #eef8ff;
  font: 700 0.98rem/1.4 "IBM Plex Sans", sans-serif;
  text-align: left;
  cursor: pointer;
}

.faq-arrow {
  flex: 0 0 auto;
  color: var(--mint);
  transition: transform 0.22s ease;
}

.faq-item.is-open .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.26s ease;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer p {
  overflow: hidden;
  margin: 0;
  padding: 0 1.2rem 1.1rem;
  color: #c2d8e5;
  line-height: 1.74;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.82); }
}

.btn.primary {
  border-color: rgba(0, 212, 255, 0.24);
  color: #031117;
  background: linear-gradient(135deg, var(--aqua), var(--mint));
  box-shadow: 0 16px 44px rgba(0, 212, 255, 0.26);
}

.btn.accent {
  border-color: rgba(255, 124, 88, 0.28);
  color: #fff3ed;
  background: linear-gradient(135deg, rgba(255, 124, 88, 0.28), rgba(255, 217, 61, 0.2));
}

.btn.dark {
  border-color: rgba(120, 187, 224, 0.38);
}

.hero {
  padding: 4.4rem 0 2.8rem;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(320px, 0.86fr);
  gap: 1.45rem;
  align-items: stretch;
}

.hero-copy {
  padding: 0.55rem 0 0.2rem;
  min-width: 0;
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--aqua);
  font: 700 0.72rem/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.22em;
}

.hero-ledger {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1.15rem;
}

.hero-ledger span {
  border-radius: 999px;
  padding: 0.38rem 0.68rem;
  border: 1px solid rgba(87, 145, 183, 0.3);
  background: rgba(7, 19, 33, 0.62);
  color: #a7c5d7;
  font: 500 0.72rem/1 "IBM Plex Mono", monospace;
  text-transform: uppercase;
}

.hero-title {
  margin: 1.2rem 0 1rem;
  max-width: min(8.45ch, 100%);
  color: #f3fbff;
  font: 700 clamp(1.62rem, 3.72vw, 3.78rem)/0.96 "Syncopate", sans-serif;
  letter-spacing: 0.018em;
  display: grid;
  gap: 0.07em;
  text-shadow: 0 0 18px rgba(0, 212, 255, 0.12);
  text-wrap: balance;
}

.hero-title-line {
  display: block;
  max-width: 100%;
  opacity: 0;
  transform: translateY(16px);
  animation: heroTitleRise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-title-line:nth-child(1) { animation-delay: 0.12s; }
.hero-title-line:nth-child(2) { animation-delay: 0.24s; }
.hero-title-line:nth-child(3) { animation-delay: 0.36s; }
.hero-title-line:nth-child(4) { animation-delay: 0.48s; }

.hero-title-accent {
  position: relative;
  color: #f6fffb;
  text-shadow:
    0 0 14px rgba(118, 255, 194, 0.16),
    0 0 24px rgba(0, 212, 255, 0.12);
}

.hero-title-accent::before {
  content: "";
  position: absolute;
  inset: -0.08em -0.12em;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 212, 255, 0.08), rgba(118, 255, 194, 0.14), rgba(255, 124, 88, 0.08));
  filter: blur(8px);
  z-index: -1;
  opacity: 0;
  animation: heroAccentGlow 3.8s ease-in-out infinite 1.1s;
}

.hero-title-accent::after {
  content: "";
  position: absolute;
  left: -0.06em;
  right: -0.06em;
  bottom: -0.12em;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 212, 255, 0.16), rgba(118, 255, 194, 0.92), rgba(255, 217, 61, 0.36), rgba(255, 124, 88, 0.12));
  transform-origin: left center;
  transform: scaleX(0);
  animation: heroTrace 1.1s cubic-bezier(0.25, 0.9, 0.25, 1) forwards 0.9s;
}

.hero-subtitle {
  margin: 0.35rem 0 0;
  color: #e0eff8;
  font: 600 clamp(1.06rem, 1.8vw, 1.32rem)/1.5 "IBM Plex Sans", sans-serif;
  max-width: 46ch;
}

.hero-abstract {
  margin-top: 1.5rem;
  padding: 1.2rem 0 0 1.15rem;
  border-left: 2px solid rgba(0, 212, 255, 0.28);
  position: relative;
}

.hero-abstract::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 0;
  width: 148px;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 212, 255, 0.6), rgba(118, 255, 194, 0.08));
}

.abstract-label {
  display: inline-block;
  margin-bottom: 0.46rem;
  color: #89ebff;
  font: 600 0.7rem/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.22em;
}

.lead {
  max-width: 74ch;
  margin: 0.82rem 0 0;
  color: #c7dbe8;
  line-height: 1.86;
  font-size: 1.045rem;
}

.hero-ribbon,
.hero-cta,
.fact-line {
  display: flex;
  flex-wrap: wrap;
}

.hero-ribbon {
  margin-top: 1.45rem;
  gap: 0.62rem;
}

.hero-ribbon span {
  display: inline-flex;
  align-items: center;
  padding: 0.44rem 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(97, 148, 185, 0.36);
  background: rgba(11, 29, 44, 0.66);
  color: #bcd6e6;
  font-size: 0.76rem;
  font-weight: 700;
}

.hero-cta {
  margin-top: 1.55rem;
  gap: 0.9rem;
}

.fact-line {
  margin-top: 1.55rem;
  gap: 1.1rem 1.45rem;
  color: #b9d0de;
}

.fact-line strong {
  color: #f2fbff;
  font-family: "Orbitron", sans-serif;
  font-size: 1rem;
}

.hero-visual {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(78, 138, 177, 0.26);
  background:
    radial-gradient(circle at 50% 40%, rgba(0, 212, 255, 0.16), transparent 28%),
    radial-gradient(circle at 78% 18%, rgba(255, 124, 88, 0.12), transparent 22%),
    linear-gradient(145deg, rgba(8, 20, 34, 0.98), rgba(8, 24, 39, 0.9));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hero-web,
.hero-scan,
.hero-grid {
  position: absolute;
  inset: 0;
}

.hero-web {
  width: 100%;
  height: 100%;
  opacity: 0.96;
}

.hero-grid {
  background-image:
    linear-gradient(rgba(88, 145, 184, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88, 145, 184, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at 50% 50%, black 40%, transparent 88%);
}

.hero-scan {
  background:
    linear-gradient(180deg, transparent 0%, rgba(0, 212, 255, 0.04) 42%, rgba(0, 212, 255, 0.14) 50%, rgba(0, 212, 255, 0.04) 58%, transparent 100%);
  mix-blend-mode: screen;
  animation: scan 6.2s linear infinite;
}

.hero-visual-ledger {
  position: absolute;
  max-width: 270px;
  padding: 1rem 1.06rem;
  border-radius: 24px;
  border: 1px solid rgba(88, 150, 190, 0.22);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), transparent),
    linear-gradient(145deg, rgba(11, 25, 41, 0.84), rgba(8, 17, 29, 0.7));
  backdrop-filter: blur(22px);
  box-shadow: 0 22px 48px rgba(0,0,0,0.26);
}

.hero-ledger-card span {
  display: block;
  color: var(--aqua);
  font: 700 0.66rem/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-ledger-card strong {
  display: block;
  margin-top: 0.55rem;
  color: #effbff;
  font: 700 0.94rem/1.35 "Syncopate", sans-serif;
}

.hero-ledger-card p {
  margin: 0.65rem 0 0;
  color: #b9d0df;
  line-height: 1.62;
  font-size: 0.88rem;
}

.card-one {
  top: 36px;
  right: 34px;
  animation: floatCard 7s ease-in-out infinite;
}

.card-two {
  left: 26px;
  bottom: 32px;
  animation: floatCard 8.4s ease-in-out infinite 0.8s;
}

.brand-animation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.52rem, 1.8vw, 1.4rem);
  width: min(94%, 780px);
  filter: drop-shadow(0 0 38px rgba(0, 212, 255, 0.18));
}

.brand-animation-inline {
  justify-content: flex-start;
  margin: 0.25rem 0 1rem;
  width: auto;
}

.brand-animation-word {
  font-family: "Syncopate", sans-serif;
  font-size: clamp(1.52rem, 4.2vw, 3.9rem);
  line-height: 0.95;
  letter-spacing: 0.12em;
  color: #f4fbff;
  opacity: 0;
  text-shadow: 0 0 24px rgba(0, 212, 255, 0.12);
}

.brand-animation-word-left {
  animation: brandSlideLeft 1.22s ease forwards 0.12s, heroFloat 5.8s ease-in-out infinite 2s;
}

.brand-animation-word-right {
  background: linear-gradient(90deg, var(--mint), var(--aqua), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: brandSlideRight 1.22s ease forwards 0.25s, heroFloat 5.8s ease-in-out infinite 2.2s;
}

.brand-animation-mark {
  width: clamp(94px, 14vw, 158px);
  height: auto;
  overflow: visible;
}

.brand-animation-mark .mark-outline,
.brand-animation-mark .mark-spokes,
.brand-animation-mark .mark-core,
.brand-animation-mark .mark-orbit {
  stroke: url(#brand-gradient-home);
  fill: none;
  filter: url(#brand-glow-home);
}

.brand-animation-mark .mark-outline {
  stroke-width: 2;
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
  animation: drawLine 1.5s ease forwards 0.35s;
}

.brand-animation-mark .mark-spokes {
  stroke-width: 1.5;
  opacity: 0.72;
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation: drawLine 1.45s ease forwards 0.8s;
}

.brand-animation-mark .mark-core {
  fill: url(#brand-gradient-home);
  stroke-width: 1;
  transform-origin: center;
  opacity: 0;
  animation: brandCorePop 0.55s ease forwards 1.15s, brandPulse 3.6s ease-in-out infinite 2s;
}

.brand-animation-mark .mark-orbit {
  stroke-width: 1;
  opacity: 0;
  transform-origin: center;
  animation: brandOrbitReveal 0.8s ease forwards 1.05s, spinA 14s linear infinite 2s;
}

.ring,
.orb {
  position: absolute;
  pointer-events: none;
}

.ring {
  left: 50%;
  top: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(87, 164, 227, 0.18);
}

.ring-a { width: 320px; height: 320px; animation: spinA 12s linear infinite; }
.ring-b { width: 430px; height: 430px; border-color: rgba(118, 255, 194, 0.14); animation: spinB 16s linear infinite reverse; }
.ring-c { width: 560px; height: 560px; border-color: rgba(255, 124, 88, 0.1); animation: spinA 24s linear infinite reverse; }

.orb {
  border-radius: 50%;
  filter: blur(0.3px);
}

.orb-a {
  width: 12px;
  height: 12px;
  top: 21%;
  left: 18%;
  background: var(--aqua);
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.7);
  animation: orbitA 9s linear infinite;
}

.orb-b {
  width: 10px;
  height: 10px;
  top: 70%;
  left: 76%;
  background: var(--lime);
  box-shadow: 0 0 18px rgba(215, 255, 98, 0.6);
  animation: orbitB 7.4s linear infinite;
}

.orb-c {
  width: 9px;
  height: 9px;
  top: 34%;
  left: 78%;
  background: var(--orange);
  box-shadow: 0 0 18px rgba(255, 124, 88, 0.55);
  animation: orbitC 8.6s linear infinite;
}

.section {
  padding: 1.2rem 0 2rem;
}

.section-band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(7, 14, 25, 0.2), rgba(7, 14, 25, 0.44)),
    radial-gradient(circle at 100% 0%, rgba(0, 212, 255, 0.08), transparent 28%),
    radial-gradient(circle at 0% 100%, rgba(255, 124, 88, 0.08), transparent 24%);
  border-top: 1px solid rgba(73, 123, 157, 0.16);
  border-bottom: 1px solid rgba(73, 123, 157, 0.16);
}

.section-head h2 {
  margin: 0;
  font: 700 clamp(1.72rem, 3vw, 2.7rem)/1.05 "Syncopate", sans-serif;
  letter-spacing: 0.05em;
}

.section-head p:not(.eyebrow) {
  margin: 0.9rem 0 0;
  max-width: 62ch;
  color: var(--muted);
  line-height: 1.82;
  font-size: 1.02rem;
  text-wrap: pretty;
}

.info-panel p,
.focus-item p,
.program-row p,
.route-group p,
.context-ledger p,
.architecture-panel p,
.formula-stack pre,
.body-copy,
.summary,
.footer-grid p,
.footer-grid a {
  max-width: 62ch;
  text-wrap: pretty;
}

@keyframes menuRailPulse {
  0%, 100% {
    opacity: 0.38;
    transform: translateY(0);
  }
  50% {
    opacity: 0.82;
    transform: translateY(-4px);
  }
}

.signal-word {
  --signal-color: var(--aqua);
  position: relative;
  display: inline-block;
  color: #f5fbff;
  font-weight: 600;
  text-shadow:
    0 0 10px color-mix(in srgb, var(--signal-color) 40%, transparent),
    0 0 22px color-mix(in srgb, var(--signal-color) 18%, transparent);
  animation: signalWord 5.4s ease-in-out infinite;
}

.signal-word::after {
  content: "";
  position: absolute;
  left: -0.08em;
  right: -0.08em;
  bottom: 0.02em;
  height: 0.56em;
  border-radius: 999px;
  background: radial-gradient(circle, color-mix(in srgb, var(--signal-color) 28%, transparent), transparent 72%);
  filter: blur(10px);
  opacity: 0.9;
  pointer-events: none;
}

.signal-word.mint { --signal-color: var(--mint); }
.signal-word.blue { --signal-color: var(--blue); }
.signal-word.lime { --signal-color: var(--lime); }
.signal-word.orange { --signal-color: var(--orange); }
.signal-word.gold { --signal-color: var(--gold); }

@media (max-width: 1180px) {
  .desktop-nav-shell {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .nav-utility {
    width: 100%;
    justify-content: flex-start;
    padding-left: 0.18rem;
    min-width: 0;
    flex-wrap: wrap;
  }

  .desktop-nav-cluster {
    flex-wrap: wrap;
  }
}

.section-head.narrow p:not(.eyebrow) {
  margin-top: 0.72rem;
}

.company-grid-section {
  padding-top: 0.6rem;
}

.info-columns,
.capability-columns,
.focus-grid,
.company-context-grid,
.route-columns,
.footer-grid,
.science-home-grid {
  display: grid;
  gap: 1.2rem;
}

.info-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.capability-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.focus-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.company-context-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start; }
.route-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.science-home-grid { grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr); align-items: center; }

.info-panel,
.focus-item,
.route-group,
.program-row,
.context-ledger article {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(84, 145, 184, 0.18);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), transparent),
    linear-gradient(145deg, rgba(8, 18, 31, 0.8), rgba(9, 24, 39, 0.62));
  backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 18px 38px rgba(0, 0, 0, 0.18);
}

.info-panel,
.focus-item,
.route-group,
.context-ledger article {
  padding: 1.2rem 1.2rem 1.25rem;
}

.program-row {
  padding: 1.2rem;
}

.info-panel::before,
.focus-item::before,
.route-group::before,
.program-row::before,
.context-ledger article::before,
.menu-group::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(130deg, rgba(0, 212, 255, 0.08), transparent 34%, transparent 66%, rgba(255, 124, 88, 0.08));
  opacity: 0.7;
}

.info-panel h3,
.focus-item h3,
.route-group h3,
.program-title h3,
.footer-grid h3,
.footer-grid h4 {
  margin: 0 0 0.78rem;
  font: 700 1rem/1.25 "Syncopate", sans-serif;
  letter-spacing: 0.06em;
}

.info-panel p,
.focus-item p,
.program-row p,
.route-group p,
.footer-grid p,
.context-ledger p {
  color: #bfd4e2;
  line-height: 1.82;
}

.info-panel p:last-child,
.focus-item p:last-child,
.program-row p:last-child,
.route-group p:last-child {
  margin-bottom: 0;
}

.accent-panel {
  border-color: rgba(255, 124, 88, 0.18);
}

.focus-kicker {
  display: inline-flex;
  margin-bottom: 0.7rem;
  color: var(--gold);
  font: 700 0.82rem/1 "Orbitron", sans-serif;
  letter-spacing: 0.12em;
}

.highlight-mint { border-color: rgba(118, 255, 194, 0.22); }
.highlight-orange { border-color: rgba(255, 124, 88, 0.22); }

.operating-shell {
  padding: 1.8rem 0;
}

.manifesto {
  padding: 0.4rem 0 0.8rem;
}

.manifesto p {
  margin: 0;
  padding: 1.7rem 0 0;
  border-top: 1px solid rgba(86, 141, 177, 0.2);
  color: #e6f7ff;
  font: 600 clamp(1.22rem, 2vw, 1.7rem)/1.72 "IBM Plex Sans", sans-serif;
  max-width: 62ch;
}

.operating-brief,
.architecture-frontier {
  padding-top: 0.6rem;
}

.brief-shell,
.atlas-composite {
  display: grid;
  gap: 1.2rem;
}

.brief-shell {
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 1.06fr);
  align-items: start;
}

.brief-copy,
.brief-visual,
.atlas-visual,
.spectrum-band,
.paper-strip,
.frontier-board {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(84, 145, 184, 0.18);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), transparent),
    linear-gradient(145deg, rgba(8, 18, 31, 0.84), rgba(9, 24, 39, 0.7));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 20px 40px rgba(0,0,0,0.2);
}

.brief-copy,
.spectrum-band,
.paper-strip,
.frontier-copy {
  padding: 1.22rem;
}

.brief-copy::before,
.brief-visual::before,
.atlas-visual::before,
.spectrum-band::before,
.paper-strip::before,
.frontier-board::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(130deg, rgba(0, 212, 255, 0.08), transparent 32%, transparent 68%, rgba(255, 124, 88, 0.08));
  opacity: 0.72;
}

.brief-lead {
  margin: 0;
  color: #ebf8ff;
  font: 500 clamp(1.08rem, 1.5vw, 1.2rem)/1.85 "IBM Plex Sans", sans-serif;
  max-width: 56ch;
  text-wrap: pretty;
}

.brief-strips {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.15rem;
}

.brief-strips article,
.atlas-note {
  position: relative;
  padding: 0.95rem 1rem;
  border-radius: 22px;
  border: 1px solid rgba(90, 152, 192, 0.16);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), transparent),
    linear-gradient(145deg, rgba(11, 24, 40, 0.66), rgba(8, 18, 31, 0.5));
}

.brief-strips span,
.atlas-note span,
.spectrum-head span,
.paper-strip-index,
.frontier-kicker {
  display: inline-block;
  margin-bottom: 0.55rem;
  color: var(--aqua);
  font: 700 0.72rem/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brief-strips strong,
.atlas-note strong {
  display: block;
  color: #f4fbff;
  font: 700 0.96rem/1.45 "Syncopate", sans-serif;
  letter-spacing: 0.05em;
}

.brief-strips p,
.atlas-note p,
.spectrum-band p,
.paper-strip p,
.frontier-copy p {
  margin: 0.72rem 0 0;
  color: #bfd4e2;
  line-height: 1.78;
  max-width: 62ch;
  text-wrap: pretty;
}

.brief-visual,
.atlas-visual,
.paper-strip,
.frontier-board,
.science-home-visual {
  --panel-rx: 0deg;
  --panel-ry: 0deg;
  --panel-shift: 0px;
  --svg-x: 0px;
  --svg-y: 0px;
  --svg-scale: 1;
  transform: perspective(1200px) rotateX(var(--panel-rx)) rotateY(var(--panel-ry)) translateY(var(--panel-shift));
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.brief-visual:hover,
.atlas-visual:hover,
.paper-strip:hover,
.frontier-board:hover,
.science-home-visual:hover {
  border-color: rgba(118, 255, 194, 0.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 28px 54px rgba(0,0,0,0.24);
}

.brief-visual,
.atlas-visual {
  padding: 1rem;
}

.brief-svg,
.atlas-svg {
  display: block;
  width: 100%;
  height: auto;
  transform: translate3d(var(--svg-x), var(--svg-y), 0) scale(var(--svg-scale));
  filter: drop-shadow(0 0 18px rgba(0, 212, 255, 0.1));
  animation: homeDiagramFloat 14s ease-in-out infinite;
  transition: transform 0.22s ease;
}

.brief-legend {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 0.9rem;
}

.brief-legend article {
  padding: 0.9rem 0.95rem;
  border-radius: 18px;
  border: 1px solid rgba(90, 152, 192, 0.14);
  background: linear-gradient(145deg, rgba(10, 23, 38, 0.78), rgba(6, 15, 27, 0.88));
}

.brief-legend article span {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--mint);
  font: 700 0.66rem/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brief-legend article strong {
  color: #eaf8ff;
  font: 600 0.9rem/1.7 "IBM Plex Sans", sans-serif;
}

.atlas-composite {
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  align-items: start;
}

.atlas-asides {
  display: grid;
  gap: 0.85rem;
}

.systems-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
  margin-top: 1rem;
}

.systems-ribbon a,
.systems-ribbon span,
.frontier-papers a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.72rem 0.96rem;
  border-radius: 999px;
  border: 1px solid rgba(88, 149, 188, 0.22);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), transparent),
    linear-gradient(145deg, rgba(10, 25, 40, 0.84), rgba(7, 15, 27, 0.9));
  color: #e2f6ff;
  font: 700 0.74rem/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.systems-ribbon a:hover,
.systems-ribbon a:focus-visible,
.frontier-papers a:hover,
.frontier-papers a:focus-visible {
  color: #ffffff;
  border-color: rgba(118, 255, 194, 0.38);
  box-shadow: 0 0 0 1px rgba(118, 255, 194, 0.12), 0 16px 34px rgba(0, 14, 28, 0.28);
  transform: translateY(-1px);
}

.spectrum-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.spectrum-head h3 {
  margin: 0;
  font: 700 1.04rem/1.24 "Syncopate", sans-serif;
  letter-spacing: 0.05em;
}

.spectrum-list,
.frontier-list {
  margin: 0.9rem 0 0;
  padding-left: 1.05rem;
}

.spectrum-list li,
.frontier-list li {
  margin: 0.45rem 0;
  color: #d4e7f2;
  line-height: 1.68;
}

.paper-conversion-home .section-head p:not(.eyebrow) {
  max-width: 64ch;
}

.paper-strip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.paper-strip {
  padding: 1.12rem 1.15rem;
}

.paper-strip h3,
.frontier-copy h3 {
  margin: 0;
  color: #f5fbff;
  font: 700 1rem/1.26 "Syncopate", sans-serif;
  letter-spacing: 0.05em;
}

.paper-strip pre {
  margin: 0.88rem 0 0;
  padding: 0.9rem 0.95rem;
  border-radius: 18px;
  border: 1px solid rgba(88, 149, 188, 0.18);
  background: rgba(5, 14, 24, 0.9);
  color: #bff2ff;
  font: 600 0.78rem/1.6 "IBM Plex Mono", monospace;
  overflow-x: auto;
}

.paper-strip a {
  display: inline-flex;
  margin-top: 0.92rem;
  color: var(--mint);
  text-decoration: none;
  font-weight: 700;
}

.paper-strip a:hover {
  color: #ffffff;
  border-color: rgba(118, 255, 194, 0.38);
}

.frontier-mosaic {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.frontier-board {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.98fr);
  gap: 0;
}

.frontier-visual {
  padding: 1rem;
  border-right: 1px solid rgba(88, 149, 188, 0.12);
  background:
    radial-gradient(circle at 50% 40%, rgba(0, 212, 255, 0.1), transparent 42%),
    radial-gradient(circle at 82% 18%, rgba(255, 124, 88, 0.08), transparent 22%),
    linear-gradient(145deg, rgba(7, 19, 31, 0.98), rgba(9, 29, 45, 0.92));
}

.frontier-copy {
  position: relative;
  padding: 1.1rem 1.15rem;
}

.frontier-papers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
  margin-top: 1rem;
}

@keyframes signalWord {
  0%, 100% {
    transform: translateY(0);
    filter: saturate(1);
  }
  50% {
    transform: translateY(-1px);
    filter: saturate(1.2);
  }
}

.cap-list {
  margin: 0;
  padding-left: 1.08rem;
}

.cap-list li {
  margin: 0.55rem 0;
  color: #d0e1ec;
  line-height: 1.62;
}

.program-list {
  display: grid;
  gap: 1rem;
}

.program-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.2rem;
}

.program-title {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.program-title a,
.route-group a,
.footer-grid a,
.atlas-links a {
  color: #def5ff;
  text-decoration: none;
}

.program-title a:hover,
.route-group a:hover,
.footer-grid a:hover,
.atlas-links a:hover {
  color: var(--mint);
}

.science-home-visual {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(77, 143, 182, 0.28);
  background:
    radial-gradient(circle at 50% 40%, rgba(0, 212, 255, 0.09), transparent 42%),
    radial-gradient(circle at 80% 20%, rgba(255, 124, 88, 0.08), transparent 24%),
    linear-gradient(145deg, rgba(7, 19, 31, 0.96), rgba(9, 29, 45, 0.88));
  padding: 1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 24px 50px rgba(0, 0, 0, 0.24);
}

.science-home-svg {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 18px rgba(0, 212, 255, 0.1));
  animation: homeDiagramFloat 12s ease-in-out infinite;
}

.architecture-frontier {
  padding-top: 0.6rem;
}

.architecture-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.architecture-panel {
  position: relative;
  overflow: hidden;
  padding: 1.18rem;
  border-radius: 30px;
  border: 1px solid rgba(84, 145, 184, 0.18);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), transparent),
    linear-gradient(145deg, rgba(8, 18, 31, 0.82), rgba(9, 24, 39, 0.64));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 18px 38px rgba(0,0,0,0.18);
  transform: perspective(1200px) rotateX(var(--panel-rx, 0deg)) rotateY(var(--panel-ry, 0deg)) translateY(var(--panel-shift, 0px));
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.architecture-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(130deg, rgba(0, 212, 255, 0.08), transparent 34%, transparent 66%, rgba(255, 124, 88, 0.08));
  opacity: 0.7;
}

.architecture-svg-wrap {
  margin-bottom: 0.95rem;
  border-radius: 24px;
  border: 1px solid rgba(77, 143, 182, 0.24);
  background:
    radial-gradient(circle at 50% 40%, rgba(0, 212, 255, 0.09), transparent 42%),
    radial-gradient(circle at 82% 18%, rgba(255, 124, 88, 0.08), transparent 22%),
    linear-gradient(145deg, rgba(7, 19, 31, 0.96), rgba(9, 29, 45, 0.88));
  padding: 0.9rem;
  overflow: hidden;
}

.architecture-svg {
  display: block;
  width: 100%;
  height: auto;
  transform: translate3d(var(--svg-x, 0px), var(--svg-y, 0px), 0) scale(var(--svg-scale, 1));
  transform-origin: center;
  filter: drop-shadow(0 0 18px rgba(0, 212, 255, 0.1));
  animation: homeDiagramFloat 13s ease-in-out infinite;
  transition: transform 0.22s ease;
}

.papers-diagram {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 18px rgba(0, 212, 255, 0.1));
  animation: homeDiagramFloat 13s ease-in-out infinite;
}

.architecture-panel h3 {
  margin: 0 0 0.7rem;
  font: 700 0.98rem/1.24 "Syncopate", sans-serif;
  letter-spacing: 0.05em;
}

.architecture-panel:hover,
.science-home-visual:hover {
  border-color: rgba(118, 255, 194, 0.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 24px 48px rgba(0,0,0,0.24);
}

.science-home-visual,
.architecture-panel {
  --panel-rx: 0deg;
  --panel-ry: 0deg;
  --panel-shift: 0px;
  --svg-x: 0px;
  --svg-y: 0px;
  --svg-scale: 1;
}

.science-home-visual {
  transform: perspective(1200px) rotateX(var(--panel-rx, 0deg)) rotateY(var(--panel-ry, 0deg)) translateY(var(--panel-shift, 0px));
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.science-home-svg {
  transform: translate3d(var(--svg-x, 0px), var(--svg-y, 0px), 0) scale(var(--svg-scale, 1));
  transition: transform 0.22s ease;
}

.architecture-panel p {
  margin: 0.72rem 0 0;
  color: #bfd4e2;
  line-height: 1.78;
}

.architecture-source {
  color: #8fefff;
  font: 600 0.76rem/1.6 "IBM Plex Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.science-home-label,
.science-home-copy,
.formula-stack span,
.formula-stack pre {
  font-family: "IBM Plex Mono", monospace;
}

.science-home-label {
  fill: #ffc89f;
  font-size: 16px;
  letter-spacing: 0.08em;
  font-weight: 700;
  paint-order: stroke fill;
  stroke: rgba(17, 22, 30, 0.72);
  stroke-width: 1.4px;
}

.science-home-copy {
  fill: #ff986a;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.science-home-frame {
  fill: rgba(7, 22, 36, 0.78);
  stroke: rgba(0, 212, 255, 0.42);
  stroke-width: 2;
}

.brief-svg .science-wire,
.atlas-svg .science-wire,
.science-home-svg .science-wire,
.architecture-svg .science-wire,
.papers-diagram .science-wire {
  stroke-dasharray: 10 12;
  animation: homeWireFlow 10s linear infinite;
}

.brief-svg .science-frame,
.atlas-svg .science-frame,
.science-home-svg .science-frame,
.architecture-svg .science-frame,
.papers-diagram .science-frame,
.brief-svg .science-frame-fill,
.atlas-svg .science-frame-fill,
.science-home-svg .science-frame-fill,
.architecture-svg .science-frame-fill,
.papers-diagram .science-frame-fill {
  animation: homeNodeGlow 5.2s ease-in-out infinite;
}

.brief-svg text,
.atlas-svg text,
.science-home-svg text,
.architecture-svg text,
.papers-diagram text {
  animation: homeTextGlow 6.2s ease-in-out infinite;
}

.science-home-wire {
  fill: none;
  stroke: rgba(105, 192, 236, 0.48);
  stroke-width: 2;
  stroke-dasharray: 8 9;
  animation: scienceDash 10s linear infinite;
}

.science-home-halo {
  fill: rgba(0, 212, 255, 0.12);
  stroke: rgba(0, 212, 255, 0.18);
  stroke-width: 1;
  animation: haloPulse 4.5s ease-in-out infinite;
}

.science-home-core {
  fill: rgba(8, 20, 35, 0.94);
  stroke: rgba(0, 212, 255, 0.88);
  stroke-width: 2;
}

.science-home-copy-wrap {
  display: grid;
  gap: 1rem;
}

.formula-stack {
  display: grid;
  gap: 0.8rem;
}

.formula-stack article {
  padding: 0.95rem 1rem;
  border-radius: 22px;
  border: 1px solid rgba(83, 143, 181, 0.18);
  background: rgba(9, 24, 39, 0.46);
}

.formula-stack span {
  display: inline-block;
  color: var(--mint);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.formula-stack pre {
  margin: 0.5rem 0 0;
  color: #dff5ff;
  white-space: pre-wrap;
  font-size: 0.9rem;
}

.formula-stack a {
  display: inline-block;
  margin-top: 0.8rem;
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
}

.formula-stack a:hover {
  color: var(--mint);
}

.company-context-band {
  margin-top: 0.4rem;
}

.context-ledger {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.context-ledger span {
  display: block;
  color: var(--aqua);
  font: 700 0.68rem/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.context-ledger strong {
  display: block;
  margin-top: 0.55rem;
  color: #edf8ff;
  font: 700 0.92rem/1.45 "IBM Plex Sans", sans-serif;
}

.route-atlas {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.atlas-wide {
  grid-column: span 2;
}

.atlas-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.9rem;
}

.atlas-links a {
  padding: 0.6rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(94, 156, 196, 0.22);
  background: rgba(7, 17, 29, 0.54);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.atlas-links a:hover {
  transform: translateY(-2px);
  border-color: rgba(118, 255, 194, 0.42);
  background: rgba(10, 26, 41, 0.8);
}

.wide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 2.4rem 0 1.9rem;
  border-top: 1px solid rgba(77, 129, 164, 0.2);
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 212, 255, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(5, 11, 19, 0.16), rgba(5, 11, 19, 0.42));
}

.footer-web {
  position: absolute;
  inset: 0 0 auto 0;
  width: 100%;
  height: 220px;
  opacity: 0.7;
  pointer-events: none;
}

.footer-grid {
  position: relative;
  gap: 1.18rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.9rem;
  text-decoration: none;
}

.footer-brand-logo {
  width: clamp(170px, 18vw, 280px);
  height: auto;
  filter: drop-shadow(0 0 24px rgba(0, 212, 255, 0.28));
}

.footer-grid p,
.footer-grid a {
  position: relative;
  z-index: 1;
  line-height: 1.8;
}

.footer-grid a {
  display: block;
  margin: 0.48rem 0;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  margin-top: 1.32rem;
  padding-top: 1.08rem;
  border-top: 1px solid rgba(80, 133, 169, 0.16);
  color: #91aebe;
}

.footer-bottom.footer-bottom-shield {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-shield-link {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 16px;
  border: 1px solid rgba(97, 164, 204, 0.14);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), transparent),
    linear-gradient(145deg, rgba(7, 18, 31, 0.84), rgba(5, 11, 20, 0.9));
  color: rgba(165, 198, 214, 0.28);
  text-decoration: none;
  opacity: 0.32;
  transition: transform 0.24s ease, opacity 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, color 0.24s ease;
  overflow: hidden;
}

.footer-shield-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(0, 212, 255, 0.18), transparent 52%, rgba(255, 217, 61, 0.12));
  opacity: 0;
  transition: opacity 0.24s ease;
}

.footer-shield-link svg {
  position: relative;
  z-index: 1;
  width: 18px;
  height: 18px;
}

.footer-shield-link:hover,
.footer-shield-link:focus-visible {
  opacity: 1;
  color: #dff6ff;
  border-color: rgba(0, 212, 255, 0.42);
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22), 0 0 24px rgba(0, 212, 255, 0.16);
}

.footer-shield-link:hover::before,
.footer-shield-link:focus-visible::before {
  opacity: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes driftHalo {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(4vw, 2vw, 0) scale(1.08); }
}

@keyframes heroTitleRise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroAccentGlow {
  0%, 100% { opacity: 0.18; transform: scaleX(0.98); }
  50% { opacity: 0.42; transform: scaleX(1.02); }
}

@keyframes heroTrace {
  from { transform: scaleX(0); opacity: 0.2; }
  to { transform: scaleX(1); opacity: 1; }
}

@keyframes scan {
  from { transform: translateY(-100%); }
  to { transform: translateY(100%); }
}

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

@keyframes brandSlideLeft {
  from { opacity: 0; transform: translateX(-22px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes brandSlideRight {
  from { opacity: 0; transform: translateX(22px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes homeDiagramFloat {
  0%, 100% {
    transform: translate3d(var(--svg-x, 0px), calc(var(--svg-y, 0px) + 0px), 0) scale(var(--svg-scale, 1));
    filter: drop-shadow(0 0 16px rgba(0, 212, 255, 0.08));
  }
  50% {
    transform: translate3d(var(--svg-x, 0px), calc(var(--svg-y, 0px) - 6px), 0) scale(calc(var(--svg-scale, 1) * 1.008));
    filter: drop-shadow(0 0 24px rgba(0, 212, 255, 0.14));
  }
}

@keyframes homeWireFlow {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -44; }
}

@keyframes homeNodeGlow {
  0%, 100% { opacity: 0.92; filter: drop-shadow(0 0 0 rgba(118, 255, 194, 0)); }
  50% { opacity: 1; filter: drop-shadow(0 0 12px rgba(118, 255, 194, 0.28)); }
}

@keyframes homeTextGlow {
  0%, 100% { opacity: 0.96; filter: drop-shadow(0 0 0 rgba(255, 178, 135, 0)); }
  50% { opacity: 1; filter: drop-shadow(0 0 10px rgba(255, 178, 135, 0.18)); }
}

@keyframes brandCorePop {
  from { opacity: 0; transform: scale(0.5); transform-origin: center; }
  to { opacity: 1; transform: scale(1); transform-origin: center; }
}

@keyframes brandPulse {
  0%, 100% { filter: url(#brand-glow-home); transform: scale(1); transform-origin: center; }
  50% { filter: url(#brand-glow-home); transform: scale(1.06); transform-origin: center; }
}

@keyframes brandOrbitReveal {
  from { opacity: 0; transform: scale(0.7); }
  to { opacity: 0.45; transform: scale(1); }
}

@keyframes spinA {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes spinB {
  from { transform: translate(-50%, -50%) rotate(360deg); }
  to { transform: translate(-50%, -50%) rotate(0deg); }
}

@keyframes orbitA {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(150px, 60px, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

@keyframes orbitB {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-110px, -72px, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

@keyframes orbitC {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-130px, 108px, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes scienceDash {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -48; }
}

@keyframes haloPulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.07); opacity: 1; }
}

@media (max-width: 1180px) {
  .wide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .architecture-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1040px) {
  .hero,
  .science-home-grid,
  .company-context-grid,
  .architecture-grid,
  .brief-shell,
  .atlas-composite,
  .frontier-board,
  .frontier-mosaic,
  .paper-strip-grid,
  .spectrum-grid,
  .program-row,
  .route-atlas,
  .focus-grid,
  .capability-columns,
  .info-columns {
    grid-template-columns: 1fr;
  }

  .atlas-wide { grid-column: auto; }
  .hero-visual { min-height: 520px; }
  .hero-visual-ledger { max-width: 240px; }
  .hero-title {
    max-width: 8.8ch;
    font-size: clamp(1.72rem, 5vw, 3.06rem);
    line-height: 0.98;
  }
}

@media (max-width: 880px) {
  .header-inner {
    min-height: 48px;
    align-items: center;
    grid-template-columns: 1fr auto 1fr;
  }

  .nav-toggle {
    position: relative;
    z-index: 3;
    min-width: 112px;
    height: 38px;
  }

  .brand-logo-image {
    width: clamp(132px, 42vw, 182px);
  }

  body.is-scrolled .header-inner {
    min-height: 42px;
  }

  body.is-scrolled .brand-logo-image {
    width: clamp(122px, 38vw, 164px);
  }

  body.is-scrolled .nav-toggle {
    min-width: 104px;
    height: 34px;
  }

  .top-nav {
    display: none;
  }

  .desktop-nav-shell {
    display: none;
  }

  .nav-overlay-shell {
    width: 100%;
    max-width: 100%;
    padding: 0;
    align-items: stretch;
  }

  .nav-overlay-panel {
    min-height: 100dvh;
    max-height: 100dvh;
    padding:
      max(0.85rem, env(safe-area-inset-top))
      0.95rem
      max(1rem, env(safe-area-inset-bottom));
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .nav-overlay-body {
    grid-template-columns: 1fr;
  }

  .nav-overlay-rail {
    position: static;
  }

  .nav-overlay-main {
    grid-template-rows: auto auto auto;
  }

  .nav-overlay-hero,
  .nav-overlay-grid,
  .nav-overlay-stats {
    grid-template-columns: 1fr;
  }

  .nav-overlay-grid-mobile {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .wide-links,
  .wide-grid {
    grid-template-columns: 1fr;
  }

  .nav-overlay-top {
    padding-bottom: 0.8rem;
    margin-bottom: 1rem;
  }

  .nav-overlay-quick a {
    flex: 1 1 calc(50% - 0.75rem);
    text-align: center;
    min-width: 0;
    white-space: normal;
  }

  .mobile-menu-section {
    padding: 0.92rem;
    border-radius: 20px;
  }

  .hero-visual-ledger {
    width: min(240px, calc(100% - 2rem));
  }

  .brief-legend {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2.4rem;
  }

  .hero-title {
    max-width: 100%;
    font-size: clamp(1.48rem, 6.15vw, 2.38rem);
    line-height: 1.02;
    letter-spacing: 0.02em;
  }
}

@media (max-width: 720px) {
  .wrap { width: min(100%, 92vw); }
  .page-entry-signal {
    width: min(100%, 92vw);
    margin-top: 3.45rem;
    gap: 0.7rem;
    padding: 0.68rem 0.76rem;
  }
  .page-entry-code span:last-child { display: none; }
  .nav-overlay-panel {
    padding:
      max(0.85rem, env(safe-area-inset-top))
      0.82rem
      max(1rem, env(safe-area-inset-bottom));
  }
  .nav-overlay-top {
    top: calc(max(0.85rem, env(safe-area-inset-top)) * -1);
    margin:
      calc(max(0.85rem, env(safe-area-inset-top)) * -1)
      -0.82rem
      0.9rem;
    padding:
      max(0.85rem, env(safe-area-inset-top))
      0.82rem
      0.75rem;
  }
  .nav-overlay-top h2 { font-size: 1.28rem; }
  .nav-overlay-copy { font-size: 0.95rem; }
  .nav-overlay-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-overlay-stats article:last-child { grid-column: 1 / -1; }
  .nav-overlay-quick a { flex-basis: calc(50% - 0.5rem); }
  .nav-search-shell {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .nav-search-meta {
    grid-column: 1 / -1;
    justify-items: start;
  }
  .nav-filter-chip {
    flex: 1 1 calc(50% - 0.55rem);
    text-align: center;
  }
  .faq-trigger { font-size: 0.9rem; }
  .footer-grid,
  .context-ledger,
  .brief-legend,
  .spectrum-grid,
  .paper-strip-grid,
  .frontier-mosaic { grid-template-columns: 1fr; }
  .hero-visual { min-height: 400px; }
  .frontier-board { grid-template-columns: 1fr; }
  .frontier-visual { border-right: 0; border-bottom: 1px solid rgba(88, 149, 188, 0.12); }
  .systems-ribbon a,
  .systems-ribbon span,
  .frontier-papers a { width: 100%; }
  .card-one,
  .card-two { position: static; margin: 0.75rem; width: calc(100% - 1.5rem); }
  .hero-visual-ledger { max-width: none; }
  .program-row { gap: 0.6rem; }
  .fact-line { gap: 0.8rem 1rem; }
  .site-footer { padding-top: 1.6rem; }
  .hero-title-line { white-space: normal; }
  .hero-title-accent::after { bottom: -0.08em; }
}


:root {
  --bg: #040915;
  --bg-2: #07121f;
  --panel: rgba(8, 19, 33, 0.78);
  --panel-2: rgba(9, 25, 40, 0.88);
  --line: rgba(82, 142, 179, 0.22);
  --line-strong: rgba(108, 205, 244, 0.54);
  --text: #eef8ff;
  --muted: #a4bfd1;
  --aqua: #00d4ff;
  --mint: #76ffc2;
  --blue: #2c7dff;
  --gold: #ffd93d;
  --orange: #ff7c58;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.4);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}
html { scroll-behavior: smooth; }
body {
  color: var(--text);
  font-family: "IBM Plex Sans", sans-serif;
  overflow-x: clip;
  background:
    radial-gradient(980px 720px at 0% 0%, rgba(44, 125, 255, 0.14), transparent 56%),
    radial-gradient(800px 620px at 100% 0%, rgba(0, 212, 255, 0.14), transparent 54%),
    radial-gradient(840px 720px at 50% 100%, rgba(255, 124, 88, 0.08), transparent 58%),
    linear-gradient(180deg, #040914 0%, #06111d 42%, #040914 100%);
}

a { color: inherit; }
img,
svg,
canvas { display: block; max-width: 100%; }
.nav-overlay-shell,
.nav-overlay-panel,
.nav-overlay-grid,
.nav-overlay-grid-mobile,
.mobile-menu-section,
.mobile-menu-links,
.mobile-menu-link,
.science-layout,
.science-visual,
.science-copy-wrap,
.page,
.wrap {
  min-width: 0;
}
.wrap { width: min(1220px, 92vw); margin: 0 auto; }

.page-entry-signal {
  position: relative;
  width: min(1220px, 92vw);
  margin: 4.05rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.72rem 0.92rem;
  border-radius: 22px;
  border: 1px solid rgba(96, 164, 203, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent),
    linear-gradient(145deg, rgba(8, 19, 31, 0.88), rgba(7, 15, 26, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 38px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.page-entry-signal::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 212, 255, 0), rgba(0, 212, 255, 0.18), rgba(118, 255, 194, 0.16), rgba(255, 124, 88, 0)),
    linear-gradient(rgba(112, 191, 230, 0.05) 1px, transparent 1px);
  background-size: 180px 100%, 100% 18px;
  animation: codeSweep 7s linear infinite;
  pointer-events: none;
}

.page-entry-code {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.page-entry-code span {
  color: #a9cfe1;
  font: 600 0.72rem/1.4 "IBM Plex Mono", monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-entry-code span:first-child { color: var(--aqua); }

.page-entry-arrow {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  border-radius: 18px;
  border: 1px solid rgba(102, 172, 211, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent),
    linear-gradient(145deg, rgba(10, 25, 40, 0.92), rgba(7, 16, 29, 0.96));
  color: #f4fbff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 14px 28px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  overflow: hidden;
}

.page-entry-arrow::before {
  content: "</>";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(118, 255, 194, 0.8);
  font: 700 0.54rem/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.18em;
  animation: codeBlink 1.8s steps(2) infinite;
}

.page-entry-arrow::after {
  content: "";
  position: absolute;
  inset: auto 12px 10px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 212, 255, 0), rgba(0, 212, 255, 0.22), rgba(255, 124, 88, 0));
  filter: blur(8px);
}

.page-entry-arrow-glyph {
  display: block;
  font: 700 1.4rem/56px "Orbitron", sans-serif;
  text-align: center;
  text-shadow: 0 0 18px rgba(0, 212, 255, 0.34);
  animation: signalArrowDrop 2.8s ease-in-out infinite;
}
#route-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  pointer-events: none;
  opacity: 0.72;
}

.site-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  backdrop-filter: none;
  background: linear-gradient(180deg, rgba(4, 8, 18, 0.94), rgba(4, 8, 18, 0.64));
  border-bottom: 1px solid rgba(72, 122, 154, 0.16);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
  transition: background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
}

.top-inner {
  min-height: 50px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.8rem;
  padding: 0.1rem 0;
  transition: min-height 0.28s ease, padding 0.28s ease, gap 0.28s ease;
}

.top-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  position: relative;
  z-index: 2;
  justify-self: start;
}

.top-brand img {
  width: clamp(138px, 11.8vw, 198px);
  height: auto;
  filter: drop-shadow(0 0 18px rgba(0, 212, 255, 0.26));
  transition: width 0.28s ease, filter 0.28s ease, transform 0.28s ease;
}

.nav-toggle {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  grid-column: 2;
  gap: 0.68rem;
  width: auto;
  min-width: 118px;
  height: 40px;
  padding: 0 0.78rem 0 0.72rem;
  border-radius: 14px;
  border: 1px solid rgba(101, 164, 203, 0.28);
  background: linear-gradient(145deg, rgba(16, 31, 47, 0.78), rgba(9, 18, 31, 0.82));
  cursor: pointer;
  backdrop-filter: blur(18px);
  text-decoration: none;
  font: inherit;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, min-width 0.28s ease, height 0.28s ease, padding 0.28s ease;
}

.nav-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(118, 255, 194, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 18px 34px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(0, 212, 255, 0.08);
}

.nav-toggle-icon {
  display: grid;
  gap: 3px;
  width: 18px;
  flex: 0 0 auto;
}

.nav-toggle-icon span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0;
  border-radius: 999px;
  background: #dff8ff;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-toggle-label {
  color: #eef8ff;
  font: 700 0.62rem/1 "Syncopate", sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-toggle-chevron {
  color: var(--mint);
  font: 700 0.92rem/1 "IBM Plex Mono", monospace;
  transition: transform 0.22s ease, color 0.22s ease;
}

body.is-scrolled .site-top,
.site-top.is-scrolled {
  background: linear-gradient(180deg, rgba(3, 7, 16, 0.98), rgba(4, 8, 18, 0.88));
  border-bottom-color: rgba(118, 176, 212, 0.22);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

body.is-scrolled .top-inner {
  min-height: 44px;
  gap: 0.62rem;
  padding: 0.06rem 0;
}

body.is-scrolled .top-brand img {
  width: clamp(126px, 10.4vw, 178px);
  filter: drop-shadow(0 0 16px rgba(0, 212, 255, 0.24));
}

body.is-scrolled .nav-toggle {
  min-width: 108px;
  height: 36px;
  padding: 0 0.72rem 0 0.66rem;
}

body.is-scrolled .nav-toggle-label {
  font-size: 0.58rem;
}

body.is-scrolled .nav-toggle-chevron {
  font-size: 0.84rem;
}

.nav-toggle.is-open .nav-toggle-icon span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle-icon span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .nav-toggle-icon span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-toggle.is-open .nav-toggle-chevron { transform: rotate(180deg); color: var(--gold); }

.top-nav {
  display: none;
}

.top-nav a,
.nav-atlas-trigger,
.btn {
  text-decoration: none;
  border-radius: 999px;
  padding: 0.8rem 1.08rem;
  border: 1px solid rgba(83, 143, 181, 0.34);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), transparent),
    linear-gradient(145deg, rgba(12, 30, 46, 0.82), rgba(7, 16, 29, 0.84));
  color: #dff0fb;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 14px 32px rgba(0,0,0,0.18);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.top-nav a:hover,
.nav-atlas-trigger:hover,
.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(136, 218, 255, 0.54);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 18px 34px rgba(0,0,0,0.24);
}

.nav-atlas-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  appearance: none;
}
.nav-arrow { font-size: 0.68rem; color: var(--mint); transition: transform 0.24s ease; }
.nav-atlas-trigger[aria-expanded="true"] .nav-arrow { transform: rotate(180deg); }

body.nav-open {
  overflow: hidden;
  overscroll-behavior: none;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-overlay:target {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-overlay-backdrop {
  appearance: none;
  display: block;
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 212, 255, 0.16), transparent 26%),
    radial-gradient(circle at 80% 16%, rgba(118, 255, 194, 0.14), transparent 24%),
    radial-gradient(circle at 76% 80%, rgba(255, 124, 88, 0.16), transparent 28%),
    rgba(2, 7, 14, 0.84);
  backdrop-filter: blur(18px);
}

.nav-overlay-shell {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin: 0;
  min-height: 100dvh;
  height: 100dvh;
  display: grid;
  align-items: center;
  padding: 0;
  overflow: hidden;
}

.nav-overlay-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(94, 166, 208, 0.12);
  animation: overlayOrbit 24s linear infinite;
}

.orbit-one {
  width: 58vw;
  height: 58vw;
  max-width: 780px;
  max-height: 780px;
  top: -12%;
  right: -8%;
}

.orbit-two {
  width: 42vw;
  height: 42vw;
  max-width: 560px;
  max-height: 560px;
  left: -8%;
  bottom: -10%;
  animation-duration: 18s;
  animation-direction: reverse;
}

.nav-overlay-panel {
  position: relative;
  z-index: 1;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  align-content: start;
  width: 100%;
  max-width: 100%;
  min-height: 100dvh;
  max-height: 100dvh;
  padding: clamp(1.2rem, 2.6vw, 2rem);
  border-radius: 0;
  border: 1px solid rgba(102, 170, 210, 0.24);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), transparent 26%),
    radial-gradient(circle at 12% 12%, rgba(0, 212, 255, 0.12), transparent 24%),
    radial-gradient(circle at 82% 12%, rgba(118, 255, 194, 0.1), transparent 22%),
    radial-gradient(circle at 76% 82%, rgba(255, 124, 88, 0.11), transparent 25%),
    linear-gradient(145deg, rgba(6, 15, 27, 0.96), rgba(8, 24, 39, 0.95));
  backdrop-filter: blur(30px);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255,255,255,0.06);
  transform: translateY(18px) scale(0.985);
  transition: transform 0.34s cubic-bezier(0.2, 0.8, 0.2, 1);
  scrollbar-width: thin;
  scrollbar-color: rgba(118, 255, 194, 0.68) rgba(7, 18, 30, 0.42);
}

.nav-overlay-panel::-webkit-scrollbar {
  width: 14px;
}

.nav-overlay-panel::-webkit-scrollbar-track {
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(118, 255, 194, 0.34) 0 1.5px, transparent 1.7px) center top/10px 18px repeat-y,
    linear-gradient(180deg, rgba(7, 18, 30, 0.82), rgba(5, 12, 21, 0.72));
  box-shadow: inset 0 0 0 1px rgba(102, 170, 210, 0.08);
}

.nav-overlay-panel::-webkit-scrollbar-thumb {
  border-radius: 999px;
  border: 3px solid transparent;
  background:
    linear-gradient(180deg, rgba(255, 217, 61, 0.95), rgba(0, 212, 255, 0.88), rgba(118, 255, 194, 0.82)) padding-box,
    linear-gradient(180deg, rgba(255,255,255,0.26), rgba(255,255,255,0.02)) border-box;
  box-shadow:
    0 0 18px rgba(0, 212, 255, 0.22),
    inset 0 0 12px rgba(255, 255, 255, 0.08);
}

.nav-overlay-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(118, 196, 226, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(118, 196, 226, 0.045) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, black 56%, transparent 100%);
}

.nav-overlay-panel::after {
  content: "";
  position: fixed;
  top: 108px;
  right: 12px;
  width: 10px;
  height: calc(100dvh - 156px);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(118, 255, 194, 0.9) 0 1.5px, transparent 1.7px) center top/10px 20px repeat-y;
  opacity: 0.52;
  filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.28));
  animation: menuRailPulse 2.8s ease-in-out infinite;
  pointer-events: none;
}

.nav-overlay.is-open .nav-overlay-panel { transform: translateY(0) scale(1); }

.nav-overlay:target .nav-overlay-panel { transform: translateY(0) scale(1); }

.nav-overlay-top,
.nav-overlay-body,
.nav-overlay-hero,
.nav-overlay-quick,
.nav-overlay-grid,
.nav-overlay-main,
.nav-overlay-command,
.nav-search-wrap {
  position: relative;
  z-index: 1;
}

.nav-overlay-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  position: sticky;
  top: calc(clamp(1.2rem, 2.6vw, 2rem) * -1);
  margin: calc(clamp(1.2rem, 2.6vw, 2rem) * -1) calc(clamp(1.2rem, 2.6vw, 2rem) * -1) 1rem;
  padding: clamp(1.2rem, 2.6vw, 2rem) clamp(1.2rem, 2.6vw, 2rem) 1rem;
  background: linear-gradient(180deg, rgba(6, 15, 27, 0.99), rgba(6, 15, 27, 0.94), rgba(6, 15, 27, 0.2));
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(88, 149, 188, 0.08);
}

.nav-overlay-kicker {
  margin: 0 0 0.45rem;
  color: var(--aqua);
  font: 700 0.76rem/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.26em;
}

.nav-overlay-top h2 {
  margin: 0;
  color: #f4fbff;
  font: 700 clamp(1.7rem, 3vw, 2.6rem)/1 "Syncopate", sans-serif;
  overflow-wrap: anywhere;
}

.nav-overlay-body {
  display: grid;
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
  gap: 1rem;
  min-height: 0;
}

.nav-overlay-rail {
  display: grid;
  gap: 0.9rem;
  align-content: start;
  position: sticky;
  top: 0.35rem;
}

.nav-overlay-main {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 1rem;
  min-width: 0;
  align-content: start;
}

.nav-overlay-close {
  appearance: none;
  display: block;
  position: relative;
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  padding: 0;
  border-radius: 20px;
  border: 1px solid rgba(103, 173, 213, 0.28);
  background: linear-gradient(145deg, rgba(13, 29, 45, 0.88), rgba(7, 16, 28, 0.9));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 18px 34px rgba(0,0,0,0.24);
  cursor: pointer;
  text-decoration: none;
}

.nav-overlay-close span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 24px;
  height: 2px;
  background: #e8f7ff;
  border-radius: 999px;
}

.nav-overlay-close span:first-child { transform: translate(-50%, -50%) rotate(45deg); }
.nav-overlay-close span:last-child { transform: translate(-50%, -50%) rotate(-45deg); }

.nav-overlay-hero {
  display: grid;
  gap: 0.85rem;
}

.nav-overlay-copy {
  margin: 0;
  max-width: 30ch;
  color: #d8edf8;
  font: 500 clamp(0.98rem, 1.25vw, 1.08rem)/1.72 "IBM Plex Sans", sans-serif;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.nav-overlay-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.nav-overlay-stats article,
.menu-group {
  padding: 1.08rem 1.1rem;
  border-radius: 22px;
  border: 1px solid rgba(90, 152, 192, 0.16);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), transparent),
    linear-gradient(145deg, rgba(11, 25, 41, 0.64), rgba(8, 18, 31, 0.48));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.nav-overlay-stats strong {
  display: block;
  margin-bottom: 0.28rem;
  color: #f6fbff;
  font: 700 1.36rem/1 "Syncopate", sans-serif;
}

.nav-overlay-stats span {
  color: #9ec0d3;
  font: 600 0.72rem/1.4 "IBM Plex Mono", monospace;
  text-transform: uppercase;
}

.nav-overlay-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.nav-overlay-quick a {
  text-decoration: none;
  border-radius: 999px;
  padding: 0.74rem 0.95rem;
  border: 1px solid rgba(94, 156, 196, 0.24);
  background: linear-gradient(145deg, rgba(10, 25, 40, 0.82), rgba(8, 17, 29, 0.86));
  color: #def0fb;
  font: 700 0.84rem/1 "IBM Plex Sans", sans-serif;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, color 0.22s ease;
}

.nav-overlay-quick a:hover {
  transform: translateY(-2px);
  border-color: rgba(132, 220, 255, 0.48);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(0, 212, 255, 0.08);
}

.nav-overlay-command {
  padding: 1rem 1rem 1.05rem;
  border-radius: 22px;
  border: 1px solid rgba(90, 152, 192, 0.16);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), transparent),
    linear-gradient(145deg, rgba(11, 25, 41, 0.7), rgba(8, 18, 31, 0.52));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.nav-command-kicker {
  margin: 0 0 0.65rem;
  color: var(--mint);
  font: 700 0.72rem/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav-command-note {
  margin: 0.75rem 0 0;
  color: #9fc4d6;
  font-size: 0.8rem;
  line-height: 1.6;
}

.nav-command-note span {
  display: inline-grid;
  place-items: center;
  min-width: 1.8rem;
  padding: 0.15rem 0.35rem;
  border-radius: 999px;
  border: 1px solid rgba(101, 170, 209, 0.22);
  background: linear-gradient(145deg, rgba(10, 24, 39, 0.76), rgba(7, 15, 27, 0.82));
  color: #f3fbff;
  font: 700 0.72rem/1 "IBM Plex Mono", monospace;
}

.nav-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.nav-filter-chip {
  appearance: none;
  border: 1px solid rgba(90, 152, 192, 0.2);
  border-radius: 999px;
  padding: 0.7rem 0.9rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), transparent),
    linear-gradient(145deg, rgba(10, 23, 38, 0.84), rgba(7, 15, 27, 0.88));
  color: #dcedf7;
  font: 700 0.76rem/1 "IBM Plex Sans", sans-serif;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, color 0.22s ease;
}

.nav-filter-chip:hover,
.nav-filter-chip.is-active {
  transform: translateY(-1px);
  color: #ffffff;
  border-color: rgba(118, 255, 194, 0.34);
  box-shadow: 0 14px 26px rgba(0,0,0,0.18), 0 0 0 1px rgba(0, 212, 255, 0.08);
}

.nav-filter-chip.is-active {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), transparent),
    linear-gradient(135deg, rgba(0, 212, 255, 0.24), rgba(118, 255, 194, 0.14), rgba(255, 124, 88, 0.1));
}

.nav-overlay-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  min-height: 0;
  align-content: start;
}

.nav-overlay.is-open .nav-overlay-top,
.nav-overlay.is-open .nav-overlay-hero,
.nav-overlay.is-open .nav-overlay-quick,
.nav-overlay.is-open .nav-overlay-command,
.nav-overlay.is-open .mobile-menu-section {
  animation: overlayRise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.nav-overlay.is-open .nav-overlay-hero { animation-delay: 0.06s; }
.nav-overlay.is-open .nav-overlay-quick { animation-delay: 0.12s; }
.nav-overlay.is-open .nav-overlay-command { animation-delay: 0.18s; }
.nav-overlay.is-open .mobile-menu-section:nth-child(1) { animation-delay: 0.16s; }
.nav-overlay.is-open .mobile-menu-section:nth-child(2) { animation-delay: 0.22s; }
.nav-overlay.is-open .mobile-menu-section:nth-child(3) { animation-delay: 0.28s; }
.nav-overlay.is-open .mobile-menu-section:nth-child(4) { animation-delay: 0.34s; }
.nav-overlay.is-open .mobile-menu-section:nth-child(5) { animation-delay: 0.4s; }

.menu-group {
  position: relative;
  overflow: hidden;
}

.menu-group strong {
  display: block;
  margin-bottom: 0.45rem;
  color: #f0fbff;
  font: 700 0.88rem/1.2 "Syncopate", sans-serif;
}

.menu-group p {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.menu-links {
  display: grid;
  gap: 0.42rem;
}

.wide-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.54rem 0.8rem;
}

.menu-links a {
  color: #d5ecf9;
  font-size: 0.84rem;
  text-decoration: none;
}

.menu-links a:hover { color: var(--mint); }

.desktop-nav-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
}

.desktop-nav-cluster {
  display: flex;
  align-items: stretch;
  flex: none;
  width: 100%;
  min-width: 0;
  flex-wrap: nowrap;
  gap: 0.55rem;
  padding: 0.36rem;
  border-radius: 24px;
  border: 1px solid rgba(88, 151, 190, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(255, 124, 88, 0.12), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(0, 212, 255, 0.12), transparent 28%),
    linear-gradient(145deg, rgba(9, 20, 34, 0.86), rgba(7, 15, 27, 0.88));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 18px 42px rgba(0, 0, 0, 0.16);
}

.nav-group {
  position: relative;
  flex: 1 1 132px;
  min-width: 0;
}

.nav-group-trigger,
.nav-utility-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.48rem;
  text-decoration: none;
  border-radius: 16px;
  min-height: 52px;
  padding: 0.82rem 1rem;
  border: 1px solid rgba(84, 145, 184, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent),
    linear-gradient(145deg, rgba(10, 24, 39, 0.78), rgba(7, 16, 28, 0.84));
  color: #d9edf8;
  font: 700 0.82rem/1 "IBM Plex Sans", sans-serif;
  letter-spacing: 0.02em;
  cursor: pointer;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 12px 24px rgba(0, 0, 0, 0.14);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, color 0.22s ease, background 0.22s ease;
}

.nav-group-trigger {
  width: 100%;
}

.nav-utility-link {
  width: auto;
  min-width: max-content;
}

.nav-group-trigger:hover,
.nav-group.is-open .nav-group-trigger,
.nav-utility-link:hover {
  transform: translateY(-2px);
  color: #ffffff;
  border-color: rgba(133, 220, 255, 0.42);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24), 0 0 0 1px rgba(0, 212, 255, 0.08);
}

.nav-group.is-open .nav-group-trigger {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent),
    linear-gradient(145deg, rgba(16, 36, 54, 0.9), rgba(7, 17, 29, 0.88));
}

.nav-mega-panel {
  display: none !important;
}

.menu-panel-head {
  margin-bottom: 0.9rem;
}

.menu-panel-head strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #f2fbff;
  font: 700 0.94rem/1.2 "Syncopate", sans-serif;
}

.menu-panel-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.nav-panel-links {
  display: grid;
  gap: 0.45rem;
  max-height: min(60vh, 32rem);
  padding-right: 0.18rem;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(118, 255, 194, 0.32) transparent;
}

.nav-panel-links::-webkit-scrollbar {
  width: 8px;
}

.nav-panel-links::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.55), rgba(118, 255, 194, 0.35));
}

.nav-panel-link,
.mobile-menu-link {
  display: grid;
  gap: 0.24rem;
  min-width: 0;
  padding: 0.82rem 0.88rem;
  border-radius: 16px;
  text-decoration: none;
  border: 1px solid rgba(88, 149, 188, 0.12);
  background: linear-gradient(145deg, rgba(10, 22, 37, 0.74), rgba(8, 18, 31, 0.64));
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.nav-panel-link:hover,
.mobile-menu-link:hover {
  transform: translateY(-2px);
  border-color: rgba(118, 255, 194, 0.28);
  background: linear-gradient(145deg, rgba(12, 27, 43, 0.9), rgba(8, 19, 32, 0.82));
  box-shadow: 0 14px 28px rgba(0,0,0,0.18);
}

.nav-panel-link strong,
.mobile-menu-link strong {
  color: #edf8ff;
  font: 700 0.84rem/1.3 "IBM Plex Sans", sans-serif;
  overflow-wrap: anywhere;
}

.nav-panel-link span,
.menu-link-note {
  color: #9fbdcf;
  font-size: 0.77rem;
  line-height: 1.48;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.nav-utility {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: none;
  flex-wrap: nowrap;
  gap: 0.55rem;
  min-width: max-content;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.72rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(88, 149, 188, 0.18);
  background: linear-gradient(145deg, rgba(10, 22, 37, 0.72), rgba(8, 18, 31, 0.74));
  color: #9fc4d7;
  font: 700 0.68rem/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.16em;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 12px rgba(118,255,194,0.7);
  animation: statusPulse 2.2s ease-in-out infinite;
}

.nav-utility-accent {
  color: #fff3ed;
  border-color: rgba(255, 124, 88, 0.22);
  background: linear-gradient(135deg, rgba(255, 124, 88, 0.28), rgba(255, 217, 61, 0.18));
}

.nav-search-wrap {
  margin: 0;
}

.nav-search-input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #eef8ff;
  font: 500 0.96rem/1.2 "IBM Plex Sans", sans-serif;
  box-shadow: none;
}

.nav-search-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
  border: 1px solid rgba(92, 154, 194, 0.22);
  border-radius: 18px;
  padding: 0.9rem 1rem;
  background: linear-gradient(145deg, rgba(10, 23, 38, 0.84), rgba(7, 15, 27, 0.88));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.nav-search-input::placeholder {
  color: #7f9fb1;
}

.nav-search-shell:focus-within {
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: 0 0 0 1px rgba(0, 212, 255, 0.12);
}

.nav-search-input:focus {
  outline: none;
}

.nav-search-prefix {
  color: var(--aqua);
  font: 700 1rem/1 "IBM Plex Mono", monospace;
}

.nav-search-meta {
  display: grid;
  justify-items: end;
  gap: 0.1rem;
  color: #96b7ca;
}

.nav-search-meta strong {
  color: #f4fbff;
  font: 700 0.88rem/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.06em;
}

.nav-search-meta span {
  font: 500 0.66rem/1.2 "IBM Plex Mono", monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-overlay-grid-mobile {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  width: 100%;
}

.mobile-menu-section {
  position: relative;
  overflow: hidden;
  padding: 0.96rem 1rem 1.04rem;
  border-radius: 22px;
  border: 1px solid rgba(90, 152, 192, 0.16);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), transparent),
    linear-gradient(145deg, rgba(11, 25, 41, 0.64), rgba(8, 18, 31, 0.48));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.mobile-menu-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 212, 255, 0), rgba(0, 212, 255, 0.65), rgba(255, 124, 88, 0));
  opacity: 0.78;
}

.mobile-menu-section::after {
  content: "";
  position: absolute;
  inset: auto 1rem 1rem auto;
  width: 48px;
  height: 48px;
  border-right: 1px solid rgba(118, 255, 194, 0.18);
  border-bottom: 1px solid rgba(0, 212, 255, 0.16);
  border-radius: 0 0 18px 0;
  pointer-events: none;
}

.mobile-menu-section:hover {
  transform: translateY(-3px);
  border-color: rgba(118, 255, 194, 0.24);
  box-shadow: 0 18px 30px rgba(0,0,0,0.18), 0 0 0 1px rgba(0, 212, 255, 0.06);
}

.mobile-menu-section .menu-panel-head {
  display: grid;
  gap: 0.28rem;
  cursor: pointer;
  padding-right: 2.4rem;
  position: relative;
  user-select: none;
}

.menu-section-count {
  position: absolute;
  right: 2.9rem;
  top: 0.08rem;
  display: inline-grid;
  place-items: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(101, 170, 209, 0.18);
  background: linear-gradient(145deg, rgba(10, 24, 39, 0.66), rgba(7, 15, 27, 0.78));
  color: #cfeeff;
  font: 700 0.68rem/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.08em;
}

.mobile-menu-section .menu-panel-head::after {
  content: "\25BE";
  position: absolute;
  right: 0.1rem;
  top: 0.1rem;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--mint);
  border: 1px solid rgba(101, 170, 209, 0.22);
  background: linear-gradient(145deg, rgba(10, 24, 39, 0.76), rgba(7, 15, 27, 0.82));
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.mobile-menu-section.is-open .menu-panel-head::after {
  transform: rotate(180deg);
  border-color: rgba(118, 255, 194, 0.34);
  box-shadow: 0 0 0 1px rgba(0, 212, 255, 0.08);
}

.mobile-menu-links {
  display: grid;
  gap: 0.5rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-8px);
  transition: max-height 0.28s ease, opacity 0.24s ease, transform 0.24s ease, margin-top 0.24s ease;
}

.mobile-menu-section.is-open .mobile-menu-links {
  margin-top: 0.85rem;
  max-height: 1600px;
  opacity: 1;
  transform: translateY(0);
}

.nav-mobile-empty {
  display: none;
  margin: 1rem 0 0;
  color: #95b7c8;
  font-size: 0.9rem;
}

.nav-mobile-empty.is-visible {
  display: block;
}

.page {
  position: relative;
  overflow: hidden;
  padding: 0.6rem 0 2.4rem;
}

.page::before,
.page::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.22;
}

.page::before {
  width: 28vw;
  height: 28vw;
  top: 6vw;
  right: -8vw;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.5), transparent 70%);
}

.page::after {
  width: 26vw;
  height: 26vw;
  bottom: -10vw;
  left: -8vw;
  background: radial-gradient(circle, rgba(255, 124, 88, 0.34), transparent 68%);
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 1.2rem;
  align-items: stretch;
}

.hero-copy,
.art-frame,
.section-panel,
.detail-card,
.route-link-card,
.lab-note,
.equation-card,
.system-ledger article {
  position: relative;
  overflow: hidden;
}

.hero-copy {
  padding: 0.45rem 0.2rem 0.25rem 0;
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--aqua);
  font: 700 0.72rem/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.18em;
}

h1 {
  margin: 0;
  max-width: min(11.5ch, 100%);
  font: 700 clamp(1.92rem, 4.55vw, 3.72rem)/0.94 "Syncopate", sans-serif;
  letter-spacing: 0.02em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

h2 {
  margin: 0;
  font: 700 clamp(1.38rem, 2.4vw, 2.08rem)/1.06 "Syncopate", sans-serif;
  letter-spacing: 0.04em;
}

.route-brand-animation {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
}

.route-brand-word {
  font: 700 clamp(0.94rem, 2vw, 1.38rem)/1 "Syncopate", sans-serif;
  letter-spacing: 0.08em;
  opacity: 0;
}

.route-brand-word-left {
  animation: routeSlideLeft 1s ease forwards 0.05s;
}

.route-brand-word-right {
  background: linear-gradient(90deg, var(--mint), var(--aqua), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: routeSlideRight 1s ease forwards 0.12s;
}

.route-brand-mark {
  width: 54px;
  height: 54px;
}

.route-mark-outline,
.route-mark-spokes,
.route-mark-core,
.route-mark-orbit {
  stroke: url(#route-gradient);
  fill: none;
}

.route-mark-outline {
  stroke-width: 2;
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
  animation: routeDraw 1.3s ease forwards 0.16s;
}

.route-mark-spokes {
  stroke-width: 1.4;
  opacity: 0.72;
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation: routeDraw 1.2s ease forwards 0.48s;
}

.route-mark-core {
  fill: url(#route-gradient);
  stroke-width: 1;
  opacity: 0;
  animation: routeCorePop 0.45s ease forwards 0.82s;
}

.route-mark-orbit {
  stroke-width: 1;
  opacity: 0;
  transform-origin: center;
  animation: routeOrbitReveal 0.8s ease forwards 0.76s, routeSpin 13s linear infinite 1.4s;
}

.summary {
  margin: 0.92rem 0 0;
  color: #dcecf6;
  font-size: 1.08rem;
  line-height: 1.72;
  max-width: 26ch;
  text-wrap: pretty;
}

.body-copy {
  margin: 1rem 0 0;
  color: #bfd4e2;
  line-height: 1.82;
  max-width: 62ch;
  text-wrap: pretty;
}

.signal-word {
  --signal-color: var(--aqua);
  position: relative;
  display: inline-block;
  color: #f5fbff;
  font-weight: 600;
  text-shadow:
    0 0 10px color-mix(in srgb, var(--signal-color) 40%, transparent),
    0 0 22px color-mix(in srgb, var(--signal-color) 18%, transparent);
  animation: signalWord 5.4s ease-in-out infinite;
}

.signal-word::after {
  content: "";
  position: absolute;
  left: -0.08em;
  right: -0.08em;
  bottom: 0.02em;
  height: 0.56em;
  border-radius: 999px;
  background: radial-gradient(circle, color-mix(in srgb, var(--signal-color) 28%, transparent), transparent 72%);
  filter: blur(10px);
  opacity: 0.9;
  pointer-events: none;
}

.signal-word.mint { --signal-color: var(--mint); }
.signal-word.blue { --signal-color: var(--blue); }
.signal-word.lime { --signal-color: #d7ff62; }
.signal-word.orange { --signal-color: var(--orange); }
.signal-word.gold { --signal-color: var(--gold); }

.badge-row,
.hero-actions,
.signal-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.badge-row { margin-top: 1rem; }

.badge-row span,
.signal-chip {
  appearance: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.42rem 0.72rem;
  border: 1px solid rgba(97, 148, 185, 0.36);
  background: rgba(11, 29, 44, 0.7);
  color: #c5dced;
  font-size: 0.76rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, color 0.22s ease;
}

.signal-chip:nth-child(2n) {
  color: #eafdf4;
  border-color: rgba(118, 255, 194, 0.34);
}

.signal-chip:nth-child(3n) {
  color: #fff1eb;
  border-color: rgba(255, 124, 88, 0.28);
}

.signal-chip:hover,
.signal-chip:focus-visible,
.signal-chip.is-open {
  transform: translateY(-1px);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(0, 212, 255, 0.08);
  z-index: 18;
}

.signal-chip-popover {
  position: absolute;
  left: 0;
  top: auto;
  bottom: calc(100% + 0.82rem);
  width: min(320px, calc(100vw - 3rem));
  padding: 0.82rem 0.9rem 0.9rem;
  border-radius: 18px;
  border: 1px solid rgba(102, 170, 210, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent),
    linear-gradient(145deg, rgba(8, 22, 36, 0.96), rgba(6, 15, 27, 0.98));
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(0, 212, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px) scale(0.98);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 40;
  text-align: left;
}

.signal-chip-popover strong {
  display: block;
  margin-bottom: 0.38rem;
  color: #f3fbff;
  font: 700 0.76rem/1.3 "Syncopate", sans-serif;
}

.signal-chip-popover span {
  display: block;
  color: #b8d4e4;
  font: 500 0.8rem/1.65 "IBM Plex Sans", sans-serif;
  text-transform: none;
}

.signal-chip:hover .signal-chip-popover,
.signal-chip:focus-visible .signal-chip-popover,
.signal-chip.is-open .signal-chip-popover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.hero-actions {
  margin-top: 1rem;
}

.btn.primary {
  color: #031117;
  border-color: rgba(0, 212, 255, 0.18);
  background: linear-gradient(135deg, var(--aqua), var(--mint));
}

.btn.accent {
  color: #111;
  border-color: rgba(255, 217, 61, 0.18);
  background: linear-gradient(135deg, var(--gold), var(--orange));
}

.path-note {
  margin: 0.75rem 0 0;
  color: #86a9bf;
  font: 0.78rem/1.55 "IBM Plex Mono", monospace;
}

.metric-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.metric-grid article,
.system-ledger article,
.lab-note,
.equation-card,
.detail-card,
.route-link-card,
.section-panel,
.cta-panel {
  border-radius: 24px;
  border: 1px solid rgba(84, 145, 184, 0.18);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), transparent),
    linear-gradient(145deg, rgba(8, 18, 31, 0.82), rgba(9, 24, 39, 0.64));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 18px 38px rgba(0,0,0,0.18);
}

.metric-grid article {
  padding: 0.8rem 0.9rem;
}

.metric-grid strong {
  display: block;
  color: #f5fdff;
  font: 800 1.05rem/1 "Orbitron", sans-serif;
}

.metric-grid span {
  display: block;
  margin-top: 0.28rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.hero-art { min-height: 580px; }

.art-frame {
  height: 100%;
  min-height: 580px;
  border-radius: 30px;
  border: 1px solid rgba(72, 132, 175, 0.24);
  background:
    radial-gradient(circle at 50% 40%, rgba(20, 76, 142, 0.3), rgba(9, 19, 32, 0.88)),
    linear-gradient(145deg, rgba(8, 20, 34, 0.98), rgba(10, 30, 46, 0.88));
  box-shadow: var(--shadow);
  --art-rail-top: 82px;
  --art-rail-gap: 18px;
}

.art-image,
.art-overlay {
  position: absolute;
  inset: 0;
}

.art-image {
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: slowZoom 18s ease-in-out infinite alternate;
}

.art-overlay {
  background:
    linear-gradient(180deg, rgba(5, 11, 19, 0.14), rgba(5, 11, 19, 0.9)),
    radial-gradient(circle at 50% 45%, rgba(0, 212, 255, 0.12), transparent 35%),
    radial-gradient(circle at 18% 80%, rgba(255, 124, 88, 0.1), transparent 24%);
}

.hero-visual-stack {
  position: absolute;
  top: var(--art-rail-top);
  right: var(--art-rail-gap);
  bottom: var(--art-rail-gap);
  left: var(--art-rail-gap);
  z-index: 1;
  display: grid;
  gap: 0.85rem;
  align-content: start;
  grid-template-rows: minmax(300px, 1fr) auto;
  padding: 0;
}

.hero-visual-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(96, 154, 188, 0.2);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), transparent),
    linear-gradient(145deg, rgba(8, 19, 31, 0.82), rgba(7, 16, 28, 0.74));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 20px 38px rgba(0,0,0,0.2);
  --panel-rx: 0deg;
  --panel-ry: 0deg;
  --panel-shift: 0px;
  --svg-x: 0px;
  --svg-y: 0px;
  --svg-scale: 1;
  transform: perspective(1200px) rotateX(var(--panel-rx)) rotateY(var(--panel-ry)) translateY(var(--panel-shift));
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.hero-visual-primary {
  min-height: 312px;
  display: grid;
  place-items: center;
}

.hero-visual-primary svg,
.hero-visual-card svg {
  width: 100%;
  height: auto;
  transform: translate3d(var(--svg-x), var(--svg-y), 0) scale(var(--svg-scale));
  transition: transform 0.28s ease;
  filter: drop-shadow(0 0 18px rgba(0, 212, 255, 0.08));
  animation: routeDiagramFloat 14s ease-in-out infinite;
}

.hero-visual-row {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(220px, 0.86fr);
  gap: 0.85rem;
}

.hero-visual-chipboard {
  display: grid;
  align-content: start;
  gap: 0.46rem;
  padding: 1rem 1rem 1.08rem;
}

.hero-visual-chipboard span {
  color: #ffb287;
  font: 700 0.68rem/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-visual-chipboard strong {
  color: #f5fbff;
  font: 700 1rem/1.18 "Orbitron", sans-serif;
}

.hero-visual-chipboard p {
  margin: 0;
  color: #bcd4e3;
  font-size: 0.82rem;
  line-height: 1.64;
}

.art-panel {
  position: absolute;
  z-index: 3;
  padding: 0.88rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(86, 139, 175, 0.3);
  background: linear-gradient(145deg, rgba(7, 18, 31, 0.86), rgba(10, 31, 47, 0.68));
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.28);
}

.art-panel.top { top: 18px; right: 18px; }
.art-panel.bottom { top: 18px; left: 18px; bottom: auto; }
.art-panel span {
  display: block;
  color: var(--aqua);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  font-weight: 800;
}
.art-panel strong {
  display: block;
  margin-top: 0.42rem;
  font: 700 0.95rem/1.2 "Orbitron", sans-serif;
}

.section-panel {
  margin-top: 1.08rem;
  padding: 1.2rem;
}

.section-head {
  margin-bottom: 1rem;
}

.science-panel {
  padding-top: 1.4rem;
  overflow: visible;
}

.science-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 1rem;
  align-items: center;
}

.deep-dive-panel .deep-copy {
  display: grid;
  gap: 0.4rem;
}

.deep-dive-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  gap: 1rem;
  align-items: start;
}

.deep-dive-panel .body-copy {
  max-width: 62ch;
}

.deep-side-visual {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.science-copy-wrap,
.signal-strip {
  overflow: visible;
}

.science-copy-wrap {
  position: relative;
  z-index: 3;
}

.signal-strip {
  position: relative;
  z-index: 6;
  isolation: isolate;
}

.science-visual {
  border-radius: 26px;
  border: 1px solid rgba(77, 143, 182, 0.24);
  background:
    radial-gradient(circle at 50% 40%, rgba(0, 212, 255, 0.09), transparent 42%),
    radial-gradient(circle at 82% 18%, rgba(255, 124, 88, 0.08), transparent 22%),
    linear-gradient(145deg, rgba(7, 19, 31, 0.96), rgba(9, 29, 45, 0.88));
  padding: 1rem;
  overflow: hidden;
  --panel-rx: 0deg;
  --panel-ry: 0deg;
  --panel-shift: 0px;
  --svg-x: 0px;
  --svg-y: 0px;
  --svg-scale: 1;
  transform: perspective(1200px) rotateX(var(--panel-rx)) rotateY(var(--panel-ry)) translateY(var(--panel-shift));
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.science-visual-stack {
  position: relative;
  isolation: isolate;
}

.science-visual-stack::before,
.science-visual-stack::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 22px;
}

.science-visual-stack::before {
  z-index: 0;
  background:
    linear-gradient(100deg, transparent 0%, rgba(0, 212, 255, 0.08) 36%, rgba(255, 176, 120, 0.12) 50%, rgba(118, 255, 194, 0.08) 64%, transparent 100%);
  transform: translateX(-120%);
  animation: diagramSweep 10.5s linear infinite;
  mix-blend-mode: screen;
}

.science-visual-stack::after {
  z-index: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 165, 104, 0.28) 1px, transparent 0);
  background-size: 18px 18px;
  opacity: 0.08;
  animation: diagramGridPulse 12s ease-in-out infinite;
}

.science-copy-wrap {
  display: grid;
  gap: 0.95rem;
}

.science-svg {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
  transform: translate3d(var(--svg-x), var(--svg-y), 0) scale(var(--svg-scale));
  transition: transform 0.22s ease;
}

.route-signature-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  opacity: 0.92;
  mix-blend-mode: screen;
}

.science-visual:hover {
  border-color: rgba(118, 255, 194, 0.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 24px 46px rgba(0,0,0,0.24);
}

.science-svg text {
  fill: #ffb287;
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.08em;
  paint-order: stroke fill;
  stroke: rgba(17, 22, 30, 0.72);
  stroke-width: 1.4px;
}

.science-label { font-size: 16px; font-weight: 700; fill: #ffc89f; }
.science-copy { font-size: 11px; fill: #ff986a; }
.science-frame,
.science-frame-fill {
  fill: rgba(7, 22, 36, 0.78);
  stroke: rgba(0, 212, 255, 0.42);
  stroke-width: 2;
}

.science-wire {
  fill: none;
  stroke: rgba(105, 192, 236, 0.48);
  stroke-width: 2;
  stroke-dasharray: 8 9;
  animation: scienceDash 10s linear infinite;
}

.science-node {
  fill: rgba(9, 20, 35, 0.96);
  stroke: rgba(0, 212, 255, 0.82);
  stroke-width: 2;
}

.science-halo {
  fill: rgba(0, 212, 255, 0.12);
  stroke: rgba(0, 212, 255, 0.18);
  stroke-width: 1;
}

.science-pulse {
  animation: sciencePulse 4.4s ease-in-out infinite;
}

.system-ledger,
.lab-grid,
.equation-grid,
.detail-grid,
.conversion-grid,
.source-grid,
.route-link-grid {
  display: grid;
  gap: 0.82rem;
}

.system-ledger article,
.lab-note,
.equation-card,
.detail-card,
.conversion-card,
.source-card,
.route-link-card {
  padding: 0.95rem 1rem;
}

.system-ledger article {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 0.8rem;
  align-items: start;
}

.system-ledger span {
  color: var(--gold);
  font: 800 0.88rem/1 "Orbitron", sans-serif;
}

.system-ledger p,
.lab-note p,
.equation-card p,
.detail-card p,
.conversion-card p,
.source-card p,
.route-link-card p {
  margin: 0;
  color: #bfd4e2;
  line-height: 1.62;
  max-width: 62ch;
  text-wrap: pretty;
}

@keyframes menuRailPulse {
  0%, 100% {
    opacity: 0.38;
    transform: translateY(0);
  }
  50% {
    opacity: 0.82;
    transform: translateY(-4px);
  }
}

.lab-grid,
.equation-grid,
.detail-grid,
.conversion-grid,
.source-grid,
.route-link-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lab-note h3,
.detail-card h3,
.conversion-card h3,
.source-card h3,
.route-link-card strong {
  display: block;
  margin: 0 0 0.55rem;
  font: 700 0.92rem/1.22 "Syncopate", sans-serif;
}

.paper-conversion-panel,
.conversion-card {
  --panel-rx: 0deg;
  --panel-ry: 0deg;
  --panel-shift: 0px;
  --svg-x: 0px;
  --svg-y: 0px;
  --svg-scale: 1;
}

.paper-conversion-panel {
  position: relative;
  overflow: hidden;
}

.conversion-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(92, 154, 191, 0.16);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), transparent),
    linear-gradient(160deg, rgba(9, 22, 37, 0.88), rgba(7, 18, 32, 0.82));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
  transform: perspective(1200px) rotateX(var(--panel-rx, 0deg)) rotateY(var(--panel-ry, 0deg)) translateY(var(--panel-shift, 0px));
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.conversion-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(130deg, rgba(0, 212, 255, 0.08), transparent 34%, transparent 66%, rgba(255, 124, 88, 0.08));
  opacity: 0.7;
}

.conversion-card:hover {
  border-color: rgba(118, 255, 194, 0.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 20px 42px rgba(0,0,0,0.2);
}

.conversion-label {
  display: inline-block;
  margin-bottom: 0.55rem;
  color: var(--mint);
  font: 700 0.72rem/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.conversion-card .equation-block {
  margin-top: 0.8rem;
}

.source-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.source-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.source-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(92, 154, 191, 0.16);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 212, 255, 0.08), transparent 30%),
    radial-gradient(circle at 0% 100%, rgba(255, 124, 88, 0.08), transparent 34%),
    linear-gradient(160deg, rgba(9, 22, 37, 0.88), rgba(7, 18, 32, 0.8));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.source-visual-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 0.9rem;
  margin-top: 0.95rem;
  align-items: stretch;
}

.source-visual-row-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.source-visual-card {
  position: relative;
  overflow: hidden;
  padding: 0.95rem;
  border-radius: 22px;
  border: 1px solid rgba(92, 154, 191, 0.16);
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 212, 255, 0.08), transparent 30%),
    radial-gradient(circle at 0% 100%, rgba(255, 124, 88, 0.08), transparent 34%),
    linear-gradient(160deg, rgba(9, 22, 37, 0.88), rgba(7, 18, 32, 0.82));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.source-visual-card-copy {
  display: grid;
  align-content: start;
  gap: 0.65rem;
}

.source-visual-card-copy h3 {
  margin: 0;
  font: 700 1rem/1.25 "Syncopate", sans-serif;
}

.source-visual-card-copy p {
  margin: 0;
  color: #bfd4e2;
  line-height: 1.65;
  max-width: 58ch;
  text-wrap: pretty;
}

.route-inline-diagram {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 18px rgba(0, 212, 255, 0.08));
  animation: routeDiagramFloat 12s ease-in-out infinite;
}

.constillation-diagram {
  filter: drop-shadow(0 0 18px rgba(0, 212, 255, 0.08));
  animation: routeDiagramFloat 15s ease-in-out infinite;
}

.hero-visual-card svg .science-wire,
.route-inline-diagram .science-wire,
.constillation-diagram .science-wire,
.science-svg .science-wire {
  stroke-dasharray: 10 12;
  animation: routeWireFlow 9.4s linear infinite;
}

.hero-visual-card svg .science-frame-fill,
.route-inline-diagram .science-frame-fill,
.constillation-diagram .science-frame-fill {
  animation: routeNodePulse 5.1s ease-in-out infinite;
}

.hero-visual-card svg .science-node,
.route-inline-diagram .science-node,
.constillation-diagram .science-node {
  animation: routeNodeCorePulse 4.6s ease-in-out infinite;
}

.hero-visual-card svg text,
.route-inline-diagram text,
.constillation-diagram text {
  animation: routeTextGlow 6.2s ease-in-out infinite;
}

.research-overview-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 1rem;
  align-items: stretch;
}

.research-brief {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.research-kpi-ribbon,
.research-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.research-kpi-ribbon span,
.research-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.68rem 0.92rem;
  border-radius: 999px;
  border: 1px solid rgba(94, 156, 196, 0.2);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), transparent),
    linear-gradient(145deg, rgba(10, 23, 38, 0.86), rgba(7, 16, 28, 0.88));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
  color: #e4f4fd;
  font: 700 0.76rem/1.2 "IBM Plex Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.research-kpi-ribbon span a,
.research-chip {
  color: inherit;
  text-decoration: none;
}

.research-overview-visual {
  display: grid;
  place-items: center;
}

.research-cluster {
  position: relative;
  overflow: hidden;
  padding: 1rem;
  border-radius: 24px;
  border: 1px solid rgba(92, 154, 191, 0.16);
  background:
    radial-gradient(circle at 0% 100%, rgba(0, 212, 255, 0.08), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(255, 124, 88, 0.08), transparent 30%),
    linear-gradient(160deg, rgba(9, 22, 37, 0.9), rgba(7, 18, 32, 0.82));
}

.atlas-link-grid,
.research-track-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.atlas-link,
.research-track {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 0.42rem;
  padding: 0.92rem 0.98rem;
  border-radius: 20px;
  border: 1px solid rgba(92, 154, 191, 0.16);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), transparent),
    linear-gradient(145deg, rgba(10, 24, 39, 0.82), rgba(7, 18, 32, 0.86));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
  text-decoration: none;
}

.atlas-link::before,
.research-track::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(130deg, rgba(0, 212, 255, 0.08), transparent 36%, transparent 68%, rgba(255, 124, 88, 0.08));
  opacity: 0.85;
}

.atlas-link strong,
.research-track h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #f4fbff;
  font: 700 0.92rem/1.24 "Syncopate", sans-serif;
}

.atlas-link span,
.research-track p,
.research-track ol {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #c1d7e6;
  font-size: 0.92rem;
  line-height: 1.6;
  text-wrap: pretty;
}

.research-track ol {
  padding-left: 1.1rem;
  display: grid;
  gap: 0.45rem;
}

.research-track a {
  color: #ebf9ff;
  text-decoration: none;
}

.atlas-link:hover,
.research-chip:hover {
  border-color: rgba(118, 255, 194, 0.3);
  box-shadow: 0 18px 34px rgba(0,0,0,0.18), 0 0 0 1px rgba(0, 212, 255, 0.08);
}

.research-track a:hover,
.atlas-link:hover strong {
  color: var(--mint);
}

.code-window {
  padding: 0;
}

.code-window-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.9rem 1rem 0.82rem;
  border-bottom: 1px solid rgba(99, 158, 190, 0.16);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), transparent),
    linear-gradient(145deg, rgba(12, 24, 38, 0.96), rgba(10, 18, 30, 0.84));
}

.code-window-head span {
  color: #ffb287;
  font: 700 0.72rem/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.code-window-head strong {
  color: #f5fbff;
  font: 700 0.88rem/1.2 "Syncopate", sans-serif;
}

.code-window pre {
  margin: 0;
  padding: 1rem 1rem 1.08rem;
  overflow: auto;
  color: #ffd1b2;
  font: 500 0.76rem/1.72 "IBM Plex Mono", monospace;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 124, 88, 0.08), transparent 30%),
    linear-gradient(160deg, rgba(4, 12, 20, 0.96), rgba(6, 14, 24, 0.92));
}

.sim-canvas-shell {
  padding: 0.95rem;
}

.fusion-sim-canvas,
.fusion-cross-canvas {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  border: 1px solid rgba(90, 152, 192, 0.18);
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.08), transparent 42%),
    linear-gradient(145deg, rgba(5, 11, 20, 0.96), rgba(8, 18, 31, 0.94));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 18px 36px rgba(0,0,0,0.22);
}

.constillation-sim-canvas,
.constillation-field-canvas,
.constillation-memory-canvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  border: 1px solid rgba(96, 154, 188, 0.22);
  background:
    radial-gradient(circle at 16% 18%, rgba(0, 212, 255, 0.13), transparent 28%),
    radial-gradient(circle at 84% 16%, rgba(255, 124, 88, 0.1), transparent 24%),
    radial-gradient(circle at 62% 78%, rgba(118, 255, 194, 0.08), transparent 28%),
    linear-gradient(145deg, rgba(5, 11, 20, 0.98), rgba(8, 18, 31, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 22px 40px rgba(0,0,0,0.24),
    0 0 0 1px rgba(255,255,255,0.015);
}

.constillation-memory-canvas {
  aspect-ratio: 16 / 9;
}

.fusion-figure {
  display: grid;
  gap: 0.8rem;
}

.fusion-figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(90, 152, 192, 0.18);
  box-shadow: 0 18px 34px rgba(0,0,0,0.24);
}

.source-caption {
  margin: 0.7rem 0 0;
  color: #9fbdcf;
  font-size: 0.78rem;
  line-height: 1.6;
}

.constillation-diagram {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  margin-bottom: 0.8rem;
  border-radius: 20px;
  border: 1px solid rgba(90, 152, 192, 0.18);
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.08), transparent 42%),
    radial-gradient(circle at 100% 0%, rgba(255, 124, 88, 0.08), transparent 32%),
    linear-gradient(145deg, rgba(5, 11, 20, 0.96), rgba(8, 18, 31, 0.94));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 18px 36px rgba(0,0,0,0.22);
}

.fusion-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.fusion-strip article {
  padding: 0.9rem 0.95rem;
  border-radius: 18px;
  border: 1px solid rgba(84, 145, 184, 0.18);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), transparent),
    linear-gradient(145deg, rgba(8, 18, 31, 0.78), rgba(9, 24, 39, 0.62));
}

.fusion-strip span {
  display: block;
  margin-bottom: 0.35rem;
  color: #87c6df;
  font: 600 0.72rem/1.3 "IBM Plex Mono", monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fusion-strip strong {
  display: block;
  color: #f4fbff;
  font: 700 1rem/1.25 "Orbitron", sans-serif;
}

.fusion-strip p {
  margin: 0.45rem 0 0;
  color: #a8c6d8;
  font-size: 0.82rem;
  line-height: 1.62;
}

.source-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 212, 255, 0), rgba(0, 212, 255, 0.7), rgba(255, 124, 88, 0));
  opacity: 0.75;
}

.source-list {
  margin: 0;
  padding-left: 1.05rem;
  color: #bfd4e2;
  line-height: 1.7;
}

.source-list li + li {
  margin-top: 0.38rem;
}

.source-list strong {
  color: #effbff;
}

.computation-grid,
.benchmark-board,
.family-grid {
  display: grid;
  gap: 0.85rem;
}

.computation-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.compute-chip,
.family-card,
.benchmark-board {
  border-radius: 20px;
  border: 1px solid rgba(92, 154, 191, 0.16);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), transparent),
    linear-gradient(160deg, rgba(9, 22, 37, 0.88), rgba(7, 18, 32, 0.8));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.compute-chip,
.family-card {
  padding: 1rem;
}

.compute-chip strong,
.family-card strong {
  display: block;
  margin-bottom: 0.22rem;
  color: #f4fbff;
  font: 700 1.02rem/1.1 "Orbitron", sans-serif;
}

.compute-chip span,
.family-card span {
  color: var(--aqua);
  font: 700 0.74rem/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.compute-chip p,
.family-card p {
  margin: 0.7rem 0 0;
  color: #bfd4e2;
  line-height: 1.65;
}

.family-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.family-card.featured {
  border-color: rgba(255, 217, 61, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 18px 34px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(255, 217, 61, 0.08);
}

.benchmark-board {
  padding: 1rem;
}

.benchmark-board h3 {
  margin: 0 0 0.32rem;
  font: 700 0.98rem/1.2 "Syncopate", sans-serif;
}

.benchmark-board > p {
  margin: 0 0 1rem;
  color: #a9c5d6;
  line-height: 1.68;
}

.benchmark-list {
  display: grid;
  gap: 0.7rem;
}

.benchmark-row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) 54px;
  gap: 0.8rem;
  align-items: center;
}

.benchmark-label {
  color: #e8f7ff;
  font: 600 0.78rem/1.2 "IBM Plex Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.benchmark-track {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 6px;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  padding: 1px;
  background: rgba(7, 17, 29, 0.84);
  border: 1px solid rgba(88, 149, 188, 0.18);
}

.benchmark-bar {
  position: relative;
  display: block;
  width: calc(var(--score, 0) * 1%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(0, 212, 255, 0.9), rgba(118, 255, 194, 0.84));
  box-shadow: 0 0 16px rgba(0, 212, 255, 0.24);
}

.benchmark-bar.xtq2 {
  background: linear-gradient(90deg, rgba(0, 102, 255, 0.92), rgba(0, 212, 255, 0.86));
}

.benchmark-bar.xtq3 {
  background: linear-gradient(90deg, rgba(255, 217, 61, 0.92), rgba(255, 124, 88, 0.86));
}

.benchmark-bar.q3mini {
  background: linear-gradient(90deg, rgba(118, 255, 194, 0.9), rgba(0, 212, 255, 0.84));
}

.benchmark-bar.reference {
  background: linear-gradient(90deg, rgba(96, 126, 148, 0.9), rgba(150, 170, 184, 0.84));
  box-shadow: none;
  opacity: 0.74;
}

.benchmark-value {
  justify-self: end;
  color: #f1fbff;
  font: 700 0.82rem/1 "Orbitron", sans-serif;
}

.benchmark-note {
  margin: 0.95rem 0 0;
  color: #9ab4c8;
  font-size: 0.8rem;
  line-height: 1.68;
  max-width: 74ch;
}

.benchmark-cluster-grid,
.speed-grid,
.lattice-stat-grid,
.code-compare-grid,
.advantage-grid {
  display: grid;
  gap: 0.85rem;
}

.benchmark-cluster-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.benchmark-cluster-card,
.speed-card,
.lattice-stat-card {
  border-radius: 20px;
  border: 1px solid rgba(92, 154, 191, 0.16);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), transparent),
    linear-gradient(160deg, rgba(9, 22, 37, 0.88), rgba(7, 18, 32, 0.8));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.benchmark-cluster-card,
.speed-card,
.lattice-stat-card {
  padding: 1rem;
}

.benchmark-cluster-card.featured,
.speed-card.fastest {
  border-color: rgba(255, 217, 61, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 18px 34px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(255, 217, 61, 0.08);
}

.benchmark-card-head,
.speed-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 0.8rem;
  margin-bottom: 0.8rem;
}

.benchmark-card-head strong,
.speed-card-top strong {
  color: #f5fbff;
  font: 700 0.98rem/1.2 "Syncopate", sans-serif;
}

.benchmark-card-head span,
.speed-chip,
.lattice-stat-card span {
  color: #87c6df;
  font: 600 0.72rem/1.3 "IBM Plex Mono", monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.benchmark-score-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.benchmark-score-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.2rem 0.85rem;
  align-items: center;
  padding: 0.78rem 0.84rem;
  border-radius: 16px;
  border: 1px solid rgba(88, 149, 188, 0.14);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), transparent),
    linear-gradient(145deg, rgba(8, 18, 31, 0.76), rgba(9, 24, 39, 0.64));
}

.benchmark-score-list li.is-highlight {
  border-color: rgba(255, 217, 61, 0.24);
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 124, 88, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,0.04), transparent),
    linear-gradient(145deg, rgba(11, 24, 38, 0.84), rgba(10, 18, 30, 0.72));
}

.benchmark-score-model {
  color: #eef8ff;
  font: 700 0.82rem/1.25 "Syncopate", sans-serif;
}

.benchmark-score-list strong {
  color: #ffd2af;
  font: 800 1rem/1 "Orbitron", sans-serif;
}

.benchmark-score-list em {
  grid-column: 1 / 2;
  color: #9fc0d3;
  font-style: normal;
  font-size: 0.76rem;
  line-height: 1.55;
}

.benchmark-score-note {
  margin: 0.92rem 0 0;
  color: #a8c6d8;
  font-size: 0.82rem;
  line-height: 1.7;
}

.speed-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.speed-score {
  display: flex;
  align-items: flex-end;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
}

.speed-score strong {
  color: #ffd7b6;
  font: 800 clamp(1.8rem, 3vw, 2.5rem)/0.9 "Orbitron", sans-serif;
}

.speed-score span {
  color: #a4c6d9;
  font: 600 0.84rem/1.4 "IBM Plex Mono", monospace;
}

.speed-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.62rem;
}

.speed-metric {
  padding: 0.72rem 0.76rem;
  border-radius: 14px;
  border: 1px solid rgba(88, 149, 188, 0.12);
  background: rgba(7, 17, 29, 0.56);
}

.speed-metric span {
  display: block;
  margin-bottom: 0.28rem;
  color: #82bfd7;
  font: 600 0.68rem/1.2 "IBM Plex Mono", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.speed-metric strong {
  color: #f4fbff;
  font: 700 0.92rem/1.2 "Orbitron", sans-serif;
}

.advantage-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: start;
}

.advantage-points {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  counter-reset: advantage;
  display: grid;
  gap: 0.72rem;
}

.advantage-points li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
  color: #bfd4e2;
  line-height: 1.66;
}

.advantage-points li::before {
  counter-increment: advantage;
  content: counter(advantage);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  color: #0a1119;
  background: linear-gradient(135deg, #ffd93d, #ff9a63);
  font: 800 0.8rem/1 "Orbitron", sans-serif;
}

.code-compare-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lattice-stat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lattice-stat-card strong {
  display: block;
  margin: 0.28rem 0 0.24rem;
  color: #ffd8b8;
  font: 800 1.26rem/1.08 "Orbitron", sans-serif;
}

.lattice-stat-card p {
  margin: 0;
  color: #b8d0df;
  line-height: 1.64;
}

.lattice-stage {
  position: relative;
  overflow: hidden;
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(94, 156, 196, 0.2);
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.1), transparent 44%),
    linear-gradient(160deg, rgba(9, 22, 37, 0.92), rgba(7, 18, 32, 0.86));
}

.lattice-stage svg {
  display: block;
  width: 100%;
  height: auto;
}

.lattice-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
  margin-top: 0.85rem;
}

.lattice-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: #b7d1df;
  font: 600 0.76rem/1.2 "IBM Plex Mono", monospace;
}

.lattice-legend i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.stack-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 0 0 1rem;
}

.stack-ribbon a,
.stack-ribbon span {
  padding: 0.5rem 0.82rem;
  border-radius: 999px;
  border: 1px solid rgba(90, 152, 192, 0.2);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), transparent),
    linear-gradient(145deg, rgba(8, 20, 34, 0.9), rgba(6, 16, 28, 0.84));
  color: #d8ecf8;
  font: 700 0.72rem/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, color 0.22s ease;
}

.stack-ribbon a:hover,
.stack-ribbon a:focus-visible {
  color: #ffffff;
  border-color: rgba(118, 255, 194, 0.38);
  box-shadow: 0 0 0 1px rgba(118, 255, 194, 0.12), 0 16px 32px rgba(0, 12, 26, 0.22);
  transform: translateY(-1px);
}

.stack-context-grid,
.stack-layer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.stack-context-card,
.stack-layer-card,
.stack-flow-board,
.stack-note-card {
  border-radius: 20px;
  border: 1px solid rgba(92, 154, 191, 0.16);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), transparent),
    linear-gradient(160deg, rgba(9, 22, 37, 0.88), rgba(7, 18, 32, 0.8));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.stack-layer-card,
.stack-note-card {
  padding: 1rem;
}

.stack-layer-card h3,
.stack-note-card h3 {
  margin: 0 0 0.42rem;
  font: 700 0.98rem/1.2 "Syncopate", sans-serif;
}

.stack-layer-card p,
.stack-note-card p {
  margin: 0;
  color: #bfd4e2;
  line-height: 1.7;
}

.context-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.9rem;
}

.context-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.52rem 0.8rem;
  border-radius: 14px;
  text-decoration: none;
  border: 1px solid rgba(90, 152, 192, 0.22);
  background: rgba(9, 20, 34, 0.74);
  color: #e7f7ff;
  font: 600 0.78rem/1.2 "IBM Plex Sans", sans-serif;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.context-links a:hover {
  transform: translateY(-2px);
  border-color: rgba(118, 255, 194, 0.3);
  color: #ffffff;
}

.stack-flow-board {
  position: relative;
  overflow: hidden;
  padding: 1rem;
}

.stack-flow-board::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 28%, rgba(0, 212, 255, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,0.03), transparent 22%);
  pointer-events: none;
}

.stack-flow-board svg {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
}

.stack-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.95rem;
}

.stack-pill-row a,
.stack-pill-row span {
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(92, 154, 191, 0.18);
  background: rgba(8, 20, 34, 0.72);
  color: #c9ddec;
  font: 700 0.72rem/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, color 0.22s ease;
}

.stack-pill-row a:hover,
.stack-pill-row a:focus-visible {
  color: #ffffff;
  border-color: rgba(118, 255, 194, 0.38);
  box-shadow: 0 0 0 1px rgba(118, 255, 194, 0.12), 0 16px 32px rgba(0, 12, 26, 0.22);
  transform: translateY(-1px);
}

.source-stat-card .source-stat {
  margin-bottom: 0.75rem;
  color: var(--mint);
  font: 800 1.18rem/1 "Orbitron", sans-serif;
  letter-spacing: 0.04em;
}

.route-link-card {
  text-decoration: none;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.route-link-card:hover {
  transform: translateY(-3px);
  border-color: rgba(118, 255, 194, 0.32);
}

.route-link-label {
  display: inline-block;
  margin-bottom: 0.5rem;
  color: var(--aqua);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.equation-label {
  display: inline-block;
  color: var(--mint);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.equation-block {
  margin: 0.54rem 0 0.72rem;
  color: #eef8ff;
  font-family: "IBM Plex Mono", monospace;
  white-space: pre-wrap;
}

.cta-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 2rem 0 1.75rem;
  color: #90adbd;
  border-top: 1px solid rgba(72, 132, 175, 0.16);
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 212, 255, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(5, 11, 19, 0.14), rgba(5, 11, 19, 0.42));
}

#route-footer-web {
  position: absolute;
  inset: 0 0 auto 0;
  width: 100%;
  height: 180px;
  opacity: 0.7;
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.18rem;
  border-top: 1px solid rgba(72, 132, 175, 0.22);
  padding-top: 1.1rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.9rem;
  text-decoration: none;
}

.footer-brand-logo {
  width: clamp(170px, 18vw, 260px);
  height: auto;
  filter: drop-shadow(0 0 22px rgba(0, 212, 255, 0.24));
}

.footer-inner p {
  margin: 0 0 0.82rem;
  line-height: 1.82;
}

.footer-inner p:last-child {
  margin-bottom: 0;
}

.footer-shield-row {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.footer-shield-link {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  border: 1px solid rgba(90, 152, 191, 0.14);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), transparent),
    linear-gradient(145deg, rgba(8, 18, 31, 0.86), rgba(5, 11, 19, 0.9));
  color: rgba(160, 196, 214, 0.28);
  text-decoration: none;
  opacity: 0.3;
  overflow: hidden;
  transition: transform 0.24s ease, opacity 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, color 0.24s ease;
}

.footer-shield-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(0, 212, 255, 0.16), transparent 52%, rgba(255, 217, 61, 0.12));
  opacity: 0;
  transition: opacity 0.24s ease;
}

.footer-shield-link svg {
  position: relative;
  z-index: 1;
  width: 18px;
  height: 18px;
}

.footer-shield-link:hover,
.footer-shield-link:focus-visible {
  opacity: 1;
  color: #eaf9ff;
  border-color: rgba(0, 212, 255, 0.42);
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2), 0 0 22px rgba(0, 212, 255, 0.16);
}

.footer-shield-link:hover::before,
.footer-shield-link:focus-visible::before {
  opacity: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slowZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.1); }
}

@keyframes routeDraw {
  to { stroke-dashoffset: 0; }
}

@keyframes routeSlideLeft {
  from { opacity: 0; transform: translateX(-18px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes routeSlideRight {
  from { opacity: 0; transform: translateX(18px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes routeCorePop {
  from { opacity: 0; transform: scale(0.5); transform-origin: center; }
  to { opacity: 1; transform: scale(1); transform-origin: center; }
}

@keyframes routeOrbitReveal {
  from { opacity: 0; transform: scale(0.7); }
  to { opacity: 0.45; transform: scale(1); }
}

@keyframes routeSpin {
  from { transform: rotate(0deg); transform-origin: center; }
  to { transform: rotate(360deg); transform-origin: center; }
}

@keyframes routeDiagramFloat {
  0%, 100% {
    transform: translate3d(var(--svg-x, 0px), calc(var(--svg-y, 0px) + 0px), 0) scale(var(--svg-scale, 1));
    filter: drop-shadow(0 0 16px rgba(0, 212, 255, 0.08));
  }
  50% {
    transform: translate3d(var(--svg-x, 0px), calc(var(--svg-y, 0px) - 6px), 0) scale(calc(var(--svg-scale, 1) * 1.008));
    filter: drop-shadow(0 0 24px rgba(0, 212, 255, 0.14));
  }
}

@keyframes routeWireFlow {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -42; }
}

@keyframes routeNodePulse {
  0%, 100% { opacity: 0.9; filter: drop-shadow(0 0 0 rgba(118, 255, 194, 0)); }
  50% { opacity: 1; filter: drop-shadow(0 0 12px rgba(118, 255, 194, 0.28)); }
}

@keyframes routeNodeCorePulse {
  0%, 100% { opacity: 0.88; transform: scale(1); transform-origin: center; }
  50% { opacity: 1; transform: scale(1.045); transform-origin: center; }
}

@keyframes routeTextGlow {
  0%, 100% { opacity: 0.96; filter: drop-shadow(0 0 0 rgba(255, 178, 135, 0)); }
  50% { opacity: 1; filter: drop-shadow(0 0 10px rgba(255, 178, 135, 0.18)); }
}

@keyframes signalWord {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.18); }
}

@keyframes scienceDash {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -48; }
}

@keyframes sciencePulse {
  0%, 100% { transform: scale(1); opacity: 0.82; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes diagramSweep {
  0% { transform: translateX(-120%); opacity: 0; }
  12% { opacity: 0.58; }
  50% { opacity: 0.34; }
  88% { opacity: 0.14; }
  100% { transform: translateX(120%); opacity: 0; }
}

@keyframes diagramGridPulse {
  0%, 100% { opacity: 0.06; }
  50% { opacity: 0.14; }
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.82); }
}

@keyframes overlayRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes codeSweep {
  from { background-position: -220px 0, 0 0; }
  to { background-position: calc(100% + 220px) 0, 0 0; }
}

@keyframes codeBlink {
  0%, 100% { opacity: 0.32; }
  50% { opacity: 1; }
}

@keyframes signalArrowDrop {
  0%, 100% { transform: translateY(-2px); opacity: 0.82; }
  50% { transform: translateY(4px); opacity: 1; }
}

@keyframes overlayOrbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 1180px) {
  .desktop-nav-shell {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .nav-utility {
    width: 100%;
    justify-content: flex-start;
    padding-left: 0.18rem;
    min-width: 0;
    flex-wrap: wrap;
  }

  .desktop-nav-cluster {
    flex-wrap: wrap;
  }
}

@media (max-width: 1120px) {
  .research-overview-layout,
  .atlas-link-grid,
  .research-track-grid,
  .science-layout,
  .lab-grid,
  .equation-grid,
  .detail-grid,
  .conversion-grid,
  .stack-context-grid,
  .stack-layer-grid,
  .source-grid,
  .source-visual-row,
  .source-visual-row-two,
  .fusion-strip,
  .route-link-grid,
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 980px) {
  .hero-shell,
  .science-layout,
  .lab-grid,
  .equation-grid,
  .detail-grid,
  .conversion-grid,
  .stack-context-grid,
  .stack-layer-grid,
  .source-grid,
  .source-visual-row,
  .source-visual-row-two,
  .route-link-grid,
  .deep-dive-layout,
  .cta-panel,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .art-frame,
  .hero-art {
    min-height: 500px;
  }

  .hero-visual-row {
    grid-template-columns: 1fr;
  }

  .art-frame {
    --art-rail-top: 74px;
  }

  .hero-visual-stack {
    grid-template-rows: minmax(240px, auto) auto;
  }

  .hero-visual-primary {
    min-height: 248px;
  }
}

@media (max-width: 880px) {
  .top-inner {
    min-height: 48px;
  }

  .nav-toggle {
    position: relative;
    z-index: 3;
    min-width: 112px;
    height: 38px;
  }

  .top-brand img {
    width: clamp(132px, 40vw, 176px);
  }

  body.is-scrolled .top-inner {
    min-height: 42px;
  }

  body.is-scrolled .top-brand img {
    width: clamp(122px, 36vw, 162px);
  }

  body.is-scrolled .nav-toggle {
    min-width: 104px;
    height: 34px;
  }

  .top-nav {
    display: none;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(1.82rem, 10vw, 3rem);
  }

  .desktop-nav-shell {
    display: none;
  }

  .nav-overlay-shell {
    width: 100%;
    max-width: 100%;
    padding: 0;
    align-items: stretch;
  }

  .nav-overlay-panel {
    min-height: 100dvh;
    max-height: 100dvh;
    padding:
      max(0.85rem, env(safe-area-inset-top))
      0.95rem
      max(1rem, env(safe-area-inset-bottom));
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .nav-overlay-body {
    grid-template-columns: 1fr;
  }

  .nav-overlay-rail {
    position: static;
  }

  .nav-overlay-main {
    grid-template-rows: auto auto auto;
  }

  .nav-overlay-hero,
  .nav-overlay-grid,
  .nav-overlay-stats {
    grid-template-columns: 1fr;
  }

  .nav-overlay-grid-mobile {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .nav-overlay-top {
    padding-bottom: 0.8rem;
    margin-bottom: 1rem;
  }

  .nav-overlay-quick a {
    flex: 1 1 calc(50% - 0.75rem);
    text-align: center;
    min-width: 0;
    white-space: normal;
  }

  .wide-links {
    grid-template-columns: 1fr;
  }

  .mobile-menu-section {
    padding: 0.92rem;
    border-radius: 20px;
  }

  .benchmark-cluster-grid,
  .speed-grid,
  .lattice-stat-grid,
  .advantage-grid,
  .code-compare-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page-entry-signal {
    width: min(100%, 92vw);
    margin-top: 3.45rem;
    gap: 0.7rem;
    padding: 0.68rem 0.76rem;
  }
  .page-entry-code span:last-child { display: none; }
  .nav-overlay-panel {
    padding:
      max(0.85rem, env(safe-area-inset-top))
      0.82rem
      max(1rem, env(safe-area-inset-bottom));
  }
  .nav-overlay-top {
    top: calc(max(0.85rem, env(safe-area-inset-top)) * -1);
    margin:
      calc(max(0.85rem, env(safe-area-inset-top)) * -1)
      -0.82rem
      0.9rem;
    padding:
      max(0.85rem, env(safe-area-inset-top))
      0.82rem
      0.75rem;
  }
  .nav-overlay-top h2 { font-size: 1.28rem; }
  .nav-overlay-copy { font-size: 0.95rem; }
  .nav-overlay-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-overlay-stats article:last-child { grid-column: 1 / -1; }
  .speed-metric-grid { grid-template-columns: 1fr; }
  .benchmark-row { grid-template-columns: 1fr; gap: 0.45rem; }
  .benchmark-value { justify-self: start; }
  .fusion-strip { grid-template-columns: 1fr; }
  .nav-overlay-quick a { flex-basis: calc(50% - 0.5rem); }
  .nav-search-shell {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .nav-search-meta {
    grid-column: 1 / -1;
    justify-items: start;
  }
  .nav-filter-chip {
    flex: 1 1 calc(50% - 0.55rem);
    text-align: center;
  }
  .signal-chip {
    width: 100%;
    justify-content: flex-start;
  }
  .signal-chip-popover {
    top: calc(100% + 0.72rem);
    bottom: auto;
    width: min(100%, calc(100vw - 3rem));
  }
  .metric-grid,
  .system-ledger,
  .lab-grid,
  .equation-grid,
  .detail-grid,
  .conversion-grid,
  .stack-context-grid,
  .stack-layer-grid,
  .route-link-grid,
  .family-grid,
  .computation-grid {
    grid-template-columns: 1fr;
  }

  .benchmark-row {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .research-kpi-ribbon span,
  .research-chip {
    width: 100%;
    justify-content: flex-start;
  }
}




#root {
  min-height: 100vh;
}

.app-shell,
.stack-main,
.highlight-scope {
  min-height: 100vh;
}

.app-shell {
  position: relative;
}

.site-header,
.stack-main,
.site-footer {
  transition:
    opacity 0.56s cubic-bezier(.16,.84,.2,1),
    transform 0.56s cubic-bezier(.16,.84,.2,1);
}

.app-shell.is-startup-diffusing .site-header,
.app-shell.is-startup-diffusing .stack-main,
.app-shell.is-startup-diffusing .site-footer {
  opacity: 0;
  transform: translate3d(0, 14px, 0) scale(0.996);
}

.app-shell.is-startup-ready .site-header,
.app-shell.is-startup-ready .stack-main,
.app-shell.is-startup-ready .site-footer {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.startup-diffuse-screen {
  position: fixed;
  inset: 0;
  z-index: 460;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 24%, rgba(0, 212, 255, 0.18), transparent 24%),
    radial-gradient(circle at 78% 20%, rgba(118, 255, 194, 0.14), transparent 22%),
    radial-gradient(circle at 66% 78%, rgba(255, 124, 88, 0.12), transparent 24%);
  overflow: hidden;
}

.startup-diffuse-screen::before,
.startup-diffuse-screen::after {
  content: "";
  position: absolute;
  inset: -18%;
}

.startup-diffuse-screen::before {
  background:
    repeating-linear-gradient(
      90deg,
      rgba(0, 212, 255, 0.1) 0 2px,
      rgba(0, 212, 255, 0) 2px 38px
    ),
    linear-gradient(120deg, rgba(0, 212, 255, 0.22), rgba(118, 255, 194, 0.12), rgba(255, 124, 88, 0.08), transparent 76%);
  animation: startupDiffuseSweep 0.62s cubic-bezier(.16,.84,.2,1) forwards;
}

.startup-diffuse-screen::after {
  background:
    linear-gradient(180deg, rgba(4, 9, 18, 0.2), rgba(4, 9, 18, 0.02)),
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.035) 0 1px,
      rgba(255, 255, 255, 0) 1px 12px
    );
  mix-blend-mode: screen;
  opacity: 0.54;
  animation: startupDiffuseFade 0.62s ease forwards;
}

.stack-main {
  position: relative;
  z-index: 2;
  padding-bottom: 5rem;
}

.header-balance {
  justify-self: end;
  width: clamp(118px, 10vw, 160px);
  height: 1px;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0) scale(0.985);
  filter: blur(8px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(.2,.72,.16,1),
    filter 0.7s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

.diffuse-text {
  text-shadow:
    0 0 16px rgba(0, 212, 255, 0.18),
    0 0 44px rgba(0, 212, 255, 0.08),
    0 0 88px rgba(255, 124, 88, 0.04);
}

.term-highlight {
  display: inline-block;
  margin: 0 0.08em;
  padding: 0 0.14em;
  border-radius: 999px;
  box-shadow: 0 0 22px rgba(0, 212, 255, 0.16);
}

.term-highlight--blue {
  color: #9be9ff;
  background: linear-gradient(90deg, rgba(0, 212, 255, 0.14), rgba(44, 125, 255, 0.08));
}

.term-highlight--orange {
  color: #ffd7bf;
  background: linear-gradient(90deg, rgba(255, 124, 88, 0.18), rgba(255, 217, 61, 0.08));
}

.term-highlight--mint {
  color: #ccffe8;
  background: linear-gradient(90deg, rgba(118, 255, 194, 0.14), rgba(0, 212, 255, 0.08));
}

.term-highlight--gold,
.term-highlight--lime {
  color: #fff1bf;
  background: linear-gradient(90deg, rgba(255, 217, 61, 0.16), rgba(118, 255, 194, 0.07));
}

.index-page,
.atlas-page,
.research-page {
  padding-bottom: 2rem;
}

.research-hero {
  padding: 3.7rem 0 1.8rem;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(340px, 1.02fr);
  gap: 1.15rem;
  align-items: stretch;
}

.research-hero__copy,
.research-hero__visual,
.research-body__sections,
.research-body__visuals,
.paper-library-column,
.atlas-shell,
.system-state-card {
  border-radius: 30px;
  border: 1px solid rgba(90, 152, 192, 0.18);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), transparent),
    linear-gradient(160deg, rgba(9, 22, 37, 0.9), rgba(7, 18, 32, 0.8));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 24px 48px rgba(0,0,0,0.18);
}

.research-hero__copy {
  padding: 1.6rem 1.55rem;
}

.research-hero__visual {
  position: relative;
  overflow: clip;
  padding: 1rem;
}

.research-hero__eyebrow {
  display: inline-flex;
  margin-bottom: 0.9rem;
  color: var(--aqua);
  font: 700 0.72rem/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.route-title {
  margin: 0 0 0.8rem;
  font-size: clamp(2.2rem, 5.8vw, 4.8rem);
  line-height: 0.94;
}

.research-hero__strap {
  margin: 0 0 1rem;
  color: #dff7ff;
  font: 600 1.08rem/1.55 "IBM Plex Sans", sans-serif;
}

.research-hero__summary {
  margin: 0;
  color: #b8d3e3;
  line-height: 1.82;
  max-width: 64ch;
}

.metric-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.metric-board__item {
  padding: 1rem 1rem 1.05rem;
  border-radius: 22px;
  border: 1px solid rgba(90, 152, 192, 0.16);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), transparent),
    linear-gradient(145deg, rgba(8, 18, 31, 0.82), rgba(9, 24, 39, 0.7));
}

.metric-board__item span {
  display: block;
  margin-bottom: 0.5rem;
  color: #ffd5b5;
  font: 800 clamp(1.2rem, 3vw, 1.9rem)/1 "Orbitron", sans-serif;
}

.metric-board__item strong {
  display: block;
  margin-bottom: 0.34rem;
  color: #f4fbff;
  font: 700 0.94rem/1.3 "Syncopate", sans-serif;
}

.metric-board__item p {
  margin: 0;
  color: #adc8d8;
  line-height: 1.68;
  font-size: 0.86rem;
}

.formula-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
  margin-bottom: 1rem;
}

.formula-card,
.code-card,
.paper-note,
.atlas-links__item,
.track-chip,
.benchmark-board__rows .benchmark-row {
  border-radius: 24px;
  border: 1px solid rgba(90, 152, 192, 0.16);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), transparent),
    linear-gradient(145deg, rgba(8, 18, 31, 0.82), rgba(9, 24, 39, 0.72));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.formula-card,
.code-card {
  padding: 1.1rem 1.14rem;
}

.formula-card__eyebrow {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--aqua);
  font: 700 0.7rem/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.formula-card code,
.code-card pre {
  display: block;
  margin: 0;
  color: #f7fbff;
  font: 600 0.94rem/1.7 "IBM Plex Mono", monospace;
  white-space: pre-wrap;
  word-break: break-word;
}

.research-body {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: 1rem;
  align-items: start;
}

.research-body__sections,
.research-body__visuals {
  padding: 1rem;
}

.research-body__sections {
  display: grid;
  gap: 0.85rem;
}

.research-section {
  padding: 1rem 1.04rem;
  border-radius: 24px;
  border: 1px solid rgba(90, 152, 192, 0.14);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.025), transparent),
    linear-gradient(145deg, rgba(7, 16, 29, 0.72), rgba(9, 24, 39, 0.58));
}

.research-section > span {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--aqua);
  font: 700 0.68rem/1.2 "IBM Plex Mono", monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.research-section h2 {
  margin: 0 0 0.72rem;
  font-size: clamp(1.1rem, 1.8vw, 1.46rem);
}

.research-section p,
.research-section li {
  color: #c2d8e5;
  line-height: 1.78;
}

.research-section ul {
  margin: 0.7rem 0 0;
  padding-left: 1.1rem;
}

.detail-side-cluster,
.detail-visual-stack {
  display: grid;
  gap: 0.86rem;
}

.detail-side-cluster {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.detail-visual-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.86rem;
}

.detail-svg {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 26px;
  border: 1px solid rgba(93, 157, 196, 0.16);
  background:
    radial-gradient(circle at 50% 20%, rgba(0, 212, 255, 0.08), transparent 40%),
    linear-gradient(160deg, rgba(8, 20, 34, 0.96), rgba(7, 16, 28, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 20px 42px rgba(0,0,0,0.18);
  transform: perspective(1200px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateZ(0);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, filter 0.24s ease;
  will-change: transform;
}

.detail-svg--hero {
  aspect-ratio: 640 / 460;
  min-height: 0;
}

.detail-svg--panel,
.detail-svg--mini {
  min-height: 0;
}

.detail-svg--panel {
  aspect-ratio: 360 / 220;
}

.detail-svg--mini {
  aspect-ratio: 300 / 150;
}

.dossier-grid__panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}

.dossier-grid__panels--longform {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dossier-card {
  padding: 1rem 1.04rem;
  border-radius: 24px;
  border: 1px solid rgba(90, 152, 192, 0.14);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.025), transparent),
    linear-gradient(145deg, rgba(7, 16, 29, 0.74), rgba(9, 24, 39, 0.62));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.dossier-card > span {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--aqua);
  font: 700 0.68rem/1.2 "IBM Plex Mono", monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dossier-card h3 {
  margin: 0 0 0.72rem;
  font-size: clamp(1.02rem, 1.5vw, 1.24rem);
}

.dossier-card p,
.dossier-card li {
  color: #c2d8e5;
  line-height: 1.78;
}

.dossier-card ul {
  margin: 0.76rem 0 0;
  padding-left: 1.05rem;
}

.visual-matrix {
  position: relative;
}

.detail-matrix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}

.detail-matrix .detail-svg--panel {
  aspect-ratio: 360 / 220;
  min-height: 0;
}

.detail-svg text {
  fill: #ffbb83;
  font-family: "IBM Plex Mono", monospace;
}

.detail-svg__label {
  fill: #f6fbff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-svg__caption {
  fill: #8bd7ef;
  font-size: 12px;
  font-weight: 600;
}

.detail-svg__caption--accent {
  fill: #ffc080;
}

.detail-svg__micro {
  fill: rgba(160, 221, 239, 0.76);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.detail-svg__telemetry-line {
  fill: none;
  stroke: rgba(255, 217, 61, 0.44);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 8 10;
  animation: detailTelemetryFlow 6.2s linear infinite;
}

.detail-svg__telemetry-pulse {
  fill: #ffd93d;
  filter: drop-shadow(0 0 10px rgba(255, 217, 61, 0.75));
}

.detail-svg__panel {
  fill: rgba(7, 19, 33, 0.78);
  stroke: rgba(0, 212, 255, 0.26);
  stroke-width: 1.5;
  animation: detailPanelGlow 7.2s ease-in-out infinite alternate;
}

.detail-svg__panel--inner {
  fill: rgba(10, 29, 45, 0.76);
  animation: detailPanelInnerShift 6.6s ease-in-out infinite alternate;
}

.detail-svg__slot {
  fill: rgba(14, 43, 67, 0.78);
  stroke: rgba(118, 255, 194, 0.3);
  stroke-width: 1.2;
  animation: detailSlotPulse 3.8s ease-in-out infinite;
}

.detail-svg__grid {
  stroke: rgba(255,255,255,0.08);
  stroke-width: 1;
}

.detail-svg__wire,
.detail-svg__line,
.detail-svg__wave {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 10 12;
  animation: detailWireFlow 7.4s linear infinite;
}

.detail-svg__wire,
.detail-svg__line {
  stroke: rgba(0, 212, 255, 0.44);
}

.detail-svg__line--strong {
  stroke: rgba(118, 255, 194, 0.62);
}

.detail-svg__wave {
  stroke: rgba(255, 124, 88, 0.54);
  stroke-dasharray: 16 14;
  animation-duration: 9.4s;
}

.detail-svg__node {
  fill: #00d4ff;
  filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
  animation: detailNodePulse 3.4s ease-in-out infinite;
}

.detail-svg__node--orange {
  fill: #ff9c67;
  filter: drop-shadow(0 0 12px rgba(255, 124, 88, 0.6));
  animation-delay: 0.5s;
}

.detail-svg__node--mint {
  fill: #76ffc2;
  filter: drop-shadow(0 0 12px rgba(118, 255, 194, 0.6));
  animation-delay: 1s;
}

.detail-svg__core {
  fill: rgba(255, 217, 61, 0.18);
  stroke: rgba(255, 217, 61, 0.72);
  stroke-width: 2;
  animation: detailCorePulse 4.8s ease-in-out infinite;
}

.detail-svg__halo {
  fill: rgba(0, 212, 255, 0.08);
  animation: detailHaloBreathe 7.6s ease-in-out infinite;
}

.detail-svg__ring {
  fill: none;
  stroke: rgba(0, 212, 255, 0.3);
  stroke-width: 1.4;
  stroke-dasharray: 12 10;
  transform-box: fill-box;
  transform-origin: center;
  animation: detailRingSpin 18s linear infinite;
}

.detail-svg,
.dossier-card,
.benchmark-board__rows .benchmark-row,
.paper-note {
  position: relative;
  overflow: hidden;
}

.detail-svg {
  transform: perspective(1400px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateZ(0);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  will-change: transform;
}

.detail-svg::after,
.dossier-card::after,
.benchmark-board__rows .benchmark-row::after,
.paper-note::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(0, 212, 255, 0.14), transparent 30%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.detail-svg.is-interactive,
.dossier-card.is-interactive,
.benchmark-board__rows .benchmark-row.is-interactive,
.paper-note.is-interactive {
  transform: perspective(1400px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-6px) scale(1.01);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 26px 52px rgba(0,0,0,0.24),
    0 0 0 1px rgba(0, 212, 255, 0.08);
  border-color: rgba(118, 255, 194, 0.28);
}

.detail-svg.is-interactive::after,
.dossier-card.is-interactive::after,
.benchmark-board__rows .benchmark-row.is-interactive::after,
.paper-note.is-interactive::after {
  opacity: 1;
}

.dossier-card,
.benchmark-board__rows .benchmark-row,
.paper-note {
  transform: perspective(1200px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateZ(0);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
  will-change: transform;
}

.detail-svg text {
  animation: detailTextFlicker 4.8s ease-in-out infinite;
}

.detail-svg__panel,
.detail-svg__panel--inner,
.detail-svg__slot,
.detail-svg__ring,
.detail-svg__node,
.detail-svg__wire,
.detail-svg__line,
.detail-svg__wave,
.detail-svg__core,
.detail-svg__halo {
  transition: transform 0.24s ease, opacity 0.24s ease, filter 0.24s ease, stroke 0.24s ease, fill 0.24s ease;
  transform-box: fill-box;
  transform-origin: center;
}

.detail-svg.is-interactive .detail-svg__panel--inner {
  filter: drop-shadow(0 0 18px rgba(0, 212, 255, 0.12));
  transform: translateY(-2px) scale(1.01);
}

.detail-svg.is-interactive .detail-svg__slot {
  filter: drop-shadow(0 0 12px rgba(118, 255, 194, 0.16));
}

.detail-svg.is-interactive .detail-svg__ring {
  opacity: 1;
  stroke-width: 1.8;
}

.detail-svg.is-interactive .detail-svg__node {
  transform: scale(1.12);
}

.detail-svg.is-interactive .detail-svg__wire,
.detail-svg.is-interactive .detail-svg__line,
.detail-svg.is-interactive .detail-svg__wave {
  stroke-width: 2.4;
}

@keyframes detailPanelGlow {
  from { stroke: rgba(0, 212, 255, 0.2); box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 20px 42px rgba(0,0,0,0.18); }
  to { stroke: rgba(118, 255, 194, 0.32); box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 24px 48px rgba(0,0,0,0.24), 0 0 22px rgba(0, 212, 255, 0.08); }
}

@keyframes detailPanelInnerShift {
  from { fill: rgba(10, 29, 45, 0.76); }
  to { fill: rgba(11, 35, 54, 0.84); }
}

@keyframes detailSlotPulse {
  0%, 100% { opacity: 0.74; }
  50% { opacity: 1; }
}

@keyframes detailWireFlow {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -72; }
}

@keyframes detailTelemetryFlow {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -52; }
}

@keyframes detailNodePulse {
  0%, 100% { transform: scale(1); opacity: 0.86; }
  50% { transform: scale(1.18); opacity: 1; }
}

@keyframes detailCorePulse {
  0%, 100% { opacity: 0.76; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes detailHaloBreathe {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.06); }
}

@keyframes detailRingSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes detailTextFlicker {
  0%, 100% { opacity: 0.96; }
  50% { opacity: 1; }
}

.benchmark-board__rows {
  display: grid;
  gap: 0.82rem;
}

.benchmark-board__rows .benchmark-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem 1rem;
  padding: 1rem 1.05rem;
}

.benchmark-board__rows .benchmark-row div strong {
  display: block;
  color: #f4fbff;
  font: 700 0.92rem/1.2 "Syncopate", sans-serif;
}

.benchmark-board__rows .benchmark-row div span {
  display: block;
  margin-top: 0.35rem;
  color: #86b8cf;
  font: 600 0.72rem/1.3 "IBM Plex Mono", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.benchmark-board__rows .benchmark-row b {
  align-self: start;
  color: #ffd5b3;
  font: 800 1.14rem/1 "Orbitron", sans-serif;
}

.benchmark-board__rows .benchmark-row p {
  grid-column: 1 / -1;
  margin: 0;
  color: #bdd4e2;
  line-height: 1.74;
}

.paper-board__grid,
.paper-library-layout,
.atlas-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.92rem;
}

.paper-note,
.atlas-links__item,
.track-chip {
  padding: 1rem 1.05rem;
}

.paper-note strong,
.atlas-links__item strong {
  display: block;
  margin-bottom: 0.42rem;
  color: #f4fbff;
  font: 700 0.92rem/1.3 "Syncopate", sans-serif;
}

.paper-note p,
.atlas-links__item span {
  margin: 0;
  color: #bcd5e2;
  line-height: 1.72;
}

.technical-grid,
.process-board,
.contact-board,
.profile-board,
.timeline-board,
.table-board {
  display: grid;
  gap: 1rem;
}

.technical-grid__cards,
.process-grid,
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

.technical-grid__cards--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.technical-card,
.process-card,
.contact-board__card,
.profile-board__shell,
.timeline-card,
.table-shell {
  border-radius: 26px;
  border: 1px solid rgba(90, 152, 192, 0.16);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), transparent),
    linear-gradient(145deg, rgba(9, 22, 37, 0.86), rgba(7, 18, 32, 0.8));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 24px 48px rgba(0,0,0,0.18);
}

.technical-card,
.process-card,
.timeline-card {
  padding: 1rem 1.05rem;
}

.technical-card span,
.process-card strong,
.timeline-card span,
.profile-board__stats span,
.contact-board__email {
  display: inline-flex;
  color: var(--aqua);
  font: 700 0.72rem/1.2 "IBM Plex Mono", monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.technical-card h3,
.process-card h3,
.timeline-card h3,
.profile-board__copy h3 {
  margin: 0.42rem 0 0.72rem;
  color: #f4fbff;
  font: 700 clamp(1rem, 1.55vw, 1.32rem)/1.2 "Syncopate", sans-serif;
}

.technical-card p,
.process-card p,
.timeline-card p,
.profile-board__copy p,
.contact-board__copy p {
  margin: 0;
  color: #bdd3e1;
  line-height: 1.76;
}

.technical-card ul,
.process-card ul {
  margin: 0.78rem 0 0;
  padding-left: 1rem;
  color: #a9c9da;
  line-height: 1.7;
}

.technical-card pre,
.technical-card__output {
  margin: 0.9rem 0 0;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(90, 152, 192, 0.16);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), transparent),
    linear-gradient(145deg, rgba(5, 14, 25, 0.94), rgba(4, 11, 22, 0.92));
  color: #eef8ff;
  font: 600 0.82rem/1.65 "IBM Plex Mono", monospace;
  white-space: pre-wrap;
  overflow-x: auto;
}

.table-shell {
  overflow: hidden;
}

.benchmark-table {
  width: 100%;
  border-collapse: collapse;
}

.benchmark-table th,
.benchmark-table td {
  padding: 0.95rem 1rem;
  text-align: left;
  vertical-align: top;
}

.benchmark-table thead th {
  color: #ffd5b3;
  font: 700 0.74rem/1.2 "IBM Plex Mono", monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(90, 152, 192, 0.18);
}

.benchmark-table tbody td {
  color: #c4dae8;
  line-height: 1.68;
  border-top: 1px solid rgba(90, 152, 192, 0.1);
}

.benchmark-table tbody tr:first-child td {
  border-top: none;
}

.contact-board__card,
.profile-board__shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 1rem;
  padding: 1rem 1.05rem;
}

.contact-board__copy,
.contact-board__actions,
.profile-board__copy,
.profile-board__stats {
  display: grid;
  gap: 0.8rem;
  align-content: start;
}

.contact-board__copy h2,
.profile-board__copy strong {
  margin: 0;
  color: #f4fbff;
}

.contact-board__copy h2 {
  font: 700 clamp(1.3rem, 2.1vw, 1.9rem)/1.14 "Syncopate", sans-serif;
}

.profile-board__copy strong {
  font: 700 0.86rem/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9fd4ea;
}

.contact-board__actions {
  justify-items: start;
}

.contact-board__email {
  margin-top: -0.15rem;
  color: #bfd6e3;
  letter-spacing: 0.08em;
  text-transform: none;
  font-size: 0.78rem;
}

.profile-board__stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-board__stats article {
  padding: 0.9rem 0.92rem;
  border-radius: 20px;
  border: 1px solid rgba(90, 152, 192, 0.16);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), transparent),
    linear-gradient(145deg, rgba(8, 18, 31, 0.78), rgba(9, 22, 37, 0.64));
}

.profile-board__stats strong,
.timeline-card strong {
  display: block;
  margin-top: 0.42rem;
  color: #f6fbff;
  font: 700 0.9rem/1.35 "IBM Plex Sans", sans-serif;
}

.timeline-card strong {
  color: #ffd5b3;
  text-transform: uppercase;
  font: 700 0.72rem/1.3 "IBM Plex Mono", monospace;
  letter-spacing: 0.14em;
}

.reading-track-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 0 0 1rem;
}

.track-chip {
  display: inline-flex;
  align-items: center;
  color: #eef8ff;
  font: 700 0.74rem/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.overview-cluster {
  display: grid;
  gap: 0.95rem;
  margin-top: 1.2rem;
}

.paper-library-column,
.atlas-shell,
.system-state-card {
  padding: 1rem;
}

.atlas-command {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.atlas-search {
  display: grid;
  gap: 0.48rem;
}

.atlas-search span {
  color: var(--aqua);
  font: 700 0.74rem/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.atlas-search input {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(88, 151, 190, 0.2);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), transparent),
    linear-gradient(145deg, rgba(10, 23, 38, 0.84), rgba(7, 15, 27, 0.88));
  color: #f4fbff;
  padding: 0.95rem 1rem;
  font: 600 0.92rem/1 "IBM Plex Sans", sans-serif;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.atlas-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-content: start;
}

.atlas-filter-chip {
  appearance: none;
  border: 1px solid rgba(91, 154, 194, 0.18);
  border-radius: 999px;
  padding: 0.78rem 0.92rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), transparent),
    linear-gradient(145deg, rgba(10, 23, 38, 0.84), rgba(7, 15, 27, 0.88));
  color: #dcedf7;
  font: 700 0.72rem/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.22s ease, color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.atlas-filter-chip:hover,
.atlas-filter-chip.is-active {
  transform: translateY(-1px);
  color: #fff;
  border-color: rgba(118, 255, 194, 0.34);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 212, 255, 0.08);
}

.atlas-filter-chip.is-active {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), transparent),
    linear-gradient(135deg, rgba(0, 212, 255, 0.24), rgba(118, 255, 194, 0.16), rgba(255, 124, 88, 0.14));
}

.atlas-shell--interactive {
  display: grid;
  grid-template-columns: minmax(0, 1.36fr) minmax(300px, 360px);
  gap: 1rem;
  overflow: hidden;
  position: relative;
}

.atlas-shell--interactive::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(0, 212, 255, 0.12), transparent 22%),
    radial-gradient(circle at 84% 20%, rgba(118, 255, 194, 0.08), transparent 18%),
    radial-gradient(circle at 70% 82%, rgba(255, 156, 103, 0.08), transparent 22%);
  pointer-events: none;
}

.atlas-constellation,
.atlas-detail {
  position: relative;
  z-index: 1;
}

.atlas-shell svg {
  width: 100%;
  height: auto;
}

.atlas-constellation svg {
  min-height: 720px;
}

.atlas-shell__frame {
  fill: rgba(7, 18, 31, 0.82);
  stroke: rgba(0, 212, 255, 0.28);
  stroke-width: 2;
}

.atlas-shell__core {
  fill: rgba(0, 212, 255, 0.1);
  stroke: rgba(118, 255, 194, 0.28);
  stroke-width: 2;
}

.atlas-shell__ring {
  fill: none;
  stroke: rgba(0, 212, 255, 0.2);
  stroke-width: 1.4;
  stroke-dasharray: 14 10;
  transform-origin: 600px 360px;
}

.atlas-shell__ring--slow {
  animation: overlayOrbit 24s linear infinite;
}

.atlas-shell__ring--fast {
  animation: overlayOrbit 18s linear infinite reverse;
}

.atlas-shell__ring--drift {
  animation: overlayOrbit 32s linear infinite;
  opacity: 0.46;
}

.atlas-shell__wire {
  stroke: rgba(0, 212, 255, 0.22);
  stroke-width: 1.2;
  fill: none;
  stroke-dasharray: 8 12;
  animation: detailWireFlow 9s linear infinite;
}

.atlas-shell__node {
  fill: #76ffc2;
  filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.44));
}

.atlas-shell__label,
.atlas-shell__center,
.atlas-shell__center-sub,
.atlas-shell__cluster-label {
  fill: #f5fbff;
  font-family: "IBM Plex Mono", monospace;
}

.atlas-shell__label {
  font-size: 13px;
}

.atlas-shell__center {
  font-size: 18px;
  letter-spacing: 0.14em;
}

.atlas-shell__center-sub {
  font-size: 11px;
  letter-spacing: 0.18em;
  fill: #9acee2;
}

.atlas-shell__cluster-node {
  fill: color-mix(in srgb, var(--atlas-node-color, #76ffc2) 72%, white 28%);
  stroke: color-mix(in srgb, var(--atlas-node-color, #76ffc2) 50%, white 50%);
  stroke-width: 1.6;
  filter: drop-shadow(0 0 18px color-mix(in srgb, var(--atlas-node-color, #76ffc2) 34%, transparent));
}

.atlas-shell__cluster-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  fill: #d9edf8;
}

.atlas-shell__item {
  cursor: pointer;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.atlas-shell__item.is-dimmed {
  opacity: 0.12;
}

.atlas-shell__item.is-visible {
  opacity: 0.9;
}

.atlas-shell__item.is-active .atlas-shell__label {
  fill: #fff7df;
}

.atlas-shell__item:hover,
.atlas-shell__item:focus-visible,
.atlas-shell__item.is-active {
  opacity: 1;
}

.atlas-shell__micro-wire {
  stroke: color-mix(in srgb, var(--atlas-node-color, #76ffc2) 42%, transparent);
  stroke-width: 1.4;
  stroke-dasharray: 5 8;
  animation: detailWireFlow 6.6s linear infinite;
}

.atlas-shell__node-halo {
  fill: color-mix(in srgb, var(--atlas-node-color, #76ffc2) 16%, transparent);
  stroke: color-mix(in srgb, var(--atlas-node-color, #76ffc2) 24%, transparent);
  stroke-width: 1;
  opacity: 0.8;
  animation: detailHaloBreathe 5.2s ease-in-out infinite;
}

.atlas-shell__item .atlas-shell__node {
  fill: var(--atlas-node-color, #76ffc2);
  animation: detailNodePulse 3.8s ease-in-out infinite;
  animation-delay: var(--atlas-delay, 0s);
}

.atlas-detail {
  display: grid;
  gap: 0.92rem;
  align-content: start;
}

.atlas-detail__card,
.atlas-detail__stats article {
  border-radius: 24px;
  border: 1px solid rgba(90, 152, 192, 0.16);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), transparent),
    linear-gradient(145deg, rgba(11, 25, 41, 0.68), rgba(8, 18, 31, 0.52));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.atlas-detail__card {
  padding: 1rem 1.05rem;
}

.atlas-detail__card h2 {
  margin: 0;
  color: #f4fbff;
  font: 700 clamp(1.2rem, 2vw, 1.7rem)/1.15 "Syncopate", sans-serif;
}

.atlas-detail__card p {
  margin: 0.75rem 0 0;
  color: #bed5e3;
  line-height: 1.72;
}

.atlas-detail__meta {
  display: grid;
  gap: 0.28rem;
  margin-top: 0.8rem;
}

.atlas-detail__meta strong {
  color: #f6fbff;
  font: 700 0.76rem/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.atlas-detail__meta span {
  color: #8ecae1;
  font-size: 0.88rem;
  line-height: 1.6;
}

.atlas-detail__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.9rem;
  min-height: 48px;
  padding: 0.82rem 0.95rem;
  border-radius: 16px;
  border: 1px solid rgba(118, 255, 194, 0.28);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), transparent),
    linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(118, 255, 194, 0.12), rgba(255, 124, 88, 0.08));
  color: #f6fbff;
  text-decoration: none;
  font: 700 0.82rem/1 "IBM Plex Sans", sans-serif;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.atlas-detail__cta:hover,
.atlas-detail__cta:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(118, 255, 194, 0.46);
  box-shadow: 0 18px 34px rgba(0,0,0,0.22), 0 0 0 1px rgba(0, 212, 255, 0.08);
}

.atlas-detail__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.82rem;
}

.atlas-detail__stats article {
  padding: 0.86rem 0.92rem;
}

.atlas-detail__stats strong {
  display: block;
  color: #f6fbff;
  font: 700 1.28rem/1 "Syncopate", sans-serif;
}

.atlas-detail__stats span {
  display: block;
  margin-top: 0.34rem;
  color: #9ec0d3;
  font: 600 0.72rem/1.4 "IBM Plex Mono", monospace;
  text-transform: uppercase;
}

.system-state {
  padding: 4rem 0 2rem;
}

.system-state-card {
  overflow: hidden;
}

.system-state-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 1rem;
  align-items: stretch;
}

.system-state__copy,
.system-state__visual {
  position: relative;
  padding: 1.1rem;
}

.system-state__copy {
  display: grid;
  gap: 0.88rem;
  align-content: start;
}

.system-state__code {
  display: inline-flex;
  width: fit-content;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(118, 255, 194, 0.2);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), transparent),
    linear-gradient(145deg, rgba(8, 21, 36, 0.84), rgba(7, 16, 29, 0.92));
  color: #f4fbff;
  font: 700 0.74rem/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.system-state-card h1 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 3.4rem);
}

.system-state-card p {
  margin: 0;
  color: #bdd3e1;
  line-height: 1.74;
  max-width: 64ch;
}

.system-state__detail {
  color: #8fb9ce;
}

.system-state__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.1rem;
}

.system-state__action {
  min-height: 46px;
}

.system-state__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 0.3rem;
}

.system-state__stats article {
  padding: 0.92rem 0.94rem;
  border-radius: 20px;
  border: 1px solid rgba(90, 152, 192, 0.16);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), transparent),
    linear-gradient(145deg, rgba(8, 18, 31, 0.78), rgba(9, 22, 37, 0.64));
}

.system-state__stats strong {
  display: block;
  color: #f7fbff;
  font: 700 1.16rem/1 "Syncopate", sans-serif;
}

.system-state__stats span {
  display: block;
  margin-top: 0.42rem;
  color: #9bc6da;
  font: 700 0.72rem/1.3 "IBM Plex Mono", monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.system-state__stats p {
  margin-top: 0.46rem;
  max-width: none;
  color: #b8d1df;
  font-size: 0.9rem;
  line-height: 1.64;
}

.system-state__visual {
  display: grid;
  place-items: center;
}

.system-error-svg {
  width: 100%;
  height: auto;
  aspect-ratio: 520 / 420;
}

.system-error-svg text {
  fill: #f5fbff;
  font-family: "IBM Plex Mono", monospace;
}

.system-error-svg__frame,
.system-error-svg__panel {
  fill: rgba(7, 18, 31, 0.78);
  stroke: rgba(0, 212, 255, 0.22);
  stroke-width: 1.4;
}

.system-error-svg__panel--small {
  fill: rgba(8, 20, 34, 0.88);
}

.system-error-svg__eyebrow {
  font-size: 12px;
  letter-spacing: 0.2em;
  fill: #8cdcf2;
}

.system-error-svg__micro {
  font-size: 10px;
  letter-spacing: 0.16em;
  fill: #ffd6a8;
  text-transform: uppercase;
}

.system-error-svg__code {
  font-size: 48px;
  letter-spacing: 0.14em;
  fill: #f8fbff;
  text-shadow: 0 0 26px rgba(0, 212, 255, 0.22);
}

.system-error-svg__ring {
  fill: none;
  stroke: rgba(0, 212, 255, 0.2);
  stroke-width: 1.5;
  stroke-dasharray: 16 10;
  transform-origin: 260px 220px;
}

.system-error-svg__ring--outer {
  animation: overlayOrbit 22s linear infinite;
}

.system-error-svg__ring--inner {
  animation: overlayOrbit 14s linear infinite reverse;
}

.system-error-svg__ring--core {
  stroke: rgba(255, 124, 88, 0.28);
  animation: detailHaloBreathe 5.8s ease-in-out infinite;
}

.system-error-svg__wire {
  fill: none;
  stroke: rgba(0, 212, 255, 0.34);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 8 12;
  animation: detailWireFlow 6.6s linear infinite;
}

.system-error-svg__wire--secondary {
  stroke: rgba(118, 255, 194, 0.32);
  animation-duration: 8.2s;
}

.system-error-svg__wire--axis {
  stroke: rgba(255, 124, 88, 0.28);
  animation-duration: 9.4s;
}

.system-error-svg__node {
  fill: #76ffc2;
  filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.34));
  animation: detailNodePulse 4.2s ease-in-out infinite;
}

.system-error-svg__node--a {
  animation-delay: 0.1s;
}

.system-error-svg__node--b {
  fill: #00d4ff;
  animation-delay: 0.36s;
}

.system-error-svg__node--core {
  fill: #ffd93d;
  animation-delay: 0.56s;
}

.system-error-svg__node--c {
  fill: #76ffc2;
  animation-delay: 0.82s;
}

.system-error-svg__node--d {
  fill: #ff9c67;
  animation-delay: 1.04s;
}

.system-error-svg__core-halo {
  animation: detailHaloBreathe 4.8s ease-in-out infinite;
}

.footer-bottom-shield {
  align-items: center;
}

.footer-shield-link {
  opacity: 0.44;
}

.footer-shield-link:hover,
.footer-shield-link:focus-visible {
  opacity: 1;
}

@keyframes startupDiffuseSweep {
  from {
    opacity: 0.92;
    clip-path: inset(0 100% 0 0 round 0);
    transform: translate3d(-4%, 0, 0);
  }
  42% {
    opacity: 0.78;
  }
  to {
    opacity: 0;
    clip-path: inset(0 0 0 0 round 0);
    transform: translate3d(4%, 0, 0);
  }
}

@keyframes startupDiffuseFade {
  from { opacity: 0.56; }
  to { opacity: 0; }
}

@media (max-width: 1040px) {
  .research-hero,
  .research-body,
  .paper-library-layout,
  .atlas-links {
    grid-template-columns: 1fr;
  }

  .atlas-command,
  .atlas-shell--interactive,
  .system-state-shell,
  .contact-board__card,
  .profile-board__shell {
    grid-template-columns: 1fr;
  }

  .metric-board,
  .formula-layout,
  .paper-board__grid,
  .detail-matrix,
  .system-state__stats,
  .technical-grid__cards,
  .technical-grid__cards--compact,
  .process-grid,
  .timeline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .header-balance {
    width: 104px;
  }

  .research-hero {
    padding-top: 2.4rem;
  }

  .route-title {
    font-size: clamp(1.88rem, 12vw, 3rem);
    line-height: 0.94;
  }

  .metric-board,
  .formula-layout,
  .paper-board__grid,
  .paper-library-layout,
  .detail-side-cluster,
  .detail-visual-row,
  .dossier-grid__panels,
  .dossier-grid__panels--longform,
  .detail-matrix,
  .atlas-links,
  .atlas-detail__stats,
  .system-state__stats,
  .technical-grid__cards,
  .technical-grid__cards--compact,
  .process-grid,
  .timeline-grid,
  .profile-board__stats {
    grid-template-columns: 1fr;
  }

  .research-hero__copy,
  .research-hero__visual,
  .research-body__sections,
  .research-body__visuals,
  .paper-library-column,
  .atlas-shell,
  .atlas-shell--interactive,
  .system-state-card,
  .system-state__copy,
  .system-state__visual {
    padding: 0.92rem;
    border-radius: 22px;
  }

  .atlas-constellation svg {
    min-height: 560px;
  }

  .benchmark-board__rows .benchmark-row {
    grid-template-columns: 1fr;
  }
}


/* Final stack overrides: authoritative hero layout, readable scaling, and non-blur diffusion reveal */

.stack-main {
  padding-top: clamp(4.6rem, 7vw, 6.1rem);
}

.reveal {
  filter: none;
}

.reveal.is-visible {
  filter: none;
}

.page-entry-signal {
  margin-top: 0;
}

.page-entry-arrow-glyph {
  font-family: "IBM Plex Mono", monospace;
}

.hero {
  padding-top: clamp(1.1rem, 2vw, 1.8rem);
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  gap: clamp(1rem, 1.8vw, 1.7rem);
  align-items: stretch;
}

.hero-copy {
  padding-top: 0.2rem;
  overflow: visible;
}

.brand-animation-inline {
  margin: 0 0 0.9rem;
  transform: scale(0.9);
  transform-origin: left center;
}

.hero-title {
  margin: 0.85rem 0 0.95rem;
  max-width: min(11.75ch, 100%);
  font: 700 clamp(1.5rem, 3.7vw, 4.25rem)/0.92 "Syncopate", sans-serif;
  letter-spacing: 0.014em;
  gap: 0.1em;
  word-break: normal;
  overflow-wrap: normal;
  text-wrap: balance;
}

.hero-title-line {
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
}

.hero-subtitle {
  max-width: 58ch;
  font-size: clamp(0.98rem, 1.45vw, 1.18rem);
  line-height: 1.62;
}

.hero-abstract {
  margin-top: 1.15rem;
}

.hero-visual {
  min-height: clamp(500px, 52vw, 680px);
}

.hero-visual-ledger {
  z-index: 2;
}

.card-one {
  top: 28px;
  right: 24px;
}

.card-two {
  left: 24px;
  bottom: 24px;
}

.route-title {
  max-width: min(13ch, 100%);
  font: 700 clamp(1.75rem, 4vw, 4.4rem)/0.93 "Syncopate", sans-serif;
  letter-spacing: 0.015em;
  word-break: normal;
  overflow-wrap: normal;
  text-wrap: balance;
}

.research-hero {
  align-items: stretch;
}

.research-hero__copy {
  overflow: visible;
}

.diffuse-text,
[data-diffuse] {
  text-shadow:
    0 0 14px rgba(0, 212, 255, 0.12),
    0 0 34px rgba(0, 212, 255, 0.06),
    0 0 72px rgba(255, 124, 88, 0.03);
}

[data-diffuse] {
  transition: text-shadow 0.3s ease, opacity 0.3s ease;
}

[data-diffuse].is-diffused {
  text-shadow:
    0 0 14px rgba(0, 212, 255, 0.16),
    0 0 30px rgba(118, 255, 194, 0.07),
    0 0 52px rgba(255, 124, 88, 0.04);
}

@media (max-width: 1160px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.92fr);
  }

  .hero-title {
    max-width: min(12.4ch, 100%);
    font-size: clamp(1.48rem, 3.2vw, 3.8rem);
  }

  .route-title {
    max-width: min(14ch, 100%);
    font-size: clamp(1.7rem, 3.6vw, 3.7rem);
  }
}

@media (max-width: 980px) {
  .stack-main {
    padding-top: 4.9rem;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .brand-animation-inline {
    transform: none;
  }

  .hero-title {
    max-width: 100%;
    font-size: clamp(1.42rem, 8vw, 3.2rem);
  }

  .hero-title-line {
    white-space: normal;
  }

  .hero-visual {
    min-height: 460px;
  }

  .route-title {
    max-width: 100%;
    font-size: clamp(1.62rem, 7vw, 3.25rem);
  }
}

@media (max-width: 720px) {
  .stack-main {
    padding-top: 4.55rem;
  }

  .site-header {
    padding-top: max(0.28rem, env(safe-area-inset-top));
  }

  .hero {
    padding-top: 0.7rem;
  }

  .hero-title {
    line-height: 0.96;
  }

  .hero-subtitle,
  .lead {
    font-size: 0.96rem;
    line-height: 1.66;
  }

  .hero-visual {
    min-height: 400px;
  }

  .card-one,
  .card-two {
    left: 16px;
    right: 16px;
    max-width: none;
  }

  .card-one {
    top: 16px;
  }

  .card-two {
    bottom: 16px;
  }
}

body.app-loading {
  overflow: hidden;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.42s ease, visibility 0.42s ease;
}

.page-loader.is-active {
  opacity: 1;
  visibility: visible;
}

.page-loader__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 46%, rgba(0, 212, 255, 0.12), transparent 24%),
    radial-gradient(circle at 16% 84%, rgba(255, 124, 88, 0.1), transparent 20%),
    linear-gradient(180deg, rgba(3, 9, 16, 0.8), rgba(3, 8, 16, 0.96));
  backdrop-filter: blur(18px);
}

.page-loader__panel {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  padding: 1.4rem 1.4rem 1.5rem;
  border-radius: 30px;
  border: 1px solid rgba(89, 152, 194, 0.24);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), transparent),
    linear-gradient(145deg, rgba(7, 18, 31, 0.92), rgba(5, 14, 25, 0.95));
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  display: grid;
  gap: 1rem;
  overflow: hidden;
}

.page-loader__panel::before {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background:
    linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.16), transparent),
    linear-gradient(90deg, transparent, rgba(118, 255, 194, 0.1), transparent);
  transform: translateX(-65%);
  animation: pageLoaderSweep 1.5s linear forwards;
  pointer-events: none;
}

.page-loader__mark-shell {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 180px;
}

.page-loader__mark {
  width: min(180px, 46vw);
  height: auto;
  filter: drop-shadow(0 0 32px rgba(0, 212, 255, 0.24));
}

.page-loader__orbit,
.page-loader__hex,
.page-loader__spokes {
  fill: none;
  stroke: url(#page-loader-gradient);
}

.page-loader__orbit {
  stroke-width: 1.4;
  stroke-dasharray: 18 10;
  opacity: 0.46;
  animation: pageLoaderSpin 8s linear infinite;
}

.page-loader__orbit--inner {
  animation-direction: reverse;
  animation-duration: 6s;
}

.page-loader__hex {
  stroke-width: 2;
  stroke-dasharray: 380;
  stroke-dashoffset: 380;
  animation: pageLoaderDraw 1.15s ease forwards;
}

.page-loader__spokes {
  stroke-width: 1.3;
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
  opacity: 0.8;
  animation: pageLoaderDraw 1s ease forwards 0.16s;
}

.page-loader__core {
  fill: url(#page-loader-gradient);
  opacity: 0;
  animation: pageLoaderCore 0.42s ease forwards 0.62s;
}

.page-loader__pulse {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 1px solid rgba(0, 212, 255, 0.18);
  transform: translate(-50%, -50%) scale(0.6);
  opacity: 0;
}

.page-loader__pulse--a {
  animation: pageLoaderPulse 1.45s ease-out infinite;
}

.page-loader__pulse--b {
  animation: pageLoaderPulse 1.45s ease-out infinite 0.5s;
}

.page-loader__copy {
  display: grid;
  gap: 0.55rem;
}

.page-loader__eyebrow {
  color: var(--aqua);
  font: 700 0.74rem/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.22em;
}

.page-loader__copy strong {
  color: #f4fbff;
  font: 700 clamp(1.28rem, 3.2vw, 2.28rem)/1 "Syncopate", sans-serif;
  letter-spacing: 0.08em;
}

.page-loader__copy p {
  margin: 0;
  color: #bfd5e3;
  line-height: 1.7;
}

.page-loader__status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  color: #d8edf6;
  font: 600 0.76rem/1.2 "IBM Plex Mono", monospace;
  text-transform: uppercase;
}

.page-loader__status-row span {
  border-radius: 999px;
  padding: 0.38rem 0.64rem;
  border: 1px solid rgba(89, 152, 194, 0.22);
  background: rgba(8, 21, 36, 0.68);
}

.page-loader__progress {
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(89, 152, 194, 0.18);
  background: rgba(7, 19, 31, 0.7);
}

.page-loader__progress span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(0, 212, 255, 0.24), rgba(118, 255, 194, 0.92), rgba(255, 217, 61, 0.58), rgba(255, 124, 88, 0.42));
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.22);
  animation: pageLoaderBar 1.45s cubic-bezier(.22,.84,.18,1) forwards;
}

@keyframes pageLoaderSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pageLoaderDraw {
  to { stroke-dashoffset: 0; }
}

@keyframes pageLoaderCore {
  from { opacity: 0; transform: scale(0.35); transform-origin: center; }
  to { opacity: 1; transform: scale(1); transform-origin: center; }
}

@keyframes pageLoaderPulse {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.46);
  }
  28% {
    opacity: 0.46;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.18);
  }
}

@keyframes pageLoaderBar {
  from { width: 0%; }
  to { width: 100%; }
}

@keyframes pageLoaderSweep {
  from { transform: translateX(-65%); }
  to { transform: translateX(65%); }
}

@media (max-width: 720px) {
  .page-loader {
    padding: 1rem;
  }

  .page-loader__panel {
    padding: 1.1rem 1rem 1.2rem;
    border-radius: 24px;
  }

  .page-loader__mark-shell {
    min-height: 150px;
  }

  .page-loader__status-row {
    gap: 0.45rem;
  }
}

/* Final header and hero alignment overrides */

.site-header {
  background: linear-gradient(180deg, rgba(3, 7, 16, 0.94), rgba(3, 7, 16, 0.72));
  border-bottom-color: rgba(81, 136, 170, 0.18);
}

.header-inner {
  min-height: 58px;
  grid-template-columns: minmax(168px, 1fr) auto minmax(168px, 1fr);
  gap: 0.7rem;
  padding: 0.22rem 0;
}

.brand {
  min-width: 0;
}

.brand-logo-image {
  display: block;
  width: clamp(124px, 9.6vw, 176px);
}

.nav-toggle {
  min-width: 116px;
  height: 38px;
  padding: 0 0.84rem 0 0.72rem;
}

.nav-toggle-label {
  font-size: 0.6rem;
}

.header-balance {
  width: clamp(124px, 9.6vw, 176px);
}

body.is-scrolled .header-inner,
.site-header.is-scrolled .header-inner {
  min-height: 50px;
  padding: 0.14rem 0;
}

body.is-scrolled .brand-logo-image,
.site-header.is-scrolled .brand-logo-image {
  width: clamp(118px, 8.9vw, 162px);
}

body.is-scrolled .nav-toggle,
.site-header.is-scrolled .nav-toggle {
  min-width: 108px;
  height: 34px;
}

.stack-main {
  padding-top: clamp(5.35rem, 7.5vw, 6.5rem);
}

.page-entry-signal {
  margin-top: 0.3rem;
}

.hero {
  padding-top: clamp(1.4rem, 2.4vw, 2.3rem);
}

.hero-copy {
  padding-top: 0.5rem;
}

.brand-animation-inline {
  margin-top: 0.1rem;
  margin-bottom: 1.05rem;
}

.brand-animation-word {
  font-size: clamp(1.22rem, 3.5vw, 3.1rem);
}

.brand-animation-mark {
  width: clamp(80px, 11vw, 126px);
}

.hero-title {
  max-width: min(10.6ch, 100%);
  font-size: clamp(1.36rem, 3.5vw, 3.9rem);
}

.hero-subtitle,
.hero-abstract .lead {
  max-width: 60ch;
}

.hero-visual {
  min-height: clamp(520px, 48vw, 660px);
}

@media (max-width: 1080px) {
  .stack-main {
    padding-top: 5rem;
  }

  .hero-title {
    max-width: min(11.4ch, 100%);
    font-size: clamp(1.34rem, 3.2vw, 3.3rem);
  }
}

@media (max-width: 880px) {
  .header-inner {
    min-height: 52px;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .header-balance {
    display: none;
  }

  .brand-logo-image {
    width: clamp(116px, 34vw, 154px);
  }

  .nav-toggle {
    min-width: 104px;
    height: 36px;
  }

  .stack-main {
    padding-top: 4.7rem;
  }

  .page-entry-signal {
    margin-top: 0.15rem;
  }

  .hero {
    padding-top: 1rem;
  }
}

.site-footer {
  padding-top: 2.1rem;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) repeat(3, minmax(0, 0.78fr));
  gap: clamp(1rem, 1.8vw, 1.5rem);
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 0;
}

.footer-brand-logo {
  width: clamp(152px, 15vw, 230px);
}

.footer-grid h4,
.footer-grid p,
.footer-grid a {
  margin-top: 0;
}

.footer-grid p {
  max-width: 46ch;
}

.footer-bottom.footer-bottom-shield {
  align-items: center;
}

@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .footer-bottom.footer-bottom-shield {
    flex-direction: row;
    align-items: center;
  }
}

/* Final desktop header and hero composition fix */

.site-header {
  z-index: 520;
  backdrop-filter: blur(18px) saturate(140%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  gap: 1rem;
}

.header-balance {
  display: none;
}

.brand {
  flex: 0 0 auto;
}

.nav-toggle {
  margin-left: auto;
  justify-self: auto;
}

.stack-main {
  padding-top: clamp(6.1rem, 8vw, 7.1rem);
}

.page-entry-signal {
  margin-top: 0.45rem;
}

.hero {
  align-items: start;
  gap: clamp(1rem, 1.6vw, 1.4rem);
}

.hero-copy {
  min-width: 0;
}

.hero-title {
  max-width: min(9.4ch, 100%);
  font-size: clamp(1.26rem, 3.28vw, 3.45rem);
}

.hero-visual {
  align-self: start;
  min-height: 640px;
  height: min(640px, calc(100vh - 168px));
  max-height: 640px;
}

.hero-web,
.hero-grid,
.hero-scan {
  border-radius: inherit;
}

.hero-visual-ledger {
  max-width: 238px;
}

.card-one {
  top: 18px;
  right: 18px;
}

.card-two {
  left: 18px;
  bottom: 18px;
}

@media (max-width: 1180px) {
  .hero-title {
    max-width: min(10.2ch, 100%);
    font-size: clamp(1.22rem, 3vw, 3rem);
  }

  .hero-visual {
    min-height: 580px;
    height: min(580px, calc(100vh - 160px));
    max-height: 580px;
  }
}

@media (max-width: 980px) {
  .site-header {
    backdrop-filter: blur(14px) saturate(130%);
  }

  .header-inner {
    min-height: 54px;
  }

  .stack-main {
    padding-top: 4.95rem;
  }

  .page-entry-signal {
    margin-top: 0.18rem;
  }

  .hero {
    align-items: stretch;
  }

  .hero-visual {
    height: auto;
    max-height: none;
    min-height: 430px;
  }
}

.hero-copy {
  position: relative;
  z-index: 3;
  overflow: clip;
}

.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-title {
  max-width: min(8.8ch, 100%);
}

@media (max-width: 1180px) {
  .hero-title {
    max-width: min(9.5ch, 100%);
  }
}

@media (max-width: 980px) {
  .hero-copy {
    overflow: visible;
  }

  .hero-title {
    max-width: 100%;
  }
}
