/* ==========================================================================
   ALTIVOR — Altitude Visual Omni Range (www.altivor.in)
   Commercial Flagship Design System — Executive Light Editorial Theme
   Aesthetic: Swiss Architectural Precision × Fortune-500 Aerospace & Deep-Tech
   ========================================================================== */

:root {
  /* Soft, Light-on-the-Eyes Architectural Surfaces */
  --bg-page: #f7f9fc;
  --bg-white: #ffffff;
  --bg-subtle: #eef3f9;
  --bg-tinted: #f1f6fd;
  --bg-navy: #0b182e;
  --bg-navy-soft: #112240;

  /* Official Altivor Brand Palette */
  --cobalt: #165dfb;
  --cobalt-hover: #1049d4;
  --cobalt-soft: rgba(22, 93, 251, 0.08);
  --cobalt-border: rgba(22, 93, 251, 0.22);
  --azure: #0284c7;
  --azure-soft: rgba(2, 132, 199, 0.09);
  --emerald: #059669;
  --emerald-soft: #ecfdf5;
  --emerald-border: #a7f3d0;
  --amber: #d97706;
  --amber-soft: #fffbeb;
  --rose: #dc2626;

  /* High-Legibility, Low-Glare Typography Ink */
  --ink-primary: #0f1b2d;
  --ink-secondary: #3b4d68;
  --ink-muted: #64748b;
  --ink-light: #94a3b8;

  /* Delicate Hairline Rules */
  --line-subtle: #e2e8f0;
  --line-medium: #cbd5e1;

  /* Radii & Soft Architectural Shadows */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-xs: 0 1px 2px rgba(15, 27, 45, 0.04);
  --shadow-sm: 0 4px 16px rgba(15, 27, 45, 0.05), 0 1px 2px rgba(15, 27, 45, 0.04);
  --shadow-md: 0 14px 36px rgba(15, 27, 45, 0.07), 0 2px 6px rgba(15, 27, 45, 0.04);
  --shadow-lg: 0 24px 60px rgba(15, 27, 45, 0.11), 0 4px 14px rgba(15, 27, 45, 0.05);

  /* Editorial Typography */
  --font-display: 'Plus Jakarta Sans', 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Layout */
  --container-max: 1240px;
  --header-h: 78px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-page);
  color: var(--ink-primary);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-page);
  color: var(--ink-primary);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}

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

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

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

button {
  cursor: pointer;
  background: none;
  border: none;
}

::selection {
  background: rgba(22, 93, 251, 0.16);
  color: var(--ink-primary);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}

.section {
  padding: 104px 0;
  position: relative;
  border-top: 1px solid var(--line-subtle);
}

.section-white {
  background: var(--bg-white);
}

.section-tinted {
  background: var(--bg-page);
}

.section-header {
  max-width: 740px;
  margin-bottom: 52px;
}

.section-header.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--cobalt);
  border-radius: 2px;
  display: inline-block;
}

.section-header.centered .eyebrow::before {
  display: none;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.95rem, 3.4vw, 2.85rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: var(--ink-primary);
  margin-bottom: 16px;
}

.section-lead {
  font-size: 1.06rem;
  line-height: 1.72;
  color: var(--ink-secondary);
}

.accent-underline {
  color: var(--cobalt);
}

/* Precision Commercial Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.93rem;
  letter-spacing: -0.01em;
  transition: transform 0.18s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--bg-navy);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(11, 24, 46, 0.16);
}

.btn-primary:hover {
  background: var(--cobalt);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(22, 93, 251, 0.24);
}

.btn-cobalt {
  background: var(--cobalt);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(22, 93, 251, 0.22);
}

.btn-cobalt:hover {
  background: var(--cobalt-hover);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(22, 93, 251, 0.3);
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--ink-primary);
  border: 1px solid var(--line-medium);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  border-color: var(--cobalt);
  color: var(--cobalt);
  background: var(--bg-tinted);
  transform: translateY(-1px);
}

.btn-ghost {
  padding: 9px 15px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--cobalt);
  border: 1px solid var(--cobalt-border);
  border-radius: 8px;
  background: var(--bg-white);
}

.btn-ghost:hover {
  background: var(--cobalt-soft);
  border-color: var(--cobalt);
}

.btn-sm {
  padding: 9px 17px;
  font-size: 0.85rem;
  border-radius: 8px;
}

/* Status Dot */
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.18);
  display: inline-block;
  flex-shrink: 0;
}

