:root {
  --ink: #1f2420;
  --muted: #646b64;
  --bg: #faf8f4;
  --alt: #efebe3;
  --line: #ddd6c9;
  --accent: #b5532f;      /* terracotta */
  --accent-dark: #8f3f22;
  --green: #3f7a52;
  --amber: #c08a1e;
  --gray: #9a9a92;
  --radius: 10px;
  --serif: "Plus Jakarta Sans", "Inter", system-ui, sans-serif; /* display font (name kept for simplicity) */
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font: 16px/1.6 var(--sans); color: var(--ink); background: var(--bg); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
h4 { margin: 1.5em 0 .5em; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
a { color: var(--accent-dark); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--accent); margin: 0 0 .75em; }

/* Buttons */
.btn { display: inline-block; background: var(--accent); color: #fff; border: 2px solid var(--accent); padding: .8em 1.4em;
  border-radius: 999px; font: 600 .95rem var(--sans); text-decoration: none; cursor: pointer; transition: background .15s; }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn-ghost { background: transparent; color: var(--accent-dark); }
.btn-ghost:hover { background: var(--accent); color: #fff; }
.btn-small { padding: .5em 1.05em; font-size: .85rem; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; display: flex; justify-content: space-between; align-items: center;
  padding: 14px 24px; background: rgba(250,248,244,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.brand { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.brand span { font-weight: 400; color: var(--muted); }
.nav nav { display: flex; gap: 22px; align-items: center; }
.nav nav a:not(.btn) { color: var(--ink); text-decoration: none; font-size: .93rem; }
@media (max-width: 720px) { .nav nav a:not(.btn) { display: none; } .brand span { display: none; } }

/* Hero: no photo yet, so a warm architectural backdrop */
.hero { position: relative; min-height: 78vh; display: flex; align-items: center; color: #fff; overflow: hidden;
  background:
    linear-gradient(115deg, rgba(25,30,26,.92) 0%, rgba(25,30,26,.7) 55%, rgba(181,83,47,.55) 100%),
    repeating-linear-gradient(90deg, #2c332d 0 120px, #333b34 120px 240px); }
.hero.has-photo { background-size: cover; background-position: center; }
.hero-inner { max-width: 1160px; margin: 0 auto; padding: 80px 24px; width: 100%; }
.hero h1 { max-width: 15ch; }
.hero .lead { max-width: 52ch; font-size: 1.15rem; opacity: .9; }
.hero .eyebrow { color: #f0b89f; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 18px; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.hero-stats { font-weight: 600; letter-spacing: .02em; color: #f0b89f; }

/* Sections */
.section { padding: 88px 0; }
.section.alt { background: var(--alt); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 32px; } .section { padding: 64px 0; } }

/* Site plan row */
.siteplan { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; margin: 32px 0 12px; }
.th { position: relative; height: 150px; border: 0; border-radius: 4px 4px 0 0; cursor: pointer; color: #fff;
  font: inherit; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; padding: 10px 4px;
  transition: transform .15s, filter .15s; }
.th:hover:not(:disabled) { transform: translateY(-4px); filter: brightness(1.08); }
.th:disabled { cursor: default; }
.th .roof { position: absolute; top: -14px; left: 0; right: 0; height: 14px; background: inherit; filter: brightness(.8);
  clip-path: polygon(0 100%, 0 40%, 100% 0, 100% 100%); }
.th .num { font-family: var(--serif); font-size: 2rem; line-height: 1; }
.th .tag { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; opacity: .9; margin-top: 4px; text-align: center; }
.th.available { background: var(--green); }
.th.coming-soon { background: var(--amber); }
.th.leased { background: var(--gray); }
.th.not-for-lease { background: #cfcac0; color: #8a857b; }
@media (max-width: 640px) { .siteplan { grid-template-columns: repeat(4, 1fr); row-gap: 22px; } .th { height: 110px; } }
.legend { display: flex; gap: 18px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0 0 40px; font-size: .85rem; color: var(--muted); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.dot.available { background: var(--green); } .dot.coming-soon { background: var(--amber); }
.dot.leased { background: var(--gray); } .dot.not-for-lease { background: #cfcac0; }

/* Unit cards */
.unit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card.leased { opacity: .65; }
.card-img { position: relative; aspect-ratio: 4/3; background: var(--alt); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 18px 20px 22px; }
.card-body h3 { margin-bottom: .2em; }
.card-body p { margin: 0 0 .4em; }
.price { font-weight: 600; font-size: 1.1rem; margin-bottom: .8em !important; }
.badge { display: inline-block; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
  padding: .3em .7em; border-radius: 999px; color: #fff; }
.card-img .badge { position: absolute; top: 12px; left: 12px; }
.badge.available { background: var(--green); } .badge.coming-soon { background: var(--amber); }
.badge.leased { background: var(--gray); }

/* Placeholders (until photos / floor plans arrive) */
.ph { width: 100%; height: 100%; min-height: 160px; display: grid; place-items: center; color: rgba(255,255,255,.85);
  background: linear-gradient(135deg, #39423b, #59614f); font-family: var(--serif); font-size: 1.4rem; border-radius: inherit; }
.card .ph span { font-size: 3.5rem; opacity: .5; }
.ph.wide { min-height: 220px; border-radius: var(--radius); background: repeating-linear-gradient(45deg, #ece7dd 0 12px, #e4ded2 12px 24px); color: var(--muted); font-size: 1.1rem; }

/* Features */
.checklist { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 28px; }
.checklist li { break-inside: avoid; padding: 0 0 12px 26px; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 7px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
@media (max-width: 520px) { .checklist { columns: 1; } }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 48px; }
.gallery img, .gallery .ph { aspect-ratio: 4/3; width: 100%; object-fit: cover; border-radius: var(--radius); min-height: 0; }
@media (max-width: 720px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* Location */
.address-line { font-weight: 600; }
.drive-times { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.drive-times li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; font-size: .92rem; }
.drive-times b { display: block; font-family: var(--serif); font-size: 1.35rem; color: var(--accent-dark); }
.nearby h3 { font-size: 1rem; font-family: var(--sans); margin: 1em 0 .2em; }
.nearby p { margin: 0; color: var(--muted); font-size: .95rem; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 440px; height: 100%; }
.map iframe { width: 100%; height: 100%; min-height: 440px; border: 0; }

/* Form */
.form { background: #fff; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 5px; font-size: .85rem; font-weight: 500; }
.form input, .form select, .form textarea { font: inherit; padding: .65em .8em; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 0; min-height: 1.4em; font-size: .92rem; }
.form-status.ok { color: var(--green); font-weight: 600; }
.form-status.err { color: #b3261e; }
.contact-card { margin-top: 20px; line-height: 1.9; }

/* Dialog */
.unit-dialog { border: 0; border-radius: 14px; padding: 32px; width: min(760px, 94vw); max-height: 90vh; overflow: auto; background: var(--bg); }
.unit-dialog::backdrop { background: rgba(20,24,21,.6); }
.unit-dialog h3 { font-size: 1.9rem; margin-top: .4em; }
.unit-dialog .close { position: absolute; top: 12px; right: 16px; border: 0; background: none; font-size: 2rem; cursor: pointer; color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin: 18px 0; }
.facts div { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.facts dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-bottom: 18px; }
.plans figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px; }
.plans figcaption { text-align: center; font-size: .85rem; color: var(--muted); margin-top: 6px; }
.dlg-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 18px; }
.dlg-photos img { aspect-ratio: 4/3; object-fit: cover; border-radius: 6px; }

/* Footer */
.footer { background: var(--ink); color: #c9cbc5; padding: 40px 0; font-size: .88rem; }
.footer b { color: #fff; }
.footer a { color: #f0b89f; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
