:root {
  --v3-blue: #276b98;
  --v3-blue-soft: #8db7cf;
  --v3-ink: #10293b;
  --v3-paper: #f3f7fa;
  --v3-line: rgba(26, 67, 94, .11);
}

/* Scene 01 — a sharp athletic subject; mouse response is depth, not a cursor effect. */
.premium-human-frame { cursor: default; }
.hero-picture {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  overflow: hidden;
}
.hero-picture .premium-human-poster {
  inset: -1.5%;
  width: 103%;
  height: 103%;
}
.premium-human-poster {
  object-position: 54% 50%;
  filter: saturate(.83) contrast(1.045) brightness(1.005);
  transform:
    translate3d(calc(var(--hero-x, 0) * -5px), calc(var(--hero-y, 0) * -3px - var(--p, 0) * .7%), 0)
    scale(calc(1.026 + var(--p, 0) * .02));
  transition: filter .4s ease;
}
.hero-focus-poster,
.hero-pointer-field { display: none !important; }
.hero-depth-plane {
  position: absolute;
  z-index: 3;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: .55;
  transform: translate3d(calc(var(--hero-x, 0) * 2px), calc(var(--hero-y, 0) * 1px), 0);
}
.hero-depth-plane::before {
  content: "";
  position: absolute;
  left: 53%;
  right: 2.5%;
  bottom: 9.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(38,105,148,.22), transparent);
}
.hero-depth-plane i {
  position: absolute;
  right: 5.5%;
  bottom: calc(10% + var(--i, 0) * 6.5%);
  width: calc(18% + var(--i, 0) * 5%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(41,108,151,.13), transparent);
  transform: translateX(calc(var(--hero-x, 0) * (3px + var(--i, 0) * 2px)));
}
.hero-depth-plane i:nth-child(1) { --i: 0; }
.hero-depth-plane i:nth-child(2) { --i: 1; }
.hero-depth-plane i:nth-child(3) { --i: 2; }
.premium-home .human-wash {
  background:
    linear-gradient(90deg, rgba(243,247,250,.98) 0%, rgba(243,247,250,.92) 26%, rgba(243,247,250,.55) 42%, rgba(243,247,250,.08) 59%, transparent 76%),
    linear-gradient(0deg, rgba(243,247,250,.98) 0%, rgba(243,247,250,.52) 8%, transparent 24%),
    linear-gradient(180deg, rgba(243,247,250,.14), transparent 34%, rgba(20,52,74,.025));
}

/* Shared scene texture: visible only as structure, never as decoration. */
.gait-frame,
.shared-frame,
.deploy-frame { background-color: var(--v3-paper); }
.gait-frame::before,
.shared-frame::before,
.deploy-frame::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 70% 54%, rgba(85,145,181,.07), transparent 28%),
    repeating-linear-gradient(90deg, transparent 0 79px, rgba(34,79,107,.028) 80px, transparent 81px),
    repeating-linear-gradient(0deg, transparent 0 79px, rgba(34,79,107,.022) 80px, transparent 81px);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 88%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 20%, #000 88%, transparent);
}

