/* VLADUMR — Adriatic Stone & Deep Harbor Editorial Design System (v3)
   Zero external requests, WCAG AA+ light & dark themes, responsive 360px–1440px+ */

:root {
  --bg: #f6f1e8;
  --bg-alt: #ece4d5;
  --surface: #f6f1e8;
  --card: #fffdf9;
  --ink: #12233a;
  --ink-soft: #435369;
  --accent: #c9531c;
  --accent-strong: #b04210;
  --accent-ink: #ffffff;
  --line: #d6cbb6;
  --shadow: 0 12px 32px rgba(18, 35, 58, 0.06);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1120px;
  --gutter: clamp(16px, 4vw, 28px);
  --header-h: 68px;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

:root[data-theme="dark"] {
  --bg: #0d1829;
  --bg-alt: #132238;
  --surface: #0f1d32;
  --card: #16263f;
  --ink: #f1ece2;
  --ink-soft: #b8c3d4;
  --accent: #ef7b45;
  --accent-strong: #f28b5a;
  --accent-ink: #0d1829;
  --line: #273a54;
  --shadow: 0 14px 36px rgba(3, 8, 16, 0.36);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  transition: background-color 0.25s ease, color 0.25s ease;
}

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

img {
  height: auto;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 10px;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  z-index: 200;
}

.skip:focus {
  left: 12px;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.video-frame :focus-visible,
.site-footer :focus-visible {
  outline-color: #ffb48d;
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.015em;
  font-weight: 600;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.35rem, 6.2vw, 4.45rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
}

h3 {
  font-size: clamp(1.22rem, 2.2vw, 1.45rem);
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent-strong);
  margin-bottom: 0.85rem;
}

.lead {
  font-size: clamp(1.06rem, 2.1vw, 1.26rem);
  color: var(--ink-soft);
  max-width: 48ch;
}

.section-intro {
  max-width: 60ch;
  color: var(--ink-soft);
  margin-bottom: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.96rem;
  line-height: 1.2;
  padding: 13px 24px;
  border-radius: 999px;
  border: 2px solid var(--accent-strong);
  background: var(--accent-strong);
  color: var(--accent-ink);
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(176, 66, 16, 0.28);
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn.ghost:hover {
  background: color-mix(in srgb, var(--ink) 8%, transparent);
  box-shadow: none;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(10, 18, 32, 0.06);
}

.site-header.menu-open {
  background: var(--bg);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.scroll-progress {
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  pointer-events: none;
  opacity: 0;
  overflow: hidden;
}

.site-header.is-scrolled .scroll-progress {
  opacity: 1;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent-strong);
  transform-origin: left center;
  transform: scaleX(var(--scroll-progress, 0));
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.13em;
  font-size: 1.02rem;
  flex-shrink: 0;
}

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.9vw, 24px);
}

.nav a {
  position: relative;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color 0.18s ease;
}

.nav a:hover,
.nav a.is-active {
  color: var(--ink);
}

.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-strong);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav a.is-active:not(.btn)::after {
  transform: scaleX(1);
}

.nav .btn {
  color: var(--accent-ink);
  padding: 9px 18px;
  font-size: 0.9rem;
}

.header-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 3px;
  gap: 2px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: transparent;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 9px;
  border-radius: 7px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--ink-soft);
  transition: background-color 0.16s ease, color 0.16s ease;
}

.lang-btn:hover {
  color: var(--ink);
}

.lang-btn[aria-current="page"],
.lang-btn.is-active {
  background: var(--ink);
  color: var(--bg);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.theme-toggle:hover {
  background: color-mix(in srgb, var(--ink) 8%, transparent);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

.theme-toggle .icon-sun {
  display: none;
}

.theme-toggle .icon-moon {
  display: block;
}

:root[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

:root[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

.nav-toggle {
  display: none;
  height: 38px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 13px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.nav-toggle:hover {
  background: color-mix(in srgb, var(--ink) 8%, transparent);
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--header-h) + clamp(28px, 4.5vh, 52px));
  background: var(--bg);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding-bottom: clamp(28px, 4.5vh, 52px);
}

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

.hero .eyebrow {
  color: var(--accent-strong);
}

.hero h1 {
  font-size: clamp(2.15rem, 4.3vw, 3.55rem);
  max-width: 13ch;
  color: var(--ink);
}

.hero .lead {
  color: var(--ink-soft);
  margin-bottom: 1.55rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-stage {
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0d1829;
  overflow: hidden;
}

.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.hero-stage-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 14px;
  background: var(--card);
  border-top: 1px solid var(--line);
}

.hero-bar {
  width: 100%;
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
}

.hero-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hero-telemetry {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  flex: 1 1 auto;
}

.hero-telemetry a,
.hero-telemetry .hero-loc {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px 13px 0;
  margin-right: 16px;
  border-right: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.16s ease;
}

.hero-telemetry a span {
  color: var(--accent-strong);
  font-weight: 700;
}

.hero-telemetry a:hover {
  color: var(--ink);
}

.hero-telemetry .hero-loc {
  border-right: 0;
  margin-right: 0;
  color: var(--ink-soft);
}

.hero-reel-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  gap: 2px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg);
}

.hero-reel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 10px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.hero-reel-btn:hover {
  color: var(--ink);
}

.hero-reel-btn[aria-pressed="true"] {
  background: var(--ink);
  color: var(--bg);
}

.video-toggle {
  position: static;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  margin: 0;
  padding: 0 13px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.video-toggle:hover {
  background: color-mix(in srgb, var(--ink) 8%, var(--bg));
  border-color: var(--ink-soft);
}

/* Sections */
.section {
  padding: clamp(56px, 7.5vw, 96px) 0;
}

.section.alt {
  background: var(--bg-alt);
  border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}

/* Mission */
.split-editorial {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.ledger {
  display: grid;
  gap: 14px;
}

.ledger-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}

.ledger-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--accent) 13%, transparent);
  color: var(--accent-strong);
}

