/* Team section preview only. Does not change styles.css used by other pages. */


.founder-portrait {
  padding: 0 0 22px;
  overflow: hidden;
  min-height: 0;
}

.founder-portrait img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 12%;
  border-bottom: 1px solid var(--line);
}

.founder-portrait .founder-meta {
  padding: 18px 22px 4px;
}

.founder-portrait strong {
  font-family: "Syne", sans-serif;
  font-size: 1.3rem;
  display: block;
}

.founder-portrait span {
  color: var(--muted);
}

.founder-portrait .est {
  display: block;
  margin-top: 6px;
  font-size: 0.85rem;
}

.founder-bio .lede {
  margin-top: 0;
}

.founder-bio p + p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 58ch;
}

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

.team-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 24px;
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
  min-height: 0;
}

.team-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.team-avatar {
  width: 148px;
  height: 148px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  background: #07111f;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.team-card h3 {
  font-size: 1.15rem;
  margin-bottom: 2px;
}

.team-card .role-title {
  display: block;
  color: var(--accent-2);
  font-family: "Syne", sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 10px;
}

.team-card .ai-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 9px;
  margin-bottom: 12px;
}

.team-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 0;
}

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

@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
  .team-avatar {
    width: 132px;
    height: 132px;
  }
  .founder-portrait img {
    max-height: 420px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .team-card { transition: none; }
}
