/* The founder's portrait leads; the rest uses SKYTICAL's existing theme tokens. */
.team-page {
  --team-muted: color-mix(in srgb, var(--color-text) 74%, var(--color-bg));
  padding: clamp(28px, 4vw, 56px) clamp(20px, 5vw, 72px) 64px;
}
.team-page *, .team-page *::before, .team-page *::after { box-sizing: border-box; }
.team-header { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 32px; }
.team-header h1 { margin: 0; font-size: clamp(23px, 2.5vw, 32px); line-height: 1.4; }
.team-header p { margin: 0; font-size: 14px; color: var(--team-muted); }
.team-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.team-portrait { margin: 0; min-width: 0; }
.team-portrait img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 5;
  object-fit: cover; object-position: 50% 70%; border-radius: 6px 6px 48px 6px;
}
.team-portrait figcaption { margin-top: 12px; font-size: 12px; line-height: 1.8; color: var(--team-muted); }
.team-introduction { min-width: 0; padding: 16px 0 36px; }
.team-introduction h2 { margin: 0 0 20px; font-size: clamp(80px, 10vw, 136px); font-weight: 800; line-height: .95; letter-spacing: -.065em; }
.team-page .team-role { margin: 0 0 28px; font-size: 15px; font-weight: 700; line-height: 1.8; }
.team-lead { max-width: 26em; margin: 0; font-size: clamp(18px, 2vw, 23px); line-height: 1.85; text-wrap: pretty; }
.team-contact { margin-top: 36px; padding-top: 24px; border-top: 2px solid var(--color-accent); }
.team-contact h3 { margin: 0 0 10px; font-size: 13px; color: var(--team-muted); font-weight: 500; }
.team-contact a { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; padding: 12px 0; min-height: 44px; border-bottom: 1px solid var(--color-divider); color: var(--color-text); font-size: 14px; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.team-contact a:hover { color: var(--color-accent); }
.team-email { font-size: 13px; font-weight: 400; }
.team-story { margin-top: clamp(44px, 6vw, 80px); }
.team-chapter { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 72px); padding: 36px 0; border-top: 1px solid var(--color-divider); }
.team-chapter h3 { margin: 0; max-width: 12em; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.6; text-wrap: balance; }
.team-chapter p { margin: 0 0 18px; max-width: 42em; font-size: 16px; line-height: 2; color: var(--team-muted); }
.team-chapter p:last-child { margin-bottom: 0; }
.team-closing { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 20px; margin-top: 12px; padding-top: 28px; border-top: 2px solid var(--color-accent); }
.team-closing p { margin: 0; max-width: 34em; font-size: 17px; font-weight: 600; line-height: 1.8; text-wrap: pretty; }
.team-closing a { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; color: var(--color-text); font-size: 14px; text-underline-offset: 5px; }
.team-page a:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 4px; }
.team-page a { touch-action: manipulation; }
@media (max-width: 720px) {
  .team-header { display: block; margin-bottom: 24px; }
  .team-header p { margin-top: 10px; line-height: 1.8; }
  .team-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .team-portrait { max-width: 480px; width: 100%; margin: 0 auto; }
  .team-introduction { padding: 0; }
  .team-introduction h2 { font-size: 88px; margin-bottom: 16px; }
  .team-page .team-role { margin-bottom: 20px; }
  .team-contact { margin-top: 24px; }
  .team-chapter { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 28px 0; }
  .team-chapter h3 { max-width: none; }
}
