/* Team page — Stitch portrait layout, SWFT tokens */
.team-hero {
  text-align: center;
  margin-bottom: 3rem;
}

.team-portraits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

@media (max-width: 767px) {
  .team-portraits {
    grid-template-columns: 1fr;
  }
}

.team-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0a0a0a;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.team-card-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #111;
}

.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: grayscale(100%);
  transition: filter 0.35s ease;
}

.team-card:hover .team-card-photo img {
  filter: grayscale(0%);
}

.team-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 0.75rem;
}

.team-role-tag {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ps-accent, #7fffe5);
  font-weight: 600;
}

.team-name {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
  letter-spacing: -0.01em;
}

.team-loc {
  font-size: 0.82rem;
  color: var(--ps-muted, #a8a8a8);
  margin: 0;
}

.team-bio {
  color: var(--swft-lead, #c4c7c7);
  font-size: 0.9rem;
  line-height: 1.6;
}

.team-bio p {
  margin: 0 0 0.75rem;
}

.team-bio p:last-child {
  margin-bottom: 0;
}

.team-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.team-skill {
  font-size: 0.72rem;
  color: #fff;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.team-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.team-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  transition: border-color 0.2s, color 0.2s;
}

.team-link:hover {
  border-color: var(--ps-accent, #7fffe5);
  color: var(--ps-accent, #7fffe5);
}

.team-link svg {
  width: 14px;
  height: 14px;
}

.team-vision {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0a0a0a;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2.5rem;
  border-left: 3px solid var(--ps-accent, #7fffe5);
}

.team-vision h2 {
  font-size: 1.35rem;
  color: #fff;
  margin: 0 0 1rem;
  font-weight: 600;
}

.team-vision-lead {
  font-size: 1.1rem;
  line-height: 1.55;
  color: #f2f2f2;
  margin: 0 0 1rem;
}

.team-vision-lead strong {
  color: #fff;
}

.team-vision-sub {
  color: var(--swft-lead, #c4c7c7);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0 0 1.5rem;
}

.team-chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

@media (max-width: 767px) {
  .team-chips {
    grid-template-columns: 1fr;
  }
}

.team-chip {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  padding: 1rem;
}

.team-chip-label {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ps-accent, #7fffe5);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.team-chip-title {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
}
