﻿:root {
  --ink: #080d0e;
  --ink-2: #111819;
  --ink-3: #182223;
  --paper: #f2f1ea;
  --paper-2: #e7e7de;
  --surface: #ffffff;
  --text: #152021;
  --muted: #4a5556;
  --muted-dark: #c5d0cf;
  --overlay: rgba(8, 13, 14, 0.52);
  --overlay-heavy: rgba(8, 13, 14, 0.72);
  --cache-bust: 7;
  --ratio-square: 1 / 1;
  --ratio-card: 4 / 3;
  --ratio-wide: 16 / 9;
  --ratio-hero-object: 1 / 1;
  --line: #cad0c9;
  --line-dark: #2b3737;
  --signal: #b8f34a;
  --signal-dark: #17200d;
  --aero: #7dc9d4;
  --warning: #ff9a52;
  --error: #d14343;
  --font-sans: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --font-mono: Consolas, "SFMono-Regular", "Liberation Mono", monospace;
  --container: min(1240px, calc(100vw - 48px));
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;
  --radius-sm: 4px;
  --radius-md: 10px;
  --ease: 220ms cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.modal-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Filled media frames override intrinsic/auto height */
.sub-hero-media img,
.priority-image img,
.map-visual img,
.media-visual img,
.test-visual img,
.application-horizon > img,
.blog-card-img img,
.article-cover img {
  height: 100%;
  max-width: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

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

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

p,
h1,
h2,
h3,
h4 {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: -0.04em;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
}

h2 {
  font-size: clamp(2.25rem, 4.2vw, 4.7rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 2000;
  padding: 10px 16px;
  background: var(--signal);
  color: var(--signal-dark);
  transform: translateY(-150%);
  transition: transform var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--signal);
}

.container {
  width: var(--container);
  max-width: 100%;
  margin-inline: auto;
}

.section {
  padding: var(--space-7) 0;
  position: relative;
}

.section-dark {
  background: var(--ink);
  color: var(--paper);
}

.section-alt {
  background: var(--paper-2);
}

.eyebrow,
.tech-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.section-dark .eyebrow,
.section-dark .tech-label {
  color: var(--aero);
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  background: currentColor;
  content: "";
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: var(--space-5);
  align-items: end;
  margin-bottom: var(--space-5);
}

.section-header h2 {
  max-width: 820px;
  margin-bottom: 0;
}

.section-header p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-dark .section-header p {
  color: var(--muted-dark);
}

/* Dark-section overrides — prevent black-on-black / low-contrast text */
.section-dark .inline-link {
  color: var(--aero);
}

.section-dark .inline-link::after {
  color: var(--aero);
}

.section-dark .process-step::before {
  background: var(--aero);
}

.section-dark .detail-card p {
  color: var(--muted-dark);
}

.section-dark .step-number {
  color: var(--muted-dark);
}

.btn {
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: normal;
  cursor: pointer;
  transition: color var(--ease), background var(--ease), border-color var(--ease), transform var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--signal);
  color: #0b1408 !important;
  border-color: var(--signal);
}

.btn-primary:hover {
  background: #d4ff6e;
  border-color: #d4ff6e;
  color: #0b1408 !important;
}

.btn-outline {
  border-color: var(--text);
  background: transparent;
  color: var(--text);
}

.btn-outline:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.section-dark .btn-outline,
.hero .btn-outline,
.sub-hero .btn-outline,
.spec-panel .btn-outline,
.site-footer .btn-outline {
  border-color: rgba(242, 241, 234, 0.75);
  color: var(--paper);
}

.section-dark .btn-outline:hover,
.hero .btn-outline:hover,
.sub-hero .btn-outline:hover,
.spec-panel .btn-outline:hover {
  background: var(--signal);
  border-color: var(--signal);
  color: #0b1408;
}

.section-dark .btn-primary,
.hero .btn-primary,
.sub-hero .btn-primary,
.spec-panel .btn-primary,
.modal-aside .btn-primary {
  background: var(--signal);
  color: #0b1408 !important;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-h);
  border-bottom: 1px solid rgba(242, 241, 234, 0.12);
  background: rgba(8, 13, 14, 0.82);
  color: var(--paper);
  backdrop-filter: blur(14px);
}

.nav-shell {
  width: var(--container);
  max-width: 100%;
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border: 1px solid var(--signal);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--signal);
}

