/* ============================================================
   CAVALLI ESTATES — Design System  (v2 · "Four Seasons" elevation)
   Restrained editorial luxury: ivory + charcoal + a single muted
   bronze-gold accent. Cormorant Garamond display / Jost sans.
   Tokens live here — swap once, changes site-wide.
   Palette + type are a PROPOSED direction (UNCONFIRMED — see QUESTIONS.md).
   ============================================================ */

/* ---- Tokens ------------------------------------------------ */
:root {
  /* Warm-neutral chrome (Four Seasons restraint) */
  --ivory:      #FAF7F0;   /* primary background */
  --ivory-2:    #F3EEE3;   /* soft surface */
  --ivory-3:    #EAE3D4;   /* card / hairline warmth */
  --char:       #24211C;   /* warm charcoal — primary text & dark grounds */
  --char-2:     #1B1815;   /* deepest ground */
  --ink-soft:   #55503F;   /* body on light (warm taupe-ink) — WCAG AA on ivory */
  --ink-mute:   #6E6753;   /* captions / meta */

  /* Accent — muted bronze-gold (the single accent, used sparingly) */
  --gold:       #9C7C46;
  --gold-deep:  #7E6338;
  --gold-soft:  #C6A874;
  --line-gold:  color-mix(in srgb, var(--gold) 45%, transparent);

  /* Whispers of the farm's own colours (photography-led, secondary) */
  --lavender:   #7A6C93;
  --lavender-soft: #C9BFD8;
  --sage:       #7C8663;

  /* Semantic */
  --bg: var(--ivory);
  --fg: var(--char);
  --accent: var(--gold);
  --hair: color-mix(in srgb, var(--char) 14%, transparent);
  --hair-light: color-mix(in srgb, var(--ivory) 24%, transparent);

  /* Type */
  --serif: "Cormorant Garamond", "Cormorant-fallback", Georgia, "Times New Roman", serif;
  --sans:  "Jost", "Jost-fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Fluid type scale — display runs large & light */
  --step--2: clamp(0.68rem, 0.66rem + 0.08vw, 0.72rem);
  --step--1: clamp(0.78rem, 0.75rem + 0.12vw, 0.85rem);
  --step-0:  clamp(1rem, 0.97rem + 0.16vw, 1.1rem);
  --step-1:  clamp(1.15rem, 1.08rem + 0.35vw, 1.4rem);
  --step-2:  clamp(1.5rem, 1.3rem + 1vw, 2.25rem);
  --step-3:  clamp(2rem, 1.6rem + 2vw, 3.25rem);
  --step-4:  clamp(2.6rem, 1.9rem + 3.4vw, 4.75rem);
  --step-5:  clamp(3.2rem, 2.1rem + 5.4vw, 7rem);
  --step-6:  clamp(3.8rem, 2.2rem + 8vw, 10rem);

  /* Spacing — tightened */
  --space-xs: clamp(0.6rem, 0.55rem + 0.2vw, 0.85rem);
  --space-s:  clamp(0.85rem, 0.75rem + 0.4vw, 1.25rem);
  --space-m:  clamp(1.4rem, 1.15rem + 1.1vw, 2.35rem);
  --space-l:  clamp(2.4rem, 1.9rem + 2.2vw, 4rem);
  --space-xl: clamp(3.5rem, 2.7rem + 3.6vw, 6.5rem);

  --maxw: 1360px;
  --measure: 60ch;
  --radius: 0px;   /* sharp corners read more formal/luxury */

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --slow: 0.9s;

  --shadow-soft: 0 1px 2px rgba(36,33,28,.05), 0 24px 60px -24px rgba(36,33,28,.22);
  --shadow-lift: 0 2px 8px rgba(36,33,28,.08), 0 40px 80px -30px rgba(36,33,28,.34);
}

@font-face { font-family: "Cormorant-fallback"; src: local("Georgia"); size-adjust: 88%; ascent-override: 90%; }
@font-face { font-family: "Jost-fallback"; src: local("Arial"); size-adjust: 104%; }

/* ---- Reset ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
body {
  font-family: var(--sans);
  font-size: var(--step-0);
  font-weight: 300;
  line-height: 1.75;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
ul { list-style: none; padding: 0; }
::selection { background: var(--gold); color: var(--ivory); }

/* ---- Typography ------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: 0.005em;
  text-wrap: balance;
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
p  { text-wrap: pretty; }
/* Ritz-Carlton-style display: uppercase serif headlines — light & airy */
h1, h2 { text-transform: uppercase; letter-spacing: 0.07em; line-height: 1.18; font-weight: 300; }

.serif { font-family: var(--serif); }
.italic { font-style: italic; }
.display { font-family: var(--serif); font-weight: 300; letter-spacing: 0.01em; }

/* Ritz-Carlton-style italic serif eyebrow */
.eyebrow {
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--step-1);
  font-weight: 400;
  letter-spacing: 0.005em;
  text-transform: none;
  color: var(--gold-deep);
  display: inline-block;
}
.eyebrow.center { display: block; text-align: center; }
.dark .eyebrow, .hero .eyebrow, .cta-band .eyebrow, .page-hero .eyebrow { color: var(--gold-soft); }

.lead {
  font-family: var(--serif);
  font-size: var(--step-2);
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
  max-width: 42ch;
}
.body-lead {
  font-size: var(--step-1);
  line-height: 1.7;
  font-weight: 300;
  color: var(--ink-soft);
  max-width: 58ch;
}
.measure { max-width: var(--measure); color: var(--ink-soft); }
.muted { color: var(--ink-mute); }

/* ---- Layout ----------------------------------------------- */
.wrap { width: min(100% - 3rem, var(--maxw)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 3rem, 880px); margin-inline: auto; }
.wrap-wide { width: min(100% - 2rem, 1600px); margin-inline: auto; }
.section { padding-block: clamp(2.6rem, 2rem + 2.6vw, 4.8rem); }
.section-sm { padding-block: clamp(1.8rem, 1.5rem + 1.6vw, 3rem); }
.stack > * + * { margin-top: var(--space-s); }
.stack-l > * + * { margin-top: var(--space-m); }
.center { text-align: center; }
.center .lead, .center .body-lead, .center .measure { margin-inline: auto; }

