:root {
  --ink: #14110f;
  --ink-soft: #231c17;
  --cream: #f6f1ea;
  --paper: #fbf8f4;
  --gold: #c6a36a;
  --gold-deep: #8d6840;
  --muted: #6d645c;
  --line: rgba(198, 163, 106, 0.45);
  --header: 92px;
  --serif: "Cormorant Infant", "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}

body.nav-lock {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 4;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 2.5%, transparent 8%, transparent 92%, #000 97.5%, #000 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 2.5%, transparent 8%, transparent 92%, #000 97.5%, #000 100%);
}

@media (max-width: 680px) {
  .atmosphere {
    -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 3.5%, transparent 96.5%, #000 100%);
    mask-image: linear-gradient(90deg, #000 0%, transparent 3.5%, transparent 96.5%, #000 100%);
  }
}

.atmosphere__orb {
  position: absolute;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 163, 106, 0.22), rgba(198, 163, 106, 0) 68%);
  filter: blur(8px);
}

.atmosphere__orb--a {
  top: -8%;
  left: -10%;
  animation: orb-a 28s ease-in-out infinite alternate;
}

.atmosphere__orb--b {
  right: -12%;
  bottom: -6%;
  width: 38vw;
  height: 38vw;
  animation: orb-b 34s ease-in-out infinite alternate;
}

.atmosphere__orb--c {
  top: 16%;
  right: -14%;
  left: auto;
  width: 26vw;
  height: 26vw;
  animation: orb-c 24s ease-in-out infinite alternate;
}

.atmosphere i {
  position: absolute;
  bottom: -12px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(214, 184, 122, 0.7);
  box-shadow: 0 0 8px rgba(198, 163, 106, 0.45);
  animation: mote-page 22s linear infinite;
}

.atmosphere i:nth-of-type(1) { left: 1.5%; animation-duration: 18s; animation-delay: -4s; }
.atmosphere i:nth-of-type(2) { left: 3%; animation-duration: 24s; animation-delay: -11s; }
.atmosphere i:nth-of-type(3) { left: 4.5%; animation-duration: 20s; animation-delay: -2s; }
.atmosphere i:nth-of-type(4) { left: 6%; animation-duration: 26s; animation-delay: -15s; }
.atmosphere i:nth-of-type(5) { right: 1.5%; left: auto; animation-duration: 19s; animation-delay: -7s; }
.atmosphere i:nth-of-type(6) { right: 3%; left: auto; animation-duration: 25s; animation-delay: -13s; }
.atmosphere i:nth-of-type(7) { right: 4.5%; left: auto; animation-duration: 21s; animation-delay: -1s; }
.atmosphere i:nth-of-type(8) { right: 6%; left: auto; animation-duration: 27s; animation-delay: -9s; }
.atmosphere i:nth-of-type(9) { left: 2.2%; animation-duration: 23s; animation-delay: -6s; }
.atmosphere i:nth-of-type(10) { right: 2.2%; left: auto; animation-duration: 22s; animation-delay: -16s; }
.atmosphere i:nth-of-type(11) { left: 5.2%; animation-duration: 19s; animation-delay: -3s; }
.atmosphere i:nth-of-type(12) { right: 5.2%; left: auto; animation-duration: 24s; animation-delay: -12s; }

img { max-width: 100%; display: block; }

button, input, select, textarea { font: inherit; color: inherit; }

a { color: inherit; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  padding: 0 32px;
  color: #fff;
  background: linear-gradient(180deg, rgba(14, 11, 9, 0.72), rgba(14, 11, 9, 0));
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-solid {
  background: #100d0b;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.site-header.is-solid::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(198, 163, 106, 0.95), transparent);
  background-size: 28% 100%;
  background-repeat: no-repeat;
  animation: line-travel 8s ease-in-out infinite;
}

.topbar,
.nav-wrap {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topbar {
  min-height: 48px;
  padding: 16px 0 8px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.82);
}

.topbar a { text-decoration: none; }

.topbar a:hover { color: var(--gold); }

.nav-wrap { min-height: 64px; }

.logo {
  flex: 0 0 auto;
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: 0.16em;
  padding-right: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
}

.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  min-width: 76px;
  padding: 0 14px;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.86);
}

