.team-header {
  padding: 3rem 0;
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(255, 218, 185, 0.05),
    rgba(176, 224, 230, 0.05)
  );
}

.team-header h1 {
  font-weight: 300;
  margin-bottom: 0.5rem;
}

.team-header p {
  color: var(--medium-gray);
}

.team-members {
  padding: 3rem 0;
}

.member-section {
  margin-bottom: 4rem;
}

.member-name {
  text-align: center;
  font-weight: 400;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.member-role {
  text-align: center;
  color: var(--medium-gray);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.member-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  background: var(--off-white);
}

.image-wrapper.headshot {
  position: relative;
}

.image-wrapper.headshot::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(
    135deg,
    rgba(255, 182, 193, 0.3),
    rgba(176, 224, 230, 0.3),
    rgba(221, 160, 221, 0.3)
  );
  border-radius: inherit;
  z-index: -1;
  animation: iridescent-shift 10s ease infinite;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.image-wrapper:hover img {
  transform: scale(1.05);
}

.member-bio {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--dark-gray);
}

.member-bio p {
  margin-bottom: 1rem;
}

.member-divider {
  margin: 3rem auto;
  max-width: 200px;
  border: none;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--forest-green),
    var(--forest-green-light),
    var(--forest-green),
    transparent
  );
  opacity: 0.6;
  border-radius: 2px;
}

.no-members {
  text-align: center;
  padding: 3rem;
  color: var(--medium-gray);
}

@media (max-width: 768px) {
  .member-images {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  
  .member-name {
    font-size: 1.5rem;
  }
  
  .member-role {
    font-size: 1rem;
  }
  
  .member-bio {
    font-size: 1rem;
    padding: 0 1rem;
  }
}