/* ═══════════════════════════════════════════════════════════
   Bellora — shared site styles
   ═══════════════════════════════════════════════════════════ */

:root {
  --cream: #F5F0EB;
  --cream-light: #FAF7F3;
  --cream-soft: #EDE6DE;
  --charcoal: #2A2622;
  --charcoal-soft: #3D3833;
  --gold: #9B7846;
  --gold-light: #B49A6E;
  --sage: #6B7D60;
  --warm-gray: #7A7268;
  --border: #D4CEC6;
  --border-light: #E7E2DB;
  --font-serif: 'Cormorant Garamond', 'Georgia', serif;
  --font-sans: 'Jost', 'Helvetica Neue', sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-height: 4.25rem;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-serif);
  color: var(--charcoal);
  background: var(--cream);
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 3px;
}

/* ─── Sticky Nav ─── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 3rem;
  background: rgba(245, 240, 235, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 100;
  transform: translateY(-100%);
  transition: transform 0.6s var(--ease-out);
  border-bottom: 1px solid rgba(212, 206, 198, 0.45);
}

.nav.is-visible,
.nav--solid {
  transform: translateY(0);
}

.nav__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--charcoal);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.75rem;
}

.nav__link {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--charcoal);
  opacity: 0.7;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  opacity: 1;
  color: var(--gold);
}

.nav__cta {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal);
  padding: 0.625rem 1.35rem;
  border: 1px solid var(--charcoal);
  transition: all 0.35s ease;
  white-space: nowrap;
}

.nav__cta:hover,
.nav__cta[aria-current="page"] {
  background: var(--charcoal);
  color: var(--cream);
}

/* ─── Hero ─── */

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--charcoal);
}

.hero__image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__image img {
  object-position: 40% 60%;
  animation: ken-burns 30s ease-out forwards;
}

@keyframes ken-burns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(20, 18, 14, 0.5) 0%,
      rgba(20, 18, 14, 0.28) 35%,
      rgba(20, 18, 14, 0.24) 55%,
      rgba(20, 18, 14, 0.6) 100%
    );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  padding: 0 1.5rem;
}

/* On wide screens, set the title in the open sky to the right of the cabin */
@media (min-width: 993px) {
  .hero {
    align-items: flex-end;
    justify-content: flex-start;
    padding: 15vh 5vw 0 0;
  }

  .hero__content {
    width: 50vw;
    padding: 0;
  }

  .hero__overlay {
    background:
      radial-gradient(ellipse 55% 60% at 76% 28%, rgba(20, 18, 14, 0.42) 0%, rgba(20, 18, 14, 0) 100%),
      linear-gradient(to bottom,
        rgba(20, 18, 14, 0.3) 0%,
        rgba(20, 18, 14, 0.08) 40%,
        rgba(20, 18, 14, 0.18) 65%,
        rgba(20, 18, 14, 0.62) 100%
      );
  }

  .hero .hero__title {
    font-size: clamp(3.25rem, 7vw, 7.5rem);
    letter-spacing: 0.28em;
    text-indent: 0.28em;
  }
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(3.25rem, 9.5vw, 7.5rem);
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  line-height: 1;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(24px);
  animation: fade-up 1.4s var(--ease-out) 0.3s forwards;
  text-indent: 0.35em;
}

.hero__rule {
  width: 64px;
  height: 1px;
  background: rgba(255, 255, 255, 0.7);
  margin: 1.75rem auto 1.5rem;
  transform: scaleX(0);
  animation: extend-line 1s ease-out 0.8s forwards;
}

@keyframes extend-line {
  to { transform: scaleX(1); }
}

.hero__tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.0625rem, 2.2vw, 1.5rem);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateY(16px);
  animation: fade-up 1.2s var(--ease-out) 1.1s forwards;
}

.hero__actions {
  margin-top: 2.25rem;
  opacity: 0;
  transform: translateY(16px);
  animation: fade-up 1.2s var(--ease-out) 1.35s forwards;
}

.hero__bottom {
  position: absolute;
  bottom: 3.5rem;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 0 1.5rem;
  text-align: center;
  opacity: 0;
  animation: fade-up 1.2s var(--ease-out) 1.5s forwards;
}

.hero__meta {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  line-height: 2;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.scroll-indicator {
  width: 1px;
  height: 48px;
  position: relative;
  overflow: hidden;
}

.scroll-indicator::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.75), transparent);
  animation: scroll-fall 2.8s ease-in-out infinite;
}