/* ==========================================================================
   HEADER / EXECUTIVE NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-subtle);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 24px rgba(15, 27, 45, 0.06);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  height: 44px;
  width: auto;
  transition: transform 0.25s ease;
}

.brand-lockup:hover .brand-mark {
  transform: scale(1.03);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-wordmark-img {
  height: 18px;
  width: auto;
  display: block;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  color: var(--ink-muted);
  text-transform: uppercase;
  margin-top: 4px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  font-size: 0.89rem;
  font-weight: 500;
  color: var(--ink-secondary);
  transition: color 0.2s ease;
  position: relative;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--cobalt);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-telemetry {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg-page);
  border: 1px solid var(--line-subtle);
  font-family: var(--font-mono);
  font-size: 0.71rem;
  color: var(--ink-muted);
}

.header-telemetry strong {
  color: var(--cobalt);
  font-weight: 600;
}

.mobile-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line-medium);
  background: var(--bg-white);
  align-items: center;
  justify-content: center;
  color: var(--ink-primary);
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line-subtle);
  box-shadow: var(--shadow-md);
  padding: 20px 28px 28px;
  z-index: 99;
  flex-direction: column;
  gap: 12px;
}

.mobile-drawer.open {
  display: flex;
}

@media (min-width: 861px) {
  .mobile-drawer {
    display: none !important;
  }
}

.mobile-drawer a {
  padding: 10px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-primary);
  border-bottom: 1px solid var(--line-subtle);
}

/* ==========================================================================
   HERO SECTION — AIRY SWISS-ARCHITECTURAL LIGHT STAGE
   ========================================================================== */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + 64px);
  padding-bottom: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 68% 60% at 78% 22%, rgba(22, 93, 251, 0.08), transparent 68%),
    radial-gradient(ellipse 50% 45% at 10% 85%, rgba(2, 132, 199, 0.06), transparent 65%),
    linear-gradient(180deg, #ffffff 0%, #f5f8fd 100%);
}

#vor-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 52px;
  align-items: center;
  margin: auto;
  padding: 18px 28px 68px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--bg-white);
  border: 1px solid var(--cobalt-border);
  box-shadow: var(--shadow-xs);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--cobalt);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.55rem, 4.8vw, 4.05rem);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
  color: var(--ink-primary);
}

.hero-title .accent {
  color: var(--cobalt);
}

.hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.72;
  color: var(--ink-secondary);
  max-width: 580px;
  margin-bottom: 32px;
}

.hero-subtitle strong {
  color: var(--ink-primary);
  font-weight: 600;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.hero-proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 540px;
  padding-top: 26px;
  border-top: 1px solid var(--line-subtle);
}

.hero-proof-val {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--ink-primary);
  line-height: 1.15;
}

.hero-proof-val span {
  color: var(--cobalt);
}

.hero-proof-lbl {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-muted);
  margin-top: 3px;
}

/* Hero Right: Executive Showcase Card (Crisp White + Elevated Architectural Shadow) */
.executive-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-xl);
  padding: 24px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.executive-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--bg-navy) 0%, var(--cobalt) 55%, var(--azure) 100%);
}

.exec-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line-subtle);
}

.exec-id {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-primary);
}

.exec-clock {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--cobalt);
  background: var(--cobalt-soft);
  padding: 3px 9px;
  border-radius: 999px;
}

.exec-brand-stage {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--bg-page);
  border: 1px solid var(--line-subtle);
  margin-bottom: 16px;
}

