/* Homepage team carousel. Native overflow and links remain available without JavaScript. */
.home #people .p6-team-five { --p14-team-gap: 18px; display: flex; width: 100%; max-width: 100% !important; box-sizing: border-box; gap: var(--p14-team-gap); overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scroll-padding-inline: 3px; padding: 8px 3px 16px; scrollbar-width: thin; scrollbar-color: #a9bcdb transparent; }
.home #people .p6-team-five .p4-team-card { flex: 0 0 calc((100% - 4 * var(--p14-team-gap)) / 5); scroll-snap-align: start; }
.home #people .p14-team-controls { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin: 0 0 4px; }
.home #people .p14-team-controls[hidden] { display: none; }
.home #people .p14-team-count { color: var(--p4-muted); margin-inline-end: 5px; font: 600 13px/1.5 P4Inter,sans-serif; font-variant-numeric: tabular-nums; }
.home #people .p14-team-controls button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #c6d5ea; border-radius: 50%; background: #fff; color: var(--p4-blue); font: 700 20px/1 P4Inter,sans-serif; cursor: pointer; }
.home #people .p14-team-controls button:hover:not([aria-disabled="true"]) { border-color: var(--p4-blue); background: #edf3fd; }
.home #people .p14-team-controls button[aria-disabled="true"] { opacity: .5; cursor: default; }
.home #people .p14-team-controls button:focus-visible,.home #people .p6-team-five:focus-visible { outline: 2px solid var(--p4-blue); outline-offset: 3px; }
.home #people .p4-team-card { min-width: 0; transition: transform 300ms cubic-bezier(.2,.8,.2,1),border-color 300ms,box-shadow 300ms; }
.home #people .p4-team-link { height: 100%; color: inherit; }
.home #people .p14-portrait { aspect-ratio: 1; padding: 1.1%; overflow: hidden; background: #fff; }
.home #people .p14-portrait img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform 450ms cubic-bezier(.2,.8,.2,1); }
.home #people .p4-team-caption { position: relative; z-index: 1; background: #fff; }
.home #people .p4-team-caption h3 { transition: color 250ms; }
.home #people .p4-team-caption > span { display: flex; flex: 0 0 auto; transition: transform 300ms cubic-bezier(.2,.8,.2,1); }
.home #people .p14-profile-hint { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 38px; padding: 0 16px 12px; color: var(--p4-blue); font: 650 12px/1.5 P4Inter,sans-serif; background: linear-gradient(#fff,#edf3fd); }
.home #people .p14-profile-hint > span { opacity: 0; transform: translateY(6px); transition: opacity 300ms,transform 300ms cubic-bezier(.2,.8,.2,1); }
.home #people .p4-team-card:focus-within { transform: translateY(-5px); border-color: var(--p4-blue); box-shadow: 0 12px 28px #18489b1a; }
.home #people .p4-team-link:focus-visible { outline: 3px solid var(--p4-blue); outline-offset: -3px; border-radius: inherit; }
.home #people .p4-team-card:focus-within .p14-portrait img { transform: scale(1.02); }
.home #people .p4-team-card:focus-within h3 { color: var(--p4-blue); }
.home #people .p4-team-card:focus-within .p4-team-caption > span { transform: translateX(4px); }
.home #people .p4-team-card:focus-within .p14-profile-hint > span { opacity: 1; transform: translateY(0); }
@media(hover:hover) and (pointer:fine) {
 .home #people .p4-team-card:hover { transform: translateY(-5px); border-color: var(--p4-blue); box-shadow: 0 12px 28px #18489b1a; }
 .home #people .p4-team-card:hover .p14-portrait img { transform: scale(1.02); }
 .home #people .p4-team-card:hover h3 { color: var(--p4-blue); }
 .home #people .p4-team-card:hover .p4-team-caption > span { transform: translateX(4px); }
 .home #people .p4-team-card:hover .p14-profile-hint > span { opacity: 1; transform: translateY(0); }
}
@media(max-width:900px) {
 .home #people .p6-team-five { --p14-team-gap: 16px; }
 .home #people .p6-team-five .p4-team-card { flex: 0 0 40%; scroll-snap-align: start; }
 .home #people .p14-profile-hint > span { opacity: 1; transform: none; }
}
@media(max-width:600px) {
 .home #people .p6-team-five .p4-team-card { flex-basis: 82%; }
 .home #people .p14-profile-hint { font-size: 13px; }
}
@media(hover:none) {
 .home #people .p4-team-card:hover { transform: none; }
 .home #people .p14-profile-hint > span { opacity: 1; transform: none; }
}
@media(prefers-reduced-motion:reduce) {
 .home #people .p4-team-card,.home #people .p14-portrait img,.home #people .p4-team-caption h3,.home #people .p4-team-caption > span,.home #people .p14-profile-hint > span { transition: none !important; transform: none !important; }
 .home #people .p6-team-five { scroll-behavior: auto; }
}
