.team-category {
  display: grid;
  gap: 22px;
}
.category-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.category-head h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: .95;
  letter-spacing: -.05em;
  text-transform: uppercase;
}
.category-count {
  color: var(--yellow);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.person-card {
  overflow: hidden;
  background: linear-gradient(145deg, #171717, #101010);
  border: 1px solid #292929;
  border-radius: 24px;
}
.person-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #fff;
}
.person-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}
.person-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  background: linear-gradient(to top, rgba(0,0,0,.42), transparent);
  pointer-events: none;
}
.person-info { padding: 26px; }
.person-role {
  display: block;
  color: var(--yellow);
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.person-info h3 {
  margin: 17px 0 12px;
  font-size: clamp(1.65rem, 2.6vw, 2.3rem);
  line-height: 1;
  letter-spacing: -.045em;
}
.person-info p {
  margin: 0;
  color: #d0d0cb;
  font-weight: 700;
}
.person-meta {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.experience {
  color: var(--muted);
  font-size: .9rem;
}
.experience strong {
  display: block;
  color: var(--white);
  font-size: 1rem;
}
.person-link {
  color: var(--yellow);
  font-weight: 900;
  white-space: nowrap;
}
.team-note {
  grid-column: span 2;
  min-height: 280px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--yellow);
  color: var(--black);
  border-radius: 24px;
}
.team-note small {
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.team-note h3 {
  max-width: 570px;
  margin: 34px 0 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: .95;
  letter-spacing: -.05em;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.category-chip {
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-weight: 800;
}
.category-chip.active {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
}
@media (max-width: 1040px) {
  .team-grid { grid-template-columns: 1fr 1fr; }
  .team-note { grid-column: span 1; }
}
@media (max-width: 620px) {
  .team-grid { grid-template-columns: 1fr; }
  .category-head { align-items: flex-start; flex-direction: column; }
  .person-info { padding: 22px; }
  .team-note { min-height: 230px; padding: 26px; }
}
