/* Homepage team; portraits and content from the supplied corporate presentation. */
.home-team { border-top:1px solid var(--line); padding-bottom:0; }
.home-team + .corporate-preview { margin-top:var(--space-section); }
.home-team .section-heading > p { max-width:390px; }
.team-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap: 36px 24px; }
.team-person figure { background:var(--soft); overflow:hidden;
/* ai-design-check-ignore-next-line radius-scale -- Approved arched photo silhouette, not a card radius. */
border-radius: 110px 110px 12px 12px;
 }
.team-person img { display:block; width:100%; height:auto; aspect-ratio:.88; object-fit:cover; object-position:50% 30%; }
.team-person--uncropped img { object-fit:contain; object-position:center; }
:is(.team-person h2, .team-person h3) { font-size:25px; line-height:1.2; margin: 20px 0 8px; }
.team-person p { font-size:14px; line-height:1.7; }
.team-more { margin-top: 36px; border-block:1px solid var(--line); }
.team-more summary { padding: 24px 0; font-size:14px; min-height:60px; }
.team-more summary span { float:right; }
.team-more[open] summary span { transform:rotate(45deg); }
.team-more .team-grid { padding: 16px 0 36px; }
.team-founder { margin-top: 24px; }
.team-relocated { padding-bottom:60px; }
@media(max-width:1000px) { .team-grid { gap:28px 20px; } :is(.team-person h2, .team-person h3) { font-size:23px; } }
@media(max-width:760px) {
 .home-team + .corporate-preview { margin-top:var(--space-section-mobile); }
 .team-grid { grid-template-columns:1fr 1fr; gap: 28px 20px; }
 :is(.team-person h2, .team-person h3) { font-size:23px; margin: 16px 0 8px; }
 .team-person p { font-size:14px; }
 .team-more { margin-top:28px; }
 .team-more summary { font-size:13px; }
}
@media(max-width:380px) { .team-grid { column-gap: 16px; } :is(.team-person h2, .team-person h3) { font-size:21px; } }
/* A continuous, manually scrollable row; original portraits stay unchanged. */
.home-team .section-heading{align-items:center;}
.home-team .section-heading h2{flex:1;}



.team-viewport{overflow-x:auto;scrollbar-width:none;scroll-behavior:auto;overscroll-behavior-x:contain;padding: 8px max(40px,calc((100% - 1200px)/2));}
.team-viewport::-webkit-scrollbar{display:none;}
.team-track{display:flex;width:max-content;}
.team-group{display:flex;gap: 24px;padding-right: 24px;flex-shrink:0;}
.team-group .team-person{width:260px;flex-shrink:0;}
.team-group .team-person figure{margin:0;}
@media(max-width:1000px){.home-team .section-heading{flex-wrap:wrap;gap:24px;}.home-team .section-heading>p{font-size:14px;max-width:310px;}.team-group{gap:20px;padding-right:20px;}}
@media(max-width:760px){.home-team .section-heading{align-items:flex-start;gap:20px;}.home-team .section-heading>p{order:3;max-width:none;width:100%;}.team-viewport{padding-inline:20px;}.team-group{gap: 20px;padding-right: 20px;}.team-group .team-person{width:230px;}.home-team .section-heading h2{font-size:36px;min-width:180px;}}