.brand-mark svg {
  width: 21px;
  height: 21px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 36px);
}

.site-nav > a:not(.btn) {
  position: relative;
  padding: 26px 0 24px;
  color: #c6cfce;
  font-size: 0.86rem;
  font-weight: 600;
}

.site-nav > a:not(.btn)::after {
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  height: 2px;
  background: var(--signal);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--ease);
}

.site-nav > a:not(.btn):hover,
.site-nav > a:not(.btn)[aria-current="page"] {
  color: var(--paper);
}

.site-nav > a:not(.btn):hover::after,
.site-nav > a:not(.btn)[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-header .btn-primary,
.site-nav .btn-primary {
  background: var(--signal);
  color: #0b1408 !important;
  border-color: var(--signal);
}

.site-header .btn-primary:hover,
.site-nav .btn-primary:hover {
  background: #d4ff6e;
  border-color: #d4ff6e;
  color: #0b1408 !important;
}

/* ── Dropdown navigation ── */
.nav-dropdown {
  position: relative;
}

.nav-parent {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted-dark);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 12px 6px;
  transition: color var(--ease);
  white-space: nowrap;
}

.nav-parent::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 5px;
  margin-left: 2px;
  background: currentColor;
  clip-path: polygon(0 0, 50% 100%, 100% 0);
  opacity: 0.5;
  transition: transform var(--ease), opacity var(--ease);
}

.nav-parent:hover,
.nav-parent:focus-visible,
.nav-parent[aria-current="page"] {
  color: var(--paper);
}

.nav-parent:hover::after,
.nav-dropdown:focus-within .nav-parent::after {
  opacity: 1;
  transform: rotate(180deg);
}

.nav-submenu {
  position: absolute;
  top: 100%;
  left: -12px;
  min-width: 220px;
  padding: 8px 0;
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  z-index: 100;
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-submenu a {
  display: block;
  padding: 9px 18px;
  color: var(--muted-dark);
  text-decoration: none;
  font-size: 0.88rem;
  line-height: 1.4;
  transition: background var(--ease), color var(--ease);
}

.nav-submenu a:hover,
.nav-submenu a:focus-visible,
.nav-submenu a[aria-current="page"] {
  background: rgba(184, 243, 74, 0.08);
  color: var(--paper);
}

.nav-submenu a[aria-current="page"] {
  color: var(--signal);
}

/* Direct nav links (non-dropdown) */
.site-nav > a:not(.btn):not(.nav-parent) {
  color: var(--muted-dark);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 12px 6px;
  position: relative;
  transition: color var(--ease);
  white-space: nowrap;
}

.site-nav > a:not(.btn):not(.nav-parent)::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 6px;
  right: 6px;
  height: 1.5px;
  background: var(--signal);
  transform: scaleX(0);
  transition: transform var(--ease);
}

.site-nav > a:not(.btn):not(.nav-parent):hover,
.site-nav > a:not(.btn):not(.nav-parent)[aria-current="page"] {
  color: var(--paper);
}

