/* ExlAthena — premium enterprise depth system */
:root {
  --paper: #ffffff;
  --paper-2: #f4f6f9;
  --paper-3: #e6ebf2;
  --ink: #0A2540;
  --ink-2: #061828;
  --text: #0A2540;
  --muted: #5B6B7C;
  --faint: #8A97A6;
  --line: rgba(10, 37, 64, 0.08);
  --line-strong: rgba(10, 37, 64, 0.15);
  --green: #0A2540;
  --green-2: #1B4F82;
  --green-soft: rgba(10, 37, 64, 0.10);
  --ok: #0A2540;
  --warn: #c47f00;
  --danger: #c4334a;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-sm: 0 6px 20px rgba(10, 37, 64, 0.05);
  --shadow-md: 0 22px 60px rgba(10, 37, 64, 0.10);
  --shadow-lg: 0 40px 110px rgba(10, 37, 64, 0.16);
  --shadow-green: 0 22px 70px rgba(10, 37, 64, 0.22);
  --font-display: "Outfit", sans-serif;
  --font-body: "IBM Plex Sans", sans-serif;
  --max: 1240px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
.corp-billboard .btn-primary,
.ind-hero .btn-primary {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 18px 50px rgba(0,0,0,0.28);
}
.corp-billboard .btn-primary:hover,
.ind-hero .btn-primary:hover {
  background: #f4f6f9;
}
.corp-billboard .container:last-child {
  display: flex;
  justify-content: center;
  padding-top: 1.75rem;
  padding-bottom: 3.25rem;
}
.corp-tile {
  opacity: 0;
  transform: translateY(28px);
  animation: corpTileIn 0.9s var(--ease) forwards;
}
.corp-tile:nth-child(1) { animation-delay: 0.05s; }
.corp-tile:nth-child(2) { animation-delay: 0.15s; }
.corp-tile:nth-child(3) { animation-delay: 0.25s; }
.corp-tile:nth-child(4) { animation-delay: 0.35s; }
@keyframes corpTileIn {
  to { opacity: 1; transform: none; }
}
/* Soft section joins */
.section, .section-soft, .section-deep, .section-ink, .corp-billboard, .cta-band, .ind-ops {
  position: relative;
}
.corp-billboard::before,
.section-ink::before,
.cta-band::before {
  content: "";
  position: absolute; left: 0; right: 0; top: -1px; height: 48px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), transparent);
  pointer-events: none; z-index: 1;
}
.reveal {
  opacity: 0;
  transform: translateY(36px) scale(0.985);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.22s; }
.reveal-delay-3 { transition-delay: 0.32s; }

/* Page enter */
body.page-enter main {
  animation: pageEnter 0.7s var(--ease) both;
}
@keyframes pageEnter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 120;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0;
  color: var(--ink);
  font-weight: 650;
}
p { margin: 0; }
.container { width: min(100% - 2.75rem, var(--max)); margin-inline: auto; }

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 130;
  background: var(--ink);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 52px; padding: 0.9rem 1.5rem; border-radius: 999px;
  border: 1px solid transparent; font-weight: 600; font-size: 0.92rem;
  transition: transform 0.35s var(--ease), background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--ink);
  color: #fff; box-shadow: var(--shadow-green);
}
.btn-primary:hover { box-shadow: 0 28px 80px rgba(10, 37, 64, 0.28); }
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--paper); }
.hero .btn-ghost,
.cta-band .btn-ghost,
.section-ink .btn-ghost,
.page-hero .btn-ghost {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.22);
  box-shadow: none;
}
.hero .btn-ghost:hover,
.cta-band .btn-ghost:hover,
.section-ink .btn-ghost:hover,
.page-hero .btn-ghost:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.14);
}
.btn-ghost.on-light {
  color: var(--ink); border-color: var(--line-strong); background: #fff;
  box-shadow: var(--shadow-sm);
}

