

@property --stage-lit {
  syntax: "<percentage>";
  inherits: true;
  initial-value: 78%;
}

@property --pool-on {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}

.stage {
  --accent: var(--pst-blue);
  --figure-x: 73%;
  --px: 0;
  --py: 0;
  --sx: 0;
  --sy: 0;
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(540px, 76svh, 800px);
  margin-top: calc(-1 * var(--header-h));
  padding-top: var(--header-h);
  overflow: clip;
  transition: --pool-on 400ms var(--ease-arrive);
}

.stage.is-pointing {
  --pool-on: 1;
}

.stage-scene {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.stage-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 46% 62% at var(--figure-x) 44%, color-mix(in srgb, var(--accent) var(--backdrop-core, 62%), #1c2a78) 0%, #171c58 34%, #0e1133 60%, transparent 86%),
    radial-gradient(ellipse 60% 50% at 8% 108%, #5a2f9a40, transparent 70%),
    var(--pst-void);
}

.stage-backdrop::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 26%;
  background: linear-gradient(180deg, transparent, var(--pst-void));
}

.stage-floor {
  position: absolute;
  bottom: -6%;
  left: calc(var(--figure-x) - 110vw);
  width: 220vw;
  height: 52%;
  background:
    repeating-linear-gradient(90deg, transparent 0 calc(5% - 1px), color-mix(in srgb, var(--accent) 70%, #7fd6ff) calc(5% - 1px) 5%),
    repeating-linear-gradient(0deg, transparent 0 calc(12% - 1px), #a66bff99 calc(12% - 1px) 12%);
  opacity: 0.5;
  transform: perspective(520px) rotateX(66deg);
  transform-origin: 50% 0;
  mask-image: radial-gradient(ellipse var(--stage-lit) var(--stage-lit) at 50% 8%, #000 8%, transparent 96%);
  animation: stage-floor-light 900ms 650ms var(--ease-arrive) backwards;
}

.stage-pool,
.stage--pipeline .stage-scene::after {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle 340px at
      calc(var(--figure-x) + (50% + var(--sx) * 50% - var(--figure-x)) * var(--pool-on))
      calc(58% + (50% + var(--sy) * 50% - 58%) * var(--pool-on)),
    color-mix(in srgb, var(--accent) 40%, #7fe9ff) 0%,
    transparent 100%
  );
  mix-blend-mode: screen;
  opacity: 0.22;
}

.stage-dust {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: stage-fade-in 900ms 1500ms ease forwards;
}

.stage-pulse {
  position: absolute;
  top: 61%;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #eaffff;
  box-shadow: 0 0 10px 3px var(--pst-cyan), -14px 0 12px 1px #46e4ff80, -30px 0 14px 0 #46e4ff33;
  opacity: 0;
  animation: stage-pulse-run 9s linear infinite;
}

.stage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
  gap: clamp(16px, 3vw, 48px);
  padding-block: clamp(36px, 5vw, 72px);
}

.stage-copy {
  position: relative;
  z-index: 2;
}

.stage-copy h1 {
  margin-bottom: 0.42em;
  text-shadow: 0 2px 30px #050816cc;
}

.stage-copy p {
  max-width: 56ch;
  margin-bottom: 1.6em;
  color: #d3dcf5;
  font-size: var(--type-lead);
  text-shadow: 0 1px 18px #050816;
}

.stage-figure {
  position: relative;
  justify-self: center;
  width: min(100%, 600px);
  aspect-ratio: 1;
  transform: perspective(1100px) rotateY(calc(var(--px) * 3.2deg)) rotateX(calc(var(--py) * -2.4deg)) translate3d(calc(var(--px) * 9px), calc(var(--py) * 6px), 0);
  transition: transform 500ms var(--ease-arrive);
}

.stage-ring {
  position: absolute;
  bottom: 5%;
  left: 50%;
  z-index: -1;
  width: 78%;
  aspect-ratio: 4.2;
  border: 1px solid color-mix(in srgb, var(--accent) 70%, #9fe9ff);
  border-radius: 50%;
  background: radial-gradient(ellipse, color-mix(in srgb, var(--accent) 55%, transparent) 0%, transparent 68%);
  box-shadow: 0 0 34px color-mix(in srgb, var(--accent) 80%, transparent), inset 0 0 26px color-mix(in srgb, var(--accent) 60%, transparent);
  transform: translateX(-50%);
  animation: stage-ring-beat 9s linear infinite;
}

.stage-art {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter:
    drop-shadow(calc(var(--px) * -18px) calc(var(--py) * -12px) 22px color-mix(in srgb, var(--accent) 55%, #46e4ff 30%))
    drop-shadow(16px 18px 46px #8a4dff66);
  animation:
    stage-art-power 900ms 850ms var(--ease-arrive) backwards,
    stage-art-float 6s 1800ms ease-in-out infinite;
  view-transition-name: hero-art;
}

.stage--home {
  min-height: clamp(640px, 100svh, 940px);
}

.stage--home .stage-copy h1 {
  --stage-rest-shadow: 0 2px 30px #050816cc;
  font-size: var(--type-hero);
  letter-spacing: -0.05em;
  line-height: 1.0;
}

.stage--home .stage-figure {
  width: min(108%, 700px);
}

.stage--home .stage-art {
  view-transition-name: none;
}

.stage--home .stage-copy :is(h1, p) {
  animation: stage-impact-text 9s linear infinite;
}

.stage--home .stage-figure {
  animation: stage-impact-figure 9s linear infinite;
}

.stage:is(.stage--blueprint, .stage--pipeline, .stage--array, .stage--neural) .stage-copy h1::after {
  content: "";
  display: block;
  width: min(240px, 60%);
  height: 7px;
  margin-top: 0.5em;
  border: solid var(--pst-line-strong);
  border-width: 0 1px 1px;
}

.stage--blueprint {
  --accent: var(--pst-blue);
}

.stage--blueprint .stage-backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-radial-gradient(circle at var(--figure-x) 52%, transparent 0 86px, #9dbcff3d 86px 87px),
    linear-gradient(#7fa8ff1c 1px, transparent 1px) 0 0 / 46px 46px,
    linear-gradient(90deg, #7fa8ff1c 1px, transparent 1px) 0 0 / 46px 46px;
  mask-image: radial-gradient(ellipse var(--stage-lit) calc(var(--stage-lit) * 1.1) at var(--figure-x) 52%, #000 10%, transparent 92%);
  animation: stage-floor-light 1400ms 300ms var(--ease-arrive) backwards;
}

.stage--blueprint .stage-floor {
  display: none;
}

.stage--pipeline {
  --accent: var(--pst-teal);
  --figure-x: 27%;
}

.stage--pipeline .stage-grid {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
}

.stage--pipeline .stage-copy {
  grid-column: 2;
  grid-row: 1;
}

.stage--pipeline .stage-figure {
  grid-column: 1;
  grid-row: 1;
}

.stage--pipeline .stage-art {
  translate: 0 -7%;
}

.stage--pipeline .stage-backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(#2ed3c666, #2ed3c666) 0 34% / 100% 1px no-repeat,
    linear-gradient(#46e4ff59, #46e4ff59) 0 50% / 100% 1px no-repeat,
    linear-gradient(#2ed3c64d, #2ed3c64d) 0 66% / 100% 1px no-repeat,
    linear-gradient(#72ffac, #72ffac00) 50% 28% / 1px 44% no-repeat;
  mask-image: linear-gradient(90deg, transparent, #000 18% 82%, transparent);
}

.stage--pipeline .stage-pool {
  inset: 0;
  background:
    radial-gradient(circle, #f2ffff 0 1.6px, #46e4ff 2.4px, transparent 6px) 0 34% / 280px 12px repeat-x,
    radial-gradient(circle, #f2ffff 0 1.6px, #2ed3c6 2.4px, transparent 6px) 0 50% / 360px 12px repeat-x,
    radial-gradient(circle, #f2ffff 0 1.6px, #72ffac 2.4px, transparent 6px) 0 66% / 440px 12px repeat-x;
  mix-blend-mode: screen;
  opacity: 0.9;
  mask-image: linear-gradient(90deg, transparent, #000 18% 82%, transparent);
  animation: stage-lanes 7s linear infinite;
}

.stage--pipeline .stage-pulse {
  top: 76%;
  box-shadow: 0 0 10px 3px var(--pst-cyan), 14px 0 12px 1px #46e4ff80, 30px 0 14px 0 #46e4ff33;
  animation-name: stage-pulse-run-reverse;
}

.stage--pipeline .stage-scene::after {
  content: "";
}

.stage--array {
  --accent: var(--pst-indigo);
  --figure-x: 70%;
}

.stage--array .stage-backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='220' fill='none' stroke='%239aa6ff' stroke-opacity='.42' stroke-width='1'%3E%3Crect x='18' y='20' width='44' height='78' rx='6'/%3E%3Cpath d='M32 28h16'/%3E%3Crect x='96' y='30' width='116' height='72' rx='4'/%3E%3Cpath d='M96 46h116M104 38h3M111 38h3'/%3E%3Cpath d='M40 140c-8 0-8 8-8 14s0 10-8 10c8 0 8 4 8 10s0 14 8 14M80 140c8 0 8 8 8 14s0 10 8 10c-8 0-8 4-8 10s0 14-8 14'/%3E%3Cellipse cx='170' cy='134' rx='20' ry='6'/%3E%3Cpath d='M150 134v52a20 6 0 0 0 40 0v-52M150 151a20 6 0 0 0 40 0M150 168a20 6 0 0 0 40 0'/%3E%3C/svg%3E") 0 0 / 260px 220px;
  mask-image: radial-gradient(ellipse var(--stage-lit) calc(var(--stage-lit) * 1.15) at var(--figure-x) 50%, #000 12%, transparent 90%);
  animation: stage-floor-light 1600ms 300ms var(--ease-arrive) backwards;
}

.stage--array .stage-figure {
  align-self: end;
  width: min(116%, 700px);
  margin-bottom: -9%;
  translate: 0 -12%; 
}

.stage--array .stage-copy {
  align-self: start;
  padding-top: clamp(20px, 5vw, 70px);
}

.stage--array .stage-art {
  translate: 0 3%;
  scale: 0.84;
}

.stage--neural {
  --accent: var(--pst-purple);
  --figure-x: 68%;
}

.stage--neural .stage-backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle, #e2cfff 0 1.3px, transparent 2.2px) 0 0 / 52px 45px,
    radial-gradient(circle, #e2cfff 0 1.3px, transparent 2.2px) 26px 22.5px / 52px 45px,
    repeating-linear-gradient(60deg, transparent 0 44px, #b98aff33 44px 45px),
    repeating-linear-gradient(-60deg, transparent 0 44px, #b98aff33 44px 45px);
  mask-image:
    radial-gradient(circle 260px at calc(50% + var(--px) * 50%) calc(50% + var(--py) * 50%), #000, transparent),
    radial-gradient(ellipse var(--stage-lit) var(--stage-lit) at var(--figure-x) 50%, #000a 6%, transparent 78%);
  animation: stage-floor-light 1600ms 300ms var(--ease-arrive) backwards;
}

.stage--neural .stage-art {
  translate: 0 -5%;
}

.stage--compact {
  --accent: var(--pst-blue);
  min-height: 0;
}

.stage--compact .stage-grid {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  padding-block: clamp(28px, 4vw, 52px);
}

.stage--compact .stage-figure {
  width: min(100%, 300px);
}

.stage--compact .stage-pulse {
  top: 74%;
}

.stage--reading {
  --reading-art: min(38vw, 500px, max(240px, calc(76svh - 216px)));
}

.stage--reading .stage-grid {
  padding-block: clamp(28px, 4vw, 52px);
}

.stage--reading .stage-figure {
  width: min(100%, var(--reading-art));
}

.stage--reading .stage-art {
  translate: var(--stage-art-offset, 0 0);
}

.stage--reading .stage-pulse {
  top: calc(50% + var(--header-h) / 2 - 4.5px + var(--reading-art) * 0.357);
}

.stage--lab {
  --accent: var(--pst-cyan);
  --figure-x: 70%;
  --backdrop-core: 20%;
}

.stage-lineup {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 10px;
}

.stage-lineup a {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 6px 8px 12px;
  color: var(--pst-text);
  font-size: var(--type-small);
  font-weight: 700;
  text-align: center;
}

.stage-lineup a::before {
  content: "";
  position: absolute;
  bottom: 30px;
  left: 50%;
  z-index: -1;
  width: 70%;
  aspect-ratio: 4;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: radial-gradient(ellipse, color-mix(in srgb, var(--accent) 55%, transparent), transparent 70%);
  box-shadow: 0 0 24px color-mix(in srgb, var(--accent) 70%, transparent);
  opacity: 0.55;
  transform: translateX(-50%);
  transition: opacity var(--time-state);
}

.stage-lineup img {
  width: min(100%, 190px);
  aspect-ratio: 1;
  object-fit: contain;
  filter: brightness(0.82) drop-shadow(0 0 16px color-mix(in srgb, var(--accent) 55%, transparent));
  transition: filter var(--time-state), transform var(--time-state) var(--ease-arrive);
}

.stage-lineup a:hover img,
.stage-lineup a:focus-visible img {
  filter: brightness(1.08) drop-shadow(0 0 26px color-mix(in srgb, var(--accent) 80%, transparent));
  transform: translateY(-6px);
}

.stage-lineup a:hover::before,
.stage-lineup a:focus-visible::before {
  opacity: 1;
}

.stage-lineup a::before {
  animation: stage-lineup-beat 9s linear infinite;
}

@keyframes stage-floor-light {
  from {
    --stage-lit: 0%;
    opacity: 0;
  }
}

@keyframes stage-fade-in {
  to {
    opacity: 1;
  }
}

@keyframes stage-pulse-run {
  0% {
    left: 0;
    opacity: 0;
  }

  1% {
    opacity: 1;
  }

  6.5% {
    left: var(--figure-x);
    opacity: 1;
  }

  7.5%,
  100% {
    left: var(--figure-x);
    opacity: 0;
  }
}

@keyframes stage-pulse-run-reverse {
  0% {
    left: 100%;
    opacity: 0;
  }

  1% {
    opacity: 1;
  }

  6.5% {
    left: var(--figure-x);
    opacity: 1;
  }

  7.5%,
  100% {
    left: var(--figure-x);
    opacity: 0;
  }
}

@keyframes stage-ring-beat {
  0%,
  6% {
    opacity: 0.55;
    transform: translateX(-50%) scale(1);
  }

  8% {
    opacity: 1;
    filter: brightness(1.9);
    transform: translateX(-50%) scale(1.08);
  }

  16% {
    opacity: 0.8;
    filter: brightness(1);
    transform: translateX(-50%) scale(1);
  }

  58% {
    opacity: 0.62;
  }

  100% {
    opacity: 0.55;
    transform: translateX(-50%) scale(1);
  }
}

@keyframes stage-lineup-beat {
  0%,
  6% {
    filter: none;
    scale: 1;
    box-shadow: 0 0 24px color-mix(in srgb, var(--accent) 70%, transparent);
  }

  8% {
    filter: brightness(1.9);
    scale: 1.08;
    box-shadow: 0 0 34px 6px color-mix(in srgb, var(--accent) 95%, transparent), inset 0 0 18px color-mix(in srgb, var(--accent) 80%, transparent);
  }

  16%,
  100% {
    filter: none;
    scale: 1;
    box-shadow: 0 0 24px color-mix(in srgb, var(--accent) 70%, transparent);
  }
}

@keyframes stage-art-power {
  from {
    filter: brightness(0.1) saturate(0) drop-shadow(0 0 0 transparent) drop-shadow(0 0 0 transparent);
  }

  60% {
    filter: brightness(1.25) saturate(1.15) drop-shadow(0 0 30px #46e4ffb3) drop-shadow(16px 18px 46px #8a4dff66);
  }
}

@keyframes stage-art-float {
  50% {
    transform: translateY(-7px);
  }
}

@keyframes stage-impact-figure {
  0%,
  6.49% {
    transform: none;
    filter: none;
  }

  6.5%,
  8.25% {
    transform: translate(-4px, 1px) skewX(1deg);
    filter: hue-rotate(14deg);
  }

  8.26%,
  10.25% {
    transform: translate(4px, -1px) skewX(-1deg);
    filter: hue-rotate(-12deg);
  }

  10.26%,
  100% {
    transform: none;
    filter: none;
  }
}

@keyframes stage-impact-text {
  0%,
  6.49% {
    opacity: 1;
    transform: none;
    text-shadow: var(--stage-rest-shadow, 0 1px 18px #050816);
  }

  6.5%,
  8.25% {
    opacity: 1;
    transform: translateX(-2px) skewX(2deg);
    text-shadow: 2px 0 #ff479e9e, -3px 0 #50c8ffbf;
  }

  8.26%,
  10.25% {
    opacity: 1;
    transform: translateX(2px) skewX(-1deg);
    text-shadow: -2px 0 #aa67ffbf, 3px 0 #80ffb6a6;
  }

  10.26% {
    opacity: 0.86;
    transform: none;
    text-shadow: 1px 0 #a869ff;
  }

  11.9% {
    opacity: 1;
  }

  13.3% {
    opacity: 0.92;
    text-shadow: 0 0 10px #386aff88;
  }

  17.5%,
  100% {
    opacity: 1;
    transform: none;
    text-shadow: var(--stage-rest-shadow, 0 1px 18px #050816);
  }
}

@keyframes stage-lanes {
  to {
    background-position: 280px 34%, 720px 50%, 440px 66%;
  }
}

@media (max-width: 1000px) {
  
  .stage-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  }

 .stage--pipeline .stage-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  }
}

@media (min-width: 319px) and (max-width: 341px) {

.stage-lineup a[href$="#platinumzero"] img {
  scale: 0.7;
  translate: 0 16%;
}

.stage-lineup a[href$="#platinumzero"]::before {
  bottom: 15px;
  left: calc(50% + 8px);
}

.stage-lineup a[href$="#platinumzero"] span {
  translate: 0 6px;
}

  .stage-lineup a[href$="#swarm"] img {
    scale: 0.84;
    translate: 0 15%;
  }

  .stage-lineup a[href$="#codesweep"] img {
    scale: 0.7;
    translate: 0 16%;
  }

.stage--lab .stage-lineup a[href$="#ai-agents-tooling"] img {
  scale: 1;
  translate: 0 25%;
}

.stage-lineup a[href$="#ai-agents-tooling"]::before {
  bottom: 20px;
  left: calc(50% + 0px);
}

.stage-lineup a[href$="#ai-agents-tooling"] span {
  translate: 0 20px;
}
}

@media (min-width: 342px) and (max-width: 375px) {

  .stage--lab .stage-lineup a[href$="#platinumzero"] img {
    scale: 0.68;
    translate: 0 16%;
  }

  .stage--lab .stage-lineup a[href$="#platinumzero"]::before {
    bottom: 30px;
    left: 50%;
  }

  .stage--lab .stage-lineup a[href$="#platinumzero"] span {
    translate: 0 0px;
  }

  .stage--lab .stage-lineup a[href$="#swarm"] img {
    scale: 0.84;
    translate: 0 15%;
  }

  .stage--lab .stage-lineup a[href$="#swarm"]::before {
    bottom: 30px;
    left: 50%;
  }

  .stage--lab .stage-lineup a[href$="#swarm"] span {
    translate: 0 0;
  }

  .stage--lab .stage-lineup a[href$="#codesweep"] img {
    scale: 0.7;
    translate: 0 16%;
  }

  .stage--lab .stage-lineup a[href$="#codesweep"]::before {
    bottom: 30px;
    left: 50%;
  }

  .stage--lab .stage-lineup a[href$="#codesweep"] span {
    translate: 0 0;
  }

  .stage--lab .stage-lineup a[href$="#ai-agents-tooling"] img {
    scale: 1;
    translate: 0 20%;
  }

  .stage--lab .stage-lineup a[href$="#ai-agents-tooling"]::before {
    bottom: 30px;
    left: 50%;
  }

  .stage--lab .stage-lineup a[href$="#ai-agents-tooling"] span {
    translate: 0 10px;
  }
}

@media (min-width: 376px) and (max-width: 550px) {

  .stage--lab .stage-lineup a[href$="#platinumzero"] img {
    scale: 0.7;
    translate: 0 10%;
  }

  .stage--lab .stage-lineup a[href$="#platinumzero"]::before {
    bottom: 30px;
    left: 50%;
  }

  .stage--lab .stage-lineup a[href$="#platinumzero"] span {
    translate: 0 0;
  }

  .stage--lab .stage-lineup a[href$="#swarm"] img {
    scale: 0.84;
    translate: 0 12%;
  }

  .stage--lab .stage-lineup a[href$="#swarm"]::before {
    bottom: 30px;
    left: 50%;
  }

  .stage--lab .stage-lineup a[href$="#swarm"] span {
    translate: 0 0;
  }

  .stage--lab .stage-lineup a[href$="#codesweep"] img {
    scale: 0.7;
    translate: 0 12%;
  }

  .stage--lab .stage-lineup a[href$="#codesweep"]::before {
    bottom: 30px;
    left: 50%;
  }

  .stage--lab .stage-lineup a[href$="#codesweep"] span {
    translate: 0 0;
  }

  .stage--lab .stage-lineup a[href$="#ai-agents-tooling"] img {
    scale: 0.8;
    translate: 0 14%;
  }

  .stage--lab .stage-lineup a[href$="#ai-agents-tooling"]::before {
    bottom: 30px;
    left: 50%;
  }

  .stage--lab .stage-lineup a[href$="#ai-agents-tooling"] span {
    translate: 0 12px;
  }
}

@media (min-width: 551px) and (max-width: 720px) {

  .stage--lab .stage-lineup a[href$="#platinumzero"] img {
    scale: 0.67;
    translate: 0 12%;
  }

  .stage--lab .stage-lineup a[href$="#platinumzero"]::before {
    bottom: 30px;
    left: 50%;
  }

  .stage--lab .stage-lineup a[href$="#platinumzero"] span {
    translate: 0 0;
  }

  .stage--lab .stage-lineup a[href$="#swarm"] img {
    scale: 0.84;
    translate: 0 14%;
  }

  .stage--lab .stage-lineup a[href$="#swarm"]::before {
    bottom: 27px;
    left: 50%;
  }

  .stage--lab .stage-lineup a[href$="#swarm"] span {
    translate: 0 0;
  }

  .stage--lab .stage-lineup a[href$="#codesweep"] img {
    scale: 0.7;
    translate: 0 14%;
  }

  .stage--lab .stage-lineup a[href$="#codesweep"]::before {
    bottom: 27px;
    left: 50%;
  }

  .stage--lab .stage-lineup a[href$="#codesweep"] span {
    translate: 0 0;
  }

  .stage--lab .stage-lineup a[href$="#ai-agents-tooling"] img {
    scale: 0.9;
    translate: 0 12%;
  }

  .stage--lab .stage-lineup a[href$="#ai-agents-tooling"]::before {
    bottom: 28px;
    left: 50%;
  }

  .stage--lab .stage-lineup a[href$="#ai-agents-tooling"] span {
    translate: 0 0;
  }
}

@media (max-width: 831px) {
  
  .stage,
  .stage--pipeline,
  .stage--array,
  .stage--neural,
  .stage--lab {
    --figure-x: 50%;
    min-height: 0;
  }

  .stage-grid,
  .stage--pipeline .stage-grid,
  .stage--compact .stage-grid,
  .stage--reading .stage-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding-block: 8px 34px;
  }

  .stage-figure,
  .stage--pipeline .stage-figure,
  .stage--home .stage-figure,
  .stage--array .stage-figure {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    width: min(88%, 46svh, 400px);
    margin-bottom: 0;
    translate: none;
    transform: none;
  }

  .stage-copy,
  .stage--pipeline .stage-copy,
  .stage--array .stage-copy {
    grid-column: 1;
    grid-row: 2;
    align-self: auto;
    margin-top: -26px;
    padding-top: 0;
  }

  .stage-backdrop::after {
    height: 58%;
    background: linear-gradient(180deg, transparent, #070b16e6 42%, var(--pst-void));
  }

  .stage-floor {
    bottom: 34%;
    height: 30%;
  }

  .stage-pulse {
    top: 40%;
  }

  .stage-copy .actions {
    flex-direction: column;
  }

  .stage-copy .button {
    width: 100%;
  }

  .stage--compact .stage-figure {
    width: min(52%, 190px);
  }

  .stage--reading {
    --reading-art: min(57vw, 38svh, 260px);
  }

  .stage--reading .stage-pulse {
    top: calc(var(--header-h) + 8px - 4.5px + var(--reading-art) * 0.857);
  }

  .stage-lineup {
    grid-row: 1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2px;
    margin-bottom: 18px;
  }

  .stage-lineup a {
    padding: 4px 2px 8px;
    font-size: 0.72rem;
    line-height: 1.2;
  }

  .stage-dust {
    display: none;
  }

  .stage--pipeline .stage-scene::after {
    display: none;
  }

  .stage--pipeline .stage-figure {
    width: min(80%, 42svh, 360px);
    margin-top: 10px;
  }

  .stage--pipeline .stage-art {
    translate: 0 -6%;
  }

  .stage--pipeline .stage-copy {
    margin-top: 8px;
  }

  .stage--lab .stage-copy {
    margin-top: -10px;
  }

  .stage--pipeline .stage-pulse {
    top: 40%;
  }

  .stage--neural .stage-art {
    translate: none;
  }

  .stage--array .stage-art {
    translate: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  
  .stage-floor,
  .stage-art,
  .stage-ring,
  .stage-pulse,
  .stage--pipeline .stage-pulse,
  .stage-lineup a::before,
  .stage-dust,
  .stage-backdrop::before,
  .stage--pipeline .stage-pool {
    animation: none;
  }

  .stage--home :is(.stage-copy h1, .stage-copy p, .stage-figure) {
    animation: none;
  }

  .stage-dust {
    opacity: 1;
  }

  .stage-figure,
  .stage-lineup img {
    transition: none;
  }
}
