/* ═══ TEAM ═══════════════════════════════════════════════════════════════════ */
.team {
  padding-block: clamp(60px, 8vw, 120px);
  background: var(--bg1);
}

.team__head {
  margin-bottom: clamp(40px, 5vw, 72px);
}

.team__title {
  font-family: var(--font-tektur);
  font-weight: 200;
  font-size: clamp(28px, 4vw, 56px);
  color: #fff;
  margin-bottom: 12px;
}

.team__sub {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 300;
}

/* Grid — 2 columns by default, slider-ready when more */
.team__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* Card */
.team-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--tr), transform var(--tr-slow);
}
.team-card:hover {
  border-color: rgba(202,254,72,.2);
  transform: translateY(-3px);
}

.team-card__photo {
  position: relative;
  overflow: hidden;
  background: var(--bg3);
  min-height: 280px;
}
.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--tr-slow);
}
.team-card:hover .team-card__photo img { transform: scale(1.04); }

.team-card__photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 280px;
  background: linear-gradient(160deg, var(--bg3) 0%, #1a1a1a 100%);
}

.team-card__body {
  padding: 28px 28px 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.team-card__name {
  font-family: var(--font-tektur);
  font-weight: 400;
  font-size: clamp(18px, 1.8vw, 24px);
  color: #fff;
}

.team-card__role {
  font-size: 13px;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: .04em;
}

.team-card__bio {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.65;
  margin-top: 4px;
}

.team-card__exp {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 4px 12px;
}

/* Responsive */
@media (max-width: 900px) {
  .team__grid { grid-template-columns: 1fr; }
  .team-card { grid-template-columns: 160px 1fr; }
}
@media (max-width: 560px) {
  .team-card {
    grid-template-columns: 1fr;
  }
  .team-card__photo { min-height: 220px; }
  .team-card__body { padding: 20px; }
}