@keyframes scroll-fall {
  0% { top: -100%; }
  100% { top: 200%; }
}

@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Buttons & Links ─── */

.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.9375rem 2.25rem;
  border: 1px solid currentColor;
  transition: all 0.4s ease;
  cursor: pointer;
}

.btn--glass {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(42, 38, 34, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn--glass:hover {
  background: #FFFFFF;
  color: var(--charcoal);
  border-color: #FFFFFF;
}

.btn--dark {
  color: var(--cream);
  background: var(--charcoal);
  border-color: var(--charcoal);
}

.btn--dark:hover {
  background: transparent;
  color: var(--charcoal);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--charcoal);
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--gold-light);
  transition: color 0.3s ease, gap 0.4s var(--ease-out);
}

.text-link::after {
  content: '\2192';
  font-size: 0.875rem;
  letter-spacing: 0;
}

.text-link:hover {
  color: var(--gold);
  gap: 1.1rem;
}

/* ─── Reveal Animation ─── */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }
.reveal-delay-4 { transition-delay: 0.6s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__image img { animation: none; }
}

/* ─── Section Label & Shared Headings ─── */

.label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.125rem, 3.8vw, 3rem);
  font-weight: 300;
  line-height: 1.25;
  margin-bottom: 1.25rem;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}

.section-text {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--warm-gray);
}

/* ─── Statement Section ─── */

.statement {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  padding: 9.5rem 2rem;
  background: var(--cream);
  text-align: center;
}

.statement__inner {
  max-width: 800px;
}

.statement__text {
  font-family: var(--font-serif);
  font-size: clamp(1.625rem, 3.6vw, 2.625rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.55;
  color: var(--charcoal);
  letter-spacing: 0.01em;
}

/* ─── The Residence ─── */

.residence {
  padding: 8.5rem 2rem 9.5rem;
  background: var(--cream-light);
}

.residence__inner {
  max-width: 1240px;
  margin: 0 auto;
}

.residence__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 5.5rem;
}

.residence__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2.25rem;
}

.residence__card {
  display: flex;
  flex-direction: column;
}

.residence__card-media {
  position: relative;
  overflow: hidden;
  background: var(--charcoal-soft);
  width: 100%;
}

.residence__card-media img {
  transition: transform 1.2s var(--ease-out);
}

.residence__card:hover .residence__card-media img {
  transform: scale(1.035);
}

.residence__card-meta {
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.residence__card-title {
  font-family: var(--font-serif);
  font-size: 1.3125rem;
  font-weight: 400;
  color: var(--charcoal);
  letter-spacing: 0.01em;
}

.residence__card-desc {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--warm-gray);
}

/* Editorial layout: two featured, three details, one panoramic */
.residence__card--half {
  grid-column: span 6;
}
.residence__card--half .residence__card-media {
  aspect-ratio: 16 / 10;
}

.residence__card--third {
  grid-column: span 4;
}
.residence__card--third .residence__card-media {
  aspect-ratio: 4 / 3;
}

.residence__card--full {
  grid-column: span 12;
  margin-top: 0.75rem;
}
.residence__card--full .residence__card-media {
  aspect-ratio: 21 / 9;
  max-height: 520px;
}

.residence__more {
  margin-top: 4.5rem;
  text-align: center;
}

/* ─── Interlude (full-bleed image + quote) ─── */

.interlude {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  background: var(--charcoal);
}

.interlude__image {
  position: absolute;
  inset: 0;
}

.interlude__image img {
  object-position: 50% 0%;
}

.interlude::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(20, 18, 14, 0.38) 0%, rgba(20, 18, 14, 0) 45%);
}

.interlude__quote {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding: 5vh 2rem 0;
  text-align: center;
  color: #FFFFFF;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.2vw, 2.375rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

/* ─── Split Feature (Arrival, Opal Oak Summit) ─── */

.split {
  padding: 9.5rem 2rem;
  background: var(--cream);
  border-top: 1px solid var(--border);
  position: relative;
}

.split--light {
  background: var(--cream-light);
}

.split__inner {
  max-width: 1180px;
  margin: 0 auto;
}

.split__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5.5rem;
  align-items: center;
}

.split--reverse .split__content {
  order: 2;
}

.split__content {
  max-width: 520px;
}

.split__heading {
  font-family: var(--font-serif);
  font-size: clamp(2.125rem, 3.8vw, 3rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 2.25rem;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}

.split__body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.75rem;
}

