/* Public company story and team. Dark-only; uses the shared design tokens. */
.team-page { width: 100%; max-width: 1160px; margin: 0 auto; padding: clamp(20px, 4vw, 52px) clamp(16px, 3vw, 36px); color: var(--text-body); }
.team-page *, .team-page *::before, .team-page *::after { box-sizing: border-box; }
.team-page h1, .team-page h2, .team-page h3, .team-page p { margin: 0; }
.team-page h1, .team-page h2, .team-page h3 { color: var(--text-primary); }
.team-page a { color: var(--accent); text-decoration: none; }
.team-page a:hover { color: var(--accent-hover); }
.team-page a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 4px; }
.team-eyebrow { color: var(--accent); font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; line-height: 1.6; }
.team-story { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 64px); padding: 0 0 40px; border-bottom: 1px solid var(--border-subtle); }
.team-page h1, .team-page h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.3; letter-spacing: -.025em; font-weight: 600; text-wrap: balance; }
.team-story__heading h1 { margin-top: 14px; }
.team-story__body { display: grid; gap: 18px; align-content: start; font-size: .93rem; line-height: 1.95; }
.team-story__body p:first-child { color: var(--text-primary); }
.team-experience { margin-top: 28px; padding: 22px; background: var(--bg-surface); border-left: 2px solid var(--accent); border-radius: 0 10px 10px 0; }
.team-experience .team-experience__label { color: var(--text-muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.team-experience .team-experience__name { margin: 8px 0; color: var(--text-primary); font-weight: 600; font-size: 1.05rem; overflow-wrap: anywhere; }
.team-experience p:last-child { font-size: .8rem; line-height: 1.75; color: var(--text-muted); }
.team-people { padding-top: 44px; }
.team-section-heading h2 { margin: 14px 0; }
.team-section-heading > p:last-child { max-width: 720px; font-size: .9rem; line-height: 1.8; color: var(--text-muted); }
.team-members { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.team-member { min-width: 0; border: 1px solid var(--border-subtle); border-radius: 18px; background: linear-gradient(135deg, var(--bg-card), var(--bg-card-end)); overflow: hidden; }
.team-member--robert { grid-column: 1 / -1; display: grid; grid-template-columns: 260px 1fr; }
.team-member__portrait { min-height: 350px; background: var(--bg-surface); }
.team-member__portrait img { display: block; width: 100%; height: 100%; max-height: 440px; object-fit: cover; object-position: center 25%; }
.team-member__body { padding: clamp(22px, 3vw, 34px); }
.team-member__role { color: var(--accent); font-size: .72rem; font-weight: 600; }
.team-member h3 { margin: 10px 0; font-size: clamp(1.35rem, 2.5vw, 1.75rem); line-height: 1.35; font-weight: 600; overflow-wrap: anywhere; }
.team-member__focus { color: var(--text-muted); font-size: .83rem; line-height: 1.6; }
.team-member .team-member__bio { margin-top: 20px; font-size: .9rem; line-height: 1.85; }
.team-member .team-member__full-name { margin-top: 16px; color: var(--text-faint); font-size: .73rem; line-height: 1.6; }
.team-member__links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 18px; }
.team-member__links a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: .8rem; }
.team-member--compact { padding-top: 26px; }
.team-member--compact .team-member__body { padding-top: 16px; }
.team-member__monogram { display: grid; place-items: center; width: 64px; height: 64px; margin-left: clamp(22px, 3vw, 34px); border: 1px solid var(--accent-border); border-radius: 16px; background: var(--accent-dim); color: var(--accent); font-size: 1.8rem; font-weight: 600; }
.team-contact { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 36px; padding: 28px; border: 1px solid var(--border-subtle); border-radius: 18px; background: var(--bg-surface); }
.team-contact h2 { font-size: 1.3rem; }
.team-contact p { max-width: 640px; margin-top: 10px; font-size: .85rem; line-height: 1.8; color: var(--text-muted); }
.team-contact > a { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 46px; padding: 12px 18px; border: 1px solid var(--accent-border); border-radius: 10px; background: var(--accent-dim); font-size: .82rem; font-weight: 600; white-space: nowrap; }
@media (max-width: 700px) {
    .team-story { grid-template-columns: 1fr; gap: 26px; padding: 0 0 34px; }
    .team-members { grid-template-columns: 1fr; }
    .team-member--robert { grid-template-columns: 1fr; }
    .team-member__portrait { min-height: 0; height: 290px; }
    .team-member__portrait img { object-position: center 25%; }
    .team-contact { flex-direction: column; align-items: flex-start; padding: 24px; }
    .team-contact > a { width: 100%; }
}