/* ---- Buttons (understated) -------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.8em;
  padding: 1.05em 2.2em;
  font-family: var(--sans); font-size: var(--step--2);
  font-weight: 400; letter-spacing: 0.28em; text-transform: uppercase;
  border-radius: var(--radius);
  background: var(--char); color: var(--ivory);
  position: relative; overflow: hidden;
  transition: color .6s var(--ease), background .6s var(--ease), border-color .6s var(--ease);
}
.btn::after { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.btn > * , .btn span { position: relative; z-index: 1; }
.btn:hover::after { transform: scaleX(1); }
.btn:hover { color: var(--ivory); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn .arrow { transition: transform .5s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }

.btn.gold { background: var(--gold); }
.btn.gold::after { background: var(--gold-deep); }
.btn.gold:hover { color: var(--ivory); }

.btn.outline { background: transparent; color: var(--char); border: 1px solid var(--hair); }
.btn.outline::after { background: var(--char); }
.btn.outline:hover { color: var(--ivory); border-color: var(--char); }

.btn.on-dark { background: transparent; color: var(--ivory); border: 1px solid var(--hair-light); }
.btn.on-dark::after { background: var(--ivory); }
.btn.on-dark:hover { color: var(--char); border-color: var(--ivory); }

/* text link with gold underline + arrow */
.link {
  display: inline-flex; align-items: center; gap: .7em;
  font-family: var(--sans); font-size: var(--step--2); font-weight: 400;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--char);
  padding-bottom: 4px;
  background: linear-gradient(var(--gold), var(--gold)) left bottom / 0% 1px no-repeat;
  transition: background-size .55s var(--ease), gap .4s var(--ease), color .4s var(--ease);
}
.link:hover { background-size: 100% 1px; gap: 1em; }
.link.on-dark { color: var(--ivory); }
.link .arrow { transition: transform .45s var(--ease); }
.link:hover .arrow { transform: translateX(4px); }
.link.persist { background-size: 100% 1px; }

/* ---- Header / Nav ----------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  color: var(--ivory);
  transition: background .6s var(--ease), box-shadow .6s var(--ease), color .6s var(--ease);
}
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(18,15,12,.6), rgba(18,15,12,.12) 70%, transparent);
  opacity: 1; transition: opacity .6s var(--ease); }
.site-header.scrolled::before { opacity: 0; }
.site-header__inner { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: clamp(1.4rem, 2.6vw, 3rem);
  padding-block: clamp(2rem, 1.4rem + 1.7vw, 3.2rem); transition: padding .6s var(--ease); }
.site-header.scrolled {
  background: color-mix(in srgb, var(--ivory) 97%, transparent);
  -webkit-backdrop-filter: saturate(120%) blur(16px); backdrop-filter: saturate(120%) blur(16px);
  color: var(--char); box-shadow: 0 1px 0 var(--hair);
}
.site-header.scrolled .site-header__inner { padding-block: 0.75rem; }
.site-header.scrolled .brand .brand-name { font-size: 1.4rem; letter-spacing: 0.12em; }
.site-header.scrolled .brand .brand-sub { font-size: 0.5rem; }
/* announcement lives atop the fixed header, collapses on scroll */
.site-header .announce { overflow: hidden; transition: max-height .6s var(--ease), padding .6s var(--ease); max-height: 4rem; }
.site-header.scrolled .announce { max-height: 0; padding-block: 0; }
.brand { justify-self: center; text-align: center; line-height: 1; display: flex; flex-direction: column; gap: 7px; }
.brand .brand-name { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 1.2rem + 1.7vw, 2.6rem); letter-spacing: 0.15em; text-transform: uppercase; transition: font-size .6s var(--ease), letter-spacing .6s var(--ease); }
.brand .brand-sub { font-family: var(--sans); font-size: clamp(0.56rem, 0.5rem + 0.12vw, 0.64rem); letter-spacing: 0.44em; text-transform: uppercase; opacity: .72; transition: font-size .6s var(--ease); }

.nav-side { display: none; align-items: center; gap: clamp(0.7rem, 1.3vw, 1.8rem); }
.nav-side.right { justify-self: start; }
.nav-side.left { justify-self: end; }
@media (min-width: 1200px) { .nav-side { display: flex; } }
.navlink { font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 400; position: relative; padding-block: 5px; white-space: nowrap; }
.navlink::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--gold); transition: width .45s var(--ease); }
.navlink:hover::after, .navlink[aria-current="page"]::after { width: 100%; }
.btn-reserve {
  font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.24em; text-transform: uppercase;
  padding: 0.85em 1.5em; border: 1px solid currentColor; border-radius: var(--radius);
  transition: background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
}
.btn-reserve:hover { background: var(--gold); border-color: var(--gold); color: var(--ivory); }

/* mobile: left = menu toggle, right = reserve */
.nav-toggle { justify-self: start; display: inline-flex; align-items: center; gap: .7rem; font-family: var(--sans); font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; z-index: 120; }
.nav-toggle .bars { display: inline-flex; flex-direction: column; gap: 4px; width: 22px; }
.nav-toggle .bars span { height: 1px; width: 100%; background: currentColor; transition: transform .4s var(--ease), opacity .3s; }
@media (min-width: 1200px) { .nav-toggle { display: none; } }
body.menu-open .nav-toggle .bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
body.menu-open .nav-toggle .bars span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle .bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.nav-reserve-m { justify-self: end; }
@media (min-width: 1200px) { .nav-reserve-m { display: none; } }
@media (max-width: 700px) {
  .brand .brand-name { font-size: 1.05rem; letter-spacing: 0.14em; white-space: nowrap; }
  .brand .brand-sub { display: none; }
  .nav-toggle { font-size: 0; gap: 0; }   /* hide "Menu" label, keep bars */
  .btn-reserve { padding: 0.75em 1.15em; font-size: 0.56rem; }
  .announce { font-size: 0.6rem; letter-spacing: .1em; gap: .5rem; }
}

/* Mobile / full drawer */
.nav-mobile { position: fixed; inset: 0; z-index: 110; background: var(--char-2); color: var(--ivory);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 1.1rem; padding: 2rem;
  opacity: 0; visibility: hidden; transform: scale(1.03); transition: opacity .6s var(--ease), transform .7s var(--ease), visibility .6s; }
body.menu-open .nav-mobile { opacity: 1; visibility: visible; transform: scale(1); }
.nav-mobile a { font-family: var(--serif); font-weight: 300; font-size: clamp(1.9rem, 7vw, 2.8rem); letter-spacing: .01em; opacity: .85; transition: opacity .3s, color .3s; }
.nav-mobile a:hover { opacity: 1; color: var(--gold-soft); }
.nav-mobile .m-sep { width: 40px; height: 1px; background: var(--line-gold); margin: .5rem 0; }

/* ---- Announcement ----------------------------------------- */
.announce { background: var(--char-2); color: var(--ivory); text-align: center; font-family: var(--sans);
  font-size: var(--step--2); letter-spacing: .14em; text-transform: uppercase; font-weight: 300;
  padding: .75rem 1.25rem; position: relative; z-index: 101; display: flex; gap: 1rem; justify-content: center; align-items: center; flex-wrap: wrap; }
.announce a { color: var(--gold-soft); text-underline-offset: 3px; letter-spacing: .14em; }
.announce a:hover { text-decoration: underline; }
.announce .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--line-gold); }

