/* A full-screen background fills its frame; contain is reserved for the
   standalone room illustrations elsewhere on the website. */
.home-page-body main .home-hero__media picture {
  display: contents;
}

.home-page-body main .home-hero__media img.room-illustration {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  transform: none;
}

/* Keep the rear workstation and aisle in view on a tall phone screen. */
@media (max-width: 767px) {
  .home-page-body main .home-hero__media img.room-illustration {
    object-position: 56% center;
  }
}

.home-page-body main .home-project-card .home-project-media > div {
  aspect-ratio: 3 / 2;
  display: block;
  padding: 0;
}

.home-page-body main .home-project-card .home-project-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: left top;
  transform: none;
}
