.team-story{color:#0D1240;background:#BCC0E7;position:relative}
.team-stage{position:relative;isolation:isolate}
.team-label{position:absolute;left:5.2vw;top:110px;z-index:5;font:500 14px var(--body);letter-spacing:.08em;text-transform:uppercase}
.team-profile{position:relative;height:100svh;min-height:650px;overflow:hidden;background:transparent;isolation:isolate}
.team-profile-pau{color:#0D1240}
.team-name{position:absolute;z-index:0;top:17%;left:48%;font-family:var(--display);font-weight:600;font-size:clamp(102px,13.3vw,218px);letter-spacing:-.07em;line-height:.82;color:#5962aa;pointer-events:none;text-shadow:0 1px 0 #bcc0e7}
.team-profile-pau .team-name{left:7%;color:#66851d;text-shadow:0 1px 0 #ccff49}
.team-person{position:absolute;z-index:1;bottom:0;left:4%;width:min(57vw,860px);height:88%;filter:drop-shadow(22px 20px 18px rgba(13,18,64,.21));pointer-events:none}
.team-person::after{content:"";position:absolute;z-index:-1;left:23%;bottom:4%;width:56%;height:14%;border-radius:50%;background:rgba(13,18,64,.25);filter:blur(22px)}
.team-cutout{width:100%;height:100%;object-fit:contain;object-position:left bottom}
.team-profile-pau .team-person{left:auto;right:4%;width:min(57vw,860px);filter:drop-shadow(-22px 20px 18px rgba(13,18,64,.2))}.team-profile-pau .team-cutout{object-position:right bottom}
.team-copy{position:absolute;z-index:3;right:6%;top:28%;display:grid;justify-items:start;gap:28px;max-width:265px}.team-profile-maria .team-copy{top:57%;right:7%}.team-profile-pau .team-copy{left:7%;right:auto;top:27%}
.team-role{margin:0;font-size:14px;line-height:1.6;letter-spacing:.045em}
.team-toggle{background:#0D1240;color:#F9F9F7;border:1px solid #0D1240;border-radius:40px;padding:17px 24px;display:flex;gap:22px;align-items:center;font-size:14px;transition:background .25s,transform .25s}
.team-toggle span{font-size:22px;color:#CCFF49}.team-toggle:hover{background:#4D55F5;transform:translateY(-3px)}
.team-animated{height:220svh}.team-animated .team-stage{position:sticky;top:0;height:100svh;overflow:hidden}.team-animated .team-profile{position:absolute;inset:0;min-height:0;background:transparent}
.team-dialog{position:fixed;inset:0;width:min(620px,calc(100% - 36px));max-height:85svh;margin:auto;padding:58px 44px 40px;background:#BCC0E7;color:#0D1240;border:1px solid #0D124025;border-radius:20px;overflow:auto;box-shadow:0 30px 100px #0004}
.team-dialog-pau{background:#CCFF49}.team-dialog::backdrop{background:#0D1240b8;backdrop-filter:blur(12px)}.team-dialog[open]{animation:team-dialog-in .35s cubic-bezier(.2,.7,.2,1)}
.team-dialog-close{position:absolute;right:26px;top:18px;display:flex;align-items:center;gap:15px;background:transparent;font-size:14px}.team-dialog-close span{font-size:28px}
.team-dialog-eyebrow{font-size:12px;letter-spacing:.09em;margin:12px 0 24px}.team-dialog h3{font-size:clamp(40px,5vw,66px);margin-bottom:25px}.team-dialog-intro{font-size:18px;line-height:1.65}.team-dialog details{margin-top:30px;border-top:1px solid #0D124040}.team-dialog summary{padding:20px 0;display:flex;justify-content:space-between;gap:20px;cursor:pointer;list-style:none;font-size:16px}.team-dialog summary::-webkit-details-marker{display:none}.team-dialog summary span{font-size:22px;transition:transform .3s}.team-dialog details[open] summary span{transform:rotate(45deg)}.team-dialog details p{font-size:16px;line-height:1.7;padding:0 0 10px}.team-dialog details[open]>div{animation:team-dialog-in .3s}
@keyframes team-dialog-in{from{opacity:0;transform:translateY(16px) scale(.98)}to{opacity:1;transform:none}}
@media(max-width:760px){.team-label{top:95px;left:6vw}.team-name{top:14%;left:6vw;font-size:clamp(68px,19vw,118px);letter-spacing:-.075em;line-height:.84}.team-profile-pau .team-name{left:6vw;top:14%}.team-profile{min-height:600px}.team-person{left:-8%;width:112%;height:75%;filter:drop-shadow(15px 16px 14px rgba(13,18,64,.2))}.team-profile-pau .team-person{left:auto;right:-9%;width:112%}.team-copy,.team-profile-maria .team-copy,.team-profile-pau .team-copy{top:54%;bottom:auto;left:6vw;right:auto;gap:15px;max-width:75%}.team-role{font-size:12px;line-height:1.45;max-width:220px}.team-toggle{padding:15px 20px;background:#0D1240ed}.team-dialog{padding:58px 26px 25px}.team-dialog-intro{font-size:17px}}
@media(max-height:550px){.team-label{top:85px}.team-name{font-size:22vh}.team-profile>.team-role{top:22%;font-size:12px}.team-toggle{bottom:5%;padding:12px 18px}}
@media(prefers-reduced-motion:reduce){.team-dialog[open],.team-dialog details[open]>div{animation:none}.team-toggle,.team-dialog summary span{transition:none}}

/* Pau: name sits behind the supplied transparent portrait. */
.team-profile-pau .team-name{left:9%;top:19%;font-size:clamp(100px,13.2vw,216px)}
.team-profile-pau .team-copy{top:65%;max-width:260px}
.team-animated .team-profile{will-change:opacity,transform}
.team-animated .team-person,.team-animated .team-name,.team-animated .team-copy{will-change:transform;backface-visibility:hidden}
@media(max-width:760px){.team-profile-pau .team-name{left:6vw;top:14%;font-size:clamp(68px,19vw,118px)}.team-profile-pau .team-copy{top:auto;bottom:7%;max-width:230px}.team-profile-pau .team-role{max-width:170px}}
@media(prefers-reduced-motion:reduce){.team-profile-pau{background:#CCFF49}.team-profile,.team-person,.team-name,.team-copy{will-change:auto}}

/* The incoming team scene adopts the page's interpolated colour before settling on lilac. */
.team-story{background:transparent}
.team-bio{margin-top:30px;border-top:1px solid #0D124040}
.team-bio h4{margin:0;padding:20px 0;font:400 16px var(--body);line-height:1.5}
.team-bio p{font-size:16px;line-height:1.7;padding:0 0 10px}
.team-linkedin{display:inline-block;margin-top:18px;border-bottom:1px solid currentColor;font-size:15px}
@media(min-width:761px){.team-profile-maria .team-name{font-size:clamp(90px,min(13.3vw,18svh),218px)}.team-profile-maria .team-copy{top:64%}}
@media(max-width:760px){.team-profile-maria .team-copy{top:auto;bottom:7%;max-width:190px}.team-profile-maria .team-name{font-size:clamp(62px,min(19vw,12svh),118px)}}
/* Mobile: keep label, names and controls in their own space above portraits. */
@media(max-width:760px){
 .team-label{top:clamp(68px,10svh,90px);left:6vw;font-size:11px}
 .team-profile .team-name,.team-profile-pau .team-name{top:clamp(102px,15svh,124px);left:6vw;font-size:clamp(56px,min(17vw,10svh),90px);line-height:.86}
 .team-profile .team-person,.team-profile-pau .team-person{height:53%;width:100%;left:0;right:auto}
 .team-profile-pau .team-person{left:auto;right:0}
 .team-profile .team-copy,.team-profile-maria .team-copy,.team-profile-pau .team-copy{top:clamp(215px,34svh,315px);left:6vw;right:auto;bottom:auto;gap:10px;max-width:88%;z-index:3}
 .team-profile .team-role,.team-profile-pau .team-role{max-width:none;font-size:11px;line-height:1.35}
 .team-toggle{padding:11px 16px;gap:14px;font-size:13px}
}
.team-dialog-close{border:0;box-shadow:none;appearance:none;-webkit-appearance:none}
@media(hover:none) and (pointer:coarse){.team-dialog-close:focus,.team-dialog-close:focus-visible{outline:none}}
