/* Scoped addition: inherits the site's typography, colours, spacing and reveal animation. */
.team {
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.team .section-intro h2 em {
  color: #92939e;
}

.team-profile {
  display: grid;
  grid-template-columns: minmax(180px, .7fr) minmax(0, 2fr);
  gap: clamp(35px, 5vw, 80px);
  padding: 42px 0;
  border-top: 1px solid var(--line);
}

.team-profile:last-child {
  padding-bottom: 0;
}

.team-portrait {
  align-self: start;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #202322;
  border: 1px solid #353941;
}

.team-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.team-portrait-placeholder {
  height: 100%;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 25px;
}

.team-initials {
  font-family: var(--head);
  font-size: clamp(40px, 5vw, 70px);
  font-weight: 500;
  letter-spacing: -.05em;
  color: #bbc8ca;
}

.team-portrait-note {
  position: absolute;
  bottom: 23px;
  left: 15px;
  right: 15px;
  text-align: center;
  color: #b4bcbb;
  font-size: 11px;
  letter-spacing: .5px;
}

.team-profile-copy .team-role {
  color: var(--blue);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  margin: 0 0 12px;
}

.team-profile h3 {
  font-family: var(--head);
  font-size: clamp(25px, 2.5vw, 36px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.04em;
  margin: 0 0 24px;
}

.team-profile-copy > p {
  font-size: 15px;
  line-height: 1.9;
  color: #a9aebb;
  margin-bottom: 17px;
  max-width: 760px;
}

.team-profile-copy > p:last-child {
  margin-bottom: 0;
}

.team-profile-copy > p a {
  color: #c4d3ff;
  text-decoration: underline;
  text-decoration-color: #606b85;
  text-underline-offset: 4px;
}

.team-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  border-top: 1px solid var(--line);
  margin-top: 26px;
  padding-top: 17px;
}

.team-links a {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 32px;
  color: #c4d3ff;
  font-size: 12px;
  transition: color .2s;
}

.team-links a:hover,
.team-profile-copy > p a:hover {
  color: var(--paper);
}

@media (max-width: 800px) {
  .team-profile {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 30px;
  }

  .team-profile h3 { font-size: 26px; }
  .team-profile-copy > p { font-size: 14px; }
}

@media (max-width: 600px) {
  .team-profile {
    grid-template-columns: minmax(0, 1fr);
    gap: 25px;
    padding: 30px 0;
  }

  .team-portrait {
    width: 100%;
    max-width: 300px;
  }

  .team-initials { font-size: 56px; }
  .team-profile h3 { font-size: 27px; margin-bottom: 20px; }
  .team-profile-copy > p { font-size: 14px; }
  .team-links { gap: 9px 24px; }
  .team-links a { min-height: 44px; }
}
