/* Compact team bios remain visually inside the phone. */
.team .person{position:relative;width:100%;padding-right:22px;text-align:left;background:transparent;cursor:pointer}
.team .person::after{content:'+';position:absolute;right:0;top:50%;transform:translateY(-50%);font:500 20px/1 DM,sans-serif;color:var(--ink)}
.team .person:hover strong{color:#b72e05}
.team .person:focus-visible{outline:2px solid var(--ink);outline-offset:4px}
.team-profile-scrim{position:absolute;inset:42px 10px 44px;background:#15151555;z-index:50;pointer-events:none;border-radius:4px}
.team-profile-dialog{position:fixed;inset:auto;margin:0;padding:0;border:1px solid var(--ink);border-radius:10px;max-width:none;background:var(--paper);color:var(--ink);box-shadow:0 12px 30px #0004;overflow:auto;overscroll-behavior:contain}
.team-profile-dialog::backdrop{background:transparent;backdrop-filter:none}
.team-profile-dialog[open]{animation:none}
.team-profile-dialog .team-profile-inner{padding:22px}
.team-profile-dialog .team-profile-close{display:grid;place-items:center;position:absolute;right:7px;top:6px;width:36px;height:36px;min-height:36px;padding:0;background:transparent;font:400 28px/1 DM,sans-serif;border-radius:50%}
.team-profile-dialog .team-profile-close:hover{background:var(--lime)}
.team-profile-dialog .team-profile-heading{display:grid;grid-template-columns:54px minmax(0,1fr);align-items:center;gap:12px;padding-right:16px}
.team-profile-dialog .team-profile-heading img{width:54px;height:64px;object-fit:cover;filter:grayscale(1);border:1px solid var(--ink)}
.team-profile-dialog .team-profile-role{display:block;font:700 11px/1.3 DM,sans-serif;margin-bottom:6px;color:#b72e05}
.team-profile-dialog h2{font:800 29px/.95 Barlow,sans-serif;letter-spacing:-.3px;margin:0}
.team-profile-dialog .team-profile-bio{font:400 16px/1.45 DM,sans-serif;margin:18px 0 0}
@media(max-width:380px){.team-profile-dialog .team-profile-inner{padding:18px}.team-profile-dialog .team-profile-heading{grid-template-columns:46px minmax(0,1fr);gap:10px}.team-profile-dialog .team-profile-heading img{width:46px;height:58px}.team-profile-dialog h2{font-size:26px}.team-profile-dialog .team-profile-bio{font-size:15px}}