.exec-brand-stage img {
  height: 60px;
  width: auto;
  flex-shrink: 0;
}

.exec-brand-copy h3 {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink-primary);
}

.exec-brand-copy p {
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin-top: 2px;
}

.exec-domains {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 16px;
}

.domain-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  background: var(--bg-white);
  border: 1px solid var(--line-subtle);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.18s ease;
  text-align: left;
  width: 100%;
}

.domain-row:hover {
  border-color: var(--cobalt);
  background: var(--bg-tinted);
  transform: translateX(2px);
}

.domain-row-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.domain-code {
  font-family: var(--font-mono);
  font-size: 0.67rem;
  font-weight: 700;
  color: var(--cobalt);
  padding: 3px 7px;
  border-radius: 5px;
  background: var(--cobalt-soft);
  flex-shrink: 0;
}

.domain-name {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.domain-status {
  font-family: var(--font-mono);
  font-size: 0.67rem;
  font-weight: 600;
  color: var(--emerald);
  background: var(--emerald-soft);
  border: 1px solid var(--emerald-border);
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.exec-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line-subtle);
}

.exec-stat span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.exec-stat strong {
  font-size: 0.81rem;
  font-weight: 700;
  color: var(--ink-primary);
}

/* Bottom Hero Standards & Trust Bar */
.standards-ribbon {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line-subtle);
  background: var(--bg-white);
  padding: 20px 0;
}

.standards-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
}

.standard-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-secondary);
}

.standard-chip svg {
  width: 16px;
  height: 16px;
  color: var(--cobalt);
  flex-shrink: 0;
}

/* ==========================================================================
   IDEOLOGY SECTION — ALTITUDE · VISUAL · OMNI · RANGE
   ========================================================================== */
.ideology-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.ideology-card {
  position: relative;
  padding: 28px 24px 26px;
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  border: 1px solid var(--line-subtle);
  box-shadow: var(--shadow-xs);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.ideology-card:hover {
  transform: translateY(-3px);
  border-color: var(--cobalt-border);
  box-shadow: var(--shadow-md);
}

.ideology-letter {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  color: var(--cobalt);
  margin-bottom: 14px;
}

.ideology-index {
  position: absolute;
  top: 22px;
  right: 22px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--ink-light);
  letter-spacing: 0.08em;
}

.ideology-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink-primary);
  margin-bottom: 10px;
}

.ideology-card p {
  font-size: 0.91rem;
  color: var(--ink-secondary);
  line-height: 1.65;
  margin-bottom: 18px;
}

.ideology-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.micro-tag {
  font-family: var(--font-mono);
  font-size: 0.67rem;
  font-weight: 600;
  color: var(--cobalt);
  background: var(--cobalt-soft);
  padding: 4px 9px;
  border-radius: 6px;
}

.ideology-manifesto {
  margin-top: 32px;
  padding: 32px 36px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--bg-navy) 0%, #13284b 100%);
  color: #ffffff;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.manifesto-quote {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 500;
  line-height: 1.55;
  color: #e2ecf9;
  max-width: 780px;
}

.manifesto-quote span {
  color: #7dd3fc;
  font-weight: 600;
}

.ideology-manifesto .btn-light {
  background: #ffffff;
  color: var(--bg-navy);
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease;
}

.ideology-manifesto .btn-light:hover {
  background: #e0f2fe;
  transform: translateY(-1px);
}

/* ==========================================================================
   COMMERCIAL SECTORS STRIP
   ========================================================================== */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.sector-card {
  padding: 26px 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-page);
  border: 1px solid var(--line-subtle);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.sector-card:hover {
  background: var(--bg-white);
  border-color: var(--cobalt-border);
  box-shadow: var(--shadow-sm);
}

.sector-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cobalt);
  margin-bottom: 10px;
}

.sector-card h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink-primary);
  margin-bottom: 8px;
}