/* Header — transparent over hero, solid on scroll */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h);
  background: transparent; border-bottom: 1px solid transparent;
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}
/* Keep glass-dark header when scrolled over dark bands (smooth continuity) */
.site-header.is-scrolled.is-over-dark {
  background: rgba(6,24,40,0.78);
  border-bottom-color: rgba(155,184,212,0.12);
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}
.site-header.is-scrolled.is-over-dark .nav-links a { color: rgba(255,255,255,0.72); }
.site-header.is-scrolled.is-over-dark .nav-links a:hover,
.site-header.is-scrolled.is-over-dark .nav-links a.is-active { color: #fff; }
.site-header.is-scrolled.is-over-dark .brand-light { display: block; }
.site-header.is-scrolled.is-over-dark .brand-dark { display: none; }
.site-header.is-scrolled.is-over-dark .nav-cta.btn-primary {
  background: #fff;
  color: var(--ink);
}
.site-header.is-scrolled.is-over-dark .nav-toggle {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.06);
}
.site-header.is-scrolled.is-over-dark .nav-toggle span { background: #fff; }
/* Never blank-out nav CTA text */
.site-header .nav-cta.is-active {
  color: #fff;
}
.site-header:not(.is-scrolled) .nav-cta.is-active,
.site-header.is-scrolled.is-over-dark .nav-cta.is-active {
  color: var(--ink);
  background: #fff;
}
.site-header.is-scrolled:not(.is-over-dark) .nav-cta.is-active {
  color: #fff;
  background: var(--ink);
}
.site-header.is-scrolled .nav-links a { color: var(--muted); }
.site-header.is-scrolled .nav-links a:hover,
.site-header.is-scrolled .nav-links a.is-active { color: var(--ink); }
.site-header.is-scrolled .brand-light { display: none; }
.site-header.is-scrolled .brand-dark { display: block; }
.site-header:not(.is-scrolled) .brand-dark { display: none; }
.site-header:not(.is-scrolled) .brand-light { display: block; }
.site-header:not(.is-scrolled) .nav-links a { color: rgba(255,255,255,0.72); }
.site-header:not(.is-scrolled) .nav-links a:hover,
.site-header:not(.is-scrolled) .nav-links a.is-active { color: #fff; }
.nav {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.brand img { height: 28px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 1.45rem; }
.nav-links a { font-size: 0.9rem; font-weight: 500; transition: color 0.25s; }
.nav-cta { margin-left: 0.35rem; min-height: 42px; padding: 0.6rem 1.15rem; font-size: 0.84rem; }
.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,0.25);
  border-radius: 12px; background: rgba(255,255,255,0.06); cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.site-header:not(.is-scrolled) .nav-cta.btn-primary {
  background: #fff;
  color: var(--ink);
  box-shadow: none;
}
.site-header.is-scrolled .nav-cta.btn-primary {
  background: var(--ink);
  color: #fff;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: #fff; transition: 0.25s; }
.site-header.is-scrolled .nav-toggle span { background: var(--ink); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100dvh;
  display: grid; align-items: center;
  padding: calc(var(--nav-h) + 1.5rem) 0 3rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 50% at 70% 45%, rgba(155,184,212,0.12), transparent 60%),
    radial-gradient(ellipse 35% 30% at 20% 80%, rgba(255,255,255,0.04), transparent 50%),
    #061828;
  color: #fff;
}
#neural-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0.4; pointer-events: none; z-index: 1;
}
.hero-grid {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 2rem; align-items: center;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-bottom: 1.2rem; padding: 0.38rem 0.8rem; border-radius: 999px;
  border: 1px solid rgba(27,79,130,0.30); background: rgba(10,37,64,0.10);
  color: #9BB8D4; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.hero-kicker i {
  width: 7px; height: 7px; border-radius: 50%; background: #9BB8D4;
  animation: livePulse 2s infinite;
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(155,184,212,0.55); }
  70% { box-shadow: 0 0 0 10px rgba(155,184,212,0); }
  100% { box-shadow: 0 0 0 0 rgba(155,184,212,0); }
}
.hero-brand {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(3.8rem, 9.5vw, 7.2rem);
  letter-spacing: -0.06em; line-height: 0.88; margin-bottom: 1rem;
  filter: drop-shadow(0 0 40px rgba(27,79,130,0.15));
}
.hero-brand span {
  color: #fff;
  background: none;
  -webkit-background-clip: unset; background-clip: unset;
  animation: none;
}
.btn-primary {
  background: var(--ink);
  color: #fff; box-shadow: var(--shadow-green);
}
.hero .btn-primary,
.cta-band .btn-primary,
.section-ink .btn-primary,
.page-hero .btn-primary {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 18px 50px rgba(0,0,0,0.25);
}
.hero .btn-primary:hover,
.cta-band .btn-primary:hover,
.section-ink .btn-primary:hover,
.page-hero .btn-primary:hover {
  background: #f4f6f9;
  box-shadow: 0 24px 60px rgba(0,0,0,0.32);
}
.brain3d-label.is-hot {
  color: #fff;
  border-color: rgba(155,184,212,0.55);
  box-shadow: 0 0 18px rgba(27,79,130,0.30);
}
@keyframes brandShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero-title {
  font-size: clamp(1.3rem, 2.4vw, 1.85rem); font-weight: 500;
  color: rgba(255,255,255,0.9); max-width: 16ch; margin-bottom: 1rem;
}
.hero-copy {
  max-width: 36ch; color: rgba(255,255,255,0.58); font-size: 1.05rem; margin-bottom: 1.85rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* Knowledge graph stage */
.kg-stage {
  position: relative;
  aspect-ratio: 1.05 / 1;
  max-width: 620px;
  margin-left: auto;
}
.kg-stage svg {
  width: 100%; height: 100%;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.45));
}
.kg-edge {
  fill: none; stroke: rgba(155,184,212,0.28); stroke-width: 1.5;
}
.kg-edge-active {
  stroke: #1B4F82; stroke-width: 2;
  stroke-dasharray: 6 10;
  animation: dashFlow 2.8s linear infinite;
}
@keyframes dashFlow { to { stroke-dashoffset: -80; } }
.kg-core-glow {
  fill: url(#coreGrad);
  filter: url(#glow);
}
.kg-core-ring {
  fill: none; stroke: rgba(155,184,212,0.45); stroke-width: 1.5;
  animation: pulseRing 3.5s ease-in-out infinite;
  transform-origin: center;
}
@keyframes pulseRing {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.04); }
}
.kg-node-dot {
  fill: #061828; stroke: #9BB8D4; stroke-width: 2;
  filter: drop-shadow(0 0 8px rgba(27,79,130,0.45));
}
.kg-node-dot.is-hot { stroke: #fff; fill: #0A2540; }
.kg-label {
  fill: rgba(255,255,255,0.85); font-family: var(--font-body);
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
}
.kg-core-text {
  fill: #fff; font-family: var(--font-display); font-weight: 700;
  text-anchor: middle;
}
.kg-core-sub {
  fill: #9BB8D4; font-family: var(--font-body); font-size: 10px;
  font-weight: 700; letter-spacing: 0.16em; text-anchor: middle;
}
.kg-float {
  position: absolute;
  right: 0;
  bottom: -2%;
  width: min(48%, 230px);
  padding: 0.95rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(155,184,212,0.28);
  background: linear-gradient(165deg, rgba(22,22,22,0.92), rgba(8,8,8,0.96));
  box-shadow: 0 30px 80px rgba(0,0,0,0.55), 0 0 40px rgba(27,79,130,0.16);
  backdrop-filter: blur(16px);
  z-index: 4;
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.kg-float .mini {
  font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); margin-bottom: 0.45rem;
}
.kg-float b { display: block; color: #fff; font-size: 0.92rem; margin-bottom: 0.35rem; }
.kg-float p { color: rgba(255,255,255,0.5); font-size: 0.75rem; margin-bottom: 0.8rem; }
.kg-hud {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 3;
  display: grid;
  gap: 0.4rem;
  pointer-events: none;
  max-width: 42%;
}
.kg-chip {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.35rem 0.55rem;
  border-radius: 10px;
  border: 1px solid rgba(155,184,212,0.28);
  background: rgba(6,24,40,0.78);
  backdrop-filter: blur(8px);
  color: #fff;
  min-width: 132px;
}
.kg-chip em {
  font-style: normal;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9BB8D4;
}
.kg-chip strong {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.kg-chip.is-alert strong { color: #C5D5E8; }
@media (max-width: 720px) {
  .kg-hud { display: none; }
}

/* Marquee */
.marquee {
  border-block: 1px solid rgba(155,184,212,0.12);
  background: linear-gradient(180deg, #061828, #0A2540);
  overflow: hidden; padding: 1.05rem 0;
}
.marquee-track {
  display: flex; gap: 2.75rem; width: max-content;
  animation: marquee 36s linear infinite;
  font-family: var(--font-display); font-size: 0.92rem; font-weight: 650;
  letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.45);
}
.marquee-track em { font-style: normal; color: #9BB8D4; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 7rem 0; position: relative; overflow: hidden; background: #fff; }
.section-deep {
  background:
    radial-gradient(ellipse 50% 40% at 0% 0%, rgba(10,37,64,0.07), transparent 55%),
    var(--paper);
}
.section-soft {
  background:
    radial-gradient(ellipse 55% 45% at 100% 30%, rgba(10,37,64,0.06), transparent 50%),
    linear-gradient(180deg, #fff, var(--paper));
}
.section-ink {
  background:
    radial-gradient(ellipse 60% 55% at 80% 30%, rgba(155,184,212,0.10), transparent 55%),
    #061828;
  color: rgba(255,255,255,0.7);
}
.section-ink h1, .section-ink h2, .section-ink h3 { color: #fff; }
.section-ink .section-desc { color: rgba(255,255,255,0.55); }
.section-ink .eyebrow { color: #9BB8D4; }
.eyebrow {
  display: inline-block; margin-bottom: 0.95rem; color: var(--green);
  font-size: 0.72rem; font-weight: 750; letter-spacing: 0.16em; text-transform: uppercase;
}
.section-title {
  font-size: clamp(2.2rem, 4.6vw, 3.7rem); max-width: 14ch; margin-bottom: 1rem;
}
.section-title em { font-style: normal; color: var(--green); }
.section-desc { max-width: 44ch; color: var(--muted); font-size: 1.06rem; }
.section-head { margin-bottom: 2.75rem; }

/* Bento */
.bento {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}
.bento-card {
  position: relative; overflow: hidden;
  padding: 1.6rem; border-radius: var(--radius);
  border: 1px solid var(--line); background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.bento-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.bento-card.wide { grid-column: 1 / 2; grid-row: 1 / 3; }
.bento-card h3 { font-size: 1.35rem; margin: 0.5rem 0 0.55rem; }
.bento-card p { color: var(--muted); font-size: 0.92rem; }
.bento-card .metric {
  font-family: var(--font-display); font-size: 2.6rem; color: var(--green);
  letter-spacing: -0.04em;
}
.bento-viz {
  margin-top: 1.25rem; height: 180px; border-radius: 14px;
  background:
    radial-gradient(circle at 70% 30%, rgba(10, 37, 64, 0.10), transparent 45%),
    linear-gradient(180deg, rgba(10,37,64,0.08), transparent),
    repeating-linear-gradient(90deg, transparent, transparent 18px, rgba(0,0,0,0.04) 18px, rgba(0,0,0,0.04) 19px);
  position: relative; overflow: hidden;
  border: 1px solid var(--line);
}
.mini-graph {
  margin-top: 1.5rem; padding: 1rem 1rem 0.75rem; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(155,184,212,0.12), transparent 70%),
    #fff;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.mini-graph svg { width: 100%; height: auto; display: block; }
.mg-spokes path {
  animation: mgDash 2.4s linear infinite;
}
.mg-spokes path:nth-child(odd) { animation-duration: 3.1s; animation-direction: reverse; }
@keyframes mgDash { to { stroke-dashoffset: -52; } }
.mg-dot {
  fill: #061828; stroke: #1B4F82; stroke-width: 1.5;
}
.mg-dot.hot {
  fill: #0A2540; stroke: #9BB8D4; stroke-width: 2;
  transform-box: fill-box; transform-origin: center;
  animation: mgPulse 2.4s ease-in-out infinite;
}
.mg-dot.hot:nth-of-type(3n) { animation-delay: 0.4s; }
.mg-dot.hot:nth-of-type(3n+1) { animation-delay: 0.9s; }
@keyframes mgPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 transparent); }
  50% { transform: scale(1.25); filter: drop-shadow(0 0 6px rgba(27,79,130,0.55)); }
}
.mg-halo, .mg-halo2 {
  transform-box: fill-box; transform-origin: center;
}
.mg-halo { animation: mgHalo 3.5s ease-in-out infinite; }
.mg-halo2 { animation: mgHalo 3.5s ease-in-out infinite reverse; }
@keyframes mgHalo {
  0%, 100% { opacity: 0.12; transform: scale(1); }
  50% { opacity: 0.28; transform: scale(1.12); }
}
.mini-graph-live {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 0.55rem; font-size: 0.65rem; font-weight: 750;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.mini-graph-live i {
  width: 7px; height: 7px; border-radius: 50%; background: #1B4F82;
  box-shadow: 0 0 0 0 rgba(27,79,130,0.45);
  animation: livePulse 1.8s infinite;
}
@media (prefers-reduced-motion: reduce) {
  .corp-tile { opacity: 1; transform: none; animation: none !important; }
  body.page-enter main { animation: none !important; }
  html { scroll-behavior: auto; }
}
.bento-viz span {
  position: absolute; bottom: 0; width: 12px; border-radius: 4px 4px 0 0;
  background: var(--ink);
  box-shadow: 0 0 16px rgba(10, 37, 64, 0.28);
  animation: barPulse 2.4s ease-in-out infinite;
}
@keyframes barPulse {
  0%, 100% { opacity: 0.75; }
  50% { opacity: 1; }
}

/* Story */
.story { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: start; }
.story-sticky { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.story-steps { display: grid; gap: 1rem; }
.story-step {
  padding: 1.5rem 1.6rem; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px); box-shadow: var(--shadow-sm);
  opacity: 0.4; transform: translateY(10px);
  transition: 0.45s var(--ease);
}
.story-step.is-active {
  opacity: 1; transform: none;
  border-color: rgba(10, 37, 64, 0.28);
  box-shadow: var(--shadow-md);
}
.story-step .step-num {
  display: block; color: var(--green); font-family: var(--font-display);
  font-size: 0.78rem; letter-spacing: 0.12em; margin-bottom: 0.45rem;
}
.story-step h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.story-step p { color: var(--muted); font-size: 0.92rem; }

/* Cap rail */
.cap-rail {
  display: grid; grid-template-columns: 250px 1fr; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--line-strong); background: #fff;
  box-shadow: var(--shadow-lg); min-height: 440px;
}
.cap-tabs { display: grid; border-right: 1px solid var(--line); background: var(--paper); }
.cap-tab {
  text-align: left; padding: 1.15rem 1.25rem; border: 0; border-bottom: 1px solid var(--line);
  background: transparent; color: var(--muted); font-weight: 600; cursor: pointer;
}
.cap-tab.is-active, .cap-tab:hover { color: var(--ink); background: #fff; }
.cap-tab.is-active { box-shadow: inset 3px 0 0 var(--green); }
.cap-panel { display: none; padding: 2.4rem; }
.cap-panel.is-active { display: block; animation: fadeUp 0.45s var(--ease); }
.cap-panel h3 { font-size: 1.8rem; margin-bottom: 0.75rem; }
.cap-panel p { color: var(--muted); max-width: 50ch; margin-bottom: 1.25rem; }
.tag-row { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.tag {
  font-size: 0.72rem; font-weight: 650; color: var(--ink);
  border: 1px solid var(--line-strong); padding: 0.38rem 0.75rem; border-radius: 999px;
  background: var(--paper);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* Cockpit */
.cockpit { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 1rem; }
.cockpit-main, .cockpit-side {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  padding: 1.4rem; box-shadow: var(--shadow-md);
}
.cockpit-bar {
  display: flex; justify-content: space-between; margin-bottom: 1rem;
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint);
}
.cockpit-live { color: var(--green); display: inline-flex; gap: 0.4rem; align-items: center; }
.cockpit-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: livePulse 2s infinite; }
.wave-grid {
  display: grid; grid-template-columns: repeat(16, 1fr); gap: 3px; align-items: end;
  height: 150px; margin-bottom: 1rem;
}
.wave-grid span {
  display: block; border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, #0A2540, #061828);
}
.alert-list { display: grid; gap: 0.55rem; }
.alert-row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 0.7rem; align-items: center;
  padding: 0.8rem; border-radius: 12px; border: 1px solid var(--line); background: var(--paper);
  font-size: 0.86rem;
}
.alert-row b { color: var(--ink); display: block; }
.alert-row small { color: var(--muted); }
.sev { font-size: 0.62rem; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.25rem 0.45rem; border-radius: 6px; }
.sev-crit { background: rgba(196,51,74,0.1); color: var(--danger); }
.sev-warn { background: rgba(196,127,0,0.1); color: var(--warn); }
.sev-info { background: var(--green-soft); color: var(--green); }
.gauge-ring {
  width: 150px; height: 150px; margin: 0.75rem auto;
  border-radius: 50%; background: conic-gradient(var(--green) 0 74%, var(--paper-3) 0);
  display: grid; place-items: center; position: relative;
}
.gauge-ring::before {
  content: ""; position: absolute; inset: 14px; border-radius: 50%; background: #fff;
}
.gauge-ring strong { position: relative; font-family: var(--font-display); font-size: 2rem; }
.gauge-ring span { position: relative; display: block; font-size: 0.68rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; text-align: center; }

/* Pipeline */
.pipeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.8rem; }
.pipe-step {
  padding: 1.4rem 1rem; text-align: center; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm);
  transition: 0.35s var(--ease);
}
.pipe-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(10, 37, 64, 0.28); }
.pipe-num { display: block; font-family: var(--font-display); color: var(--green); font-size: 1.4rem; margin-bottom: 0.3rem; }
.pipe-step strong { display: block; margin-bottom: 0.3rem; }
.pipe-step span { color: var(--muted); font-size: 0.8rem; }

.outcomes, .card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.outcome, .card {
  padding: 1.7rem; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: #fff; box-shadow: var(--shadow-sm); transition: 0.4s var(--ease);
}
.card { display: flex; flex-direction: column; gap: 0.7rem; min-height: 100%; }
.outcome:hover, .card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(10,37,64,0.28); }
.outcome .metric { font-family: var(--font-display); font-size: 2rem; color: var(--green); margin-bottom: 0.4rem; }
.outcome h3, .card h3 { font-size: 1.15rem; }
.outcome p, .card p { color: var(--muted); font-size: 0.92rem; flex: 1; }
.card-link { color: var(--green); font-weight: 650; font-size: 0.88rem; }

.cta-band {
  padding: 5.5rem 0;
  background:
    radial-gradient(ellipse 70% 80% at 85% 40%, rgba(155,184,212,0.12), transparent 55%),
    #061828;
  color: rgba(255,255,255,0.7);
}
.cta-band .section-title { color: #fff; max-width: 15ch; }
.cta-band .section-desc { color: rgba(255,255,255,0.55); }
.cta-band .eyebrow { color: #9BB8D4; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.75rem; }

.page-hero {
  padding: calc(var(--nav-h) + 4rem) 0 3.5rem;
  background:
    radial-gradient(ellipse 50% 60% at 90% 10%, rgba(155,184,212,0.10), transparent 50%),
    #061828;
  color: rgba(255,255,255,0.65);
}
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.8rem); max-width: 14ch; margin-bottom: 1rem; }
.page-hero p { max-width: 48ch; color: rgba(255,255,255,0.55); font-size: 1.05rem; }
.page-hero .eyebrow { color: #9BB8D4; }

.module-board {
  display: grid; grid-template-columns: 290px 1fr; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--line-strong); background: #fff; box-shadow: var(--shadow-lg);
}
.module-list { border-right: 1px solid var(--line); max-height: 680px; overflow: auto; background: var(--paper); }
.module-btn {
  width: 100%; display: grid; grid-template-columns: 46px 1fr; gap: 0.6rem; align-items: center;
  text-align: left; padding: 1rem 1.1rem; border: 0; border-bottom: 1px solid var(--line);
  background: transparent; color: var(--muted); cursor: pointer;
}
.module-btn.is-active, .module-btn:hover { background: #fff; color: var(--ink); }
.module-btn.is-active { box-shadow: inset 3px 0 0 var(--green); }
.module-btn .num { font-family: var(--font-display); color: var(--green); font-weight: 700; }
.module-detail { padding: 2.3rem; min-height: 360px; }
.module-detail[hidden] { display: none; }
.module-detail h3 { font-size: 1.9rem; margin-bottom: 0.7rem; }
.module-detail .lead { font-size: 1.05rem; margin-bottom: 0.9rem; }
.module-detail .body { color: var(--muted); margin-bottom: 1.2rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.feature-list { display: grid; gap: 0.85rem; margin-top: 1.4rem; }
.feature-list li { display: grid; grid-template-columns: 16px 1fr; gap: 0.7rem; color: var(--muted); }
.feature-list li::before {
  content: ""; width: 8px; height: 8px; margin-top: 0.45rem; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 10px rgba(10, 37, 64, 0.35);
}
.panel {
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.5rem;
  background: #fff; box-shadow: var(--shadow-md);
}
.panel h3 { margin-bottom: 0.65rem; font-size: 1.15rem; }
.panel p { color: var(--muted); font-size: 0.92rem; }

.article { width: min(100% - 2.5rem, 760px); margin: 0 auto; padding: 3.5rem 0 5rem; }
.article .meta { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-bottom: 1.4rem; color: var(--muted); font-size: 0.85rem; }
.article h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; max-width: none; }
.article .abstract { font-size: 1.1rem; margin-bottom: 2rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.article h2 { font-size: 1.4rem; margin: 2.2rem 0 0.8rem; }
.article h3 { font-size: 1.08rem; margin: 1.4rem 0 0.5rem; }
.article p, .article li { color: var(--muted); margin-bottom: 0.95rem; }
.article ul, .article ol { padding-left: 1.15rem; margin-bottom: 1.15rem; }
.article ul { list-style: disc; }
.article ol { list-style: decimal; }
.article strong { color: var(--ink); }
.callout {
  margin: 1.6rem 0; padding: 1.25rem 1.35rem; border-radius: var(--radius-sm);
  border: 1px solid rgba(10, 37, 64, 0.22); background: var(--green-soft);
}
.callout p { margin: 0; color: var(--ink); }
.article-cta {
  margin-top: 2.75rem; padding: 1.7rem; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--paper);
}

.form {
  display: grid; gap: 1rem; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem; background: #fff; box-shadow: var(--shadow-lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: grid; gap: 0.35rem; font-size: 0.84rem; color: var(--muted); }
input, select, textarea {
  width: 100%; min-height: 46px; padding: 0.7rem 0.9rem; border-radius: 12px;
  border: 1px solid var(--line-strong); background: #fff; outline: none;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft);
}
.form-note { color: var(--muted); font-size: 0.8rem; }

.site-footer { padding: 3.5rem 0 2rem; border-top: 1px solid var(--line); background: #fff; }

.loc-list { display: grid; gap: 1rem; margin-top: 0.75rem; }
.loc-item strong { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 0.15rem; }
.loc-item span {
  display: block; font-size: 0.72rem; font-weight: 750; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 0.35rem;
}
.loc-item p { color: var(--muted); font-size: 0.88rem; line-height: 1.5; margin: 0; }
.loc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem;
}
.loc-card {
  padding: 1.5rem 1.4rem; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm);
}
.loc-card em {
  display: block; font-style: normal; font-size: 0.68rem; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); margin-bottom: 0.45rem;
}
.loc-card h3 { font-size: 1.35rem; margin-bottom: 0.55rem; }
.loc-card.is-featured {
  border-color: rgba(10, 37, 64, 0.22);
  box-shadow: var(--shadow-md);
}
.loc-card .card-link { display: inline-block; margin-top: 0.75rem; }
.world-map-wrap { display: grid; gap: 1.5rem; }
.world-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.world-map-svg { width: 100%; height: auto; display: block; }
.map-ping {
  fill: rgba(155,184,212,0.25);
  transform-origin: center;
  animation: mapPing 2.4s ease-out infinite;
}
.map-pin[data-city="kl"] .map-ping { animation-delay: 0.5s; }
.map-pin[data-city="chennai"] .map-ping { animation-delay: 1s; }
@keyframes mapPing {
  0% { opacity: 0.7; transform: scale(0.6); }
  70% { opacity: 0; transform: scale(1.8); }
  100% { opacity: 0; transform: scale(1.8); }
}
.map-arcs path { animation: mgDash 4s linear infinite; }
.contact-map {
  margin: 0.85rem 0 1rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.contact-map-svg { width: 100%; height: auto; display: block; }
.loc-item .card-link { display: inline-block; margin-top: 0.45rem; font-size: 0.84rem; }
@media (prefers-reduced-motion: reduce) {
  .map-ping, .map-arcs path { animation: none !important; }
}
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; margin-bottom: 2.5rem; }
.footer-brand img { height: 26px; margin-bottom: 0.8rem; }
.footer-brand p { color: var(--muted); font-size: 0.9rem; max-width: 30ch; }
.footer-col h4 {
  font-family: var(--font-body); font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 0.85rem; font-weight: 650;
}
.footer-col a { display: block; color: var(--muted); font-size: 0.9rem; margin-bottom: 0.45rem; }
.footer-col a:hover { color: var(--green); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--faint); font-size: 0.8rem;
}

.value-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }
.value-points { display: grid; gap: 1.15rem; }
.value-point { padding-left: 1.1rem; border-left: 2px solid var(--green); }
.value-point h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.value-point p { color: var(--muted); font-size: 0.92rem; }

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.22s; }

