/* Native portrait proportions, shared frame alignment, inner-viewport clipping. */
.f27-team {
  --team-gap:clamp(25.6px,2.8vw,51.2px); --team-count:4;
  /* Keep Draggable's raised track inside the section, below persistent nav. */
  isolation:isolate;
  position:relative; width:100cqw; margin-left:calc(50% - 50cqw);
  padding-block:clamp(64px,6vw,100px);
  padding-inline:max(calc((100cqw - 1600px)/2 + var(--f27-inner,1.05rem) + 1px),calc(var(--f27-page-gutter,24px) + var(--f27-inner,1.05rem) + 1px));
  overflow:hidden; overflow:clip;
  background:var(--f27-surface,#F1F1EC);
}
.f27-team__header { display:flex; align-items:flex-end; justify-content:space-between; gap:32px; margin-bottom:clamp(48px,5vw,80px); }
.f27-team__intro { flex:1; min-width:0; max-width:650px; }
.f27-team .f27-team__intro h2 { max-width:22ch; margin:16px 0 22px; font-size:clamp(27px,3vw,46px); font-weight:400; }
.f27-team .f27-team__intro > p:not(.f27-education__section-eyebrow) { max-width:60ch; }
.f27-team__controls { display:flex; align-items:center; gap:20px; flex:0 1 440px; min-width:200px; max-width:45%; }
.f27-team__controls[hidden] { display:none; }
.f27-team__dots { display:flex; flex:1; min-width:0; align-items:center; overflow-x:auto; scrollbar-width:none; padding:4px; }
.f27-team__dots::-webkit-scrollbar { display:none; }
.f27-team__dot { display:flex; align-items:center; justify-content:center; flex:0 0 20px; height:44px; padding:0; border:0; background:transparent; color:inherit; cursor:pointer; }
.f27-team__dot::after { content:""; display:block; width:8px; height:8px; flex:none; border-radius:50%; background:var(--f27-muted); opacity:.35; transition:opacity .3s,background-color .3s; }
.f27-team__dot[aria-current="true"]::after { opacity:1; background:var(--f27-accent-text); }
.f27-team__arrows { display:flex; gap:8px; flex:none; }
.f27-team__arrow { display:grid; place-items:center; width:48px; height:48px; padding:0; border:1px solid var(--f27-line); border-radius:6px; background:transparent; color:var(--f27-ink); cursor:pointer; }
.f27-team__arrow svg { width:24px; height:24px; }
.f27-team__arrow:disabled { opacity:.25; cursor:default; }
.f27-team :is(button,a):focus-visible { outline:2px solid var(--f27-focus); outline-offset:2px; }
.f27-team__viewport {
  min-width:0;
  /* Contain the translated track at the card area, including while is-moving
     reveals offscreen cards. Controls stay outside this clipping boundary.
     Clip does not introduce a scroll container; keep the hidden fallback. */
  position:relative;
  overflow:hidden; overflow:clip;
}
/* Keep a card link's focus ring inside the clipped right edge. */
.f27-team .f27-team__viewport .f27-team__linkedin:focus-visible { outline-offset:-2px; }
.f27-team__track { display:flex; gap:var(--team-gap); position:relative; touch-action:pan-y; }
.f27-team[data-team-ready] .f27-team__track { cursor:grab; }
.f27-team.is-dragging .f27-team__track { cursor:grabbing; }
.f27-team:not([data-team-ready]) .f27-team__track { overflow-x:auto; scroll-snap-type:x mandatory; }
.f27-team__card { flex:0 0 calc((100% - (var(--team-count) - 1)*var(--team-gap))/var(--team-count)); min-width:0; margin:0; scroll-snap-align:start; }
.f27-team[data-team-ready]:not(.is-moving) .f27-team__card[aria-hidden="true"] { visibility:hidden; }
.f27-team__portrait { position:relative; overflow:hidden; border-radius:3px; }
/* Keep the soft image outline visible above the hover zoom without changing sizing. */
.f27-team__portrait::after { content:""; position:absolute; inset:0; z-index:1; border:1px solid var(--f27-line); border-radius:inherit; pointer-events:none; }
.f27-team__portrait img { display:block; width:100%; height:auto; aspect-ratio:auto; object-fit:contain; user-select:none; -webkit-user-drag:none; transition:transform 1.2s cubic-bezier(.22,1,.36,1); }
.f27-team__card figcaption { display:flex; justify-content:space-between; gap:12px; padding-top:20px; text-align:left; }
.f27-team__card figcaption > div { flex:1; min-width:0; }
.f27-team .f27-team__card h3 { margin:0; text-align:left; font-size:clamp(18px,1.5vw,20px); line-height:1.3; letter-spacing:-.025em; }
.f27-team .f27-team__card figcaption p { margin:6px 0 0; text-align:left; font-size:14px; line-height:1.5; color:var(--f27-muted); }
.f27-team__linkedin { flex:none; display:grid; place-items:center; width:36px; height:36px; margin-top:-6px; color:var(--f27-ink); }
.f27-team__linkedin svg { width:19px; height:19px; }
.f27-team .f27-team__status { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
@media(hover:hover) and (prefers-reduced-motion:no-preference) { .f27-team__portrait:hover img { transform:scale(1.03); } }
@media(max-width:991px) { .f27-team { --team-count:2; } }
@media(max-width:767px) {
 .f27-team { --team-count:1; }
 .f27-team__header { display:block; }
 .f27-team__controls { margin-top:24px; max-width:none; width:100%; min-width:0; justify-content:space-between; }
}
@media(prefers-reduced-motion:reduce) { .f27-team *, .f27-team *::after { transition:none!important; } }
