/* =========================================================
   NETRA — Marketing site
   Warm cream + saffron + editorial type
   ========================================================= */

:root {
  /* premium white palette */
  --cream: #ffffff;
  --cream-2: #f5f3ee;
  --paper: #faf9f6;
  --white: #ffffff;

  /* ink */
  --ink-0: #0a0b0d;
  --ink-1: #1a1c20;
  --ink-2: #4a4d56;
  --ink-3: #8b8d94;
  --ink-4: #c2c2c6;

  /* lines — refined, lighter */
  --line: rgba(10, 11, 13, 0.06);
  --line-2: rgba(10, 11, 13, 0.10);
  --line-3: rgba(10, 11, 13, 0.18);

  /* accents — restrained saffron, deep ink primary */
  --saffron: #b94d18;
  --saffron-soft: #d97b3a;
  --saffron-bg: #f6ecdd;
  --iris: #2a6a8a;
  --iris-soft: #7faec8;

  /* status (kept for inline UI) */
  --good: #2f7a4f;
  --warn: #b27300;
  --crit: #b53334;
  --info: #2a6a8a;

  /* dark section */
  --night: #0c0d10;
  --night-2: #18191c;
  --night-3: #25272c;
  --night-line: rgba(255, 255, 255, 0.10);
  --night-line-2: rgba(255, 255, 255, 0.16);
  --night-ink-1: #e6e2da;
  --night-ink-2: #a6a6a6;
  --night-ink-3: #74757a;

  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --font-mono: "Geist Mono", ui-monospace, "JetBrains Mono", Menlo, monospace;
  --font-deva: "Noto Serif Devanagari", serif;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 22px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--cream);
  color: var(--ink-1);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* subtle ambient page grain for premium feel */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
  background-image:
    radial-gradient(circle at 80% -10%, rgba(185, 77, 24, 0.04), transparent 50%),
    radial-gradient(circle at -10% 90%, rgba(42, 106, 138, 0.025), transparent 50%);
}
.page { position: relative; z-index: 1; }

::selection { background: var(--saffron); color: #fff; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

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

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.section { position: relative; padding: 160px 0; }
.section.tight { padding: 100px 0; }

/* ============= type ============= */
.deva { font-family: var(--font-deva); color: var(--saffron); }
.mono { font-family: var(--font-mono); }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-3);
}
.eyebrow::before {
  content: ""; width: 20px; height: 1px;
  background: var(--saffron);
}
.eyebrow b { color: var(--saffron); font-weight: 500; }

.h-display {
  font-family: var(--font-sans);
  font-weight: 460;
  letter-spacing: -0.04em;
  line-height: 0.96;
  color: var(--ink-0);
  margin: 0;
  font-size: clamp(56px, 7.4vw, 108px);
}
.h-display .serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.h-display .saff {
  color: var(--saffron);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.h-section {
  font-family: var(--font-sans);
  font-weight: 460;
  font-size: clamp(42px, 5vw, 72px);
  letter-spacing: -0.035em;
  line-height: 1.0;
  color: var(--ink-0);
  margin: 0;
  text-wrap: balance;
}
.h-section .serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}
.h-section .saff {
  color: var(--saffron);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 620px;
  margin: 24px 0 0;
  letter-spacing: -0.003em;
}
.lede.lg { font-size: 22px; }

