/* Home hero mobile/tablet motion round (<1024px only). Desktop untouched. --hc = collage's own viewport progress 0..1 (JS). */
@media(max-width:1023px){
  .hero.hero-motion{--hk:.7;min-height:auto}
  .hero-motion .hero-media{width:100%;max-width:560px;margin:8px auto 0;padding:8% 9% 14% 6%;overflow:clip;translate:0 calc(var(--hc,0) * -77px)}
  .hero-motion .hero-slideshow-stage .hero-frame .hero-slideshow img{scale:calc(1 + .1 * var(--hc,0))}
  .hero-motion .hero-slideshow-stage .hero-seal{width:88px;height:88px;right:4%;--hm-seal:calc(var(--hc,0) * -49px);rotate:calc(var(--hc,0) * 20deg)}
  .hero-motion .hero-slideshow-stage .hero-floating-nails{display:block!important;width:28%;top:0;right:9%;--hero-drift-x:calc(var(--hc,0) * 14px);--hero-drift-y:calc(var(--hc,0) * -24px)}
  .hero-motion .hero-slideshow-stage.hero-depth-stage-enhanced .hero-floating-detail{width:34%;left:7%;bottom:10%;--hero-accent-transform:translate3d(calc(var(--hc,0) * -14px),calc(var(--hc,0) * 24px),85px) rotate(-3deg)}
  .hero-motion .hero-up-next-caption{font-size:10px;padding:5px 2px 1px}
  .hero-motion .hero-up-next-caption small{font-size:9px}
  .hero-motion .hero-orbit-one{translate:calc(var(--hc,0) * 35px) calc(var(--hc,0) * -35px)}
  .hero-motion .hero-orbit-two{translate:calc(var(--hc,0) * -35px) calc(var(--hc,0) * 35px)}
  .hero-motion.hero-offscreen *{animation-play-state:paused!important}
  /* Intro: same sequence, 24px distances */
  .hero-motion:not(.hero-intro-done){
    .hero-copy .eyebrow,.button-row>:nth-child(1){animation-name:hmm-left}
    .hero-sub{animation-name:hmm-left}
    .button-row>:nth-child(2){animation-name:hmm-right}
    .hero-media{animation-name:hmm-frame}
    .hero-slideshow-stage .hero-up-next{animation:hmm-card .7s var(--hm-e) .85s backwards}
    .hero-slideshow-stage .hero-floating-detail{animation-delay:.95s}
  }
}
@media(max-width:1023px) and (max-width:767px){.hero-motion .hero-media{max-width:none}}
@keyframes hmm-left{from{translate:-24px 0;opacity:0}}
@keyframes hmm-right{from{translate:24px 0;opacity:0}}
@keyframes hmm-frame{from{translate:24px 0;clip-path:inset(100% 0 0 0)}to{clip-path:inset(0 0 0 0)}}
@keyframes hmm-card{from{opacity:0;transform:var(--hero-accent-transform) translateY(24px)}to{opacity:1;transform:var(--hero-accent-transform)}}
@media(prefers-reduced-motion:reduce){
  .hero-motion .hero-media{translate:none!important}
  .hero-motion .hero-slideshow-stage .hero-up-next{--hero-drift-x:0px;--hero-drift-y:0px}
}
