/* ============================================================
   THE ROZENA ESTATE - Luxury Real Estate Design System
   Palette: charcoal / ivory / warm gold
   Type:    Cormorant Garamond (display) + Jost (sans)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Jost:wght@300;400;500;600&display=swap');

:root {
  /* Color */
  --ink:        #14110d;   /* near-black warm */
  --ink-soft:   #2a2620;
  --charcoal:   #3a352d;
  --stone:      #8a8170;
  --sand:       #b9ab92;
  --ivory:      #f6f1e8;
  --ivory-deep: #ece4d6;
  --paper:      #faf7f1;
  --gold:       #b08d4f;   /* primary metallic accent */
  --gold-soft:  #c9aa6f;
  --gold-deep:  #8c6d38;
  --line:       rgba(176,141,79,0.28);
  --line-soft:  rgba(20,17,13,0.10);

  /* Type */
  --display: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans:    'Jost', 'Helvetica Neue', Arial, sans-serif;

  /* Rhythm */
  --section: clamp(5rem, 11vw, 11rem);
  --gutter:  clamp(1.5rem, 6vw, 8rem);
  --ease:    cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--gold); color: var(--paper); }

/* ---------- Typographic primitives ---------- */
.display {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0.005em;
}
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; }

.eyebrow {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow.light { color: var(--gold-soft); }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--charcoal); font-weight: 300; }

.rule {
  width: 56px; height: 1px; background: var(--gold);
  border: 0; margin: 1.6rem 0;
}
.rule.center { margin-left: auto; margin-right: auto; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: 1340px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.center { text-align: center; }
.muted { color: var(--stone); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .12s; }
.reveal.d2 { transition-delay: .24s; }
.reveal.d3 { transition-delay: .36s; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem var(--gutter);
  transition: background .5s var(--ease), padding .5s var(--ease), box-shadow .5s var(--ease);
}
.nav.solid {
  background: rgba(250,247,241,0.92);
  backdrop-filter: blur(14px);
  padding: 0.6rem var(--gutter);
  box-shadow: 0 1px 0 var(--line-soft);
}
.nav__brand { display: flex; flex-direction: column; line-height: 1; }
.nav:not(.solid) .nav__brand b, .nav:not(.solid) .nav__links a { text-shadow: 0 1px 12px rgba(12,9,6,0.5); }
.nav__brand b {
  font-family: var(--display); font-size: 1.5rem; font-weight: 500;
  letter-spacing: 0.06em; color: var(--paper); transition: color .5s var(--ease);
}
.nav__brand span {
  font-family: var(--sans); font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.36em; text-transform: uppercase; color: var(--gold-soft);
  margin-top: 0.45rem; transition: color .5s var(--ease);
}
.nav.solid .nav__brand b { color: var(--ink); }
.nav.solid .nav__brand span { color: var(--gold-deep); }

.nav__links { display: flex; align-items: center; gap: 2.4rem; }
.nav__links a {
  font-size: 0.74rem; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(246,241,232,0.85); position: relative; padding: 0.3rem 0;
  transition: color .4s var(--ease);
}
.nav.solid .nav__links a { color: var(--charcoal); }
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--gold); transition: width .4s var(--ease);
}
.nav__links a:hover::after, .nav__links a.active::after { width: 100%; }
.nav__links a:hover { color: var(--gold-soft); }
.nav.solid .nav__links a:hover { color: var(--gold-deep); }
.nav__links a.active { color: var(--gold-soft); }
.nav.solid .nav__links a.active { color: var(--gold-deep); }

.nav__cta {
  border: 1px solid rgba(201,170,111,0.6); color: var(--paper) !important;
  padding: 0.7rem 1.4rem !important; border-radius: 2px;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.nav__cta::after { display: none; }
.nav__cta:hover { background: var(--gold); border-color: var(--gold); color: var(--ink) !important; }
.nav.solid .nav__cta { border-color: var(--line); color: var(--ink) !important; }
.nav.solid .nav__cta:hover { background: var(--gold); border-color: var(--gold); color: var(--paper) !important; }

.nav__toggle { display: none; background: none; border: 0; cursor: pointer; width: 30px; height: 20px; position: relative; }
.nav__toggle span { position: absolute; left: 0; width: 100%; height: 1.5px; background: var(--paper); transition: .35s var(--ease); }
.nav.solid .nav__toggle span { background: var(--ink); }
.nav__toggle span:nth-child(1) { top: 2px; }
.nav__toggle span:nth-child(2) { top: 9px; }
.nav__toggle span:nth-child(3) { top: 16px; }
.nav.open .nav__toggle span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.nav.open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav__toggle span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: var(--sans); font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  padding: 1.05rem 2.2rem; border-radius: 2px; cursor: pointer;
  transition: all .45s var(--ease); border: 1px solid transparent;
}
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-deep); color: var(--paper); transform: translateY(-2px); }
.btn--ghost { background: transparent; border-color: rgba(246,241,232,0.45); color: var(--paper); }
.btn--ghost:hover { border-color: var(--gold); background: var(--gold); color: var(--ink); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--gold); color: var(--ink); transform: translateY(-2px); }
.btn--line { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn .arrow { transition: transform .45s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }

/* Estate document / floor-plan links */
.docs { display: grid; gap: 0.5rem; margin-top: 1.9rem; max-width: 540px; }
.docs__label { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 0.4rem; }
.doc { display: flex; align-items: center; gap: 1rem; padding: 0.85rem 1.1rem; border: 1px solid var(--line); background: var(--paper); transition: border-color .35s var(--ease), background .35s var(--ease), transform .35s var(--ease); }
.doc:hover { border-color: var(--gold); background: var(--ivory); transform: translateX(3px); }
.doc__ic { flex: none; color: var(--gold-deep); display: flex; }
.doc__ic svg { width: 22px; height: 22px; }
.doc__txt { display: flex; flex-direction: column; gap: 0.14rem; line-height: 1.25; }
.doc__txt b { font-weight: 600; color: var(--ink); font-size: 0.98rem; letter-spacing: 0.01em; }
.doc__txt span { font-size: 0.78rem; color: var(--stone); letter-spacing: 0.03em; }
.doc__meta { margin-left: auto; flex: none; align-self: center; font-family: var(--sans); font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); border: 1px solid var(--line); padding: 0.28rem 0.55rem; }

/* ============================================================
   HERO (video)
   ============================================================ */
