.ambient-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}
.ambient-field img {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: var(--alpha);
  filter: saturate(.82) blur(var(--blur));
  transform: rotate(var(--tilt));
}
.ambient-field img:nth-child(1) {
  --x: 7%; --y: 13%; --size: clamp(39px, 4.4vw, 72px);
  --alpha: .68; --blur: 1px; --tilt: -16deg; --dx: 47px; --dy: 27px; --duration: 13s; --delay: -4s;
}
.ambient-field img:nth-child(2) {
  --x: 50%; --y: 15%; --size: clamp(27px, 2.7vw, 45px);
  --alpha: .54; --blur: 1.1px; --tilt: 15deg; --dx: -32px; --dy: 39px; --duration: 16s; --delay: -7s;
}
.ambient-field img:nth-child(3) {
  --x: 90%; --y: 5%; --size: clamp(68px, 8.5vw, 148px);
  --alpha: .42; --blur: 3px; --tilt: -21deg; --dx: -50px; --dy: 40px; --duration: 19s; --delay: -2s;
}
.ambient-field img:nth-child(4) {
  --x: 94%; --y: 65%; --size: clamp(52px, 5.2vw, 86px);
  --alpha: .62; --blur: 1.3px; --tilt: 14deg; --dx: -25px; --dy: -33px; --duration: 12s; --delay: -5s;
}
.ambient-field img:nth-child(5) {
  --x: 37%; --y: 70%; --size: clamp(47px, 4.9vw, 80px);
  --alpha: .40; --blur: 2.8px; --tilt: 20deg; --dx: 38px; --dy: -29px; --duration: 15s; --delay: -8s;
}
@media (prefers-reduced-motion: no-preference) {
  .ambient-field img {
    animation: token-current var(--duration) ease-in-out var(--delay) infinite alternate both paused;
  }
  .ambient-field.is-running img { animation-play-state: running; }
}
@keyframes token-current {
  0% { transform: translate3d(calc(0px - var(--dx)), 0, 0) rotate(var(--tilt)); }
  43% { transform: translate3d(0, var(--dy), 0) rotate(calc(var(--tilt) + 18deg)); }
  100% { transform: translate3d(var(--dx), calc(var(--dy) * -.36), 0) rotate(calc(var(--tilt) - 7deg)); }
}
.terminal-scene { position: relative; isolation: isolate; overflow: clip; }
.terminal-scene > .ambient-field { top: 195px; }
.terminal-scene > .ambient-field img:nth-child(1) { --x: -1%; --y: 20%; }
.terminal-scene > .ambient-field img:nth-child(2) { --x: 95%; --y: 35%; }
.terminal-scene > .ambient-field img:nth-child(3) { --x: 87%; --y: 83%; }
.terminal-scene > .ambient-field img:nth-child(4) { --x: -2%; --y: 75%; }
.terminal-scene > .main-grid { position: relative; }
.hero .ambient-field { z-index: -1; }
.hero .ambient-field img:nth-child(1) { --x: 54%; --y: 40%; }
.hero .ambient-field img:nth-child(2) { --x: 69%; --y: 9%; }
.hero .ambient-field img:nth-child(3) { --x: 93%; --y: -18%; }
.hero .ambient-field img:nth-child(4) { --x: 83%; --y: 55%; }
.hero .ambient-field img:nth-child(5) { display: none; }
@media(max-width:720px) {
  .depth-stage .ambient-field img:nth-child(1) { --x: 1%; --y: 46%; --dx: 19px; }
  .depth-stage .ambient-field img:nth-child(2) { --x: 75%; --y: 38%; --dx: 20px; --dy: 18px; }
  .depth-stage .ambient-field img:nth-child(3) { --x: 94%; --y: 0%; --dx: -20px; }
  .depth-stage .ambient-field img:nth-child(4) { --x: 90%; --y: 73%; --dx: -16px; }
  .depth-stage .ambient-field img:nth-child(5) { --x: 6%; --y: 78%; --dx: 20px; --dy: -24px; }
  .hero .ambient-field img:nth-child(1) { --x: 79%; --y: 45%; --dx: 19px; --dy: 13px; }
  .hero .ambient-field img:nth-child(2) { --x: 83%; --y: 3%; --dx: 15px; --dy: 12px; }
  .hero .ambient-field img:nth-child(3) { display: none; }
  .hero .ambient-field img:nth-child(4) { --x: 96%; --y: 64%; --dx: -13px; --dy: -9px; }
}
@media(max-width:360px) {
  .depth-baseline dl { gap: 14px; }
  .depth-baseline dd { font-size: 1.45rem; }
}
