/* "What we do": label + heading, then a portrait image (columns 1-4)
   next to the four disciplines in two columns (5-8, 9-12). */

.what-we-do {
  padding-block: clamp(3.5rem, 7.6vw, 7rem) clamp(4rem, 10vw, 9rem);
}

.what-we-do__head {
  align-items: start;
}

.what-we-do__label {
  grid-column: 1 / span 4;
  margin-block-start: 1.18vw;
}

.what-we-do__title {
  grid-column: 5 / span 6;
}

.what-we-do__body {
  margin-block-start: clamp(3.5rem, 8.125vw, 7.5rem);
  align-items: start;
}

.what-we-do__media {
  grid-column: 1 / span 4;
  aspect-ratio: 450 / 636;
}

.what-we-do__items {
  display: grid;
  grid-column: 5 / -1;
  grid-template-columns: repeat(2, minmax(0, 29.3vw));
  gap: clamp(3rem, 16.36vw, 15.5rem) 2.22vw;
  margin-inline-start: clamp(0rem, 1.32vw, 1.25rem);
  list-style: none;
}

.what-we-do__item {
  max-width: 28rem;
}

.what-we-do__item-title {
  margin-block-end: 0.8em;
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.what-we-do__item-text {
  font-size: clamp(0.875rem, 1.111vw, 1rem);
  line-height: 1.375;
}

@media (width <= 768px) {
  .what-we-do__label,
  .what-we-do__title,
  .what-we-do__media,
  .what-we-do__items {
    grid-column: 1 / -1;
  }

  .what-we-do__title {
    margin-block-start: var(--theme-space-xs);
  }

  .what-we-do__items {
    margin-block-start: var(--theme-space-md);
    grid-template-columns: 1fr;
    row-gap: var(--theme-space-md);
  }

  .what-we-do__item {
    padding-inline-start: 0;
  }
}
