.service-card.residential {
  background-image: url("../img/residential.webp");
}

.service-card.commercial {
  background-image: url("../img/commercial.webp");
}

.about-header {
  position: relative;
  z-index: 10;
}

.service-hero {
  position: relative;
  min-height: clamp(360px, 56vw, 640px);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: var(--ivory);
  background: var(--charcoal);
}

.service-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(
    90deg,
    rgba(20, 18, 15, 0.58),
    rgba(20, 18, 15, 0.08) 80%
  );
}

.service-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 56%;
}

.service-hero-copy {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 72px 7.5%;
}

.service-hero .eyebrow {
  margin-bottom: 20px;
  color: var(--ivory);
}

.service-hero .eyebrow::after {
  background: rgba(243, 239, 231, 0.55);
}

.service-hero h1 {
  margin: 0;
  font: 500 clamp(66px, 9vw, 100px) / 0.9 var(--serif);
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .service-hero {
    min-height: 430px;
  }

  .service-hero-copy {
    padding: 48px 23px;
  }
}
