/* ============================================================
   Casa Laja · Editorial Colonial Luxury
   Fraunces (display) + Hanken Grotesk (body)
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bone:        #F6F1E9;
  --bone-2:      #EFE6D7;
  --stone:       #E8DECC;
  --paper:       #FBF8F2;
  --ink:         #211C17;
  --ink-soft:    #5C5247;
  --ink-mute:    #897D6F;
  --terracotta:  #B4502E;
  --terracotta-d:#94401F;
  --clay:        #C98A5E;
  --gold:        #AE8842;
  --sage:        #84957A;
  --line:        rgba(33, 28, 23, 0.13);
  --line-soft:   rgba(33, 28, 23, 0.07);

  --shadow-sm: 0 1px 2px rgba(33,28,23,.05), 0 6px 16px rgba(33,28,23,.06);
  --shadow-md: 0 12px 30px rgba(33,28,23,.12), 0 2px 8px rgba(33,28,23,.06);
  --shadow-lg: 0 30px 70px rgba(33,28,23,.22);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1240px;
  --pad: clamp(1.25rem, 5vw, 3rem);
  --radius: 6px;
  --header-h: 76px;

  --ease: cubic-bezier(.22, .61, .27, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }
.icon-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

::selection { background: var(--terracotta); color: var(--bone); }

/* ---------- Type primitives ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1.1rem;
}
.eyebrow-light { color: rgba(255,255,255,.82); }

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-optical-sizing: auto;
  color: var(--ink);
  line-height: 1.04;
  letter-spacing: -0.012em;
  font-size: clamp(2.05rem, 4.6vw, 3.4rem);
}
.section-title em { font-style: italic; color: var(--terracotta); }

.section-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--ink-mute);
  margin-top: 1rem;
  line-height: 1.5;
}

.lead { font-size: 1.16rem; line-height: 1.65; color: var(--ink-soft); }
p + p { margin-top: 1.1rem; }
strong { color: var(--ink); font-weight: 600; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(4.5rem, 10vw, 8.5rem); position: relative; }
main > section[id] { scroll-margin-top: var(--header-h); }
.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split-body { max-width: 560px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--sans); font-weight: 600; font-size: .82rem;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .95em 1.7em; border-radius: 3px;
  transition: transform .35s var(--ease), background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  white-space: nowrap; line-height: 1;
}
.btn-primary { background: var(--terracotta); color: var(--bone); box-shadow: 0 8px 20px rgba(148,64,31,.28); }
.btn-primary:hover { background: var(--terracotta-d); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(148,64,31,.36); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); padding: .8em 1.5em; }
.btn-ghost:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); transform: translateY(-2px); }
.btn-outline-light { border: 1px solid rgba(255,255,255,.55); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--ink); transform: translateY(-2px); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .45s var(--ease), box-shadow .45s var(--ease), backdrop-filter .45s var(--ease);
}
.header-inner {
  max-width: var(--container); margin-inline: auto; padding-inline: var(--pad);
  height: var(--header-h); display: flex; align-items: center; gap: 2rem;
}
.brand { display: inline-flex; align-items: center; gap: .65rem; color: #fff; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 4px; flex: none;
  display: grid; place-items: center;
  background: var(--terracotta); color: var(--bone);
  font-family: var(--serif); font-weight: 600; font-size: 1rem; letter-spacing: .02em;
}
.brand-name { font-family: var(--serif); font-size: 1.35rem; letter-spacing: .02em; }

.nav { display: flex; gap: clamp(1rem, 2vw, 2rem); margin-left: auto; }
.nav a {
  position: relative; font-size: .82rem; font-weight: 500; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(255,255,255,.9); padding: .35rem 0;
  transition: color .3s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px;
  background: currentColor; transition: width .35s var(--ease);
}
.nav a:hover { color: #fff; }
.nav a:hover::after { width: 100%; }
.header-cta { margin-left: .5rem; }

/* scrolled state */
.site-header.scrolled { background: rgba(246,241,233,.94); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line), 0 8px 30px rgba(33,28,23,.06); }
.site-header.scrolled .brand { color: var(--ink); }
.site-header.scrolled .brand-name { color: var(--ink); }
.site-header.scrolled .nav a { color: var(--ink-soft); }
.site-header.scrolled .nav a:hover { color: var(--terracotta); }

