/* ─────────────────────────────────────────────────────────────────────────────
   ELEMENTARY GROUP · BRAND OPERATING SYSTEM · v1.0
   BOS Reference: EG·BOS·001 — Canonical stylesheet
   ───────────────────────────────────────────────────────────────────────────── */

/* ── DESIGN TOKENS ─────────────────────────────────────────────────────────── */
:root {
  /* Color system — 90/8/2 budget */
  --paper:        #F5F2EC;
  --paper-dim:    #EAE6DF;
  --white:        #FFFFFF;
  --graphite:     #16181C;
  --graphite-2:   #1E2026;
  --graphite-3:   #252830;
  --graphite-4:   #2E3138;
  --graphite-5:   #3A3D45;
  --graphite-6:   #4A4E58;
  --mid:          #7A7E8A;
  --mid-light:    #9A9EAA;
  --burgundy:     #5A1220;
  --burgundy-mid: #7A1A2E;
  --burgundy-dim: rgba(90, 18, 32, 0.12);
  --burgundy-glow:rgba(90, 18, 32, 0.06);
  --burgundy-atm: rgba(90, 18, 32, 0.038);  /* atmospheric — section bg warmth */
  --burgundy-halo:rgba(90, 18, 32, 0.09);   /* internal panel warm light */
  --burgundy-sig: rgba(122, 26, 46, 0.52);  /* routing signals / accent lines */

  /* Semantic */
  --bg:           var(--paper);
  --fg:           var(--graphite);
  --surface:      var(--white);
  --border:       rgba(22, 24, 28, 0.08);
  --border-dark:  rgba(245, 242, 236, 0.07);
  --muted:        var(--mid);

  /* Typography */
  --sans:    "Geist", "Inter", -apple-system, system-ui, sans-serif;
  --mono:    "Geist Mono", "JetBrains Mono", "Fira Code", ui-monospace, monospace;
  --serif:   "Georgia", "Times New Roman", serif;

  /* Scale — 8pt base */
  --s-1:   4px;
  --s-2:   8px;
  --s-3:  12px;
  --s-4:  16px;
  --s-5:  24px;
  --s-6:  32px;
  --s-7:  48px;
  --s-8:  64px;
  --s-9:  96px;
  --s-10: 128px;

  /* Layout */
  --safe-x:  clamp(24px, 4vw, 72px);
  --max-w:   1440px;
  --col-gap: 24px;

  /* Motion — intentional, no bounce */
  --ease-out:    cubic-bezier(.4, 0, .2, 1);
  --ease-tile:   cubic-bezier(.2, 0, 0, 1);
  --ease-stack:  cubic-bezier(.4, 0, .6, 1);
  --ease-reveal: cubic-bezier(.16, 1, .3, 1);
  --dur-fast:    160ms;
  --dur-mid:     240ms;
  --dur-slow:    480ms;
  --dur-enter:   600ms;

  /* Sysbar */
  --sysbar-h: 32px;
  --nav-h:    60px;
}

/* ── RESET ──────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth; }
body { background: var(--paper); color: var(--graphite); font-family: var(--sans); line-height: 1.5; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img, video, canvas, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
ul, ol { list-style: none; }

/* ── TYPOGRAPHY SYSTEM ──────────────────────────────────────────────────────── */
.t-display {
  font-family: var(--sans);
  font-size: clamp(48px, 6.5vw, 104px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.94;
}
.t-display-sm {
  font-size: clamp(36px, 4.5vw, 72px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.95;
}
.t-title {
  font-size: clamp(24px, 2.5vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.t-title-sm {
  font-size: clamp(20px, 1.8vw, 28px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.t-lede {
  font-size: clamp(17px, 1.4vw, 22px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.55;
}
.t-body {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0;
}
.t-meta {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
}
.t-mono {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.5;
}
.t-mono-sm {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── LAYOUT PRIMITIVES ──────────────────────────────────────────────────────── */
.section {
  padding-top:    clamp(80px, 10vw, 160px);
  padding-bottom: clamp(80px, 10vw, 160px);
  padding-left:   var(--safe-x);
  padding-right:  var(--safe-x);
}
.section-sm {
  padding-top:    clamp(56px, 6vw, 96px);
  padding-bottom: clamp(56px, 6vw, 96px);
  padding-left:   var(--safe-x);
  padding-right:  var(--safe-x);
}
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}
.hairline {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}
.hairline-dark { border-color: var(--border-dark); }

/* ── AMBIENT SYSTEM GRID ────────────────────────────────────────────────────── */
.sys-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(22,24,28,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22,24,28,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.sys-grid-bg-dark {
  background-image:
    linear-gradient(rgba(245,242,236,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,242,236,0.025) 1px, transparent 1px);
}

/* ── SYSTEM BAR ─────────────────────────────────────────────────────────────── */
.sysbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--sysbar-h);
  background: var(--graphite);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--safe-x);
  z-index: 9000;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(245,242,236,0.35);
}
.sysbar__left,
.sysbar__right { display: flex; align-items: center; gap: var(--s-5); }
.sysbar__dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #4CAF50;
  box-shadow: 0 0 4px rgba(76,175,80,0.5);
  animation: sys-pulse 3s ease-in-out infinite;
}
@keyframes sys-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}
.sysbar__divider {
  width: 1px; height: 10px;
  background: rgba(255,255,255,0.1);
}
@media (max-width: 640px) {
  .sysbar__right { display: none; }
  .sysbar { font-size: 9px; letter-spacing: 0.06em; }
}

/* ── NAVIGATION ─────────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: var(--sysbar-h);
  left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--safe-x);
  z-index: 8000;
  transition: background var(--dur-mid) var(--ease-out),
              border-color var(--dur-mid) var(--ease-out),
              box-shadow var(--dur-mid) var(--ease-out),
              backdrop-filter var(--dur-mid) var(--ease-out);
}
.nav.scrolled {
  background: rgba(245,242,236,0.92);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}

/* Dark nav — atmospheric glass surface integrated into the infrastructure environment */
.nav.dark {
  background: rgba(22,24,28,0.36);
  backdrop-filter: blur(22px) saturate(130%);
  border-bottom: 1px solid rgba(245,242,236,0.04);
  box-shadow: 0 1px 0 rgba(245,242,236,0.03), 0 8px 40px rgba(0,0,0,0.22);
}
.nav.dark.scrolled {
  background: rgba(22,24,28,0.94);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: none;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  cursor: pointer;
}
.nav__logo-mark {
  height: 24px;
  width: auto;
  display: block;
  image-rendering: -webkit-optimize-contrast;
}
.nav__logo-text {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--graphite);
  transition: color var(--dur-mid) var(--ease-out);
}
.nav.dark .nav__logo-text { color: rgba(245,242,236,0.90); }
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--s-7);
}
.nav__link {
  position: relative;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--graphite);
  opacity: 0.62;
  transition: opacity var(--dur-fast) var(--ease-out);
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  opacity: 0.38;
  transition: width var(--dur-mid) var(--ease-out);
}
.nav__link:hover { opacity: 0.95; }
.nav__link:hover::after { width: 100%; }
.nav.dark .nav__link { color: var(--paper); opacity: 0.72; }
.nav.dark .nav__link:hover { opacity: 1; }

/* Contact button integrated into the infrastructure interface language */
.nav.dark .btn-ghost {
  color: rgba(245,242,236,0.80);
  border-color: rgba(245,242,236,0.18);
  background: rgba(245,242,236,0.04);
}
.nav.dark .btn-ghost:hover {
  background: rgba(245,242,236,0.08);
  border-color: rgba(245,242,236,0.30);
  color: var(--paper);
}
.nav__cta {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

/* ── LANGUAGE SWITCHER ──────────────────────────────────────────────────────── */
.nav__lang {
  display: flex;
  align-items: center;
  gap: 1px;
  margin-right: var(--s-2);
}
.nav__lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--graphite);
  opacity: 0.35;
  padding: 4px 5px;
  border-radius: 2px;
  transition: opacity var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out);
  line-height: 1;
}
.nav__lang-btn:hover { opacity: 0.7; }
.nav__lang-btn--active {
  opacity: 1;
  background: rgba(22, 24, 28, 0.07);
}
.nav__lang-sep {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--graphite);
  opacity: 0.2;
  pointer-events: none;
  user-select: none;
}
.nav.dark .nav__lang-btn { color: rgba(245,242,236,0.9); opacity: 0.35; }
.nav.dark .nav__lang-btn:hover { opacity: 0.75; }
.nav.dark .nav__lang-btn--active {
  opacity: 1;
  background: rgba(245,242,236,0.08);
}
.nav.dark .nav__lang-sep { color: rgba(245,242,236,0.9); opacity: 0.2; }
/* ── HAMBURGER BUTTON ───────────────────────────────────────────────────────── */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 4px;
  transition: background var(--dur-fast) var(--ease-out);
}
.nav__hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--graphite);
  border-radius: 1px;
  transition: background var(--dur-fast) var(--ease-out);
}
.nav__hamburger--dark span { background: rgba(245,242,236,0.85); }
.nav__hamburger:hover { background: rgba(22,24,28,0.06); }
.nav__hamburger--dark:hover { background: rgba(245,242,236,0.07); }

/* ── MOBILE MENU OVERLAY ────────────────────────────────────────────────────── */
.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: var(--graphite);
  display: flex;
  flex-direction: column;
  padding: 0 var(--safe-x);
  transform: translateX(100%);
  transition: transform var(--dur-slow) var(--ease-out);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.nav-mobile--open {
  transform: translateX(0);
}
.nav-mobile__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: calc(var(--sysbar-h) + var(--nav-h));
  padding-top: var(--sysbar-h);
  flex-shrink: 0;
}
.nav-mobile__close {
  position: relative;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 4px;
  transition: background var(--dur-fast) var(--ease-out);
}
.nav-mobile__close:hover { background: rgba(245,242,236,0.07); }
.nav-mobile__close span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 18px;
  height: 1.5px;
  background: rgba(245,242,236,0.80);
  border-radius: 1px;
}
.nav-mobile__close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}
.nav-mobile__close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.nav-mobile__links {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  justify-content: center;
  padding: var(--s-8) 0;
}
.nav-mobile__link {
  font-family: var(--sans);
  font-size: clamp(28px, 7vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: rgba(245,242,236,0.45);
  padding: var(--s-4) 0;
  border-bottom: 1px solid rgba(245,242,236,0.05);
  transition: color var(--dur-fast) var(--ease-out);
  display: block;
}
.nav-mobile__link:first-child { border-top: 1px solid rgba(245,242,236,0.05); }
.nav-mobile__link:hover,
.nav-mobile__link--active { color: var(--paper); }
.nav-mobile__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s-6) 0 var(--s-8);
  flex-shrink: 0;
}
.nav-mobile__footer .nav__lang-btn { color: rgba(245,242,236,0.9); opacity: 0.35; }
.nav-mobile__footer .nav__lang-btn:hover { opacity: 0.75; }
.nav-mobile__footer .nav__lang-btn--active { opacity: 1; background: rgba(245,242,236,0.08); }
.nav-mobile__footer .nav__lang-sep { color: rgba(245,242,236,0.9); opacity: 0.2; }
.nav-mobile__cta {
  color: rgba(245,242,236,0.80) !important;
  border-color: rgba(245,242,236,0.18) !important;
  background: rgba(245,242,236,0.04) !important;
}
.nav-mobile__cta:hover {
  background: rgba(245,242,236,0.08) !important;
  border-color: rgba(245,242,236,0.30) !important;
  color: var(--paper) !important;
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__contact-desktop { display: none !important; }
  .nav > .nav__cta > .nav__lang { display: none !important; }
  .nav__hamburger { display: flex; }
}