.nav .btn {
  height: 40px;
  min-height: 40px;
  margin-left: 10px;
  padding: 0 16px;
  letter-spacing: 0.04em;
  font-size: 13px;
}

.nav .btn:hover { transform: none; }

.nav a { position: relative; }

.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s ease;
}

.nav a.is-active,
.nav a:hover { color: var(--gold); }

.nav a.is-active::after,
.nav a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  position: relative;
  z-index: 70;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #fff;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 13px;
  cursor: pointer;
  background: var(--gold);
  color: #1a140f;
  transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 28%, rgba(255, 255, 255, 0.45) 48%, transparent 68%);
  transform: translateX(-120%);
  pointer-events: none;
}

.btn:hover::before { animation: sheen 0.7s ease; }

.btn:hover { transform: translateY(-2px); background: #d8bc8a; }

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn--ghost:hover { background: #fff; color: var(--ink); }

.btn--small { min-height: 42px; }

section[id] { scroll-margin-top: 96px; }

.hero {
  position: relative;
  min-height: 100svh;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  overflow: hidden;
}

.hero__media,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__media { inset: -10% 0; }

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.08);
  animation: kenburns 32s ease-in-out infinite alternate;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: -12%;
  background: radial-gradient(circle at 28% 36%, rgba(198, 163, 106, 0.28), transparent 34%);
  animation: glow-drift 18s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero__beam {
  position: absolute;
  z-index: 1;
  top: -20%;
  bottom: -20%;
  left: 0;
  width: 34%;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 244, 220, 0) 22%, rgba(255, 236, 205, 0.42) 46%, rgba(255, 248, 230, 0.72) 50%, rgba(198, 163, 106, 0.38) 56%, transparent 78%);
  mix-blend-mode: screen;
  pointer-events: none;
  animation: beam 8s cubic-bezier(0.45, 0, 0.2, 1) 0.8s infinite;
}

.hero__motes {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__motes i {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #ffe7c2;
  box-shadow: 0 0 10px rgba(198, 163, 106, 0.9);
  opacity: 0;
  animation: mote 12s linear infinite;
}

.hero__motes i:nth-child(1) { left: 58%; bottom: 18%; animation-delay: 0s; }
.hero__motes i:nth-child(2) { left: 67%; bottom: 8%; animation-delay: 2.4s; width: 2px; height: 2px; }
.hero__motes i:nth-child(3) { left: 74%; bottom: 28%; animation-delay: 4.6s; }
.hero__motes i:nth-child(4) { left: 81%; bottom: 12%; animation-delay: 1.2s; width: 2px; height: 2px; }
.hero__motes i:nth-child(5) { left: 88%; bottom: 24%; animation-delay: 6.1s; }
.hero__motes i:nth-child(6) { left: 94%; bottom: 6%; animation-delay: 3.3s; width: 2px; height: 2px; }

.hero__shade {
  background:
    linear-gradient(180deg, rgba(14, 11, 9, 0.55) 0%, rgba(14, 11, 9, 0.18) 34%, rgba(14, 11, 9, 0.72) 100%);
}

.hero__content,
.bookbar {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero__content { padding: 140px 0 28px; }

.eyebrow {
  margin: 0 0 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--gold);
}

.section .eyebrow::before,
.feature__copy .eyebrow::before,
#contacts .eyebrow::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 10px 1px 0;
  background: var(--gold);
  transform: rotate(45deg);
  vertical-align: middle;
}

.hero .eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  padding: 8px 14px 7px;
  color: #fff;
  background: rgba(14, 11, 9, 0.62);
  text-shadow: none;
}

