#team {
  border-top: 1px solid var(--brand-accent);
  border-bottom: 1px solid var(--brand-accent);
  background: var(--surface-light);
  color: var(--text-body);
  font-family: var(--font-body);
}

#team > .container {
  box-sizing: border-box;
  padding: var(--section-md) 24px;
}

#team > .container > p,
#team > .container > h2 {
  margin: 0;
}

#team > .container > p:first-of-type {
  margin-bottom: 0.75rem;
  color: var(--brand-primary);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

#team > .container > h2 {
  color: var(--text-heading);
  font-family: var(--font-heading);
  font-size: calc(var(--scale-base) * 2);
  font-weight: 600;
  line-height: 1.2;
}

#team > .container > p:nth-of-type(2) {
  margin-top: 1rem;
  max-width: 46rem;
  color: var(--text-body);
  font-size: 1.0625rem;
  line-height: 1.55;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.people-grid__card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--brand-accent);
  border-radius: var(--radius-md);
  background: var(--surface-light);
}

.people-grid__photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--brand-primary);
}

.people-grid__body {
  padding: 1rem 1.15rem 1.25rem;
}

.people-grid__name {
  margin: 0;
  color: var(--text-heading);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}

.people-grid__role {
  margin: 0.4rem 0 0;
  color: var(--brand-secondary);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
}

.people-grid__bio {
  margin: 0.75rem 0 0;
  color: var(--text-body);
  font-size: 0.9375rem;
  line-height: 1.5;
}

@media (max-width: 800px) {
  .people-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
