.services {
  color: var(--navy);
  background: var(--talc);
  padding-block: clamp(4rem, 8vw, 8rem);
}

.services-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr);
  align-items: center;
  gap: clamp(3rem, 8.25vw, 7.5rem);
}

.services-copy .eyebrow {
  margin: 0 0 1.15rem;
}

.services-copy h2 {
  margin: 0 0 clamp(1.7rem, 3.5vw, 3rem);
  font-family: var(--display);
  font-size: clamp(3.4rem, 6.2vw, 6.2rem);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.services-copy h2 em {
  font-weight: inherit;
}

.services-list {
  border-top: 1px solid #aab0c2;
}

.services-list details {
  border-bottom: 1px solid #aab0c2;
  scroll-margin-top: 6rem;
}

.services-list summary {
  display: flex;
  min-height: 4rem;
  padding-block: 1.05rem;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.65rem, 2.35vw, 2.35rem);
  line-height: 1.15;
  list-style: none;
  cursor: pointer;
}

.services-list summary::-webkit-details-marker {
  display: none;
}

.services-list summary::after {
  content: "";
  width: 1.85rem;
  height: 1.85rem;
  box-sizing: border-box;
  flex-shrink: 0;
  border: 1px solid #aab0c2;
  border-radius: 50%;
  background:
    linear-gradient(currentColor, currentColor) center / .72rem 1px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1px .72rem no-repeat;
}

.services-list details[open] > summary::after {
  background:
    linear-gradient(currentColor, currentColor) center / .72rem 1px no-repeat;
}

.services-list summary:hover::after {
  border-color: currentColor;
}

.services-list summary:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

.service-description {
  margin: 0 0 1.55rem;
  max-width: 46ch;
}

.service-description p {
  font-size: 1.1rem;
  line-height: 1.45;
  margin: 0 0 1.05rem;
}

.service-links {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .8rem 1.5rem;
}

.services-photo {
  aspect-ratio: 4 / 4.8;
  max-height: 39rem;
  width: 100%;
  overflow: hidden;
}

.services-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
}

@media (max-width: 760px) {
  .services-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.3rem;
  }

  .services-photo {
    aspect-ratio: 4 / 3;
    max-height: 24rem;
  }

  .services-list summary {
    min-height: 3.75rem;
  }
}
