:root {
  color-scheme: dark;
  --ink: #f9f4eb;
  --ground: #1d1a16;
  --serif: "Noto Serif Display", Georgia, serif;
  --sans: "Be Vietnam Pro", sans-serif;
  --gutter: clamp(24px, 5vw, 82px);
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--ground);
  color: var(--ink);
  font: 300 1rem/1.55 var(--sans);
}
button { font: inherit; cursor: pointer; }
button:focus-visible { outline: 2px solid #ffdfab; outline-offset: 4px; }
button[aria-pressed]:focus-visible { outline-offset: -4px; }

.journey { overflow-anchor: none; }
.journey.is-walking { height: 800vh; height: 800svh; }
.stage, .static-scene {
  position: relative;
  height: 100vh;
  height: 100dvh;
  isolation: isolate;
  overflow: hidden;
  background: var(--ground);
}
.stage { container-type: size; }
.is-walking .stage { position: sticky; top: 0; }
.poster, .poster img, #walk, .hero, .hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.poster img { display: block; object-fit: cover; }
#walk { display: none; }
.is-walking #walk { display: block; visibility: hidden; }
.is-walking .has-frame #walk { visibility: visible; }
.has-frame .poster { visibility: hidden; }
.hero { color: #fff; pointer-events: none; }
.hero-shade {
  height: 44%;
  background: linear-gradient(#2a1a10cc, #2a1a1000);
}
.hero-shade--dawn {
  background: linear-gradient(#0d2a3acc, #0d2a3a00);
  opacity: 0;
}
.masthead {
  position: absolute;
  inset: 24px var(--gutter) auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .32em;
  text-transform: uppercase;
}
.wordmark { font-size: 17px; font-weight: 300; letter-spacing: .62em; }
.hero-copy {
  position: absolute;
  top: 92px;
  left: var(--gutter);
  right: var(--gutter);
}
h1, h2, .scene-title {
  margin: 0;
  font: 300 1em/1.02 var(--serif);
  letter-spacing: -.015em;
}
h1 { font-size: clamp(36px, 13.333vw, 52px); }
.hero-copy p {
  max-width: 300px;
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  letter-spacing: .02em;
}
.hero-copy p::before {
  display: block;
  width: 36px;
  height: 1px;
  margin: 0 0 13px;
  background: currentColor;
  opacity: .7;
  content: "";
}
.light-switch {
  display: inline-flex;
  margin-top: 28px;
  border: 1px solid #ffffff8c;
  border-radius: 99px;
  overflow: hidden;
  pointer-events: auto;
}
.light-switch button {
  padding: 5px 12px;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 10px;
  line-height: 16px;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.light-switch button[aria-pressed="true"] { background: #ffffffe6; color: var(--ground); }
.door-marker {
  --image-width: max(100cqw, calc(100cqh * .5625));
  --image-height: max(100cqh, calc(100cqw / .5625));
  position: absolute;
  top: calc(50% + var(--door-y, .097) * var(--image-height));
  left: calc(50% + var(--door-x, 0) * var(--image-width));
  width: calc(var(--door-width, .10) * var(--image-width));
  height: calc(var(--door-height, .085) * var(--image-height));
  translate: -50% -50%;
  border: 1px solid #ffffffe6;
}
.scroll-cue {
  position: absolute;
  inset: auto 0 36px;
  text-align: center;
  font-size: 10px;
  letter-spacing: .32em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px #1d1a16;
}
.scroll-cue::after {
  display: block;
  width: 1px;
  height: 28px;
  margin: 10px auto 0;
  background: currentColor;
  opacity: .8;
  content: "";
}
.intro .hero-copy { animation: enter .65s ease-out both; }
@keyframes enter {
  from { transform: translateY(9px); opacity: .65; }
  to { transform: translateY(0); opacity: 1; }
}
.scene-copy {
  position: absolute;
  inset: auto 0 0;
  padding: 68px var(--gutter) max(42px, 7svh);
  background: linear-gradient(transparent, #181411d9);
  pointer-events: none;
}
.stage .scene-copy, .stage .booking { opacity: 0; }
.line { display: block; overflow: hidden; padding-block: .16em; }
.line > span { display: block; }
.scene-label {
  margin: 0 0 .5rem;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.scene-title { font-size: clamp(30px, 7.6vw, 66px); }
.scene-title .line { margin-block: -.12em; }
.booking { display: inline-block; margin-top: 1rem; }
.booking button, .concept button {
  padding: .73rem 1.13rem;
  border: 1px solid #fff8;
  border-radius: 99px;
  background: #f9f4eb;
  color: var(--ground);
  font-size: 13px;
  font-weight: 500;
  pointer-events: auto;
}
footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 24px var(--gutter);
  color: #d9cdbf;
}
footer p { margin: 0; font-size: 11px; letter-spacing: .035em; }
dialog {
  width: min(calc(100% - 48px), 440px);
  padding: 0;
  border: 1px solid #c5ae8d55;
  background: var(--ground);
  color: var(--ink);
}
dialog::backdrop { background: #171411b3; }
.concept { padding: clamp(22px, 7vw, 38px); }
.concept h2 { font-size: clamp(29px, 7vw, 37px); }
.concept p { margin: 1rem 0 1.35rem; font-size: 14px; }

@media (min-width: 768px) {
  .masthead { top: clamp(26px, 5vh, 54px); }
  .hero-copy { top: clamp(74px, 13vh, 150px); }
  h1 { font-size: clamp(56px, min(8vw, 12vh), 118px); }
  .hero-copy p { max-width: 345px; font-size: 14px; }
  .hero-copy p::before { margin: 8px 0 14px; }
  .scroll-cue { bottom: 28px; }
}
@media (max-height: 520px) {
  .masthead { top: 16px; }
  .hero-copy { top: 59px; }
  h1 { font-size: clamp(32px, 10vh, 52px); }
  .light-switch { margin-top: 12px; }
  .hero-shade { height: 68%; }
  .scroll-cue { bottom: 12px; }
  .scroll-cue::after { height: 12px; }
  .scene-copy { padding-bottom: 18px; }
}