.nav-toggle { display: none; width: 42px; height: 42px; margin-left: auto; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav-toggle span { width: 22px; height: 2px; background: #fff; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.site-header.scrolled .nav-toggle span { background: var(--ink); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile nav */
.mobile-nav {
  position: fixed; inset: 0; z-index: 99; background: rgba(246,241,233,.99);
  backdrop-filter: blur(10px); display: grid; place-items: center;
  opacity: 0; pointer-events: none; transition: opacity .4s var(--ease);
}
.mobile-nav.open { opacity: 1; pointer-events: auto; }
.nav-open .site-header .brand-name { color: var(--ink); }
.nav-open .nav-toggle span { background: var(--ink); }
.mobile-nav nav { display: flex; flex-direction: column; gap: 1.4rem; text-align: center; }
.mobile-nav a { font-family: var(--serif); font-size: 1.7rem; color: var(--ink); }
.mobile-nav a.btn { font-family: var(--sans); font-size: .9rem; margin-top: .8rem; }

/* ============================================================
   1 · HERO
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; padding-top: var(--header-h); }
/* outer layer = parallax drift (JS writes its transform); inner layer = Ken Burns.
   They are split so the two animations never fight over a single transform. */
.hero-bg {
  position: absolute; inset: -8% 0 -8% 0; overflow: hidden;
  will-change: transform; transform: translateZ(0);
}
.hero-bg-img {
  position: absolute; inset: 0; background-size: cover; background-position: 50% 38%;
  will-change: transform; transform-origin: 60% 40%;
  animation: kenburns 26s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to   { transform: scale(1.16) translate3d(-1.6%, -1.2%, 0); }
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,15,11,.46) 0%, rgba(20,15,11,.05) 26%, rgba(20,15,11,.16) 60%, rgba(20,15,11,.82) 100%);
}
/* Fixed bottom padding: the scroll cue is a fixed-height element pinned to the
   hero bottom, so a fixed value keeps a constant gap above it on every viewport
   (a vh clamp would balloon the gap on short/wide screens). Zeroed on mobile,
   where the cue is hidden. */
.hero-content { position: relative; z-index: 2; width: 100%; max-width: var(--container); margin-inline: auto; padding: 0 var(--pad) 5.5rem; }
.hero-copy { max-width: 940px; }
.hero-title {
  font-family: var(--serif); font-weight: 400; color: #fff;
  font-size: clamp(2.6rem, 7.2vw, 5.7rem); line-height: 1.02; letter-spacing: -0.02em;
  text-shadow: 0 2px 30px rgba(0,0,0,.35);
}
.hero-title em { font-style: italic; font-weight: 500; }
.hero-sub {
  margin-top: 1.4rem; max-width: 600px; color: rgba(255,255,255,.92);
  font-size: clamp(1.02rem, 1.7vw, 1.28rem); line-height: 1.6; text-shadow: 0 1px 14px rgba(0,0,0,.35);
}
.hero-cta { display: inline-flex; margin-top: clamp(1.6rem, 3.2vh, 2.5rem); padding-inline: 2rem; }

/* booking bar */
.booking {
  margin-top: clamp(2rem, 4vh, 3rem);
  display: flex; flex-wrap: wrap; align-items: stretch; gap: 0;
  background: rgba(251,248,242,.96); backdrop-filter: blur(8px);
  border-radius: 7px; padding: .55rem .55rem .55rem 1.4rem;
  box-shadow: var(--shadow-lg); max-width: 940px;
}
.booking-field { display: flex; flex-direction: column; justify-content: center; padding: .55rem 1.3rem .55rem 0; min-width: 150px; }
.booking-field label { font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: .15rem; }
.booking-input { display: flex; align-items: center; gap: .55rem; font-family: var(--serif); font-size: 1.12rem; color: var(--ink); padding: .1rem 0; text-align: left; }
.booking-input .bi-ic { color: var(--terracotta); flex: none; }
.booking-input span { white-space: nowrap; }
.booking-sep { width: 1px; background: var(--line); margin: .5rem 0; }
.booking-submit { margin-left: auto; align-self: stretch; padding-inline: 2rem; border-radius: 4px; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 1.1rem; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  color: rgba(255,255,255,.78); font-size: .66rem; letter-spacing: .25em; text-transform: uppercase;
}
.scroll-cue svg { animation: bob 2.4s var(--ease) infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ============================================================
   2 · WELCOME
   ============================================================ */
.welcome { background: linear-gradient(180deg, var(--bone) 0%, var(--paper) 100%); }
.media-frame { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.media-frame::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); border-radius: var(--radius); pointer-events: none; }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.split-media[data-tall] img { aspect-ratio: 3/4; }