.hero { position: relative; height: 100vh; min-height: 640px; width: 100%; overflow: hidden; display: flex; align-items: flex-end; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    /* overall tint so any bright frame stays controlled */
    linear-gradient(to bottom, rgba(16,13,10,0.18) 0%, rgba(16,13,10,0.18) 100%),
    /* top scrim - keeps the nav legible */
    linear-gradient(to bottom, rgba(16,13,10,0.82) 0%, rgba(16,13,10,0.38) 16%, rgba(16,13,10,0) 36%),
    /* bottom scrim - keeps the hero copy legible */
    linear-gradient(to bottom, rgba(16,13,10,0) 28%, rgba(16,13,10,0.55) 60%, rgba(16,13,10,0.96) 100%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; padding: 0 var(--gutter) clamp(3.5rem, 8vh, 7rem); }
.hero__inner h1, .hero__inner .hero__sub, .hero__inner .stat b,
.phero__inner h1, .phero__inner .hero__sub, .phero__inner .stat b { text-shadow: 0 2px 24px rgba(12,9,6,0.55); }
.hero__inner .hero__sub, .phero__inner .hero__sub { color: rgba(250,247,241,0.96); }
.hero__loc { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.6rem; }
.hero__loc .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-soft); }
.hero h1 { color: var(--paper); font-size: clamp(3rem, 8.5vw, 8rem); font-weight: 300; letter-spacing: 0.01em; }
.hero h1 em { font-style: italic; color: var(--gold-soft); }
.hero__sub {
  color: rgba(246,241,232,0.9); max-width: 640px; margin-top: 1.5rem;
  font-size: clamp(1rem, 1.5vw, 1.2rem); font-weight: 300;
}
.hero__meta {
  display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: baseline;
  margin-top: 2.4rem; padding-top: 2.2rem; border-top: 1px solid rgba(246,241,232,0.18);
}
.hero__meta .stat b { font-family: var(--display); font-size: clamp(1.6rem,2.6vw,2.4rem); font-weight: 500; color: var(--paper); }
.hero__meta .stat span { display: block; font-size: 0.64rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-soft); margin-top: 0.3rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.6rem; }

.hero__scroll {
  position: absolute; right: var(--gutter); bottom: clamp(3.5rem, 8vh, 7rem); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  writing-mode: vertical-rl; font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(246,241,232,0.7);
}
.hero__scroll .ln { width: 1px; height: 60px; background: linear-gradient(var(--gold-soft), transparent); animation: scrolln 2.2s var(--ease) infinite; }
@keyframes scrolln { 0%{transform:scaleY(0);transform-origin:top} 45%{transform:scaleY(1);transform-origin:top} 55%{transform:scaleY(1);transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }

.hero__mute {
  position: absolute; right: var(--gutter); top: clamp(5.5rem, 13vh, 8.5rem); z-index: 5;
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(246,241,232,0.5);
  background: rgba(20,17,13,0.45); color: var(--paper); cursor: pointer; display: none;
  align-items: center; justify-content: center; backdrop-filter: blur(6px); transition: .4s var(--ease);
}
.hero__mute:hover { border-color: var(--gold); color: var(--gold-soft); background: rgba(20,17,13,0.65); }

/* ============================================================
   PAGE HERO (interior listing pages, image-based)
   ============================================================ */
.phero { position: relative; height: 78vh; min-height: 540px; display: flex; align-items: flex-end; overflow: hidden; }
.phero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; transform: scale(1.04); }
.phero::after { content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to bottom, rgba(16,13,10,0.2) 0%, rgba(16,13,10,0.2) 100%),
    linear-gradient(to bottom, rgba(16,13,10,0.82) 0%, rgba(16,13,10,0.36) 16%, rgba(16,13,10,0) 36%),
    linear-gradient(to bottom, rgba(16,13,10,0) 28%, rgba(16,13,10,0.55) 60%, rgba(16,13,10,0.96) 100%); }
.phero__inner { position: relative; z-index: 2; width: 100%; padding: 0 var(--gutter) clamp(3rem,6vh,5rem); }
.phero h1 { color: var(--paper); font-size: clamp(2.6rem, 6vw, 5.5rem); font-weight: 300; }
.phero h1 em { font-style: italic; color: var(--gold-soft); }
.phero .hero__sub { margin-top: 1.2rem; }
.phero .hero__meta { margin-top: 2rem; }

/* Phones: interior hero becomes a top-aligned banner that clears the fixed nav
   and grows with its content (was bottom-aligned + tall, which pushed the title
   up under the header). */
@media (max-width: 760px) {
  .phero { height: auto; min-height: 60vh; align-items: flex-start; }
  .phero__inner { padding-top: clamp(5rem, 15vh, 6.5rem); padding-bottom: clamp(2rem, 5vh, 3rem); }
  .phero h1 { font-size: clamp(2.3rem, 9.5vw, 3.2rem); }
  .phero .hero__meta { margin-top: 1.4rem; padding-top: 1.4rem; gap: 1rem 1.6rem; }
}

/* ============================================================
   PRICE BAR (sticky listing summary)
   ============================================================ */
.pricebar {
  position: static; background: var(--ink); color: var(--paper);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem;
  padding: 1.1rem var(--gutter); border-bottom: 1px solid rgba(176,141,79,0.25);
}
.pricebar__price { display: flex; align-items: baseline; gap: 1rem; }
.pricebar__price b { font-family: var(--display); font-size: clamp(1.5rem,2.4vw,2rem); font-weight: 500; }
.pricebar__price span { font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-soft); }
.pricebar__facts { display: flex; gap: clamp(1.2rem,3vw,2.6rem); flex-wrap: wrap; }
.pricebar__facts div { font-size: 0.78rem; letter-spacing: 0.04em; }
.pricebar__facts b { font-family: var(--display); font-size: 1.15rem; font-weight: 500; margin-right: 0.45rem; }
.pricebar__facts small { color: var(--sand); letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.6rem; }

/* ============================================================
   HOME — framed hero: charcoal header band + charcoal stats bar.
   The hero photo + stats + price row are wrapped in .hero-screen,
   a 100svh flex column, so the whole block always fits the first
   screen (the photo flexes; the bars keep their natural height).
   ============================================================ */
/* Header floats over the photo — transparent at the top, turning to a
   translucent "glass" band only once you scroll past the hero (.solid).
   The .nav rules are doubled (body.home .nav …) so the JS scroll state
   can't flip the text back to its light-theme colors. */
body.home .nav {
  position: fixed;
  background: rgba(20,17,13,0.82);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(201,170,111,0.18);
}
body.home .nav.solid {
  background: rgba(20,17,13,0.82);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(201,170,111,0.18);
}
body.home .nav .nav__brand b { color: var(--paper); text-shadow: 0 1px 14px rgba(12,9,6,0.6); }
body.home .nav .nav__brand span { color: var(--gold-soft); }
body.home .nav .nav__links a { color: rgba(246,241,232,0.9); text-shadow: 0 1px 12px rgba(12,9,6,0.55); }
body.home .nav.solid .nav__brand b,
body.home .nav.solid .nav__links a { text-shadow: none; }
body.home .nav .nav__links a:hover,
body.home .nav .nav__links a.active { color: var(--gold-soft); }
body.home .nav .nav__cta { border-color: rgba(201,170,111,0.55); color: var(--paper) !important; }
body.home .nav .nav__cta:hover { background: var(--gold); border-color: var(--gold); color: var(--ink) !important; }
body.home .nav .nav__toggle span { background: var(--paper); }

