/* ---------- Tokens ----------
   Editorial Old-California — shared backbone with Los Chamizal.
   Bone / oatmeal / espresso ink. No red, no yellow.
   Type: Newsreader (display) · EB Garamond (text) · Inter (labels)
*/
:root {
  --ivory:     #FAF6EE;   /* lightest — cards / light text on dark */
  --cream:     #E8E0D1;   /* oatmeal — alternating panels */
  --bone:      #F2ECE0;   /* warm bone — page background + light text */
  --ink:       #2A231B;   /* espresso ink — body + headings */
  --ink-soft:  #71685B;   /* muted taupe — secondary text */
  --stone:     #71685B;   /* muted taupe — labels / eyebrows */
  --wine:      #2A231B;   /* espresso — primary buttons */
  --wine-deep: #1C1712;   /* deep espresso — dark blocks / footer */
  --wine-bright: #3D3328; /* button hover lift */
  --olive:     #7A7163;
  --gold:      #7A7163;   /* accent → muted taupe (no yellow) */
  --line:      #D8CFBE;   /* hairline (tan) */

  --serif: "Cinzel", Georgia, serif;   /* brand caps face (locked: Cinzel 400) */
  --text:  "EB Garamond", Georgia, "Times New Roman", serif; /* body copy */
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; /* labels */

  --container: 1240px;
  --container-narrow: 880px;
  --radius: 2px;
  --transition: 0.3s ease;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--text);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: opacity var(--transition); }
a:hover { opacity: 0.7; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.narrow { max-width: var(--container-narrow); margin-left: auto; margin-right: auto; }
.center { text-align: center; }

/* ---------- Typography ---------- */
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.2rem, 4.4vw, 3.7rem); line-height: 1.07; font-weight: 500; }
h2 { font-size: clamp(1.65rem, 3vw, 2.4rem); line-height: 1.18; margin-bottom: 0.6em; }
h3 { font-size: 1.2rem; line-height: 1.3; }
p { margin: 0 0 1em; color: var(--ink-soft); }
.eyebrow {
  font-family: var(--serif);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--stone);
  margin: 0 0 1.5rem;
}
.eyebrow.center { display: block; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(247, 243, 236, 0);
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  background: rgba(247, 243, 236, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 1px 0 var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1;
  color: var(--bone);
  transition: color var(--transition);
}
.site-header.scrolled .brand { color: var(--ink); }

/* ---- Real logo artwork (transparent PNG); cream over hero, ink when scrolled ---- */
.brand-logo { height: 66px; width: auto; display: block; transition: height var(--transition); }
.brand-logo--ink { display: none; }
.site-header.scrolled .brand-logo { height: 54px; }
.site-header.scrolled .brand-logo--light { display: none; }
.site-header.scrolled .brand-logo--ink { display: block; }
@media (max-width: 860px) {
  .brand-logo { height: 52px; }
  .site-header.scrolled .brand-logo { height: 46px; }
}
/* Rancho badge in the footer (reversed/cream on the dark footer) */
.footer-badge { width: 240px; max-width: 70%; height: auto; display: block; margin: 0 0 1.3rem; }

/* ---- Casa de Chamizal wordmark (CASA DE / Chamizal / ESTATE VINEYARD) ---- */
.wordmark { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.wm-top {
  font-family: var(--serif);
  font-size: 0.661rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  margin-right: -0.34em; /* optical centering for tracked caps */
}
.wm-name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.85rem;
  letter-spacing: 0.005em;
  margin: 0.12em 0 0.16em;
}
.wm-sub {
  font-family: var(--serif);
  font-size: 0.59rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-right: -0.34em;
}
/* footer + standalone variant (on dark) */
.wordmark--lg .wm-top { font-size: 0.66rem; }
.wordmark--lg .wm-name { font-size: 2.6rem; }
.wordmark--lg .wm-sub { font-size: 0.6rem; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a {
  font-family: var(--serif);
  font-size: 1.121rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff;
  transition: color var(--transition);
}
.site-header.scrolled .site-nav a { color: var(--ink); }
.nav-cta {
  border: 1px solid currentColor;
  padding: 8px 18px;
  border-radius: var(--radius);
}
.nav-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--serif);
  font-size: 0.873rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 15px 34px;
  border-radius: 0;
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--wine);
  color: var(--bone);
  border-color: var(--wine);
}
.btn-primary:hover { background: var(--wine-bright); border-color: var(--wine-bright); opacity: 1; transform: translateY(-2px); }
.btn-secondary {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
}
.btn-secondary:hover { background: #000; opacity: 1; }
.btn-ghost {
  background: transparent;
  color: var(--bone);
  border-color: rgba(250, 247, 241, 0.7);
}
.btn-ghost:hover { background: rgba(250, 247, 241, 0.1); opacity: 1; }
.btn-large { padding: 18px 44px; font-size: 1.121rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  color: var(--bone);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.25) 40%, rgba(0,0,0,0.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 880px;
}
.hero-content .eyebrow { color: rgba(255, 255, 255, 0.92); font-size: 0.84rem; font-weight: 600; letter-spacing: 0.26em; }
.hero-content h1 { color: var(--bone); margin-bottom: 24px; }
.hero-sub {
  font-size: 1.35rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.95);
  max-width: 660px;
  margin-bottom: 40px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-story { background: var(--bone); }
.section-house { background: var(--cream); }
.section-amenities { background: var(--bone); }
.section-gallery { background: var(--cream); }
.section-location { background: var(--bone); }
.section-book { background: var(--wine-deep); color: var(--bone); }
.section-book h2, .section-book .eyebrow { color: var(--bone); }
.section-book .eyebrow { color: rgba(250, 247, 241, 0.65); }
.section-book p { color: rgba(250, 247, 241, 0.78); }
.section-contact { background: var(--bone); padding: 100px 0; }

/* Story */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-top: 48px;
}

