.residential .hero-photo {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  gap: 6px;
  min-width: 0;
  min-height: 0;
  background: var(--cream);
}
.residential .hero-photo img {
  position: static;
  width: 100%;
  height: auto;
}
.residential .hero-photo img + img {
  aspect-ratio: 2.14;
  object-fit: cover;
  object-position: center 62%;
}
.residential .approach img {
  align-self: center;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}
.residential-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.residential-project.wide { grid-column: 1 / -1; }
.residential-project img {
  height: auto;
  aspect-ratio: 2.1;
  object-fit: cover;
}
.residential-project.portrait img {
  aspect-ratio: 4 / 5;
  object-position: center 53%;
}
.residential-project.bed img {
  aspect-ratio: 16 / 9;
  object-position: center 53%;
}
.residential-project figcaption {
  padding: 10px 0 0;
  font: 700 1.15rem Georgia, serif;
}
@media (max-width: 550px) {
  .residential-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}

.residential .intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 12px;
  padding-block: clamp(36px, 5vw, 68px) 24px;
  text-align: center;
}
.residential .intro h2, .residential .intro p { margin: 0; }
.residential .intro p { max-width: 58ch; }
.residential #projects .section-heading {
  justify-content: center;
  margin-bottom: 16px;
  text-align: center;
}
.residential #projects .section-heading h2 { margin: 0; }

.storage-bed-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.residential-project .storage-bed-photos img {
  aspect-ratio: auto;
}
@media (max-width: 640px) {
  .storage-bed-photos { grid-template-columns: minmax(0, 1fr); }
}