/* One-screen hero block — photo fills it, the footer floats over the bottom */
body.home .hero-screen {
  position: relative;
  height: 100vh; height: 100svh; min-height: 560px;
}

/* Hero photo fills the whole screen */
body.home .hero { position: absolute; inset: 0; height: auto; min-height: 0; align-items: flex-start; }
body.home .hero__inner { padding: clamp(5rem, 11vh, 7.5rem) var(--gutter) clamp(1.5rem, 3vh, 2.5rem); }
body.home .hero__overlay {
  background: linear-gradient(to bottom,
    rgba(16,13,10,0.58) 0%, rgba(16,13,10,0.16) 32%,
    rgba(16,13,10,0.04) 60%, rgba(16,13,10,0.12) 100%);
}
body.home .hero__scroll { display: none; }

/* Glass footer holding the stats + price rows, floating over the photo */
body.home .herofoot {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  background: linear-gradient(to top, rgba(16,13,10,0.74) 0%, rgba(16,13,10,0.34) 100%);
  -webkit-backdrop-filter: blur(10px) saturate(1.05);
  backdrop-filter: blur(10px) saturate(1.05);
  border-top: 1px solid rgba(201,170,111,0.22);
}

/* Compact stats row — now transparent so the glass footer shows through */
.herobar {
  background: transparent; color: var(--paper);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: clamp(1rem, 2.5vw, 2rem);
  padding: clamp(0.6rem, 1.2vw, 0.95rem) var(--gutter);
  border-bottom: 1px solid rgba(201,170,111,0.18);
}
.herobar__stats { display: flex; flex-wrap: wrap; align-items: baseline; gap: clamp(1.2rem, 3.2vw, 2.6rem); }
.herobar__stats .stat b {
  font-family: var(--display); font-size: clamp(1.2rem, 1.9vw, 1.6rem);
  font-weight: 500; color: var(--paper); line-height: 1;
}
.herobar__stats .stat span {
  display: block; font-size: 0.56rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-soft); margin-top: 0.25rem;
}
.herobar__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.herobar__actions .btn { padding: 0.6rem 1.4rem; font-size: 0.66rem; }
.herobar__actions .btn--gold { background: var(--gold-soft); color: var(--ink); }
.herobar__actions .btn--gold:hover { background: var(--gold); color: var(--ink); }

/* On the home page the price row joins the glass footer (transparent), compact */
body.home .pricebar {
  position: static; background: transparent; color: var(--paper);
  border-bottom: 0;
  padding-top: clamp(0.5rem, 1vw, 0.78rem); padding-bottom: clamp(0.5rem, 1vw, 0.78rem);
}
body.home .pricebar__price b { color: var(--paper); font-size: clamp(1.25rem, 2vw, 1.7rem); }
body.home .pricebar__price span { color: var(--gold-soft); font-size: 0.6rem; }
body.home .pricebar__facts b { color: var(--paper); font-size: 1rem; }
body.home .pricebar__facts small { color: var(--sand); font-size: 0.56rem; }

@media (max-width: 720px) {
  .herobar { flex-direction: column; align-items: flex-start; }
  .herobar__actions { width: 100%; }
  .herobar__actions .btn { flex: 1; justify-content: center; }
}

/* Phones: stack the home hero naturally so the stats/price panel never
   overlaps the title (drops the one-screen absolute-footer behaviour). */
