:root {
  --paper: #f4efe6; --paper-2: #e8e0d3; --cream: #faf7f1;
  --ink: #1a1815; --ink-soft: #3a342c; --muted: #6f675c;
  --forest: #2c4034; --forest-2: #3d5746; --border: #d6ccbc;
  --display: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Outfit", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.5; }
img { max-width: 100%; display: block; outline: 1px solid rgb(26 24 21 / 0.1); outline-offset: -1px; }
a { color: inherit; text-decoration: none; }
h1,h2,h3 { font-family: var(--display); font-weight: 500; letter-spacing: -0.02em; text-wrap: balance; line-height: 1.15; }
button { font-family: inherit; cursor: pointer; }
.wrap { width: min(72rem, calc(100% - 2rem)); margin-inline: auto; }
@media (min-width: 640px) { .wrap { width: min(72rem, calc(100% - 3rem)); } }

.site-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--border); background: rgb(244 239 230 / 0.92); backdrop-filter: blur(10px); }
.site-header--home { border-color: rgb(250 247 241 / 0.1); background: rgb(26 24 21 / 0.8); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 4.25rem; }
.logo { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; min-width: 0; }
.logo > span:last-child { display: flex; flex-direction: column; line-height: 1.1; white-space: nowrap; }
.logo-plate { display: flex; align-items: center; border-radius: 0.375rem; background: rgb(250 247 241 / 0.4); padding: 0.25rem 0.35rem; }
.logo-plate--on-dark { background: rgb(250 247 241 / 0.7); }
.logo-mark { height: 2.5rem; width: auto; max-width: none; outline: none; flex-shrink: 0; }
.logo-full { height: 5.5rem; width: auto; outline: none; }
.logo-plate--stacked { padding: 0.5rem 0.75rem; }
.mark { display: flex; width: 2.5rem; height: 2.5rem; align-items: center; justify-content: center; border-radius: 0.375rem; background: var(--forest); color: var(--cream); font-family: var(--display); font-size: 1.1rem; }
.mark--invert { background: var(--cream); color: var(--forest); }
.brand-name { display: block; font-family: var(--display); font-size: 1.05rem; white-space: nowrap; }
.brand-name--invert { color: var(--cream); }
.brand-sub { display: block; margin-top: 2px; font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.brand-sub--invert { color: rgb(250 247 241 / 0.7); }
.desk-nav { display: none; gap: 1.75rem; }
.nav-link { font-size: 0.9rem; color: var(--ink-soft); }
.nav-link:hover, .nav-link.is-active { color: var(--ink); }
.nav-link--home { color: rgb(250 247 241 / 0.8); }
.nav-link--home:hover, .nav-link--home.is-active { color: var(--cream); }
.desk-cta { display: none; align-items: center; gap: 0.75rem; }
.phone-link { font-size: 0.9rem; color: var(--ink-soft); }
.phone-link--home { color: rgb(250 247 241 / 0.8); }
.menu-btn { width: 2.75rem; height: 2.75rem; border: 0; background: transparent; display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 0 0.7rem; }
.menu-btn span { display: block; height: 1.5px; background: currentColor; }
.site-header--home .menu-btn { color: var(--cream); }
@media (min-width: 1024px) {
  .desk-nav, .desk-cta { display: flex; }
  .menu-btn { display: none; }
}

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; height: 2.75rem; padding: 0 1.25rem; border-radius: 0.625rem; background: var(--forest); color: var(--cream); font-size: 0.9rem; font-weight: 500; border: 0; }
.btn:hover { background: var(--forest-2); }
.btn-lg { height: 3rem; padding: 0 1.5rem; font-size: 1rem; border-radius: 1rem; }
.btn-invert { background: var(--cream); color: var(--ink); }
.btn-invert:hover { background: var(--paper); }
.btn-ghost { background: transparent; color: var(--cream); border: 1px solid rgb(250 247 241 / 0.25); }
.btn-ghost:hover { background: rgb(250 247 241 / 0.1); }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--border); }
.actions { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .actions { flex-direction: row; } }

.hero { position: relative; min-height: 88vh; color: var(--cream); display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-mask { position: absolute; inset: 0; background: linear-gradient(to top, rgb(26 24 21) 0%, rgb(26 24 21 / 0.55) 45%, rgb(26 24 21 / 0.25) 100%); }
.hero-inner { position: relative; padding: 0 0 5rem; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); max-width: 18ch; margin: 1rem 0 0; }
.hero p.lead { max-width: 36rem; color: rgb(250 247 241 / 0.8); font-size: 1.1rem; }
.kicker { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin: 0; }
.kicker--light { color: rgb(250 247 241 / 0.55); }

.page-hero { background: var(--forest); color: var(--cream); padding: 4rem 0; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); max-width: 20ch; margin: 0.75rem 0 0; }
.page-hero p { max-width: 38rem; color: rgb(250 247 241 / 0.75); }

.stats { display: grid; grid-template-columns: 1fr 1fr; background: var(--border); gap: 1px; }
.stat { background: var(--cream); padding: 1.6rem 1.4rem; }
.stat strong { display: block; font-family: var(--display); font-size: 1.5rem; font-weight: 500; }
@media (min-width: 768px) { .stats { grid-template-columns: 1.05fr 1.95fr 0.9fr 1.15fr; } }