.drop-cap::first-letter {
  font-family: var(--serif); font-size: 3.6rem; line-height: .8; float: left;
  padding: .35rem .55rem 0 0; color: var(--terracotta); font-weight: 500;
}
.stat-row { display: flex; gap: clamp(1.5rem, 4vw, 3rem); margin: 2.2rem 0 1.8rem; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.stat-row li { display: flex; flex-direction: column; }
.stat-num { font-family: var(--serif); font-size: 2.4rem; color: var(--ink); line-height: 1; }
.stat-num small { font-size: 1.1rem; color: var(--terracotta); vertical-align: super; margin-left: 1px; }
.stat-label { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); margin-top: .5rem; }
.address { display: flex; align-items: center; gap: .5rem; font-size: .92rem; color: var(--ink-mute); }
.address svg { color: var(--terracotta); flex: none; }

/* ============================================================
   3 · ROOMS
   ============================================================ */
.rooms { background: var(--paper); }
.room-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.5vw, 2rem); }
.room-card {
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.room-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.room-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.room-media-link { display: block; width: 100%; height: 100%; }
.room-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease); }
.room-card:hover .room-media img { transform: scale(1.07); }
.room-row-media a { display: block; }
.room-flag {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  background: rgba(180,80,46,.95); color: var(--bone); font-size: .64rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; padding: .45em .8em; border-radius: 3px;
}
.room-body { padding: 1.6rem 1.6rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.room-name { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); line-height: 1.1; }
.room-type { font-family: var(--serif); font-style: italic; font-size: 1.02rem; color: var(--ink-mute); margin-top: .25rem; }
.room-card.featured { grid-column: span 2; }
.room-card.featured .room-media { aspect-ratio: 16/8.4; }
.room-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin-top: .55rem; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; color: var(--terracotta); font-weight: 600; }
.room-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--clay); }
.room-desc { margin-top: 1rem; font-size: .96rem; color: var(--ink-soft); line-height: 1.6; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.1rem; }
.chips li { font-size: .73rem; color: var(--ink-soft); background: var(--bone-2); border: 1px solid var(--line-soft); padding: .3em .7em; border-radius: 100px; }
.room-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1.4rem; }
.price { display: flex; align-items: baseline; gap: .35rem; }
.price-from { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-mute); }
.price-num { font-family: var(--serif); font-size: 1.7rem; color: var(--ink); }
.price-unit { font-size: .72rem; color: var(--ink-mute); }

.includes { margin-top: clamp(2.5rem, 5vw, 4rem); padding: clamp(1.8rem, 4vw, 2.8rem); background: var(--bone-2); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.includes-title { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--ink); margin-bottom: 1.6rem; text-align: center; }
.includes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem 1.6rem; }
.includes-grid li { display: flex; align-items: center; gap: .85rem; font-size: .9rem; color: var(--ink-soft); }
.includes-grid svg { color: var(--terracotta); flex: none; }

/* ============================================================
   PARALLAX QUOTE BAND
   ============================================================ */
.quote-band { position: relative; min-height: 62vh; display: grid; place-items: center; overflow: hidden; }
.quote-bg { position: absolute; inset: -12% 0; background-size: cover; background-position: center; will-change: transform; }
.quote-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,15,11,.55), rgba(20,15,11,.45)); }
.quote-inner { position: relative; z-index: 2; max-width: 920px; text-align: center; padding: 3rem var(--pad); }
.quote-inner p { font-family: var(--serif); font-style: italic; font-weight: 400; color: #fff; font-size: clamp(1.5rem, 3.6vw, 2.7rem); line-height: 1.32; text-shadow: 0 2px 24px rgba(0,0,0,.4); }

/* ============================================================
   4 · DINING
   ============================================================ */
.dining { background: var(--bone); }
.split.reverse .split-body { order: 2; }
.split.reverse .split-media { order: 1; }
.note { margin: 1.6rem 0; padding: 1.2rem 1.4rem; background: var(--stone); border-left: 3px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; }
.note-key { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: .35rem; }
.note p { font-size: .95rem; color: var(--ink-soft); }
.dining-media { position: relative; aspect-ratio: 4/5; }
.dining-media .media-frame { position: absolute; }
.dining-media .dm-1 { top: 0; left: 0; width: 70%; z-index: 1; }
.dining-media .dm-1 img { aspect-ratio: 4/5; }
.dining-media .dm-2 { bottom: 0; right: 0; width: 52%; z-index: 2; border: 6px solid var(--bone); border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow-lg); }
.dining-media .dm-2 img { aspect-ratio: 1/1; border-radius: 2px; }