.site-nav > a:not(.btn):not(.nav-parent):hover::after,
.site-nav > a:not(.btn):not(.nav-parent)[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Reset old nav link styles */
.site-nav > a:not(.btn) {
  color: var(--muted-dark);
}

.nav-toggle {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
}

/* ── Hero (centered, background image overlay) ── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  padding: var(--header-h) 0 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 13, 14, 0.48) 0%,
    rgba(8, 13, 14, 0.22) 35%,
    rgba(8, 13, 14, 0.40) 60%,
    rgba(8, 13, 14, 0.68) 100%
  );
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.hero-bg .concept-badge {
  position: absolute;
  z-index: 4;
  bottom: 16px;
  right: 16px;
  top: auto;
  left: auto;
  padding: 7px 9px;
  border: 1px solid rgba(242, 241, 234, 0.32);
  background: rgba(8, 13, 14, 0.65);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 60px) var(--space-2) 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content .eyebrow {
  margin-bottom: var(--space-3);
}

.hero-content h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
}

.hero-content h1 span {
  color: var(--signal);
}

.hero-lead {
  max-width: 580px;
  margin-bottom: 36px;
  color: #aeb9b8;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
}

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

.hero-meta {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(242, 241, 234, 0.18);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
}

.hero-meta strong {
  display: block;
  margin-bottom: 5px;
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.88rem;
}

.hero-meta span {
  color: #7e8c8b;
  font-size: 0.8rem;
}

/* ── Old hero-visual / visual-tag / hero-grid — removed (centered layout replaces two-column) ── */

.sub-hero-grid > *,
.section-header > *,
.media-split > *,
.test-layout > *,
.spec-panel-inner > * {
  min-width: 0;
}

/* legacy visual-tag — kept for any other pages that might use it */
.visual-tag {
  position: absolute;
  z-index: 3;
  padding: 9px 12px;
  border: 1px solid var(--line-dark);
  background: rgba(8, 13, 14, 0.65);
  color: var(--aero);
  font-family: var(--font-mono);
  font-size: 0.69rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.visual-tag.tag-a {
  top: 17%;
  right: 3%;
}

.visual-tag.tag-b {
  bottom: 18%;
  left: 2%;
}

.visual-tag::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--signal);
  content: "";
  box-shadow: 0 0 12px rgba(184, 243, 74, 0.65);
}

.intro-band {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}

.intro-band-grid {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 28px;
  align-items: center;
}

.intro-band p {
  max-width: 780px;
  margin: 0;
  font-size: 1.08rem;
}

.system-map {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line-dark);
}

.system-map-vertical {
  display: grid;
  grid-template-columns: 1fr !important;
  border: 1px solid var(--line-dark);
}

.system-map-vertical .system-node {
  border-right: 0;
  border-bottom: 1px solid var(--line-dark);
  min-height: auto;
  padding: 20px 24px;
}

.system-map-vertical .system-node:last-child {
  border-bottom: 0;
}

.system-node {
  position: relative;
  min-height: 240px;
  padding: 28px;
  border-right: 1px solid var(--line-dark);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--ink-2);
  transition: background var(--ease);
}

.system-node:last-child {
  border-right: 0;
}

.system-node:hover {
  background: var(--ink-3);
}

.system-node::after {
  position: absolute;
  top: 50%;
  right: -5px;
  z-index: 2;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--signal);
  content: "";
  transform: translateY(-50%);
}

.system-node:last-child::after {
  display: none;
}

.node-id {
  color: var(--aero);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

.system-node h3 {
  margin: 42px 0 10px;
  font-size: 1.55rem;
}

.system-node p {
  margin: 0;
  color: var(--muted-dark);
  font-size: 0.92rem;
}

.map-visual {
  position: relative;
  margin-top: 36px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--paper);
  width: 100%;
  max-width: 820px;
  margin-inline: auto;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}

.map-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

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

.priority-card {
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  background: var(--surface);
  min-height: 0;
}

.priority-image {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  width: 100%;
  aspect-ratio: var(--ratio-card);
  flex-shrink: 0;
}

.priority-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.priority-card:hover .priority-image img {
  transform: scale(1.025);
}

.priority-copy {
  padding: clamp(28px, 4vw, 46px);
}

.priority-copy h3 {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.priority-copy p {
  color: var(--muted);
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.inline-link::after {
  content: "→";
  color: var(--signal);
  transition: transform var(--ease);
}

.inline-link:hover::after {
  transform: translateX(5px);
}

.component-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.component-card {
  min-height: 270px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  background: var(--paper);
  transition: background var(--ease), color var(--ease);
}

.component-card:hover {
  background: var(--ink);
  color: var(--paper);
}

.component-card .card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 44px;
  color: var(--text);
}

.component-card:hover .card-icon {
  color: var(--signal);
}

.component-card h3 {
  margin-bottom: 10px;
}

.component-card p {
  margin: 0;
  color: var(--muted);
}

.component-card:hover p {
  color: var(--muted-dark);
}

.process-rail {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line);
}

