/* Homepage only: compact, image-led service selection. */
#what-we-do { scroll-margin-top: calc(var(--nav-h) + 16px); }
#what-we-do .section-head { margin-bottom: 40px; }
/* Both headlines inherit the site's display font and existing monochrome
   gradient. Only the separate chooser prompt is centred over the full grid. */
#what-we-do .service-chooser-heading {
  text-align: center;
  max-width: none;
  margin: 0 0 28px;
}
#what-we-do .service-choices {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
#what-we-do .service-choice {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: none;
  transition: transform 0.25s var(--ease-out), border-color 0.25s;
}
#what-we-do .service-choice:hover { transform: translateY(-3px); border-color: var(--txt); box-shadow: none; }
#what-we-do .service-choice:focus-visible { outline: 3px solid var(--txt); outline-offset: 4px; }
#what-we-do .card-media { margin: 0; width: 100%; aspect-ratio: 16 / 9; flex: none; }
#what-we-do .service-choice-body { display: flex; flex-direction: column; flex: 1; padding: 18px; min-width: 0; }
#what-we-do h3 { font-size: 1.06rem; line-height: 1.35; text-wrap: balance; }
#what-we-do .service-choice-body > p { margin-top: 10px; color: var(--txt-2); font-size: .875rem; line-height: 1.6; }
#what-we-do .service-choice-link { display: block; margin-top: auto; padding-top: 16px; font-size: .8rem; font-weight: 700; line-height: 1.5; }
#what-we-do .service-choice-sr { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 1279px) {
  #what-we-do .service-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #what-we-do .card-media { aspect-ratio: 21 / 9; }
}
@media (max-width: 639px) {
  #what-we-do .section-head { margin-bottom: 32px; }
  #what-we-do .service-chooser-heading { margin-bottom: 24px; }
  #what-we-do .service-choices { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  #what-we-do .service-choice { display: grid; grid-template-columns: 96px minmax(0, 1fr); }
  #what-we-do .card-media { aspect-ratio: auto; height: 100%; border-bottom: 0; border-inline-end: 1px solid var(--line); }
  #what-we-do .service-choice-body { padding: 16px; }
  #what-we-do .service-choice-body > p { font-size: .875rem; line-height: 1.5; margin-top: 8px; }
  #what-we-do .service-choice-link { padding-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  #what-we-do .service-choice, #what-we-do .card-media img { transition: none; }
  #what-we-do .service-choice:hover, #what-we-do .service-choice:hover img { transform: none; }
}
