.new-homes-hero .hero-image { object-position: center 58%; }
.new-homes-hero .project-hero-content h1 { max-width: 9ch; }

.new-homes-portfolio { max-width: 108rem; }
.new-homes-heading {
  max-width: 58rem;
  margin: clamp(2.8rem, 6vw, 5.5rem) 0 clamp(3.5rem, 7vw, 6.5rem) calc(16.666% + 1.4rem);
}
.new-homes-heading h2,
.new-homes-sustainability h2 {
  margin: 0;
  color: var(--exedra-deep);
  font-size: clamp(2.65rem, 5vw, 5.6rem);
}
.new-homes-heading > p:last-child { margin-top: 1.7rem; color: var(--muted); }

.new-homes-list { border-top: 1px solid var(--line); }
.new-home-entry {
  display: grid;
  grid-template-columns: minmax(19rem, .72fr) minmax(0, 1.65fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: center;
  padding: clamp(3.8rem, 7vw, 7rem) 0;
  border-bottom: 1px solid var(--line);
}
.new-home-entry:nth-child(even) { grid-template-columns: minmax(0, 1.65fr) minmax(19rem, .72fr); }
.new-home-entry:nth-child(even) .new-home-copy { grid-column: 2; grid-row: 1; }
.new-home-entry:nth-child(even) .new-home-images { grid-column: 1; grid-row: 1; }
.new-home-copy { max-width: 32rem; }
.new-home-number {
  margin: 0 0 clamp(3rem, 6vw, 6rem);
  color: var(--exedra);
  font-size: .75rem;
  letter-spacing: .18em;
}
.new-home-copy h3 {
  margin: 0 0 .8rem;
  color: var(--exedra-deep);
  font-size: clamp(3rem, 5vw, 5.75rem);
  font-weight: 300;
  line-height: .95;
}
.new-home-copy h4 {
  max-width: 24ch;
  margin: 0 0 1.4rem;
  color: var(--exedra-deep);
  font-size: clamp(1.2rem, 1.7vw, 1.65rem);
  font-weight: 400;
  line-height: 1.35;
}
.new-home-copy > p:last-child { color: var(--muted); }
.new-home-images { display: grid; gap: 1rem; }
.new-home-images.has-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.new-home-image {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #deddd7;
  cursor: zoom-in;
  text-align: left;
}
.new-home-images.has-pair .new-home-image:first-child { margin-top: clamp(0rem, 4vw, 4rem); }
.new-home-images.has-pair .new-home-image:last-child { margin-bottom: clamp(0rem, 4vw, 4rem); }
.new-home-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1), filter .3s; }
.new-home-image span {
  position: absolute;
  left: 1.1rem;
  bottom: 1rem;
  padding: .48rem .62rem;
  color: var(--paper);
  background: rgba(29, 29, 34, .5);
  backdrop-filter: blur(7px);
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.new-home-image:hover img,
.new-home-image:focus-visible img { transform: scale(1.025); filter: brightness(.86); }

.new-homes-sustainability {
  display: grid;
  grid-template-columns: minmax(19rem, .85fr) minmax(0, 1.4fr);
  gap: clamp(3rem, 8vw, 9rem);
  padding: clamp(5rem, 9vw, 9rem) clamp(1.75rem, 7vw, 7rem);
  color: var(--paper);
  background: var(--exedra-deep);
}
.new-homes-sustainability .project-section-label,
.new-homes-sustainability h2 { color: var(--paper); }
.new-homes-sustainability .project-section-label span { border-color: rgba(255, 255, 255, .55); }
.new-homes-sustainability h2 { margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.new-homes-principles article { position: relative; padding: 0 0 2.5rem 3.5rem; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.new-homes-principles article + article { margin-top: 2.6rem; }
.new-homes-principles article > span { position: absolute; left: 0; top: .25rem; color: rgba(255, 255, 255, .58); font-size: .72rem; letter-spacing: .14em; }
.new-homes-principles h3 { margin: 0 0 .8rem; color: var(--paper); font-size: clamp(1.4rem, 2.1vw, 2rem); }
.new-homes-principles p { margin: 0; color: rgba(255, 255, 255, .72); }

@media (max-width: 920px) {
  .new-homes-heading { margin-left: 0; }
  .new-home-entry,
  .new-home-entry:nth-child(even) { grid-template-columns: 1fr; gap: 2.4rem; }
  .new-home-entry:nth-child(even) .new-home-copy,
  .new-home-entry:nth-child(even) .new-home-images { grid-column: 1; grid-row: auto; }
  .new-home-entry:nth-child(even) .new-home-copy { grid-row: 1; }
  .new-home-copy { max-width: 42rem; }
  .new-home-number { margin-bottom: 2rem; }
  .new-homes-sustainability { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .new-home-images.has-pair { grid-template-columns: 1fr; }
  .new-home-images.has-pair .new-home-image:first-child,
  .new-home-images.has-pair .new-home-image:last-child { margin: 0; }
  .new-home-entry { padding-block: 3.5rem; }
  .new-home-copy h3 { font-size: clamp(2.7rem, 15vw, 4.5rem); }
}

@media (prefers-reduced-motion: reduce) {
  .new-home-image img { transition: none; }
}