@media (max-width: 980px) {
  .hero-grid, .story, .cockpit, .module-board, .split, .value-grid, .cap-rail, .bento { grid-template-columns: 1fr; }
  .bento-card.wide { grid-column: auto; grid-row: auto; }
  .story-sticky { position: relative; top: 0; }
  .cap-tabs, .module-list { display: flex; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); max-height: none; }
  .cap-tab, .module-btn { white-space: nowrap; border-bottom: 0; border-right: 1px solid var(--line); }
  .pipeline { grid-template-columns: 1fr 1fr; }
  .outcomes, .card-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto; display: none; flex-direction: column;
    padding: 1rem; background: rgba(7,7,7,0.96); border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .site-header.is-scrolled .nav-links { background: rgba(255,255,255,0.98); }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 0.85rem 0.4rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-cta { width: 100%; justify-content: center; margin-top: 0.75rem; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 1.35rem, var(--max)); }
  .pipeline, .outcomes, .card-grid, .footer-grid, .form-row { grid-template-columns: 1fr; }
  .section { padding: 4.25rem 0; }
  .kg-float { position: relative; width: 100%; right: auto; bottom: auto; margin-top: 1rem; }
}

/* ===== Motion punch layer ===== */
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 420px; height: 420px; margin: -210px 0 0 -210px;
  border-radius: 50%; pointer-events: none; z-index: 80;
  background: radial-gradient(circle, rgba(27,79,130,0.14), transparent 68%);
  mix-blend-mode: screen; opacity: 0.85; transition: opacity 0.3s;
}
body:not(.is-ready) .hero-copy-block > * { opacity: 0; transform: translateY(28px); }
[data-hero-line].hero-line-in {
  animation: heroIn 0.9s cubic-bezier(0.16,1,0.3,1) both;
  animation-delay: var(--d, 0s);
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(32px) scale(0.98); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}
.kg-stage {
  --tx: 0px; --ty: 0px; --rx: 0deg; --ry: 0deg;
  transform: perspective(1200px) rotateX(var(--rx)) rotateY(var(--ry)) translate3d(var(--tx), var(--ty), 0);
  transition: transform 0.45s cubic-bezier(0.16,1,0.3,1);
}
.kg-stage svg { animation: kgBreath 7s ease-in-out infinite; }
@keyframes kgBreath {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 30px 60px rgba(0,0,0,0.45)) drop-shadow(0 0 30px rgba(27,79,130,0.15)); }
  50% { transform: scale(1.02); filter: drop-shadow(0 40px 80px rgba(0,0,0,0.5)) drop-shadow(0 0 50px rgba(27,79,130,0.22)); }
}
.kg-packet {
  fill: #C5D5E8;
  filter: drop-shadow(0 0 8px #1B4F82) drop-shadow(0 0 16px rgba(27, 79, 130, 0.55));
}
.kg-shock {
  fill: none; stroke: rgba(155,184,212,0.55); stroke-width: 2;
  transform-origin: 320px 310px;
  animation: shock 3.3s ease-out infinite;
  pointer-events: none;
}
@keyframes shock {
  0% { r: 55; opacity: 0.7; }
  100% { r: 230; opacity: 0; }
}
.kg-node-dot {
  animation: nodePulse 2.6s ease-in-out infinite;
}
.kg-node-dot.is-hot { animation-duration: 1.8s; }
@keyframes nodePulse {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(27,79,130,0.40)); }
  50% { filter: drop-shadow(0 0 16px rgba(155,184,212,0.95)); }
}
.kg-float {
  animation: floatCard 4.5s ease-in-out infinite, floatGlow 3s ease-in-out infinite alternate;
  transition: opacity 0.28s, transform 0.28s;
}
.kg-float.is-swap { opacity: 0; transform: translateY(8px) scale(0.98); }
@keyframes floatGlow {
  from { box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(155,184,212,0.08); }
  to { box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 40px rgba(27,79,130,0.20), 0 0 0 1px rgba(155,184,212,0.30); }
}
.btn-primary {
  position: relative; overflow: hidden;
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.35), transparent 80%);
  transform: translateX(-120%);
  animation: sheen 3.2s ease-in-out infinite;
}
@keyframes sheen {
  0%, 60% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}
