@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/Cinzel-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/Cinzel-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/EBGaramond-500i-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/EBGaramond-500i-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Self-hosted fonts (Cinzel, EB Garamond), latin + latin-ext */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/Cinzel-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/Cinzel-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/EBGaramond-400i-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/EBGaramond-400i-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/EBGaramond-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/EBGaramond-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/EBGaramond-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/EBGaramond-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* ---------- 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:  #5A5145;   /* muted taupe — secondary text */
  --stone:     #5A5145;   /* 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:  "Cinzel", Georgia, serif; /* chrome: buttons, labels, footer — same face as the headings and the logo */
  --nav-face: "Cinzel", Georgia, serif; /* main-menu caps — same face as the headings and the logo */

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

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  overflow-x: clip;
  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; }

.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; text-align: center; }
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;
}
/* Home-bar logo: hidden over the hero, fades in once the bar turns solid on scroll */
.home-brand {
  display: flex; align-items: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .35s var(--transition), transform .35s var(--transition), visibility .35s;
}
.home-brand img { height: 42px; width: auto; max-width: 250px; display: block; }
.site-header.scrolled .home-brand {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);
}
@media (max-width: 860px) { .home-brand img { height: 38px; } }
.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  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 ---- */
/* The header uses the COMPACT mark (3.11:1); hero and footer use the full
   three-tier lockup (2.36:1). The nav sizes by HEIGHT, so these numbers assume the
   compact aspect — re-check them if either mark's proportions change. */
.brand-logo { height: 62px; width: auto; display: block; transition: height var(--transition); }
.brand-logo--ink { display: none; }
.site-header.scrolled .brand-logo { height: 52px; }

.site-header.scrolled .brand-logo--ink { display: block; }
@media (max-width: 860px) {
  .brand-logo { height: 50px; }
  .site-header.scrolled .brand-logo { height: 44px; }
}
/* 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; }

/* ---- legacy wordmark styles (dead code — kept for reference) ---- */
.wordmark { display: flex; flex-direction: column; align-items: center; line-height: 1; }

/* footer + standalone variant (on dark) */

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a {
  font-family: var(--nav-face);
  font-size: 0.86rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  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(--sans);
  font-size: 0.84rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  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-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;
}
/* iOS Low Power Mode blocks autoplay and paints a big play button over the
   hero. Hide it: the poster frame shows, and the first touch or scroll starts
   the loop (script.js / inline hero script). */
.hero-img::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }
.hero-img::-webkit-media-controls { display: none !important; }
.hero-overlay {
  position: absolute;
  inset: 0;
  /* Half the old veil, plus a soft vignette so the cream mark still reads at the edges. */
  background:
    radial-gradient(ellipse 70% 60% at 50% 55%, rgba(0,0,0,0) 0%, rgba(0,0,0,0.22) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.16) 0%, rgba(0,0,0,0.08) 45%, rgba(0,0,0,0.28) 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; letter-spacing: 0.26em; }
.hero-content h1 { color: var(--bone); margin-bottom: 24px; }
.hero-content { padding-top: 4vh; }
.hero-sub {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.45;
  color: #fff;
  max-width: 700px;
  margin-bottom: clamp(44px, 7vh, 72px);
  text-shadow: 0 1px 2px rgba(0,0,0,0.35), 0 4px 24px rgba(0,0,0,0.35);
}
.hero-ctas { display: flex; gap: 14px 34px; flex-wrap: wrap; align-items: center; }
.hero-sound {
  position: absolute; right: 28px; bottom: 26px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--nav-face); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.88); padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.4);
  background: none; border-top: 0; border-left: 0; border-right: 0; cursor: pointer;
}
.hero-sound:hover { color: #fff; border-bottom-color: #fff; }
.hero-sound:not(.is-on) .hero-sound__ico { animation: soundHint 1.8s ease-in-out infinite; }
@keyframes soundHint { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.55); } 60% { box-shadow: 0 0 0 7px rgba(255,255,255,0); } }
.hero-sound__ico { width: 11px; height: 11px; border: 1.2px solid #fff; border-radius: 50%; position: relative; }
.hero-sound__ico::after { content: ""; position: absolute; inset: 2.5px; border-radius: 50%; background: #fff; opacity: 0; transition: opacity .2s; }
.hero-sound.is-on .hero-sound__ico::after { opacity: 1; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }

.section-house { background: var(--cream); }

.section-book { background: var(--wine-deep); color: var(--bone); position: relative; overflow: hidden; }
.section-book__bg {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,23,18,0.72), rgba(28,23,18,0.82)), url("images/stills/aerial-golden.webp") center / cover no-repeat;
}
.section-book__inner { position: relative; z-index: 1; }

.reserve-pill {
  position: fixed; right: 22px; bottom: 22px; transform: translateY(24px);
  z-index: 90; opacity: 0; pointer-events: none;
  display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none;
  background: #2A231B; color: #F2ECE0; padding: 16px 22px 14px;
  border: 1px solid #2A231B; box-shadow: 0 12px 30px rgba(0,0,0,0.38);
  transition: opacity .3s ease, transform .3s ease, box-shadow .3s ease;
}
.reserve-pill img { width: 46px; height: 46px; margin-bottom: 9px; }
.reserve-pill b { font-family: var(--nav-face); font-weight: 400; font-size: 0.9rem; letter-spacing: 0.18em; text-transform: uppercase; }
.reserve-pill:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(0,0,0,0.45); }
.reserve-pill.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
@media (max-width: 640px) { .reserve-pill { right: 14px; bottom: 14px; padding: 12px 16px 10px; } .reserve-pill img { width: 36px; height: 36px; } .reserve-pill b { font-size: 0.78rem; } }
.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.92); font-size: 1.45rem; line-height: 1.6; }

