/* Cache the optical finish with the artwork; only move its composited surface. */
body[data-page="home"] .reference-node .portal-object{filter:none!important}
body[data-page="home"] .reference-node .figure-artwork{
 filter:var(--glass-rest-light) var(--glass-rest-shadow);
 animation:jefe-float-composite 3.6s ease-in-out infinite!important;
 animation-delay:0s!important;
 will-change:transform;
}
@keyframes jefe-float-composite{0%,100%{transform:translate3d(0,5px,0)}50%{transform:translate3d(0,-5px,0)}}
@media(hover:hover) and (pointer:fine){body[data-page="home"] .reference-node:hover .figure-artwork{filter:var(--glass-selected-light) var(--glass-selected-shadow)}}
body[data-page="home"] .reference-node:is(:active,:focus-visible) .figure-artwork{filter:var(--glass-selected-light) var(--glass-selected-shadow)}
body[data-page="home"] .reference-node .figure-artwork[data-motion-paused],body[data-page] .page-art[data-motion-paused]{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){body[data-page="home"] .reference-node .figure-artwork{animation:none!important;transform:none;will-change:auto}}

/* Pointer feedback composes with the existing floating transform. */
@media(prefers-reduced-motion:no-preference) and (hover:hover) and (pointer:fine){
 .figure-artwork img,.page-art{transition:rotate 180ms cubic-bezier(.23,1,.32,1),scale 180ms cubic-bezier(.23,1,.32,1)}
}
body[data-page="services"] .service-detail.is-active>*{animation:none}

/* Native anchor scrolling; wheel, trackpad and touch keep browser behaviour. */
@media(prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto}
 body[data-page="home"] .portal-object{
  --object-x:0px!important;
  --object-y:0px!important;
  --object-rx:0deg!important;
  --object-ry:0deg!important;
  transition:none!important;
 }
 body[data-page="home"] .portal-portrait{
  --portrait-rx:0deg!important;
  --portrait-ry:0deg!important;
  transition:none!important;
 }
}
