/* Team directory shared by the Spanish, English, and Chinese pages. */
.team-roster {
  padding: clamp(38px, 6vw, 80px) var(--editorial-edge);
  background: #e8eff2;
  color: var(--editorial-ink);
}

.team-roster-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(16px, 2.5vw, 32px);
  scroll-margin-top: 88px;
}

.team-roster-group + .team-roster-group {
  margin-top: clamp(36px, 6vw, 76px);
  padding-top: clamp(28px, 4vw, 48px);
  border-top: 1px solid #c4d2d8;
}

.team-roster-title {
  grid-column: 1 / -1;
}

.team-roster-title h2 {
  margin: 0;
  font: 400 clamp(34px, 4vw, 56px)/1.05 var(--editorial-display);
}

.team-roster-card {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: start;
  gap: clamp(14px, 2vw, 26px);
  padding: clamp(16px, 2vw, 28px);
  border: 1px solid #cbd7dc;
  border-radius: 12px;
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.team-roster-card:hover,
.team-roster-card:focus-visible {
  border-color: #886b3e;
}

.team-roster-portrait,
.team-roster-monogram {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  background: var(--editorial-petrol);
}

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

.team-roster-monogram {
  display: grid;
  place-items: center;
  color: #fff;
  font: 400 28px var(--editorial-display);
}

.team-roster-copy {
  min-width: 0;
  overflow-wrap: break-word;
}

.team-roster-copy .eyebrow {
  margin: 0 0 8px;
  color: #476574;
  font: 700 .74rem/1.45 var(--editorial-body);
  letter-spacing: .06em;
}

.team-roster-copy h3 {
  margin: 0 0 12px;
  font: 400 clamp(23px, 2.2vw, 32px)/1.1 var(--editorial-display);
}

.team-roster-copy .founder-education-profile {
  margin: 0 0 14px;
  font: 400 .96rem/1.55 var(--editorial-body);
  color: var(--editorial-muted);
}

.team-roster-copy > span {
  font: 700 .88rem/1.4 var(--editorial-body);
  text-decoration: underline;
  text-underline-offset: .2em;
}

@media (max-width: 920px) {
  .team-roster-group { grid-template-columns: minmax(0, 1fr); }
  .team-roster-card { grid-template-columns: minmax(0, 150px) minmax(0, 1fr); }
}

@media (max-width: 520px) {
  .team-roster-card { grid-template-columns: minmax(0, 1fr); }
  .team-roster-portrait, .team-roster-monogram { max-width: 180px; }
}

.team-history {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: start;
  gap: clamp(20px, 5vw, 70px);
  padding: clamp(34px, 6vw, 76px) var(--editorial-edge);
  background: #fff;
  color: var(--editorial-ink);
}

.team-history h2 {
  margin: 0;
  padding-top: 16px;
  border-top: 2px solid var(--editorial-gold);
  font: 400 clamp(32px, 4vw, 54px)/1.07 var(--editorial-display);
  text-wrap: balance;
}

.team-history-copy {
  max-width: 65ch;
  font: 400 clamp(17px, 1.45vw, 19px)/1.65 var(--editorial-body);
  color: var(--editorial-muted);
}

.team-history-copy p { margin: 0; }
.team-history-copy p + p { margin-top: 1em; }
.team-history-copy strong { color: var(--editorial-ink); }

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