.marquee-track { animation-duration: 22s; }
.bento-card, .outcome, .card, .pipe-step, .story-step {
  transition: transform 0.45s cubic-bezier(0.16,1,0.3,1), box-shadow 0.45s, border-color 0.35s;
}
.bento-card:hover, .outcome:hover, .card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 40px 90px rgba(10,37,64,0.14), 0 0 0 1px rgba(10,37,64,0.16);
}
.story-step.is-active {
  transform: translateX(6px) scale(1.01);
}
.cap-tab { transition: background 0.25s, color 0.25s, box-shadow 0.25s, transform 0.25s; }
.cap-tab:hover { transform: translateX(3px); }
.gauge-ring {
  animation: gaugeSpin 12s linear infinite;
  background: conic-gradient(from 0deg, var(--green) 0 74%, var(--paper-3) 0);
}
@keyframes gaugeSpin {
  to { filter: hue-rotate(12deg); }
}
.wave-grid span, .bento-viz span {
  transition: height 0.8s cubic-bezier(0.16,1,0.3,1);
}
.hero::before {
  content: ""; position: absolute; inset: -20%;
  background: conic-gradient(from 120deg at 70% 40%, transparent, rgba(27,79,130,0.08), transparent 40%);
  animation: swirl 18s linear infinite;
  pointer-events: none; z-index: 0;
}
@keyframes swirl { to { transform: rotate(360deg); } }
#neural-canvas { opacity: 0.55; }
.kg-edge-active {
  stroke: #1aff8c !important; stroke-width: 2.2 !important;
  filter: drop-shadow(0 0 4px rgba(27,79,130,0.45));
}
@media (prefers-reduced-motion: reduce) {
  .cursor-glow, .hero::before, .btn-primary::after { display: none !important; }
  .kg-stage svg, .kg-float, .kg-shock, .kg-node-dot, .gauge-ring { animation: none !important; }
}

