.team-page { background: var(--white); }
.team-page-header .main-nav .is-active::after { transform: scaleX(1); }

.team-page-hero {
  min-height: calc(100svh - 82px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(68px, 8vw, 130px) var(--pad) 0;
  background: var(--yellow);
  border-bottom: 1px solid var(--black);
}
.team-kicker { margin: 0; font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.team-page-hero h1 { max-width: 1500px; margin: clamp(45px, 8vh, 110px) 0 50px; font-size: clamp(64px, 10vw, 164px); line-height: .83; letter-spacing: -.078em; }
.team-page-hero h1 em { font-family: Georgia, serif; font-weight: 400; text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .08em; }
.team-hero-bottom { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; padding-bottom: clamp(55px, 7vw, 100px); }
.team-hero-bottom > p { max-width: 760px; margin: 0; font-size: clamp(18px, 1.6vw, 25px); line-height: 1.43; }
.team-disciplines { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0 calc(-1 * var(--pad)); border-top: 1px solid var(--black); }
.team-disciplines span { display: grid; min-height: 74px; place-items: center; border-right: 1px solid var(--black); font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.team-disciplines span:last-child { border-right: 0; }

.team-roster { padding: clamp(95px, 11vw, 180px) var(--pad); }
.roster-heading { display: grid; grid-template-columns: 110px minmax(0, 1.4fr) minmax(280px, .6fr); gap: clamp(30px, 5vw, 90px); align-items: end; margin-bottom: clamp(70px, 9vw, 140px); }
.roster-heading > p:first-child { align-self: start; margin: 8px 0 0; font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.roster-heading h2 { margin: 0; font-size: clamp(55px, 7.7vw, 122px); line-height: .88; letter-spacing: -.07em; }
.roster-heading h2 span { font-family: Georgia, serif; font-weight: 400; font-style: italic; }
.roster-intro { margin: 0; font-size: 18px; line-height: 1.5; }

.roster-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(45px, 6vw, 105px) 18px; }
.roster-card { min-width: 0; }
.roster-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center top; background: #ecece5; filter: saturate(.82); }
.roster-card > div { position: relative; min-height: 112px; padding: 18px 34px 0 0; border-top: 1px solid var(--black); }
.roster-card > div > span { position: absolute; top: 20px; right: 0; font-size: 9px; font-weight: 900; }
.roster-card h3 { margin: 0 0 8px; font-size: clamp(22px, 2vw, 33px); line-height: 1; letter-spacing: -.045em; }
.roster-card p { max-width: 250px; margin: 0; font-size: 11px; font-weight: 800; line-height: 1.35; letter-spacing: .035em; text-transform: uppercase; }
.roster-card-lead img { background: white; }
.roster-card:nth-child(8n + 6), .roster-card:nth-child(8n + 7) { transform: translateY(55px); }

.team-contact { padding: clamp(100px, 12vw, 190px) var(--pad) 30px; background: var(--black); color: white; }
.team-contact > p { margin: 0; font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.team-contact h2 { margin: 50px 0 70px; font-size: clamp(60px, 9.5vw, 150px); line-height: .83; letter-spacing: -.075em; text-transform: uppercase; }
.team-contact h2 em { color: var(--yellow); font-family: Georgia, serif; font-weight: 400; text-transform: none; }
.team-contact > a { display: flex; justify-content: space-between; gap: 20px; padding: 0 0 14px; border-bottom: 2px solid var(--yellow); font-size: clamp(24px, 4vw, 58px); letter-spacing: -.045em; overflow-wrap: anywhere; }
.team-contact footer { display: flex; justify-content: space-between; margin-top: 100px; padding-top: 24px; border-top: 1px solid #555; font-size: 10px; letter-spacing: .08em; }

@media (max-width: 1000px) {
  .roster-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .roster-heading { grid-template-columns: 80px 1fr; }
  .roster-intro { grid-column: 2; max-width: 620px; }
}

@media (max-width: 760px) {
  .team-page-hero { min-height: calc(100svh - 68px); padding-top: 70px; }
  .team-page-hero h1 { font-size: clamp(58px, 17vw, 92px); }
  .team-hero-bottom { grid-template-columns: 1fr; align-items: start; }
  .team-disciplines { grid-template-columns: 1fr 1fr; }
  .team-disciplines span { min-height: 58px; border-bottom: 1px solid var(--black); }
  .team-disciplines span:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .roster-heading { display: block; }
  .roster-heading h2 { margin: 35px 0; }
  .roster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 55px 12px; }
  .roster-card:nth-child(8n + 6), .roster-card:nth-child(8n + 7) { transform: none; }
  .roster-card > div { min-height: 125px; padding-right: 20px; }
  .roster-card h3 { font-size: 23px; }
  .roster-card p { font-size: 10px; }
}

@media (max-width: 430px) {
  .roster-grid { grid-template-columns: 1fr; gap: 50px; }
  .roster-card > div { min-height: 100px; }
  .team-contact footer { align-items: flex-start; flex-direction: column; gap: 14px; }
}
