/* "Services provided": ONE component for every case study, built by site/pages/work.py (services_block) from the
   page's <!-- services: … --> line. Figma "Case study · Responsive templates" (Xeks8QTJYHe4DAYLDHQ6FV):
   desktop 6487:13638, tablet 6487:13877, mobile 6487:14152. Never restyle it in a page's case.css. */
section.su-services{
  background: #fff;
  padding: 120px var(--pad, 120px) 0;
  font-family: var(--font-sans, inherit);
}
.su-services .su-services__h{
  margin: 0;
  font-size: 24px; font-weight: 700; line-height: 31.2px; letter-spacing: 0;
  color: #121518;
}
.su-services .su-services__list{
  list-style: none; margin: 22px -2px 0; padding: 2px;   /* 2px of room round the chips: iOS crops an animated layer to
                                                          its box, which shaved the pills' outlines; the chips still sit 24px under the heading */
  max-width: 1204px;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px;
}

/* desktop + tablet: card chips, no outline */
.su-services .su-chip{
  min-width: 0; margin: 0;
  display: flex; flex-direction: column; align-items: flex-start; gap: 20px;
  padding: 24px 16px; border-radius: 16px;
}
.su-services .su-chip.is-off{ opacity: 0.3; }
.su-services .su-chip__ic{ display: block; width: 32px; height: 39px; max-width: none; object-fit: contain; }   /* a fixed box: the icons are preserveAspectRatio="none" SVGs and stretch to any auto width */
.su-services .su-chip__t{ display: flex; flex-direction: column; align-items: flex-start; white-space: nowrap; }
.su-services .su-chip__l1{ font-size: 24px; font-weight: 500; line-height: 33.6px; letter-spacing: 0.48px; color: #121518; }
.su-services .su-chip__l2{ font-size: 16px; font-weight: 500; line-height: 22.4px; letter-spacing: 0.32px; color: rgba(18,21,24,0.5); }

@media (max-width: 1099px){
  .su-services .su-services__list{ grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 12px; column-gap: 0; }
}
@media (max-width: 1023px){
  section.su-services{ padding-top: 96px; }
}

/* phones: compact pill chips that wrap, 8px gaps both ways (6487:14152) */
@media (max-width: 767px){
  section.su-services{ padding-top: 64px; }
  .su-services .su-services__h{ font-size: 20px; line-height: 26px; }
  .su-services .su-services__list{ display: flex; flex-wrap: wrap; gap: 8px; }
  .su-services .su-chip{
    flex: none; flex-direction: row; align-items: center; gap: 8px;
    box-sizing: border-box; height: 40px; padding: 10px 16px 10px 14px;
    border: 1px solid rgba(18,21,24,0.14); border-radius: 100px; background: #fff;
  }
  .su-services .su-chip__ic{ width: 20px; height: 20px; padding: 3.5px; box-sizing: border-box; object-fit: contain; }
  .su-services .su-chip__t{ flex-direction: row; gap: 0.3em; }
  .su-services .su-chip__l1, .su-services .su-chip__l2{ font-size: 14px; font-weight: 500; line-height: 18px; letter-spacing: -0.14px; color: #121518; }
}