/* ============================================================
   5 · AMENITIES
   ============================================================ */
.amenities { background: var(--ink); color: var(--bone); }
.amenities .section-title { color: var(--bone); }
.amenities .eyebrow { color: var(--clay); }
.amenity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); overflow: hidden; }
.amenity-grid li { display: flex; align-items: center; gap: 1rem; padding: 1.5rem clamp(1rem, 2vw, 1.8rem); background: var(--ink); font-size: .94rem; color: rgba(246,241,233,.86); transition: background .35s var(--ease); }
.amenity-grid li:hover { background: #2a241d; }
.amenity-ic { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.16); color: var(--clay); }

/* ============================================================
   6 · LOCATION
   ============================================================ */
.location { background: var(--paper); }
.poi-list { margin-top: 1.8rem; border-top: 1px solid var(--line); }
.poi-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line-soft); font-size: .98rem; color: var(--ink); }
.poi-list .dist { font-family: var(--serif); font-style: italic; color: var(--terracotta); white-space: nowrap; font-size: .95rem; }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 3/4; border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: saturate(.9) contrast(1.02); }

/* ============================================================
   7 · DESTINATION
   ============================================================ */
.destination { background: var(--bone); }
.dest-intro { max-width: 760px; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); text-align: center; font-size: 1.12rem; color: var(--ink-soft); }
.exp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.5vw, 1.8rem); }
.exp-card { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.exp-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.exp-media { aspect-ratio: 3/2; overflow: hidden; }
.exp-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease); }
.exp-card:hover .exp-media img { transform: scale(1.07); }
.exp-body { padding: 1.4rem 1.5rem 1.6rem; }
.exp-body h3 { font-family: var(--serif); font-size: 1.4rem; color: var(--ink); margin-bottom: .55rem; }
.exp-body p { font-size: .93rem; color: var(--ink-soft); line-height: 1.6; }
.best-time { margin-top: clamp(2.5rem, 5vw, 3.5rem); padding: clamp(2rem, 4vw, 3rem); background: var(--stone); border-radius: var(--radius); text-align: center; }
.best-time > div { max-width: 720px; margin-inline: auto; }
.best-time .eyebrow { color: var(--gold); }
.best-time p:not(.eyebrow) { font-family: var(--serif); font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--ink); line-height: 1.55; }

/* ============================================================
   8 · REVIEWS
   ============================================================ */
