/* Feedback-only photo framing and motion; approved geometry and palette stay intact. */
:root{--service-lift-shadow:0 14px 36px color-mix(in srgb,var(--warm-black) 65%,transparent)}
.service-card-image[alt="Head spa water ritual at Bellagio Nails and Spa"],
.gallery-item img[alt="Head spa water ritual at Bellagio Nails and Spa"]{object-position:50% 55%}
.service-card-image[alt="Pearl chrome French almond nails with gold star accents"]{object-position:50% 45%}
#nails .category-feature-image img{object-position:50% 60%}
main .motion-target{opacity:1;visibility:visible}
main .motion-target.reveal-complete{transform:none}
.service-card img,.category-feature-image img,.about-visual img,.space-about-card img,.gallery-item img{transform-origin:center}
main img.motion-image-revealing{transition:none!important}
@media(min-width:1024px) and (hover:hover) and (pointer:fine){
  main .service-card:hover,main .service-card:focus-visible{transform:translateY(-4px)!important;box-shadow:var(--service-lift-shadow)}
}
/* Native snapshots cross-fade without wrapping, moving, or resizing the page. */
main{view-transition-name:bellagio-page}
::view-transition-old(root),::view-transition-new(root){animation:none}
/* ~350ms dark curtain: the old page dims into Warm Black, then the new one rises in. */
::view-transition-group(bellagio-page){animation-duration:350ms}
::view-transition-old(bellagio-page){animation:bellagio-page-out 175ms ease-in both}
::view-transition-new(bellagio-page){animation:bellagio-page-in 200ms ease-out 150ms both}
::view-transition-image-pair(bellagio-page){background:var(--warm-black)}
@keyframes bellagio-page-out{from{opacity:1;filter:brightness(1)}to{opacity:0;filter:brightness(.35)}}
@keyframes bellagio-page-in{from{opacity:0;translate:0 10px}to{opacity:1;translate:0 0}}
/* Round 3: taller Head Spa banner only, framed on the water arc rather than the face. */
#head-spa .category-feature-image{height:auto;aspect-ratio:4/3;max-height:520px}
#head-spa .category-feature-image img{object-position:50% 78%}
@media(min-width:1024px){#head-spa .category-feature-image{aspect-ratio:16/9}}
/* Parallax uses the independent translate/scale properties so reveal and tilt transforms still compose. */
.parallax-media{translate:0 var(--parallax-y,0px);scale:1.12;will-change:translate}
.hero-floating-detail img.parallax-media,.hero-floating-nails img.parallax-media{scale:1.14}
.hero-slideshow-stage .hero-slide{visibility:hidden;opacity:0;transform:none;transition:none}
.hero-slideshow-stage .hero-slide.is-active{visibility:visible;opacity:1;transform:none}
.hero-slideshow-stage .hero-floating-detail{--hero-accent-transform:translate3d(0,0,85px) rotate(-8deg);animation:bellagio-hero-float 4.8s ease-in-out -1.2s infinite}
.hero-slideshow-stage .hero-floating-nails{--hero-accent-transform:translate3d(var(--hero-drift-x),var(--hero-drift-y),110px) rotate(8deg);animation:bellagio-hero-float 5.6s ease-in-out -3.4s infinite}
.hero-slideshow-stage .hero-seal{animation:bellagio-hero-float 4.4s ease-in-out -.6s infinite}
@keyframes bellagio-hero-float{0%,100%{translate:0 -6px}50%{translate:0 6px}}
/* Sequential group handoff: no old photo, caption or accent leaks into the next slide. */
.hero-slideshow-stage[data-slide-phase="exit"] .hero-slide.is-active,
.hero-slideshow-stage[data-slide-phase="exit"] .hero-frame-index,
.hero-slideshow-stage[data-slide-phase="exit"] .hero-floating-detail,
.hero-slideshow-stage[data-slide-phase="exit"] .hero-floating-nails{animation:bellagio-hero-out 500ms ease-in both}
.hero-slideshow-stage[data-slide-phase="enter"] .hero-slide.is-active,
.hero-slideshow-stage[data-slide-phase="enter"] .hero-frame-index{animation:bellagio-hero-in 600ms ease-out 100ms both}
.hero-slideshow-stage[data-slide-phase="exit"] .hero-floating-detail,
.hero-slideshow-stage[data-slide-phase="exit"] .hero-floating-nails{animation:bellagio-hero-accent-out 500ms ease-in both}
.hero-slideshow-stage[data-slide-phase="enter"] .hero-floating-detail{animation:bellagio-hero-accent-in 600ms ease-out 180ms both,bellagio-hero-float 4.8s ease-in-out -1.2s infinite}
.hero-slideshow-stage[data-slide-phase="enter"] .hero-floating-nails{animation:bellagio-hero-accent-in 600ms ease-out 260ms both,bellagio-hero-float 5.6s ease-in-out -3.4s infinite}
@keyframes bellagio-hero-accent-out{from{opacity:1;transform:var(--hero-accent-transform)}to{opacity:0;transform:var(--hero-accent-transform) translateX(-40px) scale(.96)}}
@keyframes bellagio-hero-accent-in{from{opacity:0;transform:var(--hero-accent-transform) translate(40px,8px) scale(.98)}to{opacity:1;transform:var(--hero-accent-transform)}}
@keyframes bellagio-hero-out{from{opacity:1;transform:translateX(0) scale(1)}to{opacity:0;transform:translateX(-40px) scale(.96)}}
@keyframes bellagio-hero-in{from{opacity:0;transform:translate(40px,8px) scale(.98)}to{opacity:1;transform:translate(0,0) scale(1)}}
.heading-words .heading-word{display:inline-block}
/* Press and gold shimmer sweep. */
.btn,.service-card{position:relative;overflow:hidden;transition-property:background,border-color,transform,color,box-shadow,scale}
.btn{isolation:isolate}
.btn::after,.service-card::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,transparent 30%,color-mix(in srgb,var(--muted-gold) 32%,transparent) 50%,transparent 70%);translate:-120% 0;transition:translate .9s cubic-bezier(.22,1,.36,1);z-index:2}
.btn:hover::after,.btn:focus-visible::after,.service-card:hover::after,.service-card:focus-visible::after{translate:120% 0}
.btn:active,.service-card:active,.why-card:active,.review-card:active{scale:.97}
@media(prefers-reduced-motion:reduce){
  .parallax-media{translate:none!important;scale:none!important}
  .hero-slideshow-stage .hero-slide{transform:none!important;transition:none!important}
  .hero-slideshow-stage .hero-floating-detail,.hero-slideshow-stage .hero-floating-nails,.hero-slideshow-stage .hero-seal{animation:none!important;translate:none!important}
  .btn::after,.service-card::after{display:none}
  .btn:active,.service-card:active,.why-card:active,.review-card:active{scale:none}
}
@media(prefers-reduced-motion:reduce){
  main .motion-target,main .space-reveal{opacity:1!important;visibility:visible!important;transform:none!important}
  main img,main .service-card,main .why-card,main .hero-frame,main .hero-media{animation:none!important;transition:none!important}
  main .service-card:hover,main .service-card:focus-visible{transform:none!important}
  ::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none!important}

}
@media(prefers-reduced-motion:reduce){
  .hero-slideshow-stage[data-slide-phase="exit"] .hero-slide.is-active,
  .hero-slideshow-stage[data-slide-phase="exit"] .hero-frame-index,
  .hero-slideshow-stage[data-slide-phase="exit"] .hero-floating-detail,
  .hero-slideshow-stage[data-slide-phase="exit"] .hero-floating-nails{animation:bellagio-hero-fade-out 250ms linear both!important;transform:none!important;translate:none!important}
  .hero-slideshow-stage[data-slide-phase="enter"] .hero-slide.is-active,
  .hero-slideshow-stage[data-slide-phase="enter"] .hero-frame-index,
  .hero-slideshow-stage[data-slide-phase="enter"] .hero-floating-detail,
  .hero-slideshow-stage[data-slide-phase="enter"] .hero-floating-nails{animation:bellagio-hero-fade-in 250ms linear both!important;transform:none!important;translate:none!important}
}
@keyframes bellagio-hero-fade-out{from{opacity:1}to{opacity:0}}
@keyframes bellagio-hero-fade-in{from{opacity:0}to{opacity:1}}
