/* Hero cast: the app's 3D characters floating on both sides of the headline. Each drifts in its own small space
   (a few px and degrees), slow and out of step with the others; never across the screen, never over the copy. */
.hcast{position:absolute;inset:0;z-index:0;pointer-events:none}
.hero-copy{position:relative;z-index:1}
.hc-c{position:absolute;width:clamp(58px,var(--s),124px);aspect-ratio:1;display:grid;place-items:end center;
  opacity:0;transform:scale(.86) translateY(14px);
  animation:hcIn 1.1s cubic-bezier(.2,.8,.2,1) forwards;animation-delay:calc(.35s + var(--i) * .09s)}
.hc-c img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 18px 22px rgba(30,50,110,.16));
  animation:hcFloat var(--dur) ease-in-out var(--d) infinite;will-change:transform}
@keyframes hcIn{to{opacity:1;transform:none}}
@keyframes hcFloat{
  0%,100%{transform:translate(0,0) rotate(0)}
  33%{transform:translate(var(--dx),calc(var(--dy) * -1)) rotate(var(--rot))}
  66%{transform:translate(calc(var(--dx) * -.6),calc(var(--dy) * .5)) rotate(calc(var(--rot) * -.6))}
}
/* narrower screens: the four nearest the copy step aside, the outer ones stay */
@media (max-width:1100px){.hc-l1,.hc-r1,.hc-l3,.hc-r3,.hc-l5,.hc-r5{display:none}}
@media (max-width:760px){.hcast{display:none}}
@media (prefers-reduced-motion:reduce){.hc-c{animation:none;opacity:1;transform:none}.hc-c img{animation:none}}
