:root {
  --ivory: #fdf9f3;
  --ivory-deep: #f4ecdf;
  --burgundy: #7e2b21;
  --burgundy-dark: #5f1f17;
  --rose: #d9bfb8;
  --text: #4a4038;
  --text-soft: #6b5f54;
  --line: #e3d7c3;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.75;
}

/* Grain texture over everything, very subtle */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--burgundy);
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}

::selection { background: var(--rose); color: var(--burgundy-dark); }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--burgundy);
  outline-offset: 3px;
}

img { filter: saturate(0.92); }

/* Eyebrow: italic serif, lowercase — replaces all-caps labels */
.eyebrow {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--burgundy);
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.eyebrow .no {
  font-style: normal;
  font-size: 0.72rem;
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-right: 14px;
  vertical-align: 2px;
}

/* NAV */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: calc(26px + env(safe-area-inset-top, 0px)) 5% 26px;
  color: #fff;
  transition: background 0.45s var(--ease), padding 0.45s var(--ease), color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.nav.scrolled {
  background: var(--ivory);
  color: var(--burgundy);
  padding: calc(14px + env(safe-area-inset-top, 0px)) 5% 14px;
  box-shadow: 0 1px 0 var(--line);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 42px;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.nav ul a {
  color: inherit;
  text-decoration: none;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.92;
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
  transition: border-color 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav ul a:hover { border-color: currentColor; opacity: 1; }

/* Book button */
.btn-book {
  display: inline-block;
  background: var(--burgundy);
  color: var(--ivory);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 13px 30px;
  border: 1px solid var(--burgundy);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.2s var(--ease);
  white-space: nowrap;
}

.btn-book:hover { background: var(--burgundy-dark); border-color: var(--burgundy-dark); }
.btn-book:active { transform: scale(0.97); }

.btn-book-hero {
  margin-top: 38px;
  padding: 16px 44px;
  font-size: 0.8rem;
  background: transparent;
  border-color: rgba(255,255,255,0.85);
  color: #fff;
}

.btn-book-hero:hover {
  background: var(--ivory);
  border-color: var(--ivory);
  color: var(--burgundy);
}

/* HERO — the photo is a fixed layer behind the page, so it stays
   still while the rest of the site scrolls over it */
.hero-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  /* Fixed to the LARGE viewport height: it never resizes when
     Safari's toolbar collapses, so the photo stays truly still */
  height: 100vh;
  height: 100lvh;
  z-index: -1;
  background: url("images/hero.jpg") center 30% / cover no-repeat;
  transform: translateZ(0);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(46,20,14,0.15) 0%, rgba(46,20,14,0.2) 45%, rgba(38,16,11,0.72) 100%);
}

.page-main {
  background: var(--ivory);
}

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  color: #fff;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 5% 11vh;
}

.hero-content .eyebrow { color: var(--rose); }

.hero h1 {
  color: #fff;
  font-size: clamp(3rem, 7.5vw, 6.2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.02;
  max-width: 12ch;
}

.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--rose);
}

.hero p {
  margin-top: 26px;
  font-size: 1.02rem;
  max-width: 46ch;
  opacity: 0.9;
}

.scroll-cue {
  position: absolute;
  bottom: 11vh;
  right: 5%;
  z-index: 2;
  width: 1px;
  height: 72px;
  background: rgba(255,255,255,0.35);
  overflow: hidden;
}
.scroll-cue::after {
  content: "";
  position: absolute;
  top: -72px; left: 0;
  width: 100%; height: 100%;
  background: #fff;
  animation: cue 2.4s infinite var(--ease);
}
@keyframes cue {
  0% { top: -72px; }
  60% { top: 72px; }
  100% { top: 72px; }
}

/* SECTION SHELL */
section { padding: 130px 5%; }
section[id] { scroll-margin-top: 80px; }
.section-inner { max-width: 1280px; margin: 0 auto; }

/* Intro: asymmetric two-column editorial opening */
.intro { padding: 150px 5% 110px; }

.intro-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: start;
}

.intro h2 { font-size: clamp(2.2rem, 3.6vw, 3.4rem); }