/* ============= nav ============= */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, background 0.25s;
}
.nav.scrolled {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
}
.nav-row {
  display: flex; align-items: center; gap: 36px;
  height: 72px;
  max-width: 1280px; margin: 0 auto;
  padding: 0 32px;
}
.nav-brand {
  display: flex; align-items: center; gap: 11px;
  color: var(--ink-0);
}
.nav-brand .iris-holder {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px;
}
.nav-brand .wm {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.015em;
  color: var(--ink-0);
}
.nav-brand .deva {
  font-size: 16px;
  margin-left: 2px;
  opacity: 0.85;
}
.nav-links {
  display: flex; gap: 30px;
  margin-left: 8px;
}
.nav-links a {
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 450;
  transition: color 0.15s;
  letter-spacing: -0.005em;
  display: inline-flex; align-items: center; gap: 5px;
}
.nav-links a:hover { color: var(--ink-0); }
.nav-spacer { flex: 1; }
.nav-right {
  display: flex; align-items: center; gap: 12px;
}
.nav-link-quiet {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px;
  color: var(--ink-1);
  font-weight: 460;
  letter-spacing: -0.005em;
  padding: 7px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.nav-link-quiet:hover { color: var(--ink-0); border-color: var(--ink-0); }
.nav-link-quiet .arr { font-family: var(--font-sans); transition: transform 0.2s; }
.nav-link-quiet:hover .arr { transform: translate(2px, -2px); }

/* ============= buttons ============= */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--ink-0);
  background: transparent;
  color: var(--ink-0);
  transition: all 0.18s ease;
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.btn:hover { background: var(--ink-0); color: var(--cream); }
.btn.primary {
  background: var(--ink-0);
  color: var(--cream);
}
.btn.primary:hover {
  background: var(--saffron);
  border-color: var(--saffron);
  color: #fff;
}
.btn.saffron {
  background: var(--saffron);
  border-color: var(--saffron);
  color: #fff;
}
.btn.saffron:hover {
  background: #a04317;
  border-color: #a04317;
}
.btn.ghost { border-color: var(--line-2); color: var(--ink-1); }
.btn.ghost:hover { border-color: var(--ink-0); background: transparent; color: var(--ink-0); }
.btn .arr { transition: transform 0.2s; display: inline-block; }
.btn:hover .arr { transform: translateX(3px); }
.btn.sm { height: 36px; padding: 0 16px; font-size: 13px; }
.btn.lg { height: 54px; padding: 0 28px; font-size: 16px; }

/* small "on dark" variant */
.on-dark .btn { border-color: rgba(255,255,255,0.2); color: var(--cream); }
.on-dark .btn:hover { background: var(--cream); color: var(--ink-0); border-color: var(--cream); }
.on-dark .btn.primary { background: var(--cream); color: var(--ink-0); border-color: var(--cream); }
.on-dark .btn.primary:hover { background: var(--saffron); border-color: var(--saffron); color: #fff; }

/* ============= hero ============= */
.hero {
  position: relative;
  padding: 60px 0 0;
  overflow: hidden;
}
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.hero-top-mark {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-3);
  margin-bottom: 40px;
}
.hero-top-mark::before, .hero-top-mark::after {
  content: ""; flex: 1; height: 1px; background: var(--line);
}
.hero-top-mark .stamp {
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-top-mark .stamp .deva {
  font-size: 14px;
  letter-spacing: 0;
}
.hero h1.h-display {
  max-width: 1100px;
}
.hero-sub {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: end;
}
.hero-sub .lede {
  max-width: 540px;
  margin: 0;
}
.hero-sub .cta {
  display: flex; gap: 12px;
  justify-self: end;
  align-self: end;
}
.hero-meta {
  margin-top: 80px;
  display: flex; align-items: center; gap: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.hero-meta .live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 4px rgba(47, 122, 79, 0.12);
  animation: pulse 2s ease-in-out infinite;
}
.hero-meta b { color: var(--ink-0); font-weight: 500; }

/* hero visual — the big product window */
.hero-window {
  margin-top: 72px;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--night);
  border: 1px solid rgba(10, 11, 13, 0.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 40px 90px -32px rgba(10, 11, 13, 0.28),
    0 80px 160px -50px rgba(185, 77, 24, 0.12);
}
.hero-window .chrome {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
  background: linear-gradient(180deg, #2a2c30, #1c1d20);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hero-window .chrome .lights {
  display: inline-flex; gap: 7px;
}
.hero-window .chrome .lights i {
  width: 12px; height: 12px; border-radius: 50%;
  background: #424348;
}
.hero-window .chrome .lights i:nth-child(1) { background: #ff5f57; }
.hero-window .chrome .lights i:nth-child(2) { background: #f9bd2e; }
.hero-window .chrome .lights i:nth-child(3) { background: #28c840; }
.hero-window .chrome .addr {
  flex: 1; text-align: center;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--night-ink-3);
  letter-spacing: 0.05em;
}
.hero-window .chrome .addr span { color: var(--night-ink-2); }
.hero-window .stage {
  position: relative;
  background: var(--night);
}

/* ticker beneath */
.hero-tick {
  margin-top: 100px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
  white-space: nowrap;
  padding: 18px 0;
}
.hero-tick .track {
  display: inline-flex; gap: 60px;
  animation: ticker 70s linear infinite;
  padding-left: 100%;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hero-tick .track span { display: inline-flex; align-items: center; gap: 14px; }
.hero-tick .track b { color: var(--ink-0); font-weight: 500; }
.hero-tick .track .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--saffron); }
@keyframes ticker { to { transform: translateX(-100%); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; transform: scale(0.85); } }

/* ============= logos strip ============= */
.logos-strip {
  padding: 70px 0 60px;
}
.logos-strip .lab {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-3);
  text-align: center;
  margin-bottom: 36px;
}
.logos-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.logo-cell {
  padding: 30px 16px;
  border-right: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--ink-3);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 15.5px;
  letter-spacing: -0.005em;
  transition: color 0.18s;
  filter: grayscale(1);
  opacity: 0.85;
}
.logo-cell:nth-child(6n) { border-right: none; }
.logo-cell.scrim { color: var(--ink-3); font-style: italic; font-family: var(--font-serif); font-weight: 400; }
.logo-cell:hover { color: var(--ink-0); }

/* ============= split section (image + copy) ============= */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split.flip > .split-copy { order: 2; }
.split.flip > .split-visual { order: 1; }
.split-copy .lede { margin-top: 24px; }
.split-copy .h-section { margin-top: 22px; }
.split-copy .bullets {
  margin-top: 36px;
  display: flex; flex-direction: column;
  gap: 18px;
}
.split-copy .bul {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.split-copy .bul .n {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--saffron);
  letter-spacing: 0.16em;
  padding-top: 3px;
}
.split-copy .bul .t {
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--ink-0);
  font-size: 17px;
  letter-spacing: -0.005em;
  margin-bottom: 5px;
}
.split-copy .bul .d {
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.55;
}