.ledger-icon svg {
  width: 22px;
  height: 22px;
}

.ledger-title {
  font-family: var(--font-serif);
  font-size: 1.16rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.25;
}

.ledger-desc {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin: 0;
}

/* Products */
.product-stack {
  display: grid;
  gap: clamp(28px, 4vw, 44px);
  margin-top: 32px;
}

.product-feature {
  display: grid;
  grid-template-columns: 1.14fr 0.86fr;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.product-feature--reverse {
  grid-template-columns: 0.86fr 1.14fr;
}

.product-feature--reverse .product-media {
  order: 2;
}

.product-feature--reverse .product-body {
  order: 1;
}

.product-media {
  margin: 0;
  position: relative;
  background: var(--bg-alt);
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  display: block;
}

.product-media--video {
  display: flex;
  flex-direction: column;
  justify-content: center;
  aspect-ratio: auto;
  padding: 20px;
  background: color-mix(in srgb, var(--bg-alt) 65%, var(--card));
  border-right: 1px solid var(--line);
}

.product-feature--reverse .product-media--video {
  border-right: 0;
  border-left: 1px solid var(--line);
}

.product-media--video .video-frame {
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.media-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.media-caption {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.media-video-toggle {
  position: static;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 11px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.media-video-toggle:hover {
  background: color-mix(in srgb, var(--ink) 8%, var(--bg));
  border-color: var(--ink-soft);
}

.product-body {
  padding: clamp(24px, 3.5vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tag {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 11px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent-strong);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  margin-bottom: 14px;
}

.product-body h3 {
  font-size: clamp(1.38rem, 2.5vw, 1.72rem);
  margin-bottom: 14px;
}

.product-sub {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.96rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-soft);
  margin-top: 4px;
}

.spec-strip {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spec-strip li {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink);
}

.product-body p {
  color: var(--ink-soft);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 8px;
}

.feature-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-strong);
}

/* Scenarios */
.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 32px;
}

.scenario-card {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.scenario-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 32%;
}

.scenario-card figcaption {
  padding: 18px 20px 22px;
}

.scenario-card figcaption strong,
.scenario-card h3 {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 6px;
}

.scenario-card figcaption span,
.scenario-card p {
  display: block;
  font-size: 0.94rem;
  color: var(--ink-soft);
  margin: 0;
}

/* Platform & Interactive Pipeline */
.arch-panel {
  margin-top: 30px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(18px, 3vw, 32px);
  box-shadow: var(--shadow);
}

.arch-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  margin-bottom: 20px;
}

.arch-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.arch-tab:hover {
  border-color: var(--ink-soft);
  color: var(--ink);
}

.arch-tab[aria-pressed="true"],
.arch-tab.is-active {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: var(--accent-ink);
}

.arch-svg {
  width: 100%;
  height: auto;
  display: block;
  color: var(--ink);
}

.arch-svg text {
  font-family: var(--font-sans);
  fill: var(--ink);
}

.arch-svg text[fill*="var(--accent"] {
  fill: var(--accent-strong);
  font-family: var(--font-mono);
}

.arch-svg .arch-mono,
.arch-svg .mono {
  font-family: var(--font-mono);
  fill: var(--accent-strong);
}

.arch-svg .arch-muted,
.arch-svg .muted {
  fill: var(--ink-soft);
}

.arch-svg .arch-node {
  transition: opacity 0.2s ease;
}

.arch-svg .arch-node rect {
  transition: stroke 0.2s ease, stroke-width 0.2s ease, fill-opacity 0.2s ease;
}

html.js-ready .arch-svg [data-stage]:not(.is-active) {
  opacity: 0.56;
}