.sector-card p {
  font-size: 0.88rem;
  color: var(--ink-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   FLAGSHIP SYSTEMS PORTFOLIO (LIGHT EDITORIAL CARDS)
   ========================================================================== */
.systems-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 34px;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-secondary);
  background: var(--bg-white);
  border: 1px solid var(--line-subtle);
  box-shadow: var(--shadow-xs);
  transition: all 0.2s ease;
}

.filter-pill:hover {
  color: var(--cobalt);
  border-color: var(--cobalt-border);
}

.filter-pill.active {
  color: #ffffff;
  background: var(--bg-navy);
  border-color: var(--bg-navy);
  box-shadow: 0 6px 16px rgba(11, 24, 46, 0.16);
}

.portfolio-count {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-muted);
}

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

.system-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  border: 1px solid var(--line-subtle);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.system-card:hover {
  transform: translateY(-4px);
  border-color: var(--cobalt-border);
  box-shadow: var(--shadow-lg);
}

.system-card-media {
  position: relative;
  height: 224px;
  overflow: hidden;
  background: #e2e8f0;
  border-bottom: 1px solid var(--line-subtle);
}

.system-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.system-card:hover .system-card-media img {
  transform: scale(1.03);
}

/* Structured Defense-Grade Narrative Blocks inside System Cards */
.sys-story-grid {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 18px;
}

.sys-story-block {
  padding: 11px 14px;
  border-radius: 9px;
  background: var(--bg-page);
  border: 1px solid var(--line-subtle);
  border-left: 3px solid var(--cobalt);
}

.sys-story-block.problem {
  border-left-color: #d97706;
  background: #fffcf5;
}

.sys-story-block.cots {
  border-left-color: var(--cobalt);
  background: #f5f9ff;
}

.sys-story-block.impact {
  border-left-color: var(--emerald);
  background: #f3fcf8;
}

.sys-story-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sys-story-block.problem .sys-story-label { color: #b45309; }
.sys-story-block.cots .sys-story-label { color: var(--cobalt); }
.sys-story-block.impact .sys-story-label { color: var(--emerald); }

.sys-story-text {
  font-size: 0.87rem;
  color: var(--ink-secondary);
  line-height: 1.58;
}

/* ==========================================================================
   COTS-FIRST HARDWARE ARCHITECTURE SHOWCASE (GRAPHICAL DEFENSE EDITORIAL)
   ========================================================================== */
.cots-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 36px;
  align-items: center;
  margin-bottom: 36px;
}

.cots-visual-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-white);
  border: 1px solid var(--line-subtle);
  box-shadow: var(--shadow-lg);
}

.cots-visual-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.cots-visual-caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  background: var(--bg-white);
  border-top: 1px solid var(--line-subtle);
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 600;
  color: var(--ink-secondary);
}

.cots-visual-caption span {
  color: var(--cobalt);
}

.cots-pillars {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cots-pillar-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: var(--bg-white);
  border: 1px solid var(--line-subtle);
  box-shadow: var(--shadow-xs);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.cots-pillar-card:hover {
  border-color: var(--cobalt-border);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.cots-pillar-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--cobalt-soft);
  border: 1px solid var(--cobalt-border);
  color: var(--cobalt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cots-pillar-card h3 {
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--ink-primary);
  margin-bottom: 4px;
}

.cots-pillar-card p {
  font-size: 0.89rem;
  color: var(--ink-secondary);
  line-height: 1.58;
}

/* Graphical 3-Layer Architectural Stack Diagram */
.arch-blueprint {
  border-radius: var(--radius-xl);
  background: var(--bg-white);
  border: 1px solid var(--line-subtle);
  box-shadow: var(--shadow-md);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.arch-blueprint-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-subtle);
}

.arch-blueprint-head h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--ink-primary);
}

.arch-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--emerald);
  background: var(--emerald-soft);
  border: 1px solid var(--emerald-border);
  padding: 5px 11px;
  border-radius: 999px;
}

.arch-layers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  position: relative;
}