.reviews { background: var(--paper); }
.reviews-layout { display: grid; grid-template-columns: 340px 1fr; gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
.score-card { position: sticky; top: calc(var(--header-h) + 1.5rem); background: var(--ink); color: var(--bone); border-radius: var(--radius); padding: 2.2rem; text-align: center; box-shadow: var(--shadow-md); }
.score-big { font-family: var(--serif); font-size: 4.4rem; line-height: 1; color: #fff; }
.score-big span { font-size: 1.4rem; color: var(--clay); margin-left: .2rem; }
.score-word { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--clay); margin-top: .3rem; }
.score-meta { font-size: .82rem; color: rgba(246,241,233,.6); margin-top: .35rem; }
.subscores { margin-top: 1.8rem; text-align: left; display: flex; flex-direction: column; gap: .85rem; }
.subscores li { display: grid; grid-template-columns: 88px 1fr 30px; align-items: center; gap: .7rem; font-size: .8rem; color: rgba(246,241,233,.85); }
.subscores .bar { height: 4px; border-radius: 100px; background: rgba(255,255,255,.15); overflow: hidden; }
.subscores .bar i { display: block; height: 100%; width: var(--v); background: linear-gradient(90deg, var(--clay), var(--terracotta)); border-radius: 100px; transform-origin: left; }
.subscores b { font-family: var(--serif); color: #fff; font-weight: 500; text-align: right; }

.quotes { columns: 2; column-gap: clamp(1rem, 2vw, 1.6rem); }
.quotes blockquote { break-inside: avoid; margin-bottom: clamp(1rem, 2vw, 1.6rem); background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 1.6rem 1.7rem; box-shadow: var(--shadow-sm); position: relative; }
.quotes blockquote::before { content: "“"; font-family: var(--serif); font-size: 3rem; line-height: 1; color: var(--clay); opacity: .5; position: absolute; top: .4rem; left: 1rem; }
.quotes blockquote p { font-family: var(--serif); font-style: italic; font-size: 1.08rem; color: var(--ink); line-height: 1.5; padding-top: .6rem; }
.source { text-align: center; margin-top: 2.5rem; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); }

/* ============================================================
   9 · CONTACT / CTA
   ============================================================ */
.cta-final { position: relative; overflow: hidden; padding-block: clamp(5rem, 11vw, 9rem); display: grid; place-items: center; }
.cta-bg { position: absolute; inset: -14% 0; background-size: cover; background-position: 50% 40%; will-change: transform; }
.cta-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,15,11,.78), rgba(20,15,11,.66)); }
.cta-final .container { position: relative; z-index: 2; }
.cta-card { max-width: 760px; margin-inline: auto; text-align: center; color: #fff; }
.cta-final .section-title { color: #fff; }
.cta-sub { color: rgba(255,255,255,.85); font-size: 1.12rem; margin-top: 1rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin: 2.2rem 0 2.8rem; }
.contact-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; padding-top: 2.2rem; border-top: 1px solid rgba(255,255,255,.2); text-align: left; }
.ci-label { font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--clay); display: block; margin-bottom: .5rem; }
.contact-info p { font-size: .92rem; color: rgba(255,255,255,.86); line-height: 1.55; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #18130E; color: rgba(246,241,233,.7); padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand .brand { color: #fff; margin-bottom: 1rem; }
.footer-brand p { font-size: .92rem; max-width: 280px; }
.footer-nav { display: flex; flex-direction: column; gap: .6rem; }
.footer-nav a { font-size: .88rem; letter-spacing: .04em; transition: color .3s var(--ease); }
.footer-nav a:hover { color: var(--clay); }
.footer-contact p { font-size: .9rem; line-height: 1.6; }
.footer-contact p + p { margin-top: .8rem; }
.footer-base { border-top: 1px solid rgba(255,255,255,.1); padding: 1.4rem var(--pad); display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; max-width: var(--container); margin-inline: auto; }
.footer-base p { font-size: .76rem; color: rgba(246,241,233,.45); letter-spacing: .04em; }

/* ============================================================
   DATEPICKER + POPOVERS
   ============================================================ */
.cl-pop { position: fixed; z-index: 200; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow-lg); padding: 1.2rem; max-height: calc(100vh - 24px); overflow-y: auto; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
.cl-pop.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.cal-wrap { display: flex; gap: 1.6rem; }
.cal-month { width: 252px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .8rem; }
.cal-title { font-family: var(--serif); font-size: 1.05rem; color: var(--ink); }
.cal-nav { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); transition: background .25s var(--ease); }
.cal-nav:hover { background: var(--stone); }
.cal-nav[disabled] { opacity: .25; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-dow { font-size: .64rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-mute); text-align: center; padding-bottom: .4rem; }
.cal-day { aspect-ratio: 1; display: grid; place-items: center; font-size: .85rem; color: var(--ink); border-radius: 6px; transition: background .2s var(--ease), color .2s var(--ease); position: relative; }
.cal-day:hover:not([disabled]):not(.empty) { background: var(--stone); }
.cal-day[disabled], .cal-day.empty { color: var(--line); cursor: default; }
.cal-day.in-range { background: var(--bone-2); border-radius: 0; }
.cal-day.start, .cal-day.end { background: var(--terracotta); color: var(--bone); font-weight: 600; }
.cal-day.start { border-radius: 6px 0 0 6px; }
.cal-day.end { border-radius: 0 6px 6px 0; }
.cal-day.start.end { border-radius: 6px; }
.cal-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--line-soft); }
.cal-summary { font-size: .82rem; color: var(--ink-soft); }
.cal-summary b { font-family: var(--serif); color: var(--ink); }
.cal-clear { font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); }
.cal-clear:hover { color: var(--terracotta); }

