:root {
  --bg-pure: #000000;
  --bg-deep: #030404;
  --bg-surface: #090a0a;
  --bg-elevated: #101111;
  --text-primary: #f1f0eb;
  --text-secondary: #aaa9a3;
  --text-tertiary: #74756f;
  --accent-cyan: #7ea9ad;
  --accent-bright: #bfd3d1;
  --accent-soft: rgba(126, 169, 173, 0.11);
  --accent-violet: #9185a2;
  --accent-amber: #b99a64;
  --accent-rose: #a4777d;
  --accent-mint: #72988b;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.19);
  --font-display: 'Instrument Sans', sans-serif;
  --font-editorial: 'Newsreader', serif;
  --font-mono: 'IBM Plex Mono', monospace;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  background: var(--bg-pure);
  scroll-behavior: smooth;
}
body {
  background: var(--bg-pure);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 5px;
}
.container {
  width: min(100%, 1480px);
  margin: 0 auto;
  padding-inline: clamp(1.25rem, 6vw, 6.5rem);
}
.smooth-scroll-wrapper {
  position: relative;
  z-index: 2;
}
.chapter {
  position: relative;
  z-index: 10;
  overflow: clip;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.14);
  backdrop-filter: none;
}
.section-kicker,
.hero-pre {
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}
.chapter-label {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.chapter-label span {
  color: var(--accent-cyan);
  font-size: 1.05rem;
}
.chapter-label p { padding-top: 0.12rem; }
/* Fluid pointer trail */
body.custom-cursor { cursor: none; }
#cursor-lens {
  position: fixed;
  inset: 0;
  z-index: 9999;
  width: 100vw;
  height: 100vh;
  display: none;
  pointer-events: none;
  color: #d7d4cc;
}
body.custom-cursor #cursor-lens { display: none; }
body.custom-cursor.cursor-ready #cursor-lens { display: block; }
.cursor-fluid,
.cursor-label {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}
.cursor-fluid {
  width: 100%;
  height: 100%;
  overflow: visible;
  mix-blend-mode: screen;
  filter:
    drop-shadow(0 0 4px color-mix(in srgb, currentColor 22%, transparent))
    drop-shadow(0 0 12px rgba(126,169,173,.12));
}
.cursor-drop-path {
  fill: url("#cursor-liquid-gradient");
  stroke: rgba(255,255,255,.07);
  stroke-width: .35;
  opacity: 0;
}
.cursor-drop-head {
  fill: rgba(224, 230, 226, .68);
  stroke: rgba(255,255,255,.25);
  stroke-width: .55;
  opacity: 0;
}
.cursor-drop-highlight {
  fill: rgba(255,255,255,.82);
  opacity: 0;
}
body.cursor-ready .cursor-drop-path { opacity: .54; }
body.cursor-ready .cursor-drop-head { opacity: 0; }
body.cursor-ready .cursor-drop-highlight { opacity: .62; }
body.cursor-moving .cursor-drop-path,
body.cursor-pressed .cursor-drop-path {
  opacity: .82;
}
body.cursor-moving .cursor-drop-head,
body.cursor-pressed .cursor-drop-head {
  opacity: .06;
}
body.cursor-moving .cursor-drop-highlight,
body.cursor-pressed .cursor-drop-highlight {
  opacity: .74;
}
.cursor-label {
  top: 0;
  left: 0;
  padding: 0.34rem 0.48rem;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 4px;
  background: rgba(2, 6, 8, 0.88);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  opacity: 0;
  box-shadow: 0 8px 30px rgba(0,0,0,.4);
  text-transform: uppercase;
  transform: translate3d(var(--cursor-label-x, 0), var(--cursor-label-y, 0), 0) translateY(5px);
  transition: opacity 180ms ease, transform 180ms ease;
  white-space: nowrap;
}
body.cursor-labeled .cursor-label {
  opacity: 1;
  transform: translate3d(var(--cursor-label-x, 0), var(--cursor-label-y, 0), 0);
}
.touch-drop {
  position: fixed;
  z-index: 9998;
  width: 12px;
  height: 12px;
  pointer-events: none;
  border: 1px solid rgba(215, 212, 204, .42);
  border-radius: 58% 58% 62% 38%;
  background: radial-gradient(circle at 38% 30%, rgba(255,255,255,.7), rgba(126,169,173,.18) 42%, transparent 72%);
  box-shadow: 0 0 13px rgba(126,169,173,.2);
  transform: translate(-50%, -50%) scale(.7);
  animation: touch-drop-fade 520ms cubic-bezier(.2,.75,.25,1) forwards;
}
@keyframes touch-drop-fade {
  45% { opacity: .58; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(.36); filter: blur(2px); }
}
#ambient-light {
  --ambient-x: 70vw;
  --ambient-y: 30vh;
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.42;
  background:
    radial-gradient(520px circle at var(--ambient-x) var(--ambient-y), rgba(154, 174, 174, .058), transparent 68%);
  mix-blend-mode: screen;
  transition: opacity 300ms ease;
}
/* Interactive hero sculpture */
#webgl-container {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 72% 42%, rgba(145, 133, 162, 0.12), transparent 34%),
    radial-gradient(ellipse at 58% 68%, rgba(126, 169, 173, 0.105), transparent 48%),
    radial-gradient(ellipse at 90% 78%, rgba(185, 154, 100, 0.065), transparent 33%),
    radial-gradient(ellipse at 18% 86%, rgba(164, 119, 125, 0.045), transparent 28%),
    #020202;
}
#webgl-canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.matrix-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, #000000 0%, rgba(0, 0, 0, 0.82) 31%, rgba(0, 0, 0, 0.06) 62%, rgba(0, 0, 0, 0.28) 100%),
    radial-gradient(circle at 76% 48%, transparent 14%, rgba(0, 0, 0, 0.28) 92%);
  transition: background 650ms ease, opacity 650ms ease;
}
body:not([data-active-chapter="top"]) .matrix-vignette {
  opacity: 0.14;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, .03) 48%, rgba(0, 0, 0, .1)),
    radial-gradient(circle at 50% 50%, transparent 24%, rgba(0, 0, 0, .08) 96%);
}
/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  min-height: 78px;
  padding: 1.4rem clamp(1.25rem, 6vw, 6.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0));
}
.logo {
  --logo-accent: rgba(126, 169, 173, .72);
  position: relative;
  min-height: 44px;
  padding: .64rem .88rem .62rem .95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  background:
    linear-gradient(120deg, rgba(255,255,255,.055), transparent 42%),
    rgba(5, 6, 6, .72);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    0 12px 36px rgba(0,0,0,.28);
  border-radius: 15px;
  text-decoration: none;
  text-transform: uppercase;
  isolation: isolate;
  transition:
    border-color 300ms ease,
    background-color 300ms ease,
    transform 420ms cubic-bezier(.2,.8,.2,1);
}
.logo::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -28%;
  z-index: -1;
  width: 24%;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(191,211,209,.15), transparent);
  transform: skewX(-18deg);
  animation: logo-glint 7s ease-in-out infinite;
}
.logo::after {
  content: '';
  position: absolute;
  right: 10px;
  bottom: 5px;
  left: 10px;
  height: 1px;
  background: linear-gradient(90deg, var(--logo-accent), transparent 72%);
  transform-origin: left;
  animation: logo-signal-line 4.6s ease-in-out infinite;
}
.logo-name,
.logo-company {
  position: relative;
  z-index: 2;
  color: var(--text-primary);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1;
}
.logo-company {
  padding-left: .72rem;
  border-left: 1px solid rgba(255,255,255,.2);
  color: var(--accent-bright);
}
.logo-signal {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 4px;
  height: 4px;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(126,169,173,.62);
  animation: logo-signal-pulse 2.4s ease-in-out infinite;
}
.logo:hover,
.logo:focus-visible {
  border-color: rgba(191, 211, 209, .42);
  transform: translateY(-2px);
}
.logo:hover .logo-company,
.logo:focus-visible .logo-company {
  color: #f1f0eb;
  text-shadow: 0 0 18px rgba(126, 169, 173, .36);
}
@keyframes logo-glint {
  0%, 62%, 100% { translate: 0 0; opacity: 0; }
  70% { opacity: 1; }
  88% { translate: 620% 0; opacity: 0; }
}
@keyframes logo-signal-line {
  0%, 100% { scale: .28 1; opacity: .36; }
  52% { scale: 1 1; opacity: .8; }
}
@keyframes logo-signal-pulse {
  0%, 100% { scale: .7; opacity: .4; }
  50% { scale: 1.35; opacity: 1; }
}
.nav-cluster,
.nav-menu {
  display: flex;
  align-items: center;
}
.nav-cluster { gap: 1.35rem; }
.nav-menu { gap: 1.5rem; }
.nav-menu a,
.nav-cta {
  position: relative;
  padding-block: 0.45rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.79rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 220ms ease;
}
.nav-menu a:hover { color: var(--text-primary); }
.nav-cta {
  padding: 0.72rem 1rem;
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
}
.magic-toggle {
  min-height: 42px;
  padding: .54rem .78rem;
  display: inline-flex;
  align-items: center;
  gap: .48rem;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(5, 7, 8, .64);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(12px);
}
.magic-toggle b {
  padding: .18rem .36rem;
  border-radius: 999px;
  background: rgba(126,169,173,.1);
  color: var(--accent-bright);
  font-size: .66rem;
}
.magic-toggle[aria-pressed="false"] {
  border-color: rgba(185,154,100,.26);
  color: #b9b2a5;
}
.magic-toggle[aria-pressed="false"] b {
  background: rgba(185,154,100,.12);
  color: #d4bd8c;
}
.nav-cta:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}
.status-badge {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(12px);
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(126, 169, 173, 0.45);
}
/* Chapter rail */
.journey-rail {
  position: fixed;
  top: 50%;
  right: 1.4rem;
  z-index: 80;
  padding-left: 1.2rem;
  display: none;
  flex-direction: column;
  gap: 0.8rem;
  transform: translateY(-50%);
}
.journey-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  overflow: hidden;
  background: var(--border);
}
.journey-line span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent-cyan);
  transform: scaleY(0);
  transform-origin: top;
}
.journey-rail a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #8d8e87;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 220ms ease, transform 220ms ease;
}
.journey-rail a > span:first-child {
  color: inherit;
  font-size: 0.66rem;
}
.journey-rail .journey-name { font-size: inherit; }
.journey-rail a.is-active {
  color: var(--accent-cyan);
  transform: translateX(-4px);
}
.page-orbit {
  --page-progress: 0%;
  --orbit-accent: var(--accent-cyan);
  position: fixed;
  right: .55rem;
  bottom: clamp(1.2rem, 2.2vw, 2.2rem);
  z-index: 90;
  width: 96px;
  height: 96px;
  padding: 0;
  display: grid;
  place-content: center;
  border: 0;
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  transition:
    width 480ms cubic-bezier(.2,.8,.2,1),
    height 480ms cubic-bezier(.2,.8,.2,1),
    transform 350ms cubic-bezier(.2,.8,.2,1);
}
.page-orbit:hover,
.page-orbit:focus-visible {
  transform: translateY(-5px);
}
.page-orbit-shape {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  background:
    linear-gradient(145deg, rgba(255,255,255,.055), transparent 44%),
    rgba(8, 9, 9, .83);
  box-shadow:
    0 20px 55px rgba(0,0,0,.58),
    inset 0 0 0 1px rgba(255,255,255,.025);
  backdrop-filter: blur(18px);
  transition:
    border-radius 480ms cubic-bezier(.2,.8,.2,1),
    clip-path 480ms cubic-bezier(.2,.8,.2,1),
    border-color 300ms ease;
}
.page-orbit-shape::after {
  content: '';
  position: absolute;
  right: 10%;
  bottom: 9%;
  left: 10%;
  height: 2px;
  background:
    linear-gradient(90deg, var(--orbit-accent) var(--page-progress), rgba(255,255,255,.12) 0);
}
.page-orbit-shape i {
  position: absolute;
  display: block;
  border: 1px solid color-mix(in srgb, var(--orbit-accent) 48%, transparent);
  transition: inset 480ms cubic-bezier(.2,.8,.2,1), transform 480ms cubic-bezier(.2,.8,.2,1);
}
.page-orbit-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: .1rem;
  place-items: center;
}
.page-orbit-copy b {
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -.06em;
  line-height: 1;
}
.page-orbit-copy small {
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.page-orbit[data-orbit-state="top"] .page-orbit-shape { border-radius: 50%; }
.page-orbit[data-orbit-state="top"] .page-orbit-shape i:first-child {
  inset: 15%;
  border-radius: 50%;
  animation: orbit-top-spin 12s linear infinite;
}
.page-orbit[data-orbit-state="top"] .page-orbit-shape i:last-child {
  inset: 29%;
  border-radius: 50%;
  border-style: dashed;
  animation: orbit-top-spin 8s linear infinite reverse;
}
.page-orbit[data-orbit-state="capabilities"] {
  width: 112px;
  height: 80px;
}
.page-orbit[data-orbit-state="capabilities"] .page-orbit-shape { border-radius: 10px; }
.page-orbit[data-orbit-state="capabilities"] .page-orbit-shape i:first-child {
  inset: 10px 62px 42px 10px;
  border-right: 0;
  border-bottom: 0;
  animation: orbit-capability-corners 3.8s ease-in-out infinite;
}
.page-orbit[data-orbit-state="capabilities"] .page-orbit-shape i:last-child {
  inset: 42px 10px 10px 62px;
  border-top: 0;
  border-left: 0;
  animation: orbit-capability-corners 3.8s ease-in-out infinite reverse;
}
.page-orbit[data-orbit-state="method"] {
  width: 74px;
  height: 108px;
}
.page-orbit[data-orbit-state="method"] .page-orbit-shape { border-radius: 36px; }
.page-orbit[data-orbit-state="method"] .page-orbit-shape i:first-child {
  inset: 13px 24px;
  border-radius: 20px;
  animation: orbit-method-pulse 3.4s ease-in-out infinite;
}
.page-orbit[data-orbit-state="method"] .page-orbit-shape i:last-child {
  inset: 29px 31px;
  border-radius: 12px;
  animation: orbit-method-pulse 3.4s ease-in-out infinite reverse;
}
.page-orbit[data-orbit-state="systems"] {
  width: 126px;
  height: 72px;
}
.page-orbit[data-orbit-state="systems"] .page-orbit-shape {
  border-radius: 50%;
  clip-path: none;
}
.page-orbit[data-orbit-state="systems"] .page-orbit-shape i:first-child {
  inset: 13px 18px;
  transform: skewX(-20deg);
  animation: orbit-system-slide 3.2s ease-in-out infinite;
}
.page-orbit[data-orbit-state="systems"] .page-orbit-shape i:last-child {
  inset: 21px 31px;
  transform: skewX(20deg);
  animation: orbit-system-slide 3.2s ease-in-out infinite reverse;
}
.page-orbit[data-orbit-state="contact"] {
  width: 86px;
  height: 86px;
  --orbit-accent: var(--accent-violet);
}
.page-orbit[data-orbit-state="contact"] .page-orbit-shape {
  border-radius: 50%;
  clip-path: none;
}
.page-orbit[data-orbit-state="contact"] .page-orbit-shape i:first-child {
  inset: 20%;
  transform: rotate(45deg);
  animation: orbit-contact-turn 7s linear infinite;
}
.page-orbit[data-orbit-state="contact"] .page-orbit-shape i:last-child {
  inset: 35%;
  transform: rotate(45deg);
  animation: orbit-contact-turn 5s linear infinite reverse;
}
@keyframes orbit-top-spin {
  to { transform: rotate(360deg); }
}
@keyframes orbit-capability-corners {
  50% { translate: 4px 4px; opacity: .45; }
}
@keyframes orbit-method-pulse {
  50% { inset: 22px 29px; opacity: .5; }
}
@keyframes orbit-system-slide {
  50% { translate: 7px 0; opacity: .45; }
}
@keyframes orbit-contact-turn {
  to { transform: rotate(405deg); }
}
.magnetic-target {
  transition:
    translate 300ms cubic-bezier(0.19, 1, 0.22, 1),
    color 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
  will-change: translate;
}
/* Hero */
.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100svh;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 10% 4% 12%;
  z-index: -1;
  pointer-events: none;
  border-top: 1px solid rgba(255,255,255,.045);
  border-right: 1px solid rgba(255,255,255,.035);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 99.9% 100%, 99.9% 1px, 0 1px);
}
.hero-layout {
  min-height: 100vh;
  min-height: 100svh;
  padding-top: clamp(7.5rem, 14vh, 10rem);
  padding-bottom: 1.6rem;
  display: flex;
  flex-direction: column;
}
.hero-content {
  position: relative;
  z-index: 3;
  width: min(980px, 68vw);
  margin-block: auto;
  padding-block: 2.5rem;
}
.hero-pre { margin-bottom: 1.65rem; }
.hero-title {
  position: relative;
  margin-bottom: 2rem;
  font-size: clamp(4rem, 7vw, 7.2rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.92;
}
.hero-title::after {
  content: '';
  position: absolute;
  top: -8%;
  bottom: -8%;
  left: -16%;
  width: 9%;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.14), transparent);
  filter: blur(5px);
  transform: skewX(-15deg);
  animation: title-light 9s ease-in-out infinite;
}
@keyframes title-light {
  0%, 62%, 100% { translate: 0 0; opacity: 0; }
  68% { opacity: .58; }
  86% { translate: 1180% 0; opacity: 0; }
}
.hero-sculpture-control {
  position: absolute;
  top: 25%;
  right: clamp(1.5rem, 5vw, 6rem);
  z-index: 3;
  width: min(28vw, 360px);
  min-width: 260px;
  height: min(38vh, 360px);
  min-height: 250px;
  padding: 1.2rem;
  display: grid;
  place-content: end start;
  gap: .4rem;
  overflow: hidden;
  border: 1px solid rgba(191,211,209,.12);
  border-radius: 22px;
  background:
    radial-gradient(circle at 68% 28%, rgba(126,169,173,.08), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.025), rgba(0,0,0,.08));
  color: rgba(241,240,235,.74);
  font: inherit;
  text-align: left;
  cursor: grab;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}
.hero-sculpture-control:active {
  cursor: grabbing;
}
.hero-sculpture-control span,
.hero-sculpture-control small {
  position: relative;
  z-index: 2;
  font-family: var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-sculpture-control span {
  color: var(--accent-bright);
  font-size: .72rem;
}
.hero-sculpture-control small {
  max-width: 190px;
  color: rgba(255,255,255,.48);
  font-size: .58rem;
  line-height: 1.5;
}
body.globe-focus .hero-sculpture-control {
  border-color: rgba(126,169,173,.42);
  background:
    radial-gradient(circle at 68% 28%, rgba(126,169,173,.14), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.04), rgba(0,0,0,.08));
}
.hero-sculpture-control::before,
.hero-sculpture-control::after {
  content: '';
  position: absolute;
  width: 96px;
  height: 96px;
  pointer-events: none;
  border: 1px solid rgba(191, 211, 209, .18);
  border-radius: 50%;
  opacity: .58;
  filter: blur(.1px);
}
.hero-sculpture-control::before {
  top: 2%;
  right: 4%;
  box-shadow:
    0 0 0 28px rgba(126,169,173,.012),
    0 0 55px rgba(126,169,173,.07);
  animation: net-control-breathe 7s ease-in-out infinite;
}
.hero-sculpture-control::after {
  bottom: 5%;
  left: 5%;
  width: 62px;
  height: 62px;
  border-color: rgba(145, 133, 162, .2);
  box-shadow: 0 0 0 19px rgba(145,133,162,.012);
  animation: net-control-breathe 7s 2.2s ease-in-out infinite reverse;
}
@keyframes net-control-breathe {
  0%, 100% { transform: scale(.82); opacity: .2; }
  50% { transform: scale(1.08); opacity: .68; }
}
.hero-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}
.hero-title .char-space { width: .28em; }
.hero-title-muted {
  color: #a79cad;
  background: none;
  -webkit-text-fill-color: currentColor;
  font-size: 0.83em;
  font-weight: 400;
  font-family: var(--font-editorial);
  font-style: italic;
  text-shadow:
    0 0 30px rgba(145, 133, 162, .11),
    0 0 70px rgba(126, 169, 173, .04);
  white-space: nowrap;
}
.hero-sub {
  max-width: 630px;
  margin-bottom: 2.3rem;
  color: var(--text-secondary);
  font-size: clamp(1.08rem, 1.5vw, 1.25rem);
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.button {
  min-height: 52px;
  padding: 1rem 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 250ms ease, border-color 250ms ease, color 250ms ease;
}
.button-primary {
  border-color: var(--text-primary);
  background: var(--text-primary);
  color: var(--bg-pure);
}
.button-primary:hover {
  border-color: var(--accent-cyan);
  background: var(--accent-cyan);
}
.button-secondary {
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
}
.button-secondary:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}
.telemetry-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--border);
}
.telemetry-node {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.telemetry-label {
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
}
.telemetry-value {
  width: fit-content;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.84rem;
  line-height: 1.5;
  text-decoration: none;
}
a.telemetry-value {
  border-bottom: 1px solid var(--border);
  transition: border-color 200ms ease, color 200ms ease;
}
a.telemetry-value:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}
.telemetry-value-accent { color: var(--accent-cyan); }
.scroll-cue {
  width: fit-content;
  margin-top: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}