/* ── CURSOR ─────────────────────────────────────────────────────────────────── */
.cursor {
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  mix-blend-mode: difference;
}
.cursor__ring {
  width: 32px; height: 32px;
  border: 1px solid rgba(245,242,236,0.7);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform var(--dur-fast) var(--ease-out),
              width var(--dur-fast) var(--ease-out),
              height var(--dur-fast) var(--ease-out);
}
.cursor__dot {
  position: absolute;
  top: 50%; left: 50%;
  width: 4px; height: 4px;
  background: var(--paper);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor.hovering .cursor__ring {
  width: 48px; height: 48px;
  border-color: rgba(245,242,236,0.4);
}

/* ── BUTTONS ────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.btn-primary {
  background: var(--graphite);
  color: var(--paper);
  padding: var(--s-3) var(--s-5);
}
.btn-primary:hover { background: var(--graphite-4); }
.btn-ghost {
  background: transparent;
  color: var(--graphite);
  padding: var(--s-3) var(--s-5);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--graphite-5); }
.btn-ghost-dark {
  background: transparent;
  color: var(--paper);
  padding: var(--s-3) var(--s-5);
  border: 1px solid rgba(245,242,236,0.15);
}
.btn-ghost-dark:hover { border-color: rgba(245,242,236,0.4); }
.btn-paper {
  background: var(--paper);
  color: var(--graphite);
  padding: var(--s-3) var(--s-5);
  border: 1px solid transparent;
}
.btn-paper:hover { background: var(--white); }
.btn-arrow { gap: var(--s-2); }

/* ── HERO SECTION ───────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  background: var(--graphite);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-left: var(--safe-x);
  padding-right: var(--safe-x);
  padding-bottom: clamp(56px, 6vw, 96px);
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 40% at 78% 88%, rgba(90,18,32,0.18) 0%, transparent 65%),
    radial-gradient(ellipse 30% 28% at 10% 62%, rgba(90,18,32,0.07) 0%, transparent 58%),
    linear-gradient(
      to bottom,
      transparent 0%,
      transparent 40%,
      rgba(22,24,28,0.6) 75%,
      rgba(22,24,28,0.9) 100%
    );
  pointer-events: none;
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  margin-bottom: var(--s-6);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.4);
}
.hero__eyebrow-line {
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, rgba(122,26,46,0.55) 0%, rgba(245,242,236,0.2) 100%);
}
.hero__headline {
  color: var(--paper);
  max-width: 820px;
  margin-bottom: var(--s-6);
}
.hero__sub {
  color: rgba(245,242,236,0.5);
  max-width: 480px;
  margin-bottom: var(--s-7);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.01em;
}
.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  flex-wrap: wrap;
}
.hero__scroll {
  position: absolute;
  bottom: clamp(48px, 5vw, 80px);
  right: var(--safe-x);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.25);
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(122,26,46,0.5), rgba(245,242,236,0.22), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50%       { opacity: 0.4; transform: scaleY(0.7); }
}

/* ── KPI STRIP ──────────────────────────────────────────────────────────────── */
.kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
}
.kpi-strip--dark {
  border-color: var(--border-dark);
}
.kpi-strip__item {
  padding: var(--s-6) 0;
  border-right: 1px solid var(--border);
}
.kpi-strip__item:last-child { border-right: none; }
.kpi-strip--dark .kpi-strip__item { border-color: var(--border-dark); }
.kpi-strip__value {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: var(--s-2);
}
.kpi-strip__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.45;
}
@media (max-width: 640px) {
  .kpi-strip { grid-template-columns: repeat(2, 1fr); }
  .kpi-strip__item:nth-child(2) { border-right: none; }
}

/* ── MANIFESTO SECTION ──────────────────────────────────────────────────────── */
.manifesto {
  background: var(--graphite);
  color: var(--paper);
}
.manifesto__statement {
  color: rgba(245,242,236,0.9);
  border-bottom: 1px solid rgba(245,242,236,0.06);
  padding-bottom: clamp(56px, 6vw, 96px);
  margin-bottom: clamp(56px, 6vw, 96px);
}
.manifesto__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-8);
}
.manifesto__principle { }
.manifesto__principle-index {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(245,242,236,0.3);
  margin-bottom: var(--s-5);
}
.manifesto__principle-title {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin-bottom: var(--s-4);
}
.manifesto__principle-body {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(245,242,236,0.5);
}
@media (max-width: 768px) {
  .manifesto__grid { grid-template-columns: 1fr; gap: var(--s-7); }
}

/* ── VERTICALS SECTION ──────────────────────────────────────────────────────── */
.verticals__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}
.vertical-card {
  background: var(--paper);
  padding: var(--s-7) var(--s-6);
  position: relative;
  overflow: hidden;
  transition: background var(--dur-mid) var(--ease-out);
  cursor: pointer;
}
.vertical-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--burgundy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-mid) var(--ease-out);
}
.vertical-card:hover::after { transform: scaleX(1); }
.vertical-card__index {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: var(--s-7);
}
.vertical-card__title {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: var(--s-4);
}
.vertical-card__body {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}
@media (max-width: 900px) {
  .verticals__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .verticals__grid { grid-template-columns: 1fr; }
}

/* ── INFRASTRUCTURE VISUALIZATION ──────────────────────────────────────────── */
.infra-section {
  background: var(--graphite-2);
  color: var(--paper);
  overflow: hidden;
}
.infra-section__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
  align-items: end;
  margin-bottom: var(--s-8);
}
.infra-section__canvas-wrap {
  position: relative;
  height: 480px;
  border: 1px solid rgba(245,242,236,0.06);
  background: var(--graphite);
  overflow: hidden;
}
.infra-section__canvas-wrap canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.infra-section__legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5) var(--s-7);
  margin-top: var(--s-5);
}
.infra-legend-item {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}
.infra-legend-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.infra-legend-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.45);
}
@media (max-width: 900px) {
  .infra-section__header { grid-template-columns: 1fr; }
}

/* ── TECH STACK ─────────────────────────────────────────────────────────────── */
.techstack__list { }
.techstack__item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: start;
  gap: var(--s-5);
  padding: var(--s-6) 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out);
}
.techstack__item:first-child { border-top: 1px solid var(--border); }
.techstack__item--active .techstack__index { color: var(--burgundy); }
.techstack__index {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--muted);
  padding-top: 2px;
  transition: color var(--dur-fast) var(--ease-out);
}
.techstack__body { }
.techstack__name {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: var(--s-2);
}
.techstack__desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-slow) var(--ease-out),
              opacity var(--dur-mid) var(--ease-out);
  opacity: 0;
}
.techstack__item--active .techstack__desc {
  max-height: 120px;
  opacity: 1;
}
.techstack__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-3);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height var(--dur-slow) var(--ease-out),
              opacity var(--dur-mid) var(--ease-out);
}
.techstack__item--active .techstack__tags { max-height: 48px; opacity: 1; }
.techstack__tag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  background: var(--paper-dim);
  color: var(--muted);
}
.techstack__status {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: var(--s-1) var(--s-3);
  background: var(--paper-dim);
  color: var(--muted);
  height: fit-content;
  white-space: nowrap;
}
.techstack__item--active .techstack__status {
  background: var(--burgundy-dim);
  color: var(--burgundy);
}

/* ── 3D STACK ───────────────────────────────────────────────────────────────── */
.stack3d {
  perspective: 1200px;
  perspective-origin: 50% 40%;
}
.stack3d__layers {
  transform-style: preserve-3d;
  transform: rotateX(52deg) rotateZ(-22deg);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.stack3d__layer {
  position: relative;
  height: 52px;
  background: var(--paper);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 var(--s-5);
  cursor: pointer;
  transform-origin: center;
  transition: transform var(--dur-mid) var(--ease-stack),
              background var(--dur-mid) var(--ease-out),
              border-color var(--dur-mid) var(--ease-out);
  opacity: 0;
  transform: translateZ(-40px);
}
.stack3d__layer.entered {
  opacity: 1;
  transform: translateZ(0);
}
.stack3d__layer--active,
.stack3d__layer:hover {
  background: var(--graphite);
  border-color: var(--graphite-4);
  z-index: 1;
}
.stack3d__layer--active .stack3d__label,
.stack3d__layer:hover .stack3d__label { color: var(--paper); }
.stack3d__layer--active .stack3d__meta,
.stack3d__layer:hover .stack3d__meta { color: rgba(245,242,236,0.45); }
.stack3d__index {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--muted);
  min-width: 36px;
}
.stack3d__label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  flex: 1;
  transition: color var(--dur-fast) var(--ease-out);
}
.stack3d__meta {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 0.06em;
  transition: color var(--dur-fast) var(--ease-out);
}

/* ── CAPABILITIES ───────────────────────────────────────────────────────────── */
.capabilities__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
.capability-tile {
  padding: var(--s-7) var(--s-6);
  background: var(--paper-dim);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: background var(--dur-mid) var(--ease-out),
              transform var(--dur-mid) var(--ease-tile);
}
.capability-tile:hover { background: var(--graphite); }
.capability-tile:hover .capability-tile__title { color: var(--paper); }
.capability-tile:hover .capability-tile__body { color: rgba(245,242,236,0.5); }
.capability-tile:hover .capability-tile__index { color: rgba(245,242,236,0.25); }
.capability-tile__index {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: var(--s-7);
  transition: color var(--dur-mid) var(--ease-out);
}
.capability-tile__title {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: var(--s-4);
  transition: color var(--dur-mid) var(--ease-out);
}
.capability-tile__body {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
  transition: color var(--dur-mid) var(--ease-out);
}
@media (max-width: 768px) {
  .capabilities__grid { grid-template-columns: 1fr; }
}

/* ── KPI HERO ───────────────────────────────────────────────────────────────── */
.kpi-hero {
  background: var(--graphite);
  color: var(--paper);
  text-align: center;
}
.kpi-hero__value {
  font-size: clamp(80px, 12vw, 160px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.9;
  margin-bottom: var(--s-5);
}
.kpi-hero__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.35);
}

/* ── FRAMEWORK PIPELINE ─────────────────────────────────────────────────────── */
.framework__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}
.framework__step {
  padding: var(--s-7) var(--s-6) var(--s-7) 0;
  position: relative;
}
.framework__step::after {
  content: '';
  position: absolute;
  top: calc(var(--s-7) + 6px);
  right: 0;
  width: 1px;
  height: 1px;
  box-shadow: 24px 0 0 rgba(22,24,28,0.3);
}
.framework__step:last-child::after { display: none; }
.framework__step-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: var(--s-5);
}
.framework__step-title {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: var(--s-4);
}
.framework__step-body {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}
.framework__line {
  height: 1px;
  background: var(--border);
  margin-bottom: var(--s-8);
  position: relative;
  overflow: hidden;
}
.framework__line::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 1px;
  width: 120px;
  background: var(--burgundy);
  animation: flow-right 3s linear infinite;
}
@keyframes flow-right {
  from { transform: translateX(-120px); }
  to   { transform: translateX(calc(100vw + 120px)); }
}
@media (max-width: 900px) {
  .framework__steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .framework__steps { grid-template-columns: 1fr; }
}

/* ── HOME CARDS / SITE INDEX ────────────────────────────────────────────────── */
.home-cards__list { }
.home-card {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: var(--s-6);
  padding: var(--s-6) 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: padding-left var(--dur-mid) var(--ease-out);
}
.home-card:first-child { border-top: 1px solid var(--border); }
.home-card:hover { padding-left: var(--s-4); }
.home-card__num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.home-card__title {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.home-card__arrow {
  font-size: 18px;
  color: var(--muted);
  transition: transform var(--dur-mid) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
}
.home-card:hover .home-card__arrow {
  transform: translateX(4px);
  color: var(--graphite);
}

/* ── STUDIO SECTION ─────────────────────────────────────────────────────────── */
.studio {
  background: var(--burgundy);
  color: var(--paper);
}
.studio__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-10);
  align-items: center;
}
.studio__meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.45);
  margin-bottom: var(--s-5);
}
.studio__title { margin-bottom: var(--s-5); }
.studio__body {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(245,242,236,0.65);
  margin-bottom: var(--s-7);
}
.studio__services {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(245,242,236,0.1);
}
.studio__service {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s-4) 0;
  border-bottom: 1px solid rgba(245,242,236,0.1);
  font-size: 14px;
  font-weight: 500;
  color: rgba(245,242,236,0.8);
}
.studio__service-tag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.35);
}
@media (max-width: 768px) {
  .studio__inner { grid-template-columns: 1fr; gap: var(--s-8); }
}