.guests-pop { min-width: 240px; }
.guest-row { display: flex; align-items: center; justify-content: space-between; padding: .7rem 0; }
.guest-row + .guest-row { border-top: 1px solid var(--line-soft); }
.guest-name { font-size: .95rem; color: var(--ink); }
.guest-name small { display: block; font-size: .74rem; color: var(--ink-mute); }
.stepper { display: flex; align-items: center; gap: .9rem; }
.stepper button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); font-size: 1.1rem; transition: border-color .2s var(--ease), color .2s var(--ease); }
.stepper button:hover:not([disabled]) { border-color: var(--terracotta); color: var(--terracotta); }
.stepper button[disabled] { opacity: .3; cursor: default; }
.stepper span { min-width: 18px; text-align: center; font-variant-numeric: tabular-nums; color: var(--ink); }

/* ============================================================
   TOAST
   ============================================================ */
.toast { position: fixed; left: 50%; bottom: 2rem; transform: translate(-50%, 160%); opacity: 0; visibility: hidden; pointer-events: none; z-index: 300; background: var(--ink); color: var(--bone); padding: .9rem 1.4rem; border-radius: 6px; font-size: .9rem; box-shadow: var(--shadow-lg); transition: transform .45s var(--ease), opacity .35s var(--ease), visibility .45s var(--ease); max-width: min(92vw, 440px); text-align: center; }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; pointer-events: auto; }

/* ============================================================
   GRAIN OVERLAY
   ============================================================ */
.grain { position: fixed; inset: 0; z-index: 400; pointer-events: none; opacity: .04; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .85s var(--ease), transform .85s var(--ease); will-change: opacity, transform; }
.reveal.in-view { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  :root { --header-h: 70px; }
  .nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .split.reverse .split-body { order: 1; }
  .split.reverse .split-media { order: 2; }
  .split-media img, .split-media[data-tall] img { aspect-ratio: 16/10; }
  .reviews-layout { grid-template-columns: 1fr; }
  .score-card { position: static; }
  .room-grid { grid-template-columns: repeat(2, 1fr); }
  .exp-grid { grid-template-columns: repeat(2, 1fr); }
  .amenity-grid { grid-template-columns: repeat(2, 1fr); }
  .includes-grid { grid-template-columns: repeat(2, 1fr); }
  .map-embed { aspect-ratio: 16/11; }
  .dining-media { aspect-ratio: 16/12; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .booking { padding: 1rem; flex-direction: column; align-items: stretch; gap: .2rem; }
  .booking-field { padding: .7rem 0; border-bottom: 1px solid var(--line-soft); min-width: 0; }
  .booking-sep { display: none; }
  .booking-submit { margin-top: .6rem; margin-left: 0; width: 100%; padding-block: 1rem; }
  .room-grid, .exp-grid, .footer-inner, .contact-info { grid-template-columns: 1fr; }
  .amenity-grid, .includes-grid { grid-template-columns: 1fr; }
  .quotes { columns: 1; }
  .stat-row { flex-wrap: wrap; gap: 1.4rem; }
  .cal-wrap { flex-direction: column; gap: 1rem; }
  .cal-month { width: 100%; }
  .cl-pop { left: var(--pad) !important; right: var(--pad); width: auto; }
  .hero { align-items: flex-start; min-height: auto; padding-top: calc(var(--header-h) + 1.25rem); padding-bottom: 2.5rem; }
  .hero-content { padding-bottom: 0; }
  .hero-bg-img { background-position: 64% 26%; }
  .hero-title { font-size: clamp(2.2rem, 8.5vw, 3.2rem); }
  .scroll-cue { display: none; }
  .dining-media .dm-1 { width: 100%; position: relative; }
  .dining-media .dm-2 { width: 60%; margin-top: -22%; position: relative; margin-left: auto; }
  .dining-media { aspect-ratio: auto; }
}

/* ============================================================
   SUBPAGES · page hero banner
   ============================================================ */
.page-hero { position: relative; min-height: 52vh; display: flex; align-items: flex-end; overflow: hidden; padding-top: var(--header-h); }
.page-hero-bg { position: absolute; inset: -6% 0; background-size: cover; background-position: center; will-change: transform; transform: translateZ(0); }
.page-hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,15,11,.42) 0%, rgba(20,15,11,.12) 45%, rgba(20,15,11,.62) 100%); }
.page-hero-content { position: relative; z-index: 2; width: 100%; max-width: var(--container); margin-inline: auto; padding: 0 var(--pad) clamp(2.2rem, 5vh, 3.6rem); }
.page-hero-content h1 { font-family: var(--serif); font-weight: 400; color: #fff; font-size: clamp(2.4rem, 5.6vw, 4.4rem); line-height: 1.04; letter-spacing: -0.015em; text-shadow: 0 2px 26px rgba(0,0,0,.35); }
.page-hero-content .page-sub { margin-top: .9rem; max-width: 620px; color: rgba(255,255,255,.92); font-size: clamp(1rem, 1.5vw, 1.18rem); line-height: 1.6; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.crumb { display: flex; align-items: center; gap: .6rem; font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.8); margin-bottom: 1rem; }
.crumb a { transition: color .3s var(--ease); }
.crumb a:hover { color: #fff; }
.crumb span.sep { opacity: .5; }

/* page intro block */
.page-intro { max-width: 760px; margin-inline: auto; text-align: center; }
.page-intro .lead { font-size: 1.18rem; }

/* ============================================================
   SUBPAGES · alternating feature rows (Ritz-style)
   ============================================================ */
.feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.feature + .feature { margin-top: clamp(3.5rem, 8vw, 6.5rem); }
.feature.flip .feature-media { order: 2; }
.feature.flip .feature-body { order: 1; }
.feature-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; transition: transform 1.3s var(--ease); }
.feature:hover .feature-media img { transform: scale(1.04); }
.feature-body { max-width: 520px; }
.feature-body h2, .feature-body h3 { font-family: var(--serif); font-weight: 400; color: var(--ink); font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.1; margin-bottom: 1rem; }
.feature-kicker { font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--terracotta); margin-bottom: .8rem; }
.feature-list { margin-top: 1.2rem; }
.feature-list li { display: flex; align-items: center; gap: .7rem; padding: .45rem 0; font-size: .95rem; color: var(--ink-soft); }
.feature-list svg { color: var(--terracotta); flex: none; }