.scroll-cue span:last-child {
  color: var(--accent-cyan);
  animation: cue-drop 1.8s ease-in-out infinite;
}
@keyframes cue-drop {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(5px); }
}
/* Expertise signal */
.expertise-ribbon {
  position: relative;
  z-index: 12;
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(3, 6, 8, 0.96);
  box-shadow: 0 24px 70px rgba(0,0,0,.72);
}
.expertise-track {
  width: max-content;
  min-height: 74px;
  padding-inline: 1.4rem;
  display: flex;
  align-items: center;
  gap: 1.45rem;
  animation: expertise-flow 34s linear infinite;
}
.expertise-track span {
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}
.expertise-track i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(126, 169, 173, .42);
}
@keyframes expertise-flow {
  to { transform: translateX(-50%); }
}
/* Shared chapter headers */
.chapter-header {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) minmax(280px, 410px);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}
.chapter-intro .section-kicker { margin-bottom: 1rem; }
.chapter-intro h2 {
  font-size: clamp(3.4rem, 6.5vw, 6.6rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.95;
}
.chapter-summary {
  max-width: 410px;
  color: var(--text-secondary);
  font-size: 1.08rem;
  line-height: 1.75;
}
/* Tilt surfaces */
.tilt-surface {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --lift: 0px;
  --glow-x: 50%;
  --glow-y: 50%;
  --surface-scale: 1;
  --surface-accent: var(--accent-cyan);
  --surface-rgb: 126, 169, 173;
  --model-pan-x: 0px;
  --model-pan-y: 0px;
  --model-rx: 0deg;
  --model-ry: 0deg;
  --model-light-x: 50%;
  --model-light-y: 50%;
  --content-pan-x: 0px;
  --content-pan-y: 0px;
  --content-counter-x: 0px;
  --content-counter-y: 0px;
  position: relative;
  transform:
    perspective(1200px)
    rotateX(var(--tilt-x))
    rotateY(var(--tilt-y))
    translateY(var(--lift))
    scale(var(--surface-scale));
  transform-style: preserve-3d;
  transition: transform 450ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 350ms ease;
  will-change: transform;
}
.tilt-surface:hover { --lift: -8px; }
.card-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(var(--surface-rgb), 0.13), transparent 38%);
  transition: opacity 350ms ease;
}
.tilt-surface:hover .card-glow,
.tilt-surface.is-touch-active .card-glow,
.tilt-surface.is-inview .card-glow { opacity: 1; }
.accent-cyan {
  --surface-accent: #7ea9ad;
  --surface-rgb: 126, 169, 173;
  --glyph-hue: 0deg;
}
.accent-violet {
  --surface-accent: #9185a2;
  --surface-rgb: 145, 133, 162;
  --glyph-hue: 84deg;
}
.accent-amber {
  --surface-accent: #b99a64;
  --surface-rgb: 185, 154, 100;
  --glyph-hue: 210deg;
}
.accent-blue {
  --surface-accent: #778fa6;
  --surface-rgb: 119, 143, 166;
  --glyph-hue: 34deg;
}
.accent-mint {
  --surface-accent: #72988b;
  --surface-rgb: 114, 152, 139;
  --glyph-hue: -30deg;
}
.accent-rose {
  --surface-accent: #a4777d;
  --surface-rgb: 164, 119, 125;
  --glyph-hue: 158deg;
}
.accent-orchid {
  --surface-accent: #8c7f9a;
  --surface-rgb: 140, 127, 154;
  --glyph-hue: 112deg;
}
.accent-lime {
  --surface-accent: #8fa16f;
  --surface-rgb: 143, 161, 111;
  --glyph-hue: -76deg;
}
/* Capabilities */
.capabilities-section {
  padding-block: clamp(8rem, 12vw, 12rem);
  background:
    linear-gradient(180deg, rgba(2, 2, 2, .3), rgba(5, 5, 5, .2) 48%, rgba(1, 1, 1, .34));
  box-shadow: 0 -30px 80px rgba(0, 0, 0, 0.42);
}
.chapter-grid {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  pointer-events: none;
  background-image:
    repeating-radial-gradient(ellipse at 15% 42%, transparent 0 42px, rgba(126,169,173,.045) 43px 44px, transparent 45px 86px),
    repeating-radial-gradient(ellipse at 88% 62%, transparent 0 54px, rgba(145,133,162,.035) 55px 56px, transparent 57px 110px);
  background-size: 100% 100%;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
  animation: blueprint-drift 18s linear infinite paused;
}
.chapter-grid::after {
  content: '';
  position: absolute;
  top: -10%;
  bottom: -10%;
  left: -16%;
  width: 12%;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(126, 169, 173, .13), transparent);
  transform: skewX(-16deg);
  animation: blueprint-scan 7s ease-in-out infinite paused;
}
body[data-active-chapter="capabilities"] .chapter-grid,
body[data-active-chapter="capabilities"] .chapter-grid::after {
  animation-play-state: running;
}
@keyframes blueprint-drift {
  to { background-position: 3vw -2vh, -4vw 3vh; }
}
@keyframes blueprint-scan {
  0%, 15%, 100% { translate: 0 0; opacity: 0; }
  30% { opacity: .7; }
  72% { translate: 960% 0; opacity: .1; }
}
.capability-grid {
  position: relative;
  z-index: 2;
  margin-top: clamp(4.5rem, 8vw, 8rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.4rem, 2.3vw, 2.25rem);
  perspective: 1600px;
}
.capability-entry {
  position: relative;
  padding-bottom: 14px;
  perspective: 1600px;
  isolation: isolate;
}
.capability-entry::before {
  content: '';
  position: absolute;
  inset: 6% 3% -2%;
  z-index: -1;
  border-radius: 18px;
  background: rgba(var(--surface-rgb, 126, 169, 173), .1);
  filter: blur(50px);
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 450ms ease, transform 450ms ease;
}
.capability-entry:has(.capability-card:hover)::before,
.capability-entry:has(.capability-card.is-inview)::before,
.capability-entry:has(.capability-card.is-engaged)::before {
  opacity: .42;
  transform: translateY(10px);
}
.capability-entry::after {
  content: '';
  position: absolute;
  inset: 1.3rem -0.85rem -0.45rem 1.15rem;
  z-index: -1;
  border: 1px solid rgba(var(--surface-rgb, 126, 169, 173), .26);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(var(--surface-rgb, 126, 169, 173), .16), transparent 28%),
    linear-gradient(160deg, rgba(26, 27, 27, .96), rgba(0, 0, 0, .98));
  box-shadow:
    18px 24px 54px rgba(0,0,0,.72),
    inset -18px -22px 34px rgba(0,0,0,.72),
    inset 1px 1px rgba(255,255,255,.04);
  opacity: 1;
  transform: translate3d(0, 8px, -40px) scale(.988);
  transition: transform 520ms cubic-bezier(.2,.8,.2,1), opacity 420ms ease;
}
.capability-entry:has(.capability-card:hover)::after,
.capability-entry:has(.capability-card.is-inview)::after,
.capability-entry:has(.capability-card.is-engaged)::after {
  opacity: .92;
  transform: translate3d(10px, 14px, -40px) scale(.992);
}
.capability-card {
  min-height: 680px;
  padding: clamp(1.8rem, 3.5vw, 3.4rem);
  display: flex;
  flex-direction: column;
  overflow: clip;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 26px;
  background:
    radial-gradient(ellipse at 92% 8%, rgba(var(--surface-rgb), 0.075), transparent 29%),
    radial-gradient(ellipse at 18% 92%, rgba(var(--surface-rgb), .055), transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.065), transparent 38%),
    linear-gradient(180deg, rgba(17, 18, 18, 0.96), rgba(4, 4, 4, 0.97));
  box-shadow:
    0 2px 0 rgba(255,255,255,.055) inset,
    -1px -1px 0 rgba(255,255,255,.04),
    0 24px 55px -34px rgba(var(--surface-rgb), .32),
    0 38px 90px rgba(0,0,0,.58);
  cursor: pointer;
  transform-origin: 50% 65%;
}
.capability-card.is-engaged {
  --card-model-depth: 104px;
  --surface-scale: .985;
  --lift: -4px;
}
.capability-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border: 1px solid transparent;
  background: linear-gradient(135deg, rgba(var(--surface-rgb), 0.62), transparent 28%, transparent 72%, rgba(255, 255, 255, 0.14)) border-box;
  mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 350ms ease;
}
.capability-card:hover::before,
.capability-card.is-touch-active::before,
.capability-card.is-pressed::before,
.capability-card.is-inview::before { opacity: 1; }
.capability-card::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -8%;
  width: 46%;
  height: 56%;
  border: 1px solid rgba(var(--surface-rgb), 0.18);
  border-radius: 50%;
  filter: blur(.2px);
  pointer-events: none;
  transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.capability-card .card-glow::after {
  content: '';
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: -30%;
  width: 34%;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.09), transparent);
  transform: skewX(-14deg);
}
.capability-card .card-glow::before {
  content: '';
  position: absolute;
  right: -10%;
  bottom: -18%;
  width: 48%;
  height: 52%;
  opacity: .32;
  background:
    radial-gradient(ellipse at 30% 15%, rgba(var(--surface-rgb), .2), transparent 42%),
    radial-gradient(ellipse at 80% 90%, rgba(0,0,0,.82), transparent 58%);
  filter: blur(18px);
  transform: rotate(-12deg);
  transition: opacity 350ms ease, transform 520ms cubic-bezier(.2,.8,.2,1);
}
.capability-card:hover .card-glow::before,
.capability-card.is-touch-active .card-glow::before,
.capability-card.is-engaged .card-glow::before,
.capability-card.is-inview .card-glow::before {
  opacity: .68;
  transform: rotate(-7deg) translate3d(-8px, -8px, 0);
}
.capability-card:hover .card-glow::after,
.capability-card:focus-within .card-glow::after,
.capability-card.is-pressed .card-glow::after,
.capability-card.is-touch-active .card-glow::after {
  opacity: 1;
  animation: surface-scan 1.05s cubic-bezier(.2,.8,.2,1);
}
@keyframes surface-scan {
  from { translate: -30% 0; }
  to { translate: 430% 0; }
}
.capability-card:hover::after,
.capability-card.is-touch-active::after,
.capability-card.is-pressed::after,
.capability-card.is-inview::after {
  transform: translate3d(-8px, 8px, 45px);
}
.capability-card.is-opening {
  --lift: -16px;
  --surface-scale: .99;
  border-color: rgba(var(--surface-rgb), .72);
}
.capability-card > *:not(.card-glow) {
  position: relative;
  z-index: 1;
  transform: translateZ(28px);
}
.capability-card-top {
  translate: var(--content-counter-x) var(--content-counter-y);
  transition: translate 180ms ease-out;
}
.capability-card-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.card-index { color: var(--surface-accent); }
.card-state-live {
  color: var(--accent-bright);
  text-shadow: 0 0 14px rgba(0, 229, 255, 0.45);
}
.capability-glyph {
  position: relative;
  height: 150px;
  margin: clamp(1.8rem, 3vw, 2.8rem) 0 1.7rem;
  transform: translateZ(52px);
  transform-style: preserve-3d;
  filter: hue-rotate(var(--glyph-hue, 0deg));
  transition: transform 650ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 400ms ease;
  animation: glyph-float 5.5s ease-in-out infinite;
}
.capability-entry:nth-child(2n) .capability-glyph { animation-delay: -1.4s; }
.capability-entry:nth-child(3n) .capability-glyph { animation-delay: -2.8s; }
.capability-card:hover .capability-glyph,
.capability-card.is-touch-active .capability-glyph,
.capability-card.is-inview .capability-glyph {
  transform: translate3d(0, -8px, 58px) scale(1.035);
}
@keyframes glyph-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -7px; }
}
.capability-glyph::before,
.capability-glyph::after,
.capability-glyph span {
  position: absolute;
  display: block;
  content: '';
}
.glyph-infrastructure::before {
  inset: 15% 8%;
  border: 1px solid rgba(0, 229, 255, 0.35);
  transform: perspective(500px) rotateX(58deg) rotateZ(-10deg);
  background:
    linear-gradient(rgba(0, 229, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.16) 1px, transparent 1px);
  background-size: 24px 24px;
  box-shadow: 0 0 40px rgba(0, 229, 255, 0.08);
}
.glyph-infrastructure span {
  width: 12px;
  height: 12px;
  border: 1px solid var(--accent-cyan);
  background: var(--bg-pure);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.6);
}
.glyph-infrastructure span:nth-child(1) { top: 22%; left: 19%; }
.glyph-infrastructure span:nth-child(2) { top: 30%; right: 23%; }
.glyph-infrastructure span:nth-child(3) { bottom: 20%; left: 42%; }
.glyph-infrastructure span:nth-child(4) { bottom: 32%; right: 12%; }
.glyph-adversarial::before,
.glyph-adversarial::after {
  top: 50%;
  left: 50%;
  width: 128px;
  height: 128px;
  border: 1px solid rgba(0, 229, 255, 0.38);
  transform: translate(-50%, -50%) rotate(45deg);
}
.glyph-adversarial::after {
  width: 72px;
  height: 72px;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%) rotate(45deg) translateZ(28px);
}
.glyph-adversarial span {
  top: 50%;
  left: 50%;
  border-radius: 50%;
}
.glyph-adversarial span:nth-child(1) {
  width: 18px; height: 18px; background: var(--accent-cyan);
  transform: translate(-50%, -50%); box-shadow: 0 0 26px rgba(0, 229, 255, 0.8);
}
.glyph-adversarial span:nth-child(2) {
  width: 190px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  transform: translate(-50%, -50%) rotate(28deg);
}
.glyph-adversarial span:nth-child(3) {
  width: 190px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
  transform: translate(-50%, -50%) rotate(-28deg);
}
.glyph-quant {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-inline: 8%;
}
.glyph-quant::after {
  right: 8%;
  bottom: 22%;
  left: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.65), transparent);
}
.glyph-quant span {
  position: relative;
  width: 14%;
  border: 1px solid rgba(0, 229, 255, 0.36);
  background: linear-gradient(to top, rgba(0, 229, 255, 0.32), rgba(0, 229, 255, 0.03));
  box-shadow: inset 0 0 20px rgba(0, 229, 255, 0.08);
}
.glyph-quant span:nth-child(1) { height: 28%; }
.glyph-quant span:nth-child(2) { height: 62%; }
.glyph-quant span:nth-child(3) { height: 42%; }
.glyph-quant span:nth-child(4) { height: 82%; }
.glyph-quant span:nth-child(5) { height: 55%; }
.glyph-autonomous::before,
.glyph-autonomous::after {
  top: 50%;
  left: 50%;
  border: 1px solid rgba(0, 229, 255, 0.32);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotateX(66deg);
}
.glyph-autonomous::before { width: 210px; height: 210px; }
.glyph-autonomous::after { width: 120px; height: 120px; border-color: rgba(255,255,255,.24); }
.glyph-autonomous span {
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.8);
}
.glyph-autonomous span:nth-child(1) { transform: translate(-50%, -50%); }
.glyph-autonomous span:nth-child(2) { transform: translate(82px, -40px); width: 8px; height: 8px; }
.glyph-autonomous span:nth-child(3) { transform: translate(-92px, 34px); width: 8px; height: 8px; }
.glyph-intelligence::before {
  top: 50%;
  left: 50%;
  width: 110px;
  height: 110px;
  border: 1px solid rgba(0, 229, 255, 0.48);
  border-radius: 34% 66% 58% 42%;
  transform: translate(-50%, -50%) rotate(22deg);
  box-shadow: 0 0 50px rgba(0, 229, 255, 0.08);
}
.glyph-intelligence span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.7);
}
.glyph-intelligence span:nth-child(1) { top: 20%; left: 32%; }
.glyph-intelligence span:nth-child(2) { top: 48%; right: 24%; }
.glyph-intelligence span:nth-child(3) { bottom: 17%; left: 45%; }
.glyph-intelligence span:nth-child(4) { top: 42%; left: 18%; }
.glyph-platforms {
  perspective: 500px;
}
.glyph-platforms span {
  top: 50%;
  left: 50%;
  width: 190px;
  height: 94px;
  border: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.1), rgba(255,255,255,.02));
  transform: translate(-50%, -50%) rotateX(58deg) rotateZ(-8deg);
  box-shadow: 0 18px 50px rgba(0,0,0,.6);
}
.glyph-platforms span:nth-child(2) { transform: translate(-42%, -67%) rotateX(58deg) rotateZ(-8deg) translateZ(28px); }
.glyph-platforms span:nth-child(3) {
  transform: translate(-34%, -84%) rotateX(58deg) rotateZ(-8deg) translateZ(56px);
  border-color: rgba(0, 229, 255, 0.5);
}
.glyph-vision::before,
.glyph-vision::after {
  top: 50%;
  left: 50%;
  border: 1px solid rgba(0,229,255,.42);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.glyph-vision::before {
  width: 180px;
  height: 98px;
  border-radius: 50% / 58%;
  box-shadow: inset 0 0 40px rgba(0,229,255,.07);
}
.glyph-vision::after {
  width: 62px;
  height: 62px;
  background: radial-gradient(circle, rgba(0,229,255,.25), transparent 64%);
}
.glyph-vision span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(0,229,255,.8);
}
.glyph-vision span:nth-child(1) { top: 21%; left: 48%; }
.glyph-vision span:nth-child(2) { top: 48%; right: 18%; }
.glyph-vision span:nth-child(3) { bottom: 20%; left: 48%; }
.glyph-vision span:nth-child(4) { top: 48%; left: 18%; }
.glyph-reliability {
  perspective: 600px;
}
.glyph-reliability::before {
  inset: 12% 13%;
  border: 1px solid rgba(0,229,255,.24);
  border-radius: 50%;
  transform: rotateX(62deg);
  box-shadow:
    0 0 0 24px rgba(0,229,255,.025),
    inset 0 0 35px rgba(0,229,255,.06);
}
.glyph-reliability span {
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(0,229,255,.45);
  background: rgba(0,229,255,.06);
  transform: translate(-50%, -50%) rotate(45deg);
}
.glyph-reliability span:nth-child(2) { transform: translate(-120%, -50%) rotate(45deg) scale(.58); }
.glyph-reliability span:nth-child(3) { transform: translate(20%, -50%) rotate(45deg) scale(.58); }
.glyph-reliability span:nth-child(4) {
  width: 150px;
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  transform: translate(-50%, -50%);
}
/* Animated capability demonstrations */
.capability-model {
  --model-depth: var(--card-model-depth, 72px);
  position: relative;
  min-height: clamp(280px, 24vw, 340px);
  height: clamp(280px, 24vw, 340px);
  margin: clamp(1.5rem, 2.6vw, 2.3rem) 0 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 22px;
  background:
    radial-gradient(circle at var(--model-light-x) var(--model-light-y), rgba(var(--surface-rgb), .17), transparent 30%),
    radial-gradient(ellipse at 70% 35%, rgba(var(--surface-rgb), .09), transparent 38%),
    repeating-radial-gradient(ellipse at 20% 110%, transparent 0 23px, rgba(var(--surface-rgb), .055) 24px 25px, transparent 26px 49px),
    repeating-radial-gradient(ellipse at 94% -10%, transparent 0 31px, rgba(var(--surface-rgb), .04) 32px 33px, transparent 34px 65px),
    linear-gradient(152deg, rgba(255,255,255,.06), transparent 36%),
    linear-gradient(180deg, rgba(17,17,16,.94), rgba(5,5,5,.98));
  background-size: auto;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.065),
    inset 0 -36px 62px rgba(0,0,0,.38),
    0 18px 34px -24px rgba(var(--surface-rgb), .38),
    0 36px 76px rgba(0,0,0,.5);
  transform:
    translate3d(var(--model-pan-x), var(--model-pan-y), var(--model-depth))
    rotateX(var(--model-rx))
    rotateY(var(--model-ry))
    scale(var(--model-scale, 1));
  transform-style: preserve-3d;
  perspective: 850px;
  isolation: isolate;
  transition:
    transform 180ms ease-out,
    border-color 260ms ease,
    box-shadow 300ms ease,
    background 220ms ease;
}
.capability-card:not(.is-model-active) .capability-model *,
.capability-card:not(.is-model-active) .capability-model *::before,
.capability-card:not(.is-model-active) .capability-model *::after {
  animation-play-state: paused !important;
}
.dialog-model .capability-model *,
.dialog-model .capability-model *::before,
.dialog-model .capability-model *::after {
  animation-play-state: running !important;
}
.capability-model::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .72;
  background:
    linear-gradient(118deg, transparent 0 42%, rgba(255,255,255,.055) 43%, transparent 44% 100%),
    radial-gradient(ellipse at 25% 12%, rgba(255,255,255,.055), transparent 38%),
    linear-gradient(180deg, transparent 44%, rgba(0,0,0,.54));
}
.capability-model::after {
  content: '';
  position: absolute;
  inset: 0;
  height: auto;
  border: 1px solid transparent;
  background:
    linear-gradient(112deg, transparent 38%, rgba(255,255,255,.07) 48%, transparent 58%) border-box;
  opacity: .4;
  mix-blend-mode: screen;
  translate: -58% 0;
  animation: model-reflection 8s ease-in-out infinite;
}
@keyframes model-reflection {
  0%, 58%, 100% { translate: -58% 0; opacity: 0; }
  67% { opacity: .32; }
  84% { translate: 58% 0; opacity: 0; }
}
.capability-model > small {
  position: absolute;
  right: .8rem;
  bottom: .65rem;
  z-index: 10;
  color: rgba(255,255,255,.5);
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.model-cinema {
  position: absolute;
  inset: 0;
  z-index: 9;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 46%, transparent 18%, rgba(0,0,0,.06) 54%, rgba(0,0,0,.46) 100%),
    linear-gradient(180deg, rgba(255,255,255,.025), transparent 26% 72%, rgba(0,0,0,.38));
}
.model-cinema::before {
  content: '';
  position: absolute;
  inset: -30% -14%;
  background:
    linear-gradient(104deg, transparent 38%, rgba(var(--surface-rgb), .04) 43%, rgba(255,255,255,.12) 48%, rgba(var(--surface-rgb), .05) 53%, transparent 60%);
  translate: -48% 0;
  rotate: -4deg;
  animation: cinema-light-pass 6.8s cubic-bezier(.35,.05,.2,1) infinite;
  mix-blend-mode: screen;
}
.model-cinema::after {
  content: '';
  position: absolute;
  right: .75rem;
  bottom: .58rem;
  left: .75rem;
  height: 2px;
  border-radius: 2px;
  background:
    linear-gradient(90deg, var(--surface-accent) 0 22%, rgba(255,255,255,.12) 22% 100%);
  box-shadow: 0 0 12px rgba(var(--surface-rgb), .35);
  transform-origin: left;
  animation: cinema-progress 6.4s linear infinite;
}
.model-cinema span {
  --pulse-index: 0;
  position: absolute;
  top: calc(24% + var(--pulse-index) * 15%);
  left: -8%;
  width: calc(5px + var(--pulse-index) * 1px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #f4f2eb;
  box-shadow:
    0 0 0 2px rgba(var(--surface-rgb), .18),
    0 0 15px rgba(var(--surface-rgb), .85);
  opacity: 0;
  animation: cinema-packet 6.4s cubic-bezier(.3,.05,.2,1) infinite;
  animation-delay: calc(var(--pulse-index) * .72s);
}
.model-cinema span:nth-child(2) { animation-duration: 7.1s; }
.model-cinema span:nth-child(3) { animation-duration: 5.7s; }
.model-cinema span:nth-child(4) { animation-duration: 7.8s; }
.model-reel {
  position: absolute;
  inset: .68rem .7rem auto;
  z-index: 14;
  min-height: 56px;
  pointer-events: none;
  font-family: var(--font-mono);
  text-transform: uppercase;
}
.model-reel-live,
.model-reel-metric {
  position: absolute;
  top: 0;
  padding: .28rem .4rem;
  border: 1px solid rgba(var(--surface-rgb), .26);
  border-radius: 4px;
  background: rgba(3, 7, 8, .8);
  box-shadow: 0 9px 24px rgba(0,0,0,.26);
  backdrop-filter: blur(8px);
}
.model-reel-live {
  left: 0;
  color: rgba(235,241,237,.72);
  font-size: .56rem;
  letter-spacing: .1em;
}
.model-reel-live::before {
  content: '';
  width: 5px;
  height: 5px;
  margin-right: .38rem;
  display: inline-block;
  border-radius: 50%;
  background: var(--surface-accent);
  box-shadow: 0 0 9px rgba(var(--surface-rgb), .85);
  animation: reel-live-pulse 1.4s ease-in-out infinite;
}
.model-reel-metric {
  right: 0;
  color: var(--surface-accent);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .07em;
}
.model-reel-events {
  position: absolute;
  top: 33px;
  left: 0;
  width: min(70%, 220px);
  height: 24px;
}
.model-reel-event {
  --event-index: 0;
  position: absolute !important;
  inset: 0 auto auto 0;
  padding: .3rem .46rem;
  display: block;
  border-left: 2px solid var(--surface-accent);
  background: linear-gradient(90deg, rgba(var(--surface-rgb), .16), rgba(2,5,6,.72));
  color: rgba(241,240,235,.9);
  font-size: .61rem;
  letter-spacing: .055em;
  opacity: 0;
  translate: 0 7px;
  animation: reel-event 8.4s cubic-bezier(.2,.72,.2,1) infinite;
  animation-delay: calc(var(--event-index) * 2.8s);
  white-space: nowrap;
}
.model-reel-telemetry {
  position: absolute;
  top: 36px;
  right: 0;
  width: 72px;
  height: 18px;
  overflow: hidden;
  border-bottom: 1px solid rgba(var(--surface-rgb), .25);
}
.model-reel-telemetry::before {
  content: '';
  position: absolute;
  inset: 3px -30px 2px 0;
  background:
    linear-gradient(120deg,
      transparent 0 7%,
      var(--surface-accent) 8% 10%,
      transparent 11% 20%,
      var(--surface-accent) 21% 23%,
      transparent 24% 34%,
      var(--surface-accent) 35% 38%,
      transparent 39% 53%,
      var(--surface-accent) 54% 57%,
      transparent 58% 100%);
  filter: drop-shadow(0 0 5px rgba(var(--surface-rgb), .55));
  animation: reel-telemetry 2.8s linear infinite;
}
@keyframes reel-live-pulse {
  50% { scale: 1.5; opacity: .45; }
}
@keyframes reel-event {
  0%, 4% { opacity: 0; translate: 0 7px; filter: blur(2px); }
  8%, 25% { opacity: 1; translate: 0 0; filter: blur(0); }
  31%, 100% { opacity: 0; translate: 0 -5px; filter: blur(1px); }
}
@keyframes reel-telemetry {
  to { translate: 30px 0; }
}
.capability-model > small {
  padding: .34rem .48rem;
  border: 1px solid rgba(var(--surface-rgb), .2);
  border-radius: 4px;
  background: rgba(2,5,6,.72);
  backdrop-filter: blur(8px);
}
@keyframes cinema-light-pass {
  0%, 14% { translate: -48% 0; opacity: 0; }
  23% { opacity: .65; }
  55%, 100% { translate: 48% 0; opacity: 0; }
}
@keyframes cinema-progress {
  0% { scale: .04 1; opacity: .35; }
  12% { opacity: 1; }
  88% { scale: 1 1; opacity: .9; }
  100% { scale: 1 1; opacity: 0; }
}
@keyframes cinema-packet {
  0%, 8% { left: -8%; translate: 0 9px; opacity: 0; }
  16% { opacity: 1; }
  48% { left: 48%; translate: 0 -8px; opacity: .9; }
  78% { left: 82%; translate: 0 5px; opacity: .9; }
  100% { left: 108%; translate: 0 -4px; opacity: 0; }
}
.model-backend .data-packet,
.model-security .scan-plane,
.model-markets .market-chart polyline,
.model-markets .market-sweep,
.model-robotics .drone,
.model-products .message,
.model-products .human-handoff,
.model-commerce .product-row i,
.model-commerce .payment-button,
.model-commerce .order-card,
.model-vision .tracking-line,
.model-vision .detected-object,
.model-cloud .deploy-line i,
.model-cloud .health-pulse {
  animation-duration: 8.4s;
}
.capability-model i,
.capability-model b,
.capability-model span,
.capability-model div {
  transform-style: preserve-3d;
}
.capability-card:hover .capability-model,
.capability-card.is-inview .capability-model,
.capability-card.is-engaged .capability-model {
  --model-scale: 1.026;
  border-color: rgba(var(--surface-rgb), .32);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    inset 0 -34px 60px rgba(0,0,0,.28),
    -20px 24px 0 -16px rgba(var(--surface-rgb), .24),
    0 44px 92px rgba(0,0,0,.56);
}
/* Backend: live server traffic */
.model-backend .model-floor {
  position: absolute;
  inset: 26% 8% -30%;
  border: 1px solid rgba(var(--surface-rgb), .23);
  background:
    linear-gradient(rgba(var(--surface-rgb), .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--surface-rgb), .12) 1px, transparent 1px);
  background-size: 24px 24px;
  transform: rotateX(68deg) rotateZ(-8deg) translateZ(-45px);
}
.server-cluster {
  position: absolute;
  inset: 28px 48px 35px;
  transform: rotateX(-8deg) rotateY(-18deg);
  animation: server-cluster-drift 6s ease-in-out infinite;
}
.server {
  position: absolute;
  width: 74px;
  height: 92px;
  padding: 12px 10px;
  display: grid;
  align-content: center;
  gap: 8px;
  border: 1px solid rgba(var(--surface-rgb), .6);
  background: linear-gradient(145deg, rgba(var(--surface-rgb), .18), rgba(2,7,9,.94));
  box-shadow: 12px 16px 30px rgba(0,0,0,.42);
}
.server::before,
.server::after {
  content: '';
  position: absolute;
  background: rgba(var(--surface-rgb), .08);
  border: 1px solid rgba(var(--surface-rgb), .24);
}
.server::before {
  top: -9px;
  right: 7px;
  left: 7px;
  height: 8px;
  transform: skewX(-42deg);
  transform-origin: bottom;
}
.server::after {
  top: 7px;
  right: -10px;
  bottom: -1px;
  width: 9px;
  transform: skewY(-42deg);
  transform-origin: left;
}
.server b {
  position: relative;
  height: 8px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.62);
}
.server b::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 4px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--surface-accent);
  box-shadow: 0 0 8px var(--surface-accent);
  animation: server-blink 1.45s steps(2) infinite;
}
.server-one { left: 7%; bottom: 4%; }
.server-two { left: 39%; bottom: 22%; transform: translateZ(38px); }
.server-three { right: 1%; bottom: 9%; transform: translateZ(10px); }
.server-two b::before { animation-delay: -.55s; }
.server-three b::before { animation-delay: -1s; }
.data-stream {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--surface-accent), transparent);
  transform-origin: left;
  filter: drop-shadow(0 0 5px var(--surface-accent));
}
.stream-one { top: 42%; left: 16%; width: 65%; rotate: -6deg; }
.stream-two { top: 64%; left: 24%; width: 58%; rotate: 8deg; }
.data-packet {
  position: absolute;
  width: 7px;
  height: 7px;
  background: white;
  border: 1px solid var(--surface-accent);
  box-shadow: 0 0 12px var(--surface-accent);
  animation: packet-travel 2.4s ease-in-out infinite;
}
.packet-one { top: 39%; left: 16%; }
.packet-two { top: 62%; left: 24%; animation-delay: -1.2s; }
@keyframes server-cluster-drift {
  0%, 100% { transform: rotateX(-8deg) rotateY(-18deg) translateY(0); }
  50% { transform: rotateX(-5deg) rotateY(-14deg) translateY(-5px); }
}
@keyframes server-blink {
  0%, 62% { opacity: 1; }
  63%, 100% { opacity: .2; }
}
@keyframes packet-travel {
  0% { translate: 0 0; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { translate: 260px 8px; opacity: 0; }
}
/* Security: rotating vault and threat scan */
.security-grid {
  position: absolute;
  inset: 14% 16%;
  border: 1px solid rgba(var(--surface-rgb), .18);
  transform: rotateX(62deg) rotateZ(45deg);
  box-shadow: 0 0 0 26px rgba(var(--surface-rgb), .018);
}
.vault-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 86px;
  height: 86px;
  border: 1px solid rgba(var(--surface-rgb), .8);
  background: linear-gradient(145deg, rgba(var(--surface-rgb), .2), rgba(2,4,7,.96));
  box-shadow:
    0 0 45px rgba(var(--surface-rgb), .13),
    18px 20px 30px rgba(0,0,0,.42);
  transform: translate(-50%, -50%) rotateX(58deg) rotateZ(45deg);
  animation: vault-turn 7s ease-in-out infinite;
}
.vault-core::before,
.vault-core::after {
  content: '';
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255,255,255,.18);
}
.vault-core::after {
  inset: 31px;
  border-radius: 50%;
  border-color: var(--surface-accent);
  box-shadow: 0 0 15px rgba(var(--surface-rgb), .62);
}
.vault-core i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 52px;
  height: 1px;
  background: var(--surface-accent);
  transform: translate(-50%, -50%);
}
.scan-plane {
  position: absolute;
  top: -10%;
  bottom: -10%;
  left: 50%;
  width: 2px;
  background: linear-gradient(transparent, white, var(--surface-accent), transparent);
  box-shadow: 0 0 18px var(--surface-accent);
  transform: rotate(18deg);
  animation: security-scan 3.1s ease-in-out infinite;
}
.threat {
  position: absolute;
  width: 9px;
  height: 9px;
  border: 1px solid #ff7d9c;
  box-shadow: 0 0 11px rgba(255,125,156,.75);
  animation: threat-ping 2s ease-in-out infinite;
}
.threat-one { top: 26%; left: 19%; }
.threat-two { right: 18%; bottom: 25%; animation-delay: -.7s; }
.threat-three { top: 34%; right: 24%; animation-delay: -1.35s; }
@keyframes vault-turn {
  0%, 100% { transform: translate(-50%, -50%) rotateX(58deg) rotateZ(45deg); }
  50% { transform: translate(-50%, -54%) rotateX(52deg) rotateZ(135deg); }
}
@keyframes security-scan {
  0%, 100% { translate: -150px 0; opacity: 0; }
  15%, 85% { opacity: .95; }
  50% { translate: 135px 0; }
}
@keyframes threat-ping {
  0%, 100% { scale: .6; opacity: .35; }
  50% { scale: 1.4; opacity: 1; }
}
/* Markets: extruded data and animated price path */
.model-markets { perspective: 900px; }
.market-floor {
  position: absolute;
  inset: 30% 5% -34%;
  border: 1px solid rgba(var(--surface-rgb), .2);
  background:
    linear-gradient(rgba(var(--surface-rgb), .1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--surface-rgb), .1) 1px, transparent 1px);
  background-size: 28px 28px;
  transform: rotateX(67deg) rotateZ(-4deg);
}
.market-bars {
  position: absolute;
  inset: 40px 38px 30px;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  transform: rotateX(-7deg) rotateY(-12deg);
}
.market-bars i {
  position: relative;
  width: 11%;
  border: 1px solid rgba(var(--surface-rgb), .54);
  background: linear-gradient(to top, rgba(var(--surface-rgb), .32), rgba(var(--surface-rgb), .04));
  box-shadow: 8px 12px 22px rgba(0,0,0,.3);
  transform-origin: bottom;
  animation: market-bar 3.8s ease-in-out infinite;
}
.market-bars i::after {
  content: '';
  position: absolute;
  top: -6px;
  right: 4px;
  left: 4px;
  height: 5px;
  background: rgba(var(--surface-rgb), .16);
  border: 1px solid rgba(var(--surface-rgb), .26);
  transform: skewX(-40deg);
}
.market-bars i:nth-child(1) { height: 28%; }
.market-bars i:nth-child(2) { height: 54%; animation-delay: -.5s; }
.market-bars i:nth-child(3) { height: 43%; animation-delay: -1s; }
.market-bars i:nth-child(4) { height: 72%; animation-delay: -1.5s; }
.market-bars i:nth-child(5) { height: 58%; animation-delay: -2s; }
.market-bars i:nth-child(6) { height: 88%; animation-delay: -2.5s; }
.market-chart {
  position: absolute;
  inset: 28px 22px 38px;
  width: calc(100% - 44px);
  height: calc(100% - 66px);
  overflow: visible;
  filter: drop-shadow(0 0 6px rgba(var(--surface-rgb), .75));
}
.market-chart polyline {
  fill: none;
  stroke: var(--surface-accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 520;
  animation: market-line-draw 4s ease-in-out infinite;
}
.market-chart circle {
  fill: white;
  stroke: var(--surface-accent);
  stroke-width: 2;
  animation: market-point 1.6s ease-in-out infinite;
}
.market-sweep {
  position: absolute;
  top: 18%;
  bottom: 15%;
  left: 10%;
  width: 32px;
  background: linear-gradient(90deg, transparent, rgba(var(--surface-rgb), .16), transparent);
  animation: market-sweep 4s linear infinite;
}
@keyframes market-bar {
  0%, 100% { scale: 1 1; filter: brightness(.75); }
  50% { scale: 1 1.16; filter: brightness(1.35); }
}
@keyframes market-line-draw {
  0% { stroke-dashoffset: 520; opacity: .2; }
  42%, 78% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: -520; opacity: .2; }
}
@keyframes market-point {
  50% { r: 7; }
}
@keyframes market-sweep {
  to { translate: 265px 0; }
}
/* Robotics: physical drone and control loop */
.flight-grid {
  position: absolute;
  inset: 34% 6% -38%;
  border: 1px solid rgba(var(--surface-rgb), .2);
  background:
    linear-gradient(rgba(var(--surface-rgb), .11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--surface-rgb), .11) 1px, transparent 1px);
  background-size: 25px 25px;
  transform: rotateX(68deg) rotateZ(-6deg);
}
.flight-path {
  position: absolute;
  top: 42%;
  left: 8%;
  width: 84%;
  height: 46%;
  border-top: 1px dashed rgba(var(--surface-rgb), .55);
  border-radius: 50%;
  rotate: -9deg;
}
.drone {
  position: absolute;
  top: 50%;
  left: 52%;
  width: 160px;
  height: 100px;
  transform: translate(-50%, -50%) rotateX(58deg) rotateZ(-8deg);
  animation: drone-flight 5s ease-in-out infinite;
}
.drone-body {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 58px;
  height: 38px;
  border: 1px solid rgba(var(--surface-rgb), .72);
  border-radius: 46% 46% 34% 34%;
  background: linear-gradient(145deg, rgba(255,255,255,.2), rgba(var(--surface-rgb), .2) 28%, #05090c 75%);
  box-shadow: 0 18px 26px rgba(0,0,0,.46), 0 0 20px rgba(var(--surface-rgb), .12);
  transform: translate(-50%, -50%) translateZ(18px);
}
.drone-arm {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 78px;
  height: 3px;
  background: linear-gradient(90deg, #30383d, var(--surface-accent));
  transform-origin: left center;
}
.drone-arm b {
  position: absolute;
  top: 50%;
  right: -8px;
  width: 38px;
  height: 38px;
  border: 2px solid rgba(var(--surface-rgb), .58);
  border-radius: 50%;
  transform: translateY(-50%) rotateX(68deg);
  box-shadow: 0 0 14px rgba(var(--surface-rgb), .15);
  animation: rotor-spin .22s linear infinite;
}
.arm-one { rotate: 22deg; }
.arm-two { rotate: 158deg; }
.arm-three { rotate: 202deg; }
.arm-four { rotate: 338deg; }
.drone-eye {
  position: absolute;
  top: 51%;
  left: 50%;
  width: 10px;
  height: 6px;
  border-radius: 50%;
  background: var(--surface-accent);
  box-shadow: 0 0 14px var(--surface-accent);
  transform: translate(-50%, 17px) translateZ(24px);
}
@keyframes drone-flight {
  0%, 100% { transform: translate(-50%, -50%) rotateX(58deg) rotateZ(-8deg) translate3d(-14px, 4px, 0); }
  50% { transform: translate(-50%, -50%) rotateX(54deg) rotateZ(3deg) translate3d(18px, -10px, 34px); }
}
@keyframes rotor-spin {
  to { rotate: 360deg; }
}
/* Products: assistance, knowledge, and human handoff */
.assistant-device {
  position: absolute;
  top: 23px;
  left: 28px;
  width: 168px;
  height: 126px;
  padding: 10px;
  border: 1px solid rgba(var(--surface-rgb), .52);
  border-radius: 14px;
  background: linear-gradient(145deg, #202a2a, #080d0d 50%, #010303);
  box-shadow: 20px 26px 45px rgba(0,0,0,.5);
  transform: rotateX(8deg) rotateY(16deg) rotateZ(-3deg);
  animation: device-float 5.4s ease-in-out infinite;
}
.assistant-screen {
  position: absolute;
  inset: 9px;
  overflow: hidden;
  border-radius: 8px;
  background:
    radial-gradient(circle at 72% 25%, rgba(var(--surface-rgb), .18), transparent 28%),
    #020807;
}
.assistant-screen::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -20%;
  width: 18%;
  background: linear-gradient(90deg, transparent, rgba(var(--surface-rgb), .24), transparent);
  animation: assistant-scan 3.2s ease-in-out infinite;
}
.message {
  position: absolute;
  left: 14px;
  height: 16px;
  border-radius: 8px;
  background: rgba(var(--surface-rgb), .22);
  border: 1px solid rgba(var(--surface-rgb), .28);
  transform-origin: left;
  animation: message-build 3.8s ease-in-out infinite;
}
.message-one { top: 18px; width: 62%; }
.message-two { top: 46px; width: 78%; animation-delay: -.55s; }
.message-three { top: 74px; width: 48%; animation-delay: -1.1s; }
.knowledge-node {
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1px solid var(--surface-accent);
  border-radius: 50%;
  box-shadow: 0 0 13px rgba(var(--surface-rgb), .72);
  animation: knowledge-pulse 2.6s ease-in-out infinite;
}
.node-one { top: 28px; right: 44px; }
.node-two { top: 76px; right: 24px; animation-delay: -.8s; }
.node-three { bottom: 35px; right: 70px; animation-delay: -1.6s; }
.human-handoff {
  position: absolute;
  right: 22px;
  bottom: 30px;
  width: 142px;
  min-height: 45px;
  padding: 8px 10px 8px 40px;
  display: grid;
  align-content: center;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(6,11,11,.92);
  box-shadow: 14px 18px 30px rgba(0,0,0,.45);
  transform: rotateY(-10deg) translateZ(20px);
  animation: handoff-arrive 4.4s ease-in-out infinite;
}
.human-handoff i {
  position: absolute;
  top: 50%;
  left: 13px;
  width: 17px;
  height: 17px;
  border: 1px solid var(--surface-accent);
  border-radius: 50%;
  transform: translateY(-50%);
}
.human-handoff b {
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: .57rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
}
@keyframes device-float {
  50% { transform: rotateX(5deg) rotateY(10deg) rotateZ(1deg) translateY(-6px); }
}
@keyframes assistant-scan {
  0%, 100% { translate: 0 0; opacity: 0; }
  20%, 80% { opacity: 1; }
  50% { translate: 185px 0; }
}
@keyframes message-build {
  0%, 15% { scale: 0 1; opacity: 0; }
  40%, 82% { scale: 1 1; opacity: 1; }
  100% { opacity: .25; }
}
@keyframes knowledge-pulse {
  50% { scale: 1.7; background: var(--surface-accent); }
}
@keyframes handoff-arrive {
  0%, 18% { translate: 28px 0; opacity: .2; }
  45%, 82% { translate: 0 0; opacity: 1; }
  100% { opacity: .35; }
}
/* Commerce: product selection through payment */
.commerce-phone {
  position: absolute;
  top: 16px;
  left: 44px;
  width: 112px;
  height: 154px;
  padding: 14px 10px;
  overflow: hidden;
  border: 1px solid rgba(var(--surface-rgb), .55);
  border-radius: 18px;
  background: linear-gradient(150deg, #252327, #080608 55%, #020102);
  box-shadow: 22px 28px 38px rgba(0,0,0,.52);
  transform: rotateY(22deg) rotateX(6deg) rotateZ(-5deg);
  animation: commerce-phone 5.6s ease-in-out infinite;
}
.commerce-phone::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255,255,255,.22);
  transform: translateX(-50%);
}
.phone-bar {
  display: block;
  width: 55%;
  height: 5px;
  margin-bottom: 13px;
  background: rgba(var(--surface-rgb), .45);
}
.product-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}
.product-row i {
  height: 38px;
  border: 1px solid rgba(255,255,255,.1);
  background:
    radial-gradient(circle at 50% 40%, rgba(var(--surface-rgb), .45), transparent 34%),
    rgba(255,255,255,.035);
  animation: product-select 3.8s ease-in-out infinite;
}
.product-row i:nth-child(2) { animation-delay: -.5s; }
.product-row i:nth-child(3) { animation-delay: -1s; }
.checkout-line {
  display: block;
  width: 82%;
  height: 5px;
  margin: 16px 0 12px;
  background: rgba(255,255,255,.14);
}
.payment-button {
  position: relative !important;
  width: 100%;
  height: 25px;
  display: grid !important;
  place-items: center;
  border-radius: 5px;
  background: var(--surface-accent);
  color: #080306;
  font-family: var(--font-mono);
  font-size: .58rem;
  font-weight: 700;
  text-transform: uppercase;
  animation: payment-confirm 3.8s ease-in-out infinite;
}
.order-card {
  position: absolute;
  top: 48px;
  right: 20px;
  width: 152px;
  min-height: 68px;
  padding: 15px 12px 12px 43px;
  border: 1px solid rgba(var(--surface-rgb), .38);
  background: rgba(10,5,8,.92);
  box-shadow: 18px 20px 35px rgba(0,0,0,.45);
  transform: rotateY(-14deg) translateZ(30px);
  animation: order-confirm 3.8s ease-in-out infinite;
}
.order-card i {
  position: absolute;
  top: 18px;
  left: 14px;
  width: 18px;
  height: 18px;
  border: 1px solid var(--surface-accent);
  border-radius: 50%;
}
.order-card i::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 7px;
  height: 4px;
  border-left: 1px solid var(--surface-accent);
  border-bottom: 1px solid var(--surface-accent);
  rotate: -45deg;
}
.order-card b {
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: .61rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.commerce-route {
  position: absolute;
  right: 54px;
  bottom: 39px;
  width: 92px;
  height: 42px;
  border-right: 1px dashed rgba(var(--surface-rgb), .55);
  border-bottom: 1px dashed rgba(var(--surface-rgb), .55);
  border-radius: 0 0 26px;
}
@keyframes commerce-phone {
  50% { transform: rotateY(14deg) rotateX(3deg) rotateZ(-1deg) translateY(-4px); }
}
@keyframes product-select {
  0%, 100% { filter: brightness(.7); }
  50% { filter: brightness(1.7); border-color: var(--surface-accent); }
}
@keyframes payment-confirm {
  0%, 48% { scale: 1; filter: brightness(.8); }
  58%, 76% { scale: .94; filter: brightness(1.3); }
}
@keyframes order-confirm {
  0%, 48% { translate: 25px 15px; opacity: 0; }
  66%, 88% { translate: 0 0; opacity: 1; }
  100% { opacity: 0; }
}
/* Vision: camera projection and moving detections */
.vision-camera {
  position: absolute;
  top: 44px;
  left: 28px;
  width: 92px;
  height: 70px;
  border: 1px solid rgba(var(--surface-rgb), .5);
  border-radius: 12px;
  background: linear-gradient(145deg, #27242b, #070609 62%);
  box-shadow: 18px 24px 34px rgba(0,0,0,.48);
  transform: rotateY(18deg) rotateZ(-5deg);
  animation: camera-track 5s ease-in-out infinite;
}
.vision-camera b {
  position: absolute;
  top: -13px;
  left: 14px;
  width: 35px;
  height: 14px;
  border: 1px solid rgba(var(--surface-rgb), .35);
  background: #09070b;
}
.camera-lens {
  position: absolute;
  top: 50%;
  right: 13px;
  width: 43px;
  height: 43px;
  border: 3px solid rgba(var(--surface-rgb), .5);
  border-radius: 50%;
  background:
    radial-gradient(circle, #020203 18%, var(--surface-accent) 20%, #171121 34%, #030204 66%);
  box-shadow: 0 0 22px rgba(var(--surface-rgb), .26);
  transform: translateY(-50%);
}
.vision-beam {
  position: absolute;
  top: 28px;
  left: 101px;
  width: 190px;
  height: 124px;
  clip-path: polygon(0 38%, 100% 0, 100% 100%, 0 62%);
  background: linear-gradient(90deg, rgba(var(--surface-rgb), .2), transparent 76%);
  opacity: .6;
  animation: vision-beam 3.2s ease-in-out infinite;
}
.vision-scene {
  position: absolute;
  top: 24px;
  right: 18px;
  width: 170px;
  height: 124px;
  border: 1px solid rgba(var(--surface-rgb), .2);
  transform: rotateY(-13deg);
}
.detected-object {
  position: absolute;
  border: 1px solid var(--surface-accent);
  box-shadow: 0 0 13px rgba(var(--surface-rgb), .18);
  animation: detection-lock 3.4s ease-in-out infinite;
}
.object-one { top: 24px; left: 23px; width: 43px; height: 58px; }
.object-two { right: 20px; bottom: 17px; width: 55px; height: 38px; animation-delay: -1.1s; }
.detected-object::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -1px;
  width: 16px;
  height: 3px;
  background: var(--surface-accent);
}
.tracking-line {
  position: absolute;
  top: 51%;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--surface-accent), transparent);
  box-shadow: 0 0 7px var(--surface-accent);
  animation: tracking-scan 2.4s ease-in-out infinite;
}
@keyframes camera-track {
  0%, 100% { transform: rotateY(18deg) rotateZ(-5deg); }
  50% { transform: rotateY(11deg) rotateZ(2deg) translateY(-5px); }
}
@keyframes vision-beam {
  50% { opacity: .9; filter: brightness(1.35); }
}
@keyframes detection-lock {
  0%, 100% { scale: .9; opacity: .48; }
  45%, 72% { scale: 1; opacity: 1; }
}
@keyframes tracking-scan {
  0%, 100% { translate: 0 -48px; opacity: 0; }
  15%, 85% { opacity: 1; }
  50% { translate: 0 47px; }
}
/* Cloud: deployment path and health pulse */
.cloud-form {
  position: absolute;
  top: 24px;
  left: 50%;
  width: 136px;
  height: 76px;
  transform: translateX(-50%) rotateX(8deg);
  animation: cloud-float 5s ease-in-out infinite;
}
.cloud-form i {
  position: absolute;
  border: 1px solid rgba(var(--surface-rgb), .55);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(var(--surface-rgb), .25), #080c08 68%);
  box-shadow: inset 0 0 20px rgba(var(--surface-rgb), .08);
}
.cloud-form i:nth-child(1) { left: 8px; bottom: 0; width: 68px; height: 58px; }
.cloud-form i:nth-child(2) { left: 49px; top: 0; width: 72px; height: 72px; }
.cloud-form i:nth-child(3) { right: 0; bottom: 2px; width: 62px; height: 52px; }
.cloud-form b {
  position: absolute;
  right: 12px;
  bottom: -3px;
  left: 11px;
  height: 39px;
  border: 1px solid rgba(var(--surface-rgb), .55);
  border-top: 0;
  border-radius: 0 0 30px 30px;
  background: linear-gradient(to bottom, rgba(var(--surface-rgb), .18), #050805);
}
.deploy-line {
  position: absolute;
  top: 94px;
  width: 1px;
  height: 44px;
  background: rgba(var(--surface-rgb), .28);
}
.deploy-line i {
  position: absolute;
  top: 0;
  left: -3px;
  width: 7px;
  height: 10px;
  border-radius: 5px;
  background: var(--surface-accent);
  box-shadow: 0 0 11px var(--surface-accent);
  animation: deploy-packet 2.2s ease-in infinite;
}
.line-one { left: 39%; }
.line-two { right: 39%; }
.line-two i { animation-delay: -1.1s; }
.cloud-nodes {
  position: absolute;
  right: 18%;
  bottom: 24px;
  left: 18%;
  display: flex;
  justify-content: space-between;
}
.cloud-nodes i {
  width: 44px;
  height: 30px;
  border: 1px solid rgba(var(--surface-rgb), .45);
  background:
    linear-gradient(rgba(var(--surface-rgb), .12) 1px, transparent 1px),
    rgba(3,7,4,.88);
  background-size: 100% 7px;
  box-shadow: 8px 10px 18px rgba(0,0,0,.35);
  transform: rotateX(55deg) rotateZ(45deg);
}
.health-pulse {
  position: absolute;
  right: 12%;
  bottom: 18px;
  left: 12%;
  height: 42px;
  border: 1px solid rgba(var(--surface-rgb), .1);
  border-radius: 50%;
  animation: health-pulse 2.8s ease-out infinite;
}
@keyframes cloud-float {
  50% { transform: translateX(-50%) rotateX(5deg) translateY(-6px) scale(1.03); }
}
@keyframes deploy-packet {
  from { translate: 0 -8px; opacity: 0; }
  20% { opacity: 1; }
  to { translate: 0 46px; opacity: 0; }
}
@keyframes health-pulse {
  from { scale: .4; opacity: .8; }
  to { scale: 1.35; opacity: 0; }
}
.capability-card h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.7rem, 2.7vw, 2.45rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.capability-card h3 { transform: translateZ(46px); }
.capability-card > p { transform: translateZ(34px); }
.capability-card h3,
.capability-card > p,
.capability-card .card-outcome {
  translate: var(--content-pan-x) var(--content-pan-y);
  transition: translate 180ms ease-out;
}
.capability-card p {
  max-width: 590px;
  color: var(--text-secondary);
  font-size: 1.03rem;
  line-height: 1.72;
}
.card-outcome {
  margin-top: 1.2rem;
  padding: 1rem 1.05rem;
  display: grid;
  gap: 0.32rem;
  border-left: 1px solid rgba(var(--surface-rgb), .55);
  background: linear-gradient(90deg, rgba(var(--surface-rgb), .075), transparent);
}
.capability-card .card-outcome { transform: translateZ(42px); }
.card-outcome span {
  color: var(--surface-accent);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.card-outcome strong {
  color: var(--text-primary);
  font-size: .98rem;
  font-weight: 500;
  line-height: 1.45;
}
.card-tags {
  margin-top: 1.35rem;
  padding-top: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.capability-card .card-tags { transform: translateZ(30px); }
.capability-card .card-tags,
.capability-card .card-open-indicator {
  translate: var(--content-counter-x) var(--content-counter-y);
  transition:
    translate 180ms ease-out,
    color 250ms ease,
    border-color 250ms ease;
}
.card-tags span,
.system-tags span {
  padding: 0.48rem 0.68rem;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.capability-card .card-tags span {
  border-color: rgba(var(--surface-rgb), 0.2);
}
.capability-card:hover .card-tags span,
.capability-card.is-inview .card-tags span,
.capability-card.is-touch-active .card-tags span {
  color: var(--text-primary);
  border-color: rgba(var(--surface-rgb), 0.45);
}
.card-open-indicator {
  margin-top: auto;
  padding-top: 1.8rem;
  display: none;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(var(--surface-rgb), .18);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: translate 180ms ease-out, color 250ms ease, border-color 250ms ease;
}
.capability-card .card-open-indicator { transform: translateZ(54px); }
.js-ready .card-open-indicator { display: flex; }
.card-open-indicator i {
  color: var(--surface-accent);
  font-size: 1.2rem;
  font-style: normal;
  transition: transform 300ms cubic-bezier(.2,.8,.2,1);
}
.capability-card:hover .card-open-indicator,
.capability-card:focus-within .card-open-indicator {
  color: var(--text-primary);
  border-color: rgba(var(--surface-rgb), .48);
}
.capability-card:hover .card-open-indicator i,
.capability-card:focus-within .card-open-indicator i {
  transform: rotate(90deg) scale(1.15);
}
.card-hit-area {
  position: absolute !important;
  inset: auto clamp(1.3rem, 2.2vw, 2.1rem) clamp(1.1rem, 2vw, 1.8rem);
  z-index: 5 !important;
  width: auto;
  height: 66px;
  display: none;
  padding: 0;
  border: 1px solid rgba(var(--surface-rgb), .22);
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(var(--surface-rgb), .08), transparent),
    rgba(0,0,0,.16);
  color: transparent;
  cursor: pointer;
  touch-action: manipulation;
  transform: none !important;
  opacity: 0;
  transition: opacity 220ms ease, border-color 220ms ease, background 220ms ease;
}
.js-ready .card-hit-area { display: block; }
.capability-card:hover .card-hit-area,
.capability-card:focus-within .card-hit-area,
.capability-card.is-inview .card-hit-area {
  opacity: .18;
}
.card-hit-area:focus-visible {
  outline: 2px solid var(--surface-accent);
  outline-offset: -5px;
  opacity: .5;
}
/* Capability detail stage */
.capability-dialog {
  --dialog-accent: #7ea9ad;
  --dialog-rgb: 126, 169, 173;
  width: min(1180px, calc(100% - 2rem));
  max-height: min(860px, calc(100dvh - 2rem));
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(var(--dialog-rgb), .34);
  background: #030607;
  color: var(--text-primary);
  box-shadow:
    0 40px 130px rgba(0,0,0,.88),
    0 0 80px rgba(var(--dialog-rgb), .08);
}
.capability-dialog::backdrop {
  background: rgba(0, 0, 0, .82);
  backdrop-filter: blur(16px) saturate(.7);
}
.capability-dialog[open] {
  animation: dialog-enter 520ms cubic-bezier(.16,1,.3,1);
}
@keyframes dialog-enter {
  from { opacity: 0; transform: translateY(28px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.capability-dialog-shell {
  position: relative;
  min-height: min(760px, calc(100dvh - 2rem));
  max-height: inherit;
  display: grid;
  grid-template-columns: minmax(330px, .72fr) minmax(0, 1.28fr);
  overflow: hidden auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    radial-gradient(circle at 18% 54%, rgba(var(--dialog-rgb), .13), transparent 34%),
    #030607;
  background-size: 48px 48px, 48px 48px, auto, auto;
}
.dialog-close {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  z-index: 5;
  min-height: 44px;
  padding: .7rem .85rem;
  display: flex;
  align-items: center;
  gap: .65rem;
  border: 1px solid var(--border-strong);
  background: rgba(2,5,7,.76);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(12px);
}
.dialog-close:hover { color: var(--text-primary); border-color: var(--dialog-accent); }
.dialog-close i {
  position: relative;
  width: 15px;
  height: 15px;
}
.dialog-close i::before,
.dialog-close i::after {
  content: '';
  position: absolute;
  top: 7px;
  left: 0;
  width: 15px;
  height: 1px;
  background: currentColor;
}
.dialog-close i::before { rotate: 45deg; }
.dialog-close i::after { rotate: -45deg; }
.capability-stage-visual {
  --stage-rx: 0deg;
  --stage-ry: 0deg;
  position: sticky;
  top: 0;
  min-height: 100%;
  overflow: hidden;
  border-right: 1px solid var(--border);
  display: block;
  isolation: isolate;
  perspective: 1100px;
}
.capability-stage-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 50%, rgba(var(--dialog-rgb), .16), transparent 34%),
    linear-gradient(140deg, rgba(var(--dialog-rgb), .05), transparent 50%);
}
.capability-stage-visual::after {
  content: '';
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(var(--dialog-rgb), .16);
  clip-path: polygon(0 0, 28% 0, 28% 1px, 1px 1px, 1px 28%, 0 28%, 0 0, 100% 0, 100% 28%, calc(100% - 1px) 28%, calc(100% - 1px) 1px, 72% 1px, 72% 0, 100% 0, 100% 100%, 72% 100%, 72% calc(100% - 1px), calc(100% - 1px) calc(100% - 1px), calc(100% - 1px) 72%, 100% 72%, 100% 100%, 0 100%, 0 72%, 1px 72%, 1px calc(100% - 1px), 28% calc(100% - 1px), 28% 100%, 0 100%);
}
.capability-stage-visual > strong {
  position: absolute;
  bottom: 8%;
  left: 8%;
  z-index: 1;
  color: rgba(255,255,255,.12);
  font-size: clamp(4.5rem, 8vw, 7.5rem);
  font-weight: 500;
  letter-spacing: -.09em;
  text-shadow: 0 0 50px rgba(var(--dialog-rgb), .26);
}
.dialog-model {
  --surface-accent: var(--dialog-accent);
  --surface-rgb: var(--dialog-rgb);
  position: absolute;
  inset: 6% 4% 13%;
  z-index: 2;
  display: grid;
  grid-template-rows: minmax(190px, 1.05fr) minmax(190px, .95fr);
  gap: .8rem;
  transform:
    rotateX(var(--stage-rx))
    rotateY(var(--stage-ry))
    translateZ(20px);
  transform-style: preserve-3d;
  transition: transform 180ms ease-out;
}
.dialog-model .capability-model {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  overflow: hidden;
  margin: 0;
  border-color: rgba(var(--dialog-rgb), .32);
  background:
    radial-gradient(circle at 65% 35%, rgba(var(--dialog-rgb), .18), transparent 36%),
    linear-gradient(145deg, rgba(255,255,255,.04), transparent 48%),
    rgba(0, 3, 5, .82);
  box-shadow:
    inset 0 0 80px rgba(var(--dialog-rgb), .06),
    0 35px 80px rgba(0,0,0,.48);
  transform: translateZ(0);
}
.dialog-model .capability-model::after { bottom: 7%; animation-duration: 14s; }
.architecture-blueprint {
  position: relative;
  min-height: 0;
  padding: .85rem;
  overflow: hidden;
  border: 1px solid rgba(var(--dialog-rgb), .26);
  border-radius: 8px;
  background:
    linear-gradient(rgba(var(--dialog-rgb), .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--dialog-rgb), .04) 1px, transparent 1px),
    linear-gradient(145deg, rgba(var(--dialog-rgb), .075), rgba(0,0,0,.88) 54%);
  background-size: 22px 22px, 22px 22px, auto;
  box-shadow:
    inset 0 1px rgba(255,255,255,.05),
    inset 0 -28px 45px rgba(0,0,0,.36),
    0 24px 50px rgba(0,0,0,.3);
  transform: translateZ(28px);
  transform-style: preserve-3d;
}
.architecture-heading {
  display: grid;
  gap: .14rem;
  max-width: 62%;
}
.architecture-heading span,
.architecture-boundaries,
.architecture-node > span {
  color: var(--surface-accent);
  font-family: var(--font-mono);
  font-size: .54rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.architecture-heading strong {
  color: rgba(255,255,255,.82);
  font-size: .78rem;
  font-weight: 550;
  letter-spacing: -.01em;
}
.architecture-flow {
  position: absolute;
  inset: 3.3rem .8rem 2.45rem;
  display: grid;
  grid-template-columns:
    minmax(0, 1fr) clamp(9px, 1.7vw, 24px)
    minmax(0, 1fr) clamp(9px, 1.7vw, 24px)
    minmax(0, 1fr) clamp(9px, 1.7vw, 24px)
    minmax(0, 1fr) clamp(9px, 1.7vw, 24px)
    minmax(0, 1fr);
  align-items: center;
  perspective: 700px;
}
.architecture-node {
  position: relative;
  min-width: 0;
  min-height: 64px;
  padding: .52rem .42rem;
  display: grid;
  align-content: center;
  gap: .12rem;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 5px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.075), transparent 38%),
    rgba(7,9,9,.92);
  box-shadow:
    6px 8px 0 -4px rgba(0,0,0,.72),
    9px 12px 22px rgba(0,0,0,.3);
  opacity: .5;
  transform: rotateX(7deg) translateZ(8px);
  transition: opacity 320ms ease, transform 420ms cubic-bezier(.2,.8,.2,1), border-color 320ms ease, box-shadow 320ms ease;
}
.architecture-node::after {
  content: '';
  position: absolute;
  inset: auto 5px -5px;
  height: 5px;
  background: rgba(var(--dialog-rgb), .08);
  transform: skewX(38deg);
}
.architecture-node strong {
  color: rgba(255,255,255,.78);
  font-size: clamp(.5rem, .65vw, .62rem);
  font-weight: 600;
  white-space: nowrap;
}
.architecture-node small {
  overflow: hidden;
  color: rgba(255,255,255,.38);
  font-family: var(--font-mono);
  font-size: clamp(.44rem, .58vw, .55rem);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.architecture-node.is-complete {
  opacity: .78;
  border-color: rgba(var(--dialog-rgb), .24);
}
.architecture-node.is-active {
  opacity: 1;
  border-color: rgba(var(--dialog-rgb), .72);
  box-shadow:
    7px 9px 0 -4px rgba(var(--dialog-rgb), .17),
    0 0 28px rgba(var(--dialog-rgb), .16),
    10px 14px 24px rgba(0,0,0,.38);
  transform: rotateX(2deg) translateY(-5px) translateZ(34px);
}
.architecture-node.is-active strong,
.architecture-node.is-active small { color: var(--text-primary); }
.architecture-link {
  position: relative;
  height: 1px;
  background: rgba(255,255,255,.11);
  transition: background 280ms ease, box-shadow 280ms ease;
}
.architecture-link::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--surface-accent);
  box-shadow: 0 0 10px rgba(var(--dialog-rgb), .9);
  opacity: 0;
  transform: translate(-50%, -50%);
}
.architecture-link.is-complete,
.architecture-link.is-active {
  background: rgba(var(--dialog-rgb), .58);
  box-shadow: 0 0 8px rgba(var(--dialog-rgb), .25);
}
.architecture-link.is-active::after {
  opacity: 1;
  animation: architecture-packet 1.15s ease-in-out infinite;
}
@keyframes architecture-packet {
  from { left: 0; }
  to { left: 100%; }
}
.architecture-boundaries {
  position: absolute;
  right: .8rem;
  bottom: .55rem;
  left: .8rem;
  display: flex;
  justify-content: space-between;
  gap: .8rem;
  color: rgba(255,255,255,.38);
  font-size: .48rem;
}
.architecture-boundaries span {
  padding-top: .25rem;
  border-top: 1px solid rgba(var(--dialog-rgb), .24);
}
.model-step-rail {
  position: absolute;
  right: 0.85rem;
  top: 0.85rem;
  z-index: 12;
  display: block;
  max-width: calc(100% - 1.7rem);
}
.model-step {
  --step-delay: 0s;
  display: none;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  padding: 0.28rem 0.55rem;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 4px;
  background: rgba(0,0,0,.55);
  color: rgba(255,255,255,.42);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(-3px);
  transition: opacity 280ms ease, transform 280ms ease, border-color 280ms ease, color 280ms ease;
}
.model-step::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}
.model-step.is-active {
  display: inline-flex;
  opacity: 1;
  color: var(--surface-accent);
  border-color: rgba(var(--surface-rgb), .45);
  transform: translateY(0);
  animation: step-pulse 2.4s ease-in-out infinite;
  animation-delay: var(--step-delay);
}
@keyframes step-pulse {
  0%, 100% { box-shadow: 0 0 0 rgba(var(--surface-rgb), 0); }
  50% { box-shadow: 0 0 18px rgba(var(--surface-rgb), .22); }
}
.dialog-model .model-backend .data-packet { animation-duration: 3.6s; }
.dialog-model .model-security .scan-plane { animation-duration: 4.8s; }
.dialog-model .model-markets .market-chart polyline { animation-duration: 6s; }
.dialog-model .model-robotics .drone { animation-duration: 5.5s; }
.dialog-model .model-products .message { animation-duration: 4.2s; }
.dialog-model .model-commerce .order-card { animation-duration: 5s; }
.dialog-model .model-vision .tracking-line { animation-duration: 4.5s; }
.dialog-model .model-cloud .health-pulse { animation-duration: 3.8s; }
.capability-card .capability-model > small { opacity: 0.65; }
.dialog-model .capability-model > small {
  right: 1.2rem;
  bottom: 1rem;
  font-size: .68rem;
  opacity: 1;
}
.capability-card:not(:hover):not(.is-inview):not(.is-engaged) .capability-model {
  filter: saturate(0.82) brightness(0.92);
}
.stage-instruction {
  position: absolute;
  right: 8%;
  bottom: 10%;
  z-index: 3;
  max-width: 160px;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .06em;
  line-height: 1.5;
  text-align: right;
  text-transform: uppercase;
}
.scene-replay {
  position: absolute;
  right: 8%;
  bottom: 4%;
  z-index: 4;
  padding: .62rem .72rem;
  border: 1px solid rgba(var(--dialog-rgb), .34);
  background: rgba(2, 6, 8, .78);
  color: var(--dialog-accent);
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(10px);
}
.scene-replay:hover,
.scene-replay:focus-visible {
  border-color: var(--dialog-accent);
  background: rgba(var(--dialog-rgb), .09);
}
.stage-orbit,
.stage-node {
  position: absolute;
  border-radius: 50%;
}
.stage-orbit {
  top: 50%;
  left: 50%;
  border: 1px solid rgba(var(--dialog-rgb), .32);
  transform: translate(-50%, -50%);
}
.stage-orbit-one {
  width: 68%;
  aspect-ratio: 1;
  animation: stage-spin 16s linear infinite;
}
.stage-orbit-two {
  width: 48%;
  aspect-ratio: 1;
  border-style: dashed;
  transform: translate(-50%, -50%) rotateX(68deg);
  animation: stage-spin-x 10s linear infinite reverse;
}
.stage-orbit-three {
  width: 30%;
  aspect-ratio: 1;
  border-color: rgba(255,255,255,.2);
  animation: stage-spin 8s linear infinite reverse;
}
.stage-node {
  width: 10px;
  height: 10px;
  background: var(--dialog-accent);
  box-shadow: 0 0 20px rgba(var(--dialog-rgb), .9);
}
.stage-node-one { top: 22%; left: 32%; }
.stage-node-two { right: 24%; bottom: 28%; width: 6px; height: 6px; }
@keyframes stage-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes stage-spin-x {
  to { transform: translate(-50%, -50%) rotateX(68deg) rotate(360deg); }
}
.capability-stage-copy {
  padding: clamp(5rem, 8vw, 7.5rem) clamp(2rem, 5vw, 5rem) 3.5rem;
  overflow-x: hidden;
  overflow-y: auto;
  max-height: min(860px, calc(100dvh - 2rem));
  overscroll-behavior: contain;
  scrollbar-color: rgba(var(--dialog-rgb), .5) rgba(255,255,255,.05);
  scrollbar-width: thin;
}
.capability-dialog-kicker {
  margin-bottom: 1rem;
  color: var(--dialog-accent);
  font-family: var(--font-mono);
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.capability-stage-copy h2 {
  max-width: 760px;
  margin-bottom: 1.5rem;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  font-weight: 500;
  letter-spacing: -.07em;
  line-height: .92;
}
.capability-dialog-summary {
  max-width: 730px;
  color: var(--text-secondary);
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
  line-height: 1.72;
}
.capability-detail-grid {
  margin-top: clamp(3rem, 6vw, 5.5rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.capability-detail-grid section {
  min-height: 220px;
  padding: 1.4rem;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.018);
}
.capability-detail-grid section > span {
  display: block;
  margin-bottom: 1.3rem;
  color: var(--dialog-accent);
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.capability-detail-grid ul {
  list-style: none;
  display: grid;
  gap: .85rem;
}
.capability-detail-grid li {
  position: relative;
  padding-left: 1rem;
  color: var(--text-secondary);
  font-size: .95rem;
  line-height: 1.5;
}
.capability-detail-grid li::before {
  content: '';
  position: absolute;
  top: .65em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--dialog-accent);
  box-shadow: 0 0 8px rgba(var(--dialog-rgb), .8);
}
.capability-dialog-footer {
  margin-top: 1.2rem;
  padding: 1.4rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid var(--border);
}
.capability-dialog-footer p {
  max-width: 440px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.capability-dialog-footer a {
  flex: 0 0 auto;
  padding-bottom: .35rem;
  border-bottom: 1px solid var(--dialog-accent);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
}
body.dialog-open { overflow: hidden; }
/* Method */
.method-section {
  padding-block: clamp(8rem, 12vw, 12rem);
  background:
    radial-gradient(ellipse at 19% 42%, rgba(145, 133, 162, 0.065), transparent 30%),
    radial-gradient(ellipse at 78% 72%, rgba(126, 169, 173, 0.03), transparent 26%),
    linear-gradient(180deg, rgba(3, 4, 4, .25), rgba(0, 0, 0, .32));
}
.method-ambient {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  pointer-events: none;
  background-image: radial-gradient(rgba(181, 190, 188, 0.18) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(circle at 20% 45%, black, transparent 38%);
  animation: method-field-drift 15s ease-in-out infinite alternate paused;
}
.method-ambient::after {
  content: '';
  position: absolute;
  top: 18%;
  left: 7%;
  width: min(38vw, 540px);
  aspect-ratio: 1.7;
  border: 1px solid rgba(145, 133, 162, .12);
  border-radius: 50%;
  transform: rotate(-24deg) skewX(10deg);
  box-shadow:
    0 0 0 38px rgba(145, 133, 162, .018),
    0 0 0 82px rgba(126, 169, 173, .012);
  animation: method-contour 11s ease-in-out infinite paused;
}
body[data-active-chapter="method"] .method-ambient,
body[data-active-chapter="method"] .method-ambient::after {
  animation-play-state: running;
}
@keyframes method-field-drift {
  from { background-position: 0 0; opacity: .13; }
  to { background-position: 52px -26px; opacity: .25; }
}
@keyframes method-contour {
  0%, 100% { transform: rotate(-24deg) skewX(10deg) scale(.92); opacity: .35; }
  50% { transform: rotate(-17deg) skewX(4deg) scale(1.08); opacity: .82; }
}
.method-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(480px, 1.18fr);
  gap: clamp(4rem, 9vw, 10rem);
  align-items: start;
}
.method-sticky {
  position: sticky;
  top: 9rem;
}
.method-heading {
  margin-top: 3.5rem;
}
.method-heading .section-kicker { margin-bottom: 1rem; }
.method-heading h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(3.3rem, 5.8vw, 5.8rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.96;
  background: linear-gradient(100deg, var(--text-primary), #a49ca8 82%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.method-heading > p:last-child {
  max-width: 510px;
  color: var(--text-secondary);
  font-size: 1.08rem;
  line-height: 1.75;
}
.method-core {
  --surface-accent: var(--accent-cyan);
  --surface-rgb: 126, 169, 173;
  position: relative;
  width: min(360px, 80%);
  aspect-ratio: 1;
  margin-top: 3.8rem;
  display: grid;
  place-content: center;
  border-radius: 50%;
  transform-style: preserve-3d;
}
.method-core-mobile { display: none; }
.method-core[data-method-core="2"] {
  --surface-accent: var(--accent-violet);
  --surface-rgb: 145, 133, 162;
}
.method-core[data-method-core="3"] {
  --surface-accent: var(--accent-mint);
  --surface-rgb: 114, 152, 139;
}
.method-core[data-method-core="4"] {
  --surface-accent: var(--accent-amber);
  --surface-rgb: 185, 154, 100;
}
.method-core::before {
  content: '';
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--surface-rgb), .32), rgba(var(--surface-rgb), .05) 45%, transparent 72%);
  filter: blur(2px);
}
.core-ring {
  position: absolute;
  inset: 9%;
  border: 1px solid rgba(var(--surface-rgb), 0.38);
  border-radius: 50%;
}
.core-ring-one { animation: core-rotate 13s linear infinite; }
.core-ring-two {
  inset: 20%;
  border-color: rgba(255,255,255,.2);
  transform: rotateX(65deg);
  animation: core-rotate-reverse 9s linear infinite;
}
.core-ring-three {
  inset: 31%;
  border-style: dashed;
  animation: core-rotate 7s linear infinite;
}
.core-ring::before {
  content: '';
  position: absolute;
  top: 5%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--surface-accent);
  box-shadow: 0 0 18px rgba(var(--surface-rgb), .9);
}
.core-axis {
  position: absolute;
  top: 50%;
  left: 10%;
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--surface-rgb), .72), transparent);
}
.method-core strong,
.method-core small {
  position: relative;
  z-index: 2;
  text-align: center;
}
.method-core strong {
  color: var(--text-primary);
  font-size: 3.2rem;
  font-weight: 500;
  letter-spacing: -0.06em;
}
.method-core small {
  color: var(--surface-accent);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
@keyframes core-rotate { to { transform: rotate(360deg); } }
@keyframes core-rotate-reverse { to { transform: rotateX(65deg) rotate(-360deg); } }
.method-steps {
  list-style: none;
}
.method-step {
  position: relative;
  min-height: 58vh;
  padding: clamp(2rem, 4vw, 4rem);
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 1.4rem;
  align-content: center;
  border-top: 1px solid var(--border);
  color: var(--text-tertiary);
  cursor: pointer;
  transition: color 400ms ease, background 400ms ease, border-color 400ms ease, transform 400ms ease;
}
.method-step:last-child { border-bottom: 1px solid var(--border); }
.method-step.is-active {
  border-color: rgba(126, 169, 173, 0.35);
  color: var(--text-primary);
  background: linear-gradient(90deg, rgba(126, 169, 173, .055), transparent 70%);
}
.method-step:hover,
.method-step:focus-within {
  color: var(--text-primary);
  transform: translateX(8px);
}
.method-step-hit {
  position: absolute;
  inset: 0;
  z-index: 5;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.method-step-hit:focus-visible {
  outline: 1px solid rgba(126, 169, 173, .72);
  outline-offset: -6px;
}
.method-step:nth-child(2).is-active {
  border-color: rgba(145, 133, 162, 0.4);
  background: linear-gradient(90deg, rgba(145, 133, 162, 0.07), transparent 70%);
}
.method-step:nth-child(3).is-active {
  border-color: rgba(114, 152, 139, 0.4);
  background: linear-gradient(90deg, rgba(114, 152, 139, 0.065), transparent 70%);
}
.method-step:nth-child(4).is-active {
  border-color: rgba(185, 154, 100, 0.4);
  background: linear-gradient(90deg, rgba(185, 154, 100, 0.065), transparent 70%);
}
.method-number {
  padding-top: 0.2rem;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 0.82rem;
}
.method-phase {
  margin-bottom: 0.8rem;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 0.84rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.method-step h3 {
  max-width: 650px;
  margin-bottom: 1.2rem;
  font-size: clamp(2rem, 3.7vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.04;
}
.method-step div > p:last-child {
  max-width: 620px;
  color: var(--text-secondary);
  font-size: 1.04rem;
  line-height: 1.75;
}
.method-output {
  grid-column: 2;
  width: fit-content;
  margin-top: 2rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--border);
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
/* Systems showroom */
.systems-section {
  padding-block: clamp(8rem, 12vw, 12rem);
  background:
    radial-gradient(ellipse at 85% 18%, rgba(185, 154, 100, 0.05), transparent 26%),
    radial-gradient(ellipse at 16% 68%, rgba(164, 119, 125, 0.03), transparent 26%),
    linear-gradient(180deg, rgba(0,0,0,.28), rgba(5,5,5,.22) 58%, rgba(0,0,0,.32));
}
.systems-orbit {
  position: absolute;
  border: 1px solid rgba(126, 169, 173, 0.12);
  border-radius: 2px;
  pointer-events: none;
  transform: rotate(-17deg) skewX(-8deg);
}
.systems-orbit-one {
  top: 14%;
  right: -13vw;
  width: 48vw;
  height: 17vw;
  animation: systems-rail-one 9s ease-in-out infinite paused;
}
.systems-orbit-two {
  top: 19%;
  right: -7vw;
  width: 35vw;
  height: 10vw;
  border-color: rgba(255,255,255,.08);
  animation: systems-rail-two 7s ease-in-out infinite paused;
}
body[data-active-chapter="systems"] .systems-orbit {
  animation-play-state: running;
}
@keyframes systems-rail-one {
  0%, 100% { transform: rotate(-17deg) skewX(-8deg) translate3d(0, 0, 0); opacity: .52; }
  50% { transform: rotate(-13deg) skewX(-3deg) translate3d(-4vw, 1.6vw, 0); opacity: 1; }
}
@keyframes systems-rail-two {
  0%, 100% { transform: rotate(-17deg) skewX(-8deg) translate3d(0, 0, 0); opacity: .45; }
  50% { transform: rotate(-22deg) skewX(-12deg) translate3d(2.5vw, -1vw, 0); opacity: .9; }
}
.systems-header { position: relative; z-index: 2; }
.systems-showroom {
  position: relative;
  z-index: 2;
  margin-top: clamp(5rem, 9vw, 9rem);
  display: grid;
  gap: 2rem;
  perspective: 1800px;
}
.system-entry { perspective: 1800px; }
.system-card {
  --surface-accent: var(--accent-cyan);
  --surface-rgb: 126, 169, 173;
  min-height: 640px;
  padding: clamp(2rem, 4.5vw, 4.5rem);
  display: grid;
  grid-template-columns: minmax(350px, 0.85fr) minmax(470px, 1.15fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--border);
  background:
    linear-gradient(135deg, rgba(255,255,255,.045), transparent 35%),
    #050809;
  text-decoration: none;
}
.system-card-hazina {
  --surface-accent: var(--accent-amber);
  --surface-rgb: 185, 154, 100;
  background:
    radial-gradient(circle at 88% 16%, rgba(255, 189, 102, 0.11), transparent 26%),
    linear-gradient(135deg, rgba(255,255,255,.045), transparent 35%),
    #080706;
}
.system-card-geneat {
  --surface-accent: var(--accent-rose);
  --surface-rgb: 164, 119, 125;
  background:
    radial-gradient(circle at 14% 82%, rgba(255, 125, 156, 0.1), transparent 24%),
    linear-gradient(225deg, rgba(88, 166, 255, .07), transparent 38%),
    #070608;
}
.system-card > *:not(.card-glow) {
  position: relative;
  z-index: 1;
}
.system-copy {
  transform: translateZ(34px);
}
.system-meta {
  margin-bottom: clamp(3rem, 6vw, 6rem);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.live-indicator {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--surface-accent);
}
.live-indicator i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--surface-accent);
  box-shadow: 0 0 14px rgba(var(--surface-rgb), .9);
}
.system-domain {
  margin-bottom: 1rem;
  color: var(--surface-accent);
  font-family: var(--font-mono);
  font-size: 0.84rem;
}
.system-copy h3 {
  margin-bottom: 1.3rem;
  font-size: clamp(3.2rem, 6vw, 6rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.94;
}
.system-copy > p:not(.system-domain) {
  max-width: 570px;
  color: var(--text-secondary);
  font-size: 1.08rem;
  line-height: 1.75;
}
.system-tags {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.system-link {
  width: fit-content;
  margin-top: 3rem;
  display: block;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--surface-accent);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.system-visual {
  position: relative;
  min-height: 430px;
  transform: translateZ(48px);
  perspective: 1000px;
}
.visual-frame {
  position: absolute;
  inset: 5% 0 0 4%;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.2);
  background: #090d0f;
  box-shadow:
    -34px 40px 80px rgba(0,0,0,.65),
    0 0 60px rgba(0,229,255,.06);
  transform: rotateY(-10deg) rotateX(4deg);
  transform-style: preserve-3d;
  transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 350ms ease;
}
.system-card-geneat .visual-frame {
  transform: rotateY(10deg) rotateX(4deg);
}
.system-card:hover .visual-frame,
.system-card.is-touch-active .visual-frame,
.system-card.is-inview .visual-frame {
  border-color: rgba(var(--surface-rgb), 0.55);
  transform: rotateY(-4deg) rotateX(1deg) translate3d(0, -7px, 34px);
}
.system-card-geneat:hover .visual-frame,
.system-card-geneat.is-touch-active .visual-frame,
.system-card-geneat.is-inview .visual-frame {
  transform: rotateY(4deg) rotateX(1deg) translate3d(0, -7px, 34px);
}
.visual-toolbar {
  height: 42px;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid var(--border);
}
.visual-toolbar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-tertiary);
}
.visual-toolbar span:first-child { background: var(--accent-cyan); }
.system-card-hazina .visual-toolbar span:first-child { background: var(--accent-amber); }
.system-card-geneat .visual-toolbar span:first-child { background: var(--accent-rose); }
.system-card-hazina .visual-hero {
  background:
    linear-gradient(to top, rgba(0,0,0,.9), transparent),
    radial-gradient(circle at 68% 28%, rgba(255, 189, 102, .22), transparent 30%),
    linear-gradient(135deg, #282016, #070605 70%);
}
.system-card-hazina .visual-label { color: var(--accent-amber); }
.system-card-hazina .visual-collection span {
  background:
    radial-gradient(circle at 50% 36%, rgba(255, 189, 102, .23), transparent 20%),
    linear-gradient(145deg, #211c16, #080706);
}
.visual-hero {
  height: 235px;
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(to top, rgba(0,0,0,.9), transparent),
    radial-gradient(circle at 68% 28%, rgba(0,229,255,.18), transparent 30%),
    linear-gradient(135deg, #172126, #050707 70%);
}
.visual-label {
  margin-bottom: 0.8rem;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.visual-hero strong {
  font-size: clamp(1.7rem, 3.2vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
}
.visual-collection {
  padding: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}
.visual-collection span {
  height: 110px;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 50% 36%, rgba(0,229,255,.2), transparent 20%),
    linear-gradient(145deg, #172025, #07090a);
}
.visual-collection span:nth-child(2) { transform: translateY(12px); }
.system-card:hover .visual-collection span,
.system-card.is-touch-active .visual-collection span,
.system-card.is-inview .visual-collection span {
  animation: collection-rise 2.8s ease-in-out infinite;
}
.system-card:hover .visual-collection span:nth-child(2),
.system-card.is-touch-active .visual-collection span:nth-child(2),
.system-card.is-inview .visual-collection span:nth-child(2) { animation-delay: -0.9s; }
.system-card:hover .visual-collection span:nth-child(3),
.system-card.is-touch-active .visual-collection span:nth-child(3),
.system-card.is-inview .visual-collection span:nth-child(3) { animation-delay: -1.8s; }
@keyframes collection-rise {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}
.geneat-map {
  position: relative;
  height: 300px;
  overflow: hidden;
  background:
    linear-gradient(rgba(0,229,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,.08) 1px, transparent 1px),
    radial-gradient(circle at 45% 45%, rgba(0,229,255,.11), transparent 35%);
  background-size: 32px 32px, 32px 32px, auto;
}
.system-card-geneat .geneat-map {
  background:
    linear-gradient(rgba(255,125,156,.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88,166,255,.08) 1px, transparent 1px),
    radial-gradient(circle at 45% 45%, rgba(255,125,156,.12), transparent 35%);
  background-size: 32px 32px, 32px 32px, auto;
}
.system-card-geneat .map-route,
.system-card-geneat .map-point,
.system-card-geneat .geneat-order i {
  background: var(--accent-rose);
  box-shadow: 0 0 18px rgba(255,125,156,.78);
}
.system-card-geneat .geneat-order {
  border-color: rgba(255,125,156,.38);
}
.map-route {
  position: absolute;
  top: 46%;
  left: 12%;
  width: 72%;
  height: 2px;
  background: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0,229,255,.7);
  transform: rotate(-15deg);
  transform-origin: left;
}
.system-card:hover .map-route,
.system-card.is-touch-active .map-route,
.system-card.is-inview .map-route {
  animation: route-pulse 2.2s ease-in-out infinite;
}
@keyframes route-pulse {
  0%, 100% { opacity: 0.45; scale: 0.35 1; }
  55% { opacity: 1; scale: 1 1; }
}
.map-point {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 3px solid #050809;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0,229,255,.8);
}
.point-one { top: 55%; left: 14%; }
.point-two { top: 37%; left: 47%; }
.point-three { top: 24%; right: 14%; }
.geneat-order {
  margin: -28px 1.5rem 0 auto;
  position: relative;
  z-index: 2;
  width: min(76%, 360px);
  padding: 1.3rem;
  border: 1px solid rgba(0,229,255,.35);
  background: rgba(4,8,10,.93);
  box-shadow: 0 24px 50px rgba(0,0,0,.5);
}
.geneat-order span {
  color: #90918a;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
}
.geneat-order strong {
  margin-top: 0.45rem;
  display: block;
  font-size: 1.25rem;
  font-weight: 500;
}
.geneat-order i {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 14px rgba(0,229,255,.9);
}
.systems-principles {
  margin-top: 2rem;
  padding: 1.5rem 0;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 1rem;
}
.systems-principles > p {
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.systems-principles div {
  display: flex;
  gap: 0.65rem;
}
.systems-principles span {
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}
/* Contact */
.contact-section {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(ellipse at 76% 45%, rgba(145, 133, 162, .065), transparent 27%),
    radial-gradient(ellipse at 22% 80%, rgba(126, 169, 173, .03), transparent 28%),
    rgba(0,0,0,.3);
}
.contact-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.contact-field span {
  position: absolute;
  border: 1px solid rgba(145, 133, 162, .14);
  border-radius: 0;
}
.contact-field span:nth-child(1) {
  width: 460px;
  height: 1px;
  right: 5%;
  top: 28%;
  transform: rotate(-18deg);
  animation: contact-line-one 7s ease-in-out infinite paused;
}
.contact-field span:nth-child(2) {
  width: 1px;
  height: 390px;
  right: 24%;
  top: 14%;
  border-color: rgba(255,255,255,.08);
  transform: rotate(18deg);
  animation: contact-line-two 8s ease-in-out infinite paused;
}
.contact-field span:nth-child(3) {
  width: 210px;
  height: 210px;
  right: 12%;
  top: 25%;
  transform: rotate(45deg);
  animation: contact-diamond 11s linear infinite paused;
}
.contact-field span:nth-child(4) {
  width: 10px; height: 10px; right: 25%; top: 45%;
  border: 0; background: var(--accent-violet); box-shadow: 0 0 18px rgba(145, 133, 162, .48);
  transform: rotate(45deg);
  animation: contact-node 2.6s ease-in-out infinite paused;
}
body[data-active-chapter="contact"] .contact-field span {
  animation-play-state: running;
}
@keyframes contact-line-one {
  0%, 100% { transform: rotate(-18deg) scaleX(.45); transform-origin: right; opacity: .22; }
  50% { transform: rotate(-18deg) scaleX(1); transform-origin: right; opacity: .9; }
}
@keyframes contact-line-two {
  0%, 100% { transform: rotate(18deg) scaleY(.5); transform-origin: top; opacity: .2; }
  50% { transform: rotate(18deg) scaleY(1); transform-origin: top; opacity: .75; }
}
@keyframes contact-diamond {
  to { transform: rotate(405deg); }
}
@keyframes contact-node {
  0%, 100% { transform: rotate(45deg) scale(.7); opacity: .42; }
  50% { transform: rotate(45deg) scale(1.45); opacity: 1; }
}
.contact-layout {
  position: relative;
  z-index: 2;
  padding-top: clamp(7rem, 12vw, 12rem);
  padding-bottom: clamp(7rem, 12vw, 12rem);
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(3rem, 8vw, 9rem);
  align-items: end;
}
.contact-copy .chapter-label { margin-bottom: 4rem; }
.contact-copy .section-kicker { margin-bottom: 1rem; }
.contact-copy h2 {
  margin-bottom: 1.8rem;
  font-size: clamp(4.2rem, 8vw, 8.5rem);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 0.86;
}
.contact-copy > p:last-child {
  max-width: 560px;
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.75;
}
.contact-link {
  --surface-accent: var(--accent-violet);
  --surface-rgb: 145, 133, 162;
  min-height: 330px;
  padding: clamp(2rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: rgba(5,9,11,.82);
  text-decoration: none;
  backdrop-filter: blur(16px);
}
.contact-link > *:not(.card-glow) {
  position: relative;
  z-index: 1;
  transform: translateZ(32px);
}
.contact-link > span {
  margin-bottom: auto;
  color: var(--accent-violet);
  font-family: var(--font-mono);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.contact-link strong {
  overflow-wrap: anywhere;
  font-size: clamp(1.7rem, 3.5vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.05em;
}
.contact-link small {
  margin-top: 1rem;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.contact-link i {
  position: absolute !important;
  top: 2rem;
  right: 2rem;
  color: var(--accent-violet);
  font-size: 1.6rem;
  font-style: normal;
}
.site-footer {
  position: relative;
  z-index: 2;
  padding: 1.8rem clamp(1.25rem, 6vw, 6.5rem);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--border);
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.char { display: inline-block; }
@media (max-width: 1180px) {
  .status-badge { display: none; }
  .journey-rail { display: none; }
  .chapter-header {
    grid-template-columns: 140px minmax(0, 1fr);
  }
  .chapter-summary {
    grid-column: 2;
    margin-top: 1rem;
  }
  .method-layout {
    grid-template-columns: minmax(320px, 0.8fr) minmax(430px, 1.2fr);
    gap: 4rem;
  }
  .system-card {
    grid-template-columns: minmax(320px, 0.9fr) minmax(400px, 1.1fr);
  }
}
@media (max-width: 900px) {
  body { padding-bottom: 72px; }
  .chapter.method-section { overflow: visible; }
  .nav-menu { display: none; }
  .status-badge { display: none; }
  .hero-content { width: min(800px, 84vw); }
  .telemetry-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-orbit {
    display: none;
  }
  .hero-sculpture-control {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    height: 240px;
    min-height: 240px;
    margin: 0.6rem 0 2rem;
    display: grid;
    place-content: start start;
  }
  .journey-rail {
    top: auto;
    right: 50%;
    bottom: max(0.7rem, env(safe-area-inset-bottom));
    width: min(calc(100% - 1.4rem), 520px);
    padding: 0.55rem;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.2rem;
    border: 1px solid var(--border-strong);
    border-radius: 18px;
    background: rgba(4, 7, 9, 0.84);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(20px);
    transform: translateX(50%);
  }
  .journey-line { display: none; }
  .journey-rail a {
    min-width: 0;
    min-height: 44px;
    padding: 0.4rem 0.2rem;
    flex-direction: column;
    justify-content: center;
    gap: 0.12rem;
    border-radius: 12px;
    font-size: 0;
    text-align: center;
  }
  .journey-rail a > span:first-child { font-size: 0.64rem; }
  .journey-rail .journey-name::after {
    content: attr(data-short);
    font-size: 0.72rem;
  }
  .journey-rail a.is-active {
    color: var(--text-primary);
    background: rgba(126, 169, 173, 0.11);
    transform: none;
  }
  .journey-rail a[data-section-link="top"].is-active { border-radius: 999px; }
  .journey-rail a[data-section-link="capabilities"].is-active { border-radius: 6px; }
  .journey-rail a[data-section-link="method"].is-active { border-radius: 18px; }
  .journey-rail a[data-section-link="systems"].is-active {
    border-radius: 999px;
    clip-path: none;
  }
  .journey-rail a[data-section-link="contact"].is-active {
    border-radius: 999px;
    clip-path: none;
  }
  .chapter-header {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .chapter-summary { grid-column: auto; }
  .capability-grid { grid-template-columns: minmax(0, 1fr); }
  .capability-entry,
  .capability-card {
    min-width: 0;
    width: 100%;
  }
  .capability-card {
    min-height: 640px;
    max-height: none;
  }
  .capability-model {
    min-height: 300px;
    height: 300px;
  }
  .method-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .method-sticky {
    position: relative;
    top: auto;
  }
  .method-heading { margin-bottom: 1rem; }
  .method-core-desktop { display: none; }
  .method-core-mobile {
    display: grid;
    position: sticky;
    top: 78px;
    z-index: 12;
    width: 128px;
    margin: 2.5rem 0 1rem auto;
    border: 1px solid rgba(var(--surface-rgb), .34);
    background: rgba(3, 7, 9, .78);
    box-shadow: 0 18px 55px rgba(0,0,0,.45);
    backdrop-filter: blur(18px);
  }
  .method-core strong { font-size: 2.1rem; }
  .method-core small { font-size: .66rem; }
  .method-step { min-height: 54svh; padding-block: 5rem; }
  .capability-dialog {
    width: calc(100% - 1rem);
    max-height: calc(100dvh - 1rem);
  }
  .capability-dialog-shell {
    min-height: 0;
    max-height: calc(100dvh - 1rem);
    display: block;
    grid-template-columns: 1fr;
    overflow-y: auto;
  }
  .capability-stage-visual {
    position: relative;
    min-height: 360px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .capability-stage-visual > strong { font-size: 6rem; }
  .dialog-model {
    inset: 11% 4% 18%;
    display: block;
  }
  .dialog-model .dialog-source-model { display: none; }
  .architecture-blueprint { height: 100%; }
  .stage-instruction { display: none; }
  .stage-orbit-one { width: 260px; }
  .stage-orbit-two { width: 180px; }
  .stage-orbit-three { width: 110px; }
  .capability-stage-copy { padding: 4rem 1.5rem 2rem; }
  .capability-stage-copy {
    max-height: none;
    overflow: visible;
    padding-bottom: max(7rem, calc(2rem + env(safe-area-inset-bottom)));
  }
  .capability-detail-grid { grid-template-columns: 1fr; }
  .capability-detail-grid section { min-height: auto; }
  .system-card {
    min-height: auto;
    grid-template-columns: 1fr;
  }
  .system-meta { margin-bottom: 3rem; }
  .system-visual { min-height: 450px; }
  .systems-principles { grid-template-columns: 1fr 1fr; }
  .systems-principles > p { grid-column: 1 / -1; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-link { min-height: 290px; }
}
@media (max-width: 640px) {
  .container { padding-inline: 1.1rem; }
  nav { min-height: 64px; padding: 1rem 1.1rem; }
  .nav-cluster { gap: 0.55rem; }
  .logo { gap: .42rem; padding: .58rem .62rem; }
  .logo-name,
  .logo-company { font-size: .72rem; letter-spacing: .1em; }
  .logo-company { padding-left: .46rem; }
  .nav-cta { padding: 0.65rem 0.78rem; font-size: 0.76rem; }
  .magic-toggle {
    min-height: 39px;
    padding: .5rem .58rem;
    font-size: .62rem;
  }
  .magic-toggle::before {
    content: 'FX';
  }
  .magic-toggle span { display: none; }
  .hero-layout {
    padding-top: 6.8rem;
    padding-bottom: 1.2rem;
  }
  .hero-content {
    width: 100%;
    padding-block: 1.6rem;
  }
  .hero-pre { max-width: 250px; }
  .hero-title {
    font-size: clamp(3rem, 12.2vw, 4rem);
    line-height: 0.95;
  }
  .hero-title-muted { font-size: 0.75em; }
  .hero-sub { font-size: 1.03rem; line-height: 1.68; }
  .hero-actions { display: grid; }
  .button { width: 100%; min-height: 50px; }
  .telemetry-bar { gap: 1.2rem 0.8rem; }
  .telemetry-label { font-size: 0.78rem; }
  .telemetry-value { font-size: 0.86rem; }
  .scroll-cue { display: none; }
  .chapter { overflow: hidden; }
  .chapter.method-section { overflow: visible; }
  .chapter-intro h2 { font-size: clamp(3.1rem, 15vw, 4.2rem); }
  .chapter-summary { font-size: 1rem; }
  .capabilities-section,
  .method-section,
  .systems-section { padding-block: 6.5rem; }
  .capability-grid { margin-top: 4rem; }
  .capability-card {
    min-height: 620px;
    max-height: none;
    padding: 1.5rem;
  }
  .capability-entry::after {
    inset: .8rem -.35rem -.7rem .75rem;
  }
  .capability-model {
    min-height: 260px;
    height: 260px;
  }
  .card-hit-area {
    inset: auto 1.15rem 1rem;
    height: 58px;
  }
  .capability-card-top { font-size: 0.78rem; }
  .capability-glyph { height: 140px; margin-block: 2rem 1.5rem; }
  .capability-card h3 { font-size: 1.8rem; }
  .capability-card p { font-size: 1rem; }
  .method-heading { margin-top: 2.5rem; }
  .method-heading h2 { font-size: 3.6rem; }
  .method-heading > p:last-child { font-size: 1rem; }
  .method-core {
    top: 72px;
    width: 108px;
    margin-top: 2.5rem;
  }
  .method-core strong { font-size: 1.8rem; }
  .method-core small { font-size: .58rem; letter-spacing: .07em; }
  .method-step {
    min-height: 58svh;
    padding: 4.5rem 0.4rem;
    grid-template-columns: 36px 1fr;
    gap: 0.8rem;
  }
  .method-step h3 { font-size: 2.25rem; }
  .method-step div > p:last-child { font-size: 1rem; }
  .method-output { grid-column: 2; }
  .systems-showroom { margin-top: 4rem; }
  .system-card {
    padding: 1.5rem;
    gap: 2.5rem;
  }
  .system-meta { font-size: 0.78rem; }
  .system-copy h3 { font-size: 3.4rem; }
  .system-copy > p:not(.system-domain) { font-size: 1rem; }
  .system-visual { min-height: 350px; }
  .visual-frame { inset: 0; transform: rotateY(-4deg) rotateX(2deg) scale(0.98); }
  .system-card-geneat .visual-frame { transform: rotateY(4deg) rotateX(2deg) scale(0.98); }
  .visual-hero { height: 190px; padding: 1.4rem; }
  .visual-collection span { height: 80px; }
  .geneat-map { height: 235px; }
  .systems-principles { grid-template-columns: 1fr; }
  .systems-principles > p { grid-column: auto; }
  .contact-section { min-height: auto; }
  .contact-layout { padding-block: 6.5rem; }
  .contact-copy .chapter-label { margin-bottom: 3rem; }
  .contact-copy h2 { font-size: clamp(4rem, 19vw, 5.4rem); }
  .contact-copy > p:last-child { font-size: 1rem; }
  .contact-link { min-height: 270px; padding: 1.5rem; }
  .contact-link strong { font-size: 1.7rem; }
  .contact-field span:nth-child(1) { right: -38%; }
  .contact-field span:nth-child(2) { right: 8%; }
  .site-footer {
    padding: 1.5rem 1.1rem;
    flex-direction: column;
    font-size: 0.75rem;
  }
  .expertise-track {
    min-height: 62px;
    gap: 1.1rem;
    animation-duration: 27s;
  }
  .expertise-track span { font-size: .75rem; }
  .dialog-close {
    top: .8rem;
    right: .8rem;
  }
  .capability-stage-visual { min-height: 310px; }
  .capability-stage-visual > strong { font-size: 4.8rem; }
  .dialog-model { inset: 13% 3% 19%; }
  .architecture-blueprint { padding: .62rem; }
  .architecture-heading { max-width: 58%; }
  .architecture-heading strong { font-size: .66rem; }
  .architecture-flow {
    inset: 2.9rem .5rem 2rem;
    grid-template-columns:
      minmax(0, 1fr) 7px
      minmax(0, 1fr) 7px
      minmax(0, 1fr) 7px
      minmax(0, 1fr) 7px
      minmax(0, 1fr);
  }
  .architecture-node {
    min-height: 58px;
    padding: .4rem .22rem;
  }
  .architecture-node > span,
  .architecture-node small { display: none; }
  .architecture-node strong {
    font-size: .53rem;
    text-align: center;
  }
  .architecture-boundaries {
    right: .5rem;
    bottom: .38rem;
    left: .5rem;
    font-size: .42rem;
  }
  .model-step-rail { display: none; }
  .scene-replay {
    right: .8rem;
    bottom: .75rem;
    font-size: .56rem;
  }
  .stage-orbit-one { width: 205px; }
  .stage-orbit-two { width: 145px; }
  .stage-orbit-three { width: 88px; }
  .capability-stage-copy { padding: 3rem 1.1rem 1.5rem; }
  .capability-stage-copy { padding-bottom: max(7.2rem, calc(2rem + env(safe-area-inset-bottom))); }
  .capability-stage-copy h2 { font-size: 3.2rem; }
  .capability-dialog-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (hover: none), (pointer: coarse) {
  .capability-entry {
    content-visibility: auto;
    contain-intrinsic-size: 0 820px;
  }
  .tilt-surface {
    touch-action: pan-y;
    transition-duration: 280ms;
    will-change: auto;
  }
  .tilt-surface.is-inview {
    --lift: -3px;
  }
  .tilt-surface.is-pressed {
    --lift: 0px;
    --surface-scale: 1;
  }
  .capability-card.is-inview {
    border-color: rgba(var(--surface-rgb), .34);
    box-shadow: 0 18px 42px rgba(0,0,0,.34);
  }
  .capability-entry::before {
    filter: blur(18px);
    opacity: .18;
  }
  .capability-card {
    box-shadow:
      inset 0 1px rgba(255,255,255,.055),
      0 18px 42px rgba(0,0,0,.38);
  }
  .capability-model {
    contain: layout paint style;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.06),
      0 18px 42px rgba(0,0,0,.34);
  }
  .capability-model::after,
  .model-cinema::before {
    display: none;
  }
  .model-cinema span:nth-child(n+3) {
    display: none;
  }
  .model-reel-live,
  .model-reel-metric {
    backdrop-filter: none;
  }
  .model-reel-event {
    filter: none !important;
  }
  .model-reel-telemetry::before {
    filter: none;
  }
  .card-glow {
    display: block;
    opacity: .42;
  }
  .capability-card:not(.is-model-active) .card-glow {
    opacity: .16;
  }
  .card-glow::before {
    filter: blur(8px);
  }
  .drone-arm b {
    animation-duration: .42s;
  }
}
body.magic-lite .scene-world *,
body.magic-lite .scene-world *::before,
body.magic-lite .scene-world *::after {
  animation-duration: 12s !important;
}
body.magic-lite .capability-card:not(.is-model-active) .scene-world *,
body.magic-lite .capability-card:not(.is-model-active) .scene-world *::before,
body.magic-lite .capability-card:not(.is-model-active) .scene-world *::after {
  animation-play-state: paused !important;
}
body.magic-lite .capability-card,
body.magic-lite .capability-model {
  transition-duration: 160ms;
}
body.magic-lite .capability-card .card-glow::before {
  filter: blur(4px);
}
@media (hover: none), (pointer: coarse) {
  body.magic-lite .logo::after,
  body.magic-lite .logo-signal,
  body.magic-lite .hero-sculpture-control::before,
  body.magic-lite .hero-sculpture-control::after,
  body.magic-lite .scroll-cue,
  body.magic-lite .scroll-cue *,
  body.magic-lite .expertise-track,
  body.magic-lite .chapter-grid,
  body.magic-lite .chapter-grid::after,
  body.magic-lite .method-ambient,
  body.magic-lite .method-ambient::after,
  body.magic-lite .method-core *,
  body.magic-lite .method-core *::before,
  body.magic-lite .method-core *::after,
  body.magic-lite .systems-orbit,
  body.magic-lite .systems-orbit *,
  body.magic-lite .systems-orbit *::before,
  body.magic-lite .systems-orbit *::after,
  body.magic-lite .contact-field *,
  body.magic-lite .contact-field *::before,
  body.magic-lite .contact-field *::after {
    animation: none !important;
  }
  body.magic-lite .expertise-track {
    width: 100%;
    transform: none;
  }
  body.magic-lite .capability-card:not(.is-model-active) .capability-model *,
  body.magic-lite .capability-card:not(.is-model-active) .capability-model *::before,
  body.magic-lite .capability-card:not(.is-model-active) .capability-model *::after {
    animation: none !important;
  }
  body.magic-lite .capability-card:not(.is-model-active) .capability-model {
    filter: saturate(.78) brightness(.9);
  }
  body.magic-lite .capability-card.is-model-active .scene-world *,
  body.magic-lite .capability-card.is-model-active .scene-world *::before,
  body.magic-lite .capability-card.is-model-active .scene-world *::after {
    animation-duration: 14s !important;
  }
}
body.magic-off #webgl-canvas,
body.magic-off #ambient-light {
  display: none !important;
}
body.magic-off #webgl-container {
  background:
    radial-gradient(ellipse at 74% 44%, rgba(126,169,173,.055), transparent 35%),
    radial-gradient(ellipse at 22% 70%, rgba(145,133,162,.035), transparent 32%),
    #020202;
}
body.magic-off .hero-sculpture-control {
  display: none;
}
body.magic-off .capability-card,
body.magic-off .capability-model,
body.magic-off .tilt-surface,
body.magic-off .system-card,
body.magic-off .visual-frame {
  transform: none !important;
  transition-duration: 0ms !important;
}
body.magic-off .scene-world *,
body.magic-off .scene-world *::before,
body.magic-off .scene-world *::after,
body.magic-off .card-glow,
body.magic-off .capability-entry::before,
body.magic-off .capability-entry::after,
body.magic-off .method-core *,
body.magic-off .contact-field *,
body.magic-off .systems-orbit,
body.magic-off .expertise-track {
  animation-play-state: paused !important;
}
body.magic-off .card-glow {
  opacity: .18 !important;
}
body.magic-off .matrix-vignette {
  opacity: .38;
}
@media (pointer: coarse), (prefers-reduced-motion: reduce) {
  body.custom-cursor { cursor: auto; }
  #cursor-lens { display: none !important; }
  #ambient-light { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  #webgl-canvas { display: none; }
  .hero-sculpture-control { display: none; }
  .matrix-vignette {
    background:
      linear-gradient(90deg, #000000 0%, rgba(0, 0, 0, 0.82) 50%, rgba(0, 0, 0, 0.42) 100%),
      radial-gradient(circle at 80% 42%, transparent 0%, rgba(0, 0, 0, 0.72) 60%);
  }
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Final capability art direction */
.logo::before,
.hero-title::after,
.chapter-grid::after,
.capability-card .card-glow::after,
.capability-model::after,
.model-cinema,
.model-reel {
  display: none !important;
}
.accent-cyan { --surface-secondary: 72, 116, 141; }
.accent-violet { --surface-secondary: 169, 98, 126; }
.accent-amber { --surface-secondary: 157, 112, 67; }
.accent-blue { --surface-secondary: 74, 125, 149; }
.accent-mint { --surface-secondary: 79, 132, 112; }
.accent-rose { --surface-secondary: 188, 102, 96; }
.accent-orchid { --surface-secondary: 97, 112, 170; }
.accent-lime { --surface-secondary: 173, 131, 72; }
.capabilities-section {
  background:
    radial-gradient(ellipse at 12% 18%, rgba(126,169,173,.075), transparent 27%),
    radial-gradient(ellipse at 88% 48%, rgba(145,133,162,.06), transparent 30%),
    radial-gradient(ellipse at 30% 90%, rgba(185,154,100,.04), transparent 28%),
    linear-gradient(180deg, rgba(2,2,2,.24), rgba(5,5,5,.18) 48%, rgba(1,1,1,.3));
}
.capability-entry::before {
  inset: 12% 5% -1%;
  background:
    radial-gradient(ellipse at 50% 88%, rgba(var(--surface-rgb), .2), transparent 62%);
  filter: blur(30px);
}
.capability-entry::after {
  inset: 1.1rem -.65rem -.55rem 1.1rem;
  border-color: rgba(var(--surface-rgb), .2);
  background:
    linear-gradient(145deg, rgba(var(--surface-rgb), .14), transparent 24%),
    linear-gradient(160deg, #181919, #030404 70%);
  box-shadow:
    14px 20px 40px rgba(0,0,0,.66),
    inset -18px -20px 34px rgba(0,0,0,.7),
    inset 1px 1px rgba(255,255,255,.045);
}
.capability-card {
  min-height: 700px;
  border-color: rgba(var(--surface-rgb), .2);
  background:
    radial-gradient(ellipse at 92% 5%, rgba(var(--surface-rgb), .16), transparent 26%),
    radial-gradient(ellipse at 7% 96%, rgba(var(--surface-secondary), .1), transparent 35%),
    linear-gradient(145deg, rgba(255,255,255,.07), transparent 34%),
    linear-gradient(180deg, #151616, #050606 82%);
  box-shadow:
    inset 0 1px rgba(255,255,255,.075),
    inset 0 -1px rgba(var(--surface-rgb), .15),
    0 24px 55px -32px rgba(var(--surface-rgb), .5),
    0 38px 90px rgba(0,0,0,.58);
}
.capability-card::after {
  top: 20%;
  right: -8%;
  width: 38%;
  height: 46%;
  border-color: rgba(var(--surface-rgb), .13);
  border-radius: 48% 52% 62% 38%;
  background: radial-gradient(circle, rgba(var(--surface-rgb), .055), transparent 66%);
}
.capability-card .card-glow {
  opacity: .75;
  background:
    radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(var(--surface-rgb), .13), transparent 35%),
    linear-gradient(145deg, rgba(var(--surface-secondary), .035), transparent 42%);
}
.capability-card .card-glow::before {
  right: -6%;
  bottom: -10%;
  width: 54%;
  height: 42%;
  background:
    radial-gradient(ellipse at 38% 22%, rgba(var(--surface-secondary), .2), transparent 48%),
    radial-gradient(ellipse at 82% 90%, rgba(0,0,0,.78), transparent 61%);
  filter: blur(14px);
}
.capability-card-top {
  color: rgba(226,225,218,.53);
}
.card-state-live {
  color: var(--surface-accent);
  text-shadow: none;
}
.capability-model {
  container-type: inline-size;
  width: 100%;
  min-height: 280px;
  height: auto;
  aspect-ratio: 1.56;
  overflow: hidden;
  border-color: rgba(var(--surface-rgb), .24);
  border-radius: 20px;
  background:
    radial-gradient(circle at var(--model-light-x) var(--model-light-y), rgba(var(--surface-rgb), .17), transparent 32%),
    radial-gradient(ellipse at 84% 18%, rgba(var(--surface-secondary), .12), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.055), transparent 35%),
    linear-gradient(180deg, #121515, #030505);
  box-shadow:
    inset 0 1px rgba(255,255,255,.075),
    inset 0 -36px 62px rgba(0,0,0,.34),
    0 18px 34px -25px rgba(var(--surface-rgb), .54),
    0 34px 64px rgba(0,0,0,.47);
}
.capability-model::before {
  opacity: 1;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(255,255,255,.07), transparent 35%),
    linear-gradient(180deg, transparent 50%, rgba(0,0,0,.5));
}
.capability-card:hover .capability-model,
.capability-card.is-inview .capability-model,
.capability-card.is-engaged .capability-model {
  --model-scale: 1.018;
  border-color: rgba(var(--surface-rgb), .48);
  box-shadow:
    inset 0 1px rgba(255,255,255,.09),
    inset 0 -34px 58px rgba(0,0,0,.28),
    -14px 18px 0 -12px rgba(var(--surface-rgb), .2),
    0 42px 82px rgba(0,0,0,.55);
}
.scene-world {
  position: absolute;
  inset: 48px 12px 26px;
  z-index: 2;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 850px;
}
.scene-world *,
.scene-story * {
  box-sizing: border-box;
}
.scene-story {
  position: absolute;
  top: 11px;
  right: 12px;
  left: 12px;
  z-index: 20;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  color: rgba(241,240,235,.67);
  font-family: var(--font-mono);
  font-size: clamp(.52rem, 1.25cqw, .66rem);
  letter-spacing: .07em;
  text-transform: uppercase;
}
.scene-story span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.scene-story b {
  flex: 0 0 auto;
  padding: .28rem .42rem;
  border: 1px solid rgba(var(--surface-rgb), .38);
  border-radius: 999px;
  background: rgba(var(--surface-rgb), .09);
  color: var(--surface-accent);
  font-size: inherit;
  font-weight: 600;
}
.mini-toolbar {
  height: 26px;
  padding-inline: 9px;
  display: flex;
  align-items: center;
  gap: 5px;
  border-bottom: 1px solid rgba(255,255,255,.09);
  color: rgba(255,255,255,.45);
  font-family: var(--font-mono);
  font-size: clamp(.43rem, 1.05cqw, .56rem);
}
.mini-toolbar i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
}
.mini-toolbar i:first-child { background: var(--surface-accent); }
.mini-toolbar b {
  margin-left: 3px;
  overflow: hidden;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Backend: a real checkout under load */
.backend-world {
  overflow: visible;
}
.backend-browser {
  position: absolute;
  top: 8%;
  left: 2%;
  width: 43%;
  height: 70%;
  overflow: hidden;
  border: 1px solid rgba(var(--surface-rgb), .48);
  border-radius: 9px;
  background: #0b1011;
  box-shadow: 16px 22px 30px rgba(0,0,0,.42);
  transform: rotateY(12deg) rotateX(3deg) translateZ(32px);
  animation: backend-browser-cycle 8s ease-in-out infinite;
}
.checkout-item {
  margin: 12% 9% 8%;
  display: grid;
  grid-template-columns: 36% 1fr;
  gap: 8%;
  align-items: center;
}
.checkout-thumbnail {
  aspect-ratio: 1;
  border-radius: 6px;
  background:
    radial-gradient(circle at 50% 42%, rgba(var(--surface-rgb), .48), transparent 28%),
    linear-gradient(145deg, rgba(var(--surface-secondary), .3), #131718);
  box-shadow: inset 0 1px rgba(255,255,255,.09);
}
.checkout-item span { display: grid; gap: 4px; }
.checkout-item b {
  color: #eeeae1;
  font-size: clamp(.55rem, 1.5cqw, .78rem);
  font-weight: 600;
  line-height: 1.15;
}
.checkout-item small {
  color: var(--surface-accent);
  font-family: var(--font-mono);
  font-size: clamp(.46rem, 1.1cqw, .58rem);
}
.checkout-action {
  margin: 0 9%;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  background: var(--surface-accent);
  color: #061012;
  font-family: var(--font-mono);
  font-size: clamp(.45rem, 1.1cqw, .58rem);
  font-weight: 700;
  text-transform: uppercase;
  animation: checkout-press 8s ease-in-out infinite;
}
.backend-route {
  position: absolute;
  top: 40%;
  left: 42%;
  width: 27%;
  height: 24%;
  border-top: 1px solid rgba(var(--surface-rgb), .56);
  border-right: 1px solid rgba(var(--surface-rgb), .4);
  border-radius: 0 30px 0 0;
  transform: rotate(-4deg) translateZ(14px);
}
.backend-route i {
  position: absolute;
  top: -4px;
  left: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f4f2eb;
  box-shadow: 0 0 12px var(--surface-accent);
  animation: backend-request 8s cubic-bezier(.3,.05,.2,1) infinite;
}
.backend-service {
  position: absolute;
  top: 24%;
  left: 56%;
  width: 27%;
  min-height: 32%;
  padding: 6% 5%;
  display: grid;
  align-content: center;
  gap: 4px;
  border: 1px solid rgba(var(--surface-rgb), .48);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(var(--surface-rgb), .18), #071011 64%);
  box-shadow: 11px 15px 26px rgba(0,0,0,.4);
  transform: rotateY(-12deg) translateZ(42px);
  animation: backend-service-cycle 8s ease-in-out infinite;
}
.backend-service span,
.backend-service small {
  color: var(--surface-accent);
  font-family: var(--font-mono);
  font-size: clamp(.42rem, 1cqw, .54rem);
  text-transform: uppercase;
}
.backend-service b {
  color: #eeeae1;
  font-size: clamp(.55rem, 1.4cqw, .76rem);
  font-weight: 600;
}
.backend-store {
  position: absolute;
  right: 1%;
  bottom: 8%;
  width: 22%;
  height: 38%;
  transform: rotateY(-18deg) translateZ(18px);
}
.backend-store i {
  position: absolute;
  right: 8%;
  left: 8%;
  height: 28%;
  border: 1px solid rgba(var(--surface-rgb), .38);
  border-radius: 50%;
  background: #091011;
}
.backend-store i:nth-child(1) { top: 4%; }
.backend-store i:nth-child(2) { top: 24%; }
.backend-store i:nth-child(3) { top: 44%; }
.backend-store::after {
  content: '';
  position: absolute;
  top: 17%;
  right: 8%;
  bottom: 28%;
  left: 8%;
  border-right: 1px solid rgba(var(--surface-rgb), .38);
  border-left: 1px solid rgba(var(--surface-rgb), .38);
  background: rgba(var(--surface-rgb), .08);
}
.backend-store b {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  color: var(--surface-accent);
  font-family: var(--font-mono);
  font-size: clamp(.42rem, 1cqw, .54rem);
  text-align: center;
  text-transform: uppercase;
}
.backend-confirmation {
  position: absolute;
  right: 2%;
  bottom: 2%;
  padding: .38rem .48rem;
  border: 1px solid rgba(var(--surface-rgb), .36);
  border-radius: 5px;
  background: rgba(4,10,11,.92);
  color: #eeeae1;
  font-family: var(--font-mono);
  font-size: clamp(.43rem, 1.1cqw, .58rem);
  opacity: 0;
  transform: translateY(8px) translateZ(56px);
  animation: backend-confirm 8s ease-in-out infinite;
}
@keyframes backend-browser-cycle {
  0%, 100% { transform: rotateY(12deg) rotateX(3deg) translateZ(32px); }
  48%, 68% { transform: rotateY(7deg) rotateX(1deg) translateY(-3px) translateZ(38px); }
}
@keyframes checkout-press {
  0%, 17%, 100% { transform: scale(1); filter: brightness(.82); }
  22%, 29% { transform: scale(.94); filter: brightness(1.16); }
}
@keyframes backend-request {
  0%, 25% { offset-distance: 0%; opacity: 0; transform: translate(0, 0); }
  31% { opacity: 1; }
  55% { transform: translate(96px, 28px); opacity: 1; }
  60%, 100% { transform: translate(96px, 28px); opacity: 0; }
}
@keyframes backend-service-cycle {
  0%, 34%, 100% { border-color: rgba(var(--surface-rgb), .34); }
  48%, 66% { border-color: var(--surface-accent); box-shadow: 0 0 26px rgba(var(--surface-rgb), .18), 11px 15px 26px rgba(0,0,0,.4); }
}
@keyframes backend-confirm {
  0%, 61%, 100% { opacity: 0; transform: translateY(8px) translateZ(56px); }
  70%, 90% { opacity: 1; transform: translateY(0) translateZ(56px); }
}

/* Security: contactless payment replay test */
.security-world {
  background:
    radial-gradient(circle at 28% 48%, rgba(var(--surface-rgb), .1), transparent 27%),
    linear-gradient(rgba(var(--surface-rgb), .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--surface-rgb), .045) 1px, transparent 1px);
  background-size: auto, 24px 24px, 24px 24px;
}
.payment-reader {
  position: absolute;
  top: 13%;
  left: 8%;
  width: 31%;
  height: 65%;
  border: 1px solid rgba(var(--surface-rgb), .5);
  border-radius: 13px 13px 21px 21px;
  background: linear-gradient(150deg, #25242a, #09080c 62%);
  box-shadow: 16px 23px 34px rgba(0,0,0,.48);
  transform: rotateY(13deg) rotateZ(-4deg) translateZ(32px);
}
.reader-screen {
  position: absolute;
  top: 12%;
  right: 12%;
  left: 12%;
  height: 27%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(var(--surface-rgb), .27);
  border-radius: 5px;
  background: #080d0e;
  color: var(--surface-accent);
  font-family: var(--font-mono);
  font-size: clamp(.43rem, 1cqw, .56rem);
  text-transform: uppercase;
}
.reader-pad {
  position: absolute;
  right: 16%;
  bottom: 10%;
  left: 16%;
  height: 34%;
  border-radius: 6px;
  background:
    radial-gradient(circle, rgba(var(--surface-rgb), .22) 0 2px, transparent 3px);
  background-size: 15px 15px;
  border: 1px solid rgba(255,255,255,.08);
}
.reader-wave {
  position: absolute;
  top: 29%;
  right: -24%;
  width: 35%;
  aspect-ratio: 1;
  border: 1px solid var(--surface-accent);
  border-left: 0;
  border-radius: 0 100% 100% 0;
  opacity: 0;
  animation: reader-wave 8s ease-out infinite;
}
.reader-wave.wave-b { right: -35%; animation-delay: .12s; }
.reader-wave.wave-c { right: -47%; animation-delay: .24s; }
.payment-card {
  position: absolute;
  top: 24%;
  left: 37%;
  width: 30%;
  height: 42%;
  padding: 7% 5%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255,255,255,.19);
  border-radius: 10px;
  background:
    radial-gradient(circle at 82% 20%, rgba(var(--surface-rgb), .34), transparent 25%),
    linear-gradient(135deg, #2b2531, #0c090f);
  box-shadow: 15px 18px 28px rgba(0,0,0,.38);
  transform: rotateY(-14deg) rotateZ(4deg) translateZ(44px);
  animation: payment-card-tap 8s ease-in-out infinite;
}
.payment-card span,
.payment-card b {
  color: #eeeae1;
  font-family: var(--font-mono);
  font-size: clamp(.4rem, .95cqw, .53rem);
  font-weight: 500;
}
.payment-card i {
  width: 22%;
  aspect-ratio: 1.2;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 3px;
  background: linear-gradient(135deg, #aa8d52, #695328);
}
.replay-device {
  position: absolute;
  top: 12%;
  right: 4%;
  width: 24%;
  min-height: 31%;
  padding: 6% 4%;
  display: grid;
  place-items: center;
  gap: 6px;
  border: 1px solid rgba(220,104,126,.4);
  border-radius: 7px;
  background: #11090c;
  opacity: 0;
  transform: translateX(10px) rotateY(-10deg) translateZ(24px);
  animation: replay-device 8s ease-in-out infinite;
}
.replay-device i {
  width: 28%;
  aspect-ratio: 1;
  border: 1px solid #dc687e;
  box-shadow: 0 0 13px rgba(220,104,126,.42);
}
.replay-device span {
  color: #dc8292;
  font-family: var(--font-mono);
  font-size: clamp(.39rem, .9cqw, .5rem);
  text-align: center;
  text-transform: uppercase;
}
.security-shield {
  position: absolute;
  right: 3%;
  bottom: 5%;
  width: 40%;
  min-height: 38%;
  padding: 6% 5% 5% 14%;
  display: grid;
  align-content: center;
  gap: 3px;
  border: 1px solid rgba(var(--surface-rgb), .54);
  border-radius: 8px;
  background: rgba(7,8,12,.94);
  box-shadow: 12px 18px 28px rgba(0,0,0,.42);
  opacity: 0;
  transform: translateY(12px) translateZ(52px);
  animation: security-result 8s ease-in-out infinite;
}
.security-shield i {
  position: absolute;
  top: 50%;
  left: 6%;
  width: 17%;
  aspect-ratio: .82;
  border: 1px solid var(--surface-accent);
  border-radius: 50% 50% 58% 58%;
  transform: translateY(-50%);
}
.security-shield i::after {
  content: '';
  position: absolute;
  top: 35%;
  left: 27%;
  width: 42%;
  height: 21%;
  border-bottom: 1px solid var(--surface-accent);
  border-left: 1px solid var(--surface-accent);
  rotate: -45deg;
}
.security-shield span {
  color: #eeeae1;
  font-size: clamp(.52rem, 1.35cqw, .72rem);
  font-weight: 600;
}
.security-shield b {
  color: rgba(255,255,255,.5);
  font-family: var(--font-mono);
  font-size: clamp(.38rem, .85cqw, .49rem);
  font-weight: 500;
}
@keyframes payment-card-tap {
  0%, 8%, 100% { transform: translateX(15%) rotateY(-14deg) rotateZ(4deg) translateZ(44px); }
  22%, 42% { transform: translateX(-8%) rotateY(-8deg) rotateZ(1deg) translateZ(48px); }
  56%, 90% { transform: translateX(8%) rotateY(-14deg) rotateZ(4deg) translateZ(44px); }
}
@keyframes reader-wave {
  0%, 16%, 100% { opacity: 0; scale: .5; }
  24%, 42% { opacity: .72; scale: 1; }
  48% { opacity: 0; scale: 1.25; }
}
@keyframes replay-device {
  0%, 40%, 100% { opacity: 0; transform: translateX(10px) rotateY(-10deg) translateZ(24px); }
  48%, 64% { opacity: 1; transform: translateX(0) rotateY(-10deg) translateZ(24px); }
  71% { opacity: .25; }
}
@keyframes security-result {
  0%, 58%, 100% { opacity: 0; transform: translateY(12px) translateZ(52px); }
  69%, 91% { opacity: 1; transform: translateY(0) translateZ(52px); }
}

/* Markets: research terminal with visible risk control */
.markets-world {
  overflow: visible;
}
.market-terminal {
  position: absolute;
  top: 4%;
  left: 2%;
  width: 68%;
  height: 82%;
  overflow: hidden;
  border: 1px solid rgba(var(--surface-rgb), .4);
  border-radius: 8px;
  background:
    linear-gradient(rgba(var(--surface-rgb), .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--surface-rgb), .055) 1px, transparent 1px),
    #0e0d0b;
  background-size: 22px 22px, 22px 22px, auto;
  box-shadow: 18px 24px 36px rgba(0,0,0,.46);
  transform: rotateY(10deg) rotateX(2deg) translateZ(28px);
}
.market-symbol {
  position: absolute;
  top: 7%;
  left: 6%;
  z-index: 2;
  display: grid;
}
.market-symbol b { color: #eeeae1; font-size: clamp(.58rem, 1.45cqw, .8rem); }
.market-symbol small {
  color: var(--surface-accent);
  font-family: var(--font-mono);
  font-size: clamp(.4rem, .9cqw, .5rem);
}
.market-candles {
  position: absolute;
  inset: 28% 7% 20%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.market-candles i {
  position: relative;
  width: 5%;
  height: var(--candle, 34%);
  background: var(--surface-accent);
  box-shadow: 0 0 9px rgba(var(--surface-rgb), .25);
  animation: candle-breathe 8s ease-in-out infinite;
}
.market-candles i::before {
  content: '';
  position: absolute;
  top: -65%;
  bottom: -65%;
  left: 50%;
  width: 1px;
  background: currentColor;
}
.market-candles i:nth-child(1) { --candle: 23%; align-self: 72%; }
.market-candles i:nth-child(2) { --candle: 38%; align-self: 61%; color: #a86d64; background: currentColor; }
.market-candles i:nth-child(3) { --candle: 28%; align-self: 65%; }
.market-candles i:nth-child(4) { --candle: 52%; align-self: 47%; }
.market-candles i:nth-child(5) { --candle: 31%; align-self: 53%; color: #a86d64; background: currentColor; }
.market-candles i:nth-child(6) { --candle: 46%; align-self: 35%; }
.market-candles i:nth-child(7) { --candle: 35%; align-self: 39%; }
.market-candles i:nth-child(8) { --candle: 56%; align-self: 19%; }
.market-candles i:nth-child(9) { --candle: 33%; align-self: 24%; color: #a86d64; background: currentColor; }
.market-equity {
  position: absolute;
  right: 5%;
  bottom: 5%;
  left: 5%;
  width: 90%;
  height: 34%;
  overflow: visible;
}
.market-equity polyline {
  fill: none;
  stroke: #eeeae1;
  stroke-width: 1.5;
  stroke-dasharray: 520;
  filter: drop-shadow(0 0 5px rgba(var(--surface-rgb), .55));
  animation: equity-draw 8s ease-in-out infinite;
}
.risk-ticket {
  position: absolute;
  top: 20%;
  right: 1%;
  width: 35%;
  min-height: 58%;
  padding: 7% 5%;
  display: grid;
  align-content: start;
  gap: 5px;
  border: 1px solid rgba(var(--surface-rgb), .43);
  border-radius: 8px;
  background: #11100d;
  box-shadow: 13px 19px 28px rgba(0,0,0,.45);
  transform: rotateY(-13deg) translateZ(48px);
}
.risk-ticket > span,
.risk-ticket small {
  color: rgba(255,255,255,.46);
  font-family: var(--font-mono);
  font-size: clamp(.38rem, .88cqw, .49rem);
  text-transform: uppercase;
}
.risk-ticket > b {
  color: #eeeae1;
  font-size: clamp(.53rem, 1.35cqw, .72rem);
  font-weight: 600;
}
.risk-ticket > i {
  margin-top: 8%;
  padding: 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(var(--surface-rgb), .22);
  font-style: normal;
}
.risk-ticket strong {
  color: var(--surface-accent);
  font-family: var(--font-mono);
  font-size: clamp(.52rem, 1.2cqw, .66rem);
}
.risk-ticket em {
  margin-top: auto;
  padding: .35rem;
  border-radius: 4px;
  background: rgba(var(--surface-rgb), .17);
  color: var(--surface-accent);
  font-family: var(--font-mono);
  font-size: clamp(.4rem, .9cqw, .5rem);
  font-style: normal;
  text-align: center;
  text-transform: uppercase;
  animation: risk-gate 8s ease-in-out infinite;
}
.trade-confirmation {
  position: absolute;
  right: 4%;
  bottom: 2%;
  padding: .4rem .5rem;
  border: 1px solid rgba(var(--surface-rgb), .35);
  border-radius: 4px;
  background: #0d0c09;
  color: #eeeae1;
  font-family: var(--font-mono);
  font-size: clamp(.4rem, .95cqw, .52rem);
  opacity: 0;
  transform: translateY(7px) translateZ(58px);
  animation: trade-confirm 8s ease-in-out infinite;
}
@keyframes candle-breathe {
  0%, 100% { filter: brightness(.78); transform: scaleY(.85); }
  34%, 68% { filter: brightness(1.2); transform: scaleY(1); }
}
@keyframes equity-draw {
  0%, 13% { stroke-dashoffset: 520; opacity: .2; }
  52%, 90% { stroke-dashoffset: 0; opacity: 1; }
  100% { opacity: .28; }
}
@keyframes risk-gate {
  0%, 48%, 100% { filter: saturate(.55); }
  58%, 82% { filter: saturate(1.2) brightness(1.15); box-shadow: 0 0 16px rgba(var(--surface-rgb), .15); }
}
@keyframes trade-confirm {
  0%, 68%, 100% { opacity: 0; transform: translateY(7px) translateZ(58px); }
  76%, 93% { opacity: 1; transform: translateY(0) translateZ(58px); }
}

/* Robotics: drone inspecting a physical site */
.robotics-world {
  overflow: visible;
}
.terrain-grid {
  position: absolute;
  inset: 25% 1% -45%;
  border: 1px solid rgba(var(--surface-rgb), .18);
  background:
    linear-gradient(rgba(var(--surface-rgb), .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--surface-rgb), .12) 1px, transparent 1px);
  background-size: 24px 24px;
  transform: rotateX(68deg) rotateZ(-5deg) translateZ(-42px);
}
.mission-building {
  position: absolute;
  top: 22%;
  right: 7%;
  width: 24%;
  height: 48%;
  border: 1px solid rgba(var(--surface-rgb), .4);
  background: linear-gradient(145deg, rgba(var(--surface-rgb), .16), #0a0e11);
  box-shadow: 12px 17px 28px rgba(0,0,0,.42);
  transform: rotateY(-16deg) translateZ(14px);
}
.mission-building::before {
  content: '';
  position: absolute;
  top: -9%;
  right: 5%;
  left: 5%;
  height: 9%;
  border: 1px solid rgba(var(--surface-rgb), .25);
  background: rgba(var(--surface-rgb), .09);
  transform: skewX(-35deg);
}
.mission-building i {
  position: absolute;
  top: 18%;
  width: 18%;
  height: 23%;
  border: 1px solid rgba(var(--surface-rgb), .33);
  background: rgba(var(--surface-rgb), .1);
}
.mission-building i:first-child { left: 16%; }
.mission-building i:nth-child(2) { right: 16%; }
.mission-building b {
  position: absolute;
  right: 7%;
  bottom: 8%;
  left: 7%;
  color: rgba(255,255,255,.48);
  font-family: var(--font-mono);
  font-size: clamp(.38rem, .86cqw, .48rem);
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
}
.landing-pad {
  position: absolute;
  left: 7%;
  bottom: 8%;
  width: 22%;
  aspect-ratio: 1.9;
  display: grid;
  place-items: center;
  border: 1px solid rgba(var(--surface-rgb), .5);
  border-radius: 50%;
  background: rgba(var(--surface-rgb), .06);
  transform: rotateX(64deg) translateZ(4px);
}
.landing-pad i {
  color: var(--surface-accent);
  font-family: var(--font-mono);
  font-size: clamp(.55rem, 1.4cqw, .75rem);
  font-style: normal;
}
.flight-route {
  position: absolute;
  top: 35%;
  left: 17%;
  width: 60%;
  height: 42%;
  border-top: 1px dashed rgba(var(--surface-rgb), .56);
  border-right: 1px dashed rgba(var(--surface-rgb), .4);
  border-radius: 50% 50% 20% 0;
  transform: rotate(-9deg);
}
.robotics-world .drone {
  top: 42%;
  left: 46%;
  width: min(42%, 170px);
  height: 42%;
  animation: real-drone-flight 8s cubic-bezier(.4,.05,.2,1) infinite;
}
.robotics-world .drone-scan {
  position: absolute;
  top: 55%;
  left: 50%;
  width: 58%;
  height: 90%;
  clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(var(--surface-rgb), .18), transparent 70%);
  opacity: 0;
  transform: translateX(-50%) rotateX(-50deg);
  animation: drone-inspect 8s ease-in-out infinite;
}
.mission-telemetry {
  position: absolute;
  bottom: 3%;
  left: 33%;
  width: 37%;
  padding: 3.5% 4%;
  display: grid;
  gap: 2px;
  border: 1px solid rgba(var(--surface-rgb), .33);
  border-radius: 5px;
  background: rgba(5,9,12,.92);
  box-shadow: 10px 14px 24px rgba(0,0,0,.35);
  transform: translateZ(52px);
}
.mission-telemetry span,
.mission-telemetry small {
  color: rgba(255,255,255,.48);
  font-family: var(--font-mono);
  font-size: clamp(.36rem, .8cqw, .46rem);
}
.mission-telemetry b {
  color: var(--surface-accent);
  font-size: clamp(.48rem, 1.1cqw, .62rem);
  font-weight: 600;
}
@keyframes real-drone-flight {
  0%, 8%, 100% { transform: translate(-105%, 38%) rotateX(58deg) rotateZ(-8deg) translateZ(15px); }
  34%, 52% { transform: translate(-50%, -55%) rotateX(54deg) rotateZ(2deg) translateZ(48px); }
  68%, 82% { transform: translate(35%, -42%) rotateX(58deg) rotateZ(7deg) translateZ(38px); }
}
@keyframes drone-inspect {
  0%, 48%, 100% { opacity: 0; }
  58%, 78% { opacity: .86; }
}

/* Operations: a staff member reviews a prepared action */
.operations-world {
  overflow: visible;
}
.request-card,
.decision-draft,
.reference-stack {
  position: absolute;
  border: 1px solid rgba(var(--surface-rgb), .35);
  border-radius: 8px;
  background: #09100e;
  box-shadow: 12px 17px 28px rgba(0,0,0,.4);
}
.request-card {
  top: 7%;
  left: 2%;
  width: 38%;
  min-height: 42%;
  padding: 6% 5%;
  display: grid;
  align-content: center;
  gap: 4px;
  transform: rotateY(12deg) rotateZ(-3deg) translateZ(24px);
  animation: request-arrive 8s ease-in-out infinite;
}
.request-card span,
.decision-draft span {
  color: var(--surface-accent);
  font-family: var(--font-mono);
  font-size: clamp(.38rem, .86cqw, .49rem);
  text-transform: uppercase;
}
.request-card b,
.decision-draft b {
  color: #eeeae1;
  font-size: clamp(.53rem, 1.3cqw, .72rem);
  font-weight: 600;
  line-height: 1.2;
}
.request-card small {
  color: rgba(255,255,255,.42);
  font-family: var(--font-mono);
  font-size: clamp(.36rem, .8cqw, .46rem);
}
.reference-stack {
  top: 12%;
  left: 35%;
  width: 25%;
  height: 47%;
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: translateZ(10px);
}
.reference-stack i {
  position: absolute;
  right: 0;
  left: 0;
  height: 28%;
  padding: 5%;
  border: 1px solid rgba(var(--surface-rgb), .3);
  border-radius: 5px;
  background: #0d1512;
  color: rgba(255,255,255,.55);
  font-family: var(--font-mono);
  font-size: clamp(.34rem, .76cqw, .44rem);
  font-style: normal;
  transform-origin: left;
  opacity: .4;
  animation: reference-open 8s ease-in-out infinite;
}
.reference-stack i:nth-child(1) { top: 0; rotate: -3deg; animation-delay: 0s; }
.reference-stack i:nth-child(2) { top: 31%; rotate: 2deg; animation-delay: .24s; }
.reference-stack i:nth-child(3) { top: 62%; rotate: -1deg; animation-delay: .48s; }
.decision-draft {
  top: 8%;
  right: 1%;
  width: 41%;
  min-height: 61%;
  padding: 6% 5%;
  display: grid;
  align-content: start;
  gap: 5px;
  opacity: .42;
  transform: rotateY(-11deg) translateZ(44px);
  animation: draft-prepare 8s ease-in-out infinite;
}
.draft-actions {
  margin-top: 8%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  font-style: normal;
}
.draft-actions em,
.draft-actions strong {
  padding: .35rem .25rem;
  border: 1px solid rgba(var(--surface-rgb), .28);
  border-radius: 4px;
  color: rgba(255,255,255,.54);
  font-family: var(--font-mono);
  font-size: clamp(.35rem, .78cqw, .45rem);
  font-style: normal;
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
}
.draft-actions strong {
  background: var(--surface-accent);
  color: #06100d;
  animation: approve-action 8s ease-in-out infinite;
}
.operations-world .human-handoff {
  right: 22%;
  bottom: 5%;
  width: 36%;
  min-height: 20%;
  padding: 4% 4% 4% 12%;
  border-radius: 7px;
  background: #08110e;
  opacity: 0;
  transform: translateY(8px) translateZ(56px);
  animation: human-approved 8s ease-in-out infinite;
}
.operations-world .human-handoff i {
  left: 6%;
  width: 16%;
  height: auto;
  aspect-ratio: 1;
}
.operations-world .human-handoff b {
  font-size: clamp(.4rem, .9cqw, .5rem);
}
.decision-sent {
  position: absolute;
  right: 1%;
  bottom: 3%;
  padding: .38rem .5rem;
  border: 1px solid rgba(var(--surface-rgb), .38);
  border-radius: 5px;
  background: #08110e;
  color: var(--surface-accent);
  font-family: var(--font-mono);
  font-size: clamp(.38rem, .86cqw, .49rem);
  opacity: 0;
  transform: translateX(8px) translateZ(58px);
  animation: decision-sent 8s ease-in-out infinite;
}
@keyframes request-arrive {
  0%, 100% { opacity: .65; transform: translateX(-8px) rotateY(12deg) rotateZ(-3deg) translateZ(24px); }
  8%, 36% { opacity: 1; transform: translateX(0) rotateY(12deg) rotateZ(-3deg) translateZ(24px); }
  55%, 92% { opacity: .72; }
}
@keyframes reference-open {
  0%, 18%, 100% { opacity: .38; transform: translateX(-8px); }
  30%, 56% { opacity: 1; transform: translateX(0) translateZ(12px); }
  72% { opacity: .58; }
}
@keyframes draft-prepare {
  0%, 36%, 100% { opacity: .42; transform: translateX(8px) rotateY(-11deg) translateZ(44px); }
  49%, 88% { opacity: 1; transform: translateX(0) rotateY(-11deg) translateZ(44px); }
}
@keyframes approve-action {
  0%, 62%, 100% { transform: scale(1); filter: brightness(.78); }
  68%, 76% { transform: scale(.93); filter: brightness(1.2); }
}
@keyframes human-approved {
  0%, 68%, 100% { opacity: 0; transform: translateY(8px) translateZ(56px); }
  76%, 92% { opacity: 1; transform: translateY(0) translateZ(56px); }
}
@keyframes decision-sent {
  0%, 79%, 100% { opacity: 0; transform: translateX(8px) translateZ(58px); }
  86%, 95% { opacity: 1; transform: translateX(0) translateZ(58px); }
}

/* Commerce: product, M-Pesa, merchant and customer */
.commerce-world {
  overflow: visible;
}
.commerce-world .commerce-phone {
  top: 3%;
  left: 2%;
  width: 34%;
  height: 82%;
  padding: 0;
  border-radius: 15px;
  transform: rotateY(15deg) rotateX(4deg) rotateZ(-4deg) translateZ(32px);
  animation: commerce-real-phone 8s ease-in-out infinite;
}
.commerce-product {
  margin: 12% 9% 8%;
  display: grid;
  grid-template-columns: 39% 1fr;
  gap: 8%;
  align-items: center;
}
.commerce-product > i {
  aspect-ratio: 1;
  border-radius: 6px;
  background:
    radial-gradient(ellipse at 50% 54%, rgba(var(--surface-rgb), .48) 0 20%, transparent 22%),
    linear-gradient(145deg, #302226, #120b0e);
}
.commerce-product span { display: grid; gap: 4px; }
.commerce-product b {
  color: #eeeae1;
  font-size: clamp(.48rem, 1.1cqw, .62rem);
  line-height: 1.15;
}
.commerce-product small {
  color: var(--surface-accent);
  font-family: var(--font-mono);
  font-size: clamp(.38rem, .82cqw, .46rem);
}
.commerce-world .payment-button {
  margin: 0 9%;
  width: auto;
  height: 27px;
  animation: mpesa-pay 8s ease-in-out infinite;
}
.mpesa-confirmation {
  position: absolute;
  top: 15%;
  left: 34%;
  width: 30%;
  min-height: 31%;
  padding: 5%;
  display: grid;
  grid-template-columns: 28% 1fr;
  gap: 8%;
  align-items: center;
  border: 1px solid rgba(99,177,93,.42);
  border-radius: 8px;
  background: #09120c;
  opacity: 0;
  transform: translateY(8px) rotateY(-8deg) translateZ(48px);
  animation: mpesa-arrive 8s ease-in-out infinite;
}
.mpesa-confirmation > i {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: #64ae58;
  color: white;
  font-family: var(--font-mono);
  font-size: clamp(.55rem, 1.3cqw, .72rem);
  font-style: normal;
  font-weight: 700;
}
.mpesa-confirmation span { display: grid; gap: 2px; }
.mpesa-confirmation b {
  color: #eeeae1;
  font-size: clamp(.43rem, 1cqw, .56rem);
}
.mpesa-confirmation small {
  color: #77c76d;
  font-family: var(--font-mono);
  font-size: clamp(.37rem, .8cqw, .45rem);
}
.commerce-world .commerce-route {
  right: 31%;
  bottom: 21%;
  width: 34%;
  height: 32%;
  border-color: rgba(var(--surface-rgb), .45);
}
.commerce-world .commerce-route i {
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--surface-accent);
  box-shadow: 0 0 11px rgba(var(--surface-rgb), .65);
  animation: commerce-route-dot 8s ease-in-out infinite;
}
.merchant-ticket {
  position: absolute;
  top: 13%;
  right: 1%;
  width: 34%;
  min-height: 62%;
  padding: 6% 5%;
  display: grid;
  align-content: start;
  gap: 4px;
  border: 1px solid rgba(var(--surface-rgb), .4);
  border-radius: 7px;
  background: #130c0f;
  box-shadow: 12px 18px 28px rgba(0,0,0,.42);
  opacity: .42;
  transform: rotateY(-13deg) translateZ(38px);
  animation: merchant-order 8s ease-in-out infinite;
}
.merchant-ticket span,
.merchant-ticket small {
  color: rgba(255,255,255,.48);
  font-family: var(--font-mono);
  font-size: clamp(.36rem, .8cqw, .46rem);
  text-transform: uppercase;
}
.merchant-ticket b {
  color: #eeeae1;
  font-size: clamp(.5rem, 1.2cqw, .66rem);
  font-weight: 600;
}
.merchant-ticket > i {
  margin-top: auto;
  padding: .35rem;
  border-radius: 4px;
  background: var(--surface-accent);
  color: #160b0e;
  font-family: var(--font-mono);
  font-size: clamp(.38rem, .85cqw, .48rem);
  font-style: normal;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}
.customer-update {
  position: absolute;
  right: 3%;
  bottom: 2%;
  padding: .38rem .5rem;
  border: 1px solid rgba(var(--surface-rgb), .36);
  border-radius: 5px;
  background: #130c0f;
  color: #eeeae1;
  font-family: var(--font-mono);
  font-size: clamp(.38rem, .86cqw, .49rem);
  opacity: 0;
  transform: translateY(7px) translateZ(58px);
  animation: customer-update 8s ease-in-out infinite;
}
@keyframes commerce-real-phone {
  0%, 100% { transform: rotateY(15deg) rotateX(4deg) rotateZ(-4deg) translateZ(32px); }
  22%, 42% { transform: rotateY(10deg) rotateX(2deg) rotateZ(-2deg) translateY(-3px) translateZ(38px); }
}
@keyframes mpesa-pay {
  0%, 18%, 100% { scale: 1; filter: brightness(.8); }
  24%, 31% { scale: .93; filter: brightness(1.2); }
}
@keyframes mpesa-arrive {
  0%, 29%, 100% { opacity: 0; transform: translateY(8px) rotateY(-8deg) translateZ(48px); }
  40%, 61% { opacity: 1; transform: translateY(0) rotateY(-8deg) translateZ(48px); }
  70% { opacity: .42; }
}
@keyframes commerce-route-dot {
  0%, 45% { transform: translate(-90px, -55px); opacity: 0; }
  52% { opacity: 1; }
  70% { transform: translate(0, 0); opacity: 1; }
  76%, 100% { opacity: 0; }
}
@keyframes merchant-order {
  0%, 54%, 100% { opacity: .42; transform: translateX(8px) rotateY(-13deg) translateZ(38px); }
  66%, 92% { opacity: 1; transform: translateX(0) rotateY(-13deg) translateZ(38px); }
}
@keyframes customer-update {
  0%, 80%, 100% { opacity: 0; transform: translateY(7px) translateZ(58px); }
  87%, 96% { opacity: 1; transform: translateY(0) translateZ(58px); }
}

/* Vision: a warehouse inspection rather than abstract boxes */
.vision-world {
  overflow: visible;
}
.vision-world .vision-camera {
  top: 7%;
  left: 3%;
  width: 24%;
  height: 34%;
  z-index: 4;
}
.vision-world .vision-beam {
  top: 9%;
  left: 19%;
  width: 51%;
  height: 66%;
  opacity: .45;
}
.warehouse-scene {
  position: absolute;
  top: 6%;
  right: 1%;
  bottom: 8%;
  left: 24%;
  overflow: hidden;
  border: 1px solid rgba(var(--surface-rgb), .3);
  border-radius: 8px;
  background:
    linear-gradient(rgba(var(--surface-rgb), .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--surface-rgb), .045) 1px, transparent 1px),
    #0b0a0d;
  background-size: 22px 22px, 22px 22px, auto;
  transform: rotateY(-8deg) translateZ(22px);
}
.conveyor-belt {
  position: absolute;
  right: -8%;
  bottom: 9%;
  left: -8%;
  height: 25%;
  border-top: 1px solid rgba(var(--surface-rgb), .4);
  border-bottom: 1px solid rgba(var(--surface-rgb), .28);
  background:
    repeating-linear-gradient(90deg, rgba(var(--surface-rgb), .1) 0 4%, transparent 4% 10%),
    #0b0b0d;
  transform: rotate(-4deg);
}
.parcel {
  position: absolute;
  bottom: 26%;
  width: 12%;
  aspect-ratio: 1.12;
  border: 1px solid rgba(var(--surface-rgb), .44);
  background: linear-gradient(145deg, rgba(var(--surface-rgb), .24), #17131a);
  box-shadow: 7px 10px 14px rgba(0,0,0,.32);
  animation: parcel-travel 8s linear infinite;
}
.parcel::after {
  content: '';
  position: absolute;
  top: 14%;
  bottom: 14%;
  left: 46%;
  width: 8%;
  background: rgba(255,255,255,.08);
}
.parcel-one { left: -14%; animation-delay: 0s; }
.parcel-two { left: -14%; animation-delay: -2.7s; }
.parcel-three { left: -14%; animation-delay: -5.4s; }
.worker-silhouette {
  position: absolute;
  right: 9%;
  bottom: 25%;
  width: 9%;
  height: 38%;
  border-radius: 40% 40% 18% 18%;
  background: rgba(255,255,255,.13);
}
.worker-silhouette i {
  position: absolute;
  top: -24%;
  left: 12%;
  width: 76%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
}
.vision-box {
  position: absolute;
  padding: 2px 4px;
  border: 1px solid var(--surface-accent);
  color: var(--surface-accent);
  font-family: var(--font-mono);
  font-size: clamp(.32rem, .7cqw, .42rem);
  font-weight: 500;
  opacity: 0;
  animation: vision-lock-real 8s ease-in-out infinite;
}
.box-parcel {
  left: 28%;
  bottom: 22%;
  width: 20%;
  height: 31%;
}
.box-worker {
  right: 6%;
  bottom: 20%;
  width: 16%;
  height: 50%;
  animation-delay: .35s;
}
.vision-counter {
  position: absolute;
  right: 2%;
  bottom: 1%;
  width: 36%;
  padding: 3% 4%;
  display: grid;
  gap: 2px;
  border: 1px solid rgba(var(--surface-rgb), .38);
  border-radius: 5px;
  background: #0c0a0e;
  transform: translateZ(52px);
}
.vision-counter span,
.vision-counter small {
  color: rgba(255,255,255,.48);
  font-family: var(--font-mono);
  font-size: clamp(.35rem, .77cqw, .44rem);
}
.vision-counter b {
  color: #d78696;
  font-size: clamp(.46rem, 1cqw, .56rem);
}
@keyframes parcel-travel {
  from { transform: translateX(0) rotateZ(-3deg); }
  to { transform: translateX(650%) rotateZ(2deg); }
}
@keyframes vision-lock-real {
  0%, 18%, 100% { opacity: 0; transform: scale(.92); }
  31%, 66% { opacity: 1; transform: scale(1); }
  78% { opacity: .35; }
}

/* Cloud operations: a real release moving through regions */
.cloud-world {
  overflow: visible;
}
.release-console {
  position: absolute;
  top: 6%;
  left: 2%;
  width: 34%;
  min-height: 52%;
  padding: 6% 5%;
  display: grid;
  align-content: start;
  gap: 4px;
  border: 1px solid rgba(var(--surface-rgb), .4);
  border-radius: 8px;
  background: #0c1009;
  box-shadow: 13px 18px 28px rgba(0,0,0,.4);
  transform: rotateY(13deg) translateZ(34px);
}
.release-console span,
.release-console small {
  color: rgba(255,255,255,.47);
  font-family: var(--font-mono);
  font-size: clamp(.37rem, .82cqw, .47rem);
  text-transform: uppercase;
}
.release-console b {
  color: #eeeae1;
  font-size: clamp(.5rem, 1.15cqw, .64rem);
  font-weight: 600;
}
.release-console i {
  margin-top: 10%;
  padding: .36rem;
  border-radius: 4px;
  background: var(--surface-accent);
  color: #0b1007;
  font-family: var(--font-mono);
  font-size: clamp(.38rem, .85cqw, .48rem);
  font-style: normal;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  animation: deploy-click 8s ease-in-out infinite;
}
.release-route {
  position: absolute;
  top: 32%;
  left: 34%;
  width: 23%;
  height: 24%;
  border-top: 1px solid rgba(var(--surface-rgb), .45);
  border-right: 1px solid rgba(var(--surface-rgb), .35);
  border-radius: 0 24px 0 0;
}
.release-route i {
  position: absolute;
  top: -4px;
  left: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--surface-accent);
  box-shadow: 0 0 11px rgba(var(--surface-rgb), .65);
  animation: release-packet-real 8s ease-in-out infinite;
}
.region-cluster {
  position: absolute;
  top: 7%;
  right: 1%;
  width: 48%;
  height: 65%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4%;
  transform: rotateY(-10deg) translateZ(34px);
}
.region-cluster > div {
  min-width: 0;
  padding: 12% 8%;
  display: flex;
  flex-direction: column;
  gap: 7%;
  border: 1px solid rgba(var(--surface-rgb), .3);
  border-radius: 6px;
  background: #0c1009;
  opacity: .45;
  animation: region-healthy 8s ease-in-out infinite;
}
.region-cluster > div:nth-child(2) { animation-delay: .35s; }
.region-cluster > div:nth-child(3) { animation-delay: .7s; }
.region-cluster span,
.region-cluster b {
  overflow: hidden;
  color: rgba(255,255,255,.5);
  font-family: var(--font-mono);
  font-size: clamp(.32rem, .7cqw, .42rem);
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.region-cluster i {
  height: 17%;
  border: 1px solid rgba(var(--surface-rgb), .22);
  background:
    radial-gradient(circle at 10% 50%, var(--surface-accent) 0 2px, transparent 3px),
    rgba(var(--surface-rgb), .08);
}
.region-cluster b {
  margin-top: auto;
  color: var(--surface-accent);
}
.traffic-shift {
  position: absolute;
  right: 8%;
  bottom: 4%;
  width: 52%;
  padding: 3% 4%;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 8%;
  border: 1px solid rgba(var(--surface-rgb), .3);
  border-radius: 5px;
  background: #0c1009;
  transform: translateZ(52px);
}
.traffic-shift span,
.traffic-shift b {
  color: rgba(255,255,255,.48);
  font-family: var(--font-mono);
  font-size: clamp(.34rem, .75cqw, .44rem);
  font-weight: 500;
}
.traffic-shift i {
  position: relative;
  grid-column: 1 / -1;
  height: 5px;
  overflow: hidden;
  border-radius: 5px;
  background: rgba(255,255,255,.08);
}
.traffic-shift i::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--surface-accent);
  transform: scaleX(0);
  transform-origin: left;
  animation: traffic-fill 8s ease-in-out infinite;
}
.release-result {
  position: absolute;
  left: 3%;
  bottom: 4%;
  padding: .38rem .48rem;
  border: 1px solid rgba(var(--surface-rgb), .34);
  border-radius: 5px;
  background: #0c1009;
  color: var(--surface-accent);
  font-family: var(--font-mono);
  font-size: clamp(.36rem, .8cqw, .46rem);
  opacity: 0;
  transform: translateY(7px) translateZ(52px);
  animation: release-result 8s ease-in-out infinite;
}
@keyframes deploy-click {
  0%, 15%, 100% { scale: 1; filter: brightness(.8); }
  22%, 29% { scale: .93; filter: brightness(1.2); }
}
@keyframes release-packet-real {
  0%, 25% { transform: translate(0,0); opacity: 0; }
  31% { opacity: 1; }
  51% { transform: translate(74px, 32px); opacity: 1; }
  57%, 100% { transform: translate(74px, 32px); opacity: 0; }
}
@keyframes region-healthy {
  0%, 36%, 100% { opacity: .44; border-color: rgba(var(--surface-rgb), .22); transform: translateY(4px); }
  49%, 88% { opacity: 1; border-color: rgba(var(--surface-rgb), .5); transform: translateY(0); }
}
@keyframes traffic-fill {
  0%, 50% { transform: scaleX(0); }
  72%, 94% { transform: scaleX(1); }
  100% { opacity: 0; }
}
@keyframes release-result {
  0%, 76%, 100% { opacity: 0; transform: translateY(7px) translateZ(52px); }
  84%, 96% { opacity: 1; transform: translateY(0) translateZ(52px); }
}

.dialog-model .capability-model {
  aspect-ratio: auto;
}
.dialog-model .scene-world {
  inset: 50px 14px 25px;
}
.architecture-heading span {
  color: rgba(255,255,255,.5);
}
.card-open-indicator {
  margin-top: 1.5rem;
}

@container (max-width: 430px) {
  .scene-world { inset: 46px 8px 23px; }
  .scene-story {
    right: 9px;
    left: 9px;
    gap: .4rem;
  }
  .scene-story span { max-width: 68%; }
  .backend-browser { width: 47%; }
  .backend-service { left: 54%; width: 29%; }
  .backend-store { width: 23%; }
  .payment-reader { left: 4%; width: 34%; }
  .payment-card { left: 35%; width: 32%; }
  .security-shield { width: 43%; }
  .market-terminal { width: 70%; }
  .risk-ticket { width: 37%; }
  .operations-world .human-handoff { left: 30%; right: auto; width: 42%; }
  .commerce-world .commerce-phone { width: 36%; }
  .mpesa-confirmation { left: 31%; width: 34%; }
  .merchant-ticket { width: 36%; }
  .vision-counter { width: 42%; }
  .release-console { width: 36%; }
  .region-cluster { width: 49%; }
}
@container (max-width: 350px) {
  .scene-story { font-size: .48rem; }
  .scene-story span { max-width: 62%; }
  .backend-confirmation,
  .trade-confirmation,
  .customer-update,
  .release-result {
    display: none;
  }
  .reference-stack i:nth-child(3) { display: none; }
  .reference-stack { height: 38%; }
  .decision-draft { width: 43%; }
  .vision-counter small { display: none; }
}
@media (max-width: 900px) {
  .capability-card {
    min-height: 0;
  }
  .capability-model {
    min-height: 270px;
    height: auto;
    aspect-ratio: 1.42;
  }
}
@media (max-width: 640px) {
  .capability-card {
    min-height: 0;
    padding: 1.35rem;
    border-radius: 22px;
  }
  .capability-model {
    min-height: 248px;
    height: auto;
    margin-block: 1.2rem 1.35rem;
    border-radius: 16px;
  }
  .card-outcome {
    margin-top: 1rem;
    padding: .85rem .9rem;
  }
  .card-tags {
    margin-top: 1rem;
  }
  .card-tags span {
    padding: .4rem .54rem;
    font-size: .7rem;
  }
  .card-open-indicator {
    margin-top: 1.25rem;
    padding-top: 1.2rem;
  }
}
@media (hover: none), (pointer: coarse) {
  .capability-card .card-glow {
    opacity: .48;
  }
  .capability-card .card-glow::before {
    filter: blur(6px);
  }
  .capability-model {
    transform: translate3d(0, 0, 24px);
  }
}