/* ── NEWS SECTION ───────────────────────────────────────────────────────────── */
.news__list { }
.news-row {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  align-items: start;
  gap: var(--s-6);
  padding: var(--s-6) 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out);
}
.news-row:first-child { border-top: 1px solid var(--border); }
.news-row__date {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding-top: 3px;
}
.news-row__title {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: var(--s-2);
}
.news-row__excerpt {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.news-row__tag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  background: var(--paper-dim);
  color: var(--muted);
  height: fit-content;
  white-space: nowrap;
}

/* ── GROUP ENTITIES ─────────────────────────────────────────────────────────── */
.group__entities {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  margin-bottom: 0;
}
.entity-card {
  background: var(--paper);
  padding: var(--s-7) var(--s-6);
  position: relative;
  overflow: hidden;
  transition: background var(--dur-mid) var(--ease-out);
}
.entity-card__tag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--s-5);
}
.entity-card__name {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: var(--s-4);
}
.entity-card__desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

/* ── OASI — flagship entity card ─────────────────────────── */
.entity-card--flagship {
  background: var(--graphite);
  color: var(--paper);
}
.entity-card--flagship::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 55%;
  background: radial-gradient(ellipse at 50% 100%, rgba(90,18,32,0.20) 0%, transparent 70%);
  pointer-events: none;
  transition: opacity var(--dur-mid) var(--ease-out);
}
.entity-card--flagship:hover::after {
  background: radial-gradient(ellipse at 50% 100%, rgba(90,18,32,0.38) 0%, transparent 68%);
}
.entity-card--flagship .entity-card__tag  { color: rgba(245,242,236,0.28); }
.entity-card--flagship .entity-card__name { color: var(--paper); }
.entity-card--flagship .entity-card__desc { color: rgba(245,242,236,0.44); }

.entity-card__caps {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(245,242,236,0.07);
}
.entity-card__cap {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.25);
  padding: 3px var(--s-3);
  border: 1px solid rgba(245,242,236,0.07);
  transition: color var(--dur-mid) var(--ease-out), border-color var(--dur-mid) var(--ease-out);
}
.entity-card--flagship:hover .entity-card__cap {
  color: rgba(122,26,46,0.6);
  border-color: rgba(90,18,32,0.2);
}

@media (max-width: 1100px) {
  .group__entities { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .group__entities { grid-template-columns: 1fr; }
}

/* ── GROUP TECHNOLOGY ALLIANCES ─────────────────────────────────────────────── */
.tech-alliances {
  position: relative;
  padding-top:    clamp(80px, 10vw, 160px);
  padding-bottom: clamp(80px, 10vw, 160px);
  padding-left:   var(--safe-x);
  padding-right:  var(--safe-x);
  background: var(--graphite);
  overflow: hidden;
}
.tech-alliances::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 85%, rgba(90,18,32,0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 15%, rgba(90,18,32,0.05) 0%, transparent 55%);
  pointer-events: none;
}
.tech-alliances::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(245,242,236,0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.tech-alliances .container { position: relative; z-index: 1; }

.alliance-header {
  margin-bottom: var(--s-9);
}
.alliance-header__desc {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(245,242,236,0.32);
  max-width: 500px;
  letter-spacing: 0.01em;
}

.alliance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: var(--s-8);
}

.alliance-node {
  display: flex;
  align-items: baseline;
  gap: var(--s-4);
  padding: var(--s-4) 0;
  border-bottom: 1px solid rgba(245,242,236,0.05);
  cursor: default;
  position: relative;
}

.alliance-node__indicator {
  flex-shrink: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(245,242,236,0.12);
  position: relative;
  top: -2px;
  transition: background var(--dur-mid) var(--ease-out), box-shadow var(--dur-mid) var(--ease-out);
}
.alliance-node:hover .alliance-node__indicator {
  background: var(--burgundy-mid);
  box-shadow: 0 0 8px rgba(90,18,32,0.5);
}

.alliance-node__name {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.55);
  transition: color var(--dur-mid) var(--ease-out);
  flex: 1;
}
.alliance-node:hover .alliance-node__name { color: rgba(245,242,236,0.85); }

.alliance-node__category {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(122,26,46,0.55);
  opacity: 0;
  transition: opacity var(--dur-mid) var(--ease-out);
}
.alliance-node:hover .alliance-node__category { opacity: 1; }

@media (max-width: 900px) {
  .alliance-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .alliance-grid { grid-template-columns: 1fr; }
}

/* ── CAREERS ────────────────────────────────────────────────────────────────── */
.careers {
  background: var(--graphite);
  color: var(--paper);
}
.careers__roles { margin-bottom: var(--s-10); }
.careers-role {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: var(--s-6);
  padding: var(--s-6) 0;
  border-bottom: 1px solid rgba(245,242,236,0.06);
  cursor: pointer;
  transition: padding-left var(--dur-mid) var(--ease-out);
}
.careers-role:first-child { border-top: 1px solid rgba(245,242,236,0.06); }
.careers-role:hover { padding-left: var(--s-3); }
.careers-role__title {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.careers-role__dept {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.35);
}
.careers-role__type {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border: 1px solid rgba(245,242,236,0.12);
  color: rgba(245,242,236,0.45);
  white-space: nowrap;
}
.careers-role__arrow {
  font-size: 14px;
  color: rgba(245,242,236,0.2);
  transition: color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
  display: inline-block;
}
.careers-role:hover .careers-role__arrow {
  color: rgba(245,242,236,0.7);
  transform: translateX(4px);
}

/* ── CONTACT (REDESIGNED) ────────────────────────────────────────────────────── */
.contact-section {
  background: var(--graphite);
  color: var(--paper);
}

.contact-protocol-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--s-7);
  border-bottom: 1px solid rgba(245,242,236,0.06);
  margin-bottom: var(--s-9);
}
.contact-protocol-bar__id {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.22);
}
.contact-protocol-bar__status {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.32);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}

/* Dark-themed form elements */
.contact-dark__topics {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-bottom: var(--s-6);
}
.contact-dark__topic {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--s-2) var(--s-4);
  background: rgba(245,242,236,0.04);
  color: rgba(245,242,236,0.38);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
  border: 1px solid rgba(245,242,236,0.07);
}
.contact-dark__topic--active {
  background: var(--paper);
  color: var(--graphite);
  border-color: var(--paper);
}
.contact-dark__topic:hover:not(.contact-dark__topic--active) {
  background: rgba(245,242,236,0.08);
  border-color: rgba(245,242,236,0.18);
  color: rgba(245,242,236,0.7);
}
.contact__field {
  margin-bottom: var(--s-5);
}
.contact-dark__label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.3);
  margin-bottom: var(--s-2);
}
.contact-dark__input,
.contact-dark__textarea {
  width: 100%;
  background: rgba(245,242,236,0.04);
  border: 1px solid rgba(245,242,236,0.1);
  padding: var(--s-4);
  font-family: var(--sans);
  font-size: 14px;
  color: var(--paper);
  outline: none;
  transition: border-color var(--dur-fast) var(--ease-out);
  -webkit-appearance: none;
  border-radius: 0;
}
.contact-dark__input::placeholder,
.contact-dark__textarea::placeholder { color: rgba(245,242,236,0.18); }
.contact-dark__input:focus,
.contact-dark__textarea:focus { border-color: rgba(245,242,236,0.35); }
.contact-dark__textarea { resize: vertical; min-height: 120px; }

/* Contact right-side panel */
.contact-panel {
  background: rgba(245,242,236,0.04);
  border: 1px solid rgba(245,242,236,0.08);
  padding: var(--s-7);
  position: sticky;
  top: calc(var(--sysbar-h) + var(--nav-h) + var(--s-5));
  overflow: hidden;
}
.contact-panel::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: radial-gradient(ellipse at 50% 100%, rgba(90,18,32,0.16) 0%, transparent 70%);
  pointer-events: none;
}
.contact-panel__header {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.22);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid rgba(245,242,236,0.06);
  margin-bottom: var(--s-6);
  position: relative;
  z-index: 1;
}
.contact-panel__channels {
  margin-bottom: var(--s-7);
  position: relative;
  z-index: 1;
}
.contact-panel__channel {
  padding: var(--s-4) 0;
  border-bottom: 1px solid rgba(245,242,236,0.05);
}
.contact-panel__channel:first-child { border-top: 1px solid rgba(245,242,236,0.05); }
.contact-panel__channel-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.22);
  margin-bottom: var(--s-2);
}
.contact-panel__channel-value {
  font-size: 13px;
  font-weight: 500;
  color: rgba(245,242,236,0.62);
  letter-spacing: -0.01em;
}
.contact-panel__channel-link {
  transition: color var(--dur-fast) var(--ease-out);
}
.contact-panel__channel-link:hover { color: var(--paper); }

.contact-panel__protocol {
  padding-top: var(--s-6);
  border-top: 1px solid rgba(245,242,236,0.05);
  position: relative;
  z-index: 1;
}
.contact-panel__protocol-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.18);
  margin-bottom: var(--s-4);
}
.contact-panel__protocol-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: var(--s-2) 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: rgba(245,242,236,0.28);
}
.contact-panel__protocol-val { color: rgba(245,242,236,0.52); }

/* Confirmation state */
.contact-confirm {
  padding: var(--s-7);
  background: rgba(245,242,236,0.04);
  border: 1px solid rgba(245,242,236,0.08);
  border-top: 2px solid rgba(245,242,236,0.25);
}
.contact-confirm__id {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.28);
  margin-bottom: var(--s-3);
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-panel { position: static; }
}
@media (max-width: 540px) {
  .contact-protocol-bar { flex-direction: column; align-items: flex-start; gap: var(--s-3); }
}

/* ── FOOTER ─────────────────────────────────────────────────────────────────── */
.footer {
  background: var(--graphite);
  color: var(--paper);
  padding-top: clamp(56px, 6vw, 96px);
  padding-bottom: var(--s-7);
  padding-left: var(--safe-x);
  padding-right: var(--safe-x);
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: var(--s-8);
  padding-bottom: clamp(56px, 6vw, 96px);
  border-bottom: 1px solid rgba(245,242,236,0.06);
  margin-bottom: var(--s-7);
}
.footer__logo-mark {
  height: 28px;
  width: auto;
  display: block;
  margin-bottom: var(--s-5);
  opacity: 0.75;
  image-rendering: -webkit-optimize-contrast;
}
.footer__brand-name {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: var(--s-4);
}
.footer__brand-desc {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(245,242,236,0.4);
  max-width: 260px;
  margin-bottom: var(--s-6);
}
.footer__col-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.3);
  margin-bottom: var(--s-5);
}
.footer__col-links {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.footer__col-link {
  font-size: 13px;
  color: rgba(245,242,236,0.55);
  transition: color var(--dur-fast) var(--ease-out);
}
.footer__col-link:hover { color: var(--paper); }
.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.footer__legal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  flex-wrap: wrap;
}
.footer__legal-row--sub {
  padding-top: var(--s-3);
  border-top: 1px solid rgba(245,242,236,0.04);
}
.footer__legal-primary {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.07em;
  color: rgba(245,242,236,0.35);
}
.footer__legal-secondary {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  color: rgba(245,242,236,0.18);
}
.footer__legal-sep {
  color: rgba(245,242,236,0.12);
}
.footer__policy-link {
  color: rgba(245,242,236,0.28);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--dur-fast) var(--ease-out);
}
.footer__policy-link:hover { color: rgba(245,242,236,0.6); }
.footer__legal-locations {
  display: flex;
  align-items: center;
  gap: var(--s-5);
}
.footer__legal-addr {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: right;
}
.footer__legal-addr-label {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.15);
}
.footer__legal-addr-value {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: rgba(245,242,236,0.28);
}
.footer__legal-addr-sep {
  width: 1px;
  height: 24px;
  background: rgba(245,242,236,0.08);
  align-self: center;
}
@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { gap: var(--s-4); }
  .footer__legal-row { flex-direction: column; align-items: flex-start; gap: var(--s-3); }
  .footer__legal-locations { gap: var(--s-4); }
  .footer__legal-addr { text-align: left; }
}