.hero h1,
.hero__lead { text-shadow: 0 10px 28px rgba(0, 0, 0, 0.45); }

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3.4rem, 8.4vw, 7.6rem);
  line-height: 0.86;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1::after {
  content: "";
  display: block;
  width: 84px;
  height: 1px;
  margin-top: 22px;
  background: var(--gold);
  transform-origin: left center;
  animation: draw 1.1s 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__content .eyebrow,
.hero h1,
.hero__lead,
.hero__actions {
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero h1 { animation-delay: 0.12s; }
.hero__lead { animation-delay: 0.28s; }
.hero__actions { animation-delay: 0.42s; }

.hero__lead {
  width: 100%;
  max-width: none;
  margin: 22px 0 0;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.88);
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.bookbar {
  display: grid;
  grid-template-columns: 1.15fr 1.15fr 0.7fr 1fr;
  align-items: end;
  gap: 12px;
  margin-bottom: 28px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.bookbar label,
.field { display: flex; flex-direction: column; gap: 6px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }

.bookbar input,
.bookbar select,
.form input,
.form select,
.form textarea {
  min-height: 46px;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  padding: 0 12px;
}

.bookbar input,
.bookbar select,
.bookbar .btn {
  width: 100%;
  height: 52px;
  min-height: 52px;
}

.bookbar .btn {
  padding: 0 12px;
  letter-spacing: 0.06em;
  font-size: 12px;
}

.bookbar .btn:hover { transform: none; }

.section { padding: 72px 0; }
.section + .section { padding-top: 0; }

.section__inner { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.section--cream { background: var(--paper); }
#about { padding-top: 0; }
.section--ink {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #f7f2eb;
}

.section--ink::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 52vw;
  height: 52vw;
  left: -8%;
  top: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 163, 106, 0.12), rgba(198, 163, 106, 0) 68%);
  pointer-events: none;
  animation: ink-light 20s ease-in-out infinite alternate;
}

.section--ink > * { position: relative; z-index: 1; }

.section:not(#contacts) {
  position: relative;
}

#rooms,
#spa,
#gallery,
#booking { overflow: hidden; }

.section:not(#contacts)::before,
.section:not(#contacts)::after {
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
}

.section:not(#contacts)::before {
  width: 48vw;
  height: 48vw;
  right: -8%;
  top: 6%;
  background: radial-gradient(circle, rgba(112, 74, 40, 0.28), rgba(112, 74, 40, 0) 68%);
  animation: paper-light 22s ease-in-out infinite alternate;
}

.section:not(#contacts)::after {
  width: 34vw;
  height: 34vw;
  left: -10%;
  bottom: -8%;
  background: radial-gradient(circle, rgba(166, 124, 72, 0.3), rgba(166, 124, 72, 0) 70%);
  animation: paper-light-b 26s ease-in-out infinite alternate;
}

.section:not(#contacts) > * { position: relative; z-index: 1; }

#about::before { top: 28%; }

.perks {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  margin-top: -42px;
  position: relative;
  z-index: 2;
  padding: 28px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(30, 20, 12, 0.08);
}

.perk {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 88px;
  padding-top: 16px;
}

.perk::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.perk svg { width: 28px; height: 28px; stroke: var(--gold-deep); fill: none; stroke-width: 1.4; }
.perk strong { font-size: 14px; font-weight: 600; }
.perk span { color: var(--muted); font-size: 13px; }

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
  margin-top: 40px;
}

h2 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
}

.lede { font-size: 18px; color: var(--ink-soft); margin: 0 0 14px; }

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.facts strong {
  display: block;
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 500;
  line-height: 1;
}

.facts span { color: var(--muted); font-size: 14px; }

.collage {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  grid-template-rows: 240px 200px;
  gap: 12px;
}

.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage img:first-child { grid-row: 1 / span 2; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 32px;
}

.section-head p { max-width: 420px; margin: 0; color: var(--muted); }

.rooms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.room-card {
  position: relative;
  display: block;
  min-height: 420px;
  padding: 0;
  border: 0;
  background: #111;
  color: #fff;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
}

.room-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.room-card:hover img { transform: scale(1.06); }

.room-card::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(198, 163, 106, 0);
  pointer-events: none;
  transition: inset 0.45s ease, border-color 0.45s ease;
}