/* House */
.house-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: center;
}
.house-image img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: var(--radius);
}
.spec-list {
  list-style: none;
  padding: 0;
  margin: 32px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}
.spec-list li {
  font-family: var(--serif);
  text-align: center;
  font-size: 0.826rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--stone);
}
.spec-list strong {
  display: block;
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: 0;
  text-transform: none;
}

/* Amenities */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 32px;
  margin-top: 64px;
}
.amenity {
  padding: 8px 0;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.amenity h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.amenity p {
  font-size: 0.95rem;
  margin: 0;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 56px;
}
.gallery-item {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: pointer;
  background: var(--line);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

/* Location */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: center;
}
.location-image img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: var(--radius);
}
.location-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
}
.location-grid p { font-size: 1.25rem; line-height: 1.6; color: var(--ink); }
.location-list { margin-top: 2rem; }
.location-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.location-list li:last-child { border-bottom: 1px solid var(--line); }
.location-list strong {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
}
.location-list span { font-family: var(--serif); color: var(--ink-soft); font-size: 1.02rem; letter-spacing: 0.01em; text-align: right; }

/* Book */
.book-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 40px 0 24px;
}
.book-note { font-size: 0.92rem; }
.book-note a { color: var(--gold); border-bottom: 1px solid var(--gold); }

