/* A silent crossfade montage, confined to the homepage photograph. */
/* Fixed framing with long dissolves avoids pixel-stepped zoom. */
.luxury-home .home-hero.luxury-hero[data-cinema] > img { animation: none; transform: none; z-index: -3; }
.luxury-home .home-hero.luxury-hero[data-cinema] > video {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  object-position: center; pointer-events: none;
}
.luxury-home .home-hero.luxury-hero[data-cinema] > video[hidden] { display: none; }
.luxury-home .home-hero.luxury-hero[data-cinema]:after {
  background: linear-gradient(90deg, #0a2334ed 0%, #0a2334cc 32%, #0a233448 62%, #0a233408 100%);
}
.luxury-home .home-hero.luxury-hero[data-cinema]:before {
  border-color: #dfc697a6;
  box-shadow: inset 0 0 32px #dec49408;
}
.luxury-home .cinema-toggle {
  position: absolute;
  z-index: 4;
  left: 42px;
  bottom: 29px;
  padding: 8px 12px;
  border: 1px solid #dcc39b80;
  background: #102c3ebd;
  color: #f5ead7;
  font: 400 11px/1.4 Arial, sans-serif;
  letter-spacing: .025em;
  cursor: pointer;
}
.luxury-home .cinema-toggle[hidden] { display: none; }
.luxury-home .cinema-toggle:hover { background: #193f54; }
.luxury-home .luxury-hero-actions .button {
  background: linear-gradient(115deg, #d9c096, #ead5b1 50%, #c7ab7c);
  box-shadow: 0 5px 24px #071b2830;
}
.luxury-home .luxury-hero-actions .button:hover {
  background: #ead5b1;
}
@media (max-width: 700px) {
  .luxury-home .home-hero.luxury-hero[data-cinema] > video { object-position: 57% center; }
  .luxury-home .home-hero.luxury-hero[data-cinema]:after {
    background: linear-gradient(90deg, #0a2334e8 0%, #0a2334b8 53%, #0a233459 100%);
  }
  .luxury-home .cinema-toggle { left: 26px; bottom: 20px; padding: 7px 9px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .luxury-home .home-hero.luxury-hero[data-cinema]:not([data-motion-override="true"]) > video { display: none; }
}
/* Explicit layers prevent a poster or inherited hero rule covering playback. */
.luxury-home .home-hero.luxury-hero[data-cinema]>img { z-index:0; }
.luxury-home .home-hero.luxury-hero[data-cinema]>video { z-index:1; opacity:0; }
.luxury-home .home-hero.luxury-hero[data-cinema][data-cinema-mode="video"]>video { opacity:1; }
.luxury-home .home-hero.luxury-hero[data-cinema]:after { z-index:2; pointer-events:none; }
.luxury-home .home-hero.luxury-hero[data-cinema]:before { z-index:4; }
.luxury-home .home-hero.luxury-hero[data-cinema]>.cinema-fallback { position:absolute; inset:0; width:100%; height:100%; max-width:none; padding:0; z-index:1; pointer-events:none; opacity:0; }
.luxury-home .home-hero.luxury-hero[data-cinema][data-cinema-mode="slideshow"]>.cinema-fallback { opacity:1; }
.luxury-home .cinema-fallback img { position:absolute; inset:0; width:100%; height:100%; min-height:0; object-fit:cover; opacity:0; }
.luxury-home [data-cinema-mode="slideshow"]>.cinema-fallback img { animation:cinema-stills 24s linear infinite both; }
.luxury-home .cinema-fallback img:nth-child(2) { animation-delay:6s; }
.luxury-home .cinema-fallback img:nth-child(3) { animation-delay:12s; }
.luxury-home .cinema-fallback img:nth-child(4) { animation-delay:18s; }
.luxury-home [data-running="false"]>.cinema-fallback img { animation-play-state:paused; }
@keyframes cinema-stills { 0% {opacity:0} 8.333%,25% {opacity:1} 33.333%,100% {opacity:0} }
.luxury-home .cinema-toggle { z-index:5; min-height:44px; padding:10px 14px; }
.luxury-home .cinema-toggle:focus-visible { outline:3px solid #ead5b1; outline-offset:4px; }
.luxury-home .luxury-image-credit { z-index:4; }
.luxury-home .luxury-image-credit a { color:inherit; text-underline-offset:4px; }
@media(prefers-reduced-motion:reduce) { .luxury-home [data-cinema]:not([data-motion-override="true"])>.cinema-fallback img { animation:none; } }
@media(max-width:700px) { .luxury-home .cinema-fallback img { object-position:57% center; } .luxury-home .cinema-toggle { left:26px; bottom:22px; } .luxury-home .luxury-image-credit { bottom:76px; right:27px; max-width:70%; line-height:1.6; } }

/* More light on the coast imagery while keeping the reading area dark. */
.luxury-home .home-hero.luxury-hero[data-cinema]:after {background:linear-gradient(90deg,#0a2334e8 0%,#0a2334bf 30%,#0a233430 61%,#0a233400 100%);}
.luxury-home [data-cinema-mode="slideshow"]>.cinema-fallback img {animation:cinema-stills 36s linear infinite both;transform:none;}
.luxury-home [data-running="false"]>.cinema-fallback img {animation-play-state:paused;}
/* Explicit offsets follow the animation shorthand, so they cannot be reset. */
.luxury-home [data-cinema-mode="slideshow"]>.cinema-fallback img:nth-child(1) {animation-delay:-3s;}
.luxury-home [data-cinema-mode="slideshow"]>.cinema-fallback img:nth-child(2) {animation-delay:6s;}
.luxury-home [data-cinema-mode="slideshow"]>.cinema-fallback img:nth-child(3) {animation-delay:15s;}
.luxury-home [data-cinema-mode="slideshow"]>.cinema-fallback img:nth-child(4) {animation-delay:24s;}
@media(max-width:700px){.luxury-home .home-hero.luxury-hero[data-cinema]:after {background:linear-gradient(90deg,#0a2334d9,#0a233488 65%,#0a233444);}}
@media(prefers-reduced-motion:reduce){.luxury-home [data-cinema]:not([data-motion-override="true"])>.cinema-fallback img {animation:none;transform:none;}}