.room-card:hover::after {
  inset: 12px;
  border-color: rgba(198, 163, 106, 0.75);
}

.rooms .room-card:nth-child(2) { transition-delay: 0.08s; }
.rooms .room-card:nth-child(3) { transition-delay: 0.16s; }
.rooms .room-card:nth-child(4) { transition-delay: 0.24s; }

.room-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.72));
}

.room-card__body {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
}

.room-card__body span {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--gold);
}

.room-card h3 {
  margin: 6px 0;
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 500;
}

.room-card p { margin: 0; color: rgba(255, 255, 255, 0.84); }

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
}

.feature__copy,
.feature__photo { min-height: 460px; }

.feature__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 64px;
}

#restaurant .feature {
  grid-template-columns: minmax(0, 590px) minmax(0, 1fr);
  padding-left: max(20px, calc((100% - 1180px) / 2));
}

#restaurant .feature__copy {
  padding-left: 0;
  padding-right: 56px;
}

#restaurant { padding-bottom: 72px; }

.feature__photo { overflow: hidden; }
.feature__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  animation: photo-drift 28s ease-in-out infinite alternate;
}

.spa-photos {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  width: min(1180px, calc(100% - 40px));
  margin: 48px auto 0;
}

.spa-photos img {
  display: block;
  width: 100%;
  height: auto;
}

.meta { margin-top: 22px; color: var(--gold); letter-spacing: 0.04em; }
.meta a { color: inherit; }

.trio {
  width: min(1180px, calc(100% - 40px));
  margin: -48px auto 0;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.trio figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #14110f;
  box-shadow: 0 18px 40px rgba(20, 14, 8, 0.12);
}
.trio img { width: 100%; height: 360px; object-fit: cover; transition: transform 0.8s ease; }
.trio figure:hover img { transform: scale(1.05); }
.trio figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 64px 20px 18px;
  background: linear-gradient(180deg, rgba(16, 13, 11, 0), rgba(16, 13, 11, 0.82));
  color: #f7f2eb;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0.01em;
}

.filters { display: flex; flex-wrap: wrap; gap: 8px; }

.filters button {
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}

.filters button {
  min-height: 40px;
  padding: 0 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}

.filters button.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

.gallery {
  max-height: 680px;
  overflow-x: hidden;
  overflow-y: auto;
  transition: opacity 0.42s ease, transform 0.42s ease;
}

.gallery.is-fading {
  opacity: 0;
  transform: translateY(10px);
}

.gallery-row {
  display: flex;
  gap: 8px;
}

.gallery-row + .gallery-row { margin-top: 8px; }

.shot {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  flex: 0 0 auto;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
}

.shot img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.7s ease;
}

.shot:hover img { transform: scale(1.05); }

.shot.is-hidden { display: none; }

.booking {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 28px;
  background: #fff;
}

.form .wide { grid-column: 1 / -1; }

.form input,
.form select,
.form textarea {
  border: 1px solid #e4dcd2;
  background: var(--paper);
}

.form textarea { min-height: 110px; padding: 12px; resize: vertical; }

.form .btn { border: 0; }

.note { min-height: 1.4em; margin: 0; color: var(--gold-deep); font-size: 14px; }

.contacts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.contacts article {
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.contacts h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
}

.contacts a { color: var(--gold); }
.contacts p { margin: 0 0 8px; }

.map {
  margin-top: 28px;
  height: 380px;
  filter: saturate(0.7);
}

.map iframe { width: 100%; height: 100%; border: 0; }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0 28px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-in { opacity: 1; transform: none; }

dialog {
  position: fixed;
  inset: 0;
  width: fit-content;
  height: fit-content;
  margin: auto;
  border: 0;
  padding: 0;
  background: transparent;
  max-width: calc(100% - 28px);
  max-height: 92svh;
  overflow: auto;
  color: var(--ink);
}

dialog::backdrop { background: rgba(10, 8, 7, 0.72); }