.arch-layer {
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--bg-page);
  border: 1px solid var(--line-subtle);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.arch-layer.core {
  background: linear-gradient(160deg, #0b182e 0%, #13284b 100%);
  border-color: var(--bg-navy);
  color: #ffffff;
}

.arch-layer-step {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cobalt);
}

.arch-layer.core .arch-layer-step {
  color: #7dd3fc;
}

.arch-layer h4 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
}

.arch-node-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.arch-node {
  padding: 9px 12px;
  border-radius: 8px;
  background: var(--bg-white);
  border: 1px solid var(--line-subtle);
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--ink-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.arch-node strong {
  color: var(--ink-primary);
  font-weight: 600;
}

.arch-layer.core .arch-node {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(125, 211, 252, 0.24);
  color: #e2ecf9;
}

.arch-layer.core .arch-node strong {
  color: #ffffff;
}

@media (max-width: 1024px) {
  .cots-hero-split,
  .arch-layers {
    grid-template-columns: 1fr;
  }
}

.system-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 24, 46, 0.08) 0%, rgba(11, 24, 46, 0.68) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 20px;
}

.system-card-badges {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.sys-code-pill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--bg-navy);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.sys-cat-pill {
  font-family: var(--font-mono);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(11, 24, 46, 0.82);
  color: #f8fafc;
  backdrop-filter: blur(8px);
}

.system-title-block h3 {
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.system-title-block .sys-version {
  font-family: var(--font-mono);
  font-size: 0.71rem;
  font-weight: 600;
  color: #a7f3d0;
  margin-top: 2px;
}

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

.system-tagline {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--cobalt);
  margin-bottom: 9px;
}

.system-summary {
  font-size: 0.92rem;
  color: var(--ink-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

.system-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 13px 14px;
  border-radius: 10px;
  background: var(--bg-page);
  border: 1px solid var(--line-subtle);
  margin-bottom: 18px;
}

.sys-metric-val {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--ink-primary);
}

.sys-metric-lbl {
  font-size: 0.72rem;
  color: var(--ink-muted);
  margin-top: 2px;
  line-height: 1.25;
}

.system-protocols {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.protocol-chip {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--ink-secondary);
  background: var(--bg-subtle);
  border: 1px solid var(--line-subtle);
  padding: 3px 9px;
  border-radius: 6px;
}

.system-card-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.platform-list {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-muted);
}

.inspect-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cobalt);
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--cobalt-soft);
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.inspect-btn:hover {
  background: var(--cobalt);
  color: #ffffff;
}

/* ==========================================================================
   INTERACTIVE ENGINEERING LAB — LIGHT STUDIO FRAME + INSTRUMENT DISPLAYS
   ========================================================================== */
.lab-shell {
  border-radius: var(--radius-xl);
  background: var(--bg-white);
  border: 1px solid var(--line-subtle);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.lab-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line-subtle);
  background: var(--bg-page);
}

.lab-tab {
  padding: 18px 20px;
  text-align: left;
  border-right: 1px solid var(--line-subtle);
  transition: background 0.2s ease;
  position: relative;
}

.lab-tab:last-child {
  border-right: none;
}

.lab-tab:hover {
  background: rgba(22, 93, 251, 0.04);
}

.lab-tab.active {
  background: var(--bg-white);
}

.lab-tab.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--cobalt);
}

.lab-tab-code {
  font-family: var(--font-mono);
  font-size: 0.67rem;
  font-weight: 700;
  color: var(--cobalt);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.lab-tab-title {
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--ink-primary);
}

.lab-panel {
  display: none;
  padding: 26px;
}

.lab-panel.active {
  display: block;
}

.lab-split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 24px;
  align-items: stretch;
}

