.team-intro {
  background:
    radial-gradient(ellipse at 92% 0%, #ffda8a 0%, transparent 53%),
    linear-gradient(125deg, #fff9ef, #fff1d3);
  border-radius: 0 0 clamp(2rem, 5vw, 4.5rem) clamp(2rem, 5vw, 4.5rem);
}

.team-intro .wrap {
  padding-block: clamp(3rem, 6vw, 6rem);
}

.team-kicker {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 0 0 1.25rem;
  color: var(--navy);
  font-size: .8rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.team-kicker::before {
  content: "";
  width: 1.8rem;
  height: 3px;
  flex: none;
  background: var(--orange);
  border-radius: 1rem;
}

.team-intro h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(2.6rem, 6.1vw, 5.25rem);
  text-wrap: balance;
}

.team-intro h1 span {
  white-space: nowrap;
}

.team-lead {
  max-width: 53ch;
  margin: 1.3rem 0 0;
  font-size: clamp(1.03rem, 1.6vw, 1.25rem);
  line-height: 1.55;
}

.team-roster {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(1.75rem, 4vw, 3.75rem);
  row-gap: clamp(2rem, 4vw, 3.5rem);
  padding-block: clamp(2.75rem, 6vw, 5rem);
}

.team-profile {
  display: grid;
  grid-template-columns: minmax(0, .69fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1rem, 2vw, 1.6rem);
  padding-top: 1.3rem;
  border-top: 1px solid #e8d6b4;
}

.team-profile img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 38% 38% 1rem 1rem / 18% 18% 1rem 1rem;
  background: #f5dfb2;
}

.team-profile h2 {
  margin: .12rem 0 .42rem;
  font-size: clamp(1.55rem, 2.45vw, 2.3rem);
  line-height: 1.05;
  text-wrap: balance;
}

.team-profile h2 span {
  display: inline-block;
  font-size: .62em;
  font-weight: 500;
  letter-spacing: -.025em;
}

.team-role,
.team-duty,
.team-programs,
.team-training {
  margin: 0 0 .75rem;
  line-height: 1.52;
}

.team-role {
  color: #875014;
  font-weight: 700;
}

.team-programs em {
  color: var(--navy);
  font-weight: 650;
}

.team-training {
  color: #46596c;
  font-size: .875rem;
}

.team-contact {
  color: var(--blue);
  font-size: .875rem;
  font-weight: 700;
  text-underline-offset: .2em;
}

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

  .team-profile {
    grid-template-columns: minmax(0, 13.5rem) minmax(0, 1fr);
  }
}

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

  .team-profile img {
    max-width: 19rem;
  }
}

.team-socials {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .45rem;
  overflow-wrap: anywhere;
}