/* ============= mockup window (light or dark frames) ============= */
.mockup {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 26px 60px -28px rgba(13, 14, 16, 0.2),
    0 50px 120px -40px rgba(13, 14, 16, 0.18);
}
.mockup .chrome {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  background: #f2eee3;
  border-bottom: 1px solid var(--line);
}
.mockup .chrome .lights { display: inline-flex; gap: 6px; }
.mockup .chrome .lights i {
  width: 10px; height: 10px; border-radius: 50%; background: #d8d3c4;
}
.mockup .chrome .lights i:nth-child(1) { background: #d99284; }
.mockup .chrome .lights i:nth-child(2) { background: #d9c184; }
.mockup .chrome .lights i:nth-child(3) { background: #a6c9a3; }
.mockup .chrome .addr {
  flex: 1; text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
.mockup .stage {
  position: relative;
  background: var(--night);
  min-height: 320px;
}

/* ============= capabilities ============= */
.caps-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: end;
}
.caps-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.cap {
  background: var(--cream);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 36px 34px 34px;
  position: relative;
  transition: background 0.25s, transform 0.25s;
}
.cap:hover {
  background: var(--paper);
}
.cap-viz {
  height: 180px;
  margin-bottom: 28px;
  border-radius: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}
.cap-no {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--saffron);
  letter-spacing: 0.16em;
  margin-bottom: 10px;
}
.cap h3 {
  margin: 0 0 10px;
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--ink-0);
}
.cap p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.55;
}
.cap-meta {
  margin-top: 22px;
  display: flex; align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-3);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.cap-meta .conf { color: var(--good); }
.cap-meta .arr { margin-left: auto; color: var(--ink-2); }

/* ============= dark section ============= */
.dark {
  background: var(--night);
  color: var(--night-ink-1);
  padding: 140px 0;
  position: relative;
}
.dark .eyebrow { color: var(--night-ink-3); }
.dark .eyebrow::before { background: var(--saffron-soft); }
.dark .eyebrow b { color: var(--saffron-soft); }
.dark .h-display, .dark .h-section { color: var(--cream); }
.dark .h-section .saff,
.dark .h-display .saff { color: var(--saffron-soft); }
.dark .lede { color: var(--night-ink-2); }
.dark .nav-status { color: var(--night-ink-3); }

.dark .stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 70px;
  border-top: 1px solid var(--night-line);
  border-bottom: 1px solid var(--night-line);
}
.dark .stat-cell {
  padding: 40px 24px;
  border-right: 1px solid var(--night-line);
}
.dark .stat-cell:last-child { border-right: none; }
.dark .stat-cell .num {
  font-weight: 500;
  font-size: 72px;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--cream);
  font-variant-numeric: tabular-nums;
  display: flex; align-items: baseline;
}
.dark .stat-cell .num small {
  font-size: 30px; color: var(--saffron-soft);
  margin-left: 4px;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.dark .stat-cell .num .pre {
  font-size: 30px; color: var(--night-ink-3);
  margin-right: 6px;
  font-weight: 500;
}
.dark .stat-cell .lbl {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--night-ink-3);
}
.dark .stat-cell .sub {
  margin-top: 10px;
  color: var(--night-ink-2);
  font-size: 13.5px;
  max-width: 240px;
  line-height: 1.5;
}

