:root {
  --ink: #f1f5e9;
  --muted: #929c91;
  --faint: #667067;
  --base: #070a08;
  --panel: #0c110e;
  --panel-2: #111813;
  --line: rgba(224, 237, 216, 0.16);
  --line-strong: rgba(224, 237, 216, 0.3);
  --signal: #baff39;
  --cyan: #51f6ff;
  --orange: #ff6847;
  --paper: #e9e8df;
  --black: #0b0d0b;
  --header-height: 72px;
  --page-pad: clamp(20px, 4vw, 68px);
  --display: "Avenir Next Condensed", "DIN Condensed", "Hiragino Kaku Gothic ProN", sans-serif;
  --body: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --mono: "SFMono-Regular", "Roboto Mono", "Menlo", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--base);
  font-family: var(--body);
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 4px;
}

::selection {
  color: var(--black);
  background: var(--signal);
}

.page-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(186, 255, 57, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(186, 255, 57, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 12% 8%, rgba(81, 246, 255, 0.07), transparent 25%),
    radial-gradient(circle at 89% 32%, rgba(255, 104, 71, 0.07), transparent 22%);
  background-size: 48px 48px, 48px 48px, 100% 100%, 100% 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 10px var(--page-pad);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 10, 8, 0.91);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  width: fit-content;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--black);
  background: var(--signal);
  border-radius: 50%;
  font: 800 0.78rem/1 var(--mono);
  letter-spacing: -0.08em;
  box-shadow: 0 0 28px rgba(186, 255, 57, 0.18);
}

.brand-copy {
  display: grid;
  line-height: 1.2;
}

.brand-copy strong {
  font: 700 0.76rem/1.2 var(--mono);
  letter-spacing: 0.09em;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.7rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  position: relative;
  padding: 12px 16px;
  color: var(--muted);
  font-size: 0.77rem;
  font-weight: 700;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 5px;
  height: 1px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover {
  color: var(--ink);
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.header-meta {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
  font: 700 0.66rem/1 var(--mono);
  letter-spacing: 0.08em;
}

.spark-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
}

.spark-indicator i,
.hero-status dd span,
.live-signal i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 12px var(--signal);
  animation: signalPulse 1.8s ease-in-out infinite;
}

.spark-indicator b {
  color: var(--ink);
}

.document-box-link {
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line-strong);
}

.document-box-link:hover {
  color: var(--signal);
  border-color: var(--signal);
}

.hero {
  min-height: calc(100svh - var(--header-height));
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  grid-template-rows: 1fr auto auto;
  column-gap: clamp(36px, 6vw, 110px);
  padding: clamp(52px, 7vh, 104px) var(--page-pad) 0;
  overflow: hidden;
}

.hero-copy {
  align-self: center;
  max-width: 780px;
  animation: riseIn 680ms both;
}

.protocol-label,
.section-index,
.route-index {
  margin: 0;
  color: var(--signal);
  font: 800 0.68rem/1.4 var(--mono);
  letter-spacing: 0.13em;
}

.protocol-label span {
  display: inline-block;
  margin-right: 12px;
  padding: 4px 7px;
  color: var(--black);
  background: var(--signal);
}

.hero h1 {
  max-width: 850px;
  margin: 25px 0 26px;
  font: 800 clamp(4rem, 7.7vw, 8.4rem)/0.88 var(--display);
  letter-spacing: -0.065em;
}

.hero h1 em {
  color: transparent;
  font-style: normal;
  -webkit-text-stroke: 1px rgba(241, 245, 233, 0.72);
}

