.team-card{position:relative;border-radius:8px}
.team-open{display:none;position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:8px;background:transparent;cursor:pointer}
.team-discover{display:none!important}
.profile-ready .team-open{display:block}
.profile-ready .team-discover{display:flex!important;align-items:center;justify-content:space-between;gap:16px;font-size:13px;color:#766025;margin-top:20px;padding-top:14px;border-top:1px solid #c7b57f80;transition:color .25s}
.team-discover .icon{width:20px;height:20px;transition:transform .3s var(--ease-out)}
.team-card:hover .team-discover .icon,.team-card:focus-within .team-discover .icon{transform:translate(3px,-3px)}
.team-card:focus-within .team-image img{transform:scale(1.025)}
.team-open:focus-visible{outline:3px solid #9b7a24;outline-offset:7px}
html.profile-open{overflow:hidden}
.profile-dialog{padding:0;margin:auto;width:min(960px,calc(100vw - 64px));max-width:none;max-height:calc(100dvh - 64px);border:1px solid #b39a5766;border-radius:22px;background:var(--graphite-gradient);color:var(--cream);box-shadow:0 32px 100px #0008,0 0 60px #c9a22712;overflow:visible}
.profile-dialog::backdrop{background:#050505aa;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.profile-dialog[open]{animation:profile-arrive .44s var(--ease-out) both}
.profile-dialog[open]::backdrop{animation:profile-backdrop-in .3s ease both}
.profile-dialog.is-closing{animation:profile-depart .18s ease-in both}
.profile-dialog.is-closing::backdrop{animation:profile-backdrop-out .18s ease-in both}
.profile-layout{display:grid;grid-template-columns:.88fr 1.12fr;min-height:min(540px,calc(100dvh - 66px));max-height:calc(100dvh - 66px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#9e884c #202022;border-radius:inherit}
.profile-photo{position:relative;min-height:100%;background:var(--depth);overflow:hidden}
.profile-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 28%}
.profile-photo:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#0b0b0be6,transparent 50%);pointer-events:none}
.profile-photo>span{position:absolute;z-index:1;bottom:30px;left:28px;right:28px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;letter-spacing:.13em;color:#e6d49f}
.profile-content{padding:52px 40px 36px}
.profile-content .eyebrow{font-size:10px;letter-spacing:.13em;color:#d1b764;margin:0 44px 18px 0}
.profile-content h2{font-size:clamp(28px,3vw,40px);line-height:1.15;color:var(--cream);margin:0 0 20px}
.profile-intro{font-size:15px;line-height:1.7;color:#cbd2dc;margin:0 0 28px}
.profile-experience-label{font-size:10px;letter-spacing:.13em;color:#d1b764;margin:0 0 12px}
.profile-experience{padding:0;margin:0;list-style:none}
.profile-experience li{padding:14px 0 14px 18px;position:relative;border-top:1px solid #f5f3ed1c}
.profile-experience li:before{content:'';position:absolute;left:0;top:21px;width:5px;height:5px;background:var(--gold);border-radius:50%}
.profile-experience h3{font-size:15px;font-weight:600;letter-spacing:0;line-height:1.4;margin:0 0 6px;color:var(--cream)}
.profile-experience p{font-size:13px;line-height:1.65;margin:0;color:#bcc5d3}
.profile-close{position:absolute;right:16px;top:16px;z-index:2;width:44px;height:44px;display:grid;place-items:center;border:1px solid #c9a22766;border-radius:50%;background:#0b0b0be8;color:#f5f3ed;cursor:pointer;transition:background .25s,transform .25s,border-color .25s}
.profile-close:hover{background:#303033;border-color:#d4af37;transform:rotate(90deg)}
@keyframes profile-arrive{from{opacity:0;transform:translateY(24px) scale(.965)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes profile-depart{to{opacity:0;transform:translateY(12px) scale(.98)}}
@keyframes profile-backdrop-in{from{opacity:0}to{opacity:1}}
@keyframes profile-backdrop-out{to{opacity:0}}
@media(max-width:767px){.profile-dialog{width:calc(100vw - 28px);max-height:calc(100dvh - 28px);border-radius:16px}.profile-layout{grid-template-columns:minmax(0,1fr);min-height:0}.profile-photo{height:240px;min-height:0}.profile-photo img{object-position:50% 30%}.profile-photo>span{left:24px;right:24px;bottom:20px}.profile-content{padding:28px 24px 24px}.profile-content h2{font-size:32px}.profile-content .eyebrow{margin-right:0}.profile-intro{font-size:14px}.profile-experience p{font-size:14px}.profile-close{top:12px;right:12px}.profile-ready .team-discover{font-size:14px}}
@media(max-width:767px){.profile-layout{max-height:calc(100dvh - 30px)}}
@media(prefers-reduced-motion:reduce){.profile-dialog,.profile-dialog::backdrop{animation:none!important}.profile-close:hover,.team-card:hover .team-discover .icon,.team-card:focus-within .team-discover .icon,.team-card:focus-within .team-image img{transform:none}}
.profile-dialog .profile-intro{color:#cbd2dc}
.profile-dialog .profile-experience-label{color:#d1b764}