/* Book Directly — Rancho badge + cream CTA on the dark section */
.book-direct {
  display: inline-flex; flex-direction: column; align-items: center; gap: 1.3rem;
  margin: 2.4rem 0 1.4rem;
}
.book-direct__badge { width: 184px; height: auto; display: block; transition: transform .4s var(--transition); }
.book-direct:hover .book-direct__badge { transform: scale(1.05); }
.book-direct__label {
  font-family: var(--serif); font-size: 0.968rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink); background: var(--bone);
  padding: 14px 36px;
  transition: background .3s var(--transition), transform .3s var(--transition);
}
.book-direct:hover .book-direct__label { background: #fff; transform: translateY(-2px); }

.book-platforms-label {
  font-family: var(--serif); font-size: 0.85rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(242, 236, 224, 0.6) !important; margin: 0.4rem 0 1rem;
}
.book-platforms { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; }
.book-plat {
  background: transparent; box-shadow: none; border-radius: 0;
  width: 190px; height: 140px; padding: 0;
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s var(--transition);
}
.book-plat:hover { transform: translateY(-3px); }
.book-plat img { max-height: 128px; max-width: 184px; width: auto; height: auto; object-fit: contain; display: block; }
@media (max-width: 480px) { .book-plat { width: 46%; min-width: 140px; height: 120px; } }

/* Contact */
.contact-email {
  font-family: var(--serif);
  font-size: 1.5rem;
  margin-top: 24px;
}
.contact-email a { color: var(--wine); border-bottom: 1px solid currentColor; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--wine-deep);
  color: var(--bone);
  padding: 60px 0 40px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
}
.footer-brand {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--bone);
  margin: 0 0 6px;
}
.footer-addr {
  font-family: var(--serif);
  font-size: 0.82rem;
  color: rgba(250, 247, 241, 0.6);
  margin: 0;
}
.footer-sister {
  font-family: var(--text);
  font-style: italic;
  font-size: 0.95rem;
  color: rgba(250, 247, 241, 0.72);
  margin: 10px 0 0;
}
.footer-sister a { color: var(--bone); border-bottom: 1px solid rgba(250,247,241,0.4); }
.footer-sister a:hover { opacity: 1; border-bottom-color: var(--bone); }
.footer-links {
  display: flex;
  gap: 24px;
  font-family: var(--serif);
  font-size: 0.873rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250, 247, 241, 0.85);
}
.footer-copy {
  text-align: right;
  font-size: 0.8rem;
  color: rgba(250, 247, 241, 0.5);
  margin: 0;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 13, 10, 0.95);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  color: var(--bone);
  font-size: 2rem;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity var(--transition);
}
.lightbox-close { top: 24px; right: 24px; font-size: 2.6rem; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { opacity: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .story-grid,
  .house-grid,
  .location-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .house-image img,
  .location-image img { height: 420px; }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .spec-list { grid-template-columns: repeat(2, 1fr); }
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-links { justify-content: center; }
  .footer-copy { text-align: center; }
}

@media (max-width: 640px) {
  .container { padding: 0 22px; }
  .section { padding: 80px 0; }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    z-index: 110;
  }
  .nav-toggle span {
    display: block;
    height: 2px;
    background: var(--bone);
    transition: background var(--transition), transform var(--transition), opacity var(--transition);
  }
  .site-header.scrolled .nav-toggle span,
  .site-header.menu-open .nav-toggle span { background: var(--ink); }
  .site-header.menu-open .nav-toggle span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .site-header.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
  .site-nav {
    position: fixed;
    inset: 0;
    background: var(--bone);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    transform: translateX(100%);
    transition: transform var(--transition);
  }
  .site-header.menu-open .site-nav { transform: translateX(0); }
  .site-nav a { font-size: 1.2rem; color: var(--ink) !important; font-family: var(--serif); }
  .nav-cta { padding: 12px 28px; }
  .hero-content h1 { font-size: 2.8rem; }
  .hero-sub { font-size: 1.15rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .amenities-grid { grid-template-columns: 1fr; }
  .spec-list { grid-template-columns: repeat(2, 1fr); }
  .book-ctas .btn-large { width: 100%; padding: 16px 24px; }
}

/* ============================================================
   Cinzel normalization — brand ships Cinzel at weight 400 only.
   Force 400 everywhere it's used so the browser never fakes a bold,
   and give the caps a touch of tracking (Cinzel reads better spaced).
   ============================================================ */
h1, h2, h3,
.eyebrow, .btn,
.spec-list li, .spec-list strong,
.location-list strong, .location-list span,
.contact-email, .footer-links { font-weight: 400; }
h1, h2, h3 { letter-spacing: 0.03em; }
/* Top nav links a touch bolder (Cinzel 600) */
.site-nav a, .nav-cta { font-weight: 600; }

/* ============================================================
   THE ESTATE — cinematic film section.
   Pinned background photo (Los Chamizal "scrolling" concept); the
   copy scrolls over it and ends in a play button that opens the film.
   ============================================================ */
.estate { position: relative; background: var(--ink); }
.estate__bg {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  background:
    linear-gradient(180deg, rgba(20,16,11,0.55) 0%, rgba(20,16,11,0.68) 55%, rgba(20,16,11,0.80) 100%),
    url("images/006_img_6_4afe8.webp") center / cover no-repeat;
}
.estate__inner {
  position: relative;
  z-index: 2;
  margin: -100vh auto 0;        /* overlay onto the pinned photo */
  min-height: 100vh;
  max-width: 900px;
  padding: clamp(96px, 14vh, 180px) 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--bone);
}
.estate__eyebrow { color: rgba(255, 255, 255, 0.82); }
.estate__title {
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.15;
  margin: 0.6rem 0 1.8rem;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.45);
}
.estate__copy { max-width: 800px; }
.estate__copy p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.35rem;
  line-height: 1.7;
  margin: 0 0 1.2rem;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.45);
}
.estate__play {
  position: relative;
  width: 92px; height: 92px;
  margin-top: 2.6rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  display: grid; place-items: center;
  cursor: pointer;
  transition: transform .4s ease, background .4s ease, border-color .4s ease;
}
.estate__play::after {
  content: ""; position: absolute;
  width: 92px; height: 92px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  animation: estatePulse 2.6s ease infinite;
}
@keyframes estatePulse { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.5); opacity: 0; } }
.estate__play:hover { transform: scale(1.08); background: var(--wine); border-color: var(--wine); }
.estate__play .tri {
  width: 0; height: 0; border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #fff;
  margin-left: 6px;
}
.estate__note {
  margin: 1.3rem 0 0;
  font-family: var(--serif);
  font-size: 0.968rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}
