/* Shared founder cards used on /team and /intro.

   The component owns the card box, so the markup needs only .team-card
   (no .card). Site tokens are read with their site.css values as
   fallbacks, so a page without them still renders the cards as /team
   does. The page must load Plus Jakarta Sans in weights 400, 600 and 700.
   Card titles are h2 on /team (directly under the page h1) and h3 on
   /intro (under a section heading). */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  /* Type, ink and column width pinned here so the cards render as on
     /team wherever they are dropped; all no-ops on /team itself. */
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  line-height: normal;
  color: var(--dark, #0C0A1D);
  max-width: calc(var(--maxw, 1120px) - 64px);
  margin: 0 auto;
}

.team-card {
  text-align: center;
  background: var(--white, #FFFFFF);
  border: 1px solid var(--grey-light, #E3E2DD);
  border-radius: var(--radius, 20px);
  padding: 32px 28px;
  box-shadow: var(--shadow-soft, 0 8px 40px color-mix(in srgb, var(--brand, #4F46E5) 5%, transparent));
}

.team-card h2,
.team-card h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin: 0 0 10px;
}

.team-headshot {
  box-sizing: border-box; /* 132px including the ring; /intro has no global reset */
  width: 132px;
  height: 132px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--brand-pale, #EEF2FF);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--brand, #4F46E5) 12%, transparent);
}

.team-headshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-role-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 14px;
}

.team-role {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--brand, #4F46E5);
}

.team-linkedin { display: inline-flex; color: var(--grey, #6B7280); transition: color 0.2s; }
.team-linkedin:hover { color: var(--brand, #4F46E5); }

.team-bio {
  font-size: 15px;
  line-height: 1.65;
  color: var(--grey, #6B7280);
  margin: 0;
}

.team-focus {
  display: inline-block;
  margin-top: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand, #4F46E5);
  background: var(--brand-pale, #EEF2FF);
  padding: 6px 14px;
  border-radius: 50px;
}

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