/* Story */

/* House */

/* Amenities */

/* 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-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
}

.location-list { margin-top: 2rem; }
.location-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  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);
  flex-shrink: 0;
}
.location-list span { font-family: var(--sans); color: var(--ink); font-size: 0.95rem; font-weight: 400; letter-spacing: 0.06em; text-align: right; min-width: 0; }

/* History: sepia field, the etching at modest size, placeholders marked until the copy arrives */

.placeholder {
  color: #7A5A2E !important; font-style: italic;
  border-left: 2px solid rgba(122,90,46,0.5); padding-left: 0.9rem;
}

/* Our Sonoma: drawn map + drive times, then one photograph + the picks */
.section-sonoma { background: var(--bone); }
.sonoma-grid {
  display: grid; grid-template-columns: 1.6fr 0.7fr; gap: clamp(28px, 4vw, 56px);
  align-items: center; margin-top: clamp(40px, 6vh, 64px);
}
.sonoma-map { margin: 0; min-width: 0; }
.sonoma-map__svg { width: 100%; height: auto; display: block; border: 1px solid var(--line); background: #EFE7D6; }
.sonoma-times__head {
  font-family: var(--sans); font-size: 0.82rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--stone);
  margin: 0 0 0.6rem;
}
.sonoma-times .location-list { margin-top: 0; }
.sonoma-times .location-list li { padding: 10px 0; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sonoma-times .location-list span { white-space: nowrap; }
.sonoma-times .location-list strong { font-size: 1.12rem; }

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

/* Book */

.book-note { font-size: 1.45rem; }
.book-note a { color: var(--gold); border-bottom: 1px solid var(--gold); }

/* Book Directly — Rancho badge + cream CTA on the dark section */

.book-platforms { display: flex; gap: 44px; justify-content: center; align-items: center; flex-wrap: wrap; }
.book-plat {
  background: transparent; box-shadow: none; border-radius: 0;
  width: 200px; height: 150px; padding: 0;
  display: flex; align-items: center; justify-content: center;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
}
.book-plat:hover { transform: translateY(-8px) scale(1.07) rotate(-2deg); }
.book-plat:nth-child(2):hover { transform: translateY(-8px) scale(1.07) rotate(2deg); }
.book-plat img { max-height: 138px; max-width: 196px; width: auto; height: auto; object-fit: contain; display: block; }
.book-note { margin-top: 2.4rem; }
@media (max-width: 480px) { .book-plat { width: 46%; min-width: 140px; height: 130px; } }

/* Contact */

/* ---------- Sister property band (above the footer) ---------- */
.sister { background: #E9E0CC; padding: clamp(28px, 4vh, 48px) 0; }
.sister__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; max-width: 760px; }
.sister__inner:hover { opacity: 1; }
.sister__art { margin: 0; max-width: 250px; justify-self: end; }
.sister__art img { width: 100%; height: auto; display: block; border: 1px solid rgba(42,35,27,0.25); padding: 8px; background: #F3ECDB; transition: transform .6s ease; }
.sister__inner:hover .sister__art img { transform: scale(1.02); }
.sister__copy { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.9rem; }
.sister__mark { width: 44px; height: 44px; opacity: 0.9; }
.sister__logo { width: min(100%, 240px); height: auto; display: block; transition: transform .5s ease; }
.sister__inner:hover .sister__logo { transform: scale(1.02); }
.sister__copy h2 { text-align: left; font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 0.2rem 0 0.5rem; }
.sister__copy p { font-size: 1.15rem; color: var(--ink); }
.sister__copy .eyebrow { margin-bottom: 0.4rem; }
@media (max-width: 760px) {
  .sister__inner { grid-template-columns: 1fr; text-align: center; }
  .sister__art { margin: 0 auto; max-width: 360px; }
  .sister__copy h2 { text-align: center; }
}

/* ---------- 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(--nav-face);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250, 247, 241, 0.6);
  margin: 0;
}
.footer-sister {
  font-family: var(--text);
  font-size: 1rem;
  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;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  font-family: var(--nav-face);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250, 247, 241, 0.85);
  align-items: center;
}
.footer-links .nav-cta { color: var(--bone); padding: 8px 18px; }
.footer-links a[href^="mailto"] { text-transform: none; letter-spacing: 0.04em; }

/* ---------- 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) {
  
  
  
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-links { justify-content: center; }
}

@media (max-width: 640px) {
  .container { padding: 0 22px; }
  .section { padding: 80px 0; }
  .hero-content h1 { font-size: 2.8rem; }
  .hero-sub { font-size: 1.28rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  
  
  
}

/* Mobile / tablet menu: the desktop row wraps on an iPad (768px), so the
   hamburger takes over below 900px. */
@media (max-width: 900px) {
  .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:not(.gallery-nav) {
    position: fixed;
    inset: 0;
    background: var(--bone);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform var(--transition), visibility 0s linear var(--transition);
  }
  .site-header.menu-open .site-nav { transform: translateX(0); visibility: visible; transition: transform var(--transition); }
  .site-nav:not(.gallery-nav) a { font-size: 1.2rem; color: var(--ink) !important; font-family: var(--nav-face); }
  .site-nav:not(.gallery-nav) .nav-cta { padding: 12px 28px; }
}
@media (max-width: 560px) {
  .gallery-nav a { font-size: 0.8rem; letter-spacing: 0.1em; }
  .gallery-nav .nav-long { display: none; }
}

/* ============================================================
   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,.location-list strong,.footer-addr,.footer-links { font-weight: 400; }
h1, h2, h3 { letter-spacing: 0.03em; }

/* ============================================================
   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.45) 0%, rgba(20,16,11,0.38) 35%, rgba(20,16,11,0.78) 62%, rgba(20,16,11,0.94) 100%),
    url("images/home/new-estate-bg-1600.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(80px, 10vh, 120px) 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--bone);
}

.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: 860px; margin: 0 auto; padding-top: 2.2rem; }
.estate__copy p {
  color: #fff;
  font-family: var(--text);
  font-weight: 400;
  font-size: clamp(1.35rem, 1.9vw, 1.75rem);
  line-height: 1.6;
  letter-spacing: 0.01em;
  margin: 0 0 1.3rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5), 0 2px 18px rgba(0,0,0,0.5);
}
@media (max-width: 640px) { .estate__copy p { font-size: 1.2rem; line-height: 1.55; } }

.estate__play {
  position: relative;
  width: 76px; height: 76px;
  margin-top: 0.4rem;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  background: rgba(20, 16, 11, 0.25);
  display: grid; place-items: center;
  cursor: pointer;
  transition: transform .3s ease, background .3s ease;
}
.estate__play:hover { transform: scale(1.06); background: rgba(20, 16, 11, 0.5); }
.estate__play .tri {
  width: 0; height: 0; border-style: solid;
  border-width: 10px 0 10px 17px;
  border-color: transparent transparent transparent #fff;
  margin-left: 5px;
}
.estate__note {
  margin: 1.3rem 0 0;
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
}
@media (max-width: 640px) {
  .estate__copy p { font-size: 1.05rem; }
  .estate__play { 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;
  overflow: hidden;
}
.video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.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)
   ============================================================ */

.highlights-intro {
  max-width: 660px;
  margin: 1rem auto 0;
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1.55;
}
.section-house { padding-top: 0; padding-bottom: 0; }
.remember { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 0; }
.remember__title { position: absolute; top: clamp(30px, 7vh, 72px); left: 0; right: 0; z-index: 3; text-align: center; pointer-events: none; padding: 0 24px; }
.remember__title h2 { color: #fff; margin: 0; font-size: clamp(1.9rem, 3.6vw, 3rem); text-shadow: 0 2px 6px rgba(0,0,0,0.45), 0 6px 40px rgba(0,0,0,0.5); }
.rq { position: relative; display: block; overflow: hidden; background: var(--wine-deep); color: #fff; text-decoration: none; height: clamp(360px, 58vh, 620px); }
.rq img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.6s ease; }
.rq:hover img { transform: scale(1.04); }
.rq::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,16,11,0.42) 0%, rgba(0,0,0,0) 32%, rgba(0,0,0,0) 50%, rgba(20,16,11,0.66) 100%); }
.rq--band { grid-column: 1 / -1; height: clamp(320px, 52vh, 560px); }
.rq--band::after { background: linear-gradient(180deg, rgba(20,16,11,0.3), rgba(20,16,11,0.55)); }
.rq__cap { position: absolute; left: 30px; right: 30px; bottom: 26px; z-index: 2; }
.rq__cap h3 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(1.35rem, 2vw, 1.9rem); letter-spacing: 0.06em;
  margin: 0 0 0.6rem; color: #fff; text-shadow: 0 2px 22px rgba(0,0,0,0.55);
}
.rq__cap p {
  font-family: var(--text); font-style: normal; text-transform: none; letter-spacing: 0.01em;
  font-size: 1.16rem; line-height: 1.5; margin: 0;
  color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,0.6), 0 2px 16px rgba(0,0,0,0.6); max-width: 40ch;
}
.rq__cap small { display: block; font-family: var(--nav-face); letter-spacing: 0.24em; text-transform: uppercase; font-size: 0.78rem; margin-bottom: 0.6rem; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,0.6); }
.rq__cap--center { left: 50%; right: auto; bottom: 50%; transform: translate(-50%, 50%); text-align: center; width: min(90%, 720px); }
.rq__cap--center h3 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); }
.rq__cap--center p { max-width: 52ch; margin: 0 auto; font-size: 1.26rem; }

