:root {
  --ink: #0f211c;
  --bone: #efe8da;
  --wine: #8a2a3f;
  --gold: #e6c58a;
  --pad: clamp(20px, 5vw, 72px);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  background: var(--ink);
}
body {
  font: 300 16px/1.6 var(--sans);
  color: var(--bone);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* nav */
nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: calc(14px + env(safe-area-inset-top)) var(--pad) 14px;
  mix-blend-mode: difference;
  color: #fff;
}
nav .logo {
  font: 400 26px var(--serif);
}
nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  font-size: 14px;
}
nav button {
  background: none;
  border: 0;
  cursor: pointer;
  opacity: 0.85;
}
nav .res {
  border: 1px solid currentColor;
  padding: 8px 18px;
  border-radius: 99px;
  opacity: 1;
}
#bar {
  position: fixed;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 20;
}
@media (max-width: 760px) {
  nav ul {
    display: none;
  }
}

/* burger + mobile menu */
.nr {
  display: flex;
  align-items: center;
  gap: 10px;
}
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: none;
  cursor: pointer;
  position: relative;
  color: inherit;
}
.burger i {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1.5px;
  background: currentColor;
  transition:
    transform 0.35s,
    top 0.35s;
}
.burger i:nth-child(1) {
  top: 18px;
}
.burger i:nth-child(2) {
  top: 25px;
}
.burger[aria-expanded="true"] i:nth-child(1) {
  top: 21.5px;
  transform: rotate(45deg);
}
.burger[aria-expanded="true"] i:nth-child(2) {
  top: 21.5px;
  transform: rotate(-45deg);
}
.menu {
  position: fixed;
  inset: 0;
  z-index: 19;
  background: var(--ink);
  color: var(--bone);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: calc(96px + env(safe-area-inset-top)) var(--pad)
    calc(24px + env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition:
    clip-path 0.6s cubic-bezier(0.7, 0, 0.2, 1),
    visibility 0s 0.6s;
}
.menu.open {
  visibility: visible;
  clip-path: inset(0);
  transition:
    clip-path 0.6s cubic-bezier(0.7, 0, 0.2, 1),
    visibility 0s;
}
.ml {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: 400 clamp(40px, 12vw, 64px)/1.12 var(--serif);
  padding: 4px 0;
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.5s,
    transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1),
    color 0.2s;
}
.ml em {
  color: var(--gold);
}
.menu.open .ml {
  opacity: 1;
  transform: none;
}
.menu.open .ml:nth-child(1) {
  transition-delay: 0.25s;
}
.menu.open .ml:nth-child(2) {
  transition-delay: 0.3s;
}
.menu.open .ml:nth-child(3) {
  transition-delay: 0.35s;
}
.menu.open .ml:nth-child(4) {
  transition-delay: 0.4s;
}
.menu.open .ml:nth-child(5) {
  transition-delay: 0.45s;
}
.mf {
  display: grid;
  gap: 18px;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.6s 0.55s;
}
.menu.open .mf {
  opacity: 1;
}
.mf .btn {
  margin: 0;
  justify-content: center;
  font-size: 15px;
}
.mf dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 18px;
  opacity: 0.8;
}
.mf dt {
  opacity: 0.55;
}
@media (max-width: 760px) {
  .burger {
    display: inline-block;
  }
  nav .res {
    padding: 10px 16px;
  }
}
@media (min-width: 761px) {
  .menu {
    display: none;
  }
}

/* hover / tap descriptions */
.hv {
  position: relative;
  cursor: pointer;
}
.hv:after {
  content: "+";
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(239, 232, 218, 0.92);
  color: var(--ink);
  display: grid;
  place-items: center;
  font: 300 20px/1 var(--sans);
  transition: transform 0.4s;
}
.hv:hover:after,
.hv:focus-visible:after,
.hv.on:after {
  transform: rotate(45deg);
}
.cap {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 48px 18px 18px;
  color: #fff;
  background: linear-gradient(
    0deg,
    rgba(8, 20, 16, 0.92),
    rgba(8, 20, 16, 0.55) 55%,
    transparent
  );
  pointer-events: none;
}
.cap h4 {
  font: 400 clamp(20px, 1.7vw, 26px)/1.1 var(--serif);
}
.cap p {
  font-size: 13px;
  line-height: 1.5;
}
.cap .cd {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.55s cubic-bezier(0.2, 0.7, 0.2, 1),
    opacity 0.4s,
    margin 0.4s;
}
.hv:hover .cap .cd,
.hv:focus-within .cap .cd,
.hv.on .cap .cd {
  max-height: 200px;
  opacity: 0.95;
  margin-top: 8px;
}
.rc .cap {
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: rgba(8, 20, 16, 0.74);
  opacity: 0;
  transition: opacity 0.45s;
}
.rc .cap .cd {
  max-height: none;
  opacity: 0.95;
  margin-top: 8px;
}
.rc .hv:hover .cap,
.rc .hv:focus-within .cap,
.rc .hv.on .cap {
  opacity: 1;
}
.hv2 {
  position: relative;
  cursor: pointer;
}
.hv2 small {
  position: absolute;
  left: 0;
  bottom: calc(100% + 10px);
  width: 240px;
  padding: 12px 14px;
  border-radius: 4px;
  background: var(--bone);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.5;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition:
    opacity 0.3s,
    transform 0.3s,
    visibility 0s 0.3s;
  pointer-events: none;
}
.hv2 small:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
}
.hv2:hover small,
.hv2:focus-within small,
.hv2.on small {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
  pointer-events: auto;
}

