.team-carousel-section {
  overflow: hidden;
  padding: 76px 0;
  background: #f4f5f6;
  color: #171b27;
  border-block: 1px solid #e7e7e4;
}

.team-heading { position:relative; display:flex; align-items:end; justify-content:center; gap:48px; margin-bottom:38px; text-align:center; }
.team-heading > div:first-child { max-width:700px; }
.team-heading .eyebrow { color:#75664f; }
.team-heading h2 { margin:12px 0; color:#171b27; font:600 clamp(38px,4vw,54px)/1.08 var(--font-display); letter-spacing:-.035em; }
.team-heading p { max-width:590px; margin:0 auto; color:#68707d; font-size:15px; line-height:1.65; }

.team-controls { position:absolute; right:0; bottom:4px; display:flex; gap:8px; }
.team-controls button { display:grid; place-items:center; width:44px; height:44px; border:1px solid #cfd1d5; border-radius:50%; background:#fff; color:#171b27; font-size:18px; cursor:pointer; transition:border-color .2s,background .2s; }
.team-controls button:hover { border-color:#171b27; background:#f5f5f2; }
.team-controls button:disabled { opacity:.3; cursor:not-allowed; }

.team-viewport { overflow:hidden; }
.team-track { display:flex; gap:24px; transition:transform .5s cubic-bezier(.2,.7,.2,1); will-change:transform; }
.team-profile { position:relative; flex:0 0 calc((100% - 48px)/3); min-width:0; overflow:hidden; padding-top:28px; background:#fff; color:#171b27; border:1px solid #dfe2e6; border-radius:14px; box-shadow:0 9px 24px rgba(18,26,43,.07); text-align:center; transition:transform .3s ease,border-color .3s ease,box-shadow .3s ease,background .3s ease; }
.team-profile::after { content:""; position:absolute; inset:auto 20px 0; height:2px; background:#aa8956; transform:scaleX(0); transform-origin:left; transition:transform .3s ease; }
.team-profile:hover { transform:translateY(-7px); border-color:#bfc4cb; background:#fff; box-shadow:0 20px 42px rgba(18,26,43,.13); }
.team-profile:hover::after { transform:scaleX(1); }
.team-profile .person-photo { position:relative; display:flex; align-items:center; justify-content:center; width:92px; height:92px; margin:0 auto; overflow:hidden; border:5px solid #fff; border-radius:50%; background:#eeeeec; box-shadow:0 7px 20px rgba(18,26,43,.1); }
.team-profile .person-photo img { display:block; width:auto; height:auto; max-width:100%; max-height:100%; object-fit:contain; object-position:center; border-radius:50%; filter:saturate(.78); transition:filter .3s ease,transform .3s ease; }
.team-profile:hover .person-photo img { filter:saturate(.95); transform:scale(1.03); }
.team-profile .person-photo span { position:absolute; right:0; bottom:2px; display:grid; place-items:center; width:22px; height:22px; border:2px solid #fff; border-radius:50%; background:#222a38; color:#fff; font:600 8px var(--font-body); }

.profile-copy { padding:16px 24px 24px; }
.profile-copy small { color:#75664f; font-size:10px; font-weight:700; line-height:1.4; text-transform:uppercase; letter-spacing:.11em; }
.profile-copy h3 { margin:6px 0 5px; color:#171b27; font:600 22px/1.15 var(--font-display); }
.profile-copy p { min-height:60px; margin:12px auto 14px; max-width:290px; color:#737986; font-size:12px; line-height:1.6; }
.profile-copy a { color:#3d4653; font-size:13px; font-weight:700; text-decoration:none; border-bottom:1px solid #bfc2c7; }
.profile-copy a:hover { color:#171b27; border-color:#171b27; }

.team-progress { display:grid; grid-template-columns:30px minmax(120px,240px) 30px; gap:12px; align-items:center; margin-top:22px; color:#777e88; font-size:11px; }
.team-progress > div { height:1px; background:#d9dade; }
.team-progress i { display:block; width:25%; height:100%; background:#4b5360; transition:width .35s; }
.team-profile:focus-within { outline:2px solid #59616d; outline-offset:3px; }

@media (max-width:1000px) {
  .team-profile { flex-basis:calc((100% - 24px)/2); }
  .team-profile .person-photo { width:88px; height:88px; }
}

@media (max-width:680px) {
  .team-carousel-section { padding:60px 0; }
  .team-heading { align-items:center; flex-direction:column; margin-bottom:28px; }
  .team-heading h2 { font-size:38px; }
  .team-controls { position:static; align-self:center; }
  .team-profile { flex-basis:100%; }
  .team-profile .person-photo { width:88px; height:88px; }
  .profile-copy p { min-height:0; }
}