@media (max-width: 900px) {
  .remember { grid-template-columns: 1fr; }
  .rq { height: 64vw; }
  .rq--band { height: auto; min-height: 92vw; }
  .rq__cap { left: 20px; right: 20px; bottom: 18px; }
  /* Centred caption: keep it centred (the rule above would otherwise pin it left and clip it) */
  .rq__cap--center { left: 50%; right: auto; bottom: 50%; width: calc(100% - 40px); }
  .rq--band img { position: absolute; inset: 0; }
  .rq__cap--center p { font-size: 1.08rem; letter-spacing: 0.01em; }
}

.highlight { margin: 0; }

.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; }

/* ============================================================
   GALLERY TEASER (homepage) — 3 best photos → full gallery page
   ============================================================ */

/* ============================================================
   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-header .brand-logo { height: 92px; }
@media (max-width: 860px) { .gallery-header .brand-logo { height: 68px; } }
.gallery-page .footer-badge { width: 300px; }
.gallery-nav a {
  font-family: var(--nav-face);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}
.gallery-nav { gap: 22px; }
.gallery-nav .nav-cta { padding: 8px 16px; }
@media (max-width: 560px) { .gallery-nav .nav-cta { display: none; } }
.gallery-main { padding: clamp(56px, 8vh, 96px) 0 clamp(72px, 10vh, 120px); }
.gallery-title { margin: 0.4rem 0 0; }
.gallery-page .gallery-scenes { margin-top: clamp(40px, 6vh, 64px); }
.gallery-page .gallery-grid { margin-top: 0; }

/* Editorial grid: one six-column grid per scene; full / wide / half / third / tall tiles.
   Every tile's shape comes from --ratio (height/width). It is applied twice — as aspect-ratio AND as a
   padding-top spacer — so the shape holds in every engine, even ones that stretch grid items and
   ignore aspect-ratio. Tiles stretch to the row (align-self: stretch); rows are planned so each row's
   tiles share a ratio at desktop, so nothing ever fights. */