.intro p {
  font-size: 1.08rem;
  color: var(--text-soft);
  max-width: 58ch;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

/* FEATURE ROWS — asymmetric, alternating */
.feature {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  padding: 72px 0;
}

.feature.reverse { grid-template-columns: 5fr 7fr; }
.feature.reverse .feature-gallery { order: 2; }
.feature.reverse .feature-text { order: 1; }

/* Layered "gallery print" composition: one large photo with a thin
   offset outline, a smaller framed photo overlapping its corner */
.feature-gallery {
  position: relative;
  padding-bottom: 72px;
}

.img-main {
  position: relative;
  display: block;
  width: 86%;
}

.img-main::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 22px;
  right: -22px;
  bottom: -22px;
  border: 1px solid var(--rose);
}

.img-main img {
  position: relative;
  width: 100%;
  height: 560px;
  object-fit: cover;
  display: block;
}

.feature.reverse .img-main { margin-left: auto; }
.feature.reverse .img-main::before {
  left: -22px;
  right: 22px;
}

.img-accent,
.img-accent-2 {
  position: absolute;
  display: block;
  border: 10px solid var(--ivory);
  box-shadow: 0 34px 70px -34px rgba(95, 31, 23, 0.4);
  z-index: 2;
}

.img-accent {
  bottom: 0;
  right: 0;
  width: 46%;
}

.img-accent img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  display: block;
}

.feature.reverse .img-accent {
  right: auto;
  left: 0;
}

.feature-gallery--trio { padding-top: 56px; }

.img-accent-2 {
  top: 0;
  right: 4%;
  width: 36%;
}

.img-accent-2 img {
  width: 100%;
  height: 225px;
  object-fit: cover;
  display: block;
}

.feature-text h2 {
  font-size: clamp(1.9rem, 2.8vw, 2.7rem);
  margin-bottom: 24px;
}

.feature-text p {
  color: var(--text-soft);
  font-size: 1rem;
  max-width: 52ch;
}
.feature-text p + p { margin-top: 16px; }

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.tag {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.4);
  padding: 8px 16px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.tag:hover { border-color: var(--burgundy); color: var(--burgundy); }

/* STATS — light strip, same palette (no dark block) */
.stats {
  background: var(--ivory-deep);
  padding: 110px 5%;
}

.stats-head {
  max-width: 1280px;
  margin: 0 auto 70px;
}

.stats-head h2 { font-size: clamp(1.9rem, 3vw, 2.8rem); max-width: 22ch; }

.amenities-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.amenity {
  padding: 8px 36px;
  border-left: 1px solid var(--line);
}

.amenity .num {
  font-family: var(--serif);
  font-size: clamp(3rem, 5vw, 4.4rem);
  font-weight: 500;
  color: var(--burgundy);
  line-height: 1;
  margin-bottom: 14px;
}

.amenity h3 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 8px;
}

.amenity p {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin: 0;
}

/* GALLERY */
.gallery-head {
  max-width: 1280px;
  margin: 0 auto 56px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.gallery-head h2 { font-size: clamp(1.9rem, 3vw, 2.8rem); }

.gallery {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 225px;
  grid-auto-flow: dense;
  gap: 16px;
}

.gallery-hint {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--text-soft);
  margin: 0 0 6px;
}

.gallery .g-item { overflow: hidden; cursor: pointer; }
.gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1s var(--ease);
}
.gallery .g-item:hover img { transform: scale(1.05); }
.gallery .wide { grid-column: span 2; }
.gallery .tall { grid-row: span 2; }

/* LOCATION */
.location-section { background: var(--ivory-deep); }

.location {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.location .img-wrap { overflow: hidden; }
.location img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  display: block;
  transition: transform 1s var(--ease);
}
.location .img-wrap:hover img { transform: scale(1.04); }

.location h2 { font-size: clamp(1.9rem, 3vw, 2.8rem); }

.location-intro { margin-top: 18px; color: var(--text-soft); }

.location-list {
  list-style: none;
  padding: 0;
  margin: 34px 0 0;
}

.location-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
  color: var(--text);
}

.location-list li span:last-child {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--burgundy);
  white-space: nowrap;
}

/* FOOTER */
footer {
  background: var(--burgundy-dark);
  color: var(--rose);
  padding: 84px 5% 36px;
  text-align: center;
}

footer .brand {
  font-family: var(--serif);
  color: var(--ivory);
  font-size: 1.7rem;
  font-weight: 500;
}

footer p { font-size: 0.9rem; margin: 16px 0 0; }

.footer-address {
  color: var(--rose);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  transition: color 0.3s var(--ease);
}