@media (max-width: 760px) {
  body.home .hero-screen { height: auto; min-height: 0; }
  /* height:auto + min-height lets the banner grow with the copy (no clipping) */
  body.home .hero { position: relative; inset: auto; height: auto; min-height: 62vh; }
  body.home .hero__inner { padding-top: clamp(4.5rem, 14vh, 6rem); padding-bottom: clamp(2rem, 6vh, 3rem); }
  body.home .herofoot {
    position: static; background: var(--ink);
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
}

/* ============================================================
   FRAMED HERO — interior pages (7007, Lake) matching the Estate.
   Scoped to .phero-screen so the home hero is untouched.
   ============================================================ */
.phero-screen { position: relative; height: 100vh; height: 100svh; min-height: 560px; }
.phero-screen .phero { position: absolute; inset: 0; height: auto; min-height: 0; align-items: flex-start; }
.phero-screen .phero__inner { padding: clamp(5rem, 11vh, 7.5rem) var(--gutter) clamp(1.5rem, 3vh, 2.5rem); }
/* Reduced top overlay — lets the photo read through, matching the Estate */
.phero-screen .phero::after {
  background: linear-gradient(to bottom,
    rgba(16,13,10,0.48) 0%, rgba(16,13,10,0.14) 30%,
    rgba(16,13,10,0.04) 58%, rgba(16,13,10,0.12) 100%);
}
/* Brighter hero photos (e.g. the snowy Lake aerial) need a stronger scrim
   so the title and copy stay legible. */
.phero-screen .phero.phero--dim::after {
  background:
    linear-gradient(to right, rgba(16,13,10,0.46) 0%, rgba(16,13,10,0.22) 45%, rgba(16,13,10,0.05) 74%, rgba(16,13,10,0) 100%),
    linear-gradient(to bottom, rgba(16,13,10,0.52) 0%, rgba(16,13,10,0.34) 40%,
      rgba(16,13,10,0.24) 66%, rgba(16,13,10,0.26) 100%);
}
.phero-screen .phero.phero--dim .hero__loc,
.phero-screen .phero.phero--dim h1,
.phero-screen .phero.phero--dim .hero__sub {
  text-shadow: 0 2px 20px rgba(12,9,6,0.9), 0 1px 4px rgba(12,9,6,0.85);
}

/* Framed pages (7007, Lake): nav floats transparent over the photo and turns
   into a dark glass band as soon as you scroll — same behaviour as the Estate. */
body.framed .nav {
  position: fixed;
  background: rgba(20,17,13,0.82);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(201,170,111,0.18);
}
body.framed .nav.solid {
  background: rgba(20,17,13,0.82);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(201,170,111,0.18);
}
body.framed .nav .nav__brand b { color: var(--paper); text-shadow: 0 1px 14px rgba(12,9,6,0.6); }
body.framed .nav .nav__brand span { color: var(--gold-soft); }
body.framed .nav .nav__links a { color: rgba(246,241,232,0.9); text-shadow: 0 1px 12px rgba(12,9,6,0.55); }
body.framed .nav.solid .nav__brand b,
body.framed .nav.solid .nav__links a { text-shadow: none; }
body.framed .nav .nav__links a:hover,
body.framed .nav .nav__links a.active { color: var(--gold-soft); }
body.framed .nav .nav__cta { border-color: rgba(201,170,111,0.55); color: var(--paper) !important; }
body.framed .nav .nav__cta:hover { background: var(--gold); border-color: var(--gold); color: var(--ink) !important; }
body.framed .nav .nav__toggle span { background: var(--paper); }
.phero-screen .herofoot {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  background: linear-gradient(to top, rgba(16,13,10,0.74) 0%, rgba(16,13,10,0.34) 100%);
  -webkit-backdrop-filter: blur(10px) saturate(1.05);
  backdrop-filter: blur(10px) saturate(1.05);
  border-top: 1px solid rgba(201,170,111,0.22);
}
.phero-screen .pricebar {
  position: static; background: transparent; color: var(--paper); border-bottom: 0;
  padding-top: clamp(0.5rem, 1vw, 0.78rem); padding-bottom: clamp(0.5rem, 1vw, 0.78rem);
}
.phero-screen .pricebar__price b { color: var(--paper); font-size: clamp(1.25rem, 2vw, 1.7rem); }
.phero-screen .pricebar__price span { color: var(--gold-soft); font-size: 0.6rem; }
.phero-screen .pricebar__facts b { color: var(--paper); font-size: 1rem; }
.phero-screen .pricebar__facts small { color: var(--sand); font-size: 0.56rem; }

@media (max-width: 760px) {
  .phero-screen { height: auto; min-height: 0; }
  /* compact banner that grows with the copy — matches the Estate hero on mobile */
  .phero-screen .phero { position: relative; inset: auto; height: auto; min-height: 62vh; }
  .phero-screen .phero__inner { padding-top: clamp(4.5rem, 14vh, 6rem); padding-bottom: clamp(2rem, 6vh, 3rem); }
  /* darker scrim so the title + intro stay legible over the photo */
  .phero-screen .phero::after {
    background: linear-gradient(to bottom,
      rgba(16,13,10,0.66) 0%, rgba(16,13,10,0.46) 38%,
      rgba(16,13,10,0.4) 70%, rgba(16,13,10,0.55) 100%);
  }
  .phero-screen .herofoot { position: static; background: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ============================================================
   INTRO / SPLIT
   ============================================================ */
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.intro__txt h2 { font-size: clamp(2.2rem, 4.2vw, 3.8rem); }
.intro__txt p { margin-top: 1.6rem; color: var(--charcoal); }
.intro__txt p + p { margin-top: 1.1rem; }
.intro__media { position: relative; }
.intro__media .ph { aspect-ratio: 4/5; }
.intro__badge {
  position: absolute; bottom: -28px; left: -28px; background: var(--ink); color: var(--paper);
  padding: 1.6rem 1.9rem; max-width: 240px;
}
.intro__badge b { font-family: var(--display); font-size: 2.4rem; font-weight: 500; color: var(--gold-soft); display: block; line-height: 1; }
.intro__badge span { font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sand); }

/* ---------- Full-width aerial figure ---------- */
.aerial { position: relative; margin-top: clamp(2rem,4vw,3.5rem); }
.aerial img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block;
  box-shadow: 0 50px 90px -45px rgba(20,17,13,0.45); cursor: zoom-in;
}
.aerial .intro__badge { position: absolute; bottom: 0; left: 0; }
.aerial figcaption {
  position: absolute; top: 1.2rem; right: 1.2rem; background: rgba(20,17,13,0.78); color: var(--paper);
  font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; padding: 0.55rem 0.9rem;
  backdrop-filter: blur(6px);
}
@media (max-width: 760px) { .aerial img { aspect-ratio: 4/3; } .aerial .intro__badge { position: static; max-width: none; } }

/* ---------- Masterwork: image left, description right (+ see more modal) ---------- */
.masterwork {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
}
.masterwork__media { position: relative; }
.masterwork__media img {
  width: 100%; height: auto; display: block;
  box-shadow: 0 50px 90px -45px rgba(20,17,13,0.45); cursor: zoom-in;
}
.masterwork__media .intro__badge { bottom: 0; left: 0; }
.masterwork__txt h2 { font-size: clamp(2rem, 3.4vw, 3.2rem); margin-top: 0.3rem; }
.masterwork__excerpt {
  position: relative; overflow: hidden; margin-top: 1.4rem;
}
.masterwork__excerpt p { color: var(--charcoal); }
.masterwork__excerpt p + p { margin-top: 1rem; }
.masterwork.is-clamped .masterwork__excerpt::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4.5rem;
  background: linear-gradient(to top, var(--paper), rgba(250,247,241,0)); pointer-events: none;
}
.seemore {
  display: none; margin-top: 1rem; padding: 0; background: none; border: 0; cursor: pointer;
  font-family: var(--sans); font-size: 0.92rem; font-weight: 500; letter-spacing: 0.01em;
  color: #2f6fd6;
}
.seemore:hover { text-decoration: underline; }
.masterwork.is-clamped .seemore { display: inline-block; }
@media (max-width: 860px) {
  .masterwork { grid-template-columns: 1fr; gap: clamp(1.6rem, 5vw, 2.4rem); }
  .masterwork__media .intro__badge { position: static; max-width: none; margin-top: 1rem; }
}

/* ---------- Modal (full description) ---------- */
.modal {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: clamp(1rem, 4vw, 3rem);
}
.modal.show { display: flex; }
.modal__overlay {
  position: absolute; inset: 0; background: rgba(16,13,10,0.72);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.modal__panel {
  position: relative; z-index: 1; background: var(--paper);
  width: 100%; max-width: 760px; max-height: 86vh; overflow: auto;
  padding: clamp(1.8rem, 4vw, 3.4rem);
  box-shadow: 0 40px 90px -30px rgba(20,17,13,0.6);
}
.modal__close {
  position: absolute; top: clamp(1rem, 2vw, 1.6rem); right: clamp(1rem, 2vw, 1.6rem);
  width: 38px; height: 38px; border: 1px solid var(--line); background: var(--paper);
  color: var(--ink); font-size: 1rem; cursor: pointer; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; transition: all .35s var(--ease);
}
.modal__close:hover { background: var(--gold); border-color: var(--gold); color: var(--paper); }
.modal__body .eyebrow { color: var(--gold-deep); }
.modal__body h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin: 0.3rem 0 1.2rem; padding-right: 2.5rem; }
.modal__body p { color: var(--charcoal); }
.modal__body p + p { margin-top: 1rem; }

/* ============================================================
   STAT STRIP
   ============================================================ */