/* ---- Hero ------------------------------------------------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--ivory); overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); animation: kenburns 26s ease-out forwards; }
@keyframes kenburns { to { transform: scale(1); } }
.hero__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom, rgba(20,17,14,.34) 0%, rgba(20,17,14,.12) 30%, rgba(20,17,14,.5) 100%);; pointer-events: none; }
.hero__inner { position: relative; z-index: 2; width: min(100% - 3rem, 56rem); padding-top: 3rem; text-shadow: 0 1px 30px rgba(18,15,12,.28); }
.hero .eyebrow { color: var(--gold-soft); margin-bottom: var(--space-s); }
.hero h1 { font-size: var(--step-5); font-weight: 300; letter-spacing: 0.01em; line-height: 1.0; }
.hero__sub { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: var(--step-2); opacity: .95; margin-top: 1rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: var(--space-m); }

/* Reservation bar */
.booking { position: absolute; left: 50%; bottom: clamp(1.5rem, 5vh, 3.5rem); transform: translateX(-50%); z-index: 3; width: min(100% - 3rem, 60rem); }
.booking__card { background: color-mix(in srgb, var(--ivory) 95%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: var(--char); display: grid; grid-template-columns: 1fr 1fr 1fr auto; align-items: stretch; box-shadow: var(--shadow-lift); }
@media (max-width: 780px) { .booking__card { grid-template-columns: 1fr 1fr; } .booking__cta { grid-column: 1 / -1; } }
.booking__field { display: flex; flex-direction: column; gap: .35rem; padding: 1.05rem 1.4rem; border-right: 1px solid var(--hair); text-align: left; }
@media (max-width: 780px) { .booking__field { border-right: 1px solid var(--hair); } .booking__field:nth-child(2n){border-right:0;} }
.booking__field label { font-family: var(--sans); font-size: 0.56rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-mute); }
.booking__field input, .booking__field select { font-family: var(--sans); font-size: 0.95rem; font-weight: 300; color: var(--char); border: 0; background: transparent; padding: 0; width: 100%; }
.booking__field input:focus, .booking__field select:focus { outline: none; }
.booking__field input::-webkit-calendar-picker-indicator { opacity:.5; }
.booking__cta { display: flex; }
.booking__cta button { width: 100%; height: 100%; background: var(--gold); color: var(--ivory); font-family: var(--sans); font-size: 0.66rem; letter-spacing: .24em; text-transform: uppercase; padding: 1.1rem 2rem; transition: background .5s var(--ease); }
.booking__cta button:hover { background: var(--gold-deep); }

.scroll-cue { position: absolute; left: 50%; bottom: 0.4rem; transform: translateX(-50%); z-index: 2; font-family: var(--sans); font-size: .52rem; letter-spacing: .3em; text-transform: uppercase; opacity: .0; }

/* ---- Reveal ----------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .12s; }
[data-reveal][data-delay="2"] { transition-delay: .24s; }
[data-reveal][data-delay="3"] { transition-delay: .36s; }
[data-reveal][data-delay="4"] { transition-delay: .48s; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } }

.imgfx { overflow: hidden; position: relative; background: var(--ivory-3); }
.imgfx img { transition: transform 1.6s var(--ease); }
.imgfx.zoom:hover img { transform: scale(1.05); }

/* ---- Section intro ---------------------------------------- */
.intro-center { max-width: 54rem; margin-inline: auto; text-align: center; }
.intro-center h2 { margin-top: var(--space-s); }
.intro-center .body-lead { margin: var(--space-m) auto 0; }
.rule { width: 54px; height: 1px; background: var(--line-gold); margin: 0 auto; }
.rule.left { margin: 0; }

.intro-split { display: grid; gap: var(--space-m); align-items: end; }
@media (min-width: 900px) { .intro-split { grid-template-columns: 1.05fr .95fr; gap: var(--space-l); } }
.intro-split h2 { max-width: 15ch; }

/* ---- Feature (editorial image + text) --------------------- */
.feature { display: grid; gap: var(--space-m); align-items: center; }
@media (min-width: 960px) { .feature { grid-template-columns: 1fr 1fr; gap: clamp(3rem,6vw,7rem); } .feature.reverse .feature__media { order: 2; } }
.feature__media { position: relative; }
.feature__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.feature__media.tall img { aspect-ratio: 3/4; }
.feature__media.wide img { aspect-ratio: 5/4; }
.feature__media figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  margin: 0; padding: 3.2rem 1.6rem 1.15rem;
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: var(--step-0); letter-spacing: .03em; text-transform: none;
  color: var(--ivory); text-align: center;
  background: linear-gradient(to top, rgba(20,17,12,.55), rgba(20,17,12,0));
  pointer-events: none;
}
.feature__media figcaption::before {
  content: ""; display: block; width: 28px; margin: 0 auto .55rem;
  border-top: 1px solid color-mix(in srgb, var(--gold-soft) 80%, transparent);
}
.feature__body .eyebrow { margin-bottom: var(--space-s); }
.feature__body h2 { margin-bottom: var(--space-m); }
.feature__body .cta-row { margin-top: var(--space-m); }

/* ---- Residences carousel (Four Seasons style) ------------- */
.carousel { position: relative; }
.carousel__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: var(--space-m); }
.carousel__viewport { overflow: hidden; }
.carousel__track { display: flex; gap: clamp(1rem, 2.5vw, 2rem); transition: transform .8s var(--ease); will-change: transform; }
.slide { flex: 0 0 min(84%, 460px); }
@media (min-width: 760px) { .slide { flex-basis: min(46%, 520px); } }
@media (min-width: 1200px) { .slide { flex-basis: min(32%, 460px); } }
.slide__media { overflow: hidden; position: relative; aspect-ratio: 3/4; background: var(--ivory-3); }
.slide__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.slide:hover .slide__media img { transform: scale(1.05); }
.slide__idx { font-family: var(--sans); font-size: var(--step--2); letter-spacing: .26em; text-transform: uppercase; color: var(--gold-deep); margin-top: 1.4rem; }
.slide h3 { font-size: var(--step-2); margin-top: .5rem; }
.slide p { color: var(--ink-soft); font-size: var(--step--1); margin-top: .5rem; max-width: 34ch; }
.slide .link { margin-top: 1.1rem; }
.carousel__controls { display: flex; gap: .6rem; align-items: center; }
.carousel__btn { width: 52px; height: 52px; border: 1px solid var(--hair); display: grid; place-items: center; transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease); color: var(--char); }
.carousel__btn:hover { background: var(--char); color: var(--ivory); border-color: var(--char); }
.carousel__btn[disabled] { opacity: .3; pointer-events: none; }
.carousel__count { font-family: var(--sans); font-size: var(--step--2); letter-spacing: .22em; color: var(--ink-mute); min-width: 3.5em; text-align: center; }

