:root {
  --ink: #0b100f;
  --fog: #e8e8e1;
  --gold: #c5a65a;
  --line: rgba(232, 232, 225, .32);
  --ease-premium: cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  color: var(--fog);
  background: var(--ink);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  line-height: 1.7;
}
a { color: inherit; }
img { display: block; width: 100%; }
.skip-link {
  position: fixed;
  z-index: 100;
  top: .7rem;
  left: .7rem;
  padding: .7rem 1rem;
  color: var(--ink);
  background: var(--fog);
  transform: translateY(-180%);
}
.skip-link:focus-visible { transform: translateY(0); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.site-header {
  position: fixed;
  z-index: 30;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  padding: 1.5rem 2rem;
  pointer-events: none;
  mix-blend-mode: difference;
}
.site-header a { pointer-events: auto; text-decoration: none; }
.brand { display: flex; align-items: flex-start; gap: 1rem; width: max-content; }
.brand span { color: var(--gold); font-size: .7rem; line-height: 1.4; }
.brand strong {
  font-family: Arial, sans-serif;
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .42em;
  writing-mode: vertical-rl;
}
.studio-back {
  font-family: Arial, sans-serif;
  font-size: .6rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.booking-link {
  justify-self: end;
  padding: .9rem 1.5rem;
  border: 1px solid var(--gold);
  background: rgba(11, 16, 15, .68);
  font-size: .78rem;
  letter-spacing: .16em;
}

.vertical-story {
  position: relative;
  isolation: isolate;
  background: var(--ink);
}
.story-stage {
  position: fixed;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  pointer-events: none;
  background: var(--ink);
}
.stage-image {
  position: absolute;
  inset: -2%;
  margin: 0;
  opacity: 0;
  will-change: opacity;
  transition: opacity 1.2s var(--ease-premium);
}
.stage-image.is-active { z-index: 1; opacity: 1; }
.stage-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.78) brightness(.76);
  transform: scale(1.06);
  transform-origin: center;
}
.stage-image.is-active img {
  animation: stage-breathe 9s var(--ease-premium) alternate infinite;
}
.stage-shade,
.stage-mist {
  position: absolute;
  z-index: 3;
  inset: 0;
}
.stage-shade {
  background:
    linear-gradient(90deg, rgba(4, 8, 8, .76), rgba(4, 8, 8, .08) 55%, rgba(4, 8, 8, .42)),
    linear-gradient(0deg, rgba(4, 8, 8, .66), transparent 48%, rgba(4, 8, 8, .16));
}
.stage-mist {
  z-index: 4;
  inset: -20%;
  opacity: .34;
  background:
    radial-gradient(ellipse at 18% 42%, rgba(232, 232, 225, .30), transparent 34%),
    radial-gradient(ellipse at 82% 62%, rgba(232, 232, 225, .18), transparent 31%);
  filter: blur(30px);
  mix-blend-mode: screen;
  animation: stage-mist-drift 14s ease-in-out alternate infinite;
}

@keyframes stage-breathe {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}
@keyframes stage-mist-drift {
  from { transform: translate3d(-1.5%, -1%, 0); opacity: .24; }
  to { transform: translate3d(1.5%, 1%, 0); opacity: .38; }
}

.story-chapter {
  position: relative;
  z-index: 2;
  min-height: 118svh;
  display: grid;
  align-items: center;
  padding: 9svh clamp(2rem, 6vw, 7rem);
}
.chapter-arrival { min-height: 130svh; padding: 0; }
.chapter-water { min-height: 125svh; }
.chapter-media {
  position: relative;
  width: 100%;
  min-height: 78svh;
  overflow: visible;
  isolation: isolate;
}
.chapter-media-arrival > img,
.room-image,
.table-image,
.chapter-media-water > img,
.chapter-media .chapter-mist,
.image-shade { display: none; }