/* ── PAGE HEADER ────────────────────────────────────────────────────────────── */
.page-header {
  padding-top: calc(var(--sysbar-h) + var(--nav-h) + clamp(56px, 7vw, 112px));
  padding-bottom: clamp(56px, 7vw, 112px);
  padding-left: var(--safe-x);
  padding-right: var(--safe-x);
  border-bottom: 1px solid var(--border);
}
.page-header__meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--s-5);
}
.page-header__title { max-width: 720px; }

/* ── SCROLL REVEAL ──────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--dur-enter) var(--ease-reveal),
              transform var(--dur-enter) var(--ease-reveal);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }

/* ── SECTION LABELS ─────────────────────────────────────────────────────────── */
.section-label {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  margin-bottom: var(--s-7);
}
.section-label__text {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.section-label__line {
  flex: 1;
  height: 1px;
  background: var(--border);
}
.section-label--dark .section-label__text { color: rgba(245,242,236,0.3); }
.section-label--dark .section-label__line {
  background: linear-gradient(90deg, rgba(122,26,46,0.28) 0%, rgba(245,242,236,0.08) 30%);
}

/* ── UTILITY ────────────────────────────────────────────────────────────────── */
.flex    { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--s-2); }
.gap-4 { gap: var(--s-4); }
.gap-5 { gap: var(--s-5); }
.gap-6 { gap: var(--s-6); }
.gap-7 { gap: var(--s-7); }
.text-muted { color: var(--muted); }
.text-paper { color: var(--paper); }
.text-burgundy { color: var(--burgundy); }
.mb-4  { margin-bottom: var(--s-4); }
.mb-5  { margin-bottom: var(--s-5); }
.mb-6  { margin-bottom: var(--s-6); }
.mb-7  { margin-bottom: var(--s-7); }
.mb-8  { margin-bottom: var(--s-8); }
.mb-9  { margin-bottom: var(--s-9); }
.mt-7  { margin-top: var(--s-7); }

/* Offset for fixed header */
.pt-header {
  padding-top: calc(var(--sysbar-h) + var(--nav-h));
}

/* Dark surface variants */
.bg-graphite { background: var(--graphite); }
.bg-graphite-2 { background: var(--graphite-2); }
.bg-paper { background: var(--paper); }
.bg-burgundy { background: var(--burgundy); }

/* ── RESPONSIVE GRID HELPERS ────────────────────────────────────────────────── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-10);
  align-items: start;
}
@media (max-width: 768px) {
  .grid-2 { grid-template-columns: 1fr; gap: var(--s-7); }
  .careers .grid-2 { grid-template-columns: 1fr; }
  .techstack__list-wrap .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .tech-platforms { grid-template-columns: 1fr !important; }
}

/* Active system pulse indicator */
.sys-active {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.35);
}
.sys-active__dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #4CAF50;
  animation: sys-pulse 2.5s ease-in-out infinite;
}

/* ── SECTION TRANSITIONS ────────────────────────────────────────────────────── */
.section-transition {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--border) 20%,
    var(--border) 80%,
    transparent 100%
  );
}

/* ═══════════════════════════════════════════════════════════════════════════════
   ENVIRONMENTAL LAYER SYSTEM — Spatial differentiation
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ── MANIFESTO — Blueprint Editorial Mode ───────────────────────────────────── */
.manifesto--editorial {
  background: var(--graphite);
}
.manifesto--editorial::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 55%;
  height: 55%;
  background: radial-gradient(ellipse at 85% 90%, rgba(90,18,32,0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.blueprint-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,242,236,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,242,236,0.028) 1px, transparent 1px),
    linear-gradient(rgba(245,242,236,0.01) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,242,236,0.01) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 20px 20px, 20px 20px;
  pointer-events: none;
}
.arch-mark {
  position: absolute;
  width: 18px;
  height: 18px;
  pointer-events: none;
}
.arch-mark--tl { top: 20px; left: 20px; border-top: 1px solid rgba(245,242,236,0.14); border-left: 1px solid rgba(245,242,236,0.14); }
.arch-mark--tr { top: 20px; right: 20px; border-top: 1px solid rgba(245,242,236,0.14); border-right: 1px solid rgba(245,242,236,0.14); }
.arch-mark--bl { bottom: 20px; left: 20px; border-bottom: 1px solid rgba(245,242,236,0.14); border-left: 1px solid rgba(245,242,236,0.14); }
.arch-mark--br { bottom: 20px; right: 20px; border-bottom: 1px solid rgba(245,242,236,0.14); border-right: 1px solid rgba(245,242,236,0.14); }
.manifesto__draft-line {
  width: 48px;
  height: 1px;
  background: rgba(245,242,236,0.15);
  margin-top: clamp(40px, 5vw, 72px);
}

/* ── VERTICALS — Operational Environment Cards ──────────────────────────────── */
.verticals-env-section {
  background: var(--graphite-2);
  padding-top: clamp(80px, 10vw, 160px);
  padding-bottom: clamp(80px, 10vw, 160px);
}
.verticals-env-header {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  padding: 0 var(--safe-x) var(--s-7);
}
.verticals-env-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(245,242,236,0.05);
}
.vertical-env-card {
  position: relative;
  min-height: 460px;
  background: var(--graphite);
  overflow: hidden;
  cursor: pointer;
  transition: background var(--dur-slow) var(--ease-out);
  display: flex;
}
.vertical-env-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 95%, rgba(90,18,32,0.12) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease-out);
  pointer-events: none;
  z-index: 0;
}
.vertical-env-card--active {
  background: var(--graphite-3);
}
.vertical-env-card--active::before { opacity: 1; }
.vertical-env-card--active .vertical-env-card__status-dot {
  background: rgba(122,26,46,0.72);
  box-shadow: 0 0 7px rgba(90,18,32,0.35);
}
.vertical-env-card--active .vertical-env-card__env-label {
  color: rgba(155,28,52,0.52);
}
.vertical-env-card__canvas {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  transition: opacity var(--dur-slow) var(--ease-out);
}
.vertical-env-card--active .vertical-env-card__canvas {
  opacity: 0.65;
}
.vertical-env-card__content {
  position: relative;
  z-index: 1;
  padding: var(--s-7);
  display: flex;
  flex-direction: column;
  width: 100%;
}
.vertical-env-card__env-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.2);
  margin-bottom: var(--s-2);
}
.vertical-env-card__index {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(245,242,236,0.28);
  margin-bottom: var(--s-4);
}
.vertical-env-card__title {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin-bottom: var(--s-4);
  line-height: 1.15;
}
.vertical-env-card__body {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(245,242,236,0.42);
  max-width: 380px;
  margin-bottom: var(--s-6);
}
.vertical-env-card__status {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.22);
  border-top: 1px solid rgba(245,242,236,0.07);
  padding-top: var(--s-4);
  margin-top: auto;
}
.vertical-env-card__status-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(245,242,236,0.28);
  animation: sys-pulse 2.5s ease-in-out infinite;
}
@media (max-width: 768px) {
  .verticals-env-grid { grid-template-columns: 1fr; }
  .vertical-env-card { min-height: 360px; }
}

/* ── INFRASTRUCTURE — Mission Control Frame ─────────────────────────────────── */
.mission-control {
  border: 1px solid rgba(245,242,236,0.08);
  background: var(--graphite-2);
  overflow: hidden;
}
.mission-control__topbar {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  padding: var(--s-3) var(--s-5);
  border-bottom: 1px solid rgba(245,242,236,0.06);
  background: rgba(22,24,28,0.5);
}
.mission-control__metrics {
  display: flex;
  gap: var(--s-6);
  flex: 1;
  margin-left: var(--s-5);
}
.mission-control__metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mission-control__metric-label {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.28);
}
.mission-control__metric-value {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: rgba(245,242,236,0.72);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  transition: color 0.4s ease;
}
.mission-control__body {
  display: grid;
  grid-template-columns: 156px 1fr;
}
.mission-control__layers {
  padding: var(--s-4) 0;
  border-right: 1px solid rgba(245,242,236,0.06);
}
.mission-control__layer {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-3) var(--s-4);
  border-bottom: 1px solid rgba(245,242,236,0.04);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out);
}
.mission-control__layer:hover { background: rgba(245,242,236,0.03); }
.mission-control__layer-id {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  color: rgba(245,242,236,0.22);
}
.mission-control__layer-name {
  font-size: 11px;
  color: rgba(245,242,236,0.48);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.mission-control__layer-status {
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.2);
  padding: 2px 4px;
  border: 1px solid rgba(245,242,236,0.1);
  white-space: nowrap;
}
.mission-control__layer-status--active {
  color: rgba(76,175,80,0.7);
  border-color: rgba(76,175,80,0.2);
}
.mission-control__canvas {
  position: relative;
  height: 520px;
}
.mission-control__canvas::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(90,18,32,0.05) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
}
.mission-control__bottombar {
  display: flex;
  align-items: center;
  gap: var(--s-7);
  padding: var(--s-3) var(--s-5);
  border-top: 1px solid rgba(245,242,236,0.06);
  background: rgba(22,24,28,0.5);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.2);
  flex-wrap: wrap;
  gap: var(--s-5);
}
@media (max-width: 900px) {
  .mission-control__body { grid-template-columns: 1fr; }
  .mission-control__layers { display: none; }
  .mission-control__canvas { height: 380px; }
  .mission-control__metrics { display: none; }
}
@media (max-width: 480px) {
  .mission-control__canvas { height: 300px; }
}

/* ── CAPABILITIES — Operational Modules ─────────────────────────────────────── */
.modules__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(245,242,236,0.06);
}
.module-card {
  background: var(--graphite-2);
  padding: var(--s-7) var(--s-6);
  position: relative;
  cursor: pointer;
  transition: background var(--dur-mid) var(--ease-out);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.module-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: radial-gradient(ellipse 85% 70% at 50% 100%, rgba(90,18,32,0.10) 0%, transparent 72%);
  opacity: 0;
  transition: opacity var(--dur-mid) var(--ease-out);
  pointer-events: none;
}
.module-card:hover { background: var(--graphite-3); }
.module-card:hover::before { opacity: 1; }
.module-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--s-5);
}
.module-card__id {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.28);
}
.module-card__status {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 6px;
  border: 1px solid;
}
.module-card__status--deployed {
  color: rgba(76,175,80,0.65);
  border-color: rgba(76,175,80,0.18);
}
.module-card__status--ready {
  color: rgba(245,242,236,0.38);
  border-color: rgba(245,242,236,0.14);
}
.module-card__status--advisory {
  color: rgba(240,196,90,0.55);
  border-color: rgba(240,196,90,0.15);
}
.module-card__category {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.2);
  margin-bottom: var(--s-4);
}
.module-card__title {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin-bottom: var(--s-4);
}
.module-card__body {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(245,242,236,0.4);
  flex: 1;
  margin-bottom: var(--s-5);
}
.module-card__footer {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.2);
  border-top: 1px solid rgba(245,242,236,0.06);
  padding-top: var(--s-4);
}
.module-card__indicator {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(76,175,80,0.5);
  animation: sys-pulse 2.5s ease-in-out infinite;
}
@media (max-width: 900px) {
  .modules__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .modules__grid { grid-template-columns: 1fr; }
}