.stripe { background: var(--ink); color: var(--paper); }
.stripe .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; padding-top: clamp(3.5rem,6vw,5rem); padding-bottom: clamp(3.5rem,6vw,5rem); }
.stripe .cell { text-align: center; position: relative; }
.stripe .cell + .cell::before { content: ''; position: absolute; left: 0; top: 12%; height: 76%; width: 1px; background: rgba(176,141,79,0.3); }
.stripe .cell b { font-family: var(--display); font-size: clamp(3.2rem,5.5vw,5rem); font-weight: 600; color: var(--gold-soft); line-height: 1; }
.stripe .cell span { display: block; font-size: clamp(0.8rem,1vw,0.95rem); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ivory); margin-top: 1rem; font-weight: 400; }

/* ============================================================
   FEATURE GRID
   ============================================================ */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.feature { background: var(--paper); padding: clamp(2rem,3.2vw,3rem); transition: background .5s var(--ease); }
.feature:hover { background: var(--ivory); }
.feature .ic { width: 34px; height: 34px; color: var(--gold-deep); margin-bottom: 1.4rem; }
.feature h3 { font-size: 1.6rem; margin-bottom: 0.6rem; }
.feature p { font-size: 0.95rem; color: var(--stone); }

/* amenity list — sized up for easy reading */
.amenities { columns: 2; column-gap: clamp(2.5rem,6vw,6rem); }
.amenities li {
  list-style: none; break-inside: avoid; position: relative;
  padding: 1.05rem 0 1.05rem 1.5rem;
  border-bottom: 1px solid var(--line-soft);
  font-size: clamp(1.05rem, 1.35vw, 1.22rem); font-weight: 400; line-height: 1.55; color: var(--ink);
}
.amenities li::before {
  content: ''; position: absolute; left: 0; top: calc(1.05rem + 0.775em);
  width: 7px; height: 7px; background: var(--gold);
  transform: translateY(-50%) rotate(45deg);
}
.amenities li b { font-weight: 600; }

/* amenities grouped into readable categories */
.amen-groups {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(2.2rem, 4vw, 3.4rem) clamp(2.5rem, 6vw, 5.5rem);
}
.amen-group__title {
  font-family: var(--display); font-size: clamp(1.5rem, 2.3vw, 2.05rem); font-weight: 500;
  color: var(--ink); margin-bottom: 1.1rem; padding-bottom: 0.85rem; border-bottom: 1px solid var(--line);
}

/* ---- Accordion variant: one column, one panel open at a time ---- */
.amen-accordion { display: block; }
.amen-accordion .amen-group { border-top: 1px solid var(--line); }
.amen-accordion .amen-group:last-child { border-bottom: 1px solid var(--line); }
.amen-accordion .amen-group__title {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: 100%; margin: 0; padding: clamp(1.1rem, 2.2vw, 1.5rem) 0;
  background: none; border: 0; text-align: left; cursor: pointer;
  color: var(--ink); transition: color .3s var(--ease);
}
.amen-accordion .amen-group__title:hover { color: var(--gold-deep); }
.amen-accordion .amen-group__chev {
  flex: none; width: 12px; height: 12px; position: relative;
  transition: transform .4s var(--ease);
}
.amen-accordion .amen-group__chev::before,
.amen-accordion .amen-group__chev::after {
  content: ''; position: absolute; top: 50%; width: 12px; height: 1.5px;
  background: var(--gold); transition: transform .4s var(--ease);
}
.amen-accordion .amen-group__chev::after { transform: translateY(-50%) rotate(90deg); }
.amen-accordion .amen-group__chev::before { transform: translateY(-50%); }
.amen-accordion .amen-group.open .amen-group__chev::after { transform: translateY(-50%) rotate(0deg); }
.amen-accordion .amen-group__body {
  overflow: hidden; max-height: 0;
  transition: max-height .5s var(--ease);
}
.amen-accordion .amen-group.open .amen-group__body { max-height: 40rem; }
.amen-accordion .amen-group__body > ul { padding-bottom: clamp(0.6rem, 1.5vw, 1.2rem); }
.amen-group ul { list-style: none; }
.amen-group li {
  position: relative; padding: 0.62rem 0 0.62rem 1.35rem;
  font-size: clamp(1.02rem, 1.25vw, 1.16rem); font-weight: 400; line-height: 1.55; color: var(--ink);
}
.amen-group li + li { border-top: 1px solid var(--line-soft); }
.amen-group li::before {
  content: ''; position: absolute; left: 0; top: calc(0.62rem + 0.775em);
  width: 7px; height: 7px; background: var(--gold);
  transform: translateY(-50%) rotate(45deg);
}
.amen-group li b { font-weight: 600; color: var(--ink); }
.amen-group li .det { color: var(--charcoal); }
.amen-group li .det::before { content: "\2014"; margin: 0 0.45em 0 0.5em; color: var(--gold); }
@media (max-width: 760px) { .amen-groups { grid-template-columns: 1fr; gap: clamp(2rem, 6vw, 2.6rem); } }

/* ============================================================
   GALLERY
   ============================================================ */
/* Justified rows — each tile keeps a fixed height while its width flexes to its
   own aspect ratio (set by JS), so rows fill edge-to-edge with even gaps. */
.gallery { display: flex; flex-wrap: wrap; align-content: flex-start; gap: clamp(0.45rem, 0.7vw, 0.8rem); --row: 230px; }
.gallery .g { height: var(--row); flex: 1 1 240px; overflow: hidden; position: relative; cursor: pointer; background: var(--ivory-deep); min-height: 0; }
.gallery .g img, .gallery .g .ph { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.1s var(--ease); }
.gallery .g:hover img, .gallery .g:hover .ph { transform: scale(1.06); }
.gallery .g::after { content: ''; position: absolute; inset: 0; background: rgba(20,17,13,0); transition: background .5s var(--ease); }
.gallery .g:hover::after { background: rgba(20,17,13,0.12); }
.g--ratio { aspect-ratio: 4/3; }
@media (max-width: 1100px) { .gallery { --row: 185px; } }
@media (max-width: 760px)  { .gallery { --row: 150px; } }

/* Structured collage — row 1: big left + 2×2 cluster right; row 2: mirrored */
.gallery--collage { display: flex; flex-direction: column; --u: 218px; --cg: clamp(0.45rem, 0.7vw, 0.8rem); gap: var(--cg); }
.gallery--collage .collage-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--cg); }
.gallery--collage .collage-cluster { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: var(--u); gap: var(--cg); }
.gallery--collage .g { height: var(--u); flex: none; }
.gallery--collage .g.big { height: calc(var(--u) * 2 + var(--cg)); }
@media (max-width: 1100px) { .gallery--collage { --u: 172px; } }
@media (max-width: 620px) {
  .gallery--collage { --u: 132px; }
  .gallery--collage .collage-row { grid-template-columns: 1fr; }
  .gallery--collage .g.big { height: calc(var(--u) * 1.5); }
}

