:root {
  --ink: #0d0d0d;
  --ink-soft: #2b2b2b;
  --paper: #f5f5f3;
  --white: #ffffff;
  --gray: #6f6f6f;
  --line: rgba(13, 13, 13, 0.18);
  --line-light: rgba(255, 255, 255, 0.25);
  --display: "Cinzel", "Times New Roman", serif;
  --body: "Cormorant Garamond", Georgia, serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --heading: clamp(22px, 2.4vw, 36px); /* one size for every page heading */
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(18px, 1.25vw, 21px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  margin: 0;
  letter-spacing: 0.02em;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gutter);
  color: var(--white);
  transition: background 0.4s ease, padding 0.4s ease, color 0.4s ease;
}

.nav.is-solid {
  background: var(--paper);
  color: var(--ink);
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
}

.nav__brand {
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: 0.32em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav__brand { display: block; line-height: 0; }
.nav__logo { height: 28px; width: auto; transition: height 0.4s ease, filter 0.4s ease; }
.nav.is-solid .nav__logo { height: 24px; filter: invert(1); }

.nav__links { display: flex; gap: clamp(18px, 2.4vw, 40px); }

.nav__links a,
.nav__toggle {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
}

.nav__links a { position: relative; padding-block: 4px; }

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.nav__links a:hover::after { transform: scaleX(1); }

.nav__toggle {
  display: none;
  background: none;
  border: 1px solid currentColor;
  color: inherit;
  padding: 8px 14px;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  background: var(--ink);
  color: var(--white);
  display: grid;
  grid-template-rows: 1fr auto auto;
  padding: 120px var(--gutter) 32px;
}

.hero__eyebrow {
  align-self: center;
  justify-self: center;
  margin: 0;
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  opacity: 0.7;
}

.hero__title {
  align-self: end;
  font-size: var(--heading);
  line-height: 1.08;
  margin-bottom: clamp(40px, 8vh, 96px);
}

.hero__title span { display: block; }

.hero__meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line-light);
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.75;
}

/* ---------- Shared ---------- */
.label-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gray);
}

.label-row span:nth-child(2) { text-align: center; color: var(--ink); }
.label-row span:nth-child(3) { text-align: right; }

.section-title {
  text-align: center;
  font-size: var(--heading);
  margin: clamp(56px, 8vw, 104px) 0 clamp(32px, 4vw, 56px);
}

.script {
  font-style: italic;
  font-size: clamp(24px, 2.4vw, 32px);
  text-align: center;
  margin: 0 0 clamp(40px, 5vw, 64px);
  color: var(--ink-soft);
}

.btn {
  display: inline-block;
  min-width: 190px;
  padding: 12px 28px;
  border: 1px solid currentColor;
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn--light { color: var(--white); }
.btn--light:hover { background: var(--white); color: var(--ink); }

/* Photography stays black & white */
.photo {
  position: relative;
  background-color: #e6e6e3;
  background-size: cover;
  background-position: center;
}

/* Empty photo slot: shows its label until a link is added in photos.js */
.photo.is-empty { filter: none; }

.photo.is-empty::after {
  content: attr(aria-label);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  text-align: center;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray);
}

/* ---------- Intro ---------- */
.intro {
  padding: clamp(80px, 11vw, 160px) var(--gutter);
}

.intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 280px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}

.intro__grid p { margin: 0; font-size: clamp(18px, 1.35vw, 22px); }
.intro__grid p:first-child { text-align: right; }

.intro__image { margin: 0; aspect-ratio: 3 / 4; overflow: hidden; }
.intro__image .photo { width: 100%; height: 100%; }

/* ---------- Triptych ---------- */
.triptych {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0 8px;
}

.triptych__panel { aspect-ratio: 3 / 4; }

/* ---------- Valley ---------- */
.valley,
.sitemap,
.homes { padding: clamp(80px, 10vw, 140px) var(--gutter) 0; }

.valley__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  max-width: var(--max);
  margin: clamp(48px, 6vw, 88px) auto 0;
}

.valley__lead {
  font-size: var(--heading);
  line-height: 1.2;
}

.valley__text p { margin: 0 0 1.4em; }

.address {
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.12em;
  padding-top: 1.4em;
  border-top: 1px solid var(--line);
}

.address span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 6px;
}