.process-rail-3 {
  grid-template-columns: repeat(3, 1fr);
}

.process-step {
  position: relative;
  min-height: 260px;
  padding: 26px 22px;
  border-right: 1px solid var(--line);
}

.process-step:last-child {
  border-right: 0;
}

.process-step::before {
  position: absolute;
  top: -5px;
  left: 20px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--text);
  content: "";
}

.process-step:first-child::before,
.process-step:last-child::before {
  background: var(--signal);
}

.step-number {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

.process-step h3 {
  margin: 55px 0 12px;
  font-size: 1.25rem;
}

.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.test-layout,
.media-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 6vw, 88px);
  align-items: stretch;
}

.test-layout .test-visual {
  aspect-ratio: auto;
  height: 100%;
  min-height: 360px;
}

.test-visual,
.media-visual {
  position: relative;
  width: 100%;
  aspect-ratio: var(--ratio-card);
  border: 1px solid var(--line-dark);
  border-top: 3px solid var(--signal);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--ink-2);
  box-shadow: 0 0 40px rgba(184, 243, 74, 0.06), 0 8px 32px rgba(0,0,0,0.45);
}

.test-visual::after,
.media-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 55%, rgba(8,13,14,0.45) 100%),
    linear-gradient(180deg, rgba(8,13,14,0.18) 0%, transparent 30%, transparent 70%, rgba(8,13,14,0.38) 100%);
}

.test-visual img,
.media-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Concept badge — refined label treatment */
.concept-badge {
  position: absolute;
  z-index: 3;
  bottom: 14px;
  right: 14px;
  padding: 5px 12px;
  border: 1px solid rgba(184, 243, 74, 0.3);
  border-radius: 4px;
  background: rgba(8, 13, 14, 0.72);
  color: #8a9e9c;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.console-status {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  padding: 15px 18px;
  border: 1px solid rgba(184, 243, 74, 0.35);
  display: flex;
  justify-content: space-between;
  background: rgba(8, 13, 14, 0.9);
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.check-list {
  margin: 32px 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 15px 0;
  border-bottom: 1px solid var(--line-dark);
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted-dark);
}

.section:not(.section-dark) .check-list li,
.section-alt .check-list li {
  border-bottom-color: var(--line);
  color: var(--text);
}

.check-list li::before {
  width: 9px;
  height: 9px;
  border: 2px solid var(--signal);
  border-radius: 50%;
  content: "";
}

/* ── Industries Overview (card grid, no full-bleed crop) ── */
.application-horizon {
  padding: var(--space-7) 0;
  background: var(--ink-2);
  color: var(--paper);
}

.horizon-header {
  text-align: center;
  margin-bottom: var(--space-5);
}

.horizon-header .eyebrow {
  margin-bottom: var(--space-2);
}

.horizon-header h2 {
  max-width: 800px;
  margin-inline: auto;
}

.horizon-header p {
  max-width: 640px;
  margin-inline: auto;
  margin-top: var(--space-3);
  color: var(--muted-dark);
}

.horizon-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.horizon-item {
  background: var(--ink-3);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--ease);
}

.horizon-item:hover {
  border-color: rgba(184, 243, 74, 0.4);
}

.horizon-item-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ink);
}

.horizon-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.horizon-item-copy {
  padding: var(--space-2) var(--space-3);
}

