/* Animated hero: 7 transparent layers moved by pure CSS (runs on the GPU, no JavaScript needed).
   Size the hero by setting a width on .hero-anim; everything scales with it. */
.hero-anim { position: relative; width: 100%; aspect-ratio: 1276 / 1200; overflow: visible; }
.hero-anim .ha-layer { position: absolute; }
.hero-anim .ha-layer div,
.hero-anim picture,
.hero-anim img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: block; }
.hero-anim img { pointer-events: none; user-select: none; -webkit-user-drag: none; }
.hero-anim .ha-layer div { animation: ha-move var(--dur) cubic-bezier(.37, 0, .63, 1) var(--delay) infinite alternate both; }
.hero-anim .ha-layer div.ha-rot { animation-name: ha-turn; transform-origin: var(--ox) var(--oy); }
@keyframes ha-move { from { transform: translate(var(--ax), var(--ay)); } to { transform: translate(calc(var(--ax) * -1), calc(var(--ay) * -1)); } }
@keyframes ha-turn { from { transform: rotate(var(--a)); } to { transform: rotate(calc(var(--a) * -1)); } }
@media (prefers-reduced-motion: reduce) { .hero-anim .ha-layer div { animation: none; } }

/* Per-layer position (percent of the hero box) and motion values */
.hero-anim .ha-phone { left: 26.8025%; top: -0.1667%; width: 70.3762%; height: 58.6667%; }
.hero-anim .ha-phone .ha-m1 { --ax: 0.3341%; --ay: 0%; --dur: 1.5s; --delay: -0.0139s; }
.hero-anim .ha-phone .ha-m2 { --ax: 0%; --ay: 0.9943%; --dur: 1.5s; --delay: -2.25s; }
.hero-anim .ha-phone .ha-m3 { --ax: 0%; --ay: 0.1705%; --dur: 0.75s; --delay: -1.2921s; }
.hero-anim .ha-phone .ha-m4 { --a: 0.6deg; --ox: 58.7973%; --oy: 51.4205%; --dur: 1.5s; --delay: -2.823s; }
.hero-anim .ha-box-1 { left: 14.4984%; top: 21.5833%; width: 9.0125%; height: 9%; }
.hero-anim .ha-box-1 .ha-m1 { --ax: 5.2174%; --ay: 0%; --dur: 1.5s; --delay: -0.2049s; }
.hero-anim .ha-box-1 .ha-m2 { --ax: 0%; --ay: 12.963%; --dur: 1.5s; --delay: -0.6346s; }
.hero-anim .ha-box-1 .ha-m3 { --ax: 0%; --ay: 1.8519%; --dur: 0.75s; --delay: -1.2205s; }
.hero-anim .ha-box-1 .ha-m4 { --a: 12deg; --ox: 49.5652%; --oy: 49.0741%; --dur: 1.5s; --delay: -1.1599s; }
.hero-anim .ha-kid-small { left: 2.8213%; top: 34.1667%; width: 33.7774%; height: 15.5833%; }
.hero-anim .ha-kid-small .ha-m1 { --ax: -1.8005%; --ay: -1.0267%; --dur: 1.5s; --delay: -0.5392s; }
.hero-anim .ha-kid-small .ha-m2 { --ax: 0%; --ay: 3.2086%; --dur: 0.75s; --delay: -1.2444s; }
.hero-anim .ha-kid-small .ha-m3 { --a: 2.8deg; --ox: 45.0116%; --oy: 50.8021%; --dur: 1.5s; --delay: -1.6373s; }
.hero-anim .ha-box-2 { left: 82.9937%; top: 47.5833%; width: 10.1881%; height: 9.4167%; }
.hero-anim .ha-box-2 .ha-m1 { --ax: 3.8462%; --ay: 0%; --dur: 1.5s; --delay: -1.7328s; }
.hero-anim .ha-box-2 .ha-m2 { --ax: 0%; --ay: 10.6195%; --dur: 1.5s; --delay: -0.1094s; }
.hero-anim .ha-box-2 .ha-m3 { --ax: 0%; --ay: 2.2124%; --dur: 0.75s; --delay: -0.2218s; }
.hero-anim .ha-box-2 .ha-m4 { --a: -14deg; --ox: 49.2308%; --oy: 49.5575%; --dur: 1.5s; --delay: -2.3455s; }
.hero-anim .ha-basket { left: 9.7962%; top: 78.9167%; width: 13.7147%; height: 12.5833%; }
.hero-anim .ha-basket .ha-m1 { --ax: 3.4286%; --ay: 0%; --dur: 1.5s; --delay: -2.8707s; }
.hero-anim .ha-basket .ha-m2 { --ax: 0%; --ay: 7.947%; --dur: 1.5s; --delay: -1.1121s; }
.hero-anim .ha-basket .ha-m3 { --a: 10deg; --ox: 49.7143%; --oy: 49.6689%; --dur: 1.5s; --delay: -1.9238s; }
.hero-anim .ha-box-3 { left: 70.8464%; top: 61.3333%; width: 19.6708%; height: 18.4167%; }
.hero-anim .ha-box-3 .ha-m1 { --ax: 2.7888%; --ay: 0%; --dur: 1.5s; --delay: -0.8734s; }
.hero-anim .ha-box-3 .ha-m2 { --ax: 0%; --ay: 6.7873%; --dur: 1.5s; --delay: -1.5896s; }
.hero-anim .ha-box-3 .ha-m3 { --ax: 0%; --ay: 0.905%; --dur: 0.75s; --delay: -0.5799s; }
.hero-anim .ha-box-3 .ha-m4 { --a: 8deg; --ox: 49.8008%; --oy: 49.7738%; --dur: 1.5s; --delay: -0.5392s; }
.hero-anim .ha-kid-front { left: 8.0721%; top: 47.75%; width: 85.1881%; height: 52.4167%; }
.hero-anim .ha-kid-front .ha-m1 { --ax: 0.414%; --ay: 0%; --dur: 1.5s; --delay: -0.2049s; }
.hero-anim .ha-kid-front .ha-m2 { --ax: 0%; --ay: 1.5898%; --dur: 1.5s; --delay: -2.5842s; }
.hero-anim .ha-kid-front .ha-m3 { --ax: 0%; --ay: 0.2862%; --dur: 0.75s; --delay: -1.3876s; }
.hero-anim .ha-kid-front .ha-m4 { --a: -1.1deg; --ox: 50.322%; --oy: 48.8076%; --dur: 1.5s; --delay: -2.823s; }