/* ---------- Site map ---------- */
.sitemap__figure {
  max-width: 1040px;
  margin: 0 auto;
}

.sitemap__figure img { width: 100%; }

.legend {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px clamp(24px, 4vw, 56px);
  max-width: 1040px;
  margin: 36px auto 0;
  padding: 0;
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.legend li { display: flex; align-items: center; gap: 12px; }
.legend small { display: block; font-family: var(--body); font-size: 14px; letter-spacing: 0; color: var(--gray); }

.dot {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-style: normal;
  font-size: 13px;
  border: 1px solid var(--ink);
}

.dot--available { background: var(--white); color: var(--ink); }
.dot--soon { background: #9a9a9a; color: var(--white); border-color: #9a9a9a; }
.dot--pending { background: #4a4a4a; color: var(--white); border-color: #4a4a4a; }
.dot--sold { background: var(--ink); color: var(--white); }

/* ---------- Listings ---------- */
.listing {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 2fr;
  max-width: 1040px;
  min-height: 430px;
  margin: 0 auto;
  background: var(--ink);
  color: var(--white);
}

.listing__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(24px, 3vw, 40px);
}

.listing__status {
  margin: 0;
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.7;
}

.listing__name {
  font-size: clamp(30px, 3vw, 42px);
  margin-top: 10px;
}

.listing .btn { margin-top: auto; }

.listing__image { min-height: 320px; }

.listing--soon { background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.footer__bottom a { text-decoration: none; border-bottom: 1px solid var(--line-light); }


/* ---------- Footer ---------- */
.footer {
  margin-top: clamp(96px, 12vw, 180px);
  padding: clamp(80px, 10vw, 140px) var(--gutter) 28px;
  background: var(--ink);
  color: var(--white);
  text-align: center;
}

.footer__eyebrow {
  margin: 0 0 20px;
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  opacity: 0.6;
}

.footer__title { font-size: var(--heading); line-height: 1.15; }

.footer__address { margin: 24px 0 40px; opacity: 0.8; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(80px, 10vw, 140px);
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s ease, transform 1s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

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

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav__toggle { display: block; }

  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    display: none;
  }

  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 16px var(--gutter); border-top: 1px solid var(--line); }
  .nav__links a::after { display: none; }

  .intro__grid { grid-template-columns: 1fr; text-align: left; }
  .intro__grid p:first-child { text-align: left; }
  .intro__image { order: -1; max-width: 320px; width: 100%; margin: 0 auto; }

  .triptych { grid-template-columns: 1fr 1fr; }
  .triptych__panel:last-child { display: none; }

  .valley__body { grid-template-columns: 1fr; }

  .listing { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .listing .btn { margin-top: 32px; }
  .listing__image { aspect-ratio: 3 / 2; min-height: 0; order: -1; }

  .label-row { grid-template-columns: auto 1fr; gap: 16px; }
  .label-row span:nth-child(2) { text-align: left; }
  .label-row span:nth-child(3) { display: none; }
}

/* ---------- Lot page ---------- */
.btn--dark { color: var(--ink); }
.btn--dark:hover { background: var(--ink); color: var(--white); }

.lot-head {
  padding: clamp(120px, 14vw, 180px) var(--gutter) clamp(40px, 5vw, 64px);
  text-align: center;
}

.lot-head__back {
  display: inline-block;
  margin-bottom: clamp(40px, 6vw, 72px);
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gray);
}

.lot-head__back:hover { color: var(--ink); }

.lot-head__status {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gray);
}

.lot-head__title {
  font-size: var(--heading);
  line-height: 1;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.gallery {
  display: grid;
  gap: 8px;
  padding: 0 8px;
}

.gallery__row { display: grid; gap: 8px; }
.gallery__row--1 { grid-template-columns: 1fr; }
.gallery__row--2 { grid-template-columns: 1fr 1fr; }
.gallery__row--3 { grid-template-columns: repeat(3, 1fr); }

.gallery__item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #e4e4e1;
  cursor: zoom-in;
}

.gallery__row--1 .gallery__item { aspect-ratio: 16 / 8; }
.gallery__row--2 .gallery__item { aspect-ratio: 4 / 5; }
.gallery__row--3 .gallery__item { aspect-ratio: 3 / 4; }

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}

.gallery__item:hover img { transform: scale(1.03); }

