/* Team page: shared SiteRisk tokens, with an editorial portrait and biography. */
.team-intro { display: grid; grid-template-columns: 1.15fr 1fr; align-items: end; gap: var(--layout-gap); padding-block: clamp(48px, 6vw, 88px); }
.team-intro h1 { margin: 0; max-width: 13ch; }
.team-intro > p { max-width: 32ch; padding-bottom: 4px; color: var(--soft); font-size: clamp(1.125rem, 1rem + .4vw, 1.375rem); line-height: 1.5; }
.team-profiles { background: var(--cream); color: var(--forest); padding-block: clamp(40px, 6vw, 80px); }
.team-profiles :focus-visible { outline-color: var(--forest); }
.team-profile { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 580px); gap: clamp(32px, 6vw, 80px); align-items: center; max-width: 960px; margin-inline: auto; }
.team-profile + .team-profile { border-top: 1px solid var(--line-light); margin-top: var(--section-space); padding-top: var(--section-space); }
.team-portrait { aspect-ratio: 4 / 5; width: 100%; max-width: 300px; overflow: hidden; background: #e4e8dc; }
.team-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.team-profile-copy { max-width: 580px; min-width: 0; }
.team-role { color: var(--muted); font-size: 16px; margin-bottom: 12px; }
.team-profile h2 { font-size: clamp(1.75rem, 1.25rem + 1.8vw, 2.625rem); line-height: 1.12; }
.team-name-row { display: flex; align-items: center; gap: 12px; }
.team-linkedin { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; color: var(--forest); border-radius: 3px; }
.team-linkedin:hover { background: var(--lime); }
.team-bio { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line-light); font-size: clamp(1rem, .9375rem + .25vw, 1.125rem); line-height: 1.7; }
.team-bio p + p { margin-top: 16px; }
.team-email { display: inline-flex; align-items: center; margin-top: 24px; min-height: 44px; text-decoration: underline; text-underline-offset: 5px; }
.team-email:hover { color: var(--muted); }
.team-next { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: var(--section-space); }
.team-next h2 { margin-top: 20px; }
.team-next div > p:last-child { margin-top: 20px; max-width: 54ch; color: var(--soft); line-height: 1.65; }
.team-next .button { flex-shrink: 0; }
.team-page .footer-bottom { border-top: 0; }
@media (max-width: 749px) {
  .team-intro { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .team-intro > p { max-width: 34ch; }
  .team-profile { grid-template-columns: minmax(0, 1fr); }
  .team-portrait { max-width: 260px; }
  .team-profile-copy { max-width: 58ch; }
  .team-bio { margin-top: 24px; padding-top: 24px; }
  .team-next { align-items: flex-start; flex-direction: column; }
}