.gallery-grid--editorial {
  grid-template-columns: repeat(6, 1fr);
  grid-auto-flow: dense;
  gap: 18px;
  align-items: stretch;
}
.gallery-scene {
  font-family: var(--nav-face);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
  margin: clamp(26px, 4vh, 44px) 0 4px;
}
.gallery-scene:first-child { margin-top: 0; }
.gallery-grid--editorial .gallery-item {
  --ratio: 0.6667;                 /* 3:2 */
  position: relative;
  min-height: 0;
  height: auto;
  align-self: stretch;
  aspect-ratio: 1 / var(--ratio);
  overflow: hidden;
  grid-row: auto;
}
.gallery-grid--editorial .gallery-item::before { content: ""; display: block; padding-top: calc(var(--ratio) * 100%); }
.gallery-grid--editorial .gallery-item img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center; display: block;
}
.gallery-grid--editorial .gallery-item--full  { grid-column: span 6; --ratio: 0.4762; }  /* 21:10 */
.gallery-grid--editorial .gallery-item--wide  { grid-column: span 4; --ratio: 0.6667; }  /* 3:2 */
.gallery-grid--editorial .gallery-item--half  { grid-column: span 3; --ratio: 0.6667; }  /* 3:2 */
.gallery-grid--editorial .gallery-item--third { grid-column: span 2; --ratio: 0.75; }    /* 4:3 */
.gallery-grid--editorial .gallery-item--tall  { grid-column: span 2; --ratio: 1.5; }     /* 2:3 */
@media (max-width: 760px) {
  /* Two columns: landscape tiles 4:3; a tall tile stands two rows high (2:3 plus one gutter). */
  .gallery-grid--editorial { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid--editorial .gallery-item--full,
  .gallery-grid--editorial .gallery-item--wide { grid-column: span 2; --ratio: 0.6667; }
  .gallery-grid--editorial .gallery-item--half,
  .gallery-grid--editorial .gallery-item--third { grid-column: span 1; --ratio: 0.75; }
  .gallery-grid--editorial .gallery-item--tall { grid-column: span 1; grid-row: span 2; --ratio: 1.5; }
  .gallery-grid--editorial .gallery-item--closer { grid-column: span 2; grid-row: auto; --ratio: 0.6667; }
}
@media (max-width: 640px) {
  .gallery-grid--editorial { gap: 12px; }
}
@media (max-width: 480px) {
  /* One column: every tile 3:2, the portrait frames 3:4. */
  .gallery-grid--editorial { grid-template-columns: 1fr; }
  .gallery-grid--editorial .gallery-item--full,
  .gallery-grid--editorial .gallery-item--wide,
  .gallery-grid--editorial .gallery-item--half,
  .gallery-grid--editorial .gallery-item--third { grid-column: span 1; --ratio: 0.6667; }
  .gallery-grid--editorial .gallery-item--tall { grid-column: span 1; grid-row: auto; --ratio: 1.3333; }
}

/* ---- 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: 1.32rem;
  letter-spacing: 0.12em;
  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: 28px; height: 28px;
  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: 1.2rem; line-height: 1.3; color: var(--ink); }
.amen-desc { display: block; font-size: 1rem; line-height: 1.45; color: var(--ink-soft); margin-top: 2px; }

@media (max-width: 700px) {
  .amen-cats { column-count: 1; }
}

/* ---------- Booking page ---------- */

/* vertical spacing only between top-level rows/fields — never the two columns inside a row */

.bk-submit { width: 100%; margin-top: 0.2rem; }
.bk-submit:disabled { opacity: 0.6; cursor: default; }
.bk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* summary card */

/* success state */

/* ============================================================
   HOMEPAGE HERO — logo as the centerpiece (no top-left logo)
   ============================================================ */
.home-header .header-inner {
  justify-content: space-between;
  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 clamp(1.8rem, 4.5vh, 3rem); line-height: 0; }
.hero-logo {
  width: clamp(330px, 37vw, 520px);
  height: auto;
  display: block;
}
@media (max-width: 640px) {
  .hero-logo { width: min(82vw, 380px); }
  .hero-sound { right: 18px; bottom: 18px; }
}

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

/* ============================================================
   EXPLORE THE REGION — interactive aerial map
   ============================================================ */

/* remove Leaflet's default white box behind custom icons */

/* ============================================================
   STAY — four equal quadrants (photo · specs · two floorplans)
   ============================================================ */

.sg { margin: 0; position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; }

/* 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; }

/* second-floor plan drawn at a slightly larger scale than the first — shrink ~10% to match footprint/perspective */

/* ============================================================
   STAY — spec strip + floorplans
   ============================================================ */

.floorplan { margin: 0; }

.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);
}

