.team {
  margin-bottom: 6rem;
}

.team__grid {
  display: grid;
  gap: 1.75rem;
}

.team__card {
  overflow: hidden;
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  background: var(--color-paper);
  padding: 1.5rem;
  text-align: center;
}

.team__photo {
  margin: 0 auto 1rem;
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--color-border-soft);
  background: var(--color-paper);
}

.team__photo--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-forest);
}

.team__name {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
}

.team__role {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-terracotta);
}

.team__bio {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-muted);
}

.team__links {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.team__link {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-forest);
  text-decoration: none;
}

.team__link:hover {
  color: var(--color-terracotta);
}