.hero-lead {
  max-width: 650px;
  margin: 0;
  color: #b8c0b6;
  font-size: clamp(0.94rem, 1.2vw, 1.08rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.primary-link,
.secondary-link {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  font-size: 0.82rem;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.primary-link {
  min-width: 238px;
  color: var(--black);
  background: var(--signal);
  border-color: var(--signal);
}

.primary-link:hover,
.secondary-link:hover {
  transform: translateY(-3px);
}

.primary-link span {
  font: 900 1.25rem/1 var(--mono);
}

.secondary-link:hover {
  color: var(--signal);
  border-color: var(--signal);
}

.hero-machine {
  position: relative;
  align-self: center;
  min-height: 510px;
  display: grid;
  place-items: center;
  animation: riseIn 780ms 120ms both;
}

.hero-machine::before,
.hero-machine::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-top: 1px solid var(--signal);
  border-left: 1px solid var(--signal);
}

.hero-machine::before {
  top: 0;
  left: 0;
}

.hero-machine::after {
  right: 0;
  bottom: 0;
  transform: rotate(180deg);
}

.machine-radar {
  position: relative;
  width: min(37vw, 430px);
  aspect-ratio: 1;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(186, 255, 57, 0.08), rgba(186, 255, 57, 0.015) 45%, transparent 68%);
  overflow: hidden;
  box-shadow: inset 0 0 80px rgba(186, 255, 57, 0.025), 0 0 120px rgba(81, 246, 255, 0.04);
}

.radar-ring,
.radar-axis,
.radar-sweep,
.radar-core,
.radar-node {
  position: absolute;
}

.radar-ring {
  top: 50%;
  left: 50%;
  border: 1px solid var(--line);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.ring-one { width: 78%; height: 78%; }
.ring-two { width: 52%; height: 52%; }
.ring-three { width: 26%; height: 26%; }

.radar-axis {
  background: var(--line);
}

.axis-x { top: 50%; left: 0; width: 100%; height: 1px; }
.axis-y { top: 0; left: 50%; width: 1px; height: 100%; }

.radar-sweep {
  inset: 50% 50% 0 0;
  transform-origin: 100% 0;
  background: linear-gradient(28deg, transparent 50%, rgba(186, 255, 57, 0.24));
  clip-path: polygon(100% 0, 0 100%, 100% 38%);
  animation: radarSweep 5.8s linear infinite;
}

.radar-core {
  top: 50%;
  left: 50%;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  color: var(--black);
  background: var(--signal);
  border-radius: 50%;
  font: 900 2.4rem/1 var(--display);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 52px rgba(186, 255, 57, 0.35);
}

.radar-node {
  width: 9px;
  height: 9px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 14px var(--cyan);
}

.node-a { top: 21%; left: 61%; }
.node-b { top: 63%; left: 25%; border-color: var(--orange); box-shadow: 0 0 14px var(--orange); }
.node-c { top: 73%; left: 72%; }

.machine-sequence {
  position: absolute;
  right: -6px;
  bottom: 18px;
  width: min(78%, 420px);
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  border: 1px solid var(--line-strong);
  background: rgba(7, 10, 8, 0.88);
  backdrop-filter: blur(10px);
}

.machine-sequence li {
  min-width: 0;
  padding: 12px;
  border-right: 1px solid var(--line);
}

.machine-sequence li:last-child {
  border-right: 0;
}

.machine-sequence span,
.machine-sequence strong,
.machine-sequence small {
  display: block;
}

.machine-sequence span {
  color: var(--signal);
  font: 700 0.6rem/1 var(--mono);
}

.machine-sequence strong {
  margin-top: 12px;
  font: 800 0.6rem/1.2 var(--mono);
  letter-spacing: -0.02em;
}

.machine-sequence small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.61rem;
  line-height: 1.35;
}

.hero-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 44px 0 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.hero-stats > div {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-stats dt {
  color: var(--muted);
  font: 700 0.62rem/1.35 var(--mono);
  letter-spacing: 0.08em;
}

.hero-stats dd {
  margin: 0;
  font: 800 clamp(1.5rem, 2.3vw, 2.5rem)/1 var(--display);
}

.hero-status dd {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--signal);
  font: 800 0.68rem/1 var(--mono);
  letter-spacing: 0.08em;
}

.hero-category-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-left: 1px solid var(--line);
}

.hero-category-strip button {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  color: var(--muted);
  background: rgba(12, 17, 14, 0.64);
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  font-size: 0.66rem;
  font-weight: 700;
  text-align: left;
  transition: color 150ms ease, background 150ms ease;
}

.hero-category-strip button:hover,
.hero-category-strip button[aria-pressed="true"] {
  color: var(--ink);
  background: rgba(186, 255, 57, 0.1);
}

.hero-category-strip button span {
  color: var(--signal);
  font: 700 0.58rem/1 var(--mono);
}

.atlas-section,
.signals-section,
.reference-section {
  padding: clamp(76px, 10vw, 150px) var(--page-pad);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  align-items: end;
  gap: clamp(38px, 7vw, 120px);
  margin-bottom: 54px;
}

.section-heading h2 {
  margin: 13px 0 0;
  font: 800 clamp(2.7rem, 5vw, 5.8rem)/0.98 var(--display);
  letter-spacing: -0.05em;
}