/* pipeline frame inside dark */
.pipe-frame {
  margin-top: 70px;
  background: var(--night-2);
  border: 1px solid var(--night-line);
  border-radius: 18px;
  padding: 56px 44px;
}
.pipe-frame.tight { padding: 36px 30px; }

/* live theater dark frame */
.theater-frame {
  margin-top: 60px;
  background: var(--night-2);
  border: 1px solid var(--night-line);
  border-radius: 18px;
  padding: 18px;
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 18px;
}
.theater-chrome {
  grid-column: 1/-1;
  display: flex; align-items: center; gap: 12px;
  padding: 6px 6px 16px;
  border-bottom: 1px solid var(--night-line);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--night-ink-3);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.theater-chrome .lights { display: inline-flex; gap: 7px; }
.theater-chrome .lights i {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--night-3);
}
.theater-chrome .crumb { flex: 1; color: var(--night-ink-2); }
.theater-chrome .crumb b { color: var(--cream); font-weight: 500; }
.theater-chrome .live-ind {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--saffron-soft);
}
.theater-chrome .live-ind .d {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--saffron-soft);
  animation: pulse 1.4s ease-in-out infinite;
}

.cam-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  grid-auto-rows: 1fr;
}
.cam-tile {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
  border: 1px solid var(--night-line);
  border-radius: 10px;
  overflow: hidden;
}
.cam-tile.featured {
  grid-column: span 2; grid-row: span 2;
}
.cam-tile.alert {
  border-color: var(--saffron);
  box-shadow: 0 0 0 2px rgba(200, 84, 27, 0.4);
}
.cam-head {
  position: absolute; top: 10px; left: 12px; right: 12px;
  display: flex; align-items: center; gap: 8px;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--cream);
  text-shadow: 0 1px 4px rgba(0,0,0,0.7);
}
.cam-head .rec {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--crit);
  animation: pulse 1.6s ease-in-out infinite;
}
.cam-head .ts { margin-left: auto; color: var(--night-ink-2); font-size: 10px; }
.cam-foot {
  position: absolute; bottom: 10px; left: 12px; right: 12px;
  display: flex; align-items: center; gap: 10px;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--night-ink-2);
  text-shadow: 0 1px 4px rgba(0,0,0,0.7);
}
.cam-foot .crit-tag { color: var(--saffron-soft); font-weight: 500; }
.cam-scrim {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, transparent 25%, transparent 70%, rgba(0,0,0,0.75) 100%);
}

/* bboxes */
.bbox {
  position: absolute;
  border: 1.4px solid var(--saffron-soft);
  border-radius: 2px;
  z-index: 2;
  pointer-events: none;
}
.bbox-lbl {
  position: absolute; top: -19px; left: -1px;
  background: var(--saffron-soft);
  color: #1a0c00;
  font-family: var(--font-mono);
  font-size: 9px; font-weight: 500;
  padding: 3px 5px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.bbox.crit { border-color: #ff8c4d; }
.bbox.crit .bbox-lbl { background: #ff8c4d; color: #1a0c00; }
.bbox.ok { border-color: #6cc28d; }
.bbox.ok .bbox-lbl { background: #6cc28d; color: #051512; }
.bbox.info { border-color: var(--iris-soft); }
.bbox.info .bbox-lbl { background: var(--iris-soft); color: #001020; }

/* AI log */
.ai-log {
  background: var(--night);
  border: 1px solid var(--night-line);
  border-radius: 10px;
  padding: 20px;
  display: flex; flex-direction: column;
}
.ai-log-head {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--night-line);
  margin-bottom: 14px;
}
.ai-log-head h4 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: -0.01em;
}
.ai-log-head .think {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--saffron-soft);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.ai-log-head .think i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--saffron-soft);
  animation: pulse 1.2s ease-in-out infinite;
}
.ai-log-line {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  padding: 8px 0 8px 12px;
  margin-left: -12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--night-ink-2);
  border-left: 2px solid transparent;
}
.ai-log-line .t { color: var(--night-ink-3); font-size: 10.5px; }
.ai-log-line .msg { color: var(--night-ink-1); }
.ai-log-line.crit { border-left-color: var(--saffron-soft); background: linear-gradient(90deg, rgba(224, 131, 74, 0.08), transparent); }
.ai-log-line.crit .msg { color: var(--saffron-soft); }
.ai-log-line.warn .msg { color: #d99c5a; }
.ai-log-line.ai .msg { color: var(--iris-soft); }
.ai-log-line .src {
  display: block;
  color: var(--night-ink-3);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 2px;
}
.ai-log-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--night-line);
  display: flex; gap: 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--night-ink-3);
}
.ai-log-foot .stat { display: flex; flex-direction: column; gap: 2px; }
.ai-log-foot .stat b {
  color: var(--cream);
  font-weight: 500; font-size: 15px;
  letter-spacing: -0.01em;
  text-transform: none;
}