@media (max-width: 640px) {
  .estate__copy p { font-size: 1.05rem; }
  .estate__play { width: 78px; height: 78px; }
  .estate__play::after { width: 78px; height: 78px; }
}

/* full-screen film overlay */
.video-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: #000;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
}
/* full-bleed player — fills the whole screen, like the Los Chamizal film */
.video-frame {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  box-shadow: none;
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-close {
  position: absolute; top: 18px; right: 22px;
  z-index: 2;
  width: 48px; height: 48px;
  font-size: 2rem; line-height: 1;
  color: #fff; background: rgba(0, 0, 0, 0.45); border: 0; border-radius: 50%;
  cursor: pointer;
  opacity: 0.85; transition: opacity .25s ease;
}
.video-close:hover { opacity: 1; }

/* ============================================================
   HIGHLIGHTS — photo-driven feature cards (Pool / View / Quiet)
   ============================================================ */
.section-highlights { background: var(--bone); }
.highlights-intro {
  max-width: 660px;
  margin: 1rem auto 0;
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1.55;
}
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(26px, 3vw, 44px);
  margin-top: clamp(48px, 6vh, 76px);
}
.highlight { margin: 0; }
.highlight__img {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  box-shadow: 0 26px 56px -32px rgba(42, 20, 16, 0.5);
}
.highlight__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s var(--transition);
}
.highlight:hover .highlight__img img { transform: scale(1.05); }
.highlight figcaption { padding-top: 1.4rem; text-align: center; }
.highlight h3 { font-size: 1.6rem; line-height: 1.15; margin: 0 0 0.55rem; }
.highlight p { color: var(--ink); font-size: 1.1rem; line-height: 1.62; margin: 0; }
@media (max-width: 900px) {
  .highlight-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; gap: 36px; }
  .highlight__img { aspect-ratio: 16 / 11; }
}

/* ============================================================
   GALLERY TEASER (homepage) — 3 best photos → full gallery page
   ============================================================ */
