:root {
  --bg: #0b0b0c;
  --bg-2: #131315;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f3f1ec;
  --muted: #a5a29a;
  --gold: #c9a56a;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.05; letter-spacing: -0.01em; }
h1 { font-size: clamp(44px, 8.5vw, 112px); }
h2 { font-size: clamp(32px, 5vw, 60px); }
h3 { font-size: 28px; }

.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

/* draft bar */
.draft-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  background: var(--gold); color: #14110a;
  font-size: 12px; font-weight: 500; text-align: center;
  padding: 6px 12px;
}

/* buttons */
.btn {
  display: inline-block;
  background: var(--gold);
  color: #14110a;
  border: 1px solid var(--gold);
  padding: 15px 30px;
  font: 500 13px var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}
.btn:hover { background: transparent; color: var(--gold); }
.btn-ghost { background: transparent; color: var(--text); border-color: rgba(255, 255, 255, 0.45); }
.btn-ghost:hover { border-color: var(--gold); }
.btn-small { padding: 10px 18px; font-size: 11px; }

/* nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--pad);
  transition: background 0.3s, padding 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.solid {
  background: rgba(11, 11, 12, 0.92);
  backdrop-filter: blur(10px);
  padding-top: 14px; padding-bottom: 14px;
  border-color: var(--line);
}
.brand { font: 600 15px var(--sans); letter-spacing: 0.34em; }
.brand span { color: var(--gold); font-weight: 300; }
.brand img { display: block; height: 60px; width: auto; filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.55)); }
.footer .brand img { height: 83px; margin: 0 auto; filter: none; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a:not(.btn) {
  font-size: 12px; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82); transition: color 0.2s;
}
.nav-links a:not(.btn):hover { color: var(--gold); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 1px; background: var(--text); margin: 8px auto; transition: transform 0.25s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* hero */
.hero {
  position: relative;
  height: 100vh; height: 100svh; min-height: 560px; max-height: 1100px;
  display: flex; align-items: flex-end;
  padding: 0 var(--pad) clamp(90px, 14vh, 150px);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: -4% 0;
  background-size: cover; background-position: center;
  filter: brightness(0.85) saturate(1);
  will-change: transform;
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--bg) 0%, rgba(11, 11, 12, 0.4) 38%, rgba(11, 11, 12, 0.08) 70%, rgba(11, 11, 12, 0.4) 100%);
}
.hero-inner { position: relative; max-width: 900px; }
.hero-sub { font-size: clamp(16px, 1.6vw, 20px); color: rgba(255, 255, 255, 0.8); max-width: 520px; margin: 24px 0 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.scroll-cue {
  position: absolute; right: var(--pad); bottom: clamp(90px, 14vh, 150px);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted);
}
.scroll-cue i { width: 1px; height: 64px; background: linear-gradient(var(--gold), transparent); animation: cue 2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* film */
.film { padding: clamp(30px, 6vw, 90px) var(--pad) clamp(50px, 8vw, 110px); }
.film-frame {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 9; max-height: 86vh; width: 100%;
  transform: scale(var(--film-scale, 0.86));
  transition: transform 0.1s linear;
  background: var(--bg-2);
}
.film-frame video, .film-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background-size: cover; background-position: center; }
.film-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.1) 60%); }
.play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: clamp(64px, 8vw, 104px); aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7); background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(4px); cursor: pointer; transition: background 0.25s, border-color 0.25s;
}
.play:hover { background: var(--gold); border-color: var(--gold); }
.play i { position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%); border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.film-caption { position: absolute; left: clamp(18px, 4vw, 52px); bottom: clamp(18px, 4vw, 48px); right: 18px; }
.note { color: var(--muted); font-size: 14px; margin-top: 8px; }

/* stats */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin: 0 var(--pad);
}
.stat { padding: clamp(26px, 4vw, 54px) 12px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font: 500 clamp(30px, 4vw, 52px) var(--serif); color: var(--text); }
.stat span { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }

/* sections */
.section-head { max-width: 640px; margin-bottom: clamp(30px, 5vw, 60px); }
.section-head p:not(.eyebrow) { color: var(--muted); margin-top: 14px; }
.homes, .gallery, .location, .contact { padding: clamp(70px, 10vw, 150px) var(--pad); }

/* homes */
.home-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 34px); }
.home-card { cursor: pointer; outline: none; }
.home-img {
  aspect-ratio: 4 / 5; background-size: cover; background-position: center;
  filter: brightness(0.82); transition: filter 0.4s, transform 0.6s;
}
.home-card { overflow: hidden; }
.home-card:hover .home-img, .home-card:focus-visible .home-img { filter: brightness(1); transform: scale(1.03); }
.home-info { padding: 22px 0 4px; background: var(--bg); position: relative; }
.home-info p { color: var(--muted); font-size: 14px; margin: 6px 0 14px; }
.link { font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); border-bottom: 1px solid var(--gold); padding-bottom: 4px; }