.split__text {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--charcoal);
  opacity: 0.9;
}

.split__footer {
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
}

.split__badge {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  line-height: 1.8;
  text-transform: uppercase;
  color: var(--gold);
}

.split__image-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--charcoal-soft);
  border: 1px solid var(--border);
}

.split__image-frame--tall {
  aspect-ratio: 4 / 5;
}

.split__image-frame img {
  transition: transform 1.2s var(--ease-out);
}

.split__image-frame:hover img {
  transform: scale(1.035);
}

.split__caption {
  margin-top: 1rem;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--warm-gray);
  text-align: right;
}

/* ─── Reservation Section ─── */

.reservation {
  padding: 9.5rem 2rem 10rem;
  background: var(--cream);
  border-top: 1px solid var(--border);
}

.reservation__inner {
  max-width: 860px;
  margin: 0 auto;
}

.reservation__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem;
}

.reservation__heading {
  font-family: var(--font-serif);
  font-size: clamp(2.125rem, 4vw, 3.25rem);
  font-weight: 300;
  line-height: 1.25;
  margin-bottom: 1.5rem;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}

.reservation__lead {
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--warm-gray);
}

/* Booking call-to-action card */
.book-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  box-shadow: 0 4px 32px rgba(42, 38, 34, 0.04);
  padding: 3.25rem 3rem;
  text-align: center;
}

.book-card__rate {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 300;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.book-card__rate span {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm-gray);
}

.book-card__terms {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-bottom: 2.25rem;
}

/* ─── Sanctuary Guidelines Card ─── */

.sanctuary-card {
  background: var(--cream-light);
  border: 1px solid var(--border);
  padding: 3.25rem 3rem;
  margin-bottom: 4rem;
  box-shadow: 0 4px 24px rgba(42, 38, 34, 0.03);
}

.sanctuary-card__header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 2.5rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-light);
}

.sanctuary-card__eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.sanctuary-card__title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 300;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.sanctuary-card__intro {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--warm-gray);
  line-height: 1.6;
}

.sanctuary-card__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem 2.5rem;
}

.sanctuary-card__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.sanctuary-card__icon {
  color: var(--gold);
  font-size: 1.25rem;
  line-height: 1.2;
  flex-shrink: 0;
}

.sanctuary-card__rule {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--charcoal);
  letter-spacing: 0.01em;
  margin-bottom: 0.25rem;
}

.sanctuary-card__desc {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--warm-gray);
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.sanctuary-card__item--full {
  grid-column: span 2;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border-light);
}

/* ─── Page Header (interior pages) ─── */

.page-header {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background: var(--charcoal);
  padding: calc(var(--nav-height) + 4rem) 2rem 5rem;
  text-align: center;
  color: #FFFFFF;
}

.page-header__image {
  position: absolute;
  inset: 0;
}

.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(20, 18, 14, 0.4) 0%, rgba(20, 18, 14, 0.3) 45%, rgba(20, 18, 14, 0.66) 100%);
}

.page-header__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.page-header .label {
  color: rgba(255, 255, 255, 0.85);
}

.page-header__title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

.page-header__lead {
  font-family: var(--font-serif);
  font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}

/* ─── Gallery ─── */

.gallery {
  padding: 6.5rem 2rem 8rem;
  background: var(--cream-light);
}

.gallery__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.gallery__index {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 2.5rem;
  margin-bottom: 5.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-light);
}

.gallery__index a {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--warm-gray);
  transition: color 0.3s ease;
}

.gallery__index a:hover {
  color: var(--gold);
}

.gallery__section + .gallery__section {
  margin-top: 7rem;
}

.gallery__section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.gallery__section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 300;
  color: var(--charcoal);
}

.gallery__section-desc {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--warm-gray);
  text-align: right;
}

.gallery__grid {
  columns: 3;
  column-gap: 1.25rem;
}

.gallery__item {
  display: block;
  margin-bottom: 1.25rem;
  break-inside: avoid;
  overflow: hidden;
  background: var(--cream-soft);
  cursor: zoom-in;
}

.gallery__item img {
  height: auto;
  transition: transform 1.2s var(--ease-out), opacity 0.4s ease;
}

.gallery__item:hover img {
  transform: scale(1.03);
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(20, 18, 14, 0.96);
  color: var(--cream);
}

.lightbox::backdrop {
  background: rgba(20, 18, 14, 0.96);
}

.lightbox[open] {
  display: grid;
  grid-template-rows: auto 1fr auto;
  animation: lightbox-in 0.35s ease;
}