/* Placeholder until real photos are added */
.gallery__item.is-empty::before,
.gallery__item.is-empty::after {
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--display);
  text-transform: uppercase;
}

.gallery__item.is-empty::before {
  content: attr(data-label);
  top: 50%;
  transform: translateY(-120%);
  font-size: 13px;
  letter-spacing: 0.24em;
  color: var(--ink);
}

.gallery__item.is-empty::after {
  content: attr(data-file);
  top: 50%;
  transform: translateY(40%);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--gray);
  text-transform: none;
}

.lot-pager {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: var(--max);
  margin: clamp(64px, 8vw, 112px) auto 0;
  padding: 24px var(--gutter);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: clamp(20px, 2vw, 28px);
}

.lot-pager a { text-decoration: none; }
.lot-pager a:last-child { text-align: right; }

.lot-pager span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gray);
}

.lot-pager .lot-pager__all {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 72px 1fr 72px;
  align-items: center;
  background: rgba(10, 10, 10, 0.97);
  color: var(--white);
}

.lightbox[hidden] { display: none; }

.lightbox__figure {
  position: relative;
  margin: 0;
  height: 84vh;
  display: grid;
  place-items: center;
}

.lightbox__figure img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.lightbox.is-empty .lightbox__figure img { display: none; }

.lightbox.is-empty .lightbox__figure::after {
  content: attr(data-label);
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.6;
}

.lightbox button {
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  font-family: var(--display);
}

.lightbox__arrow { font-size: 28px; height: 100%; opacity: 0.7; }
.lightbox__arrow:hover { opacity: 1; }

.lightbox__close {
  position: absolute;
  top: 20px;
  right: var(--gutter);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.lightbox__count {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  margin: 0;
  text-align: center;
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.24em;
  opacity: 0.7;
}

@media (max-width: 860px) {
  .gallery__row--3 { grid-template-columns: 1fr 1fr; }
  .gallery__row--3 .gallery__item:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .gallery__row--1 .gallery__item { aspect-ratio: 4 / 3; }
  .lightbox { grid-template-columns: 44px 1fr 44px; }
  .lot-pager { font-size: 18px; }
}

/* ---------- Photo hero (builder / team) ---------- */
.hero--photo { position: relative; overflow: hidden; isolation: isolate; }

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero--photo .hero__bg:not(.is-empty)::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.2) 40%, rgba(0,0,0,0.75) 100%);
}

.hero--photo .hero__bg.is-empty { background-color: #1c1c1c; }
.hero--photo .hero__bg.is-empty::after { align-items: start; padding-top: 90px; color: rgba(255,255,255,0.35); }

.nav__links a[aria-current="page"]::after { transform: scaleX(1); }

/* ---------- People (home) ---------- */
.people { padding: clamp(80px, 10vw, 140px) var(--gutter) 0; }

.people__intro,
.process__intro,
.team-intro {
  max-width: 720px;
  margin: 0 auto clamp(48px, 6vw, 80px);
  text-align: center;
  font-size: clamp(19px, 1.5vw, 23px);
}

.people__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  max-width: var(--max);
  margin: 0 auto;
}

.people__card { text-decoration: none; display: block; }
.people__duo { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; aspect-ratio: 4 / 3; }
.people__duo .photo { aspect-ratio: auto; background-position: center 20%; }
.people__card > .photo { aspect-ratio: 4 / 3; transition: opacity 0.6s ease; }
.people__card:hover .photo:not(.is-empty) { opacity: 0.88; }

.people__role,
.process__num {
  margin: 0;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gray);
}

.people__role { margin-top: 24px; }
.people__card h3 { font-size: clamp(24px, 2.4vw, 34px); margin: 8px 0 10px; }
.people__card > p:not(.people__role) { margin: 0 0 18px; }

.people__link {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}

/* ---------- Founders ---------- */
.founders { padding: clamp(80px, 10vw, 140px) var(--gutter) 0; }

.founders__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 48px);
  align-items: end;
  max-width: 1080px;
  margin: 0 auto;
}

