/* ─── TEAM ─── */
#team { background: var(--bg-2); }

.team-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 72px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--bg);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: border-color .3s;
}

.team-card:hover { border-color: var(--green-pale); }

.team-photo {
  aspect-ratio: 3/4;
  position: relative;
  overflow: hidden;
}

.team-avatar {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 5rem;
  font-weight: 300;
  color: var(--green-pale);
}

.team-info {
  padding: 28px 28px 32px;
  border-top: 1px solid var(--border);
}

.team-name {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 6px;
  color: var(--ink);
}

.team-role {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
  display: block;
}

.team-bio {
  font-size: .83rem;
  color: var(--gray);
  line-height: 1.7;
}

.team-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.team-social a {
  width: 32px; height: 32px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  text-decoration: none;
  font-size: .68rem;
  letter-spacing: .05em;
  transition: all .3s;
}

.team-social a:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-pale);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .team-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .team-grid { grid-template-columns: 1fr; }
  .team-photo { aspect-ratio: 4/3; }
}