/* "View N Photos" button */
.gallery-all { display: inline-flex; align-items: center; gap: 0.75rem; }
.gallery-all svg { width: 15px; height: 15px; }

/* Location map */
.mapwrap {
  position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden;
  border: 1px solid var(--line-soft); background: var(--ivory-deep);
  box-shadow: 0 50px 90px -45px rgba(20,17,13,0.45);
}
.mapwrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 760px) { .mapwrap { aspect-ratio: 4 / 5; } }

/* Floating WhatsApp button */
.wa-float {
  position: fixed; right: clamp(1rem, 3vw, 1.8rem); bottom: clamp(1rem, 3vw, 1.8rem); z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #25d366; color: #fff;
  box-shadow: 0 12px 28px -8px rgba(0,0,0,0.45);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.wa-float::after {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: #25d366;
  animation: waPulse 2.4s var(--ease) infinite;
}
.wa-float:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 18px 34px -10px rgba(0,0,0,0.5); }
.wa-float svg { width: 32px; height: 32px; display: block; }
@keyframes waPulse { 0% { transform: scale(1); opacity: 0.5; } 70% { transform: scale(1.7); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 600px) { .wa-float { width: 52px; height: 52px; } .wa-float svg { width: 28px; height: 28px; } }
@media (prefers-reduced-motion: reduce) { .wa-float::after { animation: none; } }

/* ---------- Full photo carousel ---------- */
.photos {
  position: fixed; inset: 0; z-index: 300; display: none; flex-direction: column;
  background: rgba(12,9,6,0.97); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.photos.show { display: flex; }
.photos__top {
  display: flex; align-items: center; gap: 1rem;
  padding: clamp(0.85rem,2vw,1.4rem) clamp(1rem,3vw,2.4rem); color: var(--paper);
}
.photos__brand { font-family: var(--display); font-size: 1.15rem; letter-spacing: 0.02em; color: var(--gold-soft); }
.photos__count { margin-left: auto; font-size: 0.7rem; letter-spacing: 0.22em; color: rgba(246,241,232,0.7); }
.photos__close {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(246,241,232,0.3);
  background: transparent; color: var(--paper); cursor: pointer; font-size: 1rem;
  display: flex; align-items: center; justify-content: center; transition: all .35s var(--ease);
}
.photos__close:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.photos__stage {
  position: relative; flex: 1; min-height: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 0 clamp(0.5rem,5vw,4rem);
}
.photos__fig { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; margin: 0; }
.photos__fig img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 30px 80px -30px rgba(0,0,0,0.85); }
.photos__cap {
  position: absolute; bottom: clamp(0.6rem,2vw,1.2rem); left: 50%; transform: translateX(-50%);
  background: rgba(20,17,13,0.6); color: var(--paper); font-size: 0.64rem; letter-spacing: 0.18em;
  text-transform: uppercase; padding: 0.5rem 1rem; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.photos__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(246,241,232,0.3);
  background: rgba(20,17,13,0.35); color: var(--paper); font-size: 1.6rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all .35s var(--ease); z-index: 2;
}
.photos__nav.prev { left: clamp(0.4rem,2vw,1.6rem); }
.photos__nav.next { right: clamp(0.4rem,2vw,1.6rem); }
.photos__nav:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.photos__thumbs {
  display: flex; gap: 0.5rem; overflow-x: auto;
  padding: clamp(0.7rem,1.6vw,1.1rem) clamp(1rem,3vw,2.4rem);
}
.photos__thumb {
  flex: 0 0 auto; width: 84px; height: 58px; padding: 0; border: 0; cursor: pointer;
  opacity: 0.45; overflow: hidden; background: none; outline: 2px solid transparent;
  transition: opacity .3s var(--ease), outline-color .3s var(--ease);
}
.photos__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photos__thumb:hover { opacity: 0.85; }
.photos__thumb.on { opacity: 1; outline-color: var(--gold); }
@media (max-width: 640px) { .photos__thumb { width: 64px; height: 46px; } .photos__brand { font-size: 0.95rem; } }

/* placeholder image block */
.ph {
  position: relative; width: 100%; height: 100%;
  background:
    repeating-linear-gradient(45deg, rgba(176,141,79,0.05) 0 14px, rgba(176,141,79,0.0) 14px 28px),
    linear-gradient(135deg, var(--ivory-deep), var(--ivory));
  display: flex; align-items: center; justify-content: center; min-height: 180px;
}
.ph::after {
  content: attr(data-label); font-family: var(--sans); font-size: 0.62rem; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--sand); text-align: center; padding: 1rem; line-height: 2;
}
.ph .ico { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -150%); width: 30px; height: 30px; color: var(--sand); opacity: 0.6; }

/* ============================================================
   SPLIT FEATURE (alternating)
   ============================================================ */
.duo { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem,6vw,6rem); }
.duo + .duo { margin-top: clamp(3rem,7vw,7rem); }
.duo.flip .duo__media { order: 2; }
.duo__media .ph, .duo__media img { aspect-ratio: 5/4; object-fit: cover; }
.duo__txt h3 { font-size: clamp(1.9rem,3.4vw,2.8rem); }
.duo__txt p { margin-top: 1.2rem; color: var(--charcoal); }
.duo__txt .eyebrow { margin-bottom: 1rem; display: block; }

/* ============================================================
   PARCELS (estate breakdown)
   ============================================================ */
.parcels { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem,2vw,1.6rem); }
.parcel {
  background: var(--paper); border: 1px solid var(--line-soft); padding: clamp(1.8rem,3vw,2.6rem);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.parcel:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -30px rgba(20,17,13,0.3); border-color: var(--line); }
.parcel .no { font-family: var(--display); font-size: 0.9rem; color: var(--gold-deep); letter-spacing: 0.2em; }
.parcel h3 { font-size: 1.8rem; margin: 0.4rem 0 0.8rem; }
.parcel p { font-size: 0.92rem; color: var(--stone); }

/* ============================================================
   LISTING CARDS (other properties)
   ============================================================ */