.horizon-item-copy strong {
  display: block;
  margin-bottom: 4px;
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.horizon-item-copy span {
  display: block;
  color: var(--muted-dark);
  font-size: 0.88rem;
  line-height: 1.4;
}

.horizon-cta {
  text-align: center;
}

/* Remove old full-bleed image styles */
.application-horizon > img,
.application-horizon::after,
.application-horizon .concept-badge {
  display: none;
}

.spec-panel {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}

.spec-panel::before {
  position: absolute;
  inset: 0;
  background: url("/generated/cta-systems.webp") center / cover no-repeat;
  content: "";
  opacity: 0.32;
}

.spec-panel-inner {
  position: relative;
  z-index: 1;
  padding: clamp(48px, 8vw, 96px);
  border: 1px solid var(--line-dark);
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 48px;
  align-items: end;
}

.spec-panel h2 {
  max-width: 850px;
  margin-bottom: 20px;
}

.spec-panel p {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted-dark);
}

.spec-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sub-hero {
  position: relative;
  min-height: clamp(420px, 58svh, 640px);
  padding: calc(var(--header-h) + 90px) 0 72px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}

.sub-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.sub-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.sub-hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 13, 14, 0.78) 0%, rgba(8, 13, 14, 0.58) 48%, rgba(8, 13, 14, 0.28) 100%),
    linear-gradient(180deg, rgba(8, 13, 14, 0.25), rgba(8, 13, 14, 0.68));
  content: "";
}

.sub-hero .container {
  position: relative;
  z-index: 2;
}

.sub-hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.55fr;
  gap: var(--space-5);
  align-items: end;
}

.sub-hero h1 {
  max-width: 920px;
  margin-bottom: 24px;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
}

.sub-hero p {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted-dark);
  font-size: 1.14rem;
}

.sub-meta {
  border-left: 1px solid var(--line-dark);
}