/* ============================================================
   SUBPAGES · rooms page rows
   ============================================================ */
.room-row { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; padding: clamp(2.5rem, 5vw, 4rem) 0; border-bottom: 1px solid var(--line-soft); }
.room-row:last-of-type { border-bottom: 0; }
.room-row.flip .room-row-media { order: 2; }
.room-row.flip .room-row-body { order: 1; }
.room-row-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.room-row-media img { width: 100%; object-fit: cover; aspect-ratio: 3/2; transition: transform 1.3s var(--ease); }
.room-row:hover .room-row-media img { transform: scale(1.04); }
.room-row-body .room-meta { margin-top: .6rem; }
.room-row-body .room-name { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.room-row-body .room-desc { font-size: 1rem; margin-top: 1rem; }
.room-row-body .chips { margin-top: 1.2rem; }
.room-row-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line-soft); }

/* ============================================================
   SUBPAGES · gallery grid + lightbox
   ============================================================ */
.gallery-filters { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin: 0 0 clamp(1.8rem, 4vw, 2.8rem); }
.gallery-filters button { font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: .55em 1.2em; border-radius: 100px; border: 1px solid var(--line); color: var(--ink-soft); transition: all .3s var(--ease); }
.gallery-filters button:hover { border-color: var(--terracotta); color: var(--terracotta); }
.gallery-filters button.active { background: var(--ink); border-color: var(--ink); color: var(--bone); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.8rem, 1.6vw, 1.4rem); }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; box-shadow: var(--shadow-sm); aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption { position: absolute; inset: auto 0 0 0; padding: 1.8rem 1rem .8rem; background: linear-gradient(180deg, transparent, rgba(20,15,11,.72)); color: rgba(255,255,255,.95); font-size: .82rem; letter-spacing: .03em; opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.gallery-item:hover figcaption { opacity: 1; transform: none; }
.gallery-item.hidden { display: none; }

.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(20,15,11,.92); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); padding: 3vh 3vw; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 92vw; max-height: 84vh; border-radius: 6px; box-shadow: var(--shadow-lg); }
.lightbox-caption { position: absolute; bottom: 3.5vh; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.85); font-size: .9rem; letter-spacing: .04em; }
.lightbox-close, .lightbox-nav { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; background: rgba(255,255,255,.1); transition: background .3s var(--ease); }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,.22); }
.lightbox-close { top: 1.2rem; right: 1.2rem; }
.lightbox-nav.prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { right: 1.2rem; top: 50%; transform: translateY(-50%); }