@keyframes lightbox-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.75rem;
}

.lightbox__counter,
.lightbox__caption {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 240, 235, 0.7);
}

.lightbox__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0 5rem;
  touch-action: pan-y;
}

.lightbox__img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox__caption {
  padding: 1.25rem 1.75rem 1.75rem;
  text-align: center;
  letter-spacing: 0.16em;
  line-height: 1.7;
}

.lightbox__btn {
  background: none;
  border: 0;
  color: var(--cream);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.75;
  transition: opacity 0.3s ease;
}

.lightbox__btn:hover {
  opacity: 1;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3.5rem;
  height: 3.5rem;
  border: 1px solid rgba(245, 240, 235, 0.35);
  border-radius: 50%;
  font-size: 1.125rem;
  letter-spacing: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__nav--prev { left: 1.25rem; }
.lightbox__nav--next { right: 1.25rem; }

/* ─── Booking Page ─── */

.booking {
  padding: 6.5rem 2rem 8rem;
  background: var(--cream-light);
}

.booking__inner {
  max-width: 1040px;
  margin: 0 auto;
}

.booking__calendar-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  box-shadow: 0 4px 32px rgba(42, 38, 34, 0.04);
  padding: 3rem 2.5rem 2.75rem;
}

.booking__calendar-header {
  text-align: center;
  margin-bottom: 2.25rem;
}

.booking__calendar-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.375rem);
  font-weight: 300;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.booking__calendar-desc {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.7;
  color: var(--warm-gray);
}

.booking__widget {
  min-height: 420px;
}

/* Hostaway renders a fixed-width inline-block; center it in the card */
.booking__widget > div {
  text-align: center;
}

.booking__widget > div > div {
  text-align: left;
}

.booking__note {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.03em;
  line-height: 1.8;
  color: var(--warm-gray);
  text-align: center;
}

.booking__note a {
  color: var(--charcoal);
  border-bottom: 1px solid var(--gold-light);
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  background: var(--cream);
  margin: 3.5rem 0 5rem;
}

.facts__item {
  padding: 1.75rem 1.5rem;
  text-align: center;
}

.facts__item + .facts__item {
  border-left: 1px solid var(--border);
}

.facts__label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.facts__value {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--charcoal);
}

.amenities {
  margin-bottom: 5rem;
  text-align: center;
}

.amenities__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem 2rem;
  max-width: 900px;
  margin: 2.5rem auto 0;
}

.amenities__list li {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--charcoal);
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--border-light);
}

.rules {
  max-width: 860px;
  margin: 0 auto;
}

.rules__item {
  border-top: 1px solid var(--border);
}

.rules__item:last-child {
  border-bottom: 1px solid var(--border);
}

.rules__summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0.25rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-serif);
  font-size: 1.3125rem;
  font-weight: 400;
  color: var(--charcoal);
}

.rules__summary::-webkit-details-marker {
  display: none;
}

.rules__summary::after {
  content: '+';
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1.25rem;
  color: var(--gold);
  transition: transform 0.3s ease;
}

.rules__item[open] .rules__summary::after {
  transform: rotate(45deg);
}

.rules__body {
  padding: 0 0.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.rules__body p,
.rules__body li {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--charcoal-soft);
}

.rules__body ul {
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.rules__body li::marker {
  color: var(--gold);
}

.booking__section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 3rem;
}

/* ─── Footer ─── */

.footer {
  padding: 4.5rem 2rem 3.5rem;
  text-align: center;
  background: var(--charcoal);
  color: rgba(245, 240, 235, 0.5);
}

.footer__logo {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(245, 240, 235, 0.85);
  margin-bottom: 0.875rem;
}

.footer__links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem 2.25rem;
  margin-top: 1.75rem;
}

.footer__links a {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 240, 235, 0.7);
  transition: color 0.3s ease;
}

.footer__links a:hover {
  color: var(--gold-light);
}

.footer__text {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  line-height: 1.9;
}

.footer__divider {
  width: 36px;
  height: 1px;
  background: rgba(245, 240, 235, 0.15);
  margin: 1.5rem auto;
}

/* ─── Responsive ─── */

