/* Scoped to the three explicit application routes; retain their existing layout. */
.phead[data-scene-intro] .scene-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background: #a8a59c;
}
.phead[data-scene-intro] .scene-media > * {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-position: center;
}
/* Full 16:9 frames keep the ceiling, curved counter and complete hotel facade. */
.phead[data-scene-intro] .scene-still,
.phead[data-scene-intro] .scene-film {
  object-fit: contain;
  filter: none;
  transform: none;
}
.phead[data-scene-intro] .scene-film { visibility: hidden; }
.scene-intro-enabled .phead:is([data-scene-state="pending"], [data-scene-state="playing"], [data-scene-state="complete"]) .scene-film { visibility: visible; }
.phead[data-scene-intro]::before {
  background: #000;
  opacity: .46;
  pointer-events: none;
  transition: opacity 250ms ease;
}
.phead[data-scene-intro] > .wrap {
  opacity: 1;
  visibility: visible;
  transition: opacity 250ms ease;
  text-shadow: 0 2px 9px #000d;
}
.scene-intro-enabled .phead:is([data-scene-state="pending"], [data-scene-state="playing"])::before { opacity: 0; }
.scene-intro-enabled .phead:is([data-scene-state="pending"], [data-scene-state="playing"]) > .wrap {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.phead[data-scene-intro] :is(.lede, .crumb) { color: #f3f0e8; }
.phead[data-scene-intro] .btn { text-shadow: none; }
.phead[data-scene-intro] > .bp { transition: opacity 250ms ease; }
.scene-intro-enabled .phead:is([data-scene-state="pending"], [data-scene-state="playing"]) > .bp { opacity: 0 !important; visibility: hidden; }
.phead[data-scene-state="fallback"]::before,
.phead[data-scene-state="fallback"] > .wrap { transition: none; }
@media (prefers-reduced-motion: reduce) {
  .phead[data-scene-intro] > .wrap { opacity: 1 !important; visibility: visible !important; pointer-events: auto; transition: none; }
  .phead[data-scene-intro]::before { opacity: .46 !important; transition: none; }
  .phead[data-scene-intro] .scene-film { visibility: hidden !important; }
}
html[data-a11y-rm] .phead[data-scene-intro] > .wrap,
html[data-a11y-rm] .phead[data-scene-intro]::before { transition: none; }
