/* ===========================
   TEAM MEMBERS (ABOUT)
   =========================== */

.section--team {
  padding-top: 160px;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding-bottom: 150px;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: max(100px, 15vh);
}

.team-member__photo {
  width: 280px;
  aspect-ratio: 3/4;
  border-radius: var(--r-16);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: border-color var(--t) ease, box-shadow var(--t) ease;
}

.team-member__photo:hover {
  border-color: rgba(0, 0, 0, .2);
}

.team-member__info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}

/* Reveal animasyonu artık [data-reveal] sistemi tarafından yönetiliyor (base.css + main.js) */
.team-member__info.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.team-member__name {
  margin: 0;
  font-size: calc(20px * var(--font-scale, 1));
  font-weight: 600;
  letter-spacing: -.01em;
}

.team-member__title {
  margin: 0;
  font-size: calc(13px * var(--font-scale, 1));
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  font-weight: 500;
}

.team-member__bio {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: calc(15px * var(--font-scale, 1));
  max-width: 400px;
  white-space: pre-line;
}

@media (max-width: 768px) {
  .section--team {
    padding-top: 100px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 56px;
    padding-bottom: 100px;
  }

  .team-member {
    gap: max(80px, 12vh);
  }

  .team-member__photo {
    width: 240px;
  }
}