.cb {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
  padding: 10px 18px;
  border: 0;
  border-radius: 99px;
  background: var(--gold);
  color: var(--ink);
  font: 500 13px var(--sans);
  cursor: pointer;
  pointer-events: none;
  transition: transform 0.25s;
}
.cb:hover {
  transform: translateX(3px);
}
.hv:focus-within .cb,
.hv.on .cb,
.hv2:focus-within .cb,
.hv2.on .cb {
  pointer-events: auto;
}
@media (hover: hover) {
  .hv:hover .cb,
  .hv2:hover .cb {
    pointer-events: auto;
  }
}
.hv2 small .cb {
  display: flex;
  width: max-content;
}
.seg {
  display: flex;
  gap: 4px;
  background: rgba(15, 33, 28, 0.08);
  padding: 4px;
  border-radius: 99px;
}
.seg button {
  flex: 1;
  border: 0;
  background: none;
  padding: 9px 6px;
  border-radius: 99px;
  font-size: 13px;
  cursor: pointer;
  color: var(--ink);
  transition:
    background 0.25s,
    color 0.25s;
}
.seg [aria-selected="true"] {
  background: var(--ink);
  color: var(--bone);
}
.g {
  display: grid;
  gap: 14px;
}
.g[hidden] {
  display: none;
}
/* track */
#pin {
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
#track {
  display: flex;
  height: 100%;
  width: max-content;
  will-change: transform;
}
.p {
  position: relative;
  height: 100%;
  flex: none;
  display: flex;
  align-items: center;
  padding: 0 var(--pad);
  overflow: hidden;
}
h1,
h2 {
  font: 400 clamp(48px, 8.5vw, 150px)/0.92 var(--serif);
  letter-spacing: -0.025em;
}
h2 {
  font-size: clamp(40px, 6.4vw, 112px);
}
h1 em,
h2 em {
  font-style: italic;
  color: var(--gold);
}
.lead {
  max-width: 34ch;
  margin-top: 22px;
  opacity: 0.78;
  font-size: clamp(15px, 1.2vw, 18px);
}
.btn {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: 30px;
  padding: 14px 26px;
  border: 0;
  border-radius: 99px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 500;
  cursor: pointer;
}
.ph {
  overflow: hidden;
  border-radius: 4px;
  flex: none;
}
.ph img {
  will-change: transform;
}

/* hero */
#hero {
  width: 100vw;
  min-width: 100vw;
  color: #fff;
  padding-top: 80px;
}
#hero .bg {
  position: absolute;
  inset: 0;
}
#hero .bg:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 20, 16, 0.82), rgba(8, 20, 16, 0.15) 70%),
    linear-gradient(0deg, rgba(8, 20, 16, 0.7), transparent 40%);
}
#hero .in {
  position: relative;
}
.hint {
  position: absolute;
  left: var(--pad);
  bottom: calc(26px + env(safe-area-inset-bottom));
  font-size: 13px;
  opacity: 0.7;
  display: flex;
  gap: 12px;
  align-items: center;
}
.hint i {
  display: block;
  width: 60px;
  height: 1px;
  background: currentColor;
  transform-origin: 0;
  animation: h 2s ease-in-out infinite;
}
@keyframes h {
  50% {
    transform: scaleX(0.3);
  }
}

/* intro */
#intro {
  gap: clamp(28px, 5vw, 80px);
  background: var(--bone);
  color: var(--ink);
}
#intro h2 {
  color: var(--wine);
}
#intro h2 em {
  color: var(--ink);
}
#intro .t {
  width: min(46vw, 560px);
  flex: none;
}
#intro .a {
  height: 68vh;
  width: min(32vw, 400px);
}
#intro .b {
  height: 42vh;
  width: min(22vw, 280px);
  align-self: flex-end;
  margin-bottom: 12vh;
}
.stats {
  display: flex;
  gap: 36px;
  margin-top: 34px;
}
.stats b {
  display: block;
  font: 400 clamp(36px, 4vw, 60px)/1 var(--serif);
  color: var(--wine);
}
.stats span {
  font-size: 13px;
  opacity: 0.7;
}