.room-dialog {
  width: min(980px, calc(100% - 28px));
  height: fit-content;
  max-height: 92svh;
  overflow: hidden;
  background: var(--paper);
  opacity: 0;
  transform: translateY(16px) scale(0.992);
  transition: opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1), transform 0.78s cubic-bezier(0.22, 1, 0.36, 1), overlay 0.72s allow-discrete, display 0.72s allow-discrete;
}

.room-dialog[open] {
  opacity: 1;
  transform: none;
}

@starting-style {
  .room-dialog[open] {
    opacity: 0;
    transform: translateY(16px) scale(0.992);
  }
}

.room-dialog::backdrop {
  background: rgba(10, 8, 7, 0);
  transition: background 0.72s ease, overlay 0.72s allow-discrete, display 0.72s allow-discrete;
}

.room-dialog[open]::backdrop {
  background: rgba(10, 8, 7, 0.72);
}

@starting-style {
  .room-dialog[open]::backdrop {
    background: rgba(10, 8, 7, 0);
  }
}

.room-stage {
  position: relative;
  height: auto;
}

.room-track {
  display: flex;
  height: auto;
  overflow-x: auto;
  scrollbar-width: none;
}

.room-panel {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-width: 0;
  height: auto;
  align-items: stretch;
  overflow: hidden;
}

.room-dialog__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: minmax(0, 1.55fr) minmax(0, 1fr);
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.room-dialog__photos img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  background: #ebe4da;
}

.room-dialog__photos img:first-child { grid-column: 1 / -1; }

.room-dialog__copy {
  overflow: visible;
  min-height: 0;
  padding: 28px 62px 28px 24px;
}

.room-dialog__copy p { margin: 0 0 8px; }
.room-dialog__copy .btn { margin-top: 6px; }

.room-stage[hidden],
.book-panel[hidden] { display: none !important; }

.room-track::-webkit-scrollbar { display: none; }

.room-index {
  margin: -4px 0 8px;
  color: var(--gold-deep);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
}

.room-step {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(141, 104, 64, 0.72);
  border-radius: 50%;
  background: rgba(20, 17, 15, 0.46);
  color: #fff;
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(8px);
}

.room-step--prev { left: 12px; }
.room-step--next { right: 12px; left: auto; }
.room-dialog__copy h3 { margin: 0 0 6px; font-family: var(--serif); font-size: 42px; font-weight: 500; line-height: 1; }
.book-dialog h3,
.book-panel h3 { margin: 0 0 8px; font-family: var(--serif); font-size: clamp(1.9rem, 3vw, 2.75rem); font-weight: 500; line-height: 1.08; }

.book-dialog {
  width: min(720px, calc(100% - 28px));
  background: #fff;
  padding: 36px 28px 28px;
}

.book-panel { height: auto; max-height: 92svh; overflow: auto; padding: 36px 32px 32px; }

.book-dialog .form,
.book-panel .form { padding: 0; background: transparent; }

.text-btn {
  display: inline-block;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gold-deep);
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.icon-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(141, 104, 64, 0.45);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.lightbox {
  width: min(1100px, calc(100% - 28px));
  height: fit-content;
  max-height: 92svh;
  overflow: hidden;
  background: transparent;
  color: #fff;
  opacity: 0;
  transform: translateY(16px) scale(0.992);
  transition: opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1), transform 0.78s cubic-bezier(0.22, 1, 0.36, 1), overlay 0.72s allow-discrete, display 0.72s allow-discrete;
}

.lightbox[open] { opacity: 1; transform: none; }

@starting-style {
  .lightbox[open] {
    opacity: 0;
    transform: translateY(16px) scale(0.992);
  }
}

.lightbox::backdrop {
  background: rgba(10, 8, 7, 0);
  transition: background 0.72s ease, overlay 0.72s allow-discrete, display 0.72s allow-discrete;
}

.lightbox[open]::backdrop { background: rgba(10, 8, 7, 0.72); }

@starting-style {
  .lightbox[open]::backdrop { background: rgba(10, 8, 7, 0); }
}

.lightbox__stage { position: relative; }

.lightbox__track {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}

.lightbox__track::-webkit-scrollbar { display: none; }

.lightbox__slide {
  flex: 0 0 100%;
  min-width: 0;
  margin: 0;
}