/* ── INTELLIGENCE TERMINAL — News Archive ───────────────────────────────────── */
.intelligence-terminal {
  background: var(--graphite);
  color: var(--paper);
  position: relative;
}
.intel-terminal__header {
  margin-bottom: var(--s-7);
}
.intel-terminal__title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--s-5);
}
.intel-terminal__system-id {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.32);
  margin-bottom: var(--s-5);
  display: flex;
  align-items: center;
  gap: var(--s-2);
}
.intel-terminal__cursor {
  display: inline-block;
  width: 6px; height: 10px;
  background: rgba(245,242,236,0.4);
  animation: terminal-blink 1.1s step-end infinite;
  border-radius: 1px;
}
@keyframes terminal-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
.intel-terminal__meta-strip {
  display: flex;
  gap: var(--s-7);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.2);
  padding: var(--s-3) 0;
  border-top: 1px solid rgba(245,242,236,0.06);
  border-bottom: 1px solid rgba(245,242,236,0.06);
}
.intel-terminal__list { }
.intel-row {
  display: grid;
  grid-template-columns: 72px 110px 1fr 72px;
  align-items: start;
  gap: var(--s-5);
  padding: var(--s-6) 0;
  border-bottom: 1px solid rgba(245,242,236,0.05);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out);
}
.intel-row:first-child { border-top: 1px solid rgba(245,242,236,0.05); }
.intel-row:hover { background: rgba(245,242,236,0.02); }
.intel-row__id {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: rgba(245,242,236,0.2);
  padding-top: 3px;
}
.intel-row__meta {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  padding-top: 2px;
}
.intel-row__date {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: rgba(245,242,236,0.35);
}
.intel-row__type {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.2);
}
.intel-row__title {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--paper);
  margin-bottom: var(--s-2);
}
.intel-row__excerpt {
  font-size: 12px;
  line-height: 1.6;
  color: rgba(245,242,236,0.38);
}
.intel-row__clearance {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.2);
  padding: 3px 6px;
  border: 1px solid rgba(245,242,236,0.1);
  height: fit-content;
  justify-self: end;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .intel-row { grid-template-columns: 1fr auto; }
  .intel-row__id, .intel-row__meta { display: none; }
  .intel-terminal__meta-strip { gap: var(--s-5); flex-wrap: wrap; }
}

/* ── FOOTER — System Shutdown Layer ─────────────────────────────────────────── */
.footer--system { background: var(--graphite); }
.footer__sys-status {
  border: 1px solid rgba(245,242,236,0.07);
  background: rgba(22,24,28,0.45);
  padding: var(--s-4) var(--s-5);
  margin-bottom: var(--s-8);
}
.footer__sys-status-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.28);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid rgba(245,242,236,0.05);
  margin-bottom: var(--s-4);
}
.footer__sys-time {
  color: rgba(245,242,236,0.18);
}
.footer__sys-regions {
  display: flex;
  align-items: center;
  gap: var(--s-7);
  flex-wrap: wrap;
}
.footer__sys-region {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}
.footer__sys-region-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(76,175,80,0.55);
  animation: sys-pulse 2.5s ease-in-out infinite;
  flex-shrink: 0;
}
.footer__sys-region-id {
  color: rgba(245,242,236,0.22);
  margin-right: 2px;
}
.footer__sys-region-name {
  color: rgba(245,242,236,0.5);
}
.footer__sys-region-status {
  color: rgba(76,175,80,0.5);
  text-transform: uppercase;
}
.footer__sys-region-uptime {
  color: rgba(245,242,236,0.25);
}
@media (max-width: 768px) {
  .footer__sys-status-header { flex-direction: column; align-items: flex-start; gap: var(--s-2); }
  .footer__sys-regions { gap: var(--s-5); }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   HOMEPAGE REFINEMENT v2.0
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ── KPI METRICS — Atmospheric hero continuation ────────────────────────────── */
.kpi-metrics {
  background:
    radial-gradient(ellipse 48% 70% at 88% 50%, rgba(90,18,32,0.08) 0%, transparent 65%),
    linear-gradient(
      to bottom,
      var(--graphite)   0%,
      var(--graphite-2) 100%
    );
  padding-top:    clamp(72px, 9vw, 128px);
  padding-bottom: clamp(72px, 9vw, 128px);
  padding-left:   var(--safe-x);
  padding-right:  var(--safe-x);
}

.kpi-metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.kpi-metrics__item {
  padding: var(--s-7) var(--s-8) var(--s-7) 0;
  border-right: 1px solid rgba(245,242,236,0.07);
}
.kpi-metrics__item:last-child { border-right: none; }

.kpi-metrics__value {
  font-size: clamp(40px, 4.5vw, 60px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--paper);
  margin-bottom: var(--s-4);
}

.kpi-metrics__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.32);
  line-height: 1.55;
}

@media (max-width: 700px) {
  .kpi-metrics__grid { grid-template-columns: repeat(2, 1fr); }
  .kpi-metrics__item:nth-child(2) { border-right: none; }
  .kpi-metrics__item { padding-right: var(--s-6); }
}

/* ── MISSION CONTROL LAYER FIX — Precision alignment ───────────────────────── */
.mission-control__body {
  display: grid;
  grid-template-columns: 180px 1fr;
}

.mission-control__layers {
  padding: var(--s-3) 0;
  border-right: 1px solid rgba(245,242,236,0.06);
  overflow: hidden;
}

.mission-control__layer {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--s-3) var(--s-4);
  border-bottom: 1px solid rgba(245,242,236,0.04);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out);
}
.mission-control__layer:hover { background: rgba(245,242,236,0.03); }

.mission-control__layer-row {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  overflow: hidden;
}

.mission-control__layer-id {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  color: rgba(245,242,236,0.22);
  flex-shrink: 0;
}

.mission-control__layer-name {
  font-size: 11px;
  color: rgba(245,242,236,0.5);
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mission-control__layer-status {
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.2);
  padding: 2px 5px;
  border: 1px solid rgba(245,242,236,0.1);
  white-space: nowrap;
  width: fit-content;
}

.mission-control__layer-status--active {
  color: rgba(76,175,80,0.7);
  border-color: rgba(76,175,80,0.2);
}

/* ── STACK CINEMA SECTION ────────────────────────────────────────────────────── */
.stack-cinema {
  background: var(--burgundy);
  padding-top:    clamp(80px, 10vw, 160px);
  padding-bottom: 0;
  overflow: hidden;
  position: relative;
}

.stack-cinema .section-label--dark .section-label__line {
  background: linear-gradient(90deg, rgba(245,242,236,0.22) 0%, rgba(245,242,236,0.07) 40%, transparent 100%);
}

.stack-cinema__stage {
  position: relative;
  margin-top: var(--s-6);
}

/* ── Stack Layer Rows ─────────────────────────────────────────────────────────── */
.stack-cinema__layers {
  border-top: 1px solid rgba(245,242,236,0.06);
}

.stack-cinema__layer {
  display: grid;
  grid-template-columns: 64px 1fr auto 52px;
  align-items: center;
  gap: var(--s-7);
  padding: clamp(20px, 2.5vw, 32px) var(--safe-x);
  border-bottom: 1px solid rgba(245,242,236,0.05);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: background var(--dur-mid) var(--ease-out),
              opacity    var(--dur-mid) var(--ease-out);
}
.stack-cinema__layer:last-child { border-bottom: none; }

.stack-cinema__layer::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 65% 280% at 18% 50%, rgba(245,242,236,0.072) 0%, rgba(245,242,236,0.028) 40%, transparent 68%),
    radial-gradient(ellipse 100% 180% at 70% 50%, rgba(245,242,236,0.022) 0%, transparent 62%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 480ms cubic-bezier(.4,0,.2,1);
}
.stack-cinema__layer--active::before {
  opacity: 1;
}

.stack-cinema__layer-accent {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: rgba(245,242,236,0.06);
  transition: background var(--dur-mid) var(--ease-out),
              box-shadow  var(--dur-mid) var(--ease-out);
}

.stack-cinema__layer--active {
  background: rgba(245,242,236,0.06);
}
.stack-cinema__layer--active .stack-cinema__layer-accent {
  background: rgba(245,242,236,0.52);
  box-shadow: 4px 0 28px rgba(245,242,236,0.10);
}

.stack-cinema__layer--dim { opacity: 0.32; }

.stack-cinema__layer-id {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(245,242,236,0.22);
  transition: color var(--dur-mid) var(--ease-out);
}
.stack-cinema__layer--active .stack-cinema__layer-id { color: rgba(245,242,236,0.42); }

.stack-cinema__layer-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.stack-cinema__layer-label {
  font-size: clamp(18px, 2vw, 27px);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: rgba(245,242,236,0.48);
  line-height: 1.1;
  transition: color var(--dur-mid) var(--ease-out);
}
.stack-cinema__layer--active .stack-cinema__layer-label { color: var(--paper); }

.stack-cinema__layer-meta {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.18);
  transition: color var(--dur-mid) var(--ease-out);
}
.stack-cinema__layer--active .stack-cinema__layer-meta { color: rgba(245,242,236,0.38); }

.stack-cinema__layer-tags {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  flex-wrap: wrap;
}

.stack-cinema__layer-tag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.2);
  padding: 3px 8px;
  border: 1px solid rgba(245,242,236,0.07);
  white-space: nowrap;
  transition: color         var(--dur-mid) var(--ease-out),
              border-color  var(--dur-mid) var(--ease-out);
}
.stack-cinema__layer--active .stack-cinema__layer-tag {
  color: rgba(245,242,236,0.38);
  border-color: rgba(245,242,236,0.13);
}

.stack-cinema__layer-indicator {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.stack-cinema__layer-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(245,242,236,0.12);
  transition: background var(--dur-mid) var(--ease-out),
              box-shadow  var(--dur-mid) var(--ease-out);
}
.stack-cinema__layer-dot.active {
  background: rgba(76,175,80,0.45);
  animation: sys-pulse 2.5s ease-in-out infinite;
}
.stack-cinema__layer--active .stack-cinema__layer-dot {
  box-shadow: 0 0 10px rgba(245,242,236,0.15);
}

.stack-cinema__hint {
  padding: var(--s-4) var(--safe-x);
  border-top: 1px solid rgba(245,242,236,0.04);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.14);
  text-align: right;
}

/* ── Cloud Panel ──────────────────────────────────────────────────────────────── */
.stack-cloud {
  position: absolute;
  right: var(--safe-x);
  top: 50%;
  transform: translateY(-50%) translateX(18px);
  width: 336px;
  opacity: 0;
  pointer-events: none;
  transition: opacity   300ms var(--ease-out),
              transform 300ms var(--ease-out);
  z-index: 20;
}
.stack-cloud--visible {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
  pointer-events: auto;
}

.stack-cloud__inner {
  background: rgba(16, 18, 22, 0.92);
  backdrop-filter: blur(32px) saturate(150%);
  -webkit-backdrop-filter: blur(32px) saturate(150%);
  border: 1px solid rgba(245,242,236,0.08);
  padding: var(--s-6);
  position: relative;
  overflow: hidden;
}
/* Top highlight line */
.stack-cloud__inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(122,26,46,0.45) 40%, rgba(245,242,236,0.1) 100%);
}
/* Warm atmospheric light at bottom */
.stack-cloud__inner::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 45%;
  background: radial-gradient(ellipse 90% 70% at 50% 100%, rgba(90,18,32,0.09) 0%, transparent 75%);
  pointer-events: none;
}

.stack-cloud__eyebrow {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-5);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid rgba(245,242,236,0.06);
}

.stack-cloud__layer-id {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.22);
}

.stack-cloud__layer-name {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.75);
  font-weight: 500;
  flex: 1;
}

.stack-cloud__badge {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 2px 6px;
  border: 1px solid rgba(245,242,236,0.12);
  color: rgba(245,242,236,0.3);
}
.stack-cloud__badge--active {
  border-color: rgba(76,175,80,0.28);
  color: rgba(76,175,80,0.7);
}

.stack-cloud__desc {
  font-size: 13px;
  line-height: 1.72;
  color: rgba(245,242,236,0.42);
  margin-bottom: var(--s-6);
}

