.team-section {
  margin: 4rem 0;
}

.team-section h2 {
  margin-bottom: 1.6rem;
  color: var(--color-text);
  font-family: 'Calistoga', cursive;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.team-list {
  display: grid;
  gap: 2rem;
}

.team-card {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 2rem;
  align-items: start;
  padding: 1.8rem;
  background: rgba(245, 238, 218, 0.72);
  border: 2px solid var(--color-text);
  border-radius: var(--radius);
  box-shadow: 16px 16px 0 rgba(153, 188, 207, 0.75);
}

.team-photo-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(153, 188, 207, 0.75);
  aspect-ratio: 4 / 5;
}

.team-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.team-info h3 {
  margin-bottom: 0.25rem;
  color: var(--color-text);
  font-family: 'Calistoga', cursive;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.instagram-link {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: #6a3f4b;
  font-family: 'Young Serif', serif;
  text-decoration: none;
}

.instagram-link:hover {
  color: var(--color-text);
  text-decoration: underline;
}

.team-role {
  margin-bottom: 1rem;
  color: var(--color-text);
  font-size: 1rem;
}

.tagline {
  margin-bottom: 0.9rem;
  font-size: 0.98rem;
}

.tagline:last-child {
  margin-bottom: 0;
}

.cta-section {
  margin: 0 0 4rem;
  text-align: center;
}

@media (max-width: 750px) {
  .team-card {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding: 1.2rem;
    box-shadow: 10px 10px 0 rgba(153, 188, 207, 0.75);
  }

  .team-photo-wrapper {
    max-width: 320px;
    width: 100%;
    margin: 0 auto;
  }
}