@media (max-width: 992px) {
  /* Below desktop the cabin fills the frame, so settle the title low over a deeper shade */
  .hero {
    justify-content: flex-end;
    padding-bottom: 11.5rem;
  }

  .hero__overlay {
    background: linear-gradient(to bottom,
      rgba(20, 18, 14, 0.35) 0%,
      rgba(20, 18, 14, 0.1) 30%,
      rgba(20, 18, 14, 0.55) 62%,
      rgba(20, 18, 14, 0.82) 100%
    );
  }

  .residence__card--half {
    grid-column: span 12;
  }

  .residence__card--third {
    grid-column: span 6;
  }

  .residence__card--third:last-of-type {
    grid-column: span 12;
  }

  .residence__card--third:last-of-type .residence__card-media {
    aspect-ratio: 16 / 10;
  }

  .split__grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .split--reverse .split__content {
    order: 0;
  }

  .split__content {
    max-width: none;
  }

  .gallery__grid {
    columns: 2;
  }

  .facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .facts__item:nth-child(3) {
    border-left: 0;
  }

  .facts__item:nth-child(n+3) {
    border-top: 1px solid var(--border);
  }

  .amenities__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 3.6rem;
  }

  .nav {
    padding: 1rem 1.5rem;
  }

  .nav__links {
    gap: 1.5rem;
  }

  .hero__title {
    letter-spacing: 0.25em;
    text-indent: 0.25em;
  }

  .hero__image img {
    object-position: 30% 60%;
  }

  .hero__bottom {
    bottom: 2.5rem;
    gap: 1.25rem;
  }

  .statement {
    padding: 6rem 1.5rem;
    min-height: auto;
  }

  .residence {
    padding: 5rem 1.5rem 6rem;
  }

  .residence__header {
    margin-bottom: 3.5rem;
  }

  .residence__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .residence__card--half,
  .residence__card--third,
  .residence__card--third:last-of-type,
  .residence__card--full {
    grid-column: span 1;
  }

  .residence__card--full .residence__card-media {
    aspect-ratio: 16 / 10;
  }

  .interlude {
    min-height: 64vh;
  }

  .interlude__quote {
    padding: 2.5rem 1.5rem 0;
  }

  .split {
    padding: 5rem 1.5rem;
  }

  .split__heading {
    margin-bottom: 1.75rem;
  }

  .reservation {
    padding: 5.5rem 1.5rem;
  }

  .sanctuary-card {
    padding: 2.25rem 1.5rem;
  }

  .sanctuary-card__list {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .sanctuary-card__item--full {
    grid-column: span 1;
  }

  .book-card {
    padding: 2.5rem 1.5rem;
  }

  .page-header {
    min-height: 52vh;
    padding: calc(var(--nav-height) + 3rem) 1.5rem 3.5rem;
  }

  .gallery {
    padding: 4rem 1rem 6rem;
  }

  .gallery__index {
    margin-bottom: 3.5rem;
    gap: 0.75rem 1.5rem;
  }

  .gallery__section + .gallery__section {
    margin-top: 4.5rem;
  }

  .gallery__section-header {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0 0.5rem;
  }

  .gallery__section-desc {
    text-align: left;
  }

  .gallery__grid {
    column-gap: 0.75rem;
  }

  .gallery__item {
    margin-bottom: 0.75rem;
  }

  .lightbox__stage {
    padding: 0;
  }

  .lightbox__nav {
    top: auto;
    bottom: -4.25rem;
    transform: none;
    width: 3rem;
    height: 3rem;
  }

  .lightbox__caption {
    padding: 1.25rem 4.5rem 1.75rem;
  }

  .booking {
    padding: 4rem 1rem 6rem;
  }

  .booking__calendar-card {
    padding: 2.25rem 1rem 2rem;
  }

  .amenities__list li {
    font-size: 1.0625rem;
  }
}

@media (max-width: 520px) {
  .nav__links {
    gap: 1.25rem;
  }

  .nav__link--secondary {
    display: none;
  }

  .nav__cta {
    padding: 0.5rem 0.875rem;
    font-size: 0.625rem;
  }

  .hero__title {
    font-size: clamp(2.5rem, 13vw, 3.25rem);
  }

  .hero__rule {
    width: 48px;
    margin: 1.25rem auto 1.25rem;
  }

  .hero__meta {
    letter-spacing: 0.22em;
  }

  .residence__header {
    margin-bottom: 2.5rem;
  }

  .gallery__grid {
    columns: 1;
  }

  .facts__value {
    font-size: 1.1875rem;
  }

  .amenities__list {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 380px) {
  .nav__logo {
    letter-spacing: 0.25em;
    font-size: 0.9375rem;
  }

  .nav__link {
    display: none;
  }
}
