/* jamiesun.dance's hero: the harbour at Inverbonnie (hero.js). The still shows first and stays where there's no 3D; the live
   picture fades in over it. Pixels stay crisp; the frame takes the site's dusk and ink. */
.hero{position:relative;overflow:hidden;height:clamp(280px,27vw,420px);background:var(--dusk,#1A1B26);border-bottom:3px solid var(--ink,#1D2230);touch-action:pan-y}
.hero .hero-still,.hero .hero-3d{position:absolute;left:50%;bottom:0;transform:translateX(-50%);display:block;image-rendering:pixelated;image-rendering:crisp-edges}
.hero .hero-still{width:100%;height:100%;object-fit:cover;object-position:50% 100%}
.hero .hero-3d{opacity:0;transition:opacity .6s ease}
.hero .hero-3d.on{opacity:1}
@media (prefers-reduced-motion:reduce){.hero .hero-3d{transition:none}}
