/* Team-01 Styles - Premium */
.team-grid-section {
  padding: 120px 24px;
  background: var(--bg);
  position: relative;
}

.team-grid-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--primary) 6%, transparent), transparent);
  pointer-events: none;
}

.team-grid-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.team-header {
  text-align: center;
  margin-bottom: 70px;
}

.team-header .sub {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

.team-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.8rem;
  color: var(--title);
  font-weight: 800;
  margin: 0;
  letter-spacing: -1px;
}

.team-header p {
  color: var(--text);
  margin-top: 16px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.team-member-card {
  background: var(--background);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.team-member-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), color-mix(in srgb, var(--primary) 50%, #ff6b9d));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.team-member-card:hover::after {
  transform: scaleX(1);
}

.team-member-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px color-mix(in srgb, #000 8%, transparent);
  border-color: color-mix(in srgb, var(--primary) 20%, var(--border));
}

.member-photo-wrap {
  position: relative;
  overflow: hidden;
  height: 320px;
}

.member-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team-member-card:hover .member-img {
  transform: scale(1.08);
}

.member-social-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: color-mix(in srgb, #000 50%, transparent);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.team-member-card:hover .member-social-overlay {
  opacity: 1;
}

.social-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--background);
  color: var(--title);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: translateY(12px);
  opacity: 0;
}

.team-member-card:hover .social-icon {
  transform: translateY(0);
  opacity: 1;
}

.team-member-card:hover .social-icon:nth-child(2) {
  transition-delay: 0.05s;
}

.team-member-card:hover .social-icon:nth-child(3) {
  transition-delay: 0.1s;
}

.social-icon:hover {
  background: var(--primary);
  color: var(--bg);
  transform: translateY(-2px) scale(1.1);
}

.member-info {
  padding: 28px 30px 30px;
}

.member-info h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--title);
  margin: 0 0 4px 0;
}

.member-role {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 12px;
}

.member-bio {
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0 0 16px;
}

.member-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.member-tag {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 100px;
  background: color-mix(in srgb, var(--primary) 8%, transparent);
  color: var(--primary);
}

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

@media (min-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .team-header h2 { font-size: 2rem; }
  .member-photo-wrap { height: 260px; }
  .member-info { padding: 20px; }
}