.lightbox__slide img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
}

.lightbox .icon-btn {
  background: rgba(251, 248, 244, 0.9);
  color: var(--ink);
  border-color: rgba(141, 104, 64, 0.55);
}

@media (max-width: 1240px) {
  .site-header { padding: 0 20px; }
  .topbar { display: none; }
  .logo { position: relative; z-index: 70; }
  .nav-toggle { display: grid; place-items: center; }
  .nav {
    position: fixed;
    z-index: 60;
    inset: 0;
    background: #100d0b;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 92px 28px 32px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav a {
    justify-content: flex-start;
    height: auto;
    min-height: 52px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 18px;
    letter-spacing: 0.08em;
  }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn {
    display: inline-flex;
    align-self: flex-start;
    margin: 28px 0 0;
    border-bottom: 0;
  }
  .rooms, .feature, .trio, .booking, .contacts, .split { grid-template-columns: 1fr; }
  .perks { grid-template-columns: 1fr 1fr; gap: 22px 28px; padding: 24px 22px; }
  .collage { grid-template-columns: 1fr 1fr; grid-template-rows: 180px 160px; }
  .feature__copy,
  #restaurant .feature__copy { padding: 48px 20px; }
  #restaurant .feature { padding-left: 0; grid-template-columns: 1fr; }
  .bookbar, .form { grid-template-columns: 1fr; }
  .room-dialog__copy { padding: 22px 68px 22px 16px; }
  .facts { grid-template-columns: 1fr 1fr 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 680px) {
  html {
    scroll-behavior: auto;
    overflow-x: clip;
    overscroll-behavior: none;
    max-width: 100%;
  }
  body {
    font-size: 16px;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    overscroll-behavior: none;
    touch-action: pan-y;
  }
  main {
    overflow-x: clip;
    max-width: 100%;
  }
  .site-header,
  .site-header.is-solid {
    background: #100d0b;
    box-shadow: none;
    transition: none;
  }
  .site-header.is-solid::after { animation: none; }
  .section { padding: 48px 0; }
  #about { padding-top: 48px; }
  #restaurant { padding-bottom: 48px; }
  .hero__content { padding: 108px 0 12px; }
  .hero h1 { font-size: 3rem; letter-spacing: 0.04em; }
  .hero__lead { margin-top: 14px; font-size: 16px; }
  .hero__actions { flex-direction: column; align-items: stretch; margin-top: 18px; }
  .hero__actions .btn { width: 100%; }
  .bookbar {
    grid-template-columns: minmax(0, 1fr);
    margin-bottom: 20px;
  }
  .bookbar label,
  .bookbar input,
  .bookbar select { min-width: 0; max-width: 100%; }
  .bookbar input[type="date"],
  .bookbar select {
    -webkit-appearance: none;
    appearance: none;
    padding: 0 44px 0 12px;
    background-color: rgba(255, 255, 255, 0.92);
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px 16px;
  }
  .bookbar input[type="date"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2314110f' stroke-width='1.4' stroke-linecap='round'%3E%3Crect x='2.2' y='3.2' width='11.6' height='10.6' rx='1'/%3E%3Cpath d='M2.2 6.6h11.6M5.2 1.8v2.6M10.8 1.8v2.6'/%3E%3C/svg%3E");
  }
  .bookbar select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2314110f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6.2 8 10.2 12 6.2'/%3E%3C/svg%3E");
  }
  .bookbar input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    width: 44px;
    height: 100%;
    margin: 0;
    padding: 0;
    cursor: pointer;
  }
  .bookbar input[type="date"]::-webkit-date-and-time-value {
    margin: 0;
    text-align: left;
  }
  .nav .btn { margin-top: 28px; }
  .atmosphere__orb { filter: none; }
  .perks { grid-template-columns: 1fr 1fr; margin-top: 0; padding: 18px 14px; gap: 16px 12px; }
  .perk { min-height: 0; }
  .facts { grid-template-columns: 1fr; gap: 0; }
  .facts li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(20, 17, 15, 0.1);
  }
  .feature,
  .feature__copy,
  .feature__photo,
  #restaurant .feature__copy { min-height: 0; }
  .feature__photo { height: 260px; }
  .feature__copy,
  #restaurant .feature__copy { padding: 36px 20px; }
  .trio img { height: 240px; }
  .trio figcaption { padding: 44px 16px 14px; font-size: 22px; }
  .room-card { min-height: 280px; }
  .room-card h3 { font-size: 32px; }
  .room-card__body { left: 16px; right: 16px; bottom: 16px; }
  .filters button { min-height: 44px; }
  .gallery { max-height: 480px; }
  .map { height: 260px; }
  .footer { flex-direction: column; align-items: flex-start; }
  .collage { grid-template-rows: 140px 120px; }
  h2 { font-size: 1.85rem; }
  .lede { font-size: 16px; }
  .contacts h3 { font-size: 28px; }
  input, select, textarea { font-size: 16px; }
  .room-panel { grid-template-columns: 1fr; }
  .room-dialog__photos { height: 210px; }
  .room-dialog__copy { padding: 16px 16px 20px; }
  .room-dialog__copy h3 { font-size: 32px; }
  .room-step { top: 105px; }
  .book-dialog { padding: 48px 16px 20px; }
  .book-panel { padding: 48px 16px 20px; }
  .spa-photos {
    grid-template-columns: 1fr;
    width: min(420px, calc(100% - 40px));
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .hero__media img,
  .hero__media::after,
  .hero__beam,
  .hero__motes i,
  .hero__content .eyebrow,
  .hero h1,
  .hero__lead,
  .hero__actions,
  .bookbar,
  .feature__photo img { animation: none; opacity: 1; transform: none; transition: none; }
  .hero h1::after { animation: none; transform: none; }
  .room-card img, .room-card::after, .shot img, .trio img, .btn, .nav a::after, .gallery { transition: none; }
  .room-dialog,
  .lightbox { transition: none; opacity: 1; transform: none; }
  .room-track,
  .lightbox__track { scroll-behavior: auto; }
  .hero__beam, .hero__motes, .atmosphere { display: none; }
  .section--ink::before,
  .section:not(#contacts)::before,
  .section:not(#contacts)::after { animation: none; }
  .site-header.is-solid::after { animation: none; }
}

@keyframes kenburns {
  from { transform: scale(1.05) translate3d(0, 0, 0); }
  to { transform: scale(1.09) translate3d(-1%, -0.6%, 0); }
}

@keyframes photo-drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.07) translate3d(-0.6%, -0.4%, 0); }
}

