.team-hero {
  padding: 82px 0 54px;
  overflow: hidden;
}

.team-hero h1 {
  max-width: 100%;
  font-size: 56px;
  letter-spacing: 0;
}

.team-section {
  background: #061107;
}

.team-section .section {
  padding-top: 54px;
  padding-bottom: 92px;
}

.stats-grid.flat {
  max-width: none;
  margin: 0 auto 52px;
  gap: 20px;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}

.stats-grid.flat > div {
  min-width: 0;
  padding: 28px 20px;
  text-align: center;
  background: #142217;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
}

.stats-grid.flat span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stats-grid.flat small {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.34);
  font-size: 10px;
  font-weight: 700;
}

.team-controls {
  display: grid;
  grid-template-columns: minmax(220px, 0.74fr) minmax(0, 1.25fr);
  gap: 32px;
  align-items: start;
  margin-bottom: 36px;
}

.team-heading {
  padding-left: 16px;
  border-left: 2px solid var(--green);
}

.team-heading h2 {
  margin: 0 0 9px;
  font-size: 29px;
  letter-spacing: 0;
}

.team-heading p {
  max-width: 390px;
  margin: 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.65;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-row button {
  min-height: 36px;
  appearance: none;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 9px 15px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.52);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.filter-row button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
}

.filter-row button.active,
.filter-row button[aria-pressed="true"] {
  background: var(--green);
  border-color: var(--green);
  color: #000;
  box-shadow: 0 0 20px rgba(41, 255, 25, 0.16);
}

.cards-grid.creators {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.creator-card {
  background: #142217;
  transition: transform 200ms ease, border-color 200ms ease;
}

.creator-card:hover {
  transform: translateY(-4px);
  border-color: rgba(41, 255, 25, 0.28);
}

.creator-card[hidden] {
  display: none;
}

.creator-card img {
  width: 76px;
  height: 76px;
  margin-top: 28px;
  object-fit: cover;
}

.creator-card > div {
  padding: 20px 16px 26px;
}

.creator-card h3 {
  font-size: 16px;
  letter-spacing: 0;
}

.creator-card p {
  margin-bottom: 0;
  font-size: 11px;
}

.team-empty {
  padding: 32px;
  text-align: center;
  background: #142217;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .stats-grid.flat,
  .cards-grid.creators {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-controls {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .team-hero {
    padding: 64px 0 46px;
  }

  .team-hero h1 {
    font-size: 38px;
    line-height: 1;
  }

  .team-hero p {
    padding: 0 4px;
    font-size: 13px;
  }

  .stats-grid.flat,
  .cards-grid.creators {
    grid-template-columns: 1fr;
  }

  .filter-row button {
    flex: 1 1 calc(50% - 8px);
  }
}