  :root {
    --cream: #f3f0e7;
    --cream-deep: #e9e4d6;
    --white: #fbfaf6;
    --navy: #1f2d5a;
    --navy-soft: #3b4672;
    --ink: #2a2f3d;
    --muted: #6b6f7c;
    --sage: #66784a;
    --line: #d9d3c2;
    --font: "Jost", system-ui, sans-serif;
    --max: 1160px;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--font);
    font-weight: 400;
    font-size: 17px;
    line-height: 1.65;
  }
  img { display: block; max-width: 100%; }
  a { color: inherit; }
  .wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

  /* Type scale: one family, consistent weights */
  h1, h2, h3 { font-family: var(--font); color: var(--navy); margin: 0; line-height: 1.2; }
  h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 500; letter-spacing: -0.01em; }
  h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 500; }
  h3 { font-size: 1.2rem; font-weight: 500; }
  .eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 14px;
  }
  p { margin: 0 0 1em; }
  .lead { font-size: 1.12rem; color: var(--navy-soft); font-weight: 300; max-width: 640px; }

  /* Header */
  header {
    position: sticky; top: 0; z-index: 20;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
  }
  .nav { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 20px; }
  .brand img { height: 58px; width: auto; }
  nav ul { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; }
  nav a {
    text-decoration: none; font-size: 0.85rem; font-weight: 500;
    letter-spacing: 0.16em; text-transform: uppercase; color: var(--navy);
  }
  nav a:hover { color: var(--sage); }
  .menu-btn { display: none; background: none; border: 0; font: inherit; color: var(--navy); font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; cursor: pointer; padding: 10px 0; }

  /* Buttons */
  .btn {
    display: inline-block; text-decoration: none;
    font-size: 0.85rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
    padding: 15px 28px; border: 1px solid var(--navy);
    background: var(--navy); color: var(--white);
    transition: background .2s, color .2s;
  }
  .btn:hover { background: transparent; color: var(--navy); }
  .btn.light { background: var(--white); color: var(--navy); border-color: var(--white); }
  .btn.light:hover { background: transparent; color: var(--white); }

  /* Hero */
  .hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; color: var(--white); }
  .hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,28,56,0) 35%, rgba(20,28,56,.72) 100%); }
  .hero .wrap { position: relative; z-index: 1; padding-bottom: 64px; width: 100%; }
  .hero h1 { color: var(--white); max-width: 760px; }
  .hero .eyebrow { color: #dfe6cf; }
  .hero p { font-size: 1.15rem; font-weight: 300; max-width: 560px; margin: 16px 0 28px; }

  section { padding: 96px 0; }
  .alt { background: var(--white); }
  .section-head { margin-bottom: 44px; }

  /* Property */
  .split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
  .facts li { padding-left: 22px; position: relative; color: var(--navy-soft); }
  .facts li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 1px; background: var(--sage); }
  .exteriors { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .exteriors img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
  .caption { font-size: 0.85rem; color: var(--muted); margin-top: 12px; }

  /* Gallery */
  .gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .gallery figure { margin: 0; position: relative; overflow: hidden; cursor: zoom-in; background: var(--cream-deep); }
  .gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .5s; }
  .gallery figure:hover img { transform: scale(1.03); }
  .gallery figcaption {
    position: absolute; left: 0; bottom: 0; padding: 8px 14px;
    background: rgba(251,250,246,.92); color: var(--navy);
    font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
  }
  .note {
    margin-top: 22px; padding: 14px 18px; border-left: 2px solid var(--sage);
    background: var(--cream); color: var(--navy-soft); font-size: 0.95rem;
  }

  /* Units */
  .units { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .unit { background: var(--white); border: 1px solid var(--line); padding: 30px 26px; }
  .unit .num { font-size: 2.2rem; font-weight: 500; color: var(--navy); line-height: 1; }
  .unit .label { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin: 8px 0 18px; }
  .status { display: inline-block; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; color: var(--sage); border: 1px solid var(--sage); padding: 5px 10px; }

  /* Location */
  .map { width: 100%; height: 380px; border: 0; filter: saturate(.85); }
  .nearby { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 56px; }
  .place { border-top: 2px solid var(--sage); padding-top: 18px; }
  .place h3 { margin-bottom: 8px; }
  .place p { color: var(--navy-soft); margin: 0 0 10px; font-size: 0.98rem; }
  .place .dist { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; color: var(--sage); }
  .email { display: block; font-size: clamp(1.15rem, 2.4vw, 1.5rem); color: var(--white); margin: 0 0 26px; text-decoration: none; font-weight: 400; word-break: break-word; }
  .email:hover { text-decoration: underline; }
  .address { font-size: 1.25rem; color: var(--navy); font-weight: 500; margin: 6px 0 18px; }

  /* Contact */
  .contact { background: var(--navy); color: var(--white); text-align: center; }
  .contact h2 { color: var(--white); }
  .contact .eyebrow { color: #c9d4b2; }
  .contact p { color: #d9dcea; font-weight: 300; max-width: 560px; margin: 16px auto 30px; }

  footer { background: var(--cream); padding: 40px 0; border-top: 1px solid var(--line); }
  footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
  footer img { height: 44px; width: auto; }
  footer small { color: var(--muted); font-size: 0.85rem; }

  /* Lightbox */
  .lightbox { position: fixed; inset: 0; background: rgba(15,20,40,.92); display: none; align-items: center; justify-content: center; z-index: 50; padding: 24px; }
  .lightbox.open { display: flex; }
  .lightbox img { max-height: 86vh; width: auto; }
  .lightbox button { position: absolute; top: 18px; right: 22px; background: none; border: 0; color: var(--white); font: 500 0.85rem var(--font); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }

  @media (max-width: 900px) {
    .split { grid-template-columns: 1fr; gap: 36px; }
    .units { grid-template-columns: 1fr 1fr; }
    .nearby { grid-template-columns: 1fr 1fr; gap: 28px; }
    .gallery { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 760px) {
    .menu-btn { display: block; }
    nav ul { display: none; position: absolute; top: 84px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px 24px 16px; }
    nav ul.open { display: flex; }
    nav li a { display: block; padding: 12px 0; }
    .brand img { height: 44px; }
    section { padding: 68px 0; }
    .facts { grid-template-columns: 1fr; }
  }
  @media (max-width: 520px) {
    .wrap { padding: 0 16px; }
    .units, .gallery, .exteriors, .nearby { grid-template-columns: 1fr; }
    .hero { min-height: 70vh; }
  }

/* Home page and property listings */
.home-hero { padding: 80px 0 96px; }
.home-hero-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.btn.ghost { background: transparent; color: var(--navy); }
.btn.ghost:hover { background: var(--navy); color: var(--white); }
.props { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.prop { display: block; background: var(--cream); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
a.prop:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(31,45,90,.10); }
.prop img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.prop-body { padding: 24px 24px 28px; }
.prop-body h3 { margin: 14px 0 4px; font-size: 1.4rem; }
.prop-body p { margin: 0 0 6px; color: var(--navy-soft); }
.prop-meta { font-size: 0.95rem; }
.prop-link { display: inline-block; margin-top: 12px; font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; color: var(--navy); }
.prop.soon { border-style: dashed; background: transparent; display: flex; align-items: center; min-height: 240px; }
.prop.soon h3 { margin-top: 0; }
.about { text-align: center; }
.back { display: inline-block; margin: 0 0 10px; font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; color: #dfe6cf; text-decoration: none; }
.back:hover { text-decoration: underline; }
@media (max-width: 900px) { .props { grid-template-columns: 1fr 1fr; } .home-hero { padding: 56px 0 68px; } }
@media (max-width: 520px) { .props { grid-template-columns: 1fr; } }

/* Unit availability */
.status.available { background: var(--sage); border-color: var(--sage); color: var(--white); }
.status.leased { color: var(--muted); border-color: var(--line); }
.unit.open { border-color: var(--sage); box-shadow: inset 0 3px 0 var(--sage); }
