/* ============================================================
   TEAM.CSS — Unser Team section
   Vidai AG · vidai.ch
   ============================================================ */

#team {
  background: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 80px;
  align-items: start;
}

/* ── PORTRAIT ── */
.team-portrait {
  position: relative;
}

.team-portrait img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: grayscale(20%);
}

.team-portrait::after {
  content: '';
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 60%;
  height: 60%;
  border: 2px solid var(--red);
  z-index: -1;
}

/* ── BIO ── */
.team-bio {}

.team-name {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 6px;
}

.team-role {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 500;
  margin-bottom: 28px;
}

.team-bio p {
  font-size: 16px;
  color: var(--mid);
  font-weight: 300;
  line-height: 1.85;
  margin-bottom: 20px;
  max-width: 540px;
}

/* ── CREDENTIALS ── */
.team-creds {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.team-cred {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
  padding: 6px 14px;
  border: 1px solid var(--light);
  font-weight: 500;
}

/* ── LINKS ── */
.team-links {
  display: flex;
  gap: 20px;
  margin-top: 32px;
}

.team-links a {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--ease);
}

.team-links a:hover {
  color: var(--red);
}

.team-links a::before {
  content: '→';
  font-size: 14px;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .team-portrait {
    max-width: 260px;
  }

  .team-portrait::after {
    display: none;
  }
}
