.container {
  width: min(100% - 2.5rem, var(--site-grid-max));
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.header {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-top: 0.5rem;
}

.header h1 {
  margin: 0;
  font-size: 4.2rem;
  line-height: 0.92;
  font-weight: 400;
  letter-spacing: 0;
}

.subtitle,
.sectionDescription {
  max-width: 40rem;
  margin: 0;
  color: var(--site-muted-bright);
  line-height: 1.7;
}

.main {
  display: grid;
  gap: 2rem;
}

.section {
  display: grid;
  gap: 1rem;
}

.section h2 {
  margin: 0;
  font-size: 2.4rem;
  line-height: 1;
}

.teamGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.steeringGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.memberCard,
.involvementCard {
  padding: 1.3rem;
  border: 1px solid var(--site-border);
  background: var(--site-surface);
}

.memberCard {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.memberHeader {
  display: flex;
  gap: 0.9rem;
}

.avatar {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--site-border-strong);
}

.memberInfo {
  min-width: 0;
}

.nameWithBadge {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.memberName {
  margin: 0;
  font-size: 1.1rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.6rem;
  padding: 0.1rem 0.55rem;
  border: 1px solid var(--site-border);
  border-radius: 999px;
  color: var(--site-muted-bright);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.steering {
  border-color: var(--site-text);
  color: var(--site-text);
}

.committer,
.contributor {
  border-color: var(--site-border-strong);
}

.memberRole,
.memberBio {
  color: var(--site-muted-bright);
  line-height: 1.65;
}

.memberRole {
  margin: 0.35rem 0 0;
}

.memberBio {
  margin: 0;
}

.expertiseList {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: -0.2rem 0 0;
  padding: 0;
  list-style: none;
}

.expertiseList li {
  max-width: 100%;
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--site-border);
  color: var(--site-muted-bright);
  font-size: 0.74rem;
  line-height: 1.25;
}

.company {
  color: var(--site-text);
}

.memberActions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.actionLink,
.actionButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  min-height: 2.45rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--site-border);
  border-radius: 999px;
  color: var(--site-text);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.actionLink svg,
.actionButton svg {
  flex-shrink: 0;
  font-size: 0.9rem;
}

.actionLink:hover,
.actionButton:hover {
  background: var(--site-text);
  color: var(--site-bg);
  border-color: var(--site-text);
  text-decoration: none;
}

.involvementGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.involvementCard {
  display: grid;
  gap: 1rem;
  align-content: start;
}

@media (max-width: 996px) {
  .steeringGrid,
  .teamGrid,
  .involvementGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .container {
    width: min(100% - 1.4rem, var(--site-grid-max));
    padding-top: 1.5rem;
  }

  .header h1 {
    font-size: 2.7rem;
  }

  .section h2 {
    font-size: 1.8rem;
  }

  .steeringGrid,
  .teamGrid,
  .involvementGrid {
    grid-template-columns: 1fr;
  }

  .memberCard,
  .involvementCard {
    padding: 1.1rem;
  }
}