/* ---- Offerings tiles (estate destinations) ---------------- */
.offerings { display: grid; gap: clamp(.6rem, 1.2vw, 1rem); }
@media (min-width: 680px) { .offerings { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .offerings { grid-template-columns: repeat(3, 1fr); } }
.tile { position: relative; display: block; overflow: hidden; color: var(--ivory); min-height: clamp(20rem, 34vw, 26rem); }
.tile.tall { grid-row: span 2; }
@media (min-width: 1200px) { .tile.feature { grid-column: span 2; } }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.8s var(--ease); }
.tile:hover img { transform: scale(1.06); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18,15,12,.82) 0%, rgba(18,15,12,.12) 55%, rgba(18,15,12,.28) 100%); transition: background .6s var(--ease); }
.tile:hover::after { background: linear-gradient(to top, rgba(18,15,12,.88) 0%, rgba(18,15,12,.28) 60%, rgba(18,15,12,.4) 100%); }
.tile__body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: clamp(1.4rem, 2.4vw, 2.2rem); }
.tile__idx { font-family: var(--sans); font-size: var(--step--2); letter-spacing: .26em; text-transform: uppercase; color: var(--gold-soft); }
.tile h3 { font-size: var(--step-2); margin-top: .5rem; }
.tile p { font-size: var(--step--1); color: color-mix(in srgb, var(--ivory) 82%, transparent); margin-top: .5rem; max-width: 38ch; opacity: 0; max-height: 0; overflow: hidden; transition: opacity .5s var(--ease), max-height .6s var(--ease), margin .5s var(--ease); }
.tile:hover p { opacity: 1; max-height: 6rem; }
.tile .link { margin-top: 1rem; color: var(--ivory); }
@media (hover: none) { .tile p { opacity: 1; max-height: 6rem; } }

/* ---- Dark sections ---------------------------------------- */
.dark { background: var(--char); color: var(--ivory); }
.dark .lead, .dark .body-lead, .dark .measure { color: color-mix(in srgb, var(--ivory) 78%, transparent); }
.dark .rule { background: var(--line-gold); }
.dark .feature__media figcaption { color: var(--ivory); }

/* ---- Experiences grid ------------------------------------- */
.exp-grid { display: grid; gap: 1px; background: var(--hair-light); border: 1px solid var(--hair-light); }
@media (min-width: 720px) { .exp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .exp-grid { grid-template-columns: repeat(4, 1fr); } }
.exp-cell { background: var(--char); padding: clamp(1.8rem, 3vw, 2.6rem); min-height: 15rem; display: flex; flex-direction: column; justify-content: flex-end; transition: background .5s var(--ease); }
.exp-cell:hover { background: var(--char-2); }
.exp-cell__num { font-family: var(--serif); font-style: italic; font-size: var(--step-2); color: var(--gold-soft); margin-bottom: auto; }
.exp-cell h3 { font-size: var(--step-1); font-family: var(--serif); }
.exp-cell p { font-size: var(--step--1); color: color-mix(in srgb,var(--ivory) 70%, transparent); margin-top: .6rem; }

/* ---- Gallery mosaic --------------------------------------- */
.mosaic { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(.5rem,1vw,1rem); }
@media (min-width: 760px) { .mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; } }
.mosaic figure { overflow: hidden; position: relative; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; transition: transform 1.6s var(--ease); }
.mosaic figure:hover img { transform: scale(1.05); }
@media (min-width: 760px) {
  .mosaic .tall { grid-row: span 2; } .mosaic .tall img { aspect-ratio: 1/2; }
  .mosaic .wide { grid-column: span 2; } .mosaic .wide img { aspect-ratio: 2/1; }
}

/* ---- Testimonial ------------------------------------------ */
.quote { max-width: 46rem; margin-inline: auto; text-align: center; }
.quote blockquote { font-family: var(--serif); font-weight: 300; font-size: var(--step-2); line-height: 1.4; letter-spacing: .005em; }
.quote .stars { color: var(--gold); letter-spacing: .4em; font-size: .8rem; margin-bottom: var(--space-m); }
.quote cite { display: block; margin-top: var(--space-m); font-style: normal; font-family: var(--sans); font-size: var(--step--2); letter-spacing: .24em; text-transform: uppercase; color: var(--ink-mute); }
.dark .quote cite { color: color-mix(in srgb,var(--ivory) 62%, transparent); }

/* ---- Stat row --------------------------------------------- */
.stats { display: grid; gap: var(--space-m); text-align: center; }
@media (min-width: 680px) { .stats { grid-template-columns: repeat(4, 1fr); } .stats .stat + .stat { border-left: 1px solid var(--hair); } }
.stat b { font-family: var(--serif); font-weight: 300; font-size: var(--step-4); display: block; line-height: 1; }
.stat span { display: block; margin-top: .8rem; font-family: var(--sans); font-size: var(--step--2); letter-spacing: .24em; text-transform: uppercase; color: var(--ink-mute); }
.dark .stat span { color: color-mix(in srgb,var(--ivory) 60%, transparent); }

/* ---- CTA band --------------------------------------------- */
.cta-band { position: relative; overflow: hidden; color: var(--ivory); text-align: center; }
.cta-band__bg { position: absolute; inset: 0; z-index: 0; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(20,17,14,.55), rgba(20,17,14,.68)); }
.cta-band .wrap, .cta-band .wrap-narrow { position: relative; z-index: 1; }
.cta-band h2 { font-size: var(--step-5); }

/* ---- Forms ------------------------------------------------ */
.form { display: grid; gap: var(--space-s); }
.field { display: grid; gap: .5rem; }
@media (min-width: 620px) { .field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-s); } }
.field label { font-family: var(--sans); font-size: 0.6rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-mute); }
.field input, .field select, .field textarea { font: inherit; font-size: var(--step-0); font-weight: 300; color: var(--char); background: transparent; border: 0; border-bottom: 1px solid var(--hair); border-radius: 0; padding: .7em 0; width: 100%; transition: border-color .4s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.dark .field label { color: color-mix(in srgb,var(--ivory) 66%, transparent); }
.dark .field input, .dark .field select, .dark .field textarea { color: var(--ivory); border-color: var(--hair-light); }
.form-note { font-size: var(--step--1); color: var(--ink-mute); }
.dark .form-note { color: color-mix(in srgb,var(--ivory) 60%, transparent); }
.form-success { display: none; padding: var(--space-m); border: 1px solid var(--line-gold); background: color-mix(in srgb, var(--gold) 8%, transparent); }

/* ---- Spec / amenity --------------------------------------- */
.specbar { display: grid; gap: var(--space-s); border-block: 1px solid var(--hair); padding-block: var(--space-m); }
@media (min-width: 640px) { .specbar { grid-template-columns: repeat(4, 1fr); text-align: center; gap: var(--space-m) 0; } .specbar .spec + .spec { border-left: 1px solid var(--hair); } }
.specbar .spec { padding-inline: 1rem; }
.specbar .spec b { font-family: var(--serif); font-weight: 300; font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.15; display: block; margin-bottom: .4rem; text-wrap: balance; }
.specbar .spec span { font-family: var(--sans); font-size: var(--step--2); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-mute); }
.todo { color: var(--gold); font-style: italic; font-family: var(--serif); }