.gallery-teaser {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
  margin-top: clamp(48px, 6vh, 72px);
}
.gallery-teaser__item {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 3 / 4;
  box-shadow: 0 24px 50px -30px rgba(42, 20, 16, 0.45);
}
.gallery-teaser__item img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 1.2s var(--transition);
}
.gallery-teaser__item:hover img { transform: scale(1.05); }
.gallery-more { text-align: center; margin-top: clamp(34px, 4vh, 52px); }
@media (max-width: 720px) {
  .gallery-teaser { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .gallery-teaser__item { aspect-ratio: 16 / 11; }
}

/* ============================================================
   STANDALONE GALLERY PAGE (gallery.html)
   ============================================================ */
.gallery-page { background: var(--bone); }
.gallery-header {
  position: static;
  background: rgba(247, 243, 236, 0.96);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.gallery-header .brand-logo--ink { display: block; }
.gallery-nav a {
  font-family: var(--serif);
  font-size: 0.944rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
.gallery-main { padding: clamp(56px, 8vh, 96px) 0 clamp(72px, 10vh, 120px); }
.gallery-title { margin: 0.4rem 0 0; }
.gallery-page .gallery-grid { margin-top: clamp(40px, 6vh, 64px); }

/* ---- Amenities page list ---- */
.amenities-main .highlights-intro { margin-bottom: clamp(40px, 6vh, 64px); }
.amen-cats {
  column-count: 2;
  column-gap: clamp(40px, 6vw, 88px);
  max-width: 1040px;
  margin: 0 auto;
}
.amen-cat {
  break-inside: avoid;
  margin-bottom: clamp(32px, 4vh, 48px);
}
.amen-cat h2 {
  font-size: 1rem;
  letter-spacing: 0.14em;
  color: var(--ink);
  padding-bottom: 0.7rem;
  margin: 0 0 0.6rem;
  border-bottom: 1px solid var(--line);
}
.amen-cat ul { list-style: none; margin: 0; padding: 0; }
.amen-cat li {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
  padding: 0.62rem 0;
}
.amen-ico {
  width: 22px; height: 22px;
  flex: none;
  margin-top: 2px;
  color: var(--ink);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.amen-name { display: block; font-size: 1rem; line-height: 1.3; color: var(--ink); }
.amen-desc { display: block; font-size: 0.84rem; line-height: 1.45; color: var(--ink-soft); margin-top: 1px; }
@media (max-width: 700px) {
  .amen-cats { column-count: 1; }
}

/* ============================================================
   HOMEPAGE HERO — logo as the centerpiece (no top-left logo)
   ============================================================ */
.home-header .header-inner {
  justify-content: flex-end;
  max-width: none;
  padding-left: clamp(24px, 5vw, 72px);
  padding-right: clamp(24px, 5vw, 72px);
}
/* dark scrim so the white menu reads over the photo (cream when scrolled) */
.home-header:not(.scrolled) {
  background: linear-gradient(180deg, rgba(0,0,0,0.42) 0%, rgba(0,0,0,0) 100%);
}
.hero-content .hero-h1 { margin: 0 0 1.6rem; line-height: 0; }
.hero-logo {
  width: clamp(320px, 36vw, 500px);
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 28px rgba(0,0,0,0.42));
}
@media (max-width: 640px) {
  .hero-logo { width: min(82vw, 380px); }
}

/* buttons: a touch larger text */
.btn { font-size: 0.968rem; }

/* ============================================================
   EXPLORE THE REGION — interactive aerial map
   ============================================================ */
.section-region { background: var(--cream); }
.regionmap {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(16px, 2vw, 26px);
  margin-top: clamp(40px, 6vh, 64px);
  max-width: 1160px; margin-left: auto; margin-right: auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 70px -40px rgba(42, 20, 16, 0.5);
  background: var(--wine-deep);
}
.rm-side { display: flex; flex-direction: column; min-height: 0; color: var(--bone); padding: 18px; }
.rm-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.rm-avas { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.rm-cat--ava { font-size: 0.64rem; padding: 5px 11px; letter-spacing: 0.08em; }
.rm-head {
  font-family: var(--serif); font-size: 0.802rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(242, 236, 224, 0.55);
  padding: 15px 8px 5px; margin-top: 6px;
  border-top: 1px solid rgba(242, 236, 224, 0.12);
}
.rm-cat {
  font-family: var(--serif); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--bone); background: rgba(242, 236, 224, 0.12);
  border: 1px solid rgba(242, 236, 224, 0.25); border-radius: 100px;
  padding: 7px 14px; cursor: pointer; transition: background .25s ease, color .25s ease;
}
.rm-cat:hover { background: rgba(242, 236, 224, 0.22); }
.rm-cat.is-on { background: var(--bone); color: var(--wine-deep); border-color: var(--bone); }
.rm-list { list-style: none; margin: 0; padding: 0; overflow-y: auto; max-height: 520px; }
.rm-item {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 11px 8px; border-bottom: 1px solid rgba(242, 236, 224, 0.12);
  cursor: pointer; transition: background .2s ease;
}
.rm-item:hover { background: rgba(242, 236, 224, 0.08); }
.rm-d { flex: none; width: 12px; height: 12px; border-radius: 50%; margin-top: 4px; border: 1.5px solid rgba(255,255,255,0.85); }
.rm-t { display: flex; flex-direction: column; line-height: 1.25; }
.rm-t b { font-family: var(--serif); font-weight: 500; font-size: 1rem; color: var(--bone); }
.rm-t em { font-style: normal; font-size: 0.82rem; color: rgba(242, 236, 224, 0.65); margin-top: 2px; }
.rm-map { min-height: 560px; height: 100%; background: var(--wine-deep); }
.rm-map .leaflet-container { font-family: var(--text); }
/* remove Leaflet's default white box behind custom icons */
.leaflet-div-icon.rm-pin, .leaflet-div-icon.map-label { background: transparent; border: 0; }
.map-label {
  color: #fff; font-family: var(--text); font-style: italic;
  font-size: 0.968rem; letter-spacing: 0.16em; text-transform: uppercase;
  white-space: nowrap; text-align: center;
  text-shadow: 0 1px 6px rgba(0,0,0,0.85), 0 0 2px rgba(0,0,0,0.7);
  opacity: 0.88; pointer-events: none; width: auto !important;
}
.map-label.ocean { font-size: 1.25rem; letter-spacing: 0.42em; opacity: 0.78; }
.rm-reset {
  font-family: var(--serif); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--wine-deep); color: var(--bone);
  border: 1px solid rgba(242, 236, 224, 0.35); border-radius: 6px;
  padding: 8px 13px; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.rm-reset:hover { background: #000; }
.leaflet-popup-content { font-family: var(--text); font-size: 0.95rem; }
.leaflet-popup-content strong { font-family: var(--serif); }
@media (max-width: 820px) {
  .regionmap { grid-template-columns: 1fr; }
  .rm-list { max-height: 240px; }
  .rm-map { min-height: 420px; }
}

/* ============================================================
   STAY — four equal quadrants (photo · specs · two floorplans)
   ============================================================ */
.staygrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 28px);
  max-width: 1080px;
  margin: clamp(56px, 8vh, 100px) auto 0;
}
.sg { margin: 0; position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; }
.sg--photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sg--specs {
  background: var(--wine-deep);
  color: var(--bone);
  display: flex; align-items: center;
  padding: clamp(22px, 3vw, 46px);
}
.sg--specs .quad-specs { width: 100%; padding: 0; }
.sg--specs .quad-specs li { border-bottom-color: rgba(242, 236, 224, 0.18); padding: clamp(0.45rem, 1.3vw, 0.95rem) 0; }
.sg--specs .quad-specs .l { color: rgba(242, 236, 224, 0.72); }
.sg--specs .quad-specs .n { color: var(--bone); font-size: clamp(1.45rem, 2.3vw, 2rem); }
.sg--plan { background: #fff; cursor: zoom-in; }

/* floorplan zoom overlay */
.fp-zoom {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(20, 16, 11, 0.93);
  display: flex; align-items: center; justify-content: center;
  padding: 4vh 4vw;
}
.fp-zoom__fig { margin: 0; display: flex; flex-direction: column; align-items: center; max-width: 96vw; max-height: 90vh; }
.fp-zoom img { max-width: 96vw; max-height: 80vh; object-fit: contain; background: #fff; border-radius: 4px; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.fp-zoom figcaption {
  color: var(--bone); font-family: var(--serif);
  letter-spacing: 0.18em; text-transform: uppercase; font-size: 1.003rem;
  margin-top: 1.1rem;
}
.fp-zoom__close {
  position: absolute; top: 18px; right: 22px;
  width: 48px; height: 48px; font-size: 2rem; line-height: 1;
  color: #fff; background: rgba(0,0,0,0.45); border: 0; border-radius: 50%;
  cursor: pointer; opacity: 0.85;
}
.fp-zoom__close:hover { opacity: 1; }
.sg--plan img { width: 100%; height: 100%; object-fit: contain; display: block; }
.sg-floorlabel {
  position: absolute; left: 0; right: 0; bottom: 0;
  text-align: center;
  font-family: var(--serif);
  font-size: 0.944rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink);
  padding: 0.55rem 0;
  background: rgba(255, 255, 255, 0.85);
}
@media (max-width: 700px) { .staygrid { grid-template-columns: 1fr; max-width: 460px; } }

/* ============================================================
   STAY — spec strip + floorplans
   ============================================================ */
.spec-list--wide { max-width: 760px; margin-left: auto; margin-right: auto; }
.floorplans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(40px, 6vh, 64px);
}
.floorplan { margin: 0; }
.floorplan__img {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 24px 50px -30px rgba(42, 20, 16, 0.4);
}
.floorplan__img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.floorplan__img--placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--cream);
  border: 1px dashed var(--line);
  color: var(--ink-soft);
}
.floorplan__img--placeholder span {
  font-family: var(--serif); font-size: 1.05rem;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.floorplan__img--placeholder small { font-family: var(--text); font-style: italic; margin-top: 4px; }
.floorplan figcaption {
  font-family: var(--serif); text-align: center;
  margin-top: 0.9rem; font-size: 1.18rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink);
}
.house-cta { text-align: center; margin-top: clamp(36px, 5vh, 56px); }
@media (max-width: 700px) { .floorplans { grid-template-columns: 1fr; } }