/* Scene 02 — four signals become one continuous action. */
.signal-matrix {
  position: absolute;
  left: 7vw;
  right: 7vw;
  top: 27%;
  bottom: 8%;
  border-top: 1px solid var(--v3-line);
  border-bottom: 1px solid var(--v3-line);
  background: linear-gradient(90deg, rgba(255,255,255,.35), transparent 28%, transparent 72%, rgba(255,255,255,.35));
  opacity: .75;
}
.signal-matrix::before,
.signal-matrix::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), rgba(32,76,103,.05) 10%);
}
.signal-matrix::after {
  background: repeating-linear-gradient(0deg, transparent 0 calc(20% - 1px), rgba(32,76,103,.04) 20%);
}
.signal-atlas {
  position: absolute;
  z-index: 7;
  top: 18%;
  right: 7vw;
  display: grid;
  grid-template-columns: repeat(4, minmax(94px, 1fr));
  width: min(52vw, 710px);
  border-top: 1px solid rgba(32,75,103,.14);
}
.signal-atlas > span { position: relative; padding: 14px 14px 12px 20px; border-right: 1px solid rgba(32,75,103,.09); }
.signal-atlas > span:first-child { border-left: 1px solid rgba(32,75,103,.09); }
.signal-atlas i { position: absolute; left: 9px; top: 18px; width: 4px; height: 4px; border-radius: 50%; background: var(--v3-blue); box-shadow: 0 0 12px rgba(39,107,152,.34); }
.signal-atlas b,
.signal-atlas em { display: block; font: 650 8px/1.2 ui-monospace, monospace; letter-spacing: .1em; }
.signal-atlas b { color: #315b77; }
.signal-atlas em { margin-top: 6px; color: #91a0aa; font-style: normal; font-size: 7px; }
.signal-reading {
  position: absolute;
  z-index: 8;
  left: 39vw;
  bottom: 9.5%;
  width: min(300px, 24vw);
  padding: 18px 20px;
  border-left: 1px solid rgba(38,105,148,.35);
  background: rgba(248,251,253,.58);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.signal-reading > span { color: #6d8ba0; font: 650 8px/1 ui-monospace, monospace; letter-spacing: .14em; }
.signal-reading b { display: block; margin-top: 11px; color: var(--v3-ink); font-size: 15px; font-weight: 600; }
.signal-reading p { margin: 8px 0 0; color: #647b8c; font-size: 11px; line-height: 1.7; }
.waveform-field::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 24px;
  bottom: 12px;
  left: 8%;
  width: 14%;
  background: linear-gradient(90deg, transparent, rgba(78,141,181,.07), transparent);
  animation: v3SignalScan 6s ease-in-out infinite;
}

/* Scene 03 — the shared representation is now the visual centre. */
.shared-frame { background: #eaf1f5; }
.shared-copy { width: 34vw; }
.shared-copy h2 { font-size: clamp(45px, 5.2vw, 78px); }
.shared-space-stage-v3 {
  position: absolute;
  z-index: 5;
  left: 39vw;
  right: 5vw;
  top: 16%;
  bottom: 12%;
  overflow: hidden;
  border-radius: 36px;
  background:
    radial-gradient(circle at 53% 53%, rgba(255,255,255,.9), rgba(219,233,241,.52) 33%, rgba(213,228,237,.18) 58%, transparent 73%),
    linear-gradient(145deg, rgba(255,255,255,.46), rgba(215,230,239,.32));
  box-shadow: inset 0 0 0 1px rgba(31,76,104,.06), 0 30px 80px rgba(43,76,96,.07);
  opacity: clamp(.36, calc(.42 + var(--p, 0) * .58), 1);
  transform: translateY(calc((1 - var(--p, 0)) * 18px));
}
.shared-space-stage-v3::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-radial-gradient(circle at 53% 53%, transparent 0 42px, rgba(35,81,110,.035) 43px, transparent 44px),
    linear-gradient(90deg, transparent 49.9%, rgba(30,74,103,.055) 50%, transparent 50.1%),
    linear-gradient(0deg, transparent 49.9%, rgba(30,74,103,.045) 50%, transparent 50.1%);
}
.space-orbit {
  position: absolute;
  left: 53%;
  top: 53%;
  border: 1px solid rgba(39,105,147,.18);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(var(--r));
  animation: v3Orbit 18s linear infinite;
}
.orbit-a { width: 58%; height: 34%; --r: 12deg; }
.orbit-b { width: 45%; height: 57%; --r: -24deg; animation-duration: 23s; animation-direction: reverse; }
.orbit-c { width: 72%; height: 62%; --r: 38deg; animation-duration: 29s; }
.space-cloud {
  position: absolute;
  left: 53%;
  top: 53%;
  width: min(24vw, 330px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.96), rgba(111,169,201,.16) 42%, rgba(57,118,157,.035) 64%, transparent 72%);
  box-shadow: 0 0 90px rgba(71,134,170,.15);
  transform: translate(-50%, -50%);
}
.space-cloud::before,
.space-cloud::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(43,108,149,.13);
  border-radius: 50%;
}
.space-cloud::after { inset: 25%; border-style: dashed; animation: v3CoreSpin 24s linear infinite; }
.space-cloud > i {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s, 4px);
  height: var(--s, 4px);
  border-radius: 50%;
  background: rgba(39,107,152,.7);
  box-shadow: 0 0 12px rgba(39,107,152,.25);
  animation: v3Point 4.8s ease-in-out infinite alternate;
}
.space-cloud > i:nth-child(1) { --x:19%; --y:42%; --s:3px; }
.space-cloud > i:nth-child(2) { --x:27%; --y:24%; --s:6px; animation-delay:-1s; }
.space-cloud > i:nth-child(3) { --x:36%; --y:58%; --s:4px; animation-delay:-2.2s; }
.space-cloud > i:nth-child(4) { --x:43%; --y:18%; --s:3px; animation-delay:-.5s; }
.space-cloud > i:nth-child(5) { --x:49%; --y:72%; --s:5px; animation-delay:-3s; }
.space-cloud > i:nth-child(6) { --x:56%; --y:34%; --s:4px; animation-delay:-1.8s; }
.space-cloud > i:nth-child(7) { --x:64%; --y:18%; --s:5px; animation-delay:-2.8s; }
.space-cloud > i:nth-child(8) { --x:72%; --y:48%; --s:3px; animation-delay:-.7s; }
.space-cloud > i:nth-child(9) { --x:79%; --y:65%; --s:6px; animation-delay:-2.4s; }
.space-cloud > i:nth-child(10) { --x:22%; --y:71%; --s:4px; animation-delay:-3.5s; }
.space-cloud > i:nth-child(11) { --x:32%; --y:80%; --s:3px; animation-delay:-1.2s; }
.space-cloud > i:nth-child(12) { --x:39%; --y:39%; --s:5px; animation-delay:-3.1s; }
.space-cloud > i:nth-child(13) { --x:47%; --y:49%; --s:3px; animation-delay:-1.7s; }
.space-cloud > i:nth-child(14) { --x:58%; --y:62%; --s:6px; animation-delay:-2.1s; }
.space-cloud > i:nth-child(15) { --x:67%; --y:76%; --s:3px; animation-delay:-.9s; }
.space-cloud > i:nth-child(16) { --x:77%; --y:30%; --s:4px; animation-delay:-2.6s; }
.space-cloud > i:nth-child(17) { --x:15%; --y:57%; --s:5px; animation-delay:-1.5s; }
.space-cloud > i:nth-child(18) { --x:85%; --y:51%; --s:3px; animation-delay:-3.3s; }
.space-cloud > i:nth-child(19) { --x:51%; --y:12%; --s:4px; animation-delay:-2s; }
.space-cloud > i:nth-child(20) { --x:60%; --y:86%; --s:5px; animation-delay:-.4s; }
.space-cloud strong {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  color: #153d58;
  text-align: center;
  transform: translate(-50%, -50%);
}
.space-cloud strong small { display: block; margin-bottom: 6px; color: #6b91a9; font: 650 7px/1 ui-monospace, monospace; letter-spacing: .2em; }
.space-cloud strong span { font: 600 clamp(12px,1.2vw,17px)/1.2 ui-monospace, monospace; letter-spacing: .12em; }
.representation-bands { position: absolute; inset: 0; }
.representation-bands span {
  position: absolute;
  padding: 7px 10px;
  color: #678398;
  border: 1px solid rgba(36,84,114,.1);
  border-radius: 999px;
  background: rgba(255,255,255,.48);
  font: 650 7px/1 ui-monospace, monospace;
  letter-spacing: .12em;
}
.representation-bands span:nth-child(1) { left: 8%; top: 31%; }
.representation-bands span:nth-child(2) { right: 8%; top: 26%; }
.representation-bands span:nth-child(3) { left: 12%; bottom: 25%; }
.representation-bands span:nth-child(4) { right: 10%; bottom: 24%; }
.space-annotation {
  position: absolute;
  right: 5%;
  top: 5%;
  max-width: 220px;
  padding-left: 16px;
  border-left: 1px solid rgba(39,107,152,.28);
}
.space-annotation span { color: #6e8da1; font: 650 7px/1 ui-monospace, monospace; letter-spacing: .14em; }
.space-annotation b { display: block; margin-top: 9px; color: #2b526b; font-size: 11px; font-weight: 600; line-height: 1.55; }
.space-process {
  position: absolute;
  z-index: 12;
  left: 7vw;
  right: 7vw;
  bottom: 6%;
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  gap: 14px;
}
.space-process span { display: flex; align-items: center; gap: 8px; color: #3b6077; }
.space-process i,
.space-process b { font: 650 8px/1 ui-monospace, monospace; letter-spacing: .1em; }
.space-process i { color: #8ca1ae; font-style: normal; }
.space-process em { height: 1px; background: linear-gradient(90deg, rgba(39,107,152,.3), rgba(39,107,152,.06)); }
.space-core-label { display: none; }

/* Scene 04 — the model expands into useful capability, not a row of gadgets. */
.deploy-meta-bar {
  position: absolute;
  z-index: 8;
  right: 7vw;
  top: 19%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(43vw, 620px);
  border-top: 1px solid rgba(31,76,105,.15);
}
.deploy-meta-bar span { position: relative; padding: 14px 14px 0; border-left: 1px solid rgba(31,76,105,.09); }
.deploy-meta-bar i,
.deploy-meta-bar b,
.deploy-meta-bar em { display: block; font: 650 7px/1 ui-monospace, monospace; letter-spacing: .11em; }
.deploy-meta-bar i { color: #9caab3; font-style: normal; }
.deploy-meta-bar b { margin-top: 8px; color: #355d77; }
.deploy-meta-bar em { margin-top: 6px; color: #7f939f; font-style: normal; }
.deploy-model-node {
  left: 52.5%;
  top: 61%;
  min-width: 132px;
  padding: 49px 14px;
  border: 1px solid rgba(42,107,150,.22);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.97), rgba(222,235,243,.86));
  box-shadow: 0 0 0 18px rgba(68,132,170,.045), 0 0 70px rgba(58,119,157,.12);
}
.deploy-model-node::before,
.deploy-model-node::after {
  content: "";
  position: absolute;
  inset: -15px;
  border: 1px solid rgba(42,107,150,.12);
  border-radius: 50%;
  animation: v3CorePulse 5s ease-in-out infinite;
}
.deploy-model-node::after { inset: -31px; animation-delay: -2.5s; }
.deploy-model-node span { position: relative; z-index: 2; }
.deploy-devices { display: none; }
.capability-constellation {
  position: absolute;
  z-index: 7;
  right: 6vw;
  top: 37%;
  width: min(32vw, 470px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.capability-constellation article {
  position: relative;
  min-height: 116px;
  padding: 18px 18px 16px;
  overflow: hidden;
  border: 1px solid rgba(31,77,106,.09);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255,255,255,.75), rgba(226,236,242,.54));
  box-shadow: 0 14px 36px rgba(38,72,94,.055);
  opacity: clamp(.24, calc((var(--p, 0) - .18) * 3), 1);
  transform: translateY(calc((1 - var(--p, 0)) * 12px));
}
.capability-constellation article > span { color: #8ea1ad; font: 650 7px/1 ui-monospace, monospace; }
.capability-constellation b { display: block; margin-top: 14px; color: #193e56; font-size: 16px; font-weight: 600; }
.capability-constellation em { position: absolute; left: 18px; bottom: 15px; color: #8297a4; font: 650 7px/1 ui-monospace, monospace; font-style: normal; letter-spacing: .1em; }
.capability-constellation i {
  position: absolute;
  right: 15px;
  bottom: 17px;
  width: 48px;
  height: 17px;
  border-top: 1px solid rgba(39,107,152,.4);
  border-radius: 50%;
  transform: rotate(-9deg);
}
.capability-constellation i::after { content:""; position:absolute; right:2px; top:-3px; width:5px; height:5px; border-radius:50%; background:#c6a34d; }
.rich-sensing-visual { width: min(39vw, 580px); }

@keyframes v3SignalScan {
  0%, 100% { transform: translateX(0); opacity: .2; }
  50% { transform: translateX(510%); opacity: .75; }
}
@keyframes v3Orbit { to { transform: translate(-50%, -50%) rotate(calc(var(--r) + 360deg)); } }
@keyframes v3CoreSpin { to { transform: rotate(360deg); } }
@keyframes v3Point { to { opacity: .35; transform: translate3d(5px,-6px,0) scale(.72); } }
@keyframes v3CorePulse { 50% { transform: scale(1.045); opacity: .42; } }

@media (max-width: 980px) {
  .signal-atlas { width: 58vw; }
  .shared-space-stage-v3 { left: 34vw; right: 3vw; }
  .shared-copy { width: 48vw; }
  .capability-constellation { right: 4vw; width: 34vw; }
}

@media (max-width: 720px) {
  .hero-picture .premium-human-poster {
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .premium-human-poster {
    object-position: 57% center;
    filter: saturate(.82) contrast(1.04);
    transform: scale(calc(1.006 + var(--p, 0) * .012));
    transform-origin: 58% 58%;
  }
  .hero-depth-plane { display: none; }
  .premium-home .human-wash {
    background:
      linear-gradient(180deg, rgba(243,247,250,.98) 0%, rgba(243,247,250,.94) 25%, rgba(243,247,250,.62) 48%, rgba(243,247,250,.12) 67%, rgba(243,247,250,.86) 100%),
      linear-gradient(90deg, rgba(243,247,250,.6), transparent 72%);
  }

  .signal-matrix { left: 18px; right: 18px; top: 29%; bottom: 8%; }
  .signal-atlas { top: 26%; left: 22px; right: 22px; width: auto; grid-template-columns: repeat(4,1fr); }
  .signal-atlas > span { padding: 10px 3px 9px 12px; }
  .signal-atlas i { left: 3px; top: 13px; }
  .signal-atlas b { font-size: 6px; }
  .signal-atlas em { display: none; }
  .signal-reading { left: 22px; bottom: 7%; width: 47vw; padding: 12px 13px; }
  .signal-reading b { font-size: 11px; }
  .signal-reading p { display: none; }

  .shared-copy { width: auto; }
  .shared-space-stage-v3 { left: 18px; right: 18px; top: 35%; bottom: 15%; border-radius: 22px; }
  .space-cloud { width: 48vw; }
  .space-annotation { top: 4%; right: 4%; max-width: 145px; }
  .space-annotation b { font-size: 8px; }
  .representation-bands span { padding: 5px 6px; font-size: 5px; }
  .device-orbit { display: none; }
  .space-process { left: 22px; right: 22px; bottom: 8%; gap: 7px; }
  .space-process i { display: none; }
  .space-process b { font-size: 6px; }

  .deploy-meta-bar { left: 22px; right: 22px; top: 27%; width: auto; }
  .deploy-meta-bar span { padding: 9px 7px 0; }
  .deploy-meta-bar b { font-size: 6px; }
  .deploy-meta-bar em { display: none; }
  .rich-sensing-visual { top: 37%; height: 34%; }
  .deploy-flow { top: 65%; }
  .deploy-model-node { left: 50%; top: 70%; min-width: 88px; padding: 32px 8px; font-size: 9px; }
  .capability-constellation { left: 18px; right: 18px; top: 76%; width: auto; grid-template-columns: repeat(4,1fr); gap: 6px; }
  .capability-constellation article { min-height: 72px; padding: 10px 8px; border-radius: 9px; }
  .capability-constellation b { margin-top: 8px; font-size: 9px; }
  .capability-constellation em,
  .capability-constellation i { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .space-orbit,
  .space-cloud::after,
  .space-cloud > i,
  .deploy-model-node::before,
  .deploy-model-node::after,
  .waveform-field::after { animation: none; }
}