.text-link {
  font-family: var(--sans); font-size: 0.9rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink);
  border-bottom: 1px solid var(--line); padding-bottom: 4px;
}
.text-link:hover { border-bottom-color: var(--ink); opacity: 1; }

/* ---- Stay: 2x2 quadrants (photo · specs · two floorplans) ---- */

/* placeholder fallback (if an image is missing) */

/* ---- Stay (refined): photo + espresso specs panel, then clean floorplans ---- */

/* THE AREA / local guide */

/* ============================================================
   MOMENT — full-bleed breathing-room break between sections.
   Two tall photos, side by side on desktop, stacked on mobile.
   Minimal caption, no buttons, no clutter — just presence.
   ============================================================ */

/* ---------- Amenities hero band ---------- */
.amen-hero {
  margin: 0;
  height: 42vh;
  min-height: 280px;
  max-height: 460px;
  position: relative;
  overflow: hidden;
}
.amen-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.amen-hero__veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,16,11,0.05) 0%, rgba(20,16,11,0.35) 100%);
}

/* The sprig-and-moon mark: beside the wordmark in the top bar, and above the footer lockup */
.brand-mark { height: 34px; width: auto; margin-left: 14px; opacity: 0.92; align-self: center; }
.footer-mark { display: block; width: 60px; height: auto; margin: 0 auto 18px; opacity: 0.9; }
@media (max-width: 640px) { .brand-mark { height: 26px; margin-left: 10px; } }

.location-list .plane { vertical-align: -1px; margin-right: 6px; color: var(--ink-soft); }

/* Reserve: the doorway etching beside the booking copy */
.section-book__inner { display: grid; grid-template-columns: 1.3fr 0.9fr; gap: clamp(28px, 5vw, 64px); align-items: center; position: relative; z-index: 2; }
.book-art { margin: 0; max-width: 720px; justify-self: stretch; }
.book-art img { width: 100%; height: auto; display: block; padding: 10px; background: #F3ECDB; border: 1px solid rgba(42,35,27,0.35); box-shadow: 0 22px 50px rgba(0,0,0,0.45); }
.book-copy { max-width: 560px; margin: 0 auto; }
@media (max-width: 900px) { .section-book__inner { grid-template-columns: 1fr; } .book-art { justify-self: center; max-width: 440px; } }

.book-platforms { display: flex; justify-content: center; align-items: center; gap: 28px; margin: 1.4rem 0 0; }
.book-platforms img { height: 22px; width: auto; opacity: 0.9; transition: opacity .3s; }
.book-platforms a:hover img { opacity: 1; }

.footer-brand-block { display: flex; flex-direction: column; align-items: center; }
.footer-brand-block .footer-badge { display: block; }
.footer-brand-block .footer-mark { margin: 0 auto 14px; }
.book-platforms__airbnb { height: 30px !important; border-radius: 50%; }

/* Gallery, simplified: no scene labels. The scene grids stack in one column with the same gutter
   between scenes as within them (the hidden labels do not take part in the layout, so a sibling
   combinator against them would leave no gap). */
.gallery-page .gallery-scene { display: none; }
.gallery-page .gallery-scenes { display: grid; grid-template-columns: 100%; row-gap: 18px; }
@media (max-width: 640px) {
  .gallery-page .gallery-scenes { row-gap: 12px; }
}

.section-sonoma__title { font-size: clamp(2.3rem, 4vw, 3.4rem); }
.section-sonoma__intro { font-size: clamp(1.3rem, 1.9vw, 1.6rem); max-width: 760px; }

/* Three doors: floor plans, amenities, gallery */
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding: 0; background: var(--wine-deep); }
.door { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; background: var(--wine-deep); text-decoration: none; }
.door img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.4s ease; }
.door:first-child img { object-fit: cover; object-position: center; filter: sepia(0.25) contrast(1.05); }
.door::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,16,11,0) 45%, rgba(20,16,11,0.62) 100%); }
.door:hover img { transform: scale(1.04); }
.door__cap { position: absolute; left: 0; right: 0; bottom: 30px; z-index: 2; text-align: center; }
.door__cap span { font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 2rem); letter-spacing: 0.08em; color: #fff; text-shadow: 0 2px 22px rgba(0,0,0,0.6); }
@media (max-width: 760px) { .doors { grid-template-columns: 1fr; } .door { aspect-ratio: 3 / 2; } }

/* both floor plans in one overlay: side by side on desktop, stacked + scrollable on phones */
.fp-zoom--both { align-items: flex-start; overflow-y: auto; }
.fp-both { display: grid; grid-template-columns: 1fr 1fr; gap: 3vw; width: 100%; max-width: 1500px; margin: auto; padding: 4vh 0; align-items: start; }
.fp-zoom--both .fp-zoom__fig { max-width: 100%; max-height: none; }
.fp-zoom--both img { max-width: 100%; max-height: 84vh; width: 100%; }
@media (max-width: 900px) {
  .fp-both { grid-template-columns: 1fr; gap: 28px; padding: 56px 0 28px; }
  .fp-zoom--both img { max-height: none; }
}