@keyframes orb-a {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(28vw, 18vh, 0); }
}

@keyframes orb-b {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-22vw, -24vh, 0); }
}

@keyframes orb-c {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-16vw, 14vh, 0) scale(1.25); }
}

@keyframes mote-page {
  0% { transform: translate3d(0, 8vh, 0); opacity: 0; }
  12% { opacity: 0.9; }
  88% { opacity: 0.55; }
  100% { transform: translate3d(16px, -108vh, 0); opacity: 0; }
}

@keyframes ink-light {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(14vw, 8vh, 0); }
}

@keyframes paper-light {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-16vw, 12vh, 0); }
}

@keyframes paper-light-b {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(12vw, -10vh, 0); }
}

@keyframes line-travel {
  from { background-position: -30% 0; }
  to { background-position: 130% 0; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes draw {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes glow-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(6%, 4%, 0); }
}

@keyframes sheen {
  to { transform: translateX(120%); }
}

@keyframes beam {
  0% { transform: translateX(-40%) skewX(-16deg); opacity: 0; }
  10% { opacity: 1; }
  36% { transform: translateX(340%) skewX(-16deg); opacity: 0; }
  100% { transform: translateX(340%) skewX(-16deg); opacity: 0; }
}

@keyframes mote {
  0% { transform: translateY(0) scale(0.5); opacity: 0; }
  12% { opacity: 0.85; }
  100% { transform: translateY(-78vh) scale(1); opacity: 0; }
}
