/* ═══════════════════════════════════ */
/* TEAM SECTION                        */
/* ═══════════════════════════════════ */

.team-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.team-group + .team-group {
  margin-top: 64px;
}

.team-group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 28px;
}

.team-group-title::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--cyan);
}

.team-group-desc {
  font-size: .85rem;
  color: var(--muted);
  margin: -18px 0 28px;
  max-width: 560px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.team-grid.team-grid-support {
  grid-template-columns: repeat(6, 1fr);
}

.team-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 18px 20px;
  text-align: center;
  transition: border-color .25s var(--ease-smooth), transform .25s var(--ease-smooth), background .25s var(--ease-smooth);
  cursor: default;
}

.team-card:hover {
  border-color: var(--border-accent);
  background: var(--surface2);
  transform: translateY(-3px);
}

.team-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  margin: 0 auto 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(82,183,255,.18), rgba(82,183,255,.04));
  border: 1px solid var(--border-accent);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--cyan);
  flex-shrink: 0;
}

.team-grid-support .team-avatar {
  width: 62px;
  height: 62px;
  font-size: 1.05rem;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.team-name {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.team-grid-support .team-name {
  font-size: .88rem;
}

.team-role {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--cyan);
  font-weight: 600;
  margin-bottom: 10px;
}

.team-grid-support .team-role {
  font-size: .64rem;
  margin-bottom: 0;
}

.team-bio {
  font-size: .8rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .team-grid.team-grid-support {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .team-grid.team-grid-support {
    grid-template-columns: repeat(3, 1fr);
  }

  .team-group + .team-group {
    margin-top: 48px;
  }
}

@media (max-width: 480px) {
  .team-grid.team-grid-support {
    grid-template-columns: repeat(2, 1fr);
  }
}
