.scene-veil {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  overflow: hidden;
  background: radial-gradient(ellipse at 52% 46%, #242c37, #121820 59%, #0d1117);
}
.site-opening .scene-veil, .scene-veil[data-active] { visibility: visible }
.site-opening .scene-veil { opacity: 1; animation: opening-limit 1.85s step-end forwards }
.scene-veil::before, .scene-veil::after {
  content: '';
  position: absolute;
  inset: -12%;
  opacity: .65;
  background: radial-gradient(ellipse at 28% 65%, #e3755f45, transparent 37%);
}
.scene-veil::after { background: radial-gradient(ellipse at 76% 35%, #7996bc3d, transparent 38%) }
.site-opening .scene-veil::before, .scene-veil[data-active]::before { animation: glow-drift 1.7s var(--ease-out) both }
.site-opening .scene-veil::after, .scene-veil[data-active]::after { animation: glow-drift 1.7s var(--ease-out) reverse both }
.scene-veil-mark { position: relative; z-index: 1; width: clamp(150px, 16vw, 240px); filter: drop-shadow(0 0 24px #ffbca345) }
.scene-veil-mark img { width: 100%; height: auto }
.site-opening .scene-veil-mark { animation: logo-appear 530ms var(--ease-out) both }
.scene-veil[data-active] .scene-veil-mark { animation: none }

@keyframes opening-limit { to { opacity: 0; visibility: hidden } }
@keyframes glow-drift { from { transform: translate3d(-5%, 3%, 0) scale(.92) } to { transform: translate3d(5%, -3%, 0) scale(1.05) } }
@keyframes logo-appear { from { opacity: .42; transform: scale(.94) } to { opacity: 1; transform: none } }
@keyframes mark-appear { from { opacity: 0; transform: scale(.94) } to { opacity: 1; transform: none } }
@keyframes enter-panel { from { opacity: .25; transform: translateY(7px) scale(.985) } to { opacity: 1; transform: none } }
@keyframes fade-up { from { opacity: .45; transform: translateY(5px) } to { opacity: 1; transform: none } }

.button, .header-visit, .menu-toggle, .nav-panel a, .nav-dropdown summary, .nav-dropdown summary span,
.edition-link, .text-link, .footer-main a, .scene-floor-links a, .motion-toggle, .floor-control, .store-card,
.room-photo span, .room-thumbs button, .icon-button {
  transition: background-color 230ms ease, color 230ms ease, border-color 230ms ease, box-shadow 330ms var(--ease-out), transform 340ms var(--ease-out);
}
.button:active, .header-visit:active, .floor-control:active, .icon-button:active { transform: translateY(1px) }
.nav-dropdown[open] .nav-panel, .main-nav[data-open="true"], .dialog[open] { animation: enter-panel 290ms var(--ease-out) both }
.gallery-frame img, .store-card img { animation: fade-up 350ms var(--ease-out) both }
.gallery-frame { position: relative; isolation: isolate; min-height: min(34vh, 245px); display: grid; place-items: center; border-radius: 9px; overflow: hidden; background: #1b2129 }
.gallery-frame[aria-busy="true"]::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('./assets/brand.png') center / 100px auto no-repeat, radial-gradient(ellipse at 44% 53%, #733e37, #1c242d 62%);
  animation: mark-appear 300ms 140ms var(--ease-out) both;
}
.room-photo img, .location-card img { transition: transform 740ms var(--ease-out) }
.plan-card { transition: background-color 270ms ease, border-color 300ms ease, box-shadow 410ms var(--ease-out), transform 410ms var(--ease-out) }

@media (hover: hover) and (pointer: fine) {
  .button:hover, .header-visit:hover { box-shadow: 0 7px 20px #11151a30; transform: translateY(-2px) }
  .floor-control:hover { transform: translateX(3px) translateZ(14px) }
  .store-card:hover, .plan-card:focus-within, .plan-card:hover { transform: translateY(-4px) }
  .plan-card:focus-within, .plan-card:hover { background: #fffaf2; border-color: #9c3f2b64; box-shadow: 0 13px 35px #32251d17 }
  .room-photo:hover img, .location-card:hover img { transform: scale(1.045) }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .venue-cover img { animation: venue-parallax linear both; animation-timeline: view(); animation-range: entry 0% exit 100% }
    .story-photo img { animation: story-parallax linear both; animation-timeline: view(); animation-range: entry 0% exit 100% }
    @keyframes venue-parallax {
      from { transform: translate3d(0, -4%, 0) scale(1.1) }
      to { transform: translate3d(0, 4%, 0) scale(1.1) }
    }
    @keyframes story-parallax {
      from { transform: translate3d(0, -2%, 0) scale(1.055) }
      to { transform: translate3d(0, 2%, 0) scale(1.055) }
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important }
  .scene-veil { display: none }
}