/* ===== 3D Brain + scroll scrub ===== */
.kg-stage {
  position: relative;
  width: 100%;
  min-height: 480px;
  --tx: 0px; --ty: 0px; --rx: 0deg; --ry: 0deg;
}
.brain3d-wrap {
  position: relative;
  width: 100%;
  min-height: 520px;
  height: min(72vh, 620px);
  aspect-ratio: auto;
  max-width: 640px;
  margin-left: auto;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(27,79,130,0.28), transparent 55%),
    linear-gradient(160deg, #0A2540, #061828 70%);
  border: 1px solid rgba(155,184,212,0.22);
  box-shadow:
    0 40px 100px rgba(6,24,40,0.45),
    0 0 80px rgba(27,79,130,0.12),
    inset 0 0 80px rgba(27,79,130,0.10);
}
#brain3d {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
}
.brain3d-labels {
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
}
.brain3d-label {
  position: absolute; top: 0; left: 0;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(155,184,212,0.28);
  background: rgba(6,24,40,0.82);
  color: rgba(255,255,255,0.88);
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  transition: opacity 0.25s;
  will-change: transform, opacity;
}
.brain3d-label.is-hot {
  color: #fff;
  border-color: rgba(155,184,212,0.55);
  box-shadow: 0 0 18px rgba(27,79,130,0.30);
}
.brain3d-core-caption {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  text-align: center; z-index: 1; pointer-events: none;
  mix-blend-mode: screen;
}
.brain3d-core-caption small {
  display: block; color: #9BB8D4; font-size: 0.62rem; font-weight: 750;
  letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 0.25rem;
  opacity: 0.85;
}
.brain3d-core-caption strong {
  display: block; color: #fff; font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.25rem); letter-spacing: -0.03em;
  text-shadow: 0 0 24px rgba(27,79,130,0.35);
}
.kg-stage .kg-float { z-index: 5; }