/* ============= site map preview (light) ============= */
.estate-frame {
  margin-top: 60px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
}
.estate-stage {
  background: var(--white);
  border-radius: 10px;
  border: 1px solid var(--line);
  padding: 18px;
  min-height: 460px;
  position: relative;
  overflow: hidden;
}
.estate-side { display: flex; flex-direction: column; gap: 14px; }
.estate-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
}
.estate-card h4 {
  margin: 0 0 14px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-0);
  display: flex; align-items: center; gap: 8px;
}
.estate-card .rowz { display: flex; flex-direction: column; gap: 10px; }
.estate-card .zrow {
  display: grid;
  grid-template-columns: 92px 1fr 36px;
  gap: 10px;
  align-items: center;
  font-size: 13px;
}
.estate-card .zrow .nm { color: var(--ink-1); }
.estate-card .zrow .bar {
  height: 4px; background: var(--cream-2); border-radius: 2px; overflow: hidden;
}
.estate-card .zrow .bar i {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--saffron-soft), var(--saffron));
  border-radius: 2px;
}
.estate-card .zrow .v {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  text-align: right;
}
.estate-card .alert-row {
  display: grid;
  grid-template-columns: 8px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.estate-card .alert-row:last-child { border-bottom: none; }
.estate-card .alert-row .pip {
  width: 8px; height: 8px; border-radius: 50%;
}
.estate-card .alert-row .ti {
  font-size: 13.5px; color: var(--ink-0);
}
.estate-card .alert-row .meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-3);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.estate-card .alert-row .c {
  font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-3);
}

/* ============= industries ============= */
.industries-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: end;
}
.industries-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.ind {
  padding: 34px 28px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--cream);
  transition: background 0.2s;
  position: relative;
}
.ind:hover { background: var(--paper); }
.ind .ico {
  width: 36px; height: 36px;
  color: var(--saffron);
  margin-bottom: 18px;
}
.ind h4 {
  margin: 0 0 6px;
  font-family: var(--font-sans);
  font-size: 18px; font-weight: 500;
  color: var(--ink-0);
  letter-spacing: -0.015em;
}
.ind p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.55;
}

/* ============= quote ============= */
.quote-section {
  padding: 160px 0;
  background: var(--paper);
}
.quote {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}
.quote .lab {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-3);
}
.quote .mark {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 96px;
  color: var(--saffron);
  line-height: 0.7;
  margin: 16px 0 0;
  font-weight: 300;
}
.quote blockquote {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: var(--ink-0);
  text-wrap: pretty;
}
.quote blockquote em {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 500;
  color: var(--saffron);
}
.quote .who {
  margin-top: 32px;
  display: flex; align-items: center; gap: 14px;
}
.quote .who .av {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron-soft), var(--saffron));
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 16px;
}
.quote .who .nm { font-weight: 500; color: var(--ink-0); }
.quote .who .ro { font-size: 13px; color: var(--ink-3); margin-top: 2px; }