/* Instrument Canvas Viewport: Crisp Slate-Navy Instrument Bezel inside Light Studio */
.lab-stage {
  position: relative;
  border-radius: var(--radius-md);
  background: #0b1629;
  border: 1px solid var(--line-medium);
  overflow: hidden;
  min-height: 410px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.lab-stage canvas {
  width: 100%;
  height: 410px;
  display: block;
}

.lab-hud-overlay {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
  font-family: var(--font-mono);
  font-size: 0.69rem;
  color: #e2ecf9;
}

.lab-hud-pill {
  background: rgba(11, 22, 41, 0.88);
  border: 1px solid rgba(125, 211, 252, 0.3);
  padding: 5px 10px;
  border-radius: 6px;
}

.lab-inspector {
  background: var(--bg-page);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lab-inspector h4 {
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--ink-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.telemetry-kv {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.kv-box {
  padding: 11px 13px;
  border-radius: 9px;
  background: var(--bg-white);
  border: 1px solid var(--line-subtle);
}

.kv-label {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 600;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.kv-val {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-primary);
  margin-top: 3px;
}

.kv-val.cyan { color: var(--cobalt); }
.kv-val.emerald { color: var(--emerald); }
.kv-val.amber { color: var(--amber); }
.kv-val.rose { color: var(--rose); }

.lab-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ctrl-btn {
  padding: 8px 12px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-secondary);
  background: var(--bg-white);
  border: 1px solid var(--line-medium);
  transition: all 0.2s ease;
}

.ctrl-btn:hover {
  border-color: var(--cobalt);
  color: var(--cobalt);
}

.ctrl-btn.active {
  background: var(--cobalt);
  border-color: var(--cobalt);
  color: #ffffff;
}

/* ChangeSense Interactive Comparison Slider */
.compare-stage {
  position: relative;
  height: 410px;
  user-select: none;
  cursor: ew-resize;
  background: #0b1629;
}

.compare-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.compare-layer canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.compare-after {
  clip-path: inset(0 0 0 50%);
}

.compare-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #38bdf8;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.7);
  pointer-events: none;
  z-index: 5;
}

.compare-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--cobalt);
  color: var(--cobalt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.metar-strip {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.55;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--bg-navy);
  color: #e0f2fe;
  word-break: break-word;
}

/* ==========================================================================
   ARCHITECTURE & ZERO-BLIND-TRUST DOCTRINE
   ========================================================================== */
.doctrine-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.doctrine-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  border: 1px solid var(--line-subtle);
  box-shadow: var(--shadow-xs);
  transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.doctrine-card:hover {
  border-color: var(--cobalt-border);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.doctrine-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--cobalt-soft);
  border: 1px solid var(--cobalt-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cobalt);
  margin-bottom: 18px;
}

.doctrine-card h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink-primary);
  margin-bottom: 9px;
}

.doctrine-card p {
  font-size: 0.91rem;
  color: var(--ink-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   COMMERCIAL ENGAGEMENT & DEPLOYMENT MODELS
   ========================================================================== */
.deploy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.deploy-card {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  border: 1px solid var(--line-subtle);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
}

.deploy-card.featured {
  border: 2px solid var(--cobalt);
  box-shadow: var(--shadow-lg);
}

.deploy-badge {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--cobalt-soft);
  color: var(--cobalt);
  margin-bottom: 16px;
}

.deploy-card.featured .deploy-badge {
  background: var(--emerald-soft);
  border: 1px solid var(--emerald-border);
  color: var(--emerald);
}

.deploy-card h3 {
  font-family: var(--font-display);
  font-size: 1.34rem;
  font-weight: 800;
  color: var(--ink-primary);
  margin-bottom: 10px;
}

.deploy-card > p {
  font-size: 0.92rem;
  color: var(--ink-secondary);
  margin-bottom: 22px;
}

.deploy-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 28px;
}

.deploy-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.89rem;
  color: var(--ink-secondary);
}

.deploy-list li::before {
  content: '✓';
  color: var(--emerald);
  font-weight: 800;
  flex-shrink: 0;
}

.deploy-card .btn {
  margin-top: auto;
  width: 100%;
}