.stack-cloud__metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4) var(--s-5);
  margin-bottom: var(--s-5);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid rgba(245,242,236,0.05);
}

.stack-cloud__metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stack-cloud__metric-label {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.25);
}

.stack-cloud__metric-value {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(245,242,236,0.82);
  font-variant-numeric: tabular-nums;
}

/* Routing animation */
.stack-cloud__routes {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stack-cloud__route {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, rgba(122,26,46,0.65) 0%, rgba(90,18,32,0.18) 50%, transparent 100%);
  animation: cloud-route 3s ease-in-out infinite;
  transform-origin: left;
}

@keyframes cloud-route {
  0%, 100% { opacity: 0.35; transform: scaleX(0.6); }
  50%       { opacity: 0.85; transform: scaleX(1);   }
}

/* Backdrop — desktop hidden */
.stack-cloud-backdrop { display: none; }

/* Close button — desktop hidden */
.stack-cloud__close { display: none; }

/* Responsive */
@media (max-width: 960px) {
  .stack-cloud {
    display: block;
    position: fixed;
    right: auto;
    left: 50%;
    top: 50%;
    width: calc(100vw - 48px);
    max-width: 400px;
    transform: translate(-50%, -50%) scale(0.95);
    z-index: 200;
  }
  .stack-cloud--visible {
    transform: translate(-50%, -50%) scale(1);
  }
  .stack-cloud-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 199;
  }
  .stack-cloud__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: none;
    border: 1px solid rgba(245,242,236,0.15);
    color: rgba(245,242,236,0.5);
    font-size: 11px;
    cursor: pointer;
    flex-shrink: 0;
  }
  .stack-cinema__layer { grid-template-columns: 52px 1fr 44px; cursor: pointer; }
  .stack-cinema__layer-tags { display: none; }
}
@media (max-width: 600px) {
  .stack-cinema__layer { grid-template-columns: 44px 1fr; }
  .stack-cinema__layer-indicator { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   TECHNOLOGY PAGE — CINEMATIC REDESIGN v2.0
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ── TECH HERO ──────────────────────────────────────────────────────────────── */
.tech-hero {
  background: var(--graphite);
  color: var(--paper);
  padding-top: calc(var(--sysbar-h) + var(--nav-h) + clamp(96px, 14vw, 180px));
  padding-bottom: clamp(80px, 12vw, 160px);
  padding-left: var(--safe-x);
  padding-right: var(--safe-x);
  position: relative;
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.tech-hero__ambient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 50% at 80% 85%, rgba(90,18,32,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 28% 35% at 12% 22%, rgba(90,18,32,0.05) 0%, transparent 65%),
    linear-gradient(to bottom, transparent 0%, transparent 45%, rgba(22,24,28,0.28) 100%);
  pointer-events: none;
}
.tech-hero__content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}
.tech-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: var(--s-7);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.25);
}
.tech-hero__eyebrow-sep {
  display: inline-block;
  width: 1px;
  height: 12px;
  background: rgba(245,242,236,0.12);
  margin: 0 var(--s-4);
}
.tech-hero__title {
  color: var(--paper);
  margin-bottom: var(--s-6);
}
.tech-hero__sub {
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.65;
  color: rgba(245,242,236,0.42);
  max-width: 520px;
  margin-bottom: var(--s-8);
  letter-spacing: -0.01em;
}
.tech-hero__kpis {
  display: flex;
  gap: var(--s-8);
  border-top: 1px solid rgba(245,242,236,0.07);
  padding-top: var(--s-6);
}
.tech-hero__kpi {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.tech-hero__kpi-val {
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--paper);
  line-height: 1;
}
.tech-hero__kpi-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.28);
}
@media (max-width: 640px) {
  .tech-hero { min-height: 70vh; }
  .tech-hero__kpis { gap: var(--s-6); flex-wrap: wrap; }
}

/* ── TECH TOPOLOGY ──────────────────────────────────────────────────────────── */
.tech-topology {
  background: var(--graphite-2);
  color: var(--paper);
  padding-top: clamp(80px, 10vw, 140px);
  padding-bottom: clamp(80px, 10vw, 140px);
  padding-left: var(--safe-x);
  padding-right: var(--safe-x);
  position: relative;
  overflow: hidden;
}
.tech-topology__ambient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 45% 55% at 72% 55%, rgba(90,18,32,0.09) 0%, transparent 65%);
  pointer-events: none;
}
.tech-topology__header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-8);
  align-items: end;
  margin-bottom: var(--s-8);
}
.tech-topology__platform-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(245,242,236,0.05);
  margin-top: 1px;
}
.tech-topology__platform-item {
  background: var(--graphite);
  padding: var(--s-4) var(--s-5);
  display: flex;
  align-items: center;
  gap: var(--s-4);
}
.tech-topology__platform-id {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.22);
}
.tech-topology__platform-name {
  font-size: 12px;
  color: rgba(245,242,236,0.42);
  letter-spacing: -0.01em;
}
@media (max-width: 768px) {
  .tech-topology__header { grid-template-columns: 1fr; }
  .tech-topology__platform-strip { grid-template-columns: repeat(2, 1fr); }
}

/* ── TECH CAPABILITIES ──────────────────────────────────────────────────────── */
.tech-caps {
  background: var(--graphite);
  color: var(--paper);
  padding-top: clamp(80px, 10vw, 140px);
  padding-bottom: clamp(80px, 10vw, 140px);
  padding-left: var(--safe-x);
  padding-right: var(--safe-x);
}

/* Primary — large, dominant, editorial panel */
.tech-caps__primary {
  background: var(--graphite-2);
  padding: var(--s-8);
  margin-bottom: 1px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--s-8);
  align-items: start;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: background var(--dur-mid) var(--ease-out);
}
.tech-caps__primary::before {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 50%; height: 100%;
  background: radial-gradient(ellipse 80% 60% at 85% 75%, rgba(90,18,32,0.13) 0%, transparent 70%);
  pointer-events: none;
}
.tech-caps__primary:hover { background: var(--graphite-3); }
.tech-caps__primary-tag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.25);
  margin-bottom: var(--s-5);
}
.tech-caps__primary-title {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--paper);
  margin-bottom: var(--s-5);
}
.tech-caps__primary-body {
  font-size: 14px;
  line-height: 1.72;
  color: rgba(245,242,236,0.45);
}
.tech-caps__primary-id {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.2);
  margin-bottom: var(--s-4);
}
.tech-caps__primary-specs {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.tech-caps__primary-spec {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(245,242,236,0.35);
  letter-spacing: 0.02em;
}

/* Secondary — two equal but lighter panels */
.tech-caps__secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-bottom: 1px;
}
.tech-caps__secondary-card {
  background: var(--graphite-3);
  padding: var(--s-7) var(--s-6);
  cursor: pointer;
  transition: background var(--dur-mid) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.tech-caps__secondary-card:hover { background: var(--graphite-4); }
.tech-caps__secondary-id {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.2);
  margin-bottom: var(--s-4);
}
.tech-caps__secondary-title {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin-bottom: var(--s-4);
  line-height: 1.2;
}
.tech-caps__secondary-body {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(245,242,236,0.38);
}

/* Tertiary — minimal list, low visual weight */
.tech-caps__tertiary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(245,242,236,0.05);
}
.tech-caps__tertiary-item {
  background: var(--graphite-2);
  padding: var(--s-5) var(--s-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out);
}
.tech-caps__tertiary-item:hover { background: var(--graphite-3); }
.tech-caps__tertiary-name {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(245,242,236,0.7);
}
.tech-caps__tertiary-tag {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 6px;
  border: 1px solid rgba(245,242,236,0.1);
  color: rgba(245,242,236,0.22);
  white-space: nowrap;
}
@media (max-width: 900px) {
  .tech-caps__primary { grid-template-columns: 1fr; }
  .tech-caps__tertiary { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .tech-caps__secondary { grid-template-columns: 1fr; }
}

/* ── TECH ENGAGEMENT ────────────────────────────────────────────────────────── */
.tech-engage {
  background: var(--paper);
  color: var(--graphite);
  padding-top: clamp(80px, 10vw, 140px);
  padding-bottom: clamp(80px, 10vw, 140px);
  padding-left: var(--safe-x);
  padding-right: var(--safe-x);
}
.tech-engage__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-10);
  align-items: start;
}
.tech-engage__statement {
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: var(--s-6);
}
.tech-engage__sub {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: var(--s-7);
  max-width: 440px;
}
.tech-engage__actions {
  display: flex;
  gap: var(--s-4);
  flex-wrap: wrap;
}
.tech-engage__detail {
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--border);
}
.tech-engage__detail:first-child { border-top: 1px solid var(--border); }
.tech-engage__detail-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--s-2);
}
.tech-engage__detail-value {
  font-size: 15px;
  letter-spacing: -0.01em;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .tech-engage__inner { grid-template-columns: 1fr; gap: var(--s-8); }
}

/* ── TECH FOOTER — Condensed ────────────────────────────────────────────────── */
.tech-footer {
  background: var(--graphite);
  color: var(--paper);
  padding: var(--s-7) var(--safe-x);
  border-top: 1px solid rgba(245,242,236,0.06);
}
.tech-footer__inner {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}
.tech-footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--s-5);
  border-bottom: 1px solid rgba(245,242,236,0.06);
  flex-wrap: wrap;
  gap: var(--s-4);
}
.tech-footer__brand {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper);
}
.tech-footer__nav {
  display: flex;
  gap: var(--s-6);
  flex-wrap: wrap;
}
.tech-footer__nav-link {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.35);
  transition: color var(--dur-fast) var(--ease-out);
}
.tech-footer__nav-link:hover { color: var(--paper); }
.tech-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-4);
}
.tech-footer__status {
  display: flex;
  align-items: center;
  gap: var(--s-6);
  flex-wrap: wrap;
}
.tech-footer__region {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.28);
}
.tech-footer__region-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(76,175,80,0.7);
  animation: sys-pulse 2.5s ease-in-out infinite;
}
.tech-footer__legal {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: rgba(245,242,236,0.18);
}

/* ─────────────────────────────────────────────────────────────────────────────
   STACK ARCHITECTURE — Embedded Inspection Panel
   ───────────────────────────────────────────────────────────────────────────── */

/* ── Right-column inspection panel ─────────────────────────────────────────── */
.stack-cinema__panel {
  background: rgba(14, 16, 20, 0.88);
  backdrop-filter: blur(24px) saturate(120%);
  -webkit-backdrop-filter: blur(24px) saturate(120%);
  border-left: 1px solid rgba(245,242,236,0.07);
  border-top: 1px solid rgba(245,242,236,0.06);
  padding: var(--s-7) var(--s-6);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Top accent — burgundy signal line */
.stack-cinema__panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(122,26,46,0.55) 0%, rgba(245,242,236,0.06) 55%, transparent 100%);
}

/* Bottom atmospheric warmth */
.stack-cinema__panel::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 45%;
  background: radial-gradient(ellipse 90% 70% at 50% 100%, rgba(90,18,32,0.1) 0%, transparent 72%);
  pointer-events: none;
}

/* Faint ambient grid texture */
.stack-cinema__panel-ambient {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,242,236,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,242,236,0.018) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

/* ── Active panel content ─────────────────────────────────────────────────── */
.stack-cinema__panel-inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  animation: panel-layer-enter 380ms cubic-bezier(.16, 1, .3, 1) both;
}

@keyframes panel-layer-enter {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.stack-cinema__panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  margin-bottom: var(--s-5);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid rgba(245,242,236,0.06);
}

.stack-cinema__panel-sep {
  display: inline-block;
  width: 1px;
  height: 10px;
  background: rgba(245,242,236,0.12);
}

.stack-cinema__panel-metrics-label {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.2);
  margin-bottom: var(--s-3);
}

.stack-cinema__panel-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4) var(--s-5);
  margin-bottom: var(--s-6);
}

.stack-cinema__panel-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stack-cinema__panel-metric-label {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.25);
}