.atlas-line {
  display: block;
}

.section-heading > p {
  max-width: 640px;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.94rem;
}

.atlas-controls {
  display: grid;
  grid-template-columns: minmax(310px, 0.9fr) minmax(0, 1.6fr);
  border: 1px solid var(--line);
  border-bottom: 0;
  background: rgba(12, 17, 14, 0.72);
}

.search-control {
  min-height: 74px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 13px 16px;
  border-right: 1px solid var(--line);
}

.search-control > span {
  color: var(--signal);
  font: 700 0.61rem/1 var(--mono);
  letter-spacing: 0.08em;
}

.search-control input {
  min-width: 0;
  padding: 9px 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  outline: 0;
  font-size: 0.78rem;
}

.search-control input::placeholder {
  color: var(--faint);
}

.search-control input:focus {
  border-color: var(--signal);
}

.search-control kbd {
  padding: 6px 8px;
  color: var(--muted);
  background: var(--base);
  border: 1px solid var(--line);
  border-radius: 3px;
  font: 600 0.6rem/1 var(--mono);
}

.territory-filters {
  display: grid;
  grid-template-columns: repeat(7, minmax(70px, 1fr));
}

.territory-filters button {
  min-height: 73px;
  padding: 8px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  cursor: pointer;
  font-size: 0.66rem;
  font-weight: 700;
}

.territory-filters button:last-child {
  border-right: 0;
}

.territory-filters button:hover,
.territory-filters button[aria-pressed="true"] {
  color: var(--black);
  background: var(--signal);
}

.atlas-shell {
  display: grid;
  grid-template-columns: minmax(245px, 0.25fr) minmax(0, 1fr);
  min-height: 760px;
  border: 1px solid var(--line);
  background: rgba(7, 10, 8, 0.72);
}

.category-console {
  min-width: 0;
  border-right: 1px solid var(--line);
  background: rgba(10, 14, 11, 0.94);
}

.category-console > header {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font: 700 0.59rem/1 var(--mono);
  letter-spacing: 0.08em;
}

.category-console > header b {
  color: var(--signal);
}

.category-group > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 15px 8px;
  color: var(--faint);
  font: 700 0.54rem/1.2 var(--mono);
  letter-spacing: 0.09em;
}

.category-group > header small {
  font-family: var(--body);
  letter-spacing: 0;
}

.category-button {
  position: relative;
  width: 100%;
  min-height: 66px;
  display: grid;
  grid-template-columns: 25px 28px 1fr;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(224, 237, 216, 0.07);
  cursor: pointer;
  text-align: left;
  transition: color 140ms ease, background 140ms ease;
}

.category-button::before {
  content: "";
  position: absolute;
  top: -1px;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--item-accent);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 160ms ease;
}

.category-button:hover,
.category-button[aria-pressed="true"] {
  color: var(--ink);
  background: color-mix(in srgb, var(--item-accent) 8%, transparent);
}

.category-button[aria-pressed="true"]::before {
  transform: scaleY(1);
}

.category-number {
  color: var(--item-accent);
  font: 700 0.59rem/1 var(--mono);
}

.category-symbol {
  color: var(--item-accent);
  font: 400 1.35rem/1 var(--mono);
  text-align: center;
}

.category-button > span:last-child {
  min-width: 0;
  display: grid;
}

.category-button strong {
  font-size: 0.76rem;
}

