/* Image-led revisions requested for the homepage and residential page. */
.hero-photo {
  width: min(100%, 500px);
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.hero-photo img {
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

.intro-with-photo {
  grid-template-columns: .8fr 1fr 1fr;
  gap: 4vw;
  align-items: center;
}

.section-photo,
.new-chapter-photo,
.service-card-photo,
.proof-photo {
  display: block;
  width: 100%;
  object-fit: cover;
}

.section-photo,
.new-chapter-photo {
  aspect-ratio: 4 / 3;
}

.new-chapter-photo {
  object-position: center;
}

.investment-grid {
  display: grid;
  grid-template-columns: .9fr 1.15fr .9fr;
  gap: 4vw;
  align-items: center;
}

.investment-grid p {
  color: var(--muted);
}

.residential-approach {
  background-image: url('assets/generated/residential-home-lawn-wide.png');
  background-size: cover;
  background-position: center;
}

.residential-approach > .eyebrow {
  display: inline-block;
  background: var(--paper);
  padding: 10px 14px;
  margin-bottom: 14px;
}

.residential-approach .steps-grid article {
  background: var(--paper);
}

.residential-approach .steps-grid.four {
  gap: 16px;
}

.residential-approach .steps-grid.four article {
  padding: 26px 24px;
}

.residential-approach .steps-grid h3 {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 9px;
  align-items: start;
  color: #000000;
}

.residential-approach .step-number {
  color: var(--red);
  font-weight: 700;
}

.residential-services .content-grid article {
  padding: 0 0 36px;
}

.residential-services .content-grid article h3,
.residential-services .content-grid article p {
  margin-left: 36px;
  margin-right: 36px;
}

.residential-services .content-grid article h3 {
  margin-top: 28px;
}

.service-card-photo {
  height: 280px;
  object-position: center;
}

.residential-services article:nth-child(-n+3) .service-card-photo {
  object-fit: contain;
  background: var(--cream);
}

.residential-proof {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.proof-side {
  display: grid;
  gap: 34px;
}

.proof-photo {
  aspect-ratio: 3 / 2;
}

.proof-side ul {
  margin-bottom: 0;
}

@media (max-width: 1050px) {
  .intro-with-photo,
  .investment-grid {
    grid-template-columns: 1fr 1fr;
  }

  .intro-with-photo > div:last-child,
  .investment-grid > div:last-child {
    grid-column: 1 / -1;
  }

  .service-card-photo {
    height: 240px;
  }
}

@media (max-width: 760px) {
  .intro-with-photo,
  .investment-grid,
  .residential-proof {
    grid-template-columns: 1fr;
  }

  .intro-with-photo > div:last-child,
  .investment-grid > div:last-child {
    grid-column: auto;
  }

  .residential-approach {
    background-position: 62% center;
  }

  .service-card-photo {
    height: 220px;
  }
}