/* ============= CTA ============= */
.cta-section { padding: 130px 0; }
.cta-card {
  background:
    radial-gradient(900px 600px at 100% 0%, rgba(185, 77, 24, 0.18), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(42, 106, 138, 0.10), transparent 60%),
    linear-gradient(180deg, #16181c, #0a0b0d);
  color: var(--cream);
  border-radius: 28px;
  padding: 96px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.05) inset,
    0 50px 120px -50px rgba(10,11,13,0.45);
}
.cta-card::before {
  content: ""; position: absolute;
  width: 600px; height: 600px;
  right: -150px; bottom: -250px;
  background: radial-gradient(circle, rgba(200, 84, 27, 0.4), transparent 60%);
  pointer-events: none;
}
.cta-card .eyebrow { color: var(--night-ink-3); }
.cta-card .eyebrow::before { background: var(--saffron-soft); }
.cta-card .eyebrow b { color: var(--saffron-soft); }
.cta-card h2 { color: var(--cream); margin-top: 22px; }
.cta-card h2 .saff { color: var(--saffron-soft); }
.cta-card .lede { color: var(--night-ink-2); margin-top: 22px; }
.cta-card .cta-actions {
  margin-top: 36px;
  display: flex; gap: 12px;
}
.cta-card .visual {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  height: 320px;
}
.cta-card .visual .ring {
  position: absolute; border-radius: 50%; pointer-events: none;
}
.cta-card .visual .ring.r1 { width: 280px; height: 280px; border: 1px solid rgba(230, 226, 218, 0.16); }
.cta-card .visual .ring.r2 { width: 360px; height: 360px; border: 1px solid rgba(230, 226, 218, 0.10); }
.cta-card .visual .ring.r3 { width: 460px; height: 460px; border: 1px dashed rgba(230, 226, 218, 0.08); }
.cta-card .visual .iris-holder {
  width: 220px; height: 220px;
  display: grid; place-items: center;
  border-radius: 50%;
}

.cta-card .footnote {
  margin-top: 30px;
  display: flex; gap: 26px; flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--night-ink-3);
}
.cta-card .footnote span::before { content: "↳ "; color: var(--saffron-soft); }

/* ============= footer ============= */
.foot {
  padding: 80px 0 36px;
  border-top: 1px solid var(--line);
  background: var(--cream);
}
.foot-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
}
.foot-brand .wm {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink-0);
  letter-spacing: -0.015em;
}
.foot-brand .wm .deva {
  font-family: var(--font-deva);
  font-size: 16px;
  color: var(--saffron);
  margin-left: 4px;
}
.foot-brand p {
  margin: 18px 0 0;
  color: var(--ink-3);
  font-size: 13.5px;
  max-width: 340px;
  line-height: 1.55;
}
.foot-brand .badges {
  margin-top: 20px;
  display: flex; gap: 8px;
}
.foot-brand .badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-2);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.foot-brand .badge .d {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--good);
}
.foot-col h5 {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  font-weight: 500;
}
.foot-col a {
  display: block;
  padding: 7px 0;
  color: var(--ink-2);
  font-size: 14px;
  transition: color 0.15s;
}
.foot-col a:hover { color: var(--ink-0); }

.foot-bot {
  margin-top: 60px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.foot-bot .spacer { flex: 1; }

/* ============= helpers ============= */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 1100px) {
  .hero-sub, .caps-head, .industries-head, .split, .theater-frame, .estate-frame,
  .cta-card, .quote, .foot-top { grid-template-columns: 1fr; gap: 40px; }
  .caps-grid, .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .logos-row { grid-template-columns: repeat(3, 1fr); }
  .logo-cell:nth-child(6n) { border-right: 1px solid var(--line); }
  .logo-cell:nth-child(3n) { border-right: none; }
  .dark .stat-row { grid-template-columns: repeat(2, 1fr); }
  .dark .stat-cell { border-right: none; border-bottom: 1px solid var(--night-line); }
  .nav-links { display: none; }
}

/* ============= shared keyframes (used by SVG viz) ============= */
@keyframes spin   { to { transform: rotate(360deg); } }
@keyframes spin-r { to { transform: rotate(-360deg); } }
@keyframes scan   { to { stroke-dashoffset: -362; } }
@keyframes tg-step  { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(22px); } }
@keyframes tg-alert { 0%, 40% { opacity: 0; } 50%, 90% { opacity: 1; } }
@keyframes loiter-breath { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes obj-pulse  { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } }
@keyframes obj-detect { 0%, 60% { opacity: 0; transform: scale(1.04); } 70%, 100% { opacity: 1; transform: scale(1); } }
@keyframes crowdshift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(2px, -2px); } }
@keyframes lockblink { 0%, 100% { opacity: 0; } 20%, 80% { opacity: 0.9; } }

/* IrisMark animation */
.iris-svg .ring-outer { animation: spin 12s linear infinite; transform-origin: 50px 50px; }
.iris-svg .ring-inner { animation: spin-r 8s linear infinite; transform-origin: 50px 50px; }
.iris-svg .scan { stroke-dasharray: 12 350; animation: scan 2.4s linear infinite; }

/* Flush the live-theater chrome when it's embedded in the hero browser window */
.hero-window .theater-frame {
  margin-top: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  padding: 22px;
}
.hero-window .theater-chrome { display: none; }