html.js-ready .arch-svg [data-stage].is-active {
  opacity: 1;
}

html.js-ready .arch-svg [data-stage].is-active rect {
  stroke: var(--accent-strong);
  stroke-width: 2.2;
}

.arch-readout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-top: 20px;
}

.arch-readout-cell {
  background: var(--bg);
  padding: 14px 16px;
}

.arch-readout-cell small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 4px;
}

.arch-readout-cell span,
.arch-readout-cell strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.38;
}

/* Sectors — 1px Architectural Hairline Grid */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 28px;
}

.sector-card {
  background: var(--card);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 24px 24px 26px;
  transition: background-color 0.18s ease;
}

.sector-card:hover {
  background: color-mix(in srgb, var(--accent) 4%, var(--card));
}

.sector-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.sector-head svg {
  width: 22px;
  height: 22px;
  color: var(--accent-strong);
  flex-shrink: 0;
}

.sector-head small {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.sector-card h3 {
  font-size: 1.18rem;
  margin-bottom: 8px;
}

.sector-card p {
  font-size: 0.94rem;
  color: var(--ink-soft);
  margin: 0;
}

.sector-note {
  margin-top: 22px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  max-width: 66ch;
}

/* Approach / Pipeline — 1px Architectural Hairline Grid */
.pipeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 32px;
}

.pipeline-step {
  background: var(--card);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--accent-strong);
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--accent-strong);
  margin-bottom: 16px;
}

.pipeline-step h3 {
  margin-bottom: 10px;
}

.pipeline-step p {
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.step-meta {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--accent-strong);
}

/* Vision Band */
.vision-band {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  color: #ffffff;
  overflow: hidden;
  background: #0d1829;
  padding: 0;
}

.vision-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.vision-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(10, 18, 32, 0.88) 0%, rgba(10, 18, 32, 0.68) 48%, rgba(10, 18, 32, 0.16) 100%);
}

.vision-content {
  position: relative;
  z-index: 2;
  padding-top: 72px;
  padding-bottom: 72px;
}

.vision-band .eyebrow {
  color: #ffb48d;
}