.sub-meta-row {
  padding: 15px 0 15px 24px;
  border-bottom: 1px solid var(--line-dark);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted-dark);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sub-meta-row strong {
  color: var(--paper);
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: right;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.detail-card {
  min-height: 370px;
  padding: clamp(28px, 4vw, 48px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-card.wide {
  grid-column: span 2;
}

.detail-card h3 {
  margin: 46px 0 18px;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.detail-card p {
  max-width: 620px;
  color: var(--muted);
}

.tag-list {
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.tag-list li {
  padding: 8px 11px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.config-table th,
.config-table td {
  padding: 20px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.config-table th {
  width: 28%;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.config-table td {
  font-weight: 600;
}

.test-gates {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line-dark);
}

.test-gate {
  min-height: 320px;
  padding: 28px;
  border-right: 1px solid var(--line-dark);
  background: var(--ink-2);
}

.test-gate:last-child {
  border-right: 0;
}

.gate-light {
  width: 12px;
  height: 12px;
  margin-bottom: 70px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 20px rgba(184, 243, 74, 0.45);
}

.test-gate h3 {
  margin-bottom: 14px;
  color: var(--paper);
}

.test-gate .tech-label {
  color: var(--aero);
}

.test-gate p {
  color: var(--muted-dark);
  font-size: 0.92rem;
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.application-card {
  min-height: 360px;
  padding: 28px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--surface);
}

.application-card svg {
  width: 54px;
  height: 54px;
  color: var(--text);
}

.application-card p {
  color: var(--muted);
}

.application-card .tech-label {
  margin-bottom: 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(40px, 8vw, 110px);
}

.contact-aside {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  align-self: start;
}

.contact-aside h2 {
  margin-bottom: 22px;
}

.contact-aside p {
  color: var(--muted);
}

.brief-list {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.brief-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 12px;
}

.brief-list li::before {
  color: var(--signal);
  font-family: var(--font-mono);
  content: "+";
}

.inquiry-form {
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  background: var(--surface);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  color: var(--text);
}

.field textarea {
  min-height: 170px;
  resize: vertical;
}

.form-note {
  margin: 20px 0;
  color: var(--muted);
  font-size: 0.83rem;
}

.form-status {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 1px solid var(--aero);
  color: var(--text);
}

.form-status.visible {
  position: static;
  width: auto;
  height: auto;
  margin: 18px 0 0;
  padding: 14px 16px;
  overflow: visible;
  clip: auto;
  white-space: normal;
  display: block;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1500;
  padding: 20px;
  display: grid;
  place-items: center;
  visibility: hidden;
  background: rgba(4, 7, 8, 0.76);
  opacity: 0;
  backdrop-filter: blur(8px);
  transition: opacity var(--ease), visibility var(--ease);
}

.modal-overlay.open {
  visibility: visible;
  opacity: 1;
}

.modal-dialog {
  position: relative;
  width: min(880px, 100%);
  max-height: 92svh;
  overflow: auto;
  border: 1px solid var(--line-dark);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  background: var(--paper);
  color: var(--text);
  transform: translateY(18px);
  transition: transform var(--ease);
}

.modal-overlay.open .modal-dialog {
  transform: translateY(0);
}

.modal-aside {
  min-height: 520px;
  padding: 38px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(rgba(8, 13, 14, 0.32), rgba(8, 13, 14, 0.78)),
    url("/generated/cta-engineering.webp") center / cover;
  color: var(--paper);
}

.modal-aside h3 {
  font-size: 2.4rem;
}

.modal-aside p {
  color: var(--muted-dark);
}

.modal-form {
  padding: 46px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  background: var(--paper);
  color: var(--text);
  cursor: pointer;
}

.site-footer {
  padding: 68px 0 26px;
  background: var(--ink);
  color: var(--paper);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 0.7fr);
  gap: 42px;
}

.footer-brand p {
  max-width: 390px;
  margin-top: 22px;
  color: var(--muted-dark);
}

.footer-col h3 {
  margin-bottom: 18px;
  color: var(--aero);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  padding: 5px 0;
  color: #bcc6c5;
  font-size: 0.9rem;
}

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

.footer-bottom {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #778483;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms cubic-bezier(0.22, 1, 0.36, 1), transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 1080px) {
  :root {
    --container: min(100% - 40px, 960px);
  }

  .site-nav {
    gap: 18px;
  }

  .hero-content {
    padding-top: calc(var(--header-h) + 40px);
  }

  .system-map {
    grid-template-columns: 1fr 1fr;
  }

  .system-map-vertical {
    grid-template-columns: 1fr !important;
  }

  .system-map-vertical .system-node {
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .system-node:nth-child(2) {
    border-right: 0;
  }

  .system-node:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-dark);
  }

  .system-node:nth-child(2)::after {
    display: none;
  }

  .process-rail {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-step:nth-child(3n) {
    border-right: 0;
  }

  .process-step:nth-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .test-gates {
    grid-template-columns: 1fr 1fr;
  }

  .test-gate:nth-child(2) {
    border-right: 0;
  }

  .test-gate:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-dark);
  }
}

@media (max-width: 860px) {
  :root {
    --header-h: 68px;
    --space-7: 4.5rem;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    left: 0;
    max-height: calc(100svh - var(--header-h));
    overflow-y: auto;
    padding: 16px;
    border-bottom: 1px solid var(--line-dark);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 1px;
    background: var(--ink);
  }

  .site-nav.open {
    display: flex;
  }

  /* Mobile: dropdowns stacked, submenus always visible */
  .nav-dropdown {
    position: static;
  }

  .nav-parent {
    min-height: 48px;
    padding: 13px 8px;
    font-size: 0.96rem;
    border-bottom: 1px solid rgba(242, 241, 234, 0.06);
  }

  .nav-parent::after {
    display: none;
  }

  .nav-submenu {
    position: static;
    box-shadow: none;
    border: none;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 2px 0 6px 16px;
    min-width: 0;
  }

  .nav-submenu a {
    padding: 10px 8px;
    font-size: 0.9rem;
  }

  .site-nav > a:not(.btn):not(.nav-parent) {
    min-height: 48px;
    padding: 13px 8px;
  }

  .site-nav > a:not(.btn):not(.nav-parent)::after {
    display: none;
  }

  .sub-hero-grid,
  .section-header,
  .spec-panel-inner,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-top: 30px;
  }

  .hero-meta {
    grid-template-columns: 1fr 1fr;
  }

  .sub-meta {
    border-top: 1px solid var(--line-dark);
    border-left: 0;
  }

  .sub-meta-row {
    padding-left: 0;
  }

  .component-grid,
  .application-grid {
    grid-template-columns: 1fr 1fr;
  }

  .horizon-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-aside {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  :root {
    --container: 100%;
    --space-5: 2.4rem;
    --space-6: 3.2rem;
    --space-7: 4rem;
  }

  h1 {
    font-size: clamp(2rem, 8vw, 3rem);
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: clamp(2.1rem, 10vw, 3.3rem);
    overflow-wrap: anywhere;
  }

  .container,
  .nav-shell {
    padding-right: 14px;
    padding-left: 14px;
  }

  .hero {
    min-height: 90svh;
  }

  .hero-content {
    padding-top: calc(var(--header-h) + 32px);
    padding-bottom: 40px;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .test-visual,
  .media-visual {
    min-height: clamp(240px, 62vw, 360px);
  }

  .map-visual {
    max-height: none;
  }

  .visual-tag {
    display: none;
  }

  .intro-band-grid,
  .priority-grid,
  .media-split,
  .test-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .intro-band-grid .btn {
    justify-self: start;
  }

  .system-map,
  .component-grid,
  .detail-grid,
  .application-grid,
  .test-gates {
    grid-template-columns: 1fr;
  }

  .system-node,
  .system-node:nth-child(2),
  .test-gate,
  .test-gate:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .system-map-vertical {
    grid-template-columns: 1fr !important;
  }

  .system-node:last-child,
  .test-gate:last-child {
    border-bottom: 0;
  }

  .system-node::after {
    top: auto;
    right: auto;
    bottom: -5px;
    left: 28px;
  }

  .system-node:nth-child(2)::after {
    display: block;
  }

  .priority-card {
    min-height: 0;
  }

  .process-rail {
    grid-template-columns: 1fr;
  }

  .process-step,
  .process-step:nth-child(3n) {
    min-height: auto;
    padding: 26px 0 28px 34px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-step::before {
    top: 32px;
    left: 0;
  }

  .process-step h3 {
    margin: 12px 0 8px;
  }

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

  .sub-meta-row {
    display: grid;
    grid-template-columns: minmax(72px, 0.65fr) minmax(0, 1.35fr);
  }

  .detail-card.wide {
    grid-column: auto;
  }

  .config-table,
  .config-table tbody,
  .config-table tr,
  .config-table th,
  .config-table td {
    display: block;
  }

  .config-table tr {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
  }

  .config-table th,
  .config-table td {
    width: 100%;
    padding: 4px 0;
    border: 0;
  }

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

  .field.full {
    grid-column: auto;
  }

  .modal-dialog {
    grid-template-columns: 1fr;
  }

  .modal-aside {
    min-height: 240px;
  }

  .modal-form {
    padding: 32px 24px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.blog-card {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: border-color var(--ease), transform var(--ease);
}

.blog-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.blog-card-img {
  position: relative;
  aspect-ratio: var(--ratio-card);
  overflow: hidden;
  background: var(--ink);
  flex-shrink: 0;
}

.blog-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.blog-card-meta {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-card h3 {
  margin: 0;
  font-size: 1.45rem;
}

.blog-card p {
  margin: 0;
  color: var(--muted);
  flex: 1;
}

.article-hero {
  padding: calc(var(--header-h) + 72px) 0 48px;
  background: var(--ink);
  color: var(--paper);
}

.article-hero .container {
  max-width: 820px;
}

.article-body {
  padding: 56px 0 80px;
}

.article-body .container {
  max-width: 820px;
}

.article-body h2 {
  margin: 42px 0 16px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.article-body p,
.article-body li {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.article-body ul {
  padding-left: 1.2rem;
}

.article-cover {
  position: relative;
  margin: 28px 0 0;
  border: 1px solid var(--line-dark);
  overflow: hidden;
  aspect-ratio: var(--ratio-wide);
  max-height: 50vh;
}

.article-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
