:root {
  --ink: #1d2327;
  --muted: #5d676d;
  --paper: #faf8f4;
  --band: #f1ede5;
  --line: #ddd6c9;
  --accent: #a2552f;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
p { margin: 0 0 1.1em; }
ul { list-style: none; margin: 0; padding: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.9em;
}

/* nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 24px;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { font-family: var(--serif); font-size: 1.2rem; color: var(--ink); text-decoration: none; }
.nav nav { display: flex; gap: 26px; }
.nav nav a { color: var(--muted); text-decoration: none; font-size: 0.92rem; font-weight: 500; }
.nav nav a:hover { color: var(--accent); }

/* hero */
.hero { position: relative; height: 92vh; min-height: 520px; max-height: 860px; color: #fff; }
.hero img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,20,24,0.25) 0%, rgba(15,20,24,0.1) 40%, rgba(15,20,24,0.78) 100%);
}
.hero-text { position: absolute; z-index: 1; left: 0; right: 0; bottom: 64px; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.hero .eyebrow { color: #f3d9c6; }
.lede { font-size: clamp(1.05rem, 2vw, 1.35rem); max-width: 34em; margin-top: 0.8em; color: #f2efe9; }

/* sections */
.band, .unit { padding: 96px 0; }
.band { background: var(--band); }
.unit.alt { background: #fff; }
.two-col { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
.unit .two-col { grid-template-columns: 1.4fr 1fr; margin-bottom: 48px; }

.facts { display: flex; gap: 44px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.facts strong { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 400; line-height: 1.1; }
.facts span { color: var(--muted); font-size: 0.86rem; }

.views { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.views figure { margin: 0; position: relative; }
.views img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.views figcaption {
  position: absolute; left: 16px; bottom: 14px; color: #fff;
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.04em;
  text-shadow: 0 1px 6px rgba(0,0,0,0.7);
}

.unit-head {
  display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px;
  padding-bottom: 28px; margin-bottom: 36px; border-bottom: 1px solid var(--line);
}
.specs { display: flex; flex-wrap: wrap; gap: 10px 30px; color: var(--muted); font-size: 0.95rem; }
.specs strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; color: var(--ink); margin-right: 4px; }

.features li { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.features li:first-child { padding-top: 0; }
.soon { color: var(--muted); font-style: italic; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.gallery:empty { display: none; }
.gallery button {
  padding: 0; border: 0; background: #ddd; cursor: zoom-in; overflow: hidden;
  aspect-ratio: 4 / 3; position: relative;
}
.gallery button:first-child { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery button:hover img { transform: scale(1.04); }
.gallery span {
  position: absolute; left: 10px; bottom: 8px; color: #fff; font: 500 0.76rem var(--sans);
  text-shadow: 0 1px 5px rgba(0,0,0,0.8); opacity: 0; transition: opacity 0.2s;
}
.gallery button:hover span, .gallery button:focus-visible span { opacity: 1; }

/* neighborhood */
.walks { margin-top: 24px; }
.walks li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.walks em { font-style: normal; color: var(--muted); font-size: 0.9rem; white-space: nowrap; }
.map { margin-top: 32px; border: 1px solid var(--line); }
.map iframe { display: block; width: 100%; height: 320px; border: 0; filter: grayscale(0.4); }

footer { background: var(--ink); color: #cfd4d6; padding: 56px 0; font-size: 0.92rem; }
footer .brand { color: #fff; font-size: 1.5rem; margin-bottom: 4px; }
footer p { margin: 0 0 4px; }
.fine { margin-top: 20px; color: #8a9499; font-size: 0.8rem; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 50; background: rgba(12, 15, 17, 0.95);
  display: flex; align-items: center; justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(92vw, 1280px); text-align: center; }
.lightbox img { max-height: 84vh; max-width: 100%; margin: 0 auto; }
.lightbox figcaption { color: #cfd4d6; font-size: 0.88rem; margin-top: 12px; }
.lightbox button {
  position: absolute; background: none; border: 0; color: #fff; cursor: pointer;
  font-size: 2.8rem; line-height: 1; padding: 14px 18px; opacity: 0.75;
}
.lightbox button:hover { opacity: 1; }
.lb-close { top: 8px; right: 12px; }
.lb-prev { left: 6px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 6px; top: 50%; transform: translateY(-50%); }

@media (max-width: 820px) {
  body { font-size: 16px; }
  .nav nav { gap: 16px; }
  .nav nav a { font-size: 0.82rem; }
  .nav nav a:first-child, .nav nav a:last-child { display: none; }
  .band, .unit { padding: 64px 0; }
  .two-col, .unit .two-col { grid-template-columns: 1fr; gap: 28px; }
  .views { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .facts { gap: 28px; }
}