.category-button small {
  margin-top: 3px;
  color: var(--faint);
  font: 600 0.5rem/1.2 var(--mono);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.category-view {
  min-width: 0;
  background:
    linear-gradient(90deg, transparent 49.9%, rgba(224, 237, 216, 0.035) 50%, transparent 50.1%),
    linear-gradient(rgba(224, 237, 216, 0.025) 1px, transparent 1px);
  background-size: 100% 100%, 100% 44px;
}

.category-view-header {
  min-height: 160px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: clamp(24px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}

.category-code {
  position: relative;
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border: 1px solid var(--active-accent);
  border-radius: 50%;
  color: var(--active-accent);
}

.category-code::before,
.category-code::after {
  content: "";
  position: absolute;
  background: var(--active-accent);
}

.category-code::before { left: -11px; width: 20px; height: 1px; }
.category-code::after { top: -11px; width: 1px; height: 20px; }

.category-code span {
  position: absolute;
  top: 7px;
  left: 13px;
  font: 700 0.54rem/1 var(--mono);
}

.category-code i {
  font: 400 2rem/1 var(--mono);
}

.category-view-header p {
  margin: 0 0 7px;
  color: var(--active-accent);
  font: 700 0.62rem/1.2 var(--mono);
  letter-spacing: 0.08em;
}

.category-view-header h3 {
  margin: 0;
  font: 800 clamp(2.2rem, 4vw, 4.3rem)/1 var(--display);
  letter-spacing: -0.045em;
}

.live-signal {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--active-accent);
  font: 700 0.6rem/1 var(--mono);
  letter-spacing: 0.08em;
}

.live-signal i {
  background: var(--active-accent);
  box-shadow: 0 0 12px var(--active-accent);
}

.technology-route {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 82px minmax(0, 1.15fr) 82px;
  border-bottom: 1px solid var(--line);
}

.route-block {
  min-height: 236px;
  padding: clamp(24px, 3vw, 42px);
}

.route-index {
  color: var(--active-accent);
}

.technology-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 24px;
}

.technology-chips a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 7px 9px;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.018);
  font: 600 0.68rem/1 var(--mono);
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.technology-chips a b {
  max-width: 0;
  color: var(--black);
  font-size: 0.46rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
  opacity: 0;
  overflow: hidden;
  transition: max-width 180ms ease, opacity 180ms ease;
}

.technology-chips a:hover,
.technology-chips a:focus-visible {
  color: var(--black);
  background: var(--active-accent);
  border-color: var(--active-accent);
  transform: translateY(-2px);
}

.technology-chips a:hover b,
.technology-chips a:focus-visible b {
  max-width: 90px;
  opacity: 1;
}

.technology-hint {
  max-width: 440px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.65;
}

.power-block {
  background: color-mix(in srgb, var(--active-accent) 5%, transparent);
}

.power-block > strong {
  display: block;
  max-width: 680px;
  margin-top: 21px;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  line-height: 1.65;
}

.power-block ul {
  margin: 19px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  list-style: none;
}

.power-block li {
  color: var(--muted);
  font-size: 0.74rem;
}

.power-block li::before {
  content: "+";
  margin-right: 7px;
  color: var(--active-accent);
  font-family: var(--mono);
}

.route-connector {
  position: relative;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  overflow: hidden;
}

.route-connector i {
  width: 1px;
  height: 100%;
  background: linear-gradient(transparent, var(--active-accent), transparent);
}

.route-connector span {
  position: absolute;
  padding: 8px 4px;
  color: var(--black);
  background: var(--active-accent);
  font: 800 0.49rem/1 var(--mono);
  letter-spacing: 0.08em;
  writing-mode: vertical-rl;
}

.category-services {
  padding: clamp(24px, 3vw, 42px);
}

.category-services > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.category-services > header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.74rem;
}

.focus-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.service-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 365px;
  padding: clamp(20px, 2.2vw, 30px);
  border: 1px solid var(--line);
  background: rgba(13, 19, 15, 0.94);
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 84px;
  height: 84px;
  background:
    linear-gradient(135deg, transparent 48.5%, var(--card-accent) 49%, var(--card-accent) 50%, transparent 50.5%),
    linear-gradient(45deg, transparent 48.5%, rgba(255, 255, 255, 0.11) 49%, rgba(255, 255, 255, 0.11) 50%, transparent 50.5%);
  opacity: 0.6;
}

