/* New-build project pages (seo/build-project-pages.py). Only these pages load
   this file, so the rest of the site never pays for it. */

.proj-hero {
  background: var(--offer);
  color: #fff;
  padding: 2.2rem 0 2.4rem;
}
.proj-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 2.4rem;
  align-items: center;
}
.proj-hero .crumbs,
.proj-hero .crumbs a { color: rgba(255, 255, 255, .62); }
.proj-hero .crumbs a:hover { color: #fff; }
.proj-hero .eyebrow { color: var(--brass-glow); font-weight: 600; margin: .8rem 0 .3rem; }
.proj-hero h1 { color: #fff; margin: 0 0 .6rem; }
.proj-hero__sub { color: rgba(255, 255, 255, .78); margin: 0 0 1.4rem; font-size: 1.08rem; line-height: 1.6; max-width: 44ch; }
.proj-hero__img { margin: 0; border-radius: 1.1rem; overflow: hidden; aspect-ratio: 1106 / 876; background: #3a342d; }
.proj-hero__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.proj-hero__actions { display: flex; gap: .6rem; flex-wrap: wrap; }

.proj-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .6rem;
  margin: 0 0 1.5rem;
}
.proj-facts div {
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: .8rem;
  padding: .7rem .75rem;
}
.proj-facts dt { font-size: 1.15rem; font-weight: 700; color: #fff; white-space: nowrap; }
.proj-facts dd { margin: .15rem 0 0; font-size: .85rem; color: rgba(255, 255, 255, .7); }

.btn-brass { background: var(--brass-text); border-color: var(--brass-text); color: #fff; }
.btn-brass:hover { background: #6f5427; border-color: #6f5427; color: #fff; }

.proj-body { padding-top: 2.4rem; }
.proj-body .lead { font-size: 1.1rem; line-height: 1.75; max-width: 70ch; }
.proj-body h2 { margin: 2.6rem 0 .5rem; }
.proj-note { color: var(--muted); margin: 0 0 1.1rem; }

.units {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr));
  gap: 1rem;
}
.unit {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: 1.15rem 1.2rem 1.2rem;
}
.unit__type { margin: 0 0 .45rem; font-size: 1.12rem; }
.unit__main { margin: 0 0 .3rem; font-weight: 500; line-height: 1.55; }
.unit__more { margin: 0 0 .9rem; color: var(--muted); font-size: .92rem; line-height: 1.55; }
.unit__price { margin: auto 0 .9rem; font-size: 1.3rem; font-weight: 700; color: var(--ink); }
.unit__from { font-size: .9rem; font-weight: 500; color: var(--muted); }
.unit__sold { margin: auto 0 0; font-weight: 700; color: var(--brass-text); }
.unit__actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.unit__actions .btn { flex: 1 1 auto; }
.unit.is-sold { opacity: .7; }

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.gallery figure { margin: 0; }
.gallery figure:last-child { grid-column: 1 / -1; }
.gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1rem;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: #e8e2d6;
}
.gallery figure:last-child img { aspect-ratio: 1594 / 628; }
.gallery figcaption { margin-top: .4rem; font-size: .88rem; color: var(--muted); }

.proj-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 2.4rem;
}

.proj-faq details {
  border-bottom: 1px solid var(--line);
  padding: .2rem 0;
}
.proj-faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: .75rem 0;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.proj-faq details p { margin: 0 0 .9rem; line-height: 1.7; color: #3d4440; }

.proj-contact {
  margin-top: 2.8rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}
.proj-contact__text h2 { margin-top: 0; }
.proj-contact__text p { color: #5d574e; line-height: 1.7; }
.proj-contact .inquiry { position: static; }

.proj-disclaimer { margin-top: 2.4rem; font-size: .82rem; color: var(--muted); line-height: 1.6; }

@media (max-width: 900px) {
  .proj-hero__grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .proj-specs, .proj-contact { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .proj-hero { padding: 1.4rem 0 1.8rem; }
  .proj-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: 1fr; }
  .gallery figure:last-child img { aspect-ratio: 3 / 2; }
}