.amenities { display: grid; gap: 0; }
@media (min-width: 720px) { .amenities { grid-template-columns: 1fr 1fr; column-gap: var(--space-l); } }
.amenity { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start; padding-block: var(--space-s); border-top: 1px solid var(--hair); }
.amenity .ic { width: 2rem; height: 2rem; display: grid; place-items: center; color: var(--gold); }
.amenity h4 { font-family: var(--serif); font-weight: 400; font-size: var(--step-1); }
.amenity p { font-size: var(--step--1); color: var(--ink-soft); margin-top: .3rem; }
.dark .amenity { border-color: var(--hair-light); }
.dark .amenity p { color: color-mix(in srgb,var(--ivory) 70%, transparent); }
.dark .amenity .ic { color: var(--gold-soft); }

/* ---- Badge ------------------------------------------------ */
.badge { display: inline-flex; align-items: center; gap: .7em; font-family: var(--sans); font-size: 0.62rem; letter-spacing: .24em; text-transform: uppercase; padding: .6em 1.2em; border: 1px solid var(--line-gold); color: var(--gold-deep); }
.badge .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.dark .badge { color: var(--gold-soft); }

/* ---- Map -------------------------------------------------- */
.map-embed { aspect-ratio: 16/7; width: 100%; border: 0; filter: grayscale(.4) contrast(.95) sepia(.08); }

/* ---- Footer ----------------------------------------------- */
.site-footer { background: var(--char-2); color: var(--ivory); padding-top: var(--space-l); }
.site-footer a { opacity: .78; transition: opacity .3s, color .3s; }
.site-footer a:hover { opacity: 1; color: var(--gold-soft); }
.footer-top { text-align: center; padding-bottom: var(--space-l); border-bottom: 1px solid var(--hair-light); }
.footer-top .brand-name { font-family: var(--serif); font-size: clamp(1.8rem,4vw,2.6rem); letter-spacing: .14em; text-transform: uppercase; font-weight: 300; }
.footer-top .brand-sub { display:block; font-family: var(--sans); font-size: .58rem; letter-spacing: .4em; text-transform: uppercase; opacity: .6; margin-top: .8rem; }
.footer-grid { display: grid; gap: var(--space-m); padding-top: var(--space-l); }
@media (min-width: 780px) { .footer-grid { grid-template-columns: repeat(4, 1fr); gap: var(--space-l); } }
.footer-col h4 { font-family: var(--sans); font-size: .74rem; letter-spacing: .26em; text-transform: uppercase; opacity: .6; margin-bottom: 1.3rem; }
.footer-col li + li { margin-top: .8rem; }
.footer-col a, .footer-col li { font-size: var(--step-0); letter-spacing: .02em; }
.footer-bottom { margin-top: var(--space-l); padding-block: var(--space-m); border-top: 1px solid var(--hair-light); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; font-family: var(--sans); font-size: var(--step--1); letter-spacing: .08em; }
.footer-bottom .fine { opacity: .5; max-width: 62ch; line-height: 1.6; text-transform: none; letter-spacing: .02em; }
.social { display: flex; gap: .8rem; }
.social a { width: 52px; height: 52px; border: 1px solid var(--hair-light); border-radius: 50%; display: grid; place-items: center; opacity: 1; }
.social a:hover { background: var(--gold); border-color: var(--gold); }

/* ---- Page hero (interior) --------------------------------- */
.page-hero { position: relative; min-height: 76svh; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--ivory); overflow: hidden; padding-block: clamp(9.5rem, 16vh, 13rem) clamp(2.5rem, 5vh, 4rem); }
.page-hero__media { position: absolute; inset: 0; z-index: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: kenburns 24s ease-out forwards; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(rgba(20,17,14,.42), rgba(20,17,14,.55)); }
.page-hero__inner { position: relative; z-index: 2; width: min(100% - 3rem, 54rem); text-shadow: 0 1px 30px rgba(18,15,12,.28); }
.page-hero .badge { margin-bottom: var(--space-s); }
.page-hero h1 { font-size: var(--step-5); font-weight: 300; }
.page-hero .body-lead { color: color-mix(in srgb,var(--ivory) 90%, transparent); margin-inline: auto; }
.breadcrumb { font-family: var(--sans); font-size: .6rem; letter-spacing: .26em; text-transform: uppercase; opacity: .8; margin-bottom: var(--space-s); display: flex; gap: .7em; justify-content: center; }
.breadcrumb a:hover { color: var(--gold-soft); }

/* ---- Utility ---------------------------------------------- */
.divider { height: 1px; background: var(--hair); border: 0; }
.hidden { display: none; }
.bg-surface { background: var(--ivory-2); }
.text-gold { color: var(--gold); }
.mt-0 { margin-top: 0 !important; }
.cta-row { display: flex; flex-wrap: wrap; gap: 1rem; }
.cta-row.center { justify-content: center; }

/* ---- Shop / products (Shopify-ready) ---------------------- */
.products { display: grid; gap: clamp(1.4rem, 2.6vw, 2.6rem) clamp(1rem, 2vw, 1.6rem); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 920px) { .products { grid-template-columns: repeat(3, 1fr); } }
.product { display: flex; flex-direction: column; }
.product__media { overflow: hidden; aspect-ratio: 4/5; background: var(--ivory-3); position: relative; }
.product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.product:hover .product__media img { transform: scale(1.05); }
.product__tag { position: absolute; top: 1rem; left: 1rem; background: color-mix(in srgb, var(--ivory) 92%, transparent); color: var(--char); font-family: var(--sans); font-size: 0.56rem; letter-spacing: .2em; text-transform: uppercase; padding: .45em .9em; }
.product__name { font-family: var(--serif); font-weight: 400; font-size: var(--step-1); margin-top: 1.15rem; }
.product__desc { font-size: var(--step--1); color: var(--ink-soft); margin-top: .35rem; flex: 1; }
.product__price { font-family: var(--serif); font-size: var(--step-1); color: var(--char); margin-top: .6rem; }
.product__buy { margin-top: 1.1rem; }
.product__buy .btn { width: 100%; justify-content: center; }
/* Shopify Buy Button mounts here when configured (replaces fallback) */
.product__buy .shopify-buy__btn { width: 100%; }
.shop-banner { border: 1px solid var(--line-gold); background: color-mix(in srgb, var(--gold) 6%, transparent); padding: var(--space-m); text-align: center; }
.shop-banner p { max-width: 60ch; margin-inline: auto; color: var(--ink-soft); font-size: var(--step--1); }