/* ---- Stay: 2x2 quadrants (photo · specs · two floorplans) ---- */
.stay-quad {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 28px);
  max-width: 1080px;
  margin: 0 auto;
}
.quad {
  margin: 0;
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 52px -32px rgba(42, 20, 16, 0.45);
}
.quad--photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.quad--specs {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: none;
  display: flex; align-items: center; justify-content: center;
}
.quad-specs { list-style: none; margin: 0; padding: 0 clamp(26px, 4vw, 56px); width: 100%; }
.quad-specs li {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem;
  padding: clamp(0.6rem, 1.4vw, 1rem) 0;
  border-bottom: 1px solid var(--line);
}
.quad-specs li:last-child { border-bottom: 0; }
.quad-specs .l {
  font-family: var(--serif); font-size: 0.944rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft);
}
.quad-specs .n { font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1; color: var(--ink); }
.quad--plan { background: #fff; border: 1px solid var(--line); }
.quad--plan img { width: 100%; height: 100%; object-fit: contain; display: block; }
.quad-floorlabel {
  position: absolute; left: 0; right: 0; bottom: 0;
  text-align: center;
  font-family: var(--serif);
  font-size: 1.086rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff;
  padding: 0.7rem 0;
  background: linear-gradient(0deg, rgba(20,16,11,0.72) 0%, rgba(20,16,11,0) 100%);
}
/* placeholder fallback (if an image is missing) */
.quad-plan-ph {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--ink-soft);
}
.quad-plan-ph span { font-family: var(--serif); font-size: 1.05rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); }
.quad-plan-ph small { font-family: var(--text); font-style: italic; margin-top: 5px; }
@media (max-width: 700px) {
  .stay-quad { grid-template-columns: 1fr; max-width: 460px; }
}