/* ---------- Booking page: book on Airbnb / Vrbo instead ---------- */

/* ================= Reserve page: one screen, the view behind the house ================= */
.reserve-page { margin: 0; background: #1c1712; color: #F2ECE0; min-height: 100vh; }
.rv-bg {
  position: fixed; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(20,16,11,0.55) 0%, rgba(20,16,11,0.25) 38%, rgba(20,16,11,0.62) 100%), url("images/home/wes-8283-1600.webp") center 40% / cover no-repeat;
}
.rv-top { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 20px clamp(18px, 4vw, 44px); }
.rv-brand img { height: 46px; width: auto; display: block; }
.rv-back { font-family: var(--nav-face); font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; color: #F2ECE0; text-decoration: none; opacity: 0.9; }
.rv-back:hover { opacity: 1; }
.rv-main { position: relative; z-index: 1; display: flex; justify-content: center; padding: 0 16px 28px; }
.rv-card {
  width: 100%; max-width: 640px; text-align: center;
  background: rgba(24,19,14,0.66); -webkit-backdrop-filter: blur(16px) saturate(1.1); backdrop-filter: blur(16px) saturate(1.1);
  border: 1px solid rgba(242,236,224,0.22); padding: clamp(20px, 3.2vh, 34px) clamp(20px, 4vw, 40px) clamp(16px, 2.4vh, 26px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}

.rv-title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 3.4vw, 2.5rem); letter-spacing: 0.05em; margin: 0 0 clamp(12px, 2vh, 20px); color: #fff; }
.rv-platforms { display: flex; justify-content: center; align-items: center; gap: clamp(22px, 4vw, 40px); }
.rv-platforms a { display: block; transition: transform .3s ease, opacity .3s ease; opacity: 0.95; }
.rv-platforms a:hover { transform: translateY(-2px) scale(1.05); opacity: 1; }
.rv-airbnb { height: 58px; width: auto; display: block; }
.rv-vrbo { height: 34px; width: auto; display: block; }
.rv-or { display: flex; align-items: center; gap: 16px; margin: clamp(12px, 2vh, 20px) 0 clamp(8px, 1.4vh, 14px); }
.rv-or i { flex: 1; height: 1px; background: rgba(242,236,224,0.28); }
.rv-or span { font-family: var(--serif); font-style: italic; font-size: 1.05rem; opacity: 1; color: #fff; white-space: nowrap; }
.rv-form { text-align: left; display: grid; gap: clamp(8px, 1.4vh, 13px); }
.rv-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rv-row--3 { grid-template-columns: 1fr 1fr 0.7fr; }
.rv-f { display: block; }
.rv-f span { display: block; font-family: var(--nav-face); font-size: 0.9rem; letter-spacing: 0.16em; text-transform: uppercase; opacity: 1; color: #E9E1D0; margin-bottom: 3px; }
.rv-f em { text-transform: none; letter-spacing: 0.04em; font-style: normal; opacity: 0.8; }
.rv-f input, .rv-f select {
  width: 100%; box-sizing: border-box; background: transparent; color: #fff; border: 0; border-bottom: 1px solid rgba(242,236,224,0.45);
  border-radius: 0; padding: 6px 0 7px; font: 1.02rem/1.3 var(--text, "EB Garamond", serif); color-scheme: dark; outline: none; -webkit-appearance: none; appearance: none;
}
.rv-f select { background-image: linear-gradient(45deg, transparent 50%, #F2ECE0 50%), linear-gradient(135deg, #F2ECE0 50%, transparent 50%); background-position: calc(100% - 10px) 55%, calc(100% - 5px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.rv-f select option { color: #1c1712; }
.rv-f input:focus, .rv-f select:focus { border-bottom-color: #fff; }
.rv-check { display: flex; gap: 10px; align-items: center; font-size: 0.9rem; opacity: 0.9; margin-top: 2px; }
.rv-check input { width: 16px; height: 16px; accent-color: #F2ECE0; flex: none; }
.rv-submit {
  display: block; width: 100%; box-sizing: border-box; text-align: center; text-decoration: none; cursor: pointer;
  background: #F2ECE0; color: #2A231B; border: 0; padding: 14px 18px; font-family: var(--nav-face); font-size: 0.86rem; letter-spacing: 0.24em; text-transform: uppercase;
  transition: background .25s ease, transform .25s ease;
}
.rv-submit:hover { background: #fff; transform: translateY(-1px); }
.rv-submit:disabled { opacity: .6; cursor: wait; }
.rv-fine { text-align: center; font-size: 0.9rem; opacity: 1; color: #F2ECE0; margin: 0; }
.rv-fine a { color: #F2ECE0; border-bottom: 1px solid rgba(242,236,224,0.4); text-decoration: none; }
.rv-success { padding: 10px 0 6px; }
.rv-success__mark { font-size: 2rem; margin-bottom: 4px; }
.rv-success h2 { font-family: var(--serif); font-weight: 400; margin: 0 0 8px; color: #fff; }
.rv-success p { margin: 0 0 18px; }
@media (max-width: 560px) {
  .rv-row, .rv-row--3 { grid-template-columns: 1fr 1fr; }
  .rv-row--3 .rv-f:first-child, .rv-row--3 .rv-f:nth-child(2) { grid-column: auto; }
  .rv-row--3 .rv-f:last-child { grid-column: 1 / -1; }
  .rv-or span { white-space: normal; text-align: center; font-size: 0.92rem; }
  .rv-top { padding-top: 14px; } .rv-brand img { height: 38px; }
}

.rv-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.rv-brand__mark { height: 44px; width: 44px; }
.rv-card__mark { width: 54px; height: 54px; display: block; margin: 0 auto 4px; }
@media (max-width: 560px) { .rv-brand__mark { height: 34px; width: 34px; } .rv-card__mark { width: 44px; height: 44px; } }

/* floor-plan thumbnails: identical frames so both floors sit the same size */
.fp-thumb { position: relative; display: block; width: 100%; aspect-ratio: 2400 / 1472; padding: 0; border: 0; cursor: zoom-in; background: #F1ECE0; border-radius: 4px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.fp-zoom--both .fp-thumb img { width: 100%; height: 100%; max-height: none; object-fit: contain; display: block; border-radius: 0; box-shadow: none; background: transparent; transition: transform .5s ease; }
.fp-thumb:hover img { transform: scale(1.03); }
.fp-thumb__hint { position: absolute; right: 12px; bottom: 10px; background: rgba(42,35,27,0.86); color: #F2ECE0; font-family: var(--nav-face); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; padding: 6px 10px; }
.fp-detail { position: fixed; inset: 0; z-index: 1010; background: #1c1712; display: flex; flex-direction: column; }
.fp-detail__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; color: #F2ECE0; }
.fp-detail__bar button { background: transparent; border: 1px solid rgba(242,236,224,0.5); color: #F2ECE0; font-family: var(--nav-face); letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.74rem; padding: 10px 14px; cursor: pointer; }
.fp-detail__bar button:hover { background: rgba(242,236,224,0.12); }
.fp-detail__title { font-family: var(--serif); letter-spacing: 0.16em; text-transform: uppercase; font-size: 1.05rem; }
.fp-detail__scroll { flex: 1; overflow: auto; display: flex; align-items: flex-start; justify-content: center; padding: 0 18px 18px; -webkit-overflow-scrolling: touch; }
.fp-detail__img { max-width: 100%; max-height: calc(100vh - 130px); width: auto; height: auto; margin: auto; background: #F1ECE0; cursor: zoom-in; display: block; }
.fp-detail.is-zoomed .fp-detail__img { max-width: none; max-height: none; width: 2400px; cursor: zoom-out; margin: 0; }
.fp-detail__tip { margin: 0; padding: 0 0 12px; text-align: center; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(242,236,224,0.75); font-family: var(--nav-face); }
@media (max-width: 900px) { .fp-detail__bar button { font-size: 0.66rem; padding: 9px 10px; } .fp-detail.is-zoomed .fp-detail__img { width: 1800px; } }

/* Reserve band: one clear call to action */
.book-copy { max-width: 520px; }
.book-copy__mark { width: 58px; height: 58px; display: block; margin: 0 auto 14px; }
.book-copy__title { font-family: var(--serif); font-weight: 400; color: #fff; font-size: clamp(2.1rem, 4.2vw, 3.2rem); letter-spacing: 0.05em; margin: 0 0 0.6rem; text-shadow: 0 2px 18px rgba(0,0,0,0.5); }
.book-copy__lede { font-family: var(--text); font-size: clamp(1.3rem, 2vw, 1.55rem); color: #fff; margin: 0 0 2rem; text-shadow: 0 1px 12px rgba(0,0,0,0.6); }
.book-cta { display: inline-block; background: var(--bone); color: var(--ink); font-family: var(--sans); font-size: 1.02rem; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; padding: 20px 54px; box-shadow: 0 14px 34px rgba(0,0,0,0.4); transition: background .3s ease, transform .3s ease; }
.book-cta:hover { background: #fff; transform: translateY(-3px); }
.book-or { display: flex; align-items: center; gap: 16px; max-width: 360px; margin: 2.4rem auto 1.4rem; }
.book-or i { flex: 1; height: 1px; background: rgba(242,236,224,0.45); }
.book-or span { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: #fff; }
.book-copy .book-platforms { gap: 38px; margin: 0; }
.book-copy .book-platforms img { height: 34px; opacity: 1; }
.book-copy .book-platforms .book-platforms__airbnb { height: 54px !important; }
.book-copy .book-note { font-family: var(--text); font-size: 1.25rem; line-height: 1.6; color: #fff; margin-top: 2.4rem; text-shadow: 0 1px 10px rgba(0,0,0,0.6); }
.book-copy .book-note a { color: #fff; border-bottom: 1px solid rgba(255,255,255,0.6); }
@media (max-width: 560px) { .book-cta { padding: 18px 40px; } }

/* Copyright notice: full-width row under the brand + links, centred, readable */
.footer-copy { grid-column: 1 / -1; text-align: center; margin: 24px 0 0; font-family: var(--text); font-size: 0.95rem; line-height: 1.6; letter-spacing: 0.01em; color: rgba(250,247,241,0.85); }

/* Inline "coming soon" / error note (replaces browser alerts) */
.soon-note { font-family: var(--text); font-size: 1rem; line-height: 1.5; text-align: center; margin: 14px auto 0; max-width: 34ch; }
.book-copy .soon-note { color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,0.6); }

/* Stay page: larger, easier-to-read type */
.rv-card { max-width: 700px; }
.rv-title { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.rv-or { margin: clamp(14px, 2.2vh, 22px) 0 clamp(20px, 3.2vh, 30px); }
.rv-or span { font-size: 1.25rem; }
.rv-f input, .rv-f select { font-size: 1.25rem; padding: 6px 0 8px; }
.rv-form { gap: clamp(10px, 1.8vh, 16px); }
.rv-check { font-size: 1.08rem; }
.rv-check input { width: 19px; height: 19px; }
.rv-submit { font-size: 0.98rem; padding: 15px 18px; }
.rv-fine { font-size: 1.05rem; }
.rv-back { font-size: 0.92rem; }
@media (max-width: 560px) { .rv-f input, .rv-f select { font-size: 1.15rem; } .rv-or span { font-size: 1.1rem; } }
@media (min-width: 561px) and (max-height: 900px) {
  .rv-top { padding-top: 10px; padding-bottom: 8px; }
  .rv-brand img { height: 40px; } .rv-brand__mark { height: 38px; width: 38px; }
  .rv-card { padding-top: 16px; padding-bottom: 14px; }
  .rv-card__mark { width: 40px; height: 40px; margin-bottom: 0; }
  .rv-title { margin-bottom: 10px; }
  .rv-airbnb { height: 48px; } .rv-vrbo { height: 30px; }
  .rv-or { margin: 14px 0 28px; }
  .rv-form { gap: 13px; }
  .rv-fine { margin-top: -2px; }
}
@media (max-width: 560px) {
  .rv-title { font-size: 1.75rem; letter-spacing: 0.03em; margin-bottom: 10px; }
  .rv-card__mark { width: 38px; height: 38px; }
  .rv-or span { font-size: 1.02rem; white-space: nowrap; }
  .rv-or { gap: 10px; margin: 12px 0 18px; }
  .rv-form { gap: 10px; }
  .rv-airbnb { height: 50px; } .rv-vrbo { height: 30px; }
}
.rv-card .soon-note { color: #F2ECE0; }

/* ---------- Readability floor (site review C): 14px desktop / 13px phone for anything a guest reads ---------- */
.site-nav a { font-size: 1rem; }
.gallery-nav a { font-size: 0.9rem; }
.hero-sound { font-size: 0.9rem; }
.sonoma-times__head { font-size: 0.95rem; }
.rq__cap small { font-size: 0.9rem; }
.fp-thumb__hint { font-size: 0.82rem; }
.fp-detail__bar button { font-size: 0.86rem; }
.fp-detail__tip { font-size: 0.9rem; }
.reserve-pill b { font-size: 0.9rem; }
.rv-back { font-size: 1rem; }
.gallery-scene { font-size: 0.95rem; }
.eyebrow, .hero-content .eyebrow { font-size: 0.95rem; }
@media (max-width: 900px) { .fp-detail__bar button { font-size: 0.8rem; } .gallery-nav a { font-size: 0.9rem; } }
@media (max-width: 560px) { .rv-f span { font-size: 0.84rem; } .reserve-pill b { font-size: 0.88rem; } }

/* Nav over the hero: white with a soft shadow, plus a top scrim so it reads on every frame */
.site-header:not(.scrolled) .site-nav a { color: #fff; opacity: 1; text-shadow: 0 1px 8px rgba(0,0,0,0.55); }
.hero::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 140px; background: linear-gradient(rgba(0,0,0,0.38), transparent); z-index: 1; pointer-events: none; }

/* ---------- Layout fixes (site review D) ---------- */
/* D1: on phones the section title sits above the tiles instead of over the first photo */
@media (max-width: 900px) {
  .remember__title { position: static; padding: 44px 24px 18px; pointer-events: auto; }
  .remember__title h2 { color: var(--ink); text-shadow: none; }
}
/* D2: show the whole floor plan on the door, never cropped mid-word */
#doorPlans img { object-fit: contain; padding: 7%; background: var(--cream); box-sizing: border-box; }
/* D4: email on its own line on phones, no dangling dot */
.rv-br { display: none; }
@media (max-width: 560px) { .rv-br { display: inline; } .rv-dot { display: none; } }

/* E15: notes field is a multi-line box styled like the other inputs */
.rv-f textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 1.25rem; color: #F2ECE0; background: transparent; border: 0; border-bottom: 1px solid rgba(242,236,224,0.6); padding: 6px 0 8px; resize: vertical; min-height: 4.5em; line-height: 1.4; }
.rv-f textarea:focus { outline: none; border-bottom-color: #fff; }
@media (max-width: 560px) { .rv-f textarea { font-size: 1.15rem; } }
/* E20: lightbox position counter */
.lightbox-count { position: absolute; top: 30px; left: 28px; color: var(--bone); font-family: var(--nav-face); font-size: 0.95rem; letter-spacing: 0.14em; opacity: 0.85; }

/* Map on phones: keep the labels at the size they read well and let the map pan sideways */
.map-hint { display: none; }
@media (max-width: 640px) {
  .sonoma-map__pan { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); background: #EFE7D6; scrollbar-width: none; }
  .sonoma-map__pan::-webkit-scrollbar { display: none; }
  .sonoma-map__pan .sonoma-map__svg { width: 800px; max-width: none; border: 0; }
  .map-hint { display: block; text-align: center; margin: 10px 0 0; font-family: var(--nav-face); font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
}