.chapter-copy {
  position: relative;
  z-index: 3;
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
html[data-motion-ready="true"] .story-chapter:not([data-revealed]) .chapter-copy {
  opacity: 0;
  transform: translate3d(0, 40px, 0);
}
html[data-motion-ready="true"] .story-chapter[data-revealed] .chapter-copy {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity .8s var(--ease-premium), transform .8s var(--ease-premium);
}
.chapter-index {
  position: absolute;
  z-index: 4;
  right: 1rem;
  bottom: 1rem;
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: .58rem;
  letter-spacing: .2em;
}
.chapter-index.dark { color: var(--fog); }

.chapter-media-arrival { min-height: 100svh; }
.hero-copy {
  position: absolute;
  left: clamp(4rem, 12vw, 12rem);
  bottom: max(8rem, 17vh);
  max-width: 46rem;
}
.chapter-copy > p:first-child,
.chapter-label,
.eyebrow {
  font-family: Arial, sans-serif;
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero-copy > p:first-child span { margin-right: 1rem; color: var(--gold); font-size: 1.8rem; }
.hero-copy h1 {
  margin: 2rem 0;
  font-size: clamp(3rem, 5.5vw, 6rem);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: .08em;
}
.chapter-lead { font-size: .85rem; letter-spacing: .08em; }
.vertical-note {
  position: absolute;
  z-index: 3;
  top: 20%;
  right: 6vw;
  margin: 0;
  font-size: .78rem;
  letter-spacing: .3em;
  writing-mode: vertical-rl;
}

.chapter-media-room {
  display: grid;
  grid-template-columns: minmax(8rem, .36fr) minmax(24rem, .64fr);
  gap: clamp(2rem, 6vw, 8rem);
  align-items: center;
  padding: 6vh 6vw;
  color: var(--fog);
  background: transparent;
}
.chapter-label { align-self: start; display: grid; gap: .5rem; color: var(--gold); }
.chapter-label span { font-size: 2rem; }
.chapter-label small { color: currentColor; writing-mode: vertical-rl; }
.room-copy {
  justify-self: end;
  width: min(36rem, 100%);
  padding: clamp(2rem, 4vw, 4rem);
  border-left: 1px solid var(--line);
  background: rgba(8, 13, 12, .58);
  backdrop-filter: blur(12px);
}
.room-copy h2,
.table-copy h2,
.water-panel h2 {
  margin: 2rem 0;
  font-size: clamp(2.5rem, 4.2vw, 5rem);
  font-weight: 400;
  line-height: 1.35;
}
.room-copy > p:not(.eyebrow),
.table-copy > p:not(.eyebrow),
.water-panel > p { max-width: 28rem; font-size: .88rem; }
.room-copy dl { margin: 3rem 0 0; border-top: 1px solid var(--line); }
.room-copy dl div {
  display: flex;
  justify-content: space-between;
  padding: .75rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .72rem;
}
.room-copy dd { margin: 0; }

.chapter-media-table {
  display: grid;
  align-items: center;
  min-height: 84svh;
  padding: 7vh 6vw;
  background: transparent;
}
.table-copy {
  position: relative;
  width: min(38rem, 58vw);
  padding: clamp(2rem, 4vw, 4rem);
  border-right: 1px solid var(--line);
  background: rgba(8, 13, 12, .52);
  backdrop-filter: blur(12px);
}
.table-copy .chapter-label { position: absolute; top: -4rem; left: 0; }
.menu-note {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--gold);
}
.table-stamp {
  position: absolute;
  z-index: 3;
  right: 5vw;
  bottom: 7vh;
  display: grid;
  place-items: center;
  width: 5rem;
  aspect-ratio: 1;
  margin: 0;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  text-align: center;
  line-height: 1.2;
  transform: rotate(10deg);
}

.chapter-media-water {
  display: grid;
  align-items: center;
  justify-items: end;
  background: transparent;
}
.chapter-media-water::after { content: none; }
.water-panel {
  position: relative;
  z-index: 3;
  width: min(38rem, 44vw);
  min-height: 70svh;
  padding: 12vh 5vw;
  border-left: 1px solid var(--line);
  background: rgba(8, 13, 12, .62);
  backdrop-filter: blur(14px);
}
.water-panel a {
  display: inline-block;
  margin-top: 3rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--gold);
  text-decoration: none;
}

