body.page-team {
  margin: 0;
  background: #fff;
  color: var(--ps-charcoal);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

.page-team .skip-link {
  position: fixed;
  z-index: 200;
  top: -6.25rem;
  left: 1.25rem;
  padding: .875rem;
  background: var(--ps-ink);
  color: #fff;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.page-team .skip-link:focus {
  top: .75rem;
}

.page-team .skip-link:focus-visible {
  outline: .1875rem solid var(--ps-teal);
  outline-offset: .3125rem;
}

/* ---------- roster ---------- */

.team-section {
  padding-block: .9375rem 3.4375rem;
}

.team-section--regional {
  padding-top: 0;
}

.team-group-heading {
  margin: 0 0 2rem;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.05em;
  text-wrap: balance;
  scroll-margin-top: 10rem;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5625rem .75rem;
}

/* The role absorbs spare height so every LinkedIn button in a row lines up. */
.team-card {
  display: flex;
  flex-direction: column;
}

.team-photo,
.team-initials {
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  border-radius: 1.0625rem;
  background: var(--ps-mint-tint);
}

.team-photo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center top;
}

.team-initials {
  display: grid;
  place-items: center;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -.04em;
}

.team-section--regional .team-photo,
.team-section--regional .team-initials {
  border-radius: 50%;
}

.team-card h3 {
  margin: 1.125rem 0 0;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.023rem;
  text-wrap: balance;
}

.team-card p {
  margin: .4375rem 0 auto;
  color: var(--ps-muted);
  font-size: .875rem;
  line-height: 1.6;
}

.team-linkedin {
  flex-shrink: 0;
  align-self: flex-start;
  max-width: 100%;
  min-height: 2.75rem;
  margin-top: 1rem;
  padding: .625rem 1rem;
  border-radius: .75rem;
  font-size: .875rem;
}

/* ---------- contact ---------- */

.page-team .ps-contact .ps-eyebrow {
  margin-bottom: .9375rem;
  color: var(--ps-teal-accessible);
  font-size: .8125rem;
  line-height: inherit;
  letter-spacing: .0934375rem;
  text-wrap: wrap;
}

/* ---------- breakpoints ---------- */

@media (min-width: 23.1875rem) {
  .team-grid {
    gap: 1.8125rem 1rem;
  }
}

@media (min-width: 43.8125rem) {
  .team-section {
    padding-bottom: 5.5rem;
  }

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.125rem 1.5625rem;
  }

  .team-photo,
  .team-initials {
    border-radius: 1.375rem;
  }

  .team-card h3 {
    font-size: 1.35rem;
    letter-spacing: -.027rem;
  }

  .team-card p {
    font-size: .9375rem;
  }

  .page-team .ps-contact .ps-eyebrow {
    margin-bottom: 1.125rem;
    font-size: .875rem;
    letter-spacing: .1225rem;
  }
}

@media (min-width: 70.0625rem) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media print {
  .team-section {
    padding-bottom: 1.875rem;
  }

  .page-team main a {
    text-decoration: underline;
  }
}
