/* Home hero layout round: 3-line headline + editorial "up next" collage. Scoped to .hero-motion / .hero-slideshow-stage. */
.hero-motion h1 .hero-line>span{text-wrap:balance}
@media(min-width:1024px){
  .hero.hero-motion .hero-grid{grid-template-columns:1.18fr .82fr;gap:4%}
  .hero.hero-motion h1{font-size:clamp(44px,4.4vw,80px);max-width:none}
  .hero.hero-motion h1 .hero-line>span{white-space:nowrap}
  .hero.hero-motion h1 em{display:block;width:max-content}
}
/* Small cards: reset button chrome, gold hairline, soft shadow */
.hero-slideshow-stage .hero-up-next{position:absolute;display:block;padding:6px;margin:0;font:inherit;color:var(--oat-cream);text-align:left;cursor:pointer;background:var(--cocoa-card,var(--dark-cocoa));border:1px solid color-mix(in srgb,var(--muted-gold) 70%,transparent);box-shadow:0 18px 40px color-mix(in srgb,var(--warm-black) 60%,transparent);z-index:3;transform:var(--hero-accent-transform)}
.hero-slideshow-stage .hero-up-next{overflow:hidden}
.hero-slideshow-stage .hero-up-next img,.hero-slideshow-stage .hero-up-next img.parallax-media{scale:1!important;translate:none!important;display:block;width:100%;height:auto;object-fit:cover;object-position:center}
.hero-slideshow-stage .hero-up-next-caption{position:relative;z-index:1;display:flex;flex-direction:column;gap:2px;padding:7px 3px 2px;font:600 12px/1.25 var(--sans);letter-spacing:.08em;text-transform:uppercase}
.hero-slideshow-stage .hero-up-next-caption small{font-size:12px;font-weight:500;letter-spacing:.14em;color:var(--muted-gold)}
.hero-slideshow-stage .hero-up-next:focus-visible{outline:2px solid var(--muted-gold);outline-offset:4px}
/* Top-right: portrait 3:4, ~38% of big frame, +4deg */
.hero-slideshow-stage .hero-floating-nails{display:block;top:-4%;right:-2%;left:auto;bottom:auto;width:calc((100% - 55px) * .38);--hero-accent-transform:translate3d(var(--hero-drift-x,0px),var(--hero-drift-y,0px),110px) rotate(4deg)}
.hero-slideshow-stage .hero-floating-nails img{aspect-ratio:3/4}
/* Bottom-left: landscape 4:3, ~45% of big frame, -3deg, over the frame's bottom-left corner */
.hero-slideshow-stage.hero-depth-stage-enhanced .hero-floating-detail{display:block;left:-7%;bottom:4%;top:auto;right:auto;width:calc((100% - 55px) * .45);--hero-accent-transform:translate3d(0,0,85px) rotate(-3deg)}
.hero-slideshow-stage .hero-floating-detail img{aspect-ratio:4/3}
/* Swap together with the big photo: quick fade + 20px slide, 80ms stagger */
@keyframes hl-card-out{to{opacity:0;transform:var(--hero-accent-transform) translateX(-20px)}}
@keyframes hl-card-in{from{opacity:0;transform:var(--hero-accent-transform) translateX(20px)}to{opacity:1;transform:var(--hero-accent-transform)}}
.hero-slideshow-stage[data-slide-phase="exit"] .hero-floating-nails{animation:hl-card-out 260ms ease-in both}
.hero-slideshow-stage[data-slide-phase="exit"] .hero-floating-detail{animation:hl-card-out 260ms ease-in 80ms both}
.hero-slideshow-stage[data-slide-phase="enter"] .hero-floating-nails{animation:hl-card-in 380ms ease-out 60ms both,bellagio-hero-float 5.6s ease-in-out -3.4s infinite}
.hero-slideshow-stage[data-slide-phase="enter"] .hero-floating-detail{animation:hl-card-in 380ms ease-out 140ms both,bellagio-hero-float 4.8s ease-in-out -1.2s infinite}
@media(max-width:767px){
  .hero-slideshow-stage .hero-floating-nails{display:none!important}
  .hero-slideshow-stage.hero-depth-stage-enhanced .hero-floating-detail{left:0;bottom:6%;width:45%}
}
@media(prefers-reduced-motion:reduce){
  .hero-slideshow-stage .hero-up-next{animation:none!important;translate:none!important}
  .hero-slideshow-stage[data-slide-phase="exit"] .hero-up-next{animation:bellagio-hero-fade-out 250ms linear both!important}
  .hero-slideshow-stage[data-slide-phase="enter"] .hero-up-next{animation:bellagio-hero-fade-in 250ms linear both!important}
}