[data-scrub] {
  transition: transform 0.1s linear, opacity 0.1s linear;
  will-change: transform;
}
.section-deep, .section-soft, .section {
  background-attachment: local;
}
@media (max-width: 640px) {
  .brain3d-wrap { max-width: 100%; margin: 0 auto; }
  .brain3d-label { font-size: 0.55rem; padding: 0.2rem 0.4rem; }
}

/* ===== Industries — large-corp ops cinema ===== */
.ind-hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  padding: calc(var(--nav-h) + 3rem) 0 4.5rem;
  color: #fff;
  overflow: hidden;
}
.ind-hero-media {
  position: absolute; inset: 0; z-index: 0;
}
.ind-hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04);
  animation: indKen 28s ease-in-out infinite alternate;
}
@keyframes indKen {
  from { transform: scale(1.04) translate(0, 0); }
  to { transform: scale(1.12) translate(-2%, -1%); }
}
.ind-hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(6,24,40,0.92) 0%, rgba(6,24,40,0.72) 42%, rgba(6,24,40,0.35) 100%),
    linear-gradient(180deg, rgba(6,24,40,0.35) 0%, rgba(6,24,40,0.85) 100%);
}
.ind-hero-copy { position: relative; z-index: 2; max-width: 920px; }
.ind-kicker {
  font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: #9BB8D4; font-weight: 650; margin: 0 0 1rem;
}
.ind-hero h1 {
  color: #fff;
  font-size: clamp(3.4rem, 10vw, 7.5rem);
  line-height: 0.88;
  letter-spacing: -0.055em;
  margin-bottom: 1.35rem;
  max-width: none;
}
.ind-word {
  display: block;
  text-transform: uppercase;
  font-weight: 800;
  text-shadow: 0 8px 40px rgba(0,0,0,0.35);
}