/* gallery */
.gallery { background: var(--bg-2); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(200px, 25vw, 400px); gap: 12px; }
.g { border: 0; padding: 0; background: #000; cursor: zoom-in; overflow: hidden; }
.g-wide { grid-column: span 2; }
.g img { width: 100%; height: 100%; object-fit: cover; opacity: 0.88; transition: opacity 0.35s, transform 0.6s; }
.g:hover img, .g:focus-visible img { opacity: 1; transform: scale(1.04); }

/* location */
.location { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.location-text p:not(.eyebrow) { color: var(--muted); margin: 18px 0 30px; max-width: 480px; }
.facts { list-style: none; border-top: 1px solid var(--line); }
.facts li { display: flex; gap: 22px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.facts b { font: 500 26px var(--serif); color: var(--text); min-width: 96px; }
.location-map {
  aspect-ratio: 1; display: grid; place-items: center;
  border: 1px solid var(--line);
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--bg-2);
  color: var(--muted); font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase;
}

/* contact */
.contact { background: var(--bg-2); border-top: 1px solid var(--line); }
.contact-inner { max-width: 680px; margin: 0 auto; text-align: center; }
.contact-inner > p:not(.eyebrow) { color: var(--muted); margin: 14px 0 38px; }
form { text-align: left; display: grid; gap: 20px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label { display: grid; gap: 8px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
input, textarea {
  width: 100%; background: transparent; color: var(--text);
  border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding: 10px 0; font: 300 17px var(--sans); border-radius: 0; outline: none;
  transition: border-color 0.2s;
}
input:focus, textarea:focus { border-color: var(--gold); }
form .btn { justify-self: start; margin-top: 8px; }
.form-msg { color: var(--gold); font-size: 14px; min-height: 22px; }

/* footer */
.footer { padding: 60px var(--pad) 90px; text-align: center; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
.footer .brand { color: var(--text); margin-bottom: 12px; }
.small { font-size: 12px; margin-top: 8px; opacity: 0.9; }

/* pop-up */
.pop {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(5, 5, 6, 0.96);
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 56px 12px 40px;
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.pop.open { opacity: 1; visibility: visible; }
.pop-figure { max-width: min(1200px, 100%); display: flex; flex-direction: column; min-width: 0; }
.pop-figure img { max-height: 68vh; width: auto; max-width: 100%; margin: 0 auto; object-fit: contain; }
.pop figcaption { padding: 18px 4px 0; display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; }
.pop figcaption p { color: var(--muted); font-size: 14px; grid-column: 1; }
#popCount { grid-column: 2; grid-row: 1; font-size: 12px; letter-spacing: 0.2em; color: var(--muted); align-self: center; }
.pop-close { position: absolute; top: 10px; right: 16px; background: none; border: 0; color: #fff; font-size: 40px; line-height: 1; cursor: pointer; width: 48px; height: 48px; }
.pop-arrow { background: none; border: 1px solid var(--line); color: #fff; font-size: 30px; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; flex: none; transition: border-color 0.2s, color 0.2s; }
.pop-arrow:hover { border-color: var(--gold); color: var(--gold); }
.pop-arrow[hidden] { display: none; }

/* scroll reveal */
.reveal { opacity: 0; translate: 0 28px; transition: opacity 0.9s ease, translate 0.9s ease; }
.reveal.in { opacity: 1; translate: 0 0; }

/* PHONE */
@media (max-width: 860px) {
  .nav-toggle { display: block; position: relative; z-index: 2; }
  .nav-links {
    position: fixed; inset: 0; background: var(--bg);
    flex-direction: column; justify-content: center; gap: 30px;
    opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
  }
  .nav-links.open { opacity: 1; visibility: visible; }
  .nav-links a:not(.btn) { font-size: 16px; }
  .brand { position: relative; z-index: 2; }
  .scroll-cue { display: none; }
  .hero-actions .btn { flex: 1 1 100%; text-align: center; }
  .film { padding-left: 0; padding-right: 0; }
  .film-frame { aspect-ratio: 4 / 5; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .home-grid { grid-template-columns: 1fr; }
  .home-img { aspect-ratio: 4 / 3; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 40vw; gap: 8px; }
  .g-last { grid-column: span 2; }
  .location { grid-template-columns: 1fr; }
  .location-map { aspect-ratio: 4 / 3; }
  .row { grid-template-columns: 1fr; }
  form .btn { justify-self: stretch; text-align: center; }
  .pop { padding: 56px 8px 70px; }
  .pop-arrow { position: absolute; bottom: 14px; }
  .pop-prev { left: calc(50% - 62px); }
  .pop-next { right: calc(50% - 62px); }
  .pop-figure img { max-height: 56vh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; translate: none; transition: none; }
  .film-frame { transform: none; }
  .scroll-cue i { animation: none; }
}

/* real content (2026-11-16) */
.home-img { aspect-ratio: 4 / 3; }
a.home-card { display: block; color: inherit; text-decoration: none; }
.film-frame video { background: #000; object-fit: contain; }
.lot-map { padding: 0; cursor: zoom-in; background: #fff; overflow: hidden; aspect-ratio: auto; }
.lot-map img { display: block; width: 100%; height: auto; }
.agent { display: flex; gap: 20px; align-items: center; justify-content: center; text-align: left; margin: 30px 0 34px; }
.agent .agent-photo { width: 92px; height: 118px; flex: none; display: block; background-size: cover; background-position: center 20%; border: 1px solid var(--line); }
h1 .h1-eyebrow { display: block; font-family: var(--sans, Inter, sans-serif); line-height: 1.4; }
.agent div { display: grid; gap: 4px; }
.agent b { font: 500 24px var(--serif); color: var(--text); }
.agent a { color: var(--muted); text-decoration: none; font-size: 15px; }
.agent a:hover { color: var(--gold); }
#popImg { background: #fff; }

/* 9-photo gallery: on phones only the first photo is wide */
@media (max-width: 860px) {
  .gallery-grid .g-wide { grid-column: auto; }
  .gallery-grid .g:first-child { grid-column: span 2; }
}

/* Vito's facts (2026-11-16): lot status, prices, community */
.tag { display: block; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.home-info p.price { font: 500 26px var(--serif); color: var(--text); margin: 2px 0 6px; }
.community { padding: clamp(70px, 10vw, 150px) var(--pad) 0; }
.perks { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.perk { padding: clamp(24px, 3vw, 40px) clamp(14px, 2vw, 28px); border-left: 1px solid var(--line); }
.perk:first-child { border-left: 0; padding-left: 0; }
.perk b { display: block; font: 500 clamp(22px, 2.2vw, 30px) var(--serif); color: var(--text); margin-bottom: 8px; }
.perk span { color: var(--muted); font-size: 15px; }
.lot-list { list-style: none; border-top: 1px solid var(--line); margin-top: 26px; max-width: 520px; }
.lot-list li { display: flex; gap: 20px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 15px; line-height: 1.7; }
.lot-list b { font: 500 21px var(--serif); color: var(--text); min-width: 124px; }
.lot-list i { font-size: 13px; }
.location-text p.asof { font-size: 13px; margin: 14px 0 0; }
.agent span { color: var(--muted); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
@media (max-width: 860px) {
  .perks { grid-template-columns: 1fr 1fr; }
  .perk { padding-left: 0; border-left: 0; }
  .perk:nth-child(n+3) { border-top: 1px solid var(--line); }
  .lot-list li { flex-direction: column; gap: 2px; }
}

/* map + footer credit (2026-11-16) */
.map { line-height: 0; border-top: 1px solid var(--line); }
.map iframe { display: block; width: 100%; height: clamp(320px, 42vw, 520px); border: 0; }
.footer .credit { margin-top: 18px; font-size: 13px; color: var(--muted); }

/* Council roast fixes (2026-11-17) */
.home-info p.ask { color: var(--gold); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin: 2px 0 6px; }
.nav-links a.nav-tel { color: var(--text); font-weight: 500; letter-spacing: 0.04em; white-space: nowrap; }
.pop-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 12px; }
.pop-actions a:not(.btn) { color: var(--text); font-size: 13px; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.pop-actions a[hidden] { display: none; }
.builder { color: var(--muted); font-size: 15px; margin-top: 28px; max-width: 640px; }
/* home pages */
.hp { padding: clamp(110px, 14vw, 170px) var(--pad) clamp(60px, 8vw, 110px); }
.hp-head { max-width: 820px; }
.hp-head h1 { font-size: clamp(40px, 6.5vw, 84px); }
.hp-price { font: 500 clamp(26px, 3vw, 38px) var(--serif); margin: 14px 0 6px; }
.hp-facts { color: var(--muted); }
.hp-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 clamp(30px, 5vw, 56px); }
.hp-main img { width: 100%; max-height: 80vh; object-fit: cover; display: block; }
.hp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.hp-grid a { display: block; background: #000; overflow: hidden; }
.hp-grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; transition: transform 0.6s; }
.hp-grid a:hover img { transform: scale(1.03); }
.hp-grid a.plan img { object-fit: contain; background: #fff; }
.hp-back { display: inline-block; color: var(--gold); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 22px; }
@media (max-width: 860px) { .hp-grid { grid-template-columns: 1fr 1fr; } .hp-actions .btn { flex: 1 1 100%; text-align: center; } }
@media (max-width: 860px) {
  .nav-links.open-always { position: static; inset: auto; width: auto; height: auto; padding: 0; background: none; flex-direction: row; gap: 12px; opacity: 1; visibility: visible; transform: none; }
  .nav-links.open-always .nav-tel { display: none; }
}