/* ---- Stay (refined): photo + espresso specs panel, then clean floorplans ---- */
.stay-top {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(16px, 2vw, 28px);
  max-width: 1080px;
  margin: clamp(60px, 9vh, 110px) auto 0;
}
.stay-photo { margin: 0; border-radius: var(--radius); overflow: hidden; }
.stay-photo img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; display: block; }
.stay-specs {
  background: var(--wine-deep);
  color: var(--bone);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  padding: clamp(28px, 3.4vw, 56px);
}
.stay-specs .quad-specs { width: 100%; padding: 0; }
.stay-specs .quad-specs li { border-bottom-color: rgba(242, 236, 224, 0.18); padding: clamp(0.7rem, 1.6vw, 1.25rem) 0; }
.stay-specs .quad-specs .l { color: rgba(242, 236, 224, 0.72); }
.stay-specs .quad-specs .n { color: var(--bone); font-size: clamp(1.7rem, 2.6vw, 2.3rem); }

.stay-plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 4vw, 60px);
  max-width: 1080px;
  margin: clamp(40px, 6vh, 64px) auto 0;
}
.stay-plan { margin: 0; }
.stay-plan img { width: 100%; height: auto; display: block; }
.stay-plan figcaption {
  text-align: center;
  margin-top: 1rem;
  font-family: var(--serif);
  font-size: 1.121rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
@media (max-width: 760px) {
  .stay-top { grid-template-columns: 1fr; }
  .stay-plans { grid-template-columns: 1fr; gap: 36px; }
}
