/* ---------- tokens ---------- */
:root {
  --ink-900: #0b0f14;
  --ink-800: #10161e;
  --ink-700: #172029;
  --ink-600: #1f2a35;
  --line:    rgba(245, 238, 226, 0.10);
  --line-2:  rgba(245, 238, 226, 0.20);

  --paper:      #f5eee2;
  --paper-mute: #b8b1a3;
  --paper-dim:  #7d7768;

  --accent:       #c8a97a;
  --accent-hover: #b3946a;
  --accent-ring:  rgba(200, 169, 122, 0.35);

  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Fraunces', 'Cormorant Garamond', Georgia, serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);

  --radius: 4px;
  --radius-lg: 12px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html, body { height: 100%; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--ink-900);
  color: var(--paper);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
::selection { background: var(--accent); color: var(--ink-900); }

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

/* ---------- utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.serif    { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.01em; }
.display  { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.02em; line-height: 1.05; font-size: clamp(2.4rem, 5.5vw, 4.6rem); text-wrap: balance; }
.display--md { font-size: clamp(2rem, 4vw, 3.2rem); }
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper-mute);
}
.dim { color: var(--paper-dim); }
.hidden { position: absolute; left: -10000px; }

.skip-link {
  position: absolute; top: -100px; left: 20px; z-index: 1000;
  background: var(--accent); color: var(--ink-900);
  padding: 12px 20px; border-radius: 999px; font-weight: 500;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 20px; color: var(--ink-900); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .3s var(--ease);
  border: 1px solid transparent;
  will-change: transform;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--accent-ring); }
.btn--sm { padding: 9px 18px; font-size: 0.82rem; }
.btn--primary { background: var(--accent); color: var(--ink-900); }
.btn--primary:hover { background: var(--accent-hover); color: var(--ink-900); }
.btn--ghost {
  color: var(--paper);
  border-color: var(--line-2);
  background: transparent;
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { border-color: var(--paper); color: var(--paper); background: rgba(245,238,226,0.05); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.9rem; color: var(--accent);
  padding-block: 8px;
  border-bottom: 1px solid transparent;
  transition: gap .25s var(--ease), border-color .25s var(--ease);
}
.link-arrow span { transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--accent); border-bottom-color: var(--accent); gap: 14px; }
.link-arrow:hover span { transform: translateX(3px); }

/* ---------- header / nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  z-index: 40;
  padding-block: 22px;
  transition: background .35s var(--ease), padding .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(11, 15, 20, 0.85);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  padding-block: 14px;
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; flex-direction: column; line-height: 1.1; }
.brand__eyebrow { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--paper-mute); }
.brand__name { font-family: var(--font-display); font-size: 1.15rem; margin-top: 2px; }

.nav__list {
  display: flex; align-items: center; gap: 34px;
  list-style: none; padding: 0;
}
.nav__list a { font-size: 0.92rem; color: var(--paper-mute); transition: color .2s var(--ease); }
.nav__list a:hover { color: var(--paper); }
.nav__list .btn { color: var(--ink-900); }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  position: relative;
  border-radius: 8px;
}
.nav__toggle span {
  display: block; position: absolute; left: 12px; right: 12px;
  height: 1.5px; background: var(--paper);
  transition: transform .3s var(--ease), opacity .2s var(--ease), top .3s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 16px; }
.nav__toggle span:nth-child(2) { top: 22px; }
.nav__toggle span:nth-child(3) { top: 28px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 820px) {
  .nav__toggle { display: block; }
  .nav__list {
    position: fixed; inset: 0 0 auto 0;
    background: rgba(11, 15, 20, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 100px 20px 40px;
    height: 100vh;
    transform: translateY(-100%);
    transition: transform .5s var(--ease);
  }
  .nav__list.is-open { transform: translateY(0); }
  .nav__list a { font-size: 1.4rem; font-family: var(--font-display); color: var(--paper); }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-block: 200px 100px;
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.88) contrast(1.02) saturate(0.95);
  animation: heroZoom 20s var(--ease) both;
}
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1); }
}
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg,
    rgba(11,15,20,0.55) 0%,
    rgba(11,15,20,0.30) 35%,
    rgba(11,15,20,0.70) 75%,
    rgba(11,15,20,0.95) 100%);
}
.hero__content { max-width: 900px; }
.hero__content .eyebrow { color: var(--paper); opacity: 0.85; }
.hero .display { margin-top: 18px; color: var(--paper); }
.hero__sub {
  margin-top: 22px;
  max-width: 55ch;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: rgba(245, 238, 226, 0.85);
}
.hero__ctas { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }

.hero__scroll {
  position: absolute;
  left: 50%; bottom: 32px;
  transform: translateX(-50%);
  width: 22px; height: 40px;
  border: 1px solid rgba(245,238,226,0.4);
  border-radius: 12px;
  z-index: 1;
}
.hero__scroll span {
  position: absolute; top: 7px; left: 50%; margin-left: -1.5px;
  width: 3px; height: 6px;
  background: var(--paper);
  border-radius: 2px;
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%      { transform: translateY(12px); opacity: 0.3; }
}

/* ---------- sections ---------- */
.section {
  padding-block: clamp(80px, 12vw, 140px);
  position: relative;
}
.section--dark { background: var(--ink-800); }
.section__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.section__grid--reverse {
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
}
.section__grid--reverse > header { order: 2; }
.section__head { max-width: 720px; margin-bottom: 60px; }
.section__intro { margin-top: 18px; color: var(--paper-mute); max-width: 55ch; }
.prose p + p { margin-top: 1.2em; }
.prose p { color: var(--paper-mute); font-size: 1.05rem; line-height: 1.75; }

@media (max-width: 820px) {
  .section__grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- rooms ---------- */
.rooms { display: flex; flex-direction: column; gap: 80px; }
.room {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.room--reverse { direction: rtl; }
.room--reverse > * { direction: ltr; }
.room__media {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.room__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.room:hover .room__media img { transform: scale(1.04); }
.room__body h3 { font-size: clamp(1.75rem, 2.5vw, 2.4rem); }
.room__tag { color: var(--paper-mute); margin-top: 12px; max-width: 42ch; }
.specs {
  list-style: none; padding: 0;
  margin: 32px 0;
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 18px 40px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.specs li { display: flex; flex-direction: column; gap: 4px; }
.specs span { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--paper-dim); }
.specs strong { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; color: var(--paper); }
.specs em { font-style: normal; font-size: 0.75rem; color: var(--paper-mute); font-family: var(--font-sans); margin-left: 4px; }

@media (max-width: 820px) {
  .room { grid-template-columns: 1fr; }
  .room--reverse { direction: ltr; }
  .specs { grid-template-columns: 1fr 1fr; gap: 14px 24px; }
}

/* ---------- pill list (dome amenities) ---------- */
.pill-list {
  list-style: none;
  padding: 0;
  margin-top: 60px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill-list li {
  font-size: 0.85rem;
  color: var(--paper-mute);
  padding: 8px 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.pill-list li:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- split (image + text side-by-side within a grid cell) ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
.split__media {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.split:hover .split__media img { transform: scale(1.04); }
.split__body p { color: var(--paper-mute); font-size: 1.05rem; line-height: 1.75; }
.split__body p + p { margin-top: 1em; }

.mini-list {
  list-style: none;
  padding: 0;
  margin-top: 28px;
  display: grid;
  gap: 12px;
}
.mini-list li {
  font-size: 0.95rem;
  color: var(--paper);
  padding-left: 20px;
  position: relative;
}
.mini-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.65em;
  width: 8px; height: 1px;
  background: var(--accent);
}
.mini-list li strong { font-family: var(--font-display); font-weight: 400; margin-right: 6px; }

@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 24px; }
  .split__media { aspect-ratio: 4/3; }
}

/* ---------- fireside section ---------- */
.section--fire { position: relative; }
.fire-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.fire-grid__media {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.fire-grid__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.95);
  transition: transform 1.2s var(--ease);
}
.fire-grid:hover .fire-grid__media img { transform: scale(1.04); }
.fire-grid__body h2 { margin-top: 12px; }
.fire-grid__body p {
  margin-top: 18px;
  color: var(--paper-mute);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 45ch;
}
@media (max-width: 820px) {
  .fire-grid { grid-template-columns: 1fr; }
  .fire-grid__media { aspect-ratio: 4/3; }
}

/* ---------- experiences (legacy, unused in v1) ---------- */
.exp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.exp {
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.exp:hover { transform: translateY(-4px); border-color: var(--line-2); }
.exp__media { aspect-ratio: 4/3; overflow: hidden; }
.exp__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
  filter: brightness(0.9);
}
.exp:hover .exp__media img { transform: scale(1.06); filter: brightness(1); }
.exp__body { padding: 26px 24px 30px; }
.exp__body h3 { font-size: 1.35rem; margin-top: 8px; }
.exp__body p { color: var(--paper-mute); font-size: 0.95rem; margin-top: 8px; }

/* ---------- gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 12px;
}
.gallery__item {
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  position: relative;
  cursor: zoom-in;
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease), filter .4s var(--ease);
  filter: brightness(0.85);
}
.gallery__item:hover img { transform: scale(1.08); filter: brightness(1); }
.gallery__item:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--accent-ring); }
.gallery__item--tall  { grid-row: span 2; }
.gallery__item--wide  { grid-column: span 2; }

@media (max-width: 820px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery__item--wide { grid-column: span 2; }
}

/* ---------- location ---------- */
.location {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 60px;
}
.location dt { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--paper-dim); }
.location dd { font-family: var(--font-display); font-size: 1.35rem; margin-top: 6px; color: var(--paper); }
.location dd.dim, .location .dim { color: var(--paper-mute); font-size: 0.9rem; font-family: var(--font-sans); }
@media (max-width: 640px) { .location { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- contact ---------- */
.section--contact { background: var(--ink-800); border-top: 1px solid var(--line); }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.contact-grid a { color: var(--accent); border-bottom: 1px solid transparent; }
.contact-grid a:hover { border-bottom-color: var(--accent); }

@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.form { display: grid; gap: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field-row--3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 640px) {
  .field-row, .field-row--3 { grid-template-columns: 1fr; }
}

.field { display: flex; flex-direction: column; gap: 8px; }
.field > span {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-dim);
}
.field > span em { font-style: normal; text-transform: none; letter-spacing: 0; color: var(--paper-mute); margin-left: 4px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--ink-900);
  border: 1px solid var(--line-2);
  color: var(--paper);
  font: inherit;
  padding: 14px 16px;
  border-radius: var(--radius);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 100px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-ring);
}
.form__fineprint { font-size: 0.8rem; color: var(--paper-dim); }

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink-900);
  border-top: 1px solid var(--line);
  padding-top: 70px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  padding-bottom: 60px;
}
.footer-grid p + p { margin-top: 6px; }
.footer-grid .eyebrow { margin-bottom: 14px; display: block; }
.footer-grid a { color: var(--paper); border-bottom: 1px solid transparent; transition: border-color .2s var(--ease); }
.footer-grid a:hover { border-bottom-color: var(--accent); color: var(--accent); }
.footer-grid address { font-style: normal; color: var(--paper-mute); font-size: 0.95rem; }
.footer__tag { color: var(--paper-mute); margin-top: 12px; font-size: 0.9rem; max-width: 30ch; }

.footer-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding-block: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--paper-dim);
}
@media (max-width: 640px) {
  .footer-bar { flex-direction: column; gap: 8px; text-align: center; }
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(6, 8, 12, 0.94);
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
  backdrop-filter: blur(6px);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--radius);
  transform: scale(0.98);
  transition: transform .35s var(--ease);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.lightbox.is-open img { transform: scale(1); }
.lightbox__close {
  position: absolute; top: 20px; right: 24px;
  width: 44px; height: 44px;
  font-size: 2rem; line-height: 1;
  color: var(--paper);
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(11,15,20,0.6);
  transition: background .2s var(--ease);
}
.lightbox__close:hover { background: rgba(11,15,20,0.9); }

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: .1s; }
.reveal:nth-child(3) { transition-delay: .2s; }
.reveal:nth-child(4) { transition-delay: .3s; }
