:root {
  color-scheme: light;
  --ink: #0b0b0b;
  --paper: #f7f3ea;
  --white: #fffdf8;
  --line: rgba(11, 11, 11, 0.18);
  --muted: rgba(11, 11, 11, 0.62);
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.2);
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

.skip-link {
  background: var(--ink);
  color: var(--paper);
  left: 1rem;
  padding: 0.75rem 1rem;
  position: fixed;
  top: 1rem;
  transform: translateY(-180%);
  z-index: 10;
}

.skip-link:focus {
  transform: translateY(0);
}

.experience {
  overflow-x: clip;
}

.splash,
.doorway,
.lobby,
.room {
  min-height: 100svh;
}

.splash {
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  grid-template-rows: 1fr auto auto 1fr;
  justify-items: center;
  padding: 2rem;
  position: relative;
  text-align: center;
}

.splash__mark {
  align-self: end;
  filter: drop-shadow(0 24px 44px rgba(0, 0, 0, 0.35));
  width: min(42vw, 11rem);
}

.splash__mark img {
  height: auto;
  mix-blend-mode: screen;
  width: 100%;
}

.splash__tagline {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  margin: 1.6rem 0 0;
  text-transform: uppercase;
}

.enter-button,
.door-button {
  background: transparent;
  border: 1px solid currentColor;
  cursor: pointer;
  margin-top: 2rem;
  min-height: 2.75rem;
  min-width: 7rem;
  padding: 0.75rem 1.2rem;
  text-transform: uppercase;
}

.enter-button:hover,
.door-button:hover,
.enter-button:focus-visible,
.door-button:focus-visible {
  background: currentColor;
  outline: none;
}

.enter-button:hover span,
.enter-button:focus-visible span {
  color: var(--ink);
}

.door-button:hover,
.door-button:focus-visible {
  color: var(--paper);
}

.doorway {
  align-items: center;
  background: var(--paper);
  display: grid;
  overflow: hidden;
  padding: clamp(1rem, 4vw, 4rem);
  perspective: 1200px;
  position: relative;
}

.doorway__stage {
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow);
  height: min(82svh, 58rem);
  justify-self: center;
  overflow: hidden;
  position: relative;
  transform: translateZ(0) scale(0.94);
  transition: transform 1200ms var(--ease);
  width: min(92vw, 42rem);
}

.doorway__photo {
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  width: 100%;
}

.doorway__panel {
  background-image: url("/assets/photos/sliding-door.jpg");
  background-size: auto 100%;
  bottom: 0;
  position: absolute;
  top: 0;
  transition: transform 1200ms var(--ease);
  width: 50%;
}

.doorway__panel--left {
  background-position: 43% 45%;
  left: 0;
}

.doorway__panel--right {
  background-position: 57% 45%;
  right: 0;
}

.doorway__glow {
  background: radial-gradient(circle at 50% 48%, rgba(255, 253, 248, 0.95), rgba(255, 253, 248, 0) 62%);
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: opacity 900ms var(--ease);
}

.doorway__copy {
  bottom: clamp(1.5rem, 4vw, 3rem);
  display: grid;
  justify-items: center;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
}

.doorway__copy p {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  margin: 0;
  text-transform: uppercase;
}

.experience[data-state="approach"] .doorway__stage,
.experience[data-state="open"] .doorway__stage {
  transform: translateZ(120px) scale(1);
}

.experience[data-state="open"] .doorway__panel--left {
  transform: translateX(-92%);
}

.experience[data-state="open"] .doorway__panel--right {
  transform: translateX(92%);
}

.experience[data-state="open"] .doorway__glow {
  opacity: 1;
}

.lobby {
  background: var(--white);
  display: grid;
  isolation: isolate;
  min-height: 100svh;
  position: relative;
}

.lobby__image {
  inset: 0;
  position: absolute;
  z-index: -2;
}

.lobby__image::after {
  background: linear-gradient(90deg, rgba(247, 243, 234, 0.98), rgba(247, 243, 234, 0.8) 44%, rgba(247, 243, 234, 0.18));
  content: "";
  inset: 0;
  position: absolute;
}

.lobby__image img {
  height: 100%;
  object-fit: cover;
  object-position: 56% 50%;
  width: 100%;
}

.lobby__content {
  align-self: end;
  max-width: 50rem;
  padding: clamp(1.25rem, 5vw, 5rem);
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 9vw, 8.5rem);
  font-weight: 400;
  line-height: 0.92;
  margin: 0;
  max-width: 11ch;
}

h2 {
  font-size: clamp(2.2rem, 8vw, 6.5rem);
}

.room-grid {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0;
  margin-top: clamp(2rem, 7vw, 5rem);
  max-width: 42rem;
}

.room-grid a {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 4rem 1fr;
  min-height: 4.25rem;
}

.room-grid span,
.room-grid strong {
  font-weight: 500;
}

.room-grid span {
  color: var(--muted);
  font-size: 0.75rem;
}

.room-grid strong {
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
}

.room {
  align-content: center;
  border-top: 1px solid var(--line);
  display: grid;
  padding: clamp(1.25rem, 6vw, 6rem);
}

.room p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(1.05rem, 3vw, 1.45rem);
  line-height: 1.45;
  margin: 1.5rem 0 0;
  max-width: 35rem;
}

.room--sushi {
  background: var(--ink);
  color: var(--paper);
}

.room--sushi p:not(.eyebrow) {
  color: rgba(247, 243, 234, 0.74);
}

.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.quick-actions a {
  border: 1px solid currentColor;
  min-width: 7rem;
  padding: 0.85rem 1.1rem;
  text-align: center;
  text-transform: uppercase;
}

.utility-nav {
  background: rgba(247, 243, 234, 0.78);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  bottom: 1rem;
  display: flex;
  gap: 0.25rem;
  padding: 0.25rem;
  position: fixed;
  right: 1rem;
  z-index: 8;
}

.utility-nav a {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  padding: 0.7rem 0.8rem;
  text-transform: uppercase;
}

@media (orientation: landscape) and (max-height: 640px) {
  .splash,
  .doorway {
    min-height: 100vh;
  }

  .doorway__stage {
    aspect-ratio: 16 / 9;
    height: 78vh;
    width: min(88vw, 68rem);
  }

  .doorway__photo,
  .doorway__panel {
    object-position: 50% 50%;
  }
}

@media (min-width: 780px) {
  .splash__mark {
    width: min(24vw, 13rem);
  }

  .doorway__stage {
    aspect-ratio: 16 / 10;
    width: min(84vw, 72rem);
  }

  .lobby__content {
    align-self: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