/* Homepage enterprise billboard + video wall */
.corp-billboard {
  background: #061828;
  color: #fff;
  padding-top: 4rem;
  overflow: hidden;
}
.corp-billboard-kicker {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.2em;
  text-transform: uppercase; color: #9BB8D4; margin: 0 0 1rem;
}
.corp-billboard-title {
  color: #fff;
  font-size: clamp(2.8rem, 8vw, 5.8rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  margin: 0 0 1rem;
  max-width: none;
  text-transform: uppercase;
  font-weight: 800;
}
.corp-billboard-title span { display: block; }
.corp-amp {
  display: block !important;
  font-size: 0.35em;
  color: #9BB8D4;
  letter-spacing: 0.28em;
  margin: 0.35rem 0;
  font-weight: 600;
}
.corp-billboard-sub {
  color: rgba(255,255,255,0.65);
  font-size: 1.1rem;
  margin: 0 0 2.25rem;
  max-width: 48ch;
}
.corp-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
  width: min(100% - 1.5rem, var(--max));
  margin: 0 auto;
}
.corp-tile {
  position: relative;
  display: block;
  min-height: 320px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(155,184,212,0.2);
}
.corp-tile img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0;
  transform: scale(1.04);
  transition: transform 0.8s var(--ease), filter 0.4s;
  filter: saturate(0.9) brightness(0.75);
}
.corp-tile:hover img { transform: scale(1.1); filter: saturate(1) brightness(0.85); }
.corp-tile-cap {
  position: absolute; inset: auto 0 0 0;
  padding: 1.25rem 1.1rem;
  background: linear-gradient(180deg, transparent, rgba(6,24,40,0.92));
  display: grid; gap: 0.25rem;
}
.corp-tile-cap .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: #9BB8D4;
  margin-bottom: 0.35rem;
  box-shadow: 0 0 0 0 rgba(155,184,212,0.55);
  animation: livePulse 1.8s infinite;
}
.corp-tile-cap strong {
  font-family: var(--font-display);
  font-size: 1.05rem; letter-spacing: -0.02em; color: #fff;
}
.corp-tile-cap span { font-size: 0.82rem; color: rgba(255,255,255,0.65); }
@media (max-width: 980px) {
  .corp-wall { grid-template-columns: 1fr 1fr; }
  .corp-tile { min-height: 240px; }
}
@media (max-width: 560px) {
  .corp-wall { grid-template-columns: 1fr; }
}
.ind-amp {
  display: block;
  font-size: 0.38em;
  color: #9BB8D4;
  letter-spacing: 0.2em;
  margin: 0.25rem 0;
  font-weight: 600;
}
.ind-lede {
  max-width: 48ch;
  font-size: 1.12rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 1.5rem;
  line-height: 1.65;
}
.ind-keyword-row {
  display: flex; flex-wrap: wrap; gap: 0.55rem;
  margin-bottom: 1.85rem;
}
.ind-keyword-row span {
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(155,184,212,0.35);
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  color: #C5D5E8;
}