.footer-address:hover { color: var(--ivory); }

footer .reg {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(253,249,243,0.14);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(217,191,184,0.65);
}

/* LIGHTBOX — full-screen photo viewer for the gallery */
body.lb-lock { overflow: hidden; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(38, 16, 11, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lb-img {
  max-width: min(90vw, 1240px);
  max-height: 76dvh;
  object-fit: contain;
  display: block;
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.lb-img.loaded {
  opacity: 1;
  transform: none;
}

.lb-close,
.lb-arrow {
  position: absolute;
  z-index: 2;
  background: transparent;
  border: none;
  color: var(--ivory);
  font-family: var(--serif);
  cursor: pointer;
  padding: 12px;
  min-width: 48px;
  min-height: 48px;
  opacity: 0.8;
  transition: opacity 0.3s var(--ease), transform 0.2s var(--ease);
}

.lb-close:hover,
.lb-arrow:hover { opacity: 1; }
.lb-close:active,
.lb-arrow:active { transform: scale(0.94); }

.lb-close {
  top: calc(14px + env(safe-area-inset-top, 0px));
  right: 18px;
  font-size: 2.2rem;
  line-height: 1;
}

.lb-arrow {
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.9rem;
}
.lb-arrow:active { transform: translateY(-50%) scale(0.94); }

.lb-prev { left: 14px; }
.lb-next { right: 14px; }

.lb-bar {
  position: absolute;
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: baseline;
  gap: 18px;
  max-width: 86vw;
}

.lb-caption {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--rose);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lb-counter {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: rgba(253, 249, 243, 0.7);
  white-space: nowrap;
}

/* SCROLL REVEALS */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* RESPONSIVE */
@media (max-width: 960px) {
  /* Solid header bar at all times on phones, covering the notch area */
  .nav,
  .nav.scrolled {
    background: var(--ivory);
    color: var(--burgundy);
    box-shadow: 0 1px 0 var(--line);
    padding: calc(12px + env(safe-area-inset-top, 0px)) 5% 12px;
  }
  /* Extends the ivory bar upward so the area behind Safari's
     collapsing address bar is always solid, never showing photos */
  .nav::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 160px;
    background: var(--ivory);
  }
  .nav ul { display: none; }
  .btn-book { padding: 11px 24px; font-size: 0.7rem; }

  .hero { min-height: 92dvh; }
  .hero h1 { font-size: clamp(2.5rem, 11vw, 4rem); }
  .hero-content { padding-bottom: 14vh; }
  .btn-book-hero { padding: 14px 36px; font-size: 0.76rem; }
  .scroll-cue { display: none; }

  .intro { padding: 90px 5% 70px; }
  .intro-grid { grid-template-columns: 1fr; gap: 28px; }

  .feature, .feature.reverse { grid-template-columns: 1fr; gap: 34px; }
  .feature { padding: 48px 0; }
  .feature.reverse .feature-gallery { order: 0; }
  .feature.reverse .feature-text { order: 0; }

  /* Compact collage: the small framed print still overlaps the big one */
  .feature-gallery { padding: 0; }
  .feature-gallery--trio { padding-top: 0; }
  .img-main { width: 100%; }
  .img-main::before { display: none; }
  .img-main img { height: 380px; }
  .img-accent,
  .img-accent-2 {
    position: static;
    border-width: 8px;
    box-shadow: 0 22px 44px -24px rgba(95, 31, 23, 0.45);
  }
  .img-accent {
    width: 72%;
    margin: -64px 4% 0 auto;
  }
  .img-accent img { height: 200px; }
  .feature.reverse .img-accent { margin: -64px auto 0 4%; }
  .img-accent-2 {
    width: 58%;
    margin: -48px auto 0 4%;
  }
  .img-accent-2 img { height: 170px; }
  .feature-gallery--trio .img-accent { margin-top: -40px; }

  .feature-text h2 { font-size: 1.75rem; }

  .stats { padding: 80px 5%; }
  .stats-head { margin-bottom: 48px; }
  .amenities-grid { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .amenity { padding: 4px 20px; }

  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; gap: 10px; }

  .location { grid-template-columns: 1fr; }
  .location img { height: 380px; }

  footer { padding: 64px 5% calc(28px + env(safe-area-inset-bottom, 0px)); }

  section { padding: 80px 5%; }
}