.listings { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem,2.4vw,2rem); }
/* full-bleed image cards — text overlaid on the photo, no white body */
.lcard { position: relative; display: block; overflow: hidden; background: var(--ink); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.lcard:hover { transform: translateY(-6px); box-shadow: 0 36px 70px -34px rgba(20,17,13,0.34); }
.lcard__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.lcard__img .ph, .lcard__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 52%; display: block; transition: transform 1s var(--ease); }
.lcard:hover .lcard__img .ph, .lcard:hover .lcard__img img { transform: scale(1.07); }
/* top scrim — tones down bright sky and seats the tag */
.lcard::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 30%; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(11,8,5,0.55) 0%, rgba(11,8,5,0.16) 55%, rgba(11,8,5,0) 100%); }
.lcard::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(11,8,5,0.92) 0%, rgba(11,8,5,0.6) 12%, rgba(11,8,5,0.18) 28%, rgba(11,8,5,0) 44%); }
.lcard__tag { position: absolute; top: 1rem; left: 1rem; z-index: 3; background: rgba(20,17,13,0.55); color: var(--gold-soft); font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; padding: 0.5rem 0.9rem; backdrop-filter: blur(6px); }
.lcard__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1.7rem; color: var(--paper); text-shadow: 0 1px 12px rgba(0,0,0,0.5); }
.lcard__body .addr { font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-soft); }
.lcard__body h3 { font-size: 1.7rem; margin: 0.4rem 0 0.3rem; color: var(--paper); }
.lcard__body .price { font-family: var(--display); font-size: 1.5rem; color: var(--paper); margin-top: 0.2rem; }
.lcard__body .meta { display: flex; gap: 1.2rem; margin: 0.9rem 0 1.1rem; font-size: 0.78rem; color: rgba(246,241,232,0.82); flex-wrap: wrap; }
.lcard__body .meta b { color: var(--paper); font-weight: 500; }
.lcard__body .more { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-soft); display: inline-flex; align-items: center; gap: 0.6rem; }
.lcard__body .more .arrow { transition: transform .45s var(--ease); }
.lcard:hover .more .arrow { transform: translateX(5px); }
.more .arrow { transition: transform .45s var(--ease); }

/* ============================================================
   QUOTE / BANNER
   ============================================================ */
.quote { background: var(--ink); color: var(--paper); text-align: center; }
.quote blockquote { font-family: var(--display); font-style: italic; font-weight: 300; font-size: clamp(1.6rem,3.6vw,3rem); line-height: 1.3; max-width: 980px; margin: 0 auto; }
.quote blockquote em { color: var(--gold-soft); font-style: italic; }
.quote cite { display: block; margin-top: 2rem; font-style: normal; font-size: 0.7rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--sand); }

.cband { position: relative; overflow: hidden; }
.cband__bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.cband::after { content: ''; position: absolute; inset: 0; background: rgba(20,17,13,0.66); z-index: 1; }
.cband .wrap { position: relative; z-index: 2; }

/* ============================================================
   AGENT / CONTACT
   ============================================================ */
.agent { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2.5rem,6vw,6rem); align-items: center; }
.agent__photo .ph { aspect-ratio: 4/5; }
.agent__photo .portrait {
  position: relative; width: 100%; max-width: 460px; margin: 0 auto;
  padding: 12px; background: var(--paper); border: 1px solid var(--line);
  box-shadow: 0 30px 60px -34px rgba(20,17,13,0.4);
}
.agent__photo .portrait::after {
  content: ''; position: absolute; inset: 18px; border: 1px solid var(--line); pointer-events: none;
}
.agent__photo .portrait img {
  width: 100%; height: auto; display: block;          /* full image, no cropping */
  filter: saturate(1.02) contrast(1.02);
}
.agent__photo .portrait figcaption {
  text-align: center; padding: 0.9rem 0 0.3rem; font-family: var(--display);
  font-size: 1.05rem; color: var(--ink); letter-spacing: 0.02em;
}
.agent__photo .portrait figcaption span {
  display: block; font-family: var(--sans); font-size: 0.58rem; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--gold-deep); margin-top: 0.25rem;
}
.agent__txt h2 { font-size: clamp(2.2rem,4vw,3.4rem); }
.agent__txt .name { font-family: var(--display); font-size: 1.7rem; margin-top: 0.4rem; color: var(--gold-deep); }
.agent__contact { display: flex; flex-direction: column; gap: 1.1rem; margin: 2rem 0; }
.agent__contact a { display: flex; align-items: center; gap: 1rem; font-size: 1.05rem; color: var(--charcoal); transition: color .3s var(--ease); }
.agent__contact a:hover { color: var(--gold-deep); }
.agent__contact .ic { width: 20px; height: 20px; color: var(--gold-deep); flex: none; }

/* ============================================================
   FLIPBOOK / BROCHURE VIEWER
   ============================================================ */
.flipbook { position: relative; max-width: 1040px; margin: 0 auto; }
/* two-page spread — a real open book */
.book__spread {
  position: relative; width: 100%; aspect-ratio: 2 / 1; perspective: 2800px;
  transition: transform .9s var(--ease);
}
/* closed-book states: only one page exists, so slide it to the centre */
.flipbook.at-cover .book__spread { transform: translateX(-25%); }
.flipbook.at-back  .book__spread { transform: translateX(25%); }
/* center spine (hidden when the book is closed) */
.book__spread::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; z-index: 60;
  transform: translateX(-1.5px); pointer-events: none; opacity: 1; transition: opacity .5s var(--ease);
  background: linear-gradient(to right, rgba(20,17,13,0.04), rgba(20,17,13,0.22) 50%, rgba(20,17,13,0.04));
}
.flipbook.at-cover .book__spread::after, .flipbook.at-back .book__spread::after { opacity: 0; }
.leaf {
  position: absolute; top: 0; left: 50%; width: 50%; height: 100%;
  transform-origin: left center; transform-style: preserve-3d;
  transition: transform 0.8s var(--ease);
}
.leaf.turned { transform: rotateY(-180deg); }
.leaf__face {
  position: absolute; inset: 0; overflow: hidden; background: var(--paper);
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  box-shadow: 0 45px 85px -42px rgba(20,17,13,0.55);
}
.leaf__face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.leaf__back { transform: rotateY(180deg); }
/* soft page shading toward the spine for depth */
.leaf__face::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
}
.leaf__front::after { background: linear-gradient(to left,  rgba(20,17,13,0.16), transparent 14%); }
.leaf__back::after  { background: linear-gradient(to right, rgba(20,17,13,0.16), transparent 14%); }
.page__no {
  position: absolute; bottom: 0.9rem; z-index: 2;
  font-family: var(--display); font-size: 0.8rem; letter-spacing: 0.1em; color: var(--gold-deep);
  background: rgba(250,247,241,0.82); padding: 0.15rem 0.5rem;
}
.leaf__front .page__no { right: 1rem; }
.leaf__back .page__no { left: 1rem; }

.flipbook__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 8;
  width: 56px; height: 56px; border-radius: 50%; cursor: pointer;
  background: rgba(250,247,241,0.9); border: 1px solid var(--line); color: var(--ink);
  font-size: 1.4rem; display: flex; align-items: center; justify-content: center;
  transition: all .4s var(--ease); backdrop-filter: blur(6px);
}
.flipbook__nav:hover { background: var(--gold); border-color: var(--gold); color: var(--paper); }
.flipbook__nav.prev { left: -28px; } .flipbook__nav.next { right: -28px; }
.flipbook__nav:disabled { opacity: 0.3; cursor: default; background: rgba(250,247,241,0.9); color: var(--ink); border-color: var(--line); }

