/* Floating close-ups (15 Oct 2026, owner: "give this a beautiful float animation using higgsfield").
   The three #s5 reel tiles show their objects as Higgsfield cut-outs (art/home-lower/closeup/float/, made by
   handoff/arkos-parts-2026-10-15/tools/export_float_assets.py), each layer the size of the tile so it sits where the
   object was in the photo. Each object drifts gently up and back with a slight tilt; its shadow stays on the ground,
   lighter and a touch smaller while the object is up. "In the box" floats its three pieces slightly out of step.
   A constant, slow loop: ease-in-out, alternating, transform + opacity only. Reduced motion: everything stays still. */

.pp-reel__pic > .pp-float { position: absolute; inset: 0; pointer-events: none; }
.pp-float img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.pp-float__obj { transform-origin: var(--o, 50% 50%); }
/* the shadow is the cut-out itself, blackened and blurred (the filter is fixed; only position and opacity move) */
.pp-float__shadow { filter: brightness(0) blur(var(--blur, 10px)); opacity: .55; transform: translate(1.5%, 2.5%); }
@media (max-width: 640px) { .pp-float { --blur: 4px; } }   /* the tiles are about 110px wide on phones */

@media (prefers-reduced-motion: no-preference) {
  .pp-float__obj { animation: pp-float var(--dur, 6s) ease-in-out var(--delay, 0s) infinite alternate; }
  .pp-float__shadow { animation: pp-float-shadow var(--dur, 6s) ease-in-out var(--delay, 0s) infinite alternate; }
}
@keyframes pp-float { to { transform: translateY(var(--rise, -3%)) rotate(var(--tilt, -1.2deg)); } }
@keyframes pp-float-shadow { to { opacity: .28; transform: translate(2.5%, 4.5%) scale(.97); } }

/* very small phones (tiles about 70-90px): "3000" and its "mAh" box stack and reach the cable, so the cable sits smaller in
   the top-right corner there */
@media (max-width: 360px) {
  .pp-reel__card:first-child .pp-float { transform-origin: 100% 0; transform: translateY(-6%) scale(.72); }
}
