#services {
  --journal-line: #cdd5c8;
  --journal-teal: #00695c;
  --journal-ink: #152d29;
  --journal-muted: #485d55;
  padding-block: clamp(44px, 6vw, 88px);
  background: #f6f3e9;
  border-bottom: 0;
  color: var(--journal-ink);
  font-family: Manrope, system-ui, sans-serif;
  font-weight: 700;
}

#services > .wrap { width: min(1200px, calc(100% - 104px)); }

#services .kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--journal-teal);
  font-size: 12px;
  font-weight: 800;
  line-height: normal;
  letter-spacing: .14em;
}

#services .kicker::before { content: none; }

#services h2 {
  max-width: 1000px;
  color: var(--journal-ink);
  font-size: clamp(32px, 5vw, 65px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.058em;
  text-wrap: wrap;
}

#services .section-lead {
  max-width: none;
  margin: 14px 0 clamp(27px, 4vw, 52px);
  color: var(--journal-muted);
  font-size: clamp(16px, 1.7vw, 22px);
  line-height: 1.5;
}

#services .services-journal {
  display: grid;
  grid-template-columns: minmax(0, .83fr) minmax(0, 1.55fr);
  align-items: start;
  gap: 34px;
}

#services .journal-photo {
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  border-radius: 180px 180px 14px 14px;
  background: #e6ece0;
}

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

#services .journal-lists {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

#services .journal-lists ul {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--journal-line);
  list-style: none;
}

#services .journal-link {
  --row-pad: 16px;
  position: relative;
  display: block;
  min-height: 44px;
  padding: var(--row-pad) 38px var(--row-pad) 10px;
  border-bottom: 1px solid var(--journal-line);
  overflow-wrap: break-word;
  transition: background-color 180ms ease-out;
}

#services .journal-link h3 {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.27;
  letter-spacing: -.03em;
}

#services .journal-link p {
  margin-top: 6px;
  color: var(--journal-muted);
  font-size: 14px;
  line-height: 1.52;
}

#services .journal-arrow {
  position: absolute;
  top: var(--row-pad);
  right: 10px;
  width: 19px;
  color: var(--journal-teal);
  font-size: 19px;
  line-height: 1.15;
  text-align: center;
}

#services .journal-link::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--journal-teal);
  content: "";
  transform: scaleY(0);
  transition: transform 180ms ease-out;
}

#services .journal-link:is(:focus-visible, :active) { background: #e6eee3; }

#services .journal-link:focus-visible {
  z-index: 1;
  outline-offset: -3px;
}

#services .journal-link:is(:focus-visible, :active)::before { transform: scaleY(1); }

@media (hover: hover) {
  #services .journal-link:hover { background: #e6eee3; }
  #services .journal-link:hover h3 { color: var(--journal-teal); }
  #services .journal-link:hover::before { transform: scaleY(1); }
}

@media (max-width: 1050px) {
  #services > .wrap { width: calc(100% - 56px); }
  #services .services-journal {
    grid-template-columns: minmax(0, .64fr) minmax(0, 1.36fr);
    gap: 20px;
  }
}

@media (max-width: 800px) {
  #services .services-journal { grid-template-columns: minmax(0, 1fr); }
  #services .journal-photo {
    width: 100%;
    max-width: 560px;
    aspect-ratio: 2 / 1;
    border-radius: 12px;
  }
}

@media (max-width: 610px) {
  #services > .wrap { width: calc(100% - 36px); }
  #services h2 { max-width: 15ch; }
  #services .section-lead { max-width: 29ch; }
  #services .journal-photo { aspect-ratio: 1.55; }
  #services .journal-lists { grid-template-columns: minmax(0, 1fr); gap: 0; }
  #services .journal-lists ul + ul { border-top: 0; }
  #services .journal-link { --row-pad: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  #services .journal-link,
  #services .journal-link::before { transition: none; }
}