.flipbook__bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 2rem; flex-wrap: wrap; }
.flipbook__label { font-family: var(--display); font-size: 1.3rem; color: var(--ink); }
.flipbook__label span { font-family: var(--sans); font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-deep); display: block; margin-bottom: 0.2rem; }
.flipbook__dots { display: flex; gap: 0.6rem; flex-wrap: wrap; justify-content: center; }
.flipbook__dots button { width: 26px; height: 3px; border: 0; padding: 0; background: var(--line); cursor: pointer; transition: background .3s var(--ease); }
.flipbook__dots button.on { background: var(--gold); }
.flipbook__count { font-family: var(--display); font-size: 1.1rem; color: var(--stone); letter-spacing: 0.1em; }
.flipbook__count b { color: var(--ink); }

@media (max-width: 760px) {
  .flipbook__nav.prev { left: 8px; } .flipbook__nav.next { right: 8px; }
  .flipbook__nav { width: 46px; height: 46px; background: rgba(250,247,241,0.92); }
  .flipbook__bar { justify-content: center; text-align: center; }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem,6vw,5rem); align-items: start; }
.contact__info .name { font-family: var(--display); font-size: 1.7rem; margin-top: 0.4rem; color: var(--gold-deep); }
.contact__info .agent__contact { margin: 2rem 0; }
.contact__card { background: var(--ivory); border: 1px solid var(--line-soft); padding: clamp(1.8rem,3vw,2.6rem); }
.contact__card h3 { font-size: 1.5rem; margin-bottom: 0.4rem; }
.cform { display: grid; gap: 1.1rem; margin-top: 1.6rem; }
.cform .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.cform label { display: block; font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 0.5rem; font-weight: 500; }
.cform input, .cform select, .cform textarea {
  width: 100%; padding: 0.9rem 1rem; border: 1px solid var(--line); background: var(--paper);
  font-family: var(--sans); font-size: 0.95rem; font-weight: 300; color: var(--ink); border-radius: 2px;
  transition: border-color .3s var(--ease);
}
.cform input:focus, .cform select:focus, .cform textarea:focus { outline: none; border-color: var(--gold); }
.cform textarea { min-height: 140px; resize: vertical; }
.cform .btn { justify-content: center; width: 100%; margin-top: 0.4rem; }
.cform .btn[disabled] { opacity: 0.65; cursor: default; }
.cform__status { margin-top: 1rem; font-size: 0.9rem; line-height: 1.5; padding: 0.85rem 1.1rem; border-radius: 2px; }
.cform__status.ok  { background: rgba(176,141,79,0.12); color: var(--gold-deep); border: 1px solid var(--line); }
.cform__status.err { background: rgba(154,42,42,0.07); color: #9a2a2a; border: 1px solid rgba(154,42,42,0.28); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: var(--sand); padding: clamp(4rem,7vw,6rem) 0 2.5rem; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; padding-bottom: 3.5rem; border-bottom: 1px solid rgba(176,141,79,0.2); }
.footer__brand b { font-family: var(--display); font-size: 2rem; color: var(--paper); letter-spacing: 0.05em; }
.footer__brand p { margin-top: 1.2rem; max-width: 340px; font-size: 0.92rem; color: var(--sand); }
.footer h4 { font-family: var(--sans); font-size: 0.66rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 1.4rem; font-weight: 500; }
.footer__col a, .footer__col p { display: block; color: var(--sand); font-size: 0.92rem; margin-bottom: 0.8rem; transition: color .3s var(--ease); }
.footer__col a:hover { color: var(--gold-soft); }
.footer__bot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 2.2rem; font-size: 0.72rem; color: var(--stone); letter-spacing: 0.04em; }
.footer__bot .disc { max-width: 720px; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(15,13,10,0.96); display: none; align-items: center; justify-content: center; opacity: 0; transition: opacity .4s var(--ease); }
.lightbox.show { display: flex; opacity: 1; }
.lightbox img { max-width: 88vw; max-height: 84vh; object-fit: contain; box-shadow: 0 40px 100px rgba(0,0,0,0.6); }
.lightbox__close, .lightbox__nav { position: absolute; background: none; border: 1px solid rgba(246,241,232,0.4); color: var(--paper); cursor: pointer; transition: .3s var(--ease); }
.lightbox__close { top: 2rem; right: 2rem; width: 48px; height: 48px; border-radius: 50%; font-size: 1.2rem; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; font-size: 1.4rem; }
.lightbox__nav.prev { left: 2.5vw; } .lightbox__nav.next { right: 2.5vw; }
.lightbox__close:hover, .lightbox__nav:hover { border-color: var(--gold); color: var(--gold-soft); }
.lightbox__cap { position: absolute; bottom: 2rem; left: 0; right: 0; text-align: center; color: var(--sand); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; }

/* ============================================================
   VIDEO BLOCK (interior pages)
   ============================================================ */
.vblock { position: relative; aspect-ratio: 16/9; background: var(--ink); overflow: hidden; }
.vblock video, .vblock img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; }
.vblock iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.vblock .ph { position: absolute; inset: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .intro, .duo, .agent, .contact { grid-template-columns: 1fr; }
  .duo.flip .duo__media { order: 0; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .listings { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .intro__media { order: -1; }
}
@media (max-width: 760px) {
  .nav__links { position: fixed; top: 0; right: 0; left: auto; height: 100svh; width: min(80vw, 340px); background: var(--ink);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.8rem; padding: 3rem;
    transform: translateX(100%); transition: transform .5s var(--ease); }
  .nav.open .nav__links { transform: none; }
  /* The solid header's blur turns the nav into a containing block for the
     fixed menu panel, collapsing it. Drop the blur while the menu is open so
     the panel always spans the full viewport. */
  .nav.open { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .nav__links a { color: var(--paper); font-size: 1rem; }
  .nav.solid .nav__links a { color: var(--paper); }
  .nav__toggle { display: block; z-index: 110; }
  .nav__cta { color: var(--ink) !important; background: var(--gold); border-color: var(--gold); }
  .stripe .wrap { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1rem; }
  .stripe .cell + .cell::before { display: none; }
  .features { grid-template-columns: 1fr; }
  .parcels { grid-template-columns: 1fr; }
  .amenities { columns: 1; }
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .pricebar { justify-content: flex-start; }
  .hero__scroll { display: none; }
  .intro__badge { left: 0; bottom: -20px; }
  .cform .row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
