/* Product contact points travel around the middle illuminated ring. */
body[data-page="home"] .equipment-stage .stage-disc {
  width: 88%; left: 6%; top: 49%; aspect-ratio: 1;
  transform: translateY(-50%) scaleY(.35);
}
body[data-page="home"] .product-carrier {
  pointer-events: none; position: absolute; inset: 0;
  animation: product-circuit 18s linear var(--circuit-phase) infinite paused;
  transform-origin:50% 49%;
}

body[data-page="home"][data-motion="on"]:not(.modal-open) .equipment-stage[data-float-active="true"] .orbit-scene[data-in-frame="true"] .product-carrier { animation-play-state: running; }
body[data-page="home"] .product-carrier .showcase-photo-zone {
  position: absolute; width: 23%; height: 28%; left:38.5%; bottom:51%; overflow:visible;
}
body[data-page="home"] .product-carrier .device-image-button { pointer-events:auto; }
body[data-page="home"] .equipment-stage { container-type:inline-size; }
body[data-page="home"] .orbit-scene.showcase-layout { padding-bottom:84px; }
body[data-page="home"] .showcase-product > .device-tag { z-index:4; }
@media (max-height:500px) {body[data-page="home"] .orbit-scene.showcase-layout {padding-bottom:64px;}}

/* The middle ring's moving lights are carried by the products themselves. */
.stage-energy-ring:nth-child(2) i { display:none; }
.product-carrier::after,.product-carrier::before {
  content:""; position:absolute; left:50%; pointer-events:none;
}
.product-carrier::after {
  top:49%; width:9px; height:4px; border-radius:50%; transform:translate(-50%,-50%);
  background:#c5f4ff; box-shadow:0 0 0 2px #3388e270,0 0 9px 3px #278dffaa;
}
.product-carrier::before {
  bottom:51%; width:clamp(18px,4cqw,32px); height:clamp(22px,6cqw,42px); transform:translateX(-50%);
  clip-path:polygon(0 0,100% 0,55% 100%,45% 100%);
  background:linear-gradient(to bottom,transparent,#62bdff35 52%,#87d7ffbd);
}
body[data-page="home"] .product-carrier .showcase-photo-zone::before { opacity:.22; }
body[data-page="home"] .product-carrier .device-image-button {
  transform-origin:50% 90%; transition:scale .22s ease-out; scale:1;
}
body[data-page="home"] .showcase-product.is-near .device-image-button,
body[data-page="home"] .showcase-product:focus-within .device-image-button { scale:1.24; }
body[data-page="home"] .showcase-layout:not(.orbit-scene-single) {
  grid-template-columns:repeat(3,minmax(0,1fr)); column-gap:5px;
}
body[data-page="home"] .showcase-product > .device-tag { padding:5px; min-height:42px; align-self:end; }
body[data-page="home"] .showcase-product > .device-tag small { display:none; }
@media(max-width:650px){
  body[data-page="home"] .showcase-product > .device-tag {min-height:44px;line-height:1.2;}
}
@media(prefers-reduced-motion:reduce){body[data-page="home"] .product-carrier .device-image-button{transition:none}}
@keyframes product-circuit {
  0% { transform:translate3d(-36.400cqw,0.000cqw,0) perspective(650px) rotateY(17.00deg) rotateZ(-6.00deg) scale(0.940); z-index:10; }
  2.5% { transform:translate3d(-35.952cqw,-1.993cqw,0) perspective(650px) rotateY(16.79deg) rotateZ(-5.93deg) scale(0.927); z-index:9; }
  5% { transform:translate3d(-34.618cqw,-3.937cqw,0) perspective(650px) rotateY(16.17deg) rotateZ(-5.71deg) scale(0.915); z-index:8; }
  7.5% { transform:translate3d(-32.433cqw,-5.784cqw,0) perspective(650px) rotateY(15.15deg) rotateZ(-5.35deg) scale(0.904); z-index:6; }
  10% { transform:translate3d(-29.448cqw,-7.488cqw,0) perspective(650px) rotateY(13.75deg) rotateZ(-4.85deg) scale(0.893); z-index:5; }
  12.5% { transform:translate3d(-25.739cqw,-9.009cqw,0) perspective(650px) rotateY(12.02deg) rotateZ(-4.24deg) scale(0.883); z-index:4; }
  15% { transform:translate3d(-21.395cqw,-10.307cqw,0) perspective(650px) rotateY(9.99deg) rotateZ(-3.53deg) scale(0.875); z-index:4; }
  17.5% { transform:translate3d(-16.525cqw,-11.351cqw,0) perspective(650px) rotateY(7.72deg) rotateZ(-2.72deg) scale(0.869); z-index:3; }
  20% { transform:translate3d(-11.248cqw,-12.116cqw,0) perspective(650px) rotateY(5.25deg) rotateZ(-1.85deg) scale(0.864); z-index:2; }
  22.5% { transform:translate3d(-5.694cqw,-12.583cqw,0) perspective(650px) rotateY(2.66deg) rotateZ(-0.94deg) scale(0.861); z-index:2; }
  25% { transform:translate3d(-0.000cqw,-12.740cqw,0) perspective(650px) rotateY(0.00deg) rotateZ(-0.00deg) scale(0.860); z-index:2; }
  27.5% { transform:translate3d(5.694cqw,-12.583cqw,0) perspective(650px) rotateY(-2.66deg) rotateZ(0.94deg) scale(0.861); z-index:2; }
  30% { transform:translate3d(11.248cqw,-12.116cqw,0) perspective(650px) rotateY(-5.25deg) rotateZ(1.85deg) scale(0.864); z-index:2; }
  32.5% { transform:translate3d(16.525cqw,-11.351cqw,0) perspective(650px) rotateY(-7.72deg) rotateZ(2.72deg) scale(0.869); z-index:3; }
  35% { transform:translate3d(21.395cqw,-10.307cqw,0) perspective(650px) rotateY(-9.99deg) rotateZ(3.53deg) scale(0.875); z-index:4; }
  37.5% { transform:translate3d(25.739cqw,-9.009cqw,0) perspective(650px) rotateY(-12.02deg) rotateZ(4.24deg) scale(0.883); z-index:4; }
  40% { transform:translate3d(29.448cqw,-7.488cqw,0) perspective(650px) rotateY(-13.75deg) rotateZ(4.85deg) scale(0.893); z-index:5; }
  42.5% { transform:translate3d(32.433cqw,-5.784cqw,0) perspective(650px) rotateY(-15.15deg) rotateZ(5.35deg) scale(0.904); z-index:6; }
  45% { transform:translate3d(34.618cqw,-3.937cqw,0) perspective(650px) rotateY(-16.17deg) rotateZ(5.71deg) scale(0.915); z-index:8; }
  47.5% { transform:translate3d(35.952cqw,-1.993cqw,0) perspective(650px) rotateY(-16.79deg) rotateZ(5.93deg) scale(0.927); z-index:9; }
  50% { transform:translate3d(36.400cqw,-0.000cqw,0) perspective(650px) rotateY(-17.00deg) rotateZ(6.00deg) scale(0.940); z-index:10; }
  52.5% { transform:translate3d(35.952cqw,1.993cqw,0) perspective(650px) rotateY(-16.79deg) rotateZ(5.93deg) scale(0.953); z-index:11; }
  55% { transform:translate3d(34.618cqw,3.937cqw,0) perspective(650px) rotateY(-16.17deg) rotateZ(5.71deg) scale(0.965); z-index:12; }
  57.5% { transform:translate3d(32.433cqw,5.784cqw,0) perspective(650px) rotateY(-15.15deg) rotateZ(5.35deg) scale(0.976); z-index:14; }
  60% { transform:translate3d(29.448cqw,7.488cqw,0) perspective(650px) rotateY(-13.75deg) rotateZ(4.85deg) scale(0.987); z-index:15; }
  62.5% { transform:translate3d(25.739cqw,9.009cqw,0) perspective(650px) rotateY(-12.02deg) rotateZ(4.24deg) scale(0.997); z-index:16; }
  65% { transform:translate3d(21.395cqw,10.307cqw,0) perspective(650px) rotateY(-9.99deg) rotateZ(3.53deg) scale(1.005); z-index:16; }
  67.5% { transform:translate3d(16.525cqw,11.351cqw,0) perspective(650px) rotateY(-7.72deg) rotateZ(2.72deg) scale(1.011); z-index:17; }
  70% { transform:translate3d(11.248cqw,12.116cqw,0) perspective(650px) rotateY(-5.25deg) rotateZ(1.85deg) scale(1.016); z-index:18; }
  72.5% { transform:translate3d(5.694cqw,12.583cqw,0) perspective(650px) rotateY(-2.66deg) rotateZ(0.94deg) scale(1.019); z-index:18; }
  75% { transform:translate3d(0.000cqw,12.740cqw,0) perspective(650px) rotateY(-0.00deg) rotateZ(0.00deg) scale(1.020); z-index:18; }
  77.5% { transform:translate3d(-5.694cqw,12.583cqw,0) perspective(650px) rotateY(2.66deg) rotateZ(-0.94deg) scale(1.019); z-index:18; }
  80% { transform:translate3d(-11.248cqw,12.116cqw,0) perspective(650px) rotateY(5.25deg) rotateZ(-1.85deg) scale(1.016); z-index:18; }
  82.5% { transform:translate3d(-16.525cqw,11.351cqw,0) perspective(650px) rotateY(7.72deg) rotateZ(-2.72deg) scale(1.011); z-index:17; }
  85% { transform:translate3d(-21.395cqw,10.307cqw,0) perspective(650px) rotateY(9.99deg) rotateZ(-3.53deg) scale(1.005); z-index:16; }
  87.5% { transform:translate3d(-25.739cqw,9.009cqw,0) perspective(650px) rotateY(12.02deg) rotateZ(-4.24deg) scale(0.997); z-index:16; }
  90% { transform:translate3d(-29.448cqw,7.488cqw,0) perspective(650px) rotateY(13.75deg) rotateZ(-4.85deg) scale(0.987); z-index:15; }
  92.5% { transform:translate3d(-32.433cqw,5.784cqw,0) perspective(650px) rotateY(15.15deg) rotateZ(-5.35deg) scale(0.976); z-index:14; }
  95% { transform:translate3d(-34.618cqw,3.937cqw,0) perspective(650px) rotateY(16.17deg) rotateZ(-5.71deg) scale(0.965); z-index:12; }
  97.5% { transform:translate3d(-35.952cqw,1.993cqw,0) perspective(650px) rotateY(16.79deg) rotateZ(-5.93deg) scale(0.953); z-index:11; }
  100% { transform:translate3d(-36.400cqw,0.000cqw,0) perspective(650px) rotateY(17.00deg) rotateZ(-6.00deg) scale(0.940); z-index:10; }
}

body[data-page="home"] .stage-energy-ring:nth-child(2) {border-color:#4398f5aa;box-shadow:0 0 5px #368bf044;}
body[data-page="home"] .showcase-product.is-near > .device-tag {border-color:#5aa9f6;}
body[data-page="home"] .showcase-product > .device-tag {pointer-events:auto;z-index:20;}
body[data-page="home"] .stage-cross {pointer-events:none;}
/* The leaning photo can extend outside its button. Keep those pixels tappable. */
body[data-page="home"] .orbit-scene[aria-hidden="false"] .product-carrier .device-image-button img {
  pointer-events:auto;
}

/* Highlight the existing emitter so its position always follows its product. */
.showcase-product:is(.is-near, :focus-within, :has(.device-tag:hover)) .product-carrier::after {
  background: #f2fdff;
  box-shadow: 0 0 0 2px #65d1ff99, 0 0 10px 4px #3495ffe0;
}
body[data-page="home"] .showcase-product:is(.is-near, :focus-within, :has(.device-tag:hover)) > .device-tag {
  border-color: #5aa9f6;
  box-shadow: inset 0 -2px #529dff;
}