/* ---- Retirement packages ---------------------------------- */
.pkg-grid { display: grid; gap: clamp(1rem, 2vw, 1.6rem); grid-template-columns: 1fr; }
@media (min-width: 700px) { .pkg-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .pkg-grid { grid-template-columns: repeat(3, 1fr); } }
.pkg { border: 1px solid var(--hair); background: var(--ivory); padding: clamp(1.6rem, 2.5vw, 2.3rem); display: flex; flex-direction: column; position: relative; transition: box-shadow .5s var(--ease), transform .5s var(--ease); }
.pkg:hover { box-shadow: var(--shadow-soft); }
.pkg.feature-card { border-color: var(--line-gold); background: color-mix(in srgb, var(--gold) 6%, transparent); }
.pkg h3 { font-family: var(--serif); font-weight: 400; font-size: var(--step-2); text-transform: uppercase; letter-spacing: .03em; }
.pkg__tag { align-self: flex-start; font-family: var(--sans); font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); border: 1px solid var(--line-gold); padding: .35em .8em; margin-bottom: .9rem; }
.pkg-list { margin-top: 1.2rem; display: grid; gap: .7rem; }
.pkg-list li { position: relative; padding-left: 1.3rem; font-size: var(--step--1); color: var(--ink-soft); line-height: 1.5; }
.pkg-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

/* ---- Mobile polish ---------------------------------------- */
@media (max-width: 900px) {
  h1, h2 { letter-spacing: 0.03em; }
}
@media (max-width: 640px) {
  /* Hero: stack content + booking bar in flow so nothing clips */
  .hero { display: block; min-height: 90svh; }
  .hero__inner { position: relative; z-index: 2; width: min(100% - 2.5rem, 40rem); margin-inline: auto;
    padding-top: 7.5rem; padding-bottom: 0; text-align: center; }
  .hero h1 { font-size: clamp(2.4rem, 11vw, 3.4rem); }
  .hero__sub { font-size: var(--step-0); }
  .hero__actions { justify-content: center; }
  .booking { position: static; transform: none; left: auto; bottom: auto;
    width: min(100% - 2rem, 40rem); margin: 1.4rem auto 1.6rem; }
  /* Interior heroes + headings scale down */
  .page-hero h1 { font-size: clamp(2.2rem, 9vw, 3rem); }
  .page-hero .body-lead, .hero__sub { font-size: var(--step-0); }
  h2 { font-size: clamp(1.9rem, 8vw, 2.7rem); }
  h3 { font-size: clamp(1.35rem, 6vw, 1.7rem); }
  .section { padding-block: clamp(2.2rem, 8vw, 3.2rem); }
  .btn { padding: 1em 1.5em; letter-spacing: 0.16em; }
  .lead { font-size: var(--step-1); }
}

/* ---- Per-home availability check -------------------------- */
.avail-card { display: grid; gap: 1.2rem; grid-template-columns: 1fr 1fr auto; align-items: end; max-width: 640px; margin-inline: auto; }
@media (max-width: 600px) { .avail-card { grid-template-columns: 1fr 1fr; } .avail-card .btn { grid-column: 1 / -1; width: 100%; justify-content: center; } }
.avail-field { display: grid; gap: .4rem; }
.avail-field label { font-family: var(--sans); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); }
.avail-field input { font: inherit; font-weight: 300; color: var(--char); background: transparent; border: 0; border-bottom: 1px solid var(--hair); border-radius: 0; padding: .6em 0; }
.avail-field input:focus { outline: none; border-color: var(--gold); }
.avail-result { max-width: 640px; margin: var(--space-m) auto 0; text-align: center; font-family: var(--sans); font-size: var(--step--1); color: var(--ink-soft); padding: 1.1rem 1.3rem; border: 1px solid var(--hair); }
.avail-result.open { border-color: color-mix(in srgb, var(--sage) 60%, transparent); background: color-mix(in srgb, var(--sage) 10%, transparent); }
.avail-result.busy { border-color: var(--line-gold); background: color-mix(in srgb, var(--gold) 8%, transparent); }
.avail-result .cta-row { justify-content: center; margin-top: 1rem; }

/* ---- Availability calendar (Airbnb-synced, view only) ----- */
.cal-wrap { max-width: 780px; margin-inline: auto; }
.cal-legend { display: flex; gap: 1.6rem; justify-content: center; flex-wrap: wrap; font-family: var(--sans); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: var(--space-m); }
.cal-legend span { display: inline-flex; align-items: center; gap: .55em; }
.cal-legend i { width: 13px; height: 13px; display: inline-block; border: 1px solid var(--hair); }
.cal-legend i.busy { background: repeating-linear-gradient(45deg, var(--ivory-3), var(--ivory-3) 3px, transparent 3px, transparent 6px); }
.cal-legend i.sel { background: var(--gold); border-color: var(--gold); }
.cal-nav { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin-bottom: var(--space-s); }
.cal-nav button { width: 40px; height: 40px; border: 1px solid var(--hair); display: grid; place-items: center; color: var(--char); transition: background .3s, color .3s, border-color .3s; }
.cal-nav button:hover:not([disabled]) { background: var(--char); color: var(--ivory); border-color: var(--char); }
.cal-nav button[disabled] { opacity: .3; cursor: default; }
.cal-nav__label { font-family: var(--sans); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-mute); min-width: 6em; text-align: center; }
.cal-months { display: grid; gap: clamp(1.2rem, 3vw, 2.4rem); grid-template-columns: 1fr; }
@media (min-width: 680px) { .cal-months { grid-template-columns: 1fr 1fr; } }
.cal-month__title { text-align: center; font-family: var(--serif); font-size: var(--step-1); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .7rem; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-dow { font-family: var(--sans); font-size: .54rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); text-align: center; padding-bottom: .5rem; }
.cal-day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-family: var(--sans); font-size: .82rem; border: 1px solid transparent; user-select: none; transition: background .18s, color .18s; }
.cal-day.empty { cursor: default; }
.cal-day.past { color: color-mix(in srgb, var(--ink-mute) 55%, transparent); cursor: not-allowed; }
.cal-day.busy { color: var(--ink-mute); cursor: not-allowed; background: repeating-linear-gradient(45deg, var(--ivory-3), var(--ivory-3) 3px, transparent 3px, transparent 7px); text-decoration: line-through; }
.cal-day.avail { cursor: pointer; }
.cal-day.avail:hover { background: color-mix(in srgb, var(--gold) 18%, transparent); }
.cal-day.in-range { background: color-mix(in srgb, var(--gold) 22%, transparent); }
.cal-day.sel-start, .cal-day.sel-end { background: var(--gold); color: var(--ivory); }
.cal-summary { text-align: center; margin-top: var(--space-m); font-family: var(--sans); font-size: var(--step--1); color: var(--ink-soft); }
.cal-summary .cta-row { justify-content: center; margin-top: 1.1rem; }
.cal-loading { text-align: center; color: var(--ink-mute); font-size: var(--step--1); padding: var(--space-m); }

