.service-directory { padding-block: clamp(1.35rem, 4vw, 4rem); }
.service-list { display: grid; gap: clamp(1rem, 2.5vw, 2rem); list-style: none; margin: 0; padding: 0; }
.service-row {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "copy";
  align-items: end;
  aspect-ratio: 4 / 3;
  min-height: min-content;
  overflow: clip;
  border-radius: var(--radius-ui);
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
}
.service-photo {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.service-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.service-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgb(12 12 12 / 96%) 0%, rgb(12 12 12 / 86%) 35%, rgb(12 12 12 / 42%) 63%, transparent 86%);
}
.service-copy { grid-area: copy; padding: clamp(1rem, 3.8vw, 3.25rem); }
.service-copy h2 { display: flex; gap: .5rem; align-items: baseline; font-size: clamp(1.35rem, 3vw, 2.85rem); line-height: 1.1; letter-spacing: -.035em; }
.service-copy h2 .symbol { flex: none; align-self: center; width: .85em; height: .85em; color: var(--accent); }
.service-copy p { margin-top: .65rem; max-width: 40ch; font-size: clamp(.94rem, 1.4vw, 1.125rem); line-height: 1.48; color: #eee; }
.service-detail { display: inline-flex; align-items: center; gap: .35rem; margin-top: 1rem; font-weight: 700; font-size: .95rem; }
.service-detail .symbol { width: 1rem; height: 1rem; color: var(--accent); }
.service-row:is(:hover, :focus-visible) h2 span { text-decoration: underline var(--accent) 1px; text-underline-offset: .18em; }
.service-row:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; }
@media (max-width: 48rem), (hover: none) {
  .service-copy h2 span { text-decoration: underline var(--accent) 1px; text-underline-offset: .18em; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .service-photo img { transition: transform .32s ease-out; }
  .service-row:hover img { transform: scale(1.025); }
}
@media (width < 44rem) {
  .service-copy {
    justify-self: center;
    width: min(100%, 32rem);
    padding: clamp(1rem, 4.6vw, 1.7rem);
    text-align: center;
  }
  .service-copy h2 { justify-content: center; }
  .service-copy p { margin: .45rem auto 0; }
  .service-detail { margin-top: .65rem; }
}
@media (min-width: 44rem) {
  .service-row {
    --shade-direction: 90deg;
    aspect-ratio: auto;
    min-height: clamp(15rem, 35vw, 21rem);
    grid-template-areas: "copy scene";
  }
  .service-list li:nth-child(even) .service-row {
    --shade-direction: 270deg;
    grid-template-areas: "scene copy";
  }
  .service-row, .service-list li:nth-child(even) .service-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-photo img { width: 83%; position: absolute; right: 0; }
  .service-list li:nth-child(even) .service-photo img { left: 0; }
  .service-photo::after {
    background: linear-gradient(var(--shade-direction), var(--ink) 17%, rgb(27 27 27 / 92%) 32%, rgb(27 27 27 / 30%) 63%, transparent 85%);
  }
}

.service-information {
  margin-top: clamp(1.5rem, 4vw, 3rem);
  border-block: 1px solid var(--rule);
}
.service-information summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.service-information summary::-webkit-details-marker { display: none; }
.service-information summary .symbol { width: 1.125rem; height: 1.125rem; transform: rotate(90deg); }
.service-information[open] summary .symbol { transform: rotate(-90deg); }
.service-information-copy { max-width: 72ch; margin-inline: auto; text-align: start; padding-bottom: 1.5rem; overflow-wrap: anywhere; line-height: 1.65; }
.service-information-copy > * + * { margin-top: .85rem; }