.section { padding: 4.5rem 0; }
.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.rounded { border-radius: 1rem; overflow: hidden; }
.grid-3 { display: grid; gap: 1rem; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: 1fr 1fr 1fr; } }
.card { background: var(--cream); border-radius: 1rem; padding: 1.5rem; box-shadow: 0 0 0 1px rgb(26 24 21 / 0.06), 0 2px 8px rgb(26 24 21 / 0.05); }
.card h3 { margin: 0.5rem 0 0; font-size: 1.5rem; }
.muted { color: var(--ink-soft); }
.tiny { color: var(--muted); font-size: 0.85rem; }
.forest-block { background: var(--forest); color: var(--cream); }
.forest-card { border: 1px solid rgb(250 247 241 / 0.1); background: rgb(61 87 70 / 0.4); border-radius: 1rem; padding: 1.5rem; }
.num { font-family: var(--display); font-size: 1.85rem; color: var(--forest); margin: 0; }
.band { position: relative; overflow: hidden; color: var(--cream); min-height: 22rem; display: flex; align-items: center; }
.band img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band-mask { position: absolute; inset: 0; background: rgb(26 24 21 / 0.7); }
.cta-box { background: var(--forest); color: var(--cream); border-radius: 1rem; padding: 2.5rem 1.5rem; }
@media (min-width: 640px) { .cta-box { padding: 3rem; } }

.property { position: relative; display: flex; flex-direction: column; background: var(--cream); border-radius: 1rem; overflow: hidden; box-shadow: 0 0 0 1px rgb(26 24 21 / 0.06); color: inherit; }
.property .thumb { aspect-ratio: 4/3; object-fit: cover; width: 100%; height: 100%; }
.property .body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.property h3 { margin: 0.35rem 0 0; font-size: 1.5rem; }
.price { font-family: var(--display); font-size: 1.5rem; color: var(--forest); margin: 0; }
.badge { display: inline-flex; border-radius: 999px; border: 1px solid var(--border); background: var(--cream); padding: 0.2rem 0.65rem; font-size: 0.75rem; }
.badge-dark { background: rgb(26 24 21 / 0.8); color: var(--cream); border: 0; }
.sold-badge { position: absolute; left: 0.75rem; bottom: 0.75rem; background: var(--forest); color: var(--cream); border-radius: 0.375rem; padding: 0.2rem 0.65rem; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.property .thumb-wrap { position: relative; background: rgb(61 87 70 / 0.2); aspect-ratio: 4/3; overflow: hidden; }

form { display: grid; gap: 1rem; }
label { font-size: 0.9rem; font-weight: 500; color: var(--ink-soft); display: grid; gap: 0.35rem; }
input, select, textarea {
  height: 2.75rem; border: 1px solid var(--border); border-radius: 0.625rem;
  background: var(--cream); color: var(--ink); padding: 0 0.9rem; font: inherit;
}
textarea { height: auto; min-height: 8rem; padding: 0.75rem 0.9rem; border-radius: 1rem; }
.form-row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639px) {
  .form-row[style*="grid-template-columns:1fr 1fr 1fr"] { grid-template-columns: 1fr !important; }
}
.estimate { background: var(--paper); border-radius: 0.75rem; padding: 1.25rem; }
.estimate strong { display: block; font-family: var(--display); font-size: 2.25rem; color: var(--forest); font-weight: 500; }
.success { padding: 2rem; }
.ok { width: 2.75rem; height: 2.75rem; border-radius: 0.375rem; background: var(--forest); color: var(--cream); display: grid; place-items: center; font-size: 1.2rem; }

.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border-radius: 1rem; overflow: hidden; }
.facts div { background: var(--cream); padding: 1rem; }
.facts dt { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0.2rem 0 0; font-weight: 500; }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; margin-top: 0.75rem; }
.thumbs button { padding: 0; border: 0; background: none; border-radius: 0.4rem; overflow: hidden; }
.thumbs img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.gallery-main { border-radius: 1rem; overflow: hidden; background: var(--ink); }
.gallery-main img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.chips { display: grid; gap: 1rem; }
@media (min-width: 640px) { .chips { grid-template-columns: 1fr 1fr 1fr; } }

.site-footer { background: var(--ink); color: var(--cream); margin-top: 0; }
.footer-grid { display: grid; gap: 2rem; padding: 3.5rem 0; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-text { color: rgb(250 247 241 / 0.7); max-width: 28rem; font-size: 0.9rem; }
.footer-links { list-style: none; padding: 0; margin: 0.75rem 0 0; display: grid; gap: 0.4rem; font-size: 0.9rem; color: rgb(250 247 241 / 0.8); }
address { font-style: normal; font-size: 0.9rem; color: rgb(250 247 241 / 0.8); }
.footer-bottom { border-top: 1px solid rgb(250 247 241 / 0.1); display: flex; flex-direction: column; gap: 0.4rem; padding: 1.1rem 0; font-size: 0.75rem; color: rgb(250 247 241 / 0.5); }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }

.drawer { position: fixed; inset: 0; z-index: 50; background: rgb(26 24 21 / 0.4); }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(100%, 22rem); background: var(--paper); padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.drawer-nav { display: grid; margin-top: 1.5rem; }
.drawer-nav a { padding: 0.75rem 0.5rem; }
.drawer-close { position: absolute; top: 1rem; right: 1rem; width: 2.75rem; height: 2.75rem; border: 0; background: transparent; font-size: 1.6rem; }
.filters { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; max-width: 28rem; }
.legal { max-width: 42rem; font-size: 0.9rem; color: var(--ink-soft); }
.legal h2 { color: var(--ink); font-size: 1.5rem; }
details { border-bottom: 1px solid var(--border); padding: 1rem 0; }
details summary { cursor: pointer; font-weight: 500; list-style: none; }
details summary::-webkit-details-marker { display: none; }

.wa-fab {
  position: fixed;
  right: 1rem;
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 45;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.22);
}
.wa-fab svg { width: 1.75rem; height: 1.75rem; fill: currentColor; }
@media (min-width: 1024px) { .wa-fab { display: none; } }