.founder { margin: 0; text-align: center; }
.founder__photo { aspect-ratio: 3 / 4; }
.founder:nth-child(2) .founder__photo { aspect-ratio: 4 / 5; }
.founder h3 { font-size: clamp(20px, 1.8vw, 26px); margin-top: 20px; }
.founder figcaption p { margin: 6px 0 0; font-family: var(--display); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gray); }
.founder .founder__note p { font-family: var(--body); font-style: italic; font-size: clamp(18px, 1.4vw, 21px); letter-spacing: 0; text-transform: none; color: var(--ink-soft); margin-top: 20px; }

/* ---------- Film ---------- */
.film {
  margin-top: clamp(96px, 12vw, 180px);
  padding: clamp(80px, 10vw, 140px) var(--gutter);
  background: var(--ink);
  color: var(--white);
  text-align: center;
}

.film__eyebrow { margin: 0 0 18px; font-family: var(--display); font-size: 12px; letter-spacing: 0.4em; text-transform: uppercase; opacity: 0.6; }
.film__title { font-size: var(--heading); margin-bottom: clamp(40px, 5vw, 64px); }

.film__frame {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--line-light);
}

.film__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.film__caption { max-width: 560px; margin: 28px auto 0; font-style: italic; opacity: 0.75; }

/* ---------- Quote ---------- */
.quote { padding: clamp(96px, 12vw, 180px) var(--gutter) 0; text-align: center; }
.quote blockquote { max-width: 980px; margin: 0 auto; }

.quote blockquote p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.3;
}

.quote cite {
  display: block;
  margin-top: 28px;
  font-style: normal;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray);
}

.quote__more { max-width: 680px; margin: 40px auto 0; color: var(--ink-soft); font-style: italic; }

/* ---------- Process ---------- */
.process,
.lifestyle { padding: clamp(80px, 10vw, 140px) var(--gutter) 0; }

.process__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 36px);
  max-width: var(--max);
  margin: 0 auto;
  padding: 0;
}

.process__img { aspect-ratio: 4 / 3; background-color: var(--white); background-size: contain; background-repeat: no-repeat; border: 1px solid var(--line); }
.process__num { margin-top: 20px; }
.process__step h3 { font-size: 20px; margin: 6px 0 6px; }
.process__step p:last-child { margin: 0; font-style: italic; color: var(--ink-soft); }

/* ---------- Lifestyle ---------- */
.lifestyle__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: clamp(20px, 3vw, 48px);
  max-width: var(--max);
  margin: clamp(48px, 6vw, 88px) auto 0;
}

.lifestyle__tall { grid-row: 1 / 3; aspect-ratio: 4 / 5; }
.lifestyle__wide { aspect-ratio: 4 / 3; }
.lifestyle__copy { align-self: center; }
.lifestyle__copy h2 { font-size: var(--heading); margin-bottom: 20px; }
.lifestyle__copy p { margin: 0; }
.lifestyle__caption { font-style: italic; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.6; color: var(--ink-soft); }

.lifestyle__grid--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.lifestyle__grid--flip .lifestyle__tall { grid-column: 2; grid-row: 1 / 3; }
.lifestyle__grid--flip .lifestyle__wide { grid-column: 1; grid-row: 2; }
.lifestyle__grid--flip .lifestyle__copy { grid-column: 1; grid-row: 1; }

/* ---------- Builder contact ---------- */
.builder-contact {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  max-width: var(--max);
  margin: clamp(96px, 12vw, 160px) auto 0;
  padding: 0 var(--gutter);
}

.builder-contact__photo { aspect-ratio: 4 / 3; }
.builder-contact__info h2 { font-size: var(--heading); margin: 10px 0 20px; }
.builder-contact__info a { text-decoration: none; border-bottom: 1px solid var(--line); }
.builder-contact__note { font-style: italic; color: var(--gray); }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--line);
}

.stat {
  padding: clamp(32px, 4vw, 56px) 12px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(32px, 4vw, 56px); line-height: 1.1; }
.stat span { display: block; margin-top: 8px; font-family: var(--display); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gray); }

.footer__address a { text-decoration: none; }

@media (max-width: 860px) {
  .people__grid,
  .founders__grid,
  .builder-contact { grid-template-columns: 1fr; }

  .founders__grid { max-width: 420px; }
  .founder:nth-child(2) { order: 3; }

  .process__grid { grid-template-columns: 1fr 1fr; }

  .lifestyle__grid,
  .lifestyle__grid--flip { grid-template-columns: 1fr; grid-template-rows: none; }
  .lifestyle__grid .lifestyle__tall,
  .lifestyle__grid .lifestyle__wide,
  .lifestyle__grid .lifestyle__copy { grid-column: auto; grid-row: auto; }

  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

}