.ops-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem;
}
.ops-panel {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(155,184,212,0.18);
  background: rgba(255,255,255,0.03);
}
.ops-stage {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #061828;
}
.ops-stage > img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.55; filter: saturate(0.85) contrast(1.05);
}
.ops-overlay { position: absolute; inset: 0; }
.ops-map {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.ops-map .lane {
  fill: none; stroke: rgba(155,184,212,0.55); stroke-width: 1.5;
  stroke-dasharray: 6 8;
  animation: laneFlow 18s linear infinite;
}
.ops-map .lane-2 { stroke-opacity: 0.45; animation-duration: 24s; animation-direction: reverse; }
@keyframes laneFlow { to { stroke-dashoffset: -220; } }
.ops-map .port { fill: #9BB8D4; }
.ops-map text {
  fill: rgba(255,255,255,0.7); font-size: 11px; font-family: var(--font-body); font-weight: 600;
}
.ops-map .vessel { fill: #fff; }
.ops-telemetry {
  position: absolute; left: 1rem; bottom: 1rem; right: 1rem;
  max-width: 280px;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(155,184,212,0.28);
  background: rgba(6,24,40,0.82);
  backdrop-filter: blur(10px);
  color: rgba(255,255,255,0.85);
}
.ops-telemetry strong {
  display: block; font-family: var(--font-display);
  font-size: 1rem; margin: 0.35rem 0 0.55rem; color: #fff;
}
.ops-telemetry ul { display: grid; gap: 0.28rem; }
.ops-telemetry li { font-size: 0.78rem; color: rgba(255,255,255,0.65); }
.ops-telemetry em { font-style: normal; color: #C5D5E8; font-weight: 650; }
.ops-live {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.65rem; font-weight: 800; letter-spacing: 0.14em; color: #9BB8D4;
}
.ops-live i {
  width: 7px; height: 7px; border-radius: 50%; background: #9BB8D4;
  box-shadow: 0 0 0 0 rgba(155,184,212,0.6);
  animation: livePulse 1.8s infinite;
}
.ops-body { padding: 1.25rem 1.35rem 1.45rem; }
.ops-body h3 {
  color: #fff; font-size: 1.25rem; margin-bottom: 0.45rem;
}
.ops-body p { color: rgba(255,255,255,0.58); font-size: 0.92rem; }

.fleet-radar {
  position: absolute; inset: 12% 8%;
  border: 1px dashed rgba(155,184,212,0.25);
  border-radius: 18px;
}
.fleet-radar .hub {
  position: absolute; left: 50%; top: 50%; width: 14px; height: 14px;
  margin: -7px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 8px rgba(155,184,212,0.2);
}
.fleet-radar .truck {
  position: absolute; width: 18px; height: 10px; border-radius: 3px;
  background: #9BB8D4; box-shadow: 0 0 12px rgba(155,184,212,0.55);
}
.fleet-radar .t1 { animation: fleet1 9s linear infinite; }
.fleet-radar .t2 { animation: fleet2 12s linear infinite; }
.fleet-radar .t3 { animation: fleet3 10s linear infinite reverse; }
@keyframes fleet1 {
  0% { left: 8%; top: 70%; }
  40% { left: 48%; top: 48%; }
  100% { left: 86%; top: 22%; }
}
@keyframes fleet2 {
  0% { left: 12%; top: 20%; }
  50% { left: 50%; top: 50%; }
  100% { left: 78%; top: 78%; }
}
@keyframes fleet3 {
  0% { left: 80%; top: 30%; }
  100% { left: 18%; top: 62%; }
}

.phys-scan {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 40%, rgba(155,184,212,0.12) 50%, transparent 60%);
  background-size: 100% 200%;
  animation: physScan 3.5s ease-in-out infinite;
}
.phys-scan span {
  position: absolute; width: 70px; height: 70px;
  border: 1px solid rgba(155,184,212,0.55);
  border-radius: 8px;
  box-shadow: inset 0 0 20px rgba(155,184,212,0.15);
  animation: physBox 4s ease-in-out infinite;
}
.phys-scan span:nth-child(1) { left: 18%; top: 28%; }
.phys-scan span:nth-child(2) { left: 55%; top: 42%; animation-delay: 0.6s; width: 90px; height: 56px; }
.phys-scan span:nth-child(3) { left: 38%; top: 58%; animation-delay: 1.2s; width: 50px; height: 50px; }
@keyframes physScan {
  0%, 100% { background-position: 0 0%; }
  50% { background-position: 0 100%; }
}
@keyframes physBox {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

.pdm-gauge {
  position: absolute; right: 1rem; top: 1rem;
  width: 140px; text-align: center;
  padding: 0.6rem 0.5rem 0.75rem;
  border-radius: 14px;
  background: rgba(6,24,40,0.78);
  border: 1px solid rgba(155,184,212,0.28);
  color: #fff;
}
.pdm-gauge svg { width: 100%; height: auto; display: block; }
.pdm-gauge .pdm-arc { animation: pdmPulse 2.4s ease-in-out infinite alternate; }
@keyframes pdmPulse { from { stroke-dashoffset: 0; opacity: 0.7; } to { opacity: 1; filter: drop-shadow(0 0 6px #9BB8D4); } }
.pdm-gauge strong { display: block; font-family: var(--font-display); font-size: 1.5rem; margin-top: -0.4rem; }
.pdm-gauge small { color: #9BB8D4; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; }

.ind-marquee {
  overflow: hidden; border-block: 1px solid var(--line);
  background: var(--paper-2); padding: 1.1rem 0;
}
.ind-marquee-track {
  display: flex; gap: 2.5rem; white-space: nowrap; width: max-content;
  animation: indMarquee 42s linear infinite;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  letter-spacing: -0.02em; color: var(--ink); text-transform: uppercase;
}
.ind-marquee-track span { opacity: 0.55; }
.ind-marquee-track span:nth-child(odd) { opacity: 1; }
@keyframes indMarquee { to { transform: translateX(-50%); } }

.ind-deep { padding-block: 5.5rem; }
.ind-deep-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center;
}
.ind-deep-grid.reverse .ind-deep-copy { order: 2; }
.ind-deep-grid.reverse .ind-photo { order: 1; }
.ind-photo {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  position: relative;
}
.ind-photo img { width: 100%; height: min(52vh, 480px); object-fit: cover; }
.ind-photo figcaption {
  position: absolute; left: 1rem; bottom: 1rem;
  padding: 0.4rem 0.75rem; border-radius: 999px;
  background: rgba(6,24,40,0.78); color: #fff;
  font-size: 0.72rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase;
}

.ind-home-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.ind-home-card {
  position: relative; display: block; min-height: 280px;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); color: #fff;
  box-shadow: var(--shadow-md);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.ind-home-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.ind-home-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.ind-home-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,24,40,0.15), rgba(6,24,40,0.88));
}
.ind-home-card > div {
  position: relative; z-index: 1; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.25rem;
}
.ind-home-card strong {
  display: block; font-family: var(--font-display);
  font-size: 1.35rem; letter-spacing: -0.03em; margin-bottom: 0.35rem;
}
.ind-home-card span { font-size: 0.86rem; color: rgba(255,255,255,0.7); }
.ind-home-card em {
  font-style: normal; font-size: 0.65rem; font-weight: 800;
  letter-spacing: 0.14em; color: #9BB8D4; margin-bottom: 0.55rem;
}

@media (max-width: 980px) {
  .ops-grid, .ind-deep-grid, .ind-home-grid { grid-template-columns: 1fr 1fr; }
  .ind-deep-grid.reverse .ind-deep-copy,
  .ind-deep-grid.reverse .ind-photo { order: unset; }
}
/* ===== Resources hub — papers / cases / downloads ===== */
.res-tabs {
  display: flex; flex-wrap: wrap; gap: 0.55rem;
  padding: 1.25rem 0 0; margin-top: -0.5rem;
}
.res-tabs a {
  padding: 0.55rem 1rem; border-radius: 999px;
  border: 1px solid var(--line-strong); background: #fff;
  font-size: 0.84rem; font-weight: 650; color: var(--muted);
  transition: 0.25s;
}
.res-tabs a:hover, .res-tabs a.is-hot {
  background: var(--ink); color: #fff; border-color: var(--ink);
}
.res-list { display: grid; gap: 1rem; }
.res-row {
  display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center;
  padding: 1.5rem 1.6rem; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm);
}
.res-row h3 { font-size: 1.25rem; margin: 0.45rem 0 0.4rem; max-width: 28ch; }
.res-row p { color: var(--muted); font-size: 0.94rem; max-width: 52ch; }
.res-actions { display: flex; flex-wrap: wrap; gap: 0.55rem; justify-content: flex-end; }
.res-actions .btn { min-height: 44px; padding: 0.65rem 1.1rem; font-size: 0.84rem; }
.tag-row { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag {
  display: inline-block; padding: 0.22rem 0.55rem; border-radius: 999px;
  background: var(--paper-2); color: var(--muted);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.case-card em {
  display: block; font-style: normal; font-size: 0.68rem; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); margin-bottom: 0.55rem;
}
.dl-table {
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: #fff; box-shadow: var(--shadow-md);
}
.dl-head, .dl-row {
  display: grid; grid-template-columns: 1.6fr 0.7fr 0.4fr auto;
  gap: 1rem; align-items: center; padding: 1rem 1.35rem;
}
.dl-head {
  background: var(--paper-2); font-size: 0.72rem; font-weight: 750;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.dl-row { border-top: 1px solid var(--line); }
.dl-row strong { display: block; color: var(--ink); font-size: 0.98rem; }
.dl-row small { display: block; color: var(--muted); font-size: 0.8rem; margin-top: 0.15rem; }
.dl-row .btn { min-height: 40px; padding: 0.5rem 1rem; font-size: 0.82rem; }
.dl-note { margin-top: 1.25rem; color: var(--muted); font-size: 0.92rem; }
.dl-note a { color: var(--ink); font-weight: 650; text-decoration: underline; }
@media (max-width: 800px) {
  .res-row { grid-template-columns: 1fr; }
  .res-actions { justify-content: flex-start; }
  .dl-head { display: none; }
  .dl-row { grid-template-columns: 1fr; gap: 0.5rem; }
}
