:root {
  --ink: #1F2A24;
  --paper: #EFEAE0;
  --paper-raised: #F7F4EC;
  --rust: #B5482B;
  --gold: #C89B3C;
  --line: #C9C2B2;
  --text-soft: #5B5648;
  --radius: 3px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "IBM Plex Sans", -apple-system, Segoe UI, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0 0 .4em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; color: var(--text-soft); max-width: 62ch; }
.wrap { width: min(1120px, 92%); margin: 0 auto; }

:focus-visible { outline: 2px solid var(--rust); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(239,234,224,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
}
.brand-mark { color: var(--rust); }
.brand-text {
  font-family: var(--serif); font-size: 1.05rem; line-height: 1.15;
  font-weight: 500;
}
.main-nav { display: flex; gap: 28px; }
.main-nav a {
  text-decoration: none; color: var(--ink); font-size: 0.95rem;
  padding: 4px 0; border-bottom: 1px solid transparent;
}
.main-nav a:hover { border-bottom-color: var(--rust); }
.nav-cta {
  background: var(--rust); color: #fff; text-decoration: none;
  padding: 9px 18px; border-radius: var(--radius); font-size: 0.9rem;
  font-weight: 600;
}
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: none;
  cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); display: block; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 40px; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center;
}
.hero-eyebrow {
  font-family: var(--mono); font-size: 0.8rem; color: var(--rust);
  margin: 0 0 14px; letter-spacing: 0.02em;
}
.hero h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.6rem); line-height: 1.04; margin-bottom: 20px;
}
.hero-lede { font-size: 1.08rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 34px; }
.btn {
  display: inline-block; text-decoration: none; padding: 12px 24px;
  border-radius: var(--radius); font-weight: 600; font-size: 0.95rem;
  border: 1px solid transparent;
}
.btn-primary { background: var(--ink); color: var(--paper-raised); }
.btn-primary:hover { background: var(--rust); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { border-color: var(--rust); color: var(--rust); }
.hero-stats {
  display: flex; gap: 36px; margin: 0; padding-top: 22px; border-top: 1px solid var(--line);
}
.hero-stats dt { font-family: var(--mono); font-size: 1.4rem; color: var(--rust); }
.hero-stats dd { margin: 2px 0 0; font-size: 0.82rem; color: var(--text-soft); }
.hero-plot {
  background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius);
}

/* ---------- Strip ---------- */
.strip { background: var(--ink); color: var(--paper); }
.strip-inner { padding: 14px 0; text-align: center; }
.strip p { margin: 0; color: var(--paper); font-size: 0.9rem; max-width: none; }

/* ---------- Section head ---------- */
.section-head { margin-bottom: 30px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }

/* ---------- Listings ---------- */
.listings { padding: 64px 0; }
.block-tabs {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px;
  border-bottom: 1px solid var(--line); padding-bottom: 24px;
}
.block-tab {
  font-family: var(--mono); font-size: 0.85rem; background: none;
  border: 1px solid var(--line); color: var(--ink); padding: 8px 14px;
  border-radius: var(--radius); cursor: pointer;
}
.block-tab:hover { border-color: var(--ink); }
.block-tab[aria-selected="true"] {
  background: var(--ink); color: var(--paper-raised); border-color: var(--ink);
}
.listing-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px;
}
.listing-empty { padding: 20px 0; }
.listing-card {
  background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; display: flex; flex-direction: column; gap: 10px;
}
.listing-top {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--mono);
}
.listing-site { font-size: 0.95rem; color: var(--rust); font-weight: 600; }
.listing-block { font-size: 0.75rem; color: var(--text-soft); }
.listing-dims { font-family: var(--mono); font-size: 1.5rem; color: var(--ink); margin: 2px 0; }
.listing-facts {
  display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 0.85rem; color: var(--text-soft);
  padding: 10px 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line);
}
.listing-facts span strong { color: var(--ink); }
.listing-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.listing-price { font-family: var(--serif); font-size: 1.15rem; }
.listing-call {
  font-size: 0.85rem; font-weight: 600; text-decoration: none; color: var(--ink);
  border: 1px solid var(--ink); padding: 8px 14px; border-radius: var(--radius);
}
.listing-call:hover { background: var(--rust); border-color: var(--rust); color: #fff; }

/* ---------- Block index ---------- */
.blocks-map { padding: 20px 0 64px; }
.block-index {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
}
.block-index button {
  font-family: var(--mono); background: var(--paper-raised); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 10px; text-align: left; cursor: pointer; color: var(--ink);
}
.block-index button:hover { border-color: var(--rust); }
.block-index button .num { display: block; font-size: 1.3rem; color: var(--rust); }
.block-index button .count { display: block; font-size: 0.72rem; color: var(--text-soft); margin-top: 4px; }

/* ---------- Sell ---------- */
.sell { background: var(--ink); color: var(--paper); padding: 56px 0; }
.sell-grid { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.sell h2 { color: var(--paper); }
.sell p { color: #C9C2B2; margin: 0; }
.sell .btn-primary { background: var(--rust); }

/* ---------- Contact ---------- */
.contact { padding: 64px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-phone {
  font-family: var(--mono); font-size: 1.8rem; text-decoration: none; color: var(--rust);
  display: inline-block; margin: 6px 0 18px;
}
.contact-links { display: flex; gap: 20px; }
.contact-links a { text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--ink); }
.contact-note { border-left: 1px solid var(--line); padding-left: 32px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 22px 0; }
.footer-inner {
  display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--text-soft);
}

/* ---------- WhatsApp FAB ---------- */
.whatsapp-fab {
  position: fixed; bottom: 22px; right: 22px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  text-decoration: none;
}
.whatsapp-fab:hover { background: #1ebd5a; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-plot { order: -1; max-width: 320px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-note { border-left: none; padding-left: 0; border-top: 1px solid var(--line); padding-top: 24px; }
  .block-index { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .main-nav { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-header.nav-open .main-nav {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper-raised); padding: 18px 24px; border-bottom: 1px solid var(--line); gap: 16px;
  }
  .block-index { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .hero-stats { flex-wrap: wrap; row-gap: 14px; }
}
