/* Developer: svg360 */
html { scrollbar-gutter: stable; }
body.team-dialog-is-open { overflow: hidden; }
.role-card { position: relative; transition: background-color .22s ease; }
.role-card:hover, .role-card:focus-within { background-color: #efefee; }
.role-trigger { padding: 0; border: 0; background: transparent; font: inherit; letter-spacing: inherit; text-align: left; }
.role-trigger::after { content: ""; position: absolute; inset: 0; cursor: pointer; }
.role-trigger:focus-visible { outline: none; }
.role-trigger:focus-visible::after { outline: 2px solid var(--purple,var(--accent,#6541a5)); outline-offset: 3px; }
.team-role-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; }
.team-role-link { min-height: 44px; padding: 8px 0; border: 0; border-bottom: 1px solid var(--line,rgba(23,23,23,.18)); background: transparent; color: inherit; font-size: 13px; text-align: left; }
.team-role-link:hover, .team-role-link:focus-visible { background: #efefee; }
.team-dialog { position: fixed; width: min(1080px,calc(100vw - 64px)); max-width: none; max-height: calc(100svh - 64px); margin: auto; padding: 0; border: 0; overflow: auto; color: var(--ink,#171717); background: #fff; }
.team-dialog::backdrop { background: rgba(15,12,22,.72); backdrop-filter: blur(5px); }
.team-close-layer { position: sticky; top: 0; height: 0; z-index: 20; display: flex; justify-content: flex-end; pointer-events: none; }
.team-close { flex: 0 0 auto; width: 44px; height: 44px; margin: 18px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line,rgba(23,23,23,.18)); color: var(--ink,#171717); background: rgba(255,255,255,.95); font-size: 29px; font-weight: 300; line-height: 1; pointer-events: auto; transition: background .2s; }
.team-close:hover { background: #efefee; }
.team-carousel { min-width: 0; }
.team-panel-header, .team-stage { display: none; }
.team-layout { display: grid; grid-template-columns: minmax(0,.96fr) minmax(0,1.04fr); min-width: 0; }
.team-portrait { position: relative; margin: 0; min-width: 0; overflow: hidden; background: #24222a; }
.team-portrait img { width: 100%; height: 100%; min-height: 560px; aspect-ratio: 1/1.12; object-fit: cover; }
.team-portrait figcaption { position: absolute; left: 28px; bottom: 24px; color: rgba(255,255,255,.7); font-size: 12px; line-height: 1.5; letter-spacing: .08em; }
.team-copy { display: flex; flex-direction: column; min-width: 0; padding: 76px 48px 40px; }
.team-copy .kicker { margin-bottom: 28px; color: var(--muted,#656368); font-size: 11px; }
.team-name { margin: 0 0 16px; font-size: clamp(42px,4.4vw,64px); line-height: 1.2; letter-spacing: -.045em; font-weight: 300; word-break: keep-all; text-wrap: balance; overflow-wrap: anywhere; }
.team-role-title { margin: 0 0 30px; font-size: 20px; line-height: 1.5; }
.team-bio { margin: 0 0 30px; color: var(--muted,#656368); font-size: 16px; line-height: 1.85; }
.team-specialties { margin: 0 0 28px; padding-top: 18px; border-top: 1px solid var(--line,rgba(23,23,23,.18)); font-size: 12px; line-height: 1.9; letter-spacing: .015em; }
.team-preview-note { margin: auto 0 0; color: var(--muted,#656368); font-size: 12px; line-height: 1.7; }
.team-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; padding: 0; border: 0; clip-path: inset(50%); white-space: nowrap; }

/* Three visible cards; the invisible outer slots keep the circular movement seamless. */
.team-dialog--multiple { background: #f7f6f4; }
.team-dialog--multiple .team-panel-header { display: block; padding: 32px 80px 0; text-align: center; }
.team-panel-header .kicker { margin: 0 0 8px; font-size: 11px; font-weight: 400; color: #69666c; letter-spacing: .08em; }
.team-panel-role { margin: 0; font-size: 28px; line-height: 1.3; font-weight: 300; letter-spacing: -.025em; }
.team-dialog--multiple .team-layout { display: block; }
.team-dialog--multiple .team-portrait { display: none; }
.team-dialog--multiple .team-stage { --team-card-width: clamp(240px,30vw,310px); --team-step: clamp(190px,26vw,280px); display: block; position: relative; height: 438px; overflow: hidden; isolation: isolate; touch-action: pan-y; }
.team-card { --card-scale: .8; position: absolute; top: 50%; left: 50%; width: var(--team-card-width); margin: 0; padding: 0; border: 0; background: #fff; color: #171717; transform: translate(calc(-50% + var(--slot) * var(--team-step)),-50%) scale(var(--card-scale)); opacity: .55; z-index: 1; text-align: left; box-shadow: 0 10px 30px rgba(24,19,31,.08); transform-origin: center; will-change: transform; cursor: pointer; }
.team-stage[data-ready="true"] .team-card { transition: transform .7s cubic-bezier(.22,.68,.18,1),opacity .7s ease,filter .7s ease; }
.team-card[data-state="center"] { --card-scale: 1; opacity: 1; z-index: 3; }
.team-card[data-state="side"] { filter: saturate(.5); }
.team-card[data-state="buffer"] { opacity: 0; pointer-events: none; }
.team-card:focus-visible { outline: 2px solid var(--purple,var(--accent,#6541a5)); outline-offset: 4px; }
.team-card-image { width: 100%; height: auto; aspect-ratio: 1/1.02; object-fit: cover; pointer-events: none; }
.team-card-identity { display: flex; flex-direction: column; gap: 5px; padding: 16px 20px 17px; }
.team-card-name { font-size: 25px; line-height: 1.25; letter-spacing: -.035em; font-weight: 300; word-break: keep-all; text-wrap: balance; overflow-wrap: anywhere; }
.team-card-role { font-size: 12px; line-height: 1.5; color: #6c6970; }
.team-dialog--multiple .team-copy { display: block; max-width: 760px; min-height: 174px; margin: 0 auto; padding: 0 48px 26px; text-align: center; }
.team-dialog--multiple .team-copy .kicker, .team-dialog--multiple .team-role-title { display: none; }
.team-dialog--multiple .team-name { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; padding: 0; border: 0; clip-path: inset(50%); white-space: nowrap; }
.team-dialog--multiple .team-bio { margin: 0 0 16px; font-size: 15px; line-height: 1.8; }
.team-dialog--multiple .team-specialties { margin: 0 0 12px; padding-top: 16px; font-size: 12px; line-height: 1.7; }
.team-dialog--multiple .team-preview-note { margin: 0; font-size: 12px; color: #77737b; }
@media (max-width: 760px) {
  .team-dialog { width: calc(100vw - 32px); max-height: calc(100svh - 32px); }
  .team-layout { grid-template-columns: 1fr; }
  .team-portrait img { height: min(42svh,380px); min-height: 0; aspect-ratio: auto; object-position: center 32%; }
  .team-portrait figcaption { left: 24px; bottom: 18px; }
  .team-copy { padding: 30px 28px; min-height: 330px; }
  .team-copy .kicker { margin-bottom: 18px; }
  .team-name { font-size: clamp(36px,9vw,54px); }
  .team-role-title { margin-bottom: 20px; font-size: 18px; }
  .team-bio { margin-bottom: 24px; font-size: 15px; }
  .team-specialties { margin-bottom: 24px; }
  .team-close { margin: 12px; }
  .team-dialog--multiple .team-panel-header { padding: 34px 52px 0; }
  .team-panel-header .kicker { font-size: 11px; letter-spacing: .08em; }
  .team-panel-role { font-size: 23px; }
  .team-dialog--multiple .team-stage { --team-card-width: clamp(176px,53vw,260px); --team-step: clamp(128px,42vw,190px); height: clamp(306px,82vw,386px); }
  .team-card { --card-scale: .78; }
  .team-card-identity { padding: 13px 14px 14px; }
  .team-card-name { font-size: 22px; }
  .team-card-role { font-size: 12px; }
  .team-dialog--multiple .team-copy { min-height: 220px; padding: 0 26px 26px; }
  .team-dialog--multiple .team-bio { font-size: 14px; line-height: 1.85; }
}
@media (max-width: 380px) {
  .team-dialog { width: calc(100vw - 20px); max-height: calc(100svh - 20px); }
  .team-copy { padding: 28px 22px; }
  .team-dialog--multiple .team-copy { padding-inline: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .role-card, .team-close, .team-stage[data-ready="true"] .team-card { transition: none; }
}