/* ============================================================
   SUBPAGES · individual room detail
   ============================================================ */
.room-detail { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.room-detail-main .room-type { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--terracotta); margin-bottom: .4rem; }
.room-detail-main h1 { font-family: var(--serif); font-weight: 400; color: var(--ink); font-size: clamp(2.2rem, 4.5vw, 3.2rem); line-height: 1.05; }
.room-detail-main .room-desc { font-size: 1.08rem; line-height: 1.7; margin-top: 1.4rem; }
.room-facts { display: flex; flex-wrap: wrap; gap: 1.6rem 2.4rem; margin: 1.8rem 0; padding: 1.4rem 0; border-block: 1px solid var(--line); }
.room-fact { display: flex; flex-direction: column; gap: .2rem; }
.room-fact .rf-label { font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); }
.room-fact .rf-value { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); }
.room-highlights { margin-top: 1.6rem; }
.room-highlights h3 { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); margin-bottom: 1rem; }
.room-highlights li { display: flex; align-items: flex-start; gap: .75rem; padding: .4rem 0; font-size: .98rem; color: var(--ink-soft); }
.room-highlights svg { color: var(--terracotta); flex: none; margin-top: .2rem; }

.book-card { position: sticky; top: calc(var(--header-h) + 1.5rem); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-md); }
.book-card .bc-kicker { font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--terracotta); }
.book-card .bc-name { font-family: var(--serif); font-size: 1.7rem; color: var(--ink); margin: .3rem 0 .1rem; line-height: 1.1; }
.book-card .bc-type { font-family: var(--serif); font-style: italic; color: var(--ink-mute); font-size: .98rem; }
.book-card .bc-meta { margin: 1.2rem 0; padding: 1.1rem 0; border-block: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: .55rem; }
.book-card .bc-meta li { display: flex; align-items: center; justify-content: space-between; font-size: .9rem; color: var(--ink-soft); }
.book-card .bc-meta li b { font-weight: 600; color: var(--ink); }
.book-card .btn { width: 100%; margin-top: .4rem; }
.book-card .bc-note { font-size: .78rem; color: var(--ink-mute); text-align: center; margin-top: .9rem; line-height: 1.5; }

.room-gallery-section { background: var(--paper); }
.other-rooms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.other-room { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: #fff; border: 1px solid var(--line-soft); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.other-room:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.other-room .or-media { aspect-ratio: 4/3; overflow: hidden; }
.other-room img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.other-room:hover img { transform: scale(1.06); }
.other-room .or-body { padding: 1rem 1.2rem 1.2rem; }
.other-room .or-name { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); }
.other-room .or-type { font-size: .82rem; color: var(--ink-mute); margin-top: .15rem; }

@media (max-width: 1024px) {
  .room-detail { grid-template-columns: 1fr; }
  .book-card { position: static; }
  .other-rooms-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .other-rooms-grid { grid-template-columns: 1fr; }
}

/* nav active page */
.nav a.active, .site-header.scrolled .nav a.active { color: var(--terracotta); }
.nav a.active::after { width: 100%; background: var(--terracotta); }
.site-header:not(.scrolled) .nav a.active { color: #fff; }
.site-header:not(.scrolled) .nav a.active::after { background: #fff; }

/* CTA band reused on subpages */
.subpage-cta { background: var(--ink); color: var(--bone); text-align: center; padding: clamp(3.5rem, 8vw, 6rem) var(--pad); }
.subpage-cta h2 { font-family: var(--serif); font-weight: 400; color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: .8rem; }
.subpage-cta p { color: rgba(246,241,233,.75); max-width: 540px; margin: 0 auto 1.8rem; }

@media (max-width: 1024px) {
  .feature, .room-row { grid-template-columns: 1fr; gap: 1.8rem; }
  .feature.flip .feature-media, .room-row.flip .room-row-media { order: 1; }
  .feature.flip .feature-body, .room-row.flip .room-row-body { order: 2; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .page-hero { min-height: 42vh; }
  .gallery-grid { grid-template-columns: 1fr; }
  .room-card.featured { grid-column: span 1; }
  .room-card.featured .room-media { aspect-ratio: 4/3; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-bg, .hero-bg-img { animation: none; transform: none !important; }
  [data-parallax], [data-parallax-img] { transform: none !important; }
  .scroll-cue svg { animation: none; }
}