/* ---- Availability calendar — Airbnb-style refinements ------ */
.cal-fields { display: grid; grid-template-columns: 1fr 1fr; max-width: 520px; margin: 0 auto var(--space-l); border: 1px solid var(--hair); }
.cal-fields > div { padding: .85rem 1.2rem; }
.cal-fields > div + div { border-left: 1px solid var(--hair); }
.cal-fields.active-in > div:first-child, .cal-fields.active-out > div:last-child { box-shadow: inset 0 0 0 2px var(--char); }
.cal-fields label { display: block; font-family: var(--sans); font-size: .55rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); }
.cal-fields .val { font-family: var(--sans); font-size: .95rem; color: var(--char); margin-top: .25rem; }
.cal-fields .val.empty { color: var(--ink-mute); }
.cal-grid { gap: 0; }
.cal-day { border-radius: 50%; font-size: .9rem; font-weight: 400; color: var(--ink-mute); border: 0; }
.cal-day.avail { color: var(--char); font-weight: 500; cursor: pointer; background: none; }
.cal-day.avail:hover { box-shadow: inset 0 0 0 1.5px var(--char); }
.cal-day.past, .cal-day.busy { color: color-mix(in srgb, var(--ink-mute) 60%, transparent); text-decoration: line-through; text-decoration-thickness: 1px; background: none; cursor: not-allowed; }
.cal-day.in-range { background: color-mix(in srgb, var(--gold) 16%, transparent); border-radius: 0; color: var(--char); }
.cal-day.sel-start, .cal-day.sel-end { background: var(--char); color: var(--ivory); border-radius: 50%; font-weight: 600; }
.cal-legend i.busy { background: none; position: relative; }
.cal-legend i.busy::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid var(--ink-mute); }

/* ---- Center residence carousel cards ---------------------- */
.slide__idx, .slide h3, .slide p { text-align: center; }
.slide p { margin-inline: auto; }
.slide .link { justify-content: center; }

/* ---- Center residences carousel (header, cards, button) ---- */
.carousel__head { flex-direction: column; align-items: center; text-align: center; gap: var(--space-s); }
.slide { text-align: center; }
#residences .cta-row { justify-content: center; }

/* ---- About: founders bio (Read Their Story) ---------------- */
.bio-block .bio-full { max-width: 54ch; margin: var(--space-m) auto 0; padding-top: var(--space-m); border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); text-align: left; animation: bio-in .5s ease both; }
.bio-block .bio-full p { margin: 0 0 1.25em; font-weight: 300; line-height: 1.85; letter-spacing: .01em; }
.bio-block .bio-full p:first-child::first-letter { font-family: var(--serif, "Cormorant Garamond", serif); font-size: 2.6em; line-height: .85; float: left; padding: .06em .12em 0 0; color: var(--gold-soft); }
.bio-block .bio-full p:last-child { margin-bottom: 0; }
@keyframes bio-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---- Events occasions: portrait tiles (full-height imagery) -- */
#occasions .tile { aspect-ratio: 3/4; min-height: 0; }
#occasions .tile p { opacity: 1; max-height: 6rem; }

/* ============================================================
   Centered flow — site-wide alignment pass
   Feature bodies, amenities, products, and cards read centered,
   matching the page heroes and intros for one continuous rhythm.
   ============================================================ */
.feature__body { text-align: center; }
.feature__body .body-lead,
.feature__body .measure { margin-inline: auto; }
.feature__body .cta-row { justify-content: center; }
.specbar { text-align: center; }
.amenity { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: .8rem; }
.amenity .ic { margin-inline: auto; }
.product { text-align: center; }
.product__tag { left: 50%; transform: translateX(-50%); }
.product__buy { display: flex; justify-content: center; }
.exp-cell { align-items: center; text-align: center; }
.pkg { text-align: center; }
.pkg .cta-row { justify-content: center; }

/* ---- Mobile: carousel swipes natively --------------------- */
@media (max-width: 759px) {
  .carousel__viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; scroll-padding-inline: 1rem; }
  .carousel__viewport::-webkit-scrollbar { display: none; }
  .carousel__track { transform: none !important; transition: none; padding-inline: .25rem; }
  .slide { scroll-snap-align: center; }
}

/* ---- Mobile: keep big band headlines inside the viewport --- */
@media (max-width: 759px) {
  .cta-band h2 { font-size: clamp(1.7rem, 7.6vw, 2.4rem); }
}

/* ---- Shop: Cavalli mark under each product image ---------- */
.product__mark { width: 26px; height: 26px; border-radius: 50%; display: block; margin: 1.1rem auto 0; opacity: .85; }
.product__mark + .product__name { margin-top: .55rem; }

/* ---- Page hero video (sanctuary) -------------------------- */
.page-hero__media video { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { .page-hero__media video { display: none; } }


/* ---- Tighter rhythm: collapse doubled padding between stacked dark sections ---- */
.dark + .dark, .section.dark + .section-sm.dark, .section-sm.dark + .section.dark { padding-top: 0; display: flow-root; margin-top: 0; }

/* ---- Shop: matted frame around product images ------------- */
.product__media { border: 1px solid color-mix(in srgb, var(--gold-soft) 55%, var(--hair)); padding: .7rem; background: var(--ivory-2); }
.product__media img { border: 1px solid var(--hair); }
.product__tag { top: 1.4rem; }

/* ============================================================
   Shop — product detail modal, bag drawer, quantity steppers
   ============================================================ */
.shop-overlay { position: fixed; inset: 0; z-index: 90; display: none; }
.shop-overlay.open { display: block; }
.shop-overlay__scrim { position: absolute; inset: 0; background: color-mix(in srgb, var(--char) 55%, transparent); }
.pmodal { position: absolute; inset: 0; margin: auto; width: min(94vw, 56rem); height: fit-content; max-height: 92svh; overflow: auto;
  background: var(--ivory); border: 1px solid var(--hair); display: grid; }
@media (min-width: 760px) { .pmodal { grid-template-columns: 1fr 1fr; } }
.pmodal__close { position: absolute; top: .6rem; right: .9rem; z-index: 2; font-size: 1.6rem; line-height: 1; color: var(--ink-mute); padding: .3em .5em; }
.pmodal__close:hover { color: var(--char); }
.pmodal__media { background: var(--ivory-2); border-right: 1px solid var(--hair); }
.pmodal__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.pmodal__body { padding: clamp(1.6rem, 3vw, 2.6rem); text-align: center; display: grid; gap: .9rem; align-content: center; }
.pmodal__body h3 { font-family: var(--serif); font-weight: 400; font-size: var(--step-2); }
.pmodal__desc { color: var(--ink-soft); font-size: var(--step--1); max-width: 38ch; margin-inline: auto; }
.pmodal__field { display: grid; gap: .4rem; justify-items: center; }
.pmodal__field label { font-family: var(--sans); font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-mute); }
.pmodal__field select { font-family: var(--sans); font-size: .85rem; padding: .6em 1em; border: 1px solid var(--hair); background: var(--ivory); color: var(--char); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--hair); }
.qty button { width: 2.4rem; height: 2.4rem; font-size: 1.1rem; color: var(--char); }
.qty button:hover { background: var(--ivory-2); }
.qty span { min-width: 2.6rem; text-align: center; font-family: var(--serif); font-size: 1.1rem; }
.qty--sm button { width: 1.7rem; height: 1.7rem; font-size: .9rem; }
.qty--sm span { min-width: 1.9rem; font-size: .95rem; }
.pmodal__price { font-family: var(--serif); font-size: var(--step-2); }
.pmodal__add { justify-self: center; }
.pmodal__note { font-size: .72rem; color: var(--ink-mute); max-width: 34ch; margin-inline: auto; }

