/* =========================================================
   About Us page
   ========================================================= */

.page-intro {
  text-align: center;
  padding: 3.5rem 1.5rem 1rem;
  max-width: 780px;
  margin: 0 auto;
}

.team-row {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 3rem;
  align-items: center;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
}

.team-row.reverse {
  grid-template-columns: 1fr 340px;
}

.team-row.reverse .team-photo {
  order: 2;
}

.team-photo img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.team-copy .role {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-copper-600);
  margin-bottom: 0.5rem;
}

.team-copy h3 {
  font-size: 1.9rem;
  margin-bottom: 0.6rem;
}

.team-copy .credentials {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-teal-700);
  margin-top: -0.4rem;
  margin-bottom: 1.1rem;
}

.team-copy p {
  color: var(--color-ink-soft);
}

.section--alt .team-row {
  background: transparent;
}

@media (max-width: 900px) {
  .team-row,
  .team-row.reverse {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 2.5rem 1.5rem;
    text-align: center;
  }

  .team-row.reverse .team-photo {
    order: 0;
  }

  .team-photo img {
    max-width: 320px;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
  }
}