/* ==========================================================================
   CONTACT & EXECUTIVE BRIEFING DESK
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: start;
}

.contact-panel {
  padding: 34px;
  border-radius: var(--radius-xl);
  background: var(--bg-white);
  border: 1px solid var(--line-subtle);
  box-shadow: var(--shadow-md);
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
}

.channel-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 18px;
  border-radius: 12px;
  background: var(--bg-page);
  border: 1px solid var(--line-subtle);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.channel-card:hover {
  border-color: var(--cobalt);
  background: var(--bg-tinted);
  transform: translateX(3px);
}

.channel-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--bg-white);
  border: 1px solid var(--cobalt-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cobalt);
  flex-shrink: 0;
}

.channel-label {
  font-family: var(--font-mono);
  font-size: 0.67rem;
  font-weight: 600;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.channel-value {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink-primary);
}

.briefing-form {
  padding: 34px;
  border-radius: var(--radius-xl);
  background: var(--bg-white);
  border: 1px solid var(--line-subtle);
  box-shadow: var(--shadow-md);
}

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

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

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

.form-field label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-secondary);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 9px;
  background: var(--bg-page);
  border: 1px solid var(--line-medium);
  color: var(--ink-primary);
  font-size: 0.93rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  background: var(--bg-white);
  border-color: var(--cobalt);
  box-shadow: 0 0 0 3px rgba(22, 93, 251, 0.12);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}

.form-feedback {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 0.88rem;
  display: none;
}

.form-feedback.show {
  display: block;
  background: var(--emerald-soft);
  border: 1px solid var(--emerald-border);
  color: #065f46;
}

/* ==========================================================================
   TECHNICAL DOSSIER MODAL (LIGHT PUBLICATION GRADE)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(11, 24, 46, 0.56);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  width: 100%;
  max-width: 840px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-xl);
  background: var(--bg-white);
  border: 1px solid var(--line-subtle);
  box-shadow: 0 32px 84px rgba(11, 24, 46, 0.26);
  position: relative;
}

.modal-head {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-subtle);
}

.modal-close {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line-medium);
  background: var(--bg-page);
  color: var(--ink-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.modal-close:hover {
  background: var(--cobalt-soft);
  border-color: var(--cobalt);
  color: var(--cobalt);
}

.modal-body {
  padding: 26px 28px 30px;
}

.modal-section-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin: 22px 0 12px;
}

.modal-cap-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-cap-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.92rem;
  color: var(--ink-secondary);
  line-height: 1.6;
}

.modal-cap-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--cobalt);
}

.modal-deploy-box {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 10px;
  background: var(--bg-page);
  border: 1px solid var(--line-subtle);
  font-size: 0.89rem;
  color: var(--ink-secondary);
}

.modal-actions {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line-subtle);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

/* ==========================================================================
   EXECUTIVE FOOTER (REFINED SLATE-LIGHT WITH NAVY ACCENT)
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--line-subtle);
  background: var(--bg-white);
  padding: 64px 0 36px;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 44px;
}

.footer-desc {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--ink-muted);
  max-width: 340px;
  line-height: 1.65;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-primary);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col a {
  font-size: 0.89rem;
  color: var(--ink-secondary);
  transition: color 0.2s ease;
}

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line-subtle);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   SCROLL REVEAL ANIMATION
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .lab-split {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 860px) {
  .nav-links,
  .header-telemetry {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

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

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

  .lab-tab {
    border-bottom: 1px solid var(--line-subtle);
  }

  .ideology-manifesto {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .container,
  .hero-grid {
    padding-left: 18px;
    padding-right: 18px;
  }

  .section {
    padding: 72px 0;
  }

  .ideology-grid,
  .sectors-grid,
  .doctrine-grid,
  .deploy-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-proof-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .header-actions .btn {
    display: none;
  }
}

/* Clean Print / Executive PDF Export */
@media print {
  .site-header, #vor-hero-canvas, .lab-shell, .briefing-form, .mobile-menu-btn {
    display: none !important;
  }
  .section {
    padding: 28px 0;
  }
}

/* ==========================================================================
   CONSULTATIVE TECHNICAL ADVISORY (#advisory)
   ========================================================================== */