.bag-fab { position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 80;
  width: 3.4rem; height: 3.4rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--char); color: var(--ivory); box-shadow: 0 8px 30px rgba(20,17,12,.25); }
.bag-fab:hover { background: var(--gold-deep); }
.bag-fab__count { position: absolute; top: -4px; right: -4px; min-width: 1.3rem; height: 1.3rem; border-radius: 50%;
  background: var(--gold); color: var(--ivory); font-family: var(--sans); font-size: .68rem; display: grid; place-items: center; padding-inline: .25em; }

.bag-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 95; width: min(92vw, 26rem);
  background: var(--ivory); border-left: 1px solid var(--hair); box-shadow: -20px 0 60px rgba(20,17,12,.18);
  transform: translateX(105%); transition: transform .5s var(--ease); display: flex; flex-direction: column; }
.bag-drawer.open { transform: translateX(0); }
.bag-drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--hair); }
.bag-drawer__head h3 { font-family: var(--serif); font-weight: 400; font-size: var(--step-1); }
.bag-drawer__head .pmodal__close { position: static; }
.bag-drawer__items { flex: 1; overflow: auto; padding: 1rem 1.4rem; display: grid; gap: 1rem; align-content: start; }
.bag-empty { color: var(--ink-mute); text-align: center; margin-top: 2rem; font-style: italic; font-family: var(--serif); font-size: 1.05rem; }
.bag-item { display: grid; grid-template-columns: 3.6rem 1fr auto; gap: .9rem; align-items: center; border-bottom: 1px solid var(--hair); padding-bottom: 1rem; }
.bag-item img { width: 3.6rem; height: 4.4rem; object-fit: cover; border: 1px solid var(--hair); }
.bag-item__info { display: grid; gap: .35rem; justify-items: start; }
.bag-item__info b { font-family: var(--serif); font-weight: 400; font-size: .98rem; }
.bag-item__variant { font-size: .68rem; letter-spacing: .08em; color: var(--ink-mute); }
.bag-item__end { display: grid; gap: .3rem; justify-items: end; font-family: var(--serif); }
.bag-item__remove { font-family: var(--sans); font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-mute); border-bottom: 1px solid var(--hair); }
.bag-item__remove:hover { color: var(--char); }
.bag-drawer__foot { border-top: 1px solid var(--hair); padding: 1.2rem 1.4rem; display: grid; gap: .8rem; text-align: center; }
.bag-drawer__total { display: flex; justify-content: space-between; font-family: var(--serif); font-size: 1.1rem; }

/* ---- Gallery lightbox ------------------------------------- */
.mosaic img { cursor: pointer; }
body[data-page="lavender"] .mosaic img, body[data-page="lavender"] .feature__media img { cursor: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2228%22%20height%3D%2228%22%20viewBox%3D%220%200%2028%2028%22%3E%3Cg%20transform%3D%22rotate%2820%2014%2014%29%22%3E%3Cpath%20d%3D%22M14%2013v11%22%20stroke%3D%22%235a7a4a%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22/%3E%3Cpath%20d%3D%22M14%2018l-3.5%202.5M14%2020.5l3.5%202.5%22%20stroke%3D%22%235a7a4a%22%20stroke-width%3D%221.2%22%20stroke-linecap%3D%22round%22/%3E%3Cg%20fill%3D%22%238a6fc0%22%3E%3Cellipse%20cx%3D%2214%22%20cy%3D%224%22%20rx%3D%221.7%22%20ry%3D%222.1%22/%3E%3Cellipse%20cx%3D%2211.6%22%20cy%3D%226.4%22%20rx%3D%221.6%22%20ry%3D%222%22/%3E%3Cellipse%20cx%3D%2216.4%22%20cy%3D%226.4%22%20rx%3D%221.6%22%20ry%3D%222%22/%3E%3Cellipse%20cx%3D%2212%22%20cy%3D%229.4%22%20rx%3D%221.6%22%20ry%3D%222%22/%3E%3Cellipse%20cx%3D%2216%22%20cy%3D%229.4%22%20rx%3D%221.6%22%20ry%3D%222%22/%3E%3Cellipse%20cx%3D%2214%22%20cy%3D%227%22%20rx%3D%221.7%22%20ry%3D%222.1%22%20fill%3D%22%237a5fb5%22/%3E%3Cellipse%20cx%3D%2214%22%20cy%3D%2210.6%22%20rx%3D%221.7%22%20ry%3D%222.1%22%20fill%3D%22%237a5fb5%22/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") 14 4, pointer; }
.lightbox { position: fixed; inset: 0; z-index: 120; display: none; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--char) 92%, transparent); padding: clamp(1rem, 4vw, 3rem); }
.lightbox.open { display: flex; }
.lightbox figure { max-width: min(92vw, 72rem); max-height: 88svh; display: grid; gap: .7rem; justify-items: center; }
.lightbox img { max-width: 100%; max-height: 80svh; object-fit: contain; border: 1px solid color-mix(in srgb, var(--ivory) 20%, transparent); cursor: default; }
.lightbox figcaption { font-family: var(--serif); font-style: italic; font-size: .95rem; color: color-mix(in srgb, var(--ivory) 75%, transparent); text-align: center; }
.lightbox__close { position: absolute; top: 1rem; right: 1.4rem; font-size: 2.2rem; color: var(--ivory); line-height: 1; padding: .2em .4em; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); font-size: 2.6rem; color: var(--ivory); padding: .4em .5em; opacity: .8; }
.lightbox__nav:hover { opacity: 1; }
.lightbox__nav--prev { left: .6rem; }
.lightbox__nav--next { right: .6rem; }
@media (prefers-reduced-motion: no-preference) { .lightbox img { animation: lbfade .35s ease; } }
@keyframes lbfade { from { opacity: 0; } to { opacity: 1; } }

/* ---- Residences hero slideshow ---------------------------- */
[data-hero-slideshow] .hslide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease); }
[data-hero-slideshow] .hslide.active { opacity: 1; }

/* ---- Collapsible galleries -------------------------------- */
.mosaic-hidden { display: none; }
.mosaic-more { margin-top: var(--space-m); }

/* ---- Header: responsive Vineyard tab label ---------------- */
.nav-short { display: none; }
@media (max-width: 1899px) {
  .nav-full { display: none; }
  .nav-short { display: inline; }
  .navlink { font-size: 0.66rem; letter-spacing: 0.09em; }
  .btn-reserve { font-size: 0.62rem; letter-spacing: 0.13em; padding: 0.78em 0.95em; }
  .nav-side { gap: clamp(0.5rem, 0.9vw, 1.05rem); }
}

/* ---- Booking bar always tappable --------------------------- */
.booking { z-index: 5; }