/* rooms */
#rooms {
  gap: clamp(16px, 2.4vw, 36px);
  padding-right: calc(var(--pad) * 2);
}
#rooms .h {
  width: min(34vw, 420px);
  flex: none;
}
.rc {
  width: clamp(240px, 24vw, 360px);
  flex: none;
}
.rc .ph {
  height: 58vh;
}
.rc:nth-child(even) {
  margin-top: 12vh;
}
.rc h3 {
  font: 400 clamp(24px, 2vw, 32px) var(--serif);
  margin-top: 14px;
}
.rc p {
  font-size: 14px;
  opacity: 0.7;
}
.rc b {
  color: var(--gold);
  font-weight: 400;
}

/* dining — dark/wine */
#dine {
  background: var(--wine);
  gap: clamp(18px, 3vw, 44px);
}
#dine .h {
  width: min(40vw, 520px);
  flex: none;
}
#dine h2 em {
  color: var(--bone);
}
#dine .ph {
  height: 62vh;
  width: clamp(220px, 22vw, 330px);
}
#dine .ph:nth-of-type(2n) {
  height: 46vh;
  margin-top: 14vh;
}

/* sky */
#sky {
  width: max(100vw, 900px);
  color: #fff;
}
#sky > .bg {
  position: absolute;
  inset: -6% 0;
}
#sky > .bg:after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 14, 12, 0.5);
}
#sky .in {
  position: relative;
  max-width: min(80vw, 700px);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.chips .hv2 {
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 99px;
  padding: 6px 14px;
  font-size: 13px;
}

/* wellness */
#well {
  background: var(--bone);
  color: var(--ink);
  gap: clamp(20px, 3vw, 48px);
}
#well h2 {
  color: var(--wine);
}
#well h2 em {
  color: var(--ink);
}
#well .h {
  width: min(40vw, 480px);
  flex: none;
}
#well .ph {
  height: 64vh;
  width: clamp(240px, 28vw, 420px);
}
#well .ph:last-child {
  height: 44vh;
  width: clamp(200px, 20vw, 300px);
  align-self: flex-end;
  margin-bottom: 10vh;
}

/* book */
#book {
  width: max(100vw, 980px);
  gap: clamp(24px, 4vw, 64px);
}
#book form {
  background: var(--bone);
  color: var(--ink);
  padding: clamp(22px, 3vw, 40px);
  border-radius: 6px;
  width: min(88vw, 460px);
  flex: none;
  display: grid;
  gap: 14px;
}
#book label {
  font-size: 12px;
  opacity: 0.65;
  display: grid;
  gap: 4px;
}
#book input,
#book select {
  border: 1px solid rgba(15, 33, 28, 0.25);
  background: #fff;
  border-radius: 4px;
  padding: 12px;
  color: var(--ink);
}
#book .r {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
#book form .btn {
  margin: 6px 0 0;
  justify-content: center;
  background: var(--ink);
  color: var(--bone);
}
#msg {
  font-size: 14px;
  min-height: 1.4em;
  color: var(--wine);
}
#book .ph {
  height: 64vh;
  width: clamp(200px, 24vw, 340px);
}
footer {
  font-size: 13px;
  opacity: 0.6;
  margin-top: 28px;
}

@media (max-width: 760px) {
  .p {
    padding-top: 70px;
  }
  #intro .t {
    width: 82vw;
  }
  #intro .a {
    width: 64vw;
    height: 56vh;
  }
  #intro .b {
    width: 46vw;
    height: 34vh;
  }
  #rooms .h,
  #dine .h,
  #well .h {
    width: 78vw;
  }
  .rc {
    width: 70vw;
  }
  .rc .ph {
    height: 52vh;
  }
  .rc:nth-child(even) {
    margin-top: 8vh;
  }
  #dine .ph {
    width: 62vw;
    height: 50vh;
  }
  #dine .ph:nth-of-type(2n) {
    height: 40vh;
    margin-top: 10vh;
  }
  #well .ph {
    width: 64vw;
    height: 54vh;
  }
  #well .ph:last-child {
    width: 50vw;
    height: 36vh;
  }
  #book {
    width: max(100vw, 700px);
  }
  #book .ph {
    display: none;
  }
}
/* reduced motion: plain native horizontal scroll */
.rm #pin {
  overflow-x: auto;
  scroll-snap-type: x proximity;
}
.rm .p {
  scroll-snap-align: start;
}

/* anchors in nav, ghost buttons */
nav a.res {
  border: 1px solid currentColor;
  padding: 8px 18px;
  border-radius: 99px;
}
nav ul a {
  opacity: 0.85;
}
@media (max-width: 760px) {
  nav a.res {
    padding: 10px 16px;
  }
}
.cb.ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  margin-left: 8px;
}
a.ml {
  text-decoration: none;
}