.vision-band h2 {
  color: #ffffff;
  max-width: 17ch;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.vision-band p {
  max-width: 48ch;
  color: #f1ece2;
  font-size: clamp(1.04rem, 2vw, 1.18rem);
}

/* Company */
.company-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.company-head h2 {
  margin-bottom: 0;
}

.coords {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.fact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: none;
}

.fact-card small {
  display: block;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.fact-card b,
.fact-card strong {
  display: block;
  font-size: 1.08rem;
  color: var(--ink);
  margin-bottom: 6px;
}

.fact-card strong:last-child,
.fact-card b:last-child {
  margin-bottom: 0;
}

.fact-card p {
  font-size: 0.93rem;
  color: var(--ink-soft);
  margin: 0;
}

/* Contact */
.contact-band {
  text-align: center;
}

.contact-band h2 {
  margin-left: auto;
  margin-right: auto;
  max-width: 19ch;
}

.contact-band .lead {
  margin: 0 auto 1.6rem;
}

.mail-row {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 16px;
  margin-top: 6px;
}

.mail-link {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: clamp(1.38rem, 4vw, 2.2rem);
  color: var(--accent-strong);
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  word-break: break-word;
}

.mail-link:hover {
  opacity: 0.85;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.copy-btn:hover {
  border-color: var(--accent-strong);
  transform: translateY(-1px);
}

.copy-status {
  display: block;
  width: 100%;
  min-height: 1.4em;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-strong);
}

/* Footer (dark navy in both themes) */
.site-footer {
  background: #0d1829;
  color: #c8d2e0;
  padding: 52px 0 38px;
  font-size: 0.92rem;
}

.site-footer a {
  color: #ffffff;
  text-underline-offset: 3px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
}

.site-footer h3 {
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.site-footer p {
  margin: 0 0 6px;
}

.legal-note {
  border-top: 1px solid #24364d;
  margin-top: 28px;
  padding-top: 18px;
  font-size: 0.84rem;
  color: #9aa8bc;
}

.legal-note:first-child {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

/* Privacy / Legal Document Page */
.doc {
  padding-top: 120px;
  padding-bottom: clamp(64px, 9vw, 100px);
  max-width: 760px;
}

.doc h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}

.doc h2 {
  font-size: 1.48rem;
  margin-top: 1.85em;
}

.doc p,
.doc li {
  color: var(--ink-soft);
}

.doc a {
  color: var(--accent-strong);
}

/* Scroll Reveal (Progressive Enhancement) */
@media (prefers-reduced-motion: no-preference) {
  html.js-ready [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.58s cubic-bezier(0.22, 1, 0.36, 1), transform 0.58s cubic-bezier(0.22, 1, 0.36, 1);
  }

  html.js-ready [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
}

/* Responsive Breakpoints */
@media (max-width: 960px) {
  .hero-grid,
  .product-feature,
  .product-feature--reverse {
    grid-template-columns: 1fr;
  }

  .product-feature--reverse .product-media,
  .product-feature--reverse .product-body {
    order: initial;
  }

  .product-media--video,
  .product-feature--reverse .product-media--video {
    padding: 0;
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .product-media--video .video-frame,
  .media-bar {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .media-bar {
    border-bottom: 0;
  }

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

@media (max-width: 860px) {
  .split-editorial,
  .scenarios-grid,
  .pipeline,
  .facts-grid,
  .foot-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--bg);
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(10, 18, 32, 0.14);
    padding: 8px var(--gutter) 20px;
  }

  .nav.open {
    display: flex;
  }

  body .site-header .nav.open a {
    color: var(--ink-soft);
    text-shadow: none;
    padding: 12px 0;
    width: 100%;
    font-size: 1.04rem;
    border-bottom: 1px solid color-mix(in srgb, var(--line) 55%, transparent);
  }

  body .site-header .nav.open a:hover,
  body .site-header .nav.open a.is-active {
    color: var(--ink);
  }

  body .site-header .nav.open a:not(.btn)::after {
    display: none;
  }

  body .site-header .nav.open .btn {
    width: auto;
    margin-top: 14px;
    padding: 11px 22px;
    border-bottom: 2px solid var(--accent-strong);
    color: var(--accent-ink);
  }

  .hero-telemetry {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--line);
    margin: 0 calc(var(--gutter) * -1);
  }

  .hero-telemetry a,
  .hero-telemetry .hero-loc {
    background: var(--bg-alt);
    border-right: 0;
    margin-right: 0;
    padding: 11px var(--gutter);
    font-size: 0.72rem;
    white-space: normal;
  }

  .vision-band {
    min-height: 460px;
    align-items: flex-end;
  }

  .vision-scrim {
    background: linear-gradient(180deg, rgba(10, 18, 32, 0.22) 0%, rgba(10, 18, 32, 0.68) 46%, rgba(10, 18, 32, 0.9) 100%);
  }

  .vision-content {
    padding-top: 56px;
    padding-bottom: 48px;
  }
}

@media (max-width: 700px) {
  .arch-readout {
    grid-template-columns: 1fr;
  }
}

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

@media (max-width: 420px) {
  .bar {
    gap: 10px;
  }

  .brand {
    font-size: 0.92rem;
    gap: 8px;
  }

  .brand img {
    width: 26px;
    height: 26px;
  }

  .header-controls {
    gap: 6px;
  }

  .lang-btn {
    padding: 0 7px;
  }

  .nav-toggle {
    padding: 0 10px;
    font-size: 0.84rem;
  }
}

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

  body,
  .site-header,
  .btn,
  .nav a,
  .nav a::after,
  .lang-switch,
  .lang-btn,
  .theme-toggle,
  .nav-toggle,
  .video-toggle,
  .hero-reel-btn,
  .media-video-toggle,
  .copy-btn,
  .arch-tab,
  .arch-svg .arch-node,
  .arch-svg .arch-node rect,
  .sector-card {
    transition: none;
  }
}

@media print {
  .site-header,
  .hero-bar,
  .hero-stage,
  .product-media--video,
  .video-toggle,
  .hero-stage-bar,
  .media-video-toggle,
  .arch-controls,
  .copy-btn,
  .nav-toggle {
    display: none !important;
  }

  html,
  body,
  .section,
  .section.alt,
  .card,
  .product-feature,
  .scenario-card,
  .arch-panel,
  .sector-card,
  .pipeline-step,
  .fact-card,
  .ledger-row {
    background: #ffffff !important;
    color: #12233a !important;
    box-shadow: none !important;
  }

  .hero,
  .vision-band {
    min-height: auto;
    background: #ffffff !important;
    color: #12233a !important;
    padding: 24px 0;
  }

  .hero-video,
  .hero-scrim,
  .vision-scrim,
  .vision-band img {
    display: none !important;
  }

  .hero h1,
  .hero .lead,
  .hero .eyebrow,
  .vision-band h2,
  .vision-band p,
  .vision-band .eyebrow {
    color: #12233a !important;
    text-shadow: none !important;
  }

  .hero-content,
  .vision-content,
  .doc {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .section {
    padding: 28px 0;
  }

  .product-feature,
  .scenario-card,
  .arch-panel,
  .pipeline-step,
  .fact-card,
  .ledger-row {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .site-footer {
    background: #ffffff !important;
    color: #12233a !important;
    border-top: 1px solid #d6cbb6;
  }

  .site-footer h3,
  .site-footer a,
  .legal-note {
    color: #12233a !important;
  }
}