/* ---------- Listing details + lot page details ---------- */
.listing--gap { margin-top: clamp(24px, 3vw, 40px); }
.listing__address { margin: 6px 0 0; font-style: italic; opacity: 0.85; }
.listing__specs { margin: 14px 0 0; font-family: var(--display); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.7; }
.listing--soon .listing__address,
.listing--soon .listing__specs { opacity: 1; color: var(--gray); }

.lot-head__title { margin-bottom: 12px; }
.lot-head__address { margin: 0 0 clamp(40px, 6vw, 72px); font-style: italic; font-size: clamp(20px, 2vw, 26px); color: var(--ink-soft); }
.lot-head__address:empty { margin-bottom: clamp(40px, 6vw, 72px); }

.lot-specs { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); margin-bottom: clamp(48px, 6vw, 80px); border-bottom: 0; }
.gallery .lot-specs { width: 100%; margin: clamp(16px, 3vw, 40px) auto clamp(24px, 4vw, 56px); }
.lot-specs .stat { padding: clamp(20px, 2.4vw, 32px) 12px; }
.lot-specs .stat strong { font-size: clamp(19px, 1.7vw, 24px); }
.lot-specs .stat span { font-size: 10px; margin-top: 6px; }

@media (max-width: 860px) {
  .lot-specs { grid-template-columns: 1fr 1fr; }
  .lot-specs .stat { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .lot-specs .stat:nth-child(2n) { border-right: 0; }
}

/* ---------- View all homes cards ---------- */
.home-cards {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3.5vw, 48px) clamp(20px, 2.5vw, 32px);
  max-width: 1040px;
  margin: 0 auto;
  padding: 0;
}

.home-card { display: block; height: 100%; text-decoration: none; background: var(--white); border: 1px solid var(--line); }
.home-card__photo { aspect-ratio: 4 / 3; transition: opacity 0.5s ease; }
a.home-card:hover .home-card__photo:not(.is-empty) { opacity: 0.88; }
.home-card__info { padding: 22px 24px 26px; }

.home-card__status {
  margin: 0;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gray);
}

.home-card h3 { font-size: clamp(22px, 2vw, 28px); margin-top: 6px; }
.home-card__address { margin: 4px 0 0; font-style: italic; color: var(--ink-soft); }

.home-card__link {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

@media (max-width: 860px) {
  .home-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .home-cards { grid-template-columns: 1fr; }
}

/* ---------- Team intro button ---------- */
.team-intro { margin-bottom: 28px; }
.team-intro__cta { margin: 0; text-align: center; }

/* ---------- Other communities ---------- */
.communities { padding: 0 var(--gutter); }

.communities__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 56px);
  max-width: 1040px;
  margin: 0 auto;
  padding: 0;
}

.community__photo { aspect-ratio: 4 / 3; }

.community__location {
  margin: 22px 0 0;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gray);
}

.community h3 { font-size: clamp(22px, 2vw, 28px); margin-top: 6px; }
.community__tagline { margin: 4px 0 0; font-style: italic; color: var(--ink-soft); }
.community__text { margin: 10px 0 0; }

.community__link {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

@media (max-width: 640px) {
  .communities__grid { grid-template-columns: 1fr; }
}

.footer__phone { margin: -24px 0 32px; font-family: var(--display); font-size: 15px; letter-spacing: 0.16em; }
.footer__phone a { text-decoration: none; }

/* ---------- Interactive homesite maps ---------- */
.plats { display: grid; gap: clamp(56px, 7vw, 96px); max-width: 1040px; margin: clamp(64px, 8vw, 112px) auto 0; }
.plat h3 { font-size: clamp(22px, 2vw, 28px); margin: 6px 0 20px; }
.plat__frame { position: relative; height: min(85vh, 820px); border: 1px solid var(--line); background: var(--white); }
.plat__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 640px) { .plat__frame { height: 75vh; } }

/* Tighter menu on mid-size screens so the links never touch the logo */
@media (min-width: 861px) and (max-width: 1100px) {
  .nav__links { gap: 16px; }
  .nav__links a { font-size: 11px; letter-spacing: 0.14em; }
}
