.profile.profile--compact {
  grid-template-columns: minmax(0, 16rem) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.profile--compact figure.profile__image {
  width: 100%;
  max-width: 16rem;
  min-height: 0;
  max-height: none;
  margin: 0;
}

.profile--compact .profile__image img {
  height: auto;
}

@media (max-width: 48rem) {
  .profile.profile--compact {
    grid-template-columns: minmax(0, 1fr);
  }

  .profile--compact figure.profile__image {
    max-width: 11rem;
  }
}