.booking-demo {
  position: relative;
  z-index: 5;
  min-height: 90svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10vh 8vw;
  color: var(--ink);
  background: var(--fog);
}
.booking-demo > p {
  font-family: Arial, sans-serif;
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.booking-demo h2 { margin: 0; font-size: clamp(3rem, 7vw, 8rem); font-weight: 400; line-height: 1.35; }
.booking-demo > div { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.booking-demo > div p { max-width: 34rem; }
.booking-demo a { padding-bottom: .4rem; border-bottom: 1px solid; text-decoration: none; }
footer {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem 2rem;
  color: var(--fog);
  background: var(--ink);
  font-family: Arial, sans-serif;
  font-size: .58rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

@media (max-width: 800px) {
  .site-header { position: absolute; grid-template-columns: 1fr 1fr; mix-blend-mode: normal; }
  .studio-back { display: none; }
  .story-stage { display: none; }
  .story-chapter { min-height: auto; display: block; padding: 0; }
  .chapter-media {
    position: relative;
    top: auto;
    height: auto;
    min-height: 100svh;
    overflow: hidden;
  }
  .chapter-media img[data-parallax-image] { display: block; }
  .chapter-media-arrival > img,
  .chapter-media-water > img {
    position: absolute;
    inset: -2%;
    width: 104%;
    height: 104%;
    object-fit: cover;
    animation: mobile-breathe 9s var(--ease-premium) alternate infinite;
  }
  .chapter-media .chapter-mist,
  .chapter-media-arrival .image-shade { display: block; }
  .chapter-mist {
    position: absolute;
    z-index: 1;
    inset: -16%;
    pointer-events: none;
    opacity: .26;
    background: radial-gradient(ellipse at 30% 48%, rgba(232, 232, 225, .36), transparent 40%);
    filter: blur(18px);
  }
  .image-shade {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(0deg, rgba(4, 8, 8, .72), rgba(4, 8, 8, .06) 68%);
  }
  .chapter-copy { position: relative; }
  .hero-copy { position: absolute; left: 1.5rem; right: 1.5rem; bottom: 8vh; }
  .hero-copy h1 { font-size: clamp(2.6rem, 12vw, 4.5rem); }
  .vertical-note { right: 1.5rem; }
  .chapter-index { right: 1rem; bottom: 1rem; }

  .chapter-media-room {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    min-height: auto;
    padding: 6rem 1.5rem 4rem;
    color: var(--ink);
    background: #dfddd4;
  }
  .chapter-media-room .chapter-label { position: absolute; z-index: 3; top: 2rem; right: 1.5rem; }
  .room-image {
    display: block;
    position: relative;
    height: 58svh;
    margin: 0;
    overflow: hidden;
    border-radius: 44% 44% 0 0 / 18% 18% 0 0;
  }
  .room-image img,
  .table-image img { height: 100%; object-fit: cover; animation: mobile-breathe 9s var(--ease-premium) alternate infinite; }
  .room-copy {
    width: auto;
    padding: 2rem 0 0;
    border: 0;
    background: transparent;
    backdrop-filter: none;
  }
  .room-copy dl { border-color: rgba(11, 16, 15, .25); }
  .room-copy dl div { border-color: rgba(11, 16, 15, .25); }
  .chapter-media-room .chapter-index { color: var(--ink); }

  .chapter-media-table {
    grid-template-columns: 1fr;
    gap: 2rem;
    min-height: auto;
    padding: 7rem 1.5rem 4rem;
    background: #151513;
  }
  .table-copy {
    width: auto;
    padding: 0;
    border: 0;
    background: transparent;
    backdrop-filter: none;
  }
  .table-copy .chapter-label { top: -5rem; left: 0; }
  .table-image {
    display: block;
    height: 58svh;
    margin: 0;
    overflow: hidden;
    border-radius: 44% 44% 0 0 / 18% 18% 0 0;
  }
  .table-stamp { right: 2rem; bottom: 2rem; }

  .chapter-media-water { min-height: 110svh; padding-top: 55svh; }
  .chapter-media-water::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(0deg, #080d0c 38%, transparent 72%);
  }
  .water-panel {
    position: relative;
    width: 100%;
    min-height: 55svh;
    padding: 4rem 1.5rem;
    border: 0;
    background: transparent;
    backdrop-filter: none;
  }
  .booking-demo { padding: 6rem 1.5rem; }
  .booking-demo > div { align-items: start; flex-direction: column; }
  footer { flex-direction: column; }
}

@keyframes mobile-breathe {
  from { transform: scale(1.04); }
  to { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition-duration: .01ms !important;
  }
  html[data-motion-ready="true"] .story-chapter .chapter-copy {
    opacity: 1 !important;
    transform: none !important;
  }
  .stage-image img,
  .chapter-media img[data-parallax-image] { transform: none !important; }
}

.demo-links { display: flex; flex-wrap: wrap; gap: 1.6rem; }