.stack-cinema__panel-metric-value {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(245,242,236,0.82);
  font-variant-numeric: tabular-nums;
}

.stack-cinema__panel-routes {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
  padding-top: var(--s-5);
}

/* ── Idle state ─────────────────────────────────────────────────────────────── */
.stack-cinema__panel-idle {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: var(--s-3);
  padding: var(--s-4) 0;
}

.stack-cinema__panel-idle-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(245,242,236,0.12);
  border: 1px solid rgba(245,242,236,0.15);
  margin-bottom: var(--s-2);
}

.stack-cinema__panel-idle-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.22);
}

.stack-cinema__panel-idle-hint {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(245,242,236,0.28);
  max-width: 220px;
}

.stack-cinema__panel-idle-id {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.12);
  margin-top: var(--s-4);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   STUDIO PAGE — CINEMATIC REDESIGN
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ── STUDIO HERO ─────────────────────────────────────────────────────────────── */
.studio-hero {
  background: var(--burgundy);
  color: var(--paper);
  padding-top: calc(var(--sysbar-h) + var(--nav-h) + clamp(80px, 12vw, 160px));
  padding-left: var(--safe-x);
  padding-right: var(--safe-x);
  position: relative;
  overflow: hidden;
}
.studio-hero__ambient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 60% at 100% 100%, rgba(22,24,28,0.60) 0%, transparent 55%),
    radial-gradient(ellipse 40% 35% at 0% 0%,    rgba(245,242,236,0.05) 0%, transparent 55%),
    linear-gradient(to bottom, rgba(22,24,28,0.15) 0%, transparent 35%, rgba(22,24,28,0.40) 100%);
  pointer-events: none;
}
.studio-hero__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-10);
  align-items: flex-start;
  padding-bottom: clamp(64px, 8vw, 120px);
}
.studio-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: var(--s-7);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.25);
}
.studio-hero__eyebrow-sep {
  display: inline-block;
  width: 1px;
  height: 12px;
  background: rgba(245,242,236,0.12);
  margin: 0 var(--s-4);
}
.studio-hero__title {
  color: var(--paper);
  margin-bottom: var(--s-6);
  max-width: 640px;
}
.studio-hero__sub {
  font-size: clamp(14px, 1.1vw, 17px);
  line-height: 1.7;
  color: rgba(245,242,236,0.42);
  max-width: 440px;
  margin-bottom: var(--s-7);
  letter-spacing: -0.01em;
}
.studio-hero__actions {
  display: flex;
  gap: var(--s-4);
  flex-wrap: wrap;
}
.studio-hero__canvas-wrap {
  position: relative;
  background: transparent;
  overflow: hidden;
}
.studio-hero__canvas {
  display: block;
  width: 100%;
}
.studio-hero__canvas-label {
  position: absolute;
  bottom: var(--s-4);
  left: var(--s-4);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.18);
  z-index: 2;
}
.studio-hero__kpis {
  border-top: 1px solid rgba(245,242,236,0.07);
  padding-top: var(--s-6);
  padding-bottom: var(--s-8);
}
.studio-hero__kpi-row {
  display: flex;
  gap: var(--s-10);
}
.studio-hero__kpi {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.studio-hero__kpi-val {
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--paper);
  line-height: 1;
}
.studio-hero__kpi-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.28);
}
@media (max-width: 900px) {
  .studio-hero__top { grid-template-columns: 1fr; gap: var(--s-8); }
  .studio-hero__kpi-row { gap: var(--s-7); flex-wrap: wrap; }
}

/* ── STUDIO DECLARATION ──────────────────────────────────────────────────────── */
.studio-decl {
  background: var(--paper);
  color: var(--graphite);
  padding-top: clamp(96px, 12vw, 180px);
  padding-bottom: clamp(96px, 12vw, 180px);
  padding-left: var(--safe-x);
  padding-right: var(--safe-x);
}
.studio-decl__statement {
  font-size: clamp(28px, 3.5vw, 56px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 860px;
  margin-bottom: var(--s-9);
  color: var(--graphite);
}
.studio-decl__statement em {
  font-style: normal;
  color: var(--burgundy);
}
.studio-decl__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
  border-top: 1px solid rgba(22,24,28,0.09);
  padding-top: var(--s-7);
}
.studio-decl__pillar {
  padding: var(--s-6) 0;
}
.studio-decl__pillar-id {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(22,24,28,0.28);
  margin-bottom: var(--s-4);
}
.studio-decl__pillar-title {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--graphite);
  margin-bottom: var(--s-3);
}
.studio-decl__pillar-body {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(22,24,28,0.52);
}
@media (max-width: 768px) {
  .studio-decl__pillars { grid-template-columns: 1fr; }
}

/* ── STUDIO SYSTEMS ──────────────────────────────────────────────────────────── */
.studio-systems {
  background: var(--graphite-2);
  color: var(--paper);
  padding-top: clamp(80px, 10vw, 140px);
  padding-bottom: clamp(80px, 10vw, 140px);
  padding-left: var(--safe-x);
  padding-right: var(--safe-x);
  position: relative;
}
.studio-systems__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-10);
  align-items: flex-end;
  margin-bottom: var(--s-9);
}
.studio-systems__title {
  color: var(--paper);
}
.studio-systems__intro {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(245,242,236,0.38);
  max-width: 400px;
}
.studio-systems__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(245,242,236,0.06);
  border: 1px solid rgba(245,242,236,0.06);
}
.studio-sys-card {
  background: var(--graphite-2);
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  transition: background var(--dur-mid) var(--ease-out);
  cursor: default;
}
.studio-sys-card:hover {
  background: var(--graphite-3);
}
.studio-sys-card__canvas {
  width: 48px;
  height: 48px;
  display: block;
  margin-bottom: var(--s-3);
}
.studio-sys-card__id {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.2);
}
.studio-sys-card__name {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(245,242,236,0.88);
  line-height: 1.2;
}
.studio-sys-card__tag {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.28);
  margin-top: auto;
}
.studio-sys-card__deliverables {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  margin-top: var(--s-3);
}
.studio-sys-card__dlv {
  font-size: 11px;
  color: rgba(245,242,236,0.35);
  display: flex;
  align-items: center;
  gap: var(--s-2);
}
.studio-sys-card__dlv::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(245,242,236,0.2);
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .studio-systems__header { grid-template-columns: 1fr; }
  .studio-systems__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .studio-systems__grid { grid-template-columns: 1fr; }
}

/* ── STUDIO COMMERCE ─────────────────────────────────────────────────────────── */
.studio-commerce {
  background: var(--paper);
  color: var(--graphite);
  padding-top: clamp(80px, 10vw, 140px);
  padding-bottom: clamp(80px, 10vw, 140px);
  padding-left: var(--safe-x);
  padding-right: var(--safe-x);
}
.studio-commerce__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-10);
  align-items: center;
}
.studio-commerce__label {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(22,24,28,0.28);
  margin-bottom: var(--s-5);
}
.studio-commerce__title {
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--graphite);
  margin-bottom: var(--s-5);
}
.studio-commerce__body {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(22,24,28,0.52);
  margin-bottom: var(--s-7);
  max-width: 420px;
}
.studio-commerce__specs {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(22,24,28,0.08);
}
.studio-commerce__spec {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s-4) 0;
  border-bottom: 1px solid rgba(22,24,28,0.07);
  font-size: 13px;
  font-weight: 500;
  color: rgba(22,24,28,0.75);
}
.studio-commerce__spec-tag {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(22,24,28,0.28);
}
.studio-commerce__canvas-wrap {
  position: relative;
  background: var(--graphite);
  border: 1px solid rgba(22,24,28,0.12);
  overflow: hidden;
}
.studio-commerce__canvas-wrap::after {
  content: 'Commerce System · Simulation';
  position: absolute;
  bottom: var(--s-3);
  right: var(--s-4);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.14);
}
@media (max-width: 860px) {
  .studio-commerce__inner { grid-template-columns: 1fr; }
}

/* ── STUDIO SHOWCASE ─────────────────────────────────────────────────────────── */
.studio-showcase {
  background: var(--graphite);
  color: var(--paper);
  padding-top: clamp(80px, 10vw, 140px);
  padding-bottom: clamp(80px, 10vw, 140px);
  padding-left: var(--safe-x);
  padding-right: var(--safe-x);
  position: relative;
}
.studio-showcase__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--s-8);
  gap: var(--s-6);
}
.studio-showcase__canvas-wrap {
  position: relative;
  border: 1px solid rgba(245,242,236,0.06);
  overflow: hidden;
  background: rgba(245,242,236,0.015);
}
.studio-showcase__canvas-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 40% 50% at 50% 50%, rgba(90,18,32,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}
.studio-showcase__sub {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(245,242,236,0.32);
  max-width: 360px;
}

/* ── STUDIO CLIENTS ──────────────────────────────────────────────────────────── */
.studio-clients {
  background: var(--paper-dim);
  color: var(--graphite);
  padding-top: clamp(80px, 10vw, 140px);
  padding-bottom: clamp(80px, 10vw, 140px);
  padding-left: var(--safe-x);
  padding-right: var(--safe-x);
}
.studio-clients__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-10);
  align-items: flex-end;
  margin-bottom: var(--s-9);
}
.studio-clients__intro {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(22,24,28,0.48);
  max-width: 380px;
}
.studio-clients__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--s-4);
}
.studio-client-card {
  border: 1px solid rgba(22,24,28,0.1);
  padding: var(--s-6);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  transition: border-color var(--dur-mid) var(--ease-out), box-shadow var(--dur-mid) var(--ease-out);
}
.studio-client-card:hover {
  border-color: rgba(22,24,28,0.22);
  box-shadow: 0 4px 24px rgba(22,24,28,0.06);
}
.studio-client-card__id {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(22,24,28,0.25);
}
.studio-client-card__type {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--graphite);
  line-height: 1.2;
}
.studio-client-card__desc {
  font-size: 12px;
  line-height: 1.6;
  color: rgba(22,24,28,0.45);
  margin-top: var(--s-2);
}
@media (max-width: 1100px) {
  .studio-clients__grid { grid-template-columns: repeat(3, 1fr); }
  .studio-clients__header { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .studio-clients__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── STUDIO PROCESS ──────────────────────────────────────────────────────────── */
.studio-process {
  background: var(--graphite-2);
  color: var(--paper);
  padding-top: clamp(80px, 10vw, 140px);
  padding-bottom: clamp(80px, 10vw, 140px);
  padding-left: var(--safe-x);
  padding-right: var(--safe-x);
}
.studio-process__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-10);
  align-items: flex-end;
  margin-bottom: var(--s-9);
}
.studio-process__sub {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(245,242,236,0.35);
  max-width: 360px;
}
.studio-process__steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: rgba(245,242,236,0.06);
  border: 1px solid rgba(245,242,236,0.06);
}
.studio-process__step {
  background: var(--graphite-2);
  padding: var(--s-6);
  position: relative;
}
.studio-process__step-num {
  font-family: var(--mono);
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -0.04em;
  color: rgba(245,242,236,0.08);
  line-height: 1;
  margin-bottom: var(--s-5);
}
.studio-process__step-title {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(245,242,236,0.82);
  margin-bottom: var(--s-3);
}
.studio-process__step-body {
  font-size: 11px;
  line-height: 1.65;
  color: rgba(245,242,236,0.32);
}
@media (max-width: 1100px) {
  .studio-process__steps { grid-template-columns: repeat(3, 1fr); }
  .studio-process__header { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .studio-process__steps { grid-template-columns: repeat(2, 1fr); }
}

/* ── STUDIO ENGAGE ───────────────────────────────────────────────────────────── */
.studio-engage {
  background: var(--graphite);
  color: var(--paper);
  padding-top: clamp(96px, 12vw, 180px);
  padding-bottom: clamp(96px, 12vw, 180px);
  padding-left: var(--safe-x);
  padding-right: var(--safe-x);
  position: relative;
  overflow: hidden;
}
.studio-engage__ambient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 100% 100%, rgba(90,18,32,0.22) 0%, transparent 55%),
    radial-gradient(ellipse 30% 40% at 0% 0%, rgba(90,18,32,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.studio-engage__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-10);
  align-items: flex-end;
}
.studio-engage__statement {
  font-size: clamp(32px, 4vw, 64px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.0;
  color: var(--paper);
  margin-bottom: var(--s-7);
}
.studio-engage__sub {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(245,242,236,0.4);
  max-width: 420px;
  margin-bottom: var(--s-7);
}
.studio-engage__actions {
  display: flex;
  gap: var(--s-4);
  flex-wrap: wrap;
}
.studio-engage__detail-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(245,242,236,0.07);
}
.studio-engage__detail {
  padding: var(--s-5) 0;
  border-bottom: 1px solid rgba(245,242,236,0.05);
}
.studio-engage__detail-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.2);
  margin-bottom: var(--s-2);
}
.studio-engage__detail-value {
  font-size: 13px;
  color: rgba(245,242,236,0.52);
  line-height: 1.5;
}
@media (max-width: 768px) {
  .studio-engage__inner { grid-template-columns: 1fr; }
}