.service-card:hover {
  z-index: 1;
  transform: translateY(-4px);
  border-color: var(--card-accent);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.service-card > header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.service-card > header > span {
  color: var(--card-accent);
  font: 800 0.62rem/1.2 var(--mono);
  letter-spacing: 0.09em;
}

.spark-button {
  padding: 8px 10px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
  font: 700 0.54rem/1 var(--mono);
  letter-spacing: 0.05em;
}

.spark-button:hover,
.spark-button[aria-pressed="true"] {
  color: var(--black);
  background: var(--card-accent);
  border-color: var(--card-accent);
}

.service-card h4 {
  max-width: 82%;
  margin: 26px 0 22px;
  font: 800 clamp(1.45rem, 2.25vw, 2.25rem)/1.08 var(--display);
  letter-spacing: -0.04em;
}

.service-problem,
.service-promise {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 14px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.service-problem > span,
.service-promise > span {
  color: var(--faint);
  font: 700 0.51rem/1.45 var(--mono);
  letter-spacing: 0.05em;
}

.service-problem p,
.service-promise p {
  margin: 0;
  color: #b5beb3;
  font-size: 0.73rem;
  line-height: 1.72;
}

.service-promise p {
  color: var(--ink);
}

.service-card > footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
}

.service-card > footer b {
  color: var(--card-accent);
  font: 700 0.56rem/1.4 var(--mono);
}

.service-card > footer div {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 5px;
}

.service-card > footer div span {
  padding: 4px 6px;
  color: var(--muted);
  border: 1px solid var(--line);
  font-size: 0.55rem;
}

.category-empty {
  min-height: 620px;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 40px;
  text-align: center;
}

.category-empty span {
  color: var(--orange);
  font: 700 0.66rem/1 var(--mono);
}

.category-empty h3 {
  margin: 16px 0 8px;
  font: 800 2rem/1.2 var(--display);
}

.category-empty p,
.filtered-note {
  color: var(--muted);
}

.signals-section {
  padding-top: 20px;
}

.compact-heading {
  align-items: end;
}

.result-summary {
  justify-self: end;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 12px;
}

.result-summary strong {
  grid-row: 1 / 3;
  font: 800 4.5rem/0.8 var(--display);
  color: var(--signal);
}

.result-summary span {
  color: var(--muted);
  font: 700 0.61rem/1 var(--mono);
  letter-spacing: 0.07em;
}

.result-summary button {
  width: fit-content;
  padding: 4px 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  cursor: pointer;
  font: 700 0.56rem/1 var(--mono);
}

.idea-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.catalog-card {
  min-height: 410px;
}

.empty-state {
  padding: 80px 20px;
  color: var(--muted);
  border: 1px solid var(--line);
  text-align: center;
}

.problem-section {
  padding: clamp(76px, 10vw, 150px) var(--page-pad);
  color: var(--black);
  background: var(--signal);
}

.inverse-heading .section-index {
  color: var(--black);
}

.inverse-heading > p {
  color: rgba(11, 13, 11, 0.68);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(11, 13, 11, 0.34);
  border-left: 1px solid rgba(11, 13, 11, 0.34);
}

.problem-card {
  position: relative;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(22px, 3vw, 38px);
  color: var(--black);
  background: transparent;
  border: 0;
  border-right: 1px solid rgba(11, 13, 11, 0.34);
  border-bottom: 1px solid rgba(11, 13, 11, 0.34);
  cursor: pointer;
  text-align: left;
  overflow: hidden;
  transition: color 180ms ease, background 180ms ease;
}

.problem-card:hover,
.problem-card[aria-pressed="true"] {
  color: var(--ink);
  background: var(--black);
}

.problem-number {
  position: absolute;
  top: 15px;
  right: 18px;
  font: 800 4.8rem/1 var(--display);
  opacity: 0.12;
}

.problem-radar {
  position: relative;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  margin-bottom: 48px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.problem-radar::before,
.problem-radar::after,
.problem-radar i {
  content: "";
  position: absolute;
  background: currentColor;
  opacity: 0.4;
}

.problem-radar::before { width: 100%; height: 1px; }
.problem-radar::after { width: 1px; height: 100%; }
.problem-radar i:first-child { width: 48%; height: 48%; border: 1px solid currentColor; border-radius: 50%; background: transparent; }
.problem-radar i:last-child { width: 5px; height: 5px; border-radius: 50%; transform: translate(21px, -15px); opacity: 1; }

.problem-radar b {
  font: 800 1.3rem/1 var(--display);
}

.problem-card > p {
  margin: 0;
  font: 700 0.6rem/1.3 var(--mono);
  letter-spacing: 0.06em;
  opacity: 0.7;
}

.problem-card h3 {
  margin: 8px 0 18px;
  font: 800 clamp(2.2rem, 3.3vw, 3.5rem)/1 var(--display);
  letter-spacing: -0.05em;
}

.problem-card > strong {
  max-width: 410px;
  font-size: 0.84rem;
  line-height: 1.85;
}

.problem-card > small {
  margin-top: auto;
  padding-top: 28px;
  font: 600 0.57rem/1.6 var(--mono);
  opacity: 0.65;
}

.spark-lab {
  position: relative;
  padding: clamp(76px, 10vw, 150px) var(--page-pad);
  color: var(--black);
  background:
    linear-gradient(rgba(11, 13, 11, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 13, 11, 0.045) 1px, transparent 1px),
    var(--paper);
  background-size: 42px 42px;
  overflow: hidden;
}

.spark-lab::after {
  content: "BUILD";
  position: absolute;
  top: 20px;
  right: -0.04em;
  color: rgba(11, 13, 11, 0.045);
  font: 900 clamp(8rem, 22vw, 24rem)/0.75 var(--display);
  letter-spacing: -0.09em;
  pointer-events: none;
}

.spark-lab-signal {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  min-height: 52px;
  margin-bottom: clamp(44px, 7vw, 92px);
  border-top: 1px solid rgba(11, 13, 11, 0.32);
  border-bottom: 1px solid rgba(11, 13, 11, 0.32);
}

.spark-lab-signal span {
  padding: 0 12px;
  font: 800 0.58rem/1 var(--mono);
  letter-spacing: 0.08em;
}

.spark-lab-signal i {
  height: 1px;
  background: rgba(11, 13, 11, 0.32);
}

.spark-lab-signal i::after {
  content: "›";
  float: right;
  margin-top: -8px;
  font: 700 1rem/1 var(--mono);
}

.spark-lab-heading {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: end;
  gap: clamp(34px, 8vw, 130px);
  margin-bottom: clamp(44px, 7vw, 84px);
}

.spark-lab-heading .section-index {
  color: #9b402d;
}

.spark-lab-heading h2 {
  margin: 18px 0 0;
  font: 800 clamp(3.1rem, 6vw, 7rem)/0.9 var(--display);
  letter-spacing: -0.065em;
}

.spark-lab-heading > p {
  margin: 0;
  color: rgba(11, 13, 11, 0.68);
  font-size: 0.9rem;
}

.spark-workspace {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  border: 1px solid rgba(11, 13, 11, 0.35);
  background: rgba(233, 232, 223, 0.92);
  box-shadow: 18px 18px 0 rgba(11, 13, 11, 0.09);
}

.spark-shelf {
  min-width: 0;
  border-right: 1px solid rgba(11, 13, 11, 0.35);
}

.spark-shelf > header {
  min-height: 118px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  border-bottom: 1px solid rgba(11, 13, 11, 0.25);
}

.spark-shelf .route-index {
  color: #9b402d;
}

.spark-shelf h3 {
  margin: 6px 0 0;
  font: 800 2rem/1 var(--display);
  letter-spacing: -0.04em;
}

.spark-shelf > header > strong {
  font: 700 0.58rem/1 var(--mono);
  letter-spacing: 0.08em;
}

.spark-shelf > header > strong b {
  display: block;
  margin-bottom: 8px;
  font: 900 2.7rem/0.7 var(--display);
}

.spark-grid {
  max-height: 680px;
  overflow-y: auto;
}

.spark-choice {
  width: 100%;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  color: var(--black);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(11, 13, 11, 0.22);
  cursor: pointer;
  text-align: left;
  transition: color 160ms ease, background 160ms ease;
}

.spark-choice:hover,
.spark-choice[aria-pressed="true"] {
  color: var(--ink);
  background: var(--black);
}

.spark-choice > span {
  color: var(--spark-accent);
  font: 700 0.58rem/1.3 var(--mono);
  letter-spacing: 0.05em;
}

.spark-choice > strong {
  margin: 12px 0 10px;
  font: 800 1.55rem/1.08 var(--display);
  letter-spacing: -0.035em;
}

.spark-choice > small {
  color: currentColor;
  font-size: 0.7rem;
  line-height: 1.65;
  opacity: 0.65;
}

.spark-choice > b {
  margin-top: auto;
  padding-top: 18px;
  color: var(--spark-accent);
  font: 700 0.56rem/1 var(--mono);
}

.spark-empty {
  margin: 0;
  padding: 48px 24px;
  color: rgba(11, 13, 11, 0.58);
  font-size: 0.76rem;
}

.build-brief {
  min-width: 0;
  padding: clamp(28px, 4vw, 58px);
  color: var(--ink);
  background: var(--black);
}

.build-brief > header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.build-brief > header span,
.brief-empty span {
  color: var(--signal);
  font: 800 0.6rem/1.3 var(--mono);
  letter-spacing: 0.08em;
}

.build-brief > header h3 {
  margin: 12px 0 0;
  font: 800 clamp(2.6rem, 5vw, 5.5rem)/0.9 var(--display);
  letter-spacing: -0.06em;
}

.build-brief > header button {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 14px;
  color: var(--black);
  background: var(--signal);
  border: 1px solid var(--signal);
  cursor: pointer;
  font: 800 0.56rem/1 var(--mono);
  letter-spacing: 0.06em;
}

.build-brief dl {
  margin: 0;
}

.build-brief dl > div {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 26px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.build-brief dt {
  color: var(--faint);
  font: 700 0.56rem/1.5 var(--mono);
  letter-spacing: 0.05em;
}

.build-brief dd {
  margin: 0;
  font-size: 0.83rem;
}

.brief-learning {
  margin-top: 34px;
  padding: 24px;
  color: var(--black);
  background: var(--signal);
}

.brief-learning > span {
  font: 800 0.56rem/1 var(--mono);
  letter-spacing: 0.08em;
}

.brief-learning > strong {
  display: block;
  max-width: 650px;
  margin-top: 15px;
  font-size: 0.86rem;
  line-height: 1.65;
}

.brief-learning > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 22px;
}

.brief-learning a {
  display: inline-flex;
  gap: 14px;
  padding: 8px 10px;
  border: 1px solid rgba(11, 13, 11, 0.32);
  font: 700 0.62rem/1 var(--mono);
}

.brief-learning a:hover {
  color: var(--ink);
  background: var(--black);
}

.brief-empty {
  min-height: 520px;
  display: grid;
  align-content: center;
  justify-items: start;
}

.brief-empty strong {
  display: block;
  margin-top: 22px;
  font: 800 clamp(2.4rem, 5vw, 5rem)/0.96 var(--display);
  letter-spacing: -0.055em;
}

.reference-section {
  padding-top: 44px;
  padding-bottom: 44px;
}

.reference-section details {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.reference-section summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  font: 700 0.67rem/1 var(--mono);
  letter-spacing: 0.07em;
  list-style: none;
}

.reference-section summary::-webkit-details-marker {
  display: none;
}

.reference-section summary span {
  color: var(--muted);
}

.reference-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding-bottom: 24px;
  background: var(--line);
  border: 1px solid var(--line);
}

.reference-grid a {
  min-height: 64px;
  display: flex;
  align-items: center;
  padding: 14px;
  color: var(--muted);
  background: var(--base);
  font-size: 0.7rem;
}

.reference-grid a:hover {
  color: var(--signal);
}

.site-footer {
  min-height: 88px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px var(--page-pad);
  color: var(--faint);
  border-top: 1px solid var(--line);
  font: 600 0.57rem/1.4 var(--mono);
  letter-spacing: 0.05em;
}

.site-footer a {
  justify-self: end;
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--signal);
}