.advisory-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.advisory-step {
  padding: 26px 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  border: 1px solid var(--line-subtle);
  box-shadow: var(--shadow-xs);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.advisory-step:hover {
  transform: translateY(-3px);
  border-color: var(--cobalt-border);
  box-shadow: var(--shadow-md);
}

.advisory-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--cobalt-soft);
  border: 1px solid var(--cobalt-border);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cobalt);
  margin-bottom: 4px;
}

.advisory-step h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink-primary);
}

.advisory-step p {
  font-size: 0.88rem;
  color: var(--ink-secondary);
  line-height: 1.6;
}

.advisory-deliverable {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line-subtle);
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 600;
  color: var(--emerald);
}

/* ==========================================================================
   CLIENT CASE STUDIES (#case-studies)
   ========================================================================== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.case-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-xl);
  background: var(--bg-white);
  border: 1px solid var(--line-subtle);
  box-shadow: var(--shadow-sm);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.case-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--bg-navy), var(--cobalt));
}

.case-card:hover {
  transform: translateY(-3px);
  border-color: var(--cobalt-border);
  box-shadow: var(--shadow-lg);
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.case-code {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cobalt);
  text-transform: uppercase;
}

.case-client {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.case-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -0.02em;
  color: var(--ink-primary);
  margin-bottom: 16px;
}

.case-outcomes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
  border-radius: 11px;
  background: var(--bg-navy);
  color: #ffffff;
  margin: 16px 0;
}

.case-outcome-val {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #7dd3fc;
}

.case-outcome-lbl {
  font-size: 0.7rem;
  color: #cbd5e1;
  margin-top: 2px;
  line-height: 1.25;
}

.case-result-note {
  font-size: 0.89rem;
  color: var(--ink-secondary);
  line-height: 1.6;
  margin-bottom: 18px;
}

.case-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line-subtle);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* ==========================================================================
   ALTIVOR THOUGHT PAPERS & RESEARCH LIBRARY (#thought-papers)
   ========================================================================== */
.papers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.paper-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  border: 1px solid var(--line-subtle);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.paper-card:hover {
  transform: translateY(-3px);
  border-color: var(--cobalt-border);
  box-shadow: var(--shadow-lg);
}

.paper-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.paper-id-badge {
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 700;
  color: var(--bg-navy);
  background: var(--bg-subtle);
  border: 1px solid var(--line-medium);
  padding: 4px 10px;
  border-radius: 6px;
}

.paper-cat-pill {
  font-family: var(--font-mono);
  font-size: 0.67rem;
  font-weight: 600;
  color: var(--cobalt);
  background: var(--cobalt-soft);
  padding: 4px 10px;
  border-radius: 999px;
}

.paper-card h3 {
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--ink-primary);
  margin-bottom: 12px;
}

.paper-abstract {
  font-size: 0.91rem;
  color: var(--ink-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
}

.paper-takeaways {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--bg-page);
  border: 1px solid var(--line-subtle);
  margin-bottom: 20px;
}

.paper-takeaways li {
  font-size: 0.83rem;
  color: var(--ink-secondary);
  padding-left: 16px;
  position: relative;
  line-height: 1.48;
}

.paper-takeaways li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--cobalt);
  font-weight: 700;
}

.paper-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.paper-byline {
  font-family: var(--font-mono);
  font-size: 0.69rem;
  color: var(--ink-muted);
}

/* Publication Reader Styling inside Modal */
.paper-reader-section {
  margin-top: 22px;
}

.paper-reader-section h4 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--ink-primary);
  margin-bottom: 8px;
}

.paper-reader-section p {
  font-size: 0.95rem;
  color: var(--ink-secondary);
  line-height: 1.75;
}

.paper-citation-box {
  margin-top: 24px;
  padding: 16px 18px;
  border-radius: 10px;
  background: var(--bg-page);
  border: 1px solid var(--line-subtle);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .advisory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cases-grid,
  .papers-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .advisory-grid,
  .case-outcomes {
    grid-template-columns: 1fr;
  }
}