/* ── ROLE MODAL ─────────────────────────────────────────────────────────────── */
.role-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(22,24,28,0.86);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: modal-fade-in var(--dur-mid) var(--ease-out) both;
}
@keyframes modal-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.role-modal__panel {
  width: 100%;
  max-width: 680px;
  max-height: 88vh;
  background: var(--graphite-2);
  border: 1px solid rgba(245,242,236,0.09);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modal-panel-in var(--dur-mid) var(--ease-out) both;
  position: relative;
}
@keyframes modal-panel-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.role-modal__header {
  padding: var(--s-7) var(--s-7) var(--s-6);
  border-bottom: 1px solid rgba(245,242,236,0.07);
  flex-shrink: 0;
}
.role-modal__header-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-4);
  margin-bottom: var(--s-5);
}
.role-modal__tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-2);
}
.role-modal__id {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(122,26,46,0.85);
  padding-right: var(--s-3);
  border-right: 1px solid rgba(245,242,236,0.1);
  margin-right: var(--s-1);
}
.role-modal__tag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border: 1px solid rgba(245,242,236,0.09);
  color: rgba(245,242,236,0.32);
}
.role-modal__close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245,242,236,0.04);
  border: 1px solid rgba(245,242,236,0.09);
  color: rgba(245,242,236,0.45);
  font-size: 14px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.role-modal__close:hover {
  background: rgba(245,242,236,0.1);
  color: var(--paper);
}
.role-modal__title {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--paper);
  line-height: 1.2;
}

.role-modal__body {
  padding: var(--s-7);
  overflow-y: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}
.role-modal__body::-webkit-scrollbar { width: 3px; }
.role-modal__body::-webkit-scrollbar-track { background: transparent; }
.role-modal__body::-webkit-scrollbar-thumb { background: rgba(245,242,236,0.1); }

.role-modal__description {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(245,242,236,0.52);
  margin-bottom: var(--s-8);
}
.role-modal__section { margin-bottom: var(--s-7); }
.role-modal__section-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.22);
  margin-bottom: var(--s-4);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid rgba(245,242,236,0.05);
}
.role-modal__list { list-style: none; }
.role-modal__list-item {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(245,242,236,0.58);
  padding: var(--s-3) 0 var(--s-3) var(--s-5);
  border-bottom: 1px solid rgba(245,242,236,0.04);
  position: relative;
}
.role-modal__list-item::before {
  content: '—';
  position: absolute;
  left: 0;
  color: rgba(90,18,32,0.75);
  font-family: var(--mono);
  font-size: 10px;
}

.role-modal__footer {
  padding: var(--s-5) var(--s-7);
  border-top: 1px solid rgba(245,242,236,0.07);
  display: flex;
  align-items: center;
  gap: var(--s-4);
  flex-shrink: 0;
  background: rgba(22,24,28,0.5);
}

.careers-qualities {
  margin-top: var(--s-2);
}
.careers-qualities__lang {
  padding: var(--s-4) 0;
  border-bottom: 1px solid rgba(245,242,236,0.1);
  margin-bottom: var(--s-2);
}
.careers-qualities__lang-title {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.65);
  margin-bottom: var(--s-2);
}
.careers-qualities__lang-levels {
  display: flex;
  gap: var(--s-4);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.07em;
  color: rgba(245,242,236,0.35);
}
.careers-qualities__lang-target {
  color: rgba(122,26,46,0.85);
}
.careers-qualities__item {
  padding: var(--s-3) 0;
  border-bottom: 1px solid rgba(245,242,236,0.06);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(245,242,236,0.5);
}
.careers-qualities__bonus {
  margin-top: var(--s-5);
  padding: var(--s-4) var(--s-5);
  border: 1px solid rgba(122,26,46,0.25);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  line-height: 1.65;
  color: rgba(245,242,236,0.45);
}
.careers-qualities__bonus-tag {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(122,26,46,0.8);
  margin-right: var(--s-3);
}

.role-modal__panel--wide { max-width: 1020px; }

.role-modal__levels {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  min-height: 0;
}

.role-modal__level {
  padding: 0 var(--s-6) 0 0;
  border-right: 1px solid rgba(245,242,236,0.06);
}
.role-modal__level:first-child { padding-left: 0; }
.role-modal__level:last-child { border-right: none; padding-right: 0; padding-left: var(--s-6); }
.role-modal__level:not(:first-child):not(:last-child) { padding-left: var(--s-6); }

.role-modal__level-header {
  margin-bottom: var(--s-6);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid rgba(245,242,236,0.1);
}
.role-modal__level-name {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper);
  font-weight: 500;
  margin-bottom: var(--s-1);
}
.role-modal__level-note {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(122,26,46,0.7);
}

.role-modal__skill-group {
  margin-bottom: var(--s-5);
}
.role-modal__skill-group-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.28);
  margin-bottom: var(--s-2);
  padding-bottom: var(--s-2);
  border-bottom: 1px solid rgba(245,242,236,0.05);
}
.role-modal__skill-item {
  font-size: 12px;
  line-height: 1.6;
  color: rgba(245,242,236,0.55);
  padding: var(--s-1) 0 var(--s-1) var(--s-4);
  border-bottom: 1px solid rgba(245,242,236,0.03);
  position: relative;
}
.role-modal__skill-item::before {
  content: '·';
  position: absolute;
  left: 0;
  color: rgba(122,26,46,0.6);
  font-family: var(--mono);
}

@media (max-width: 760px) {
  .role-modal__levels { grid-template-columns: 1fr; }
  .role-modal__level {
    padding: 0 0 var(--s-6) 0;
    border-right: none;
    border-bottom: 1px solid rgba(245,242,236,0.06);
  }
  .role-modal__level:last-child { border-bottom: none; padding-left: 0; }
  .role-modal__level:not(:first-child):not(:last-child) { padding-left: 0; }
}

@media (max-width: 540px) {
  .role-modal { padding: 0; align-items: flex-end; }
  .role-modal__panel { max-height: 92vh; max-width: 100%; }
  .role-modal__footer { flex-direction: column; align-items: stretch; }
  .role-modal__footer .btn { justify-content: center; }
}

/* ─────────────────────────────────────────────────────────────────────────────
   COOKIE BANNER
   ───────────────────────────────────────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9990;
  background: var(--graphite);
  border-top: 1px solid rgba(90, 18, 32, 0.35);
  padding: var(--s-5) var(--safe-x);
  transform: translateY(100%);
  animation: cookie-slide-up 0.45s var(--ease-reveal) 1s forwards;
}
@keyframes cookie-slide-up {
  to { transform: translateY(0); }
}
.cookie-banner__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--s-7);
}
.cookie-banner__content { flex: 1; }
.cookie-banner__title {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid-light);
  margin-bottom: var(--s-2);
}
.cookie-banner__body {
  font-size: 12px;
  color: rgba(245, 242, 236, 0.45);
  line-height: 1.6;
  max-width: 600px;
}
.cookie-banner__body a {
  color: rgba(245, 242, 236, 0.65);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--dur-fast) var(--ease-out);
}
.cookie-banner__body a:hover { color: rgba(245, 242, 236, 0.9); }
.cookie-banner__actions {
  display: flex;
  gap: var(--s-3);
  flex-shrink: 0;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btn {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 9px 18px;
  border: 1px solid rgba(245, 242, 236, 0.14);
  background: transparent;
  color: rgba(245, 242, 236, 0.55);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.cookie-btn:hover {
  border-color: rgba(245, 242, 236, 0.32);
  color: rgba(245, 242, 236, 0.85);
}
.cookie-btn--primary {
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: var(--paper);
}
.cookie-btn--primary:hover {
  background: var(--burgundy-mid);
  border-color: var(--burgundy-mid);
  color: var(--paper);
}

/* Expanded preference rows */
.cookie-banner--expanded .cookie-banner__inner {
  flex-direction: column;
  align-items: stretch;
  gap: var(--s-4);
}
.cookie-banner--expanded .cookie-banner__actions {
  justify-content: flex-end;
}
.cookie-prefs {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  margin-top: var(--s-4);
}
.cookie-pref-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  padding: var(--s-4) var(--s-5);
  border: 1px solid rgba(245, 242, 236, 0.06);
  background: rgba(245, 242, 236, 0.02);
}
.cookie-pref-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 242, 236, 0.7);
  margin-bottom: 3px;
}
.cookie-pref-desc {
  font-size: 11px;
  color: rgba(245, 242, 236, 0.35);
  line-height: 1.5;
}

/* Toggle switch */
.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
  flex-shrink: 0;
  cursor: pointer;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.cookie-toggle__track {
  position: absolute;
  inset: 0;
  background: rgba(245, 242, 236, 0.08);
  border: 1px solid rgba(245, 242, 236, 0.14);
  transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.cookie-toggle input:checked + .cookie-toggle__track {
  background: var(--burgundy);
  border-color: var(--burgundy);
}
.cookie-toggle__thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 12px;
  height: 12px;
  background: rgba(245, 242, 236, 0.4);
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
  pointer-events: none;
}
.cookie-toggle input:checked ~ .cookie-toggle__thumb {
  transform: translateX(16px);
  background: var(--paper);
}
.cookie-toggle--locked { cursor: not-allowed; opacity: 0.45; }

/* Policy pages */
.policy-page {
  padding: clamp(48px, 8vw, 96px) var(--safe-x);
  max-width: 800px;
  margin: 0 auto;
}
.policy-page h2 {
  font-size: 13px;
  font-family: var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: var(--s-8);
  margin-bottom: var(--s-4);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--border);
}
.policy-page p {
  font-size: 14px;
  color: rgba(22, 24, 28, 0.72);
  line-height: 1.75;
  margin-bottom: var(--s-4);
}
.policy-page ul {
  margin-bottom: var(--s-4);
  padding-left: var(--s-5);
  list-style: disc;
}
.policy-page ul li {
  font-size: 14px;
  color: rgba(22, 24, 28, 0.72);
  line-height: 1.75;
  margin-bottom: var(--s-2);
}
.policy-page a {
  color: var(--burgundy);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.policy-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--s-6);
  font-size: 13px;
}
.policy-table th {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: var(--s-3) var(--s-4);
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.policy-table td {
  padding: var(--s-3) var(--s-4);
  border-bottom: 1px solid var(--border);
  color: rgba(22, 24, 28, 0.7);
  line-height: 1.5;
  vertical-align: top;
}
.policy-table tr:last-child td { border-bottom: none; }

@media (max-width: 768px) {
  .cookie-banner__inner { flex-direction: column; align-items: flex-start; gap: var(--s-4); }
  .cookie-banner--expanded .cookie-banner__actions { justify-content: flex-start; }
  .cookie-pref-row { padding: var(--s-3) var(--s-4); gap: var(--s-4); }
}