noscript {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  padding: 12px;
  color: var(--black);
  background: var(--signal);
  font-size: 0.75rem;
}

@keyframes radarSweep {
  to { transform: rotate(360deg); }
}

@keyframes signalPulse {
  0%, 100% { opacity: 0.45; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.75fr);
  }

  .machine-radar {
    width: min(39vw, 390px);
  }

  .atlas-controls {
    grid-template-columns: 1fr;
  }

  .search-control {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .spark-workspace {
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 66px;
  }

  .header-meta .spark-indicator {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    min-height: 0;
    padding-top: 74px;
  }

  .hero h1 {
    font-size: clamp(4rem, 13vw, 7rem);
  }

  .hero-machine {
    min-height: 480px;
    margin-top: 48px;
  }

  .machine-radar {
    width: min(82vw, 420px);
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-category-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .section-heading,
  .spark-lab-heading {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
    gap: 24px;
  }

  .atlas-shell {
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
  }

  .category-console {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .category-rail {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .category-group {
    display: flex;
  }

  .category-group > header {
    display: none;
  }

  .category-button {
    width: 195px;
    flex: 0 0 195px;
    scroll-snap-align: start;
    border-right: 1px solid var(--line);
  }

  .technology-route {
    grid-template-columns: 1fr;
  }

  .route-connector {
    min-height: 48px;
    border: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .route-connector i {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--active-accent), transparent);
  }

  .route-connector span {
    padding: 5px 9px;
    writing-mode: horizontal-tb;
  }

  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .spark-workspace {
    grid-template-columns: 1fr;
  }

  .spark-shelf {
    border-right: 0;
    border-bottom: 1px solid rgba(11, 13, 11, 0.35);
  }

  .spark-grid {
    max-height: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reference-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  :root {
    --page-pad: 18px;
  }

  .site-header {
    min-height: 66px;
    padding-block: 8px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-copy strong {
    font-size: 0.62rem;
  }

  .brand-copy small {
    font-size: 0.59rem;
  }

  .header-meta {
    gap: 0;
  }

  .document-box-link {
    font-size: 0.55rem;
  }

  .hero {
    padding-top: 52px;
  }

  .protocol-label {
    font-size: 0.58rem;
  }

  .protocol-label span {
    display: table;
    margin-bottom: 8px;
  }

  .hero h1 {
    margin-top: 22px;
    font-size: clamp(3.5rem, 18vw, 5.4rem);
  }

  .hero h1 .question-line,
  .hero h1 .answer-line {
    display: inline-block;
    white-space: nowrap;
  }

  .hero h1 .question-line {
    font-size: 0.72em;
  }

  .hero h1 .answer-line {
    font-size: 0.78em;
  }

  .hero-lead {
    font-size: 0.86rem;
  }

  .hero-actions {
    display: grid;
  }

  .primary-link,
  .secondary-link {
    width: 100%;
  }

  .hero-machine {
    min-height: 390px;
  }

  .machine-radar {
    width: min(88vw, 350px);
  }

  .machine-sequence {
    right: 0;
    bottom: 0;
    width: 100%;
  }

  .machine-sequence li {
    padding: 9px 7px;
  }

  .machine-sequence strong {
    font-size: 0.48rem;
  }

  .machine-sequence small {
    display: none;
  }

  .hero-stats {
    margin-top: 28px;
  }

  .hero-stats > div {
    min-height: 76px;
    padding: 12px;
  }

  .hero-stats dt {
    max-width: 78px;
    font-size: 0.5rem;
  }

  .hero-status dd {
    font-size: 0.52rem;
  }

  .hero-category-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-category-strip button {
    min-height: 48px;
  }

  .atlas-section,
  .signals-section,
  .reference-section,
  .problem-section,
  .spark-lab {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .section-heading h2 {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

  .atlas-heading h2 {
    font-size: clamp(2.15rem, 9.2vw, 2.65rem);
  }

  .atlas-line {
    white-space: nowrap;
  }

  .section-heading > p {
    font-size: 0.84rem;
  }

  .search-control {
    grid-template-columns: 1fr auto;
  }

  .search-control > span {
    grid-column: 1 / -1;
  }

  .territory-filters {
    display: flex;
    overflow-x: auto;
  }

  .territory-filters button {
    min-width: 84px;
    flex: 0 0 auto;
  }

  .atlas-shell {
    min-height: 0;
  }

  .category-view-header {
    grid-template-columns: auto 1fr;
    min-height: 130px;
    gap: 16px;
    padding: 22px 18px;
  }

  .category-code {
    width: 62px;
    height: 62px;
  }

  .category-view-header h3 {
    font-size: 2.15rem;
  }

  .live-signal {
    grid-column: 1 / -1;
  }

  .route-block,
  .category-services {
    padding: 24px 18px;
  }

  .route-block {
    min-height: 0;
  }

  .category-services > header {
    align-items: start;
    flex-direction: column;
  }

  .focus-service-grid,
  .idea-grid,
  .problem-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .catalog-card {
    min-height: 390px;
    padding: 22px 18px;
  }

  .service-card h4 {
    font-size: 1.8rem;
  }

  .service-problem,
  .service-promise {
    grid-template-columns: 86px 1fr;
  }

  .compact-heading {
    gap: 32px;
  }

  .result-summary {
    justify-self: start;
  }

  .problem-card {
    min-height: 350px;
  }

  .spark-lab-signal {
    grid-template-columns: repeat(4, 1fr);
    min-height: 46px;
  }

  .spark-lab-signal i {
    display: none;
  }

  .spark-grid {
    grid-template-columns: 1fr;
  }

  .spark-choice {
    min-height: 170px;
  }

  .build-brief {
    padding: 28px 18px;
  }

  .build-brief > header {
    align-items: stretch;
    flex-direction: column;
  }

  .build-brief > header button {
    width: 100%;
  }

  .build-brief dl > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .reference-grid {
    grid-template-columns: 1fr;
  }

  .reference-section summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-block: 26px;
  }

  .site-footer span:nth-child(2) {
    display: none;
  }

  .site-footer a {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
