.services-hero .hero-photo img {
  object-position: 54% center;
}

.services-heading {
  align-items: end;
}

.services-heading h2 em {
  color: var(--gold);
}

.services-heading > p {
  max-width: 430px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.service-card {
  min-width: 0;
  overflow: hidden;
  background: #111411;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 22px 54px #0004;
}

.service-card-image {
  position: relative;
  overflow: hidden;
  height: 240px;
  background: #090b0a;
}

.service-card-image::after {
  content: '';
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent, #050605e8);
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.78) saturate(.82);
  transition: transform .6s, filter .3s;
}

.service-card:nth-child(4) .service-card-image img {
  object-position: 68% center;
}

.service-card:hover .service-card-image img {
  transform: scale(1.035);
  filter: brightness(.9) saturate(.9);
}

.service-card-image span {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 15px;
  left: 20px;
  color: var(--white);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 25px;
  line-height: 1.1;
}

.service-card-copy {
  padding: 27px 26px 30px;
}

.service-card-copy .eyebrow {
  margin-bottom: 10px;
}

.service-card-copy h3 {
  margin-bottom: 15px;
  font-size: 31px;
}

.service-card-copy > p:not(.eyebrow) {
  min-height: 82px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.service-card-copy .text-link {
  margin-top: 22px;
  color: var(--gold);
}

.services-advice .story-image img {
  object-position: center 18%;
}

.services-closing .closing-copy h2 em {
  color: var(--gold);
}

@media (max-width: 1050px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .services-hero .hero-photo img {
    object-position: 58% center;
  }

  .services-heading > p {
    margin-top: 22px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .service-card {
    border-radius: 16px;
  }

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

  .service-card-copy {
    padding: 23px 20px 26px;
  }

  .service-card-copy > p:not(.eyebrow) {
    min-height: 0;
  }

  .service-card-copy h3 {
    font-size: 29px;
  }
}

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