/* Approved Editorial Profiles layout. Loaded on team.html only. */
body:not(.team-current){
 --team-bg:#0d1019;--team-surface:#181a29;--team-purple:#211a32;
 --team-text:rgba(255,255,255,.78);--team-accent:#cdc4f3;--team-border:rgba(205,196,243,.22);
 --plate:linear-gradient(290.7deg,#110d25 58.79%,#251d53 100%);
 --team-title:clamp(2.35rem,3.8vw,3.5rem);--team-heading:clamp(1.85rem,2.7vw,2.6rem);
 --team-body:clamp(1rem,.93rem + .18vw,1.125rem);
 background:var(--team-bg);
}
body:not(.team-current) #main{padding-top:66px;}
body:not(.team-current) .wrap,body:not(.team-current) .wrap-narrow{width:calc(100% - 64px);max-width:1200px;}
body:not(.team-current) .criteria-hero{padding:56px 0 48px;background:var(--team-bg);border-radius:0;margin:0;}
body:not(.team-current) .criteria-swoosh{display:none;}
body:not(.team-current) .criteria-kicker{color:#00dcca;font-size:14px;margin:0 0 20px;}
body:not(.team-current) .criteria-hero h1{font-size:var(--team-title);font-weight:300;line-height:1.08;letter-spacing:-.035em;margin:0 0 24px;max-width:1000px;}
body:not(.team-current) .criteria-hero h1 span{color:var(--team-accent);}
body:not(.team-current) .criteria-hero .lede{font-size:var(--team-body);line-height:1.6;color:var(--team-text);max-width:700px;margin:0;}
.team-contact-jump{display:inline-flex;align-items:center;gap:12px;margin-top:20px;font-size:14px;color:#cdc4f3;text-decoration:none;border-bottom:1px solid #8c7e9e;padding-bottom:6px;}
.team-contact-jump svg{width:16px;height:16px;color:#fff;}
.team-contact-jump:hover{color:#fff;border-color:#fff;}
body:not(.team-current) .people{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin-top:40px;}
body:not(.team-current) .person{min-width:0;}
body:not(.team-current) .person>img{height:270px;aspect-ratio:auto;width:100%;object-fit:cover;object-position:center 35%;margin:0;}
.person-meta{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 0 0;}
body:not(.team-current) .person-meta h2{font-size:clamp(1.15rem,1.7vw,1.5rem);font-weight:400;margin:0;color:#fff;}
body:not(.team-current) .person-linkedin{flex-shrink:0;width:36px;height:36px;border-radius:50%;background:#d5cbe7;}
body:not(.team-current) .expertise-section{padding:40px 0;background:var(--team-surface);}
body:not(.team-current) .expertise-copy h2{font-size:var(--team-heading);font-weight:300;line-height:1.13;letter-spacing:-.025em;color:#fff;margin:0 0 24px;}
body:not(.team-current) .expertise-copy .check-list{padding:0;margin:0;list-style:none;max-width:none;gap:20px;}
body:not(.team-current) .expertise-copy .check-list li{display:block;color:var(--team-text);font-size:var(--team-body);line-height:1.6;max-width:none;padding:0;}
body:not(.team-current) .expertise-copy .check-list li::before{display:none;}
body:not(.team-current) .expertise-strip{display:block;}
body:not(.team-current) .expertise-strip .check-list{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;}
body:not(.team-current) .expertise-strip .check-list li{border-top:0;padding-top:0;display:grid;grid-template-columns:auto 1fr;gap:0.7rem;align-items:start;}
body:not(.team-current) .expertise-strip .check-list li::before{content:"";display:block;width:6px;height:6px;margin-top:0.55em;border:0;border-radius:50%;background:currentColor;transform:none;}
body:not(.team-current) #contact-direct{padding:48px 0;background:var(--team-bg);scroll-margin-top:90px;}
body:not(.team-current) #contact-direct>.wrap-narrow{display:grid;grid-template-columns:.85fr 1.35fr;gap:64px;}
body:not(.team-current) #contact-direct .kicker{font-size:13px;font-weight:400;letter-spacing:.05em;text-transform:none;color:#fff;margin:0 0 16px;}
body:not(.team-current) #contact-direct h2{font-size:var(--team-heading);font-weight:300;line-height:1.13;letter-spacing:-.025em;color:#fff;margin:0 0 28px;}
body:not(.team-current) .form-panel{background-color:#110d25;background-image:var(--plate);border:1px solid var(--team-border);border-radius:16px;padding:32px;min-width:0;box-shadow:inset 0 1px 0 0 rgba(148,140,180,.45);}
body:not(.team-current) .form{gap:20px;margin:0;}
body:not(.team-current) .form label{font-size:14px;color:#cdc4f3;gap:8px;}
body:not(.team-current) .form input,body:not(.team-current) .form select,body:not(.team-current) .form textarea{background:rgba(0,0,0,.35);border:1px solid rgba(205,196,243,.28);border-radius:6px;color:#fff;color-scheme:dark;min-width:0;}
body:not(.team-current) .form input:focus,body:not(.team-current) .form select:focus,body:not(.team-current) .form textarea:focus{outline:2px solid #b8a7da;outline-offset:2px;}
body:not(.team-current) .form textarea{min-height:110px;}
body:not(.team-current) .form .btn{background:#d2c6e9;color:#20172e;border:1px solid #d2c6e9;justify-self:start;border-radius:30px;font-size:14px;}
body:not(.team-current) .form .btn:hover{background:#fff;border-color:#fff;color:#20172e;}
body:not(.team-current) .contact-cards{display:grid;grid-template-columns:1fr;gap:20px;margin:24px 0 0;}
body:not(.team-current) .contact-card{text-align:left;display:grid;grid-template-columns:24px 1fr;gap:2px 12px;}
body:not(.team-current) .contact-icon{width:20px;height:24px;background:none;grid-row:1 / span 3;margin:0;border-radius:0;color:#fff;}
body:not(.team-current) .contact-icon img{width:18px;height:18px;object-fit:contain;}
body:not(.team-current) .contact-icon>svg{display:block;width:20px;height:20px;flex-shrink:0;}
body.team-c #contact-direct .contact-icon{background:transparent;}
body:not(.team-current) .contact-card h3{font-size:14px;color:#fff;margin:0;}
body:not(.team-current) .contact-card p,body:not(.team-current) .contact-card a{font-size:13px;color:#cdc4f3;overflow-wrap:anywhere;}
body:not(.team-current) .contact-card p{grid-column:2;margin:0;}
body:not(.team-current) .contact-card a:hover{color:#fff;}
body:not(.team-current) .form-success p{color:#d1c7df;font-size:16px;}
body:not(.team-current) .form-success .btn{background:#d2c6e9;color:#20172e;}
/* A: compact portrait gallery, expertise strip, split contact. */
body.team-a .team-intro{display:grid;grid-template-columns:1.4fr 1fr;gap:0 64px;align-items:start;}
body.team-a .criteria-kicker{grid-column:1 / -1;}
body.team-a .team-intro h1{grid-row:2 / span 2;margin:0;}
body.team-a .team-contact-jump{justify-self:start;}
/* B: profile cards first, expertise and contact share the next section. */
body.team-b .criteria-hero{background:linear-gradient(110deg,#0d1019 30%,#20182e);}
body.team-b .team-intro{max-width:980px;}
body.team-b .people{gap:20px;}
body.team-b .person{display:grid;grid-template-columns:112px 1fr;gap:20px;padding:20px;background:#151522;border-top:1px solid #8d769f88;}
body.team-b .person>img{width:112px;height:128px;object-position:center;}
body.team-b .person-meta{flex-direction:column;align-items:flex-start;justify-content:center;padding:0;gap:16px;}
body.team-b .person-meta h2{font-size:21px;line-height:1.2;}
.expert-contact{background:#10131e;padding:48px 0 56px;border-top:1px solid #63557066;}
.expert-contact-grid{display:grid;grid-template-columns:.85fr 1.35fr;gap:64px;align-items:start;}
body.team-b #contact-direct{padding:0;background:none;}
body.team-b #contact-direct>.wrap-narrow{width:100%;max-width:none;display:flex;flex-direction:column;gap:28px;}
body.team-b #contact-direct h2{margin:0;}
body.team-b .expert-contact-grid>.contact-cards{grid-column:1 / -1;grid-template-columns:repeat(3,1fr);margin:0;padding-top:28px;border-top:1px solid var(--team-border);}
body.team-b .expertise-copy .check-list li+li{border-top:1px solid var(--team-border);padding-top:20px;}
body.team-b .expertise-copy>.contact-cards{margin-top:32px;padding-top:28px;border-top:1px solid var(--team-border);}
/* C: portrait-led introduction and a contact band using the existing city image. */
body.team-c .criteria-hero>.wrap{display:grid;grid-template-columns:1fr 1.15fr;gap:56px;align-items:center;}
body.team-c .criteria-hero h1{font-size:clamp(2.25rem,3.3vw,3.25rem);}
body.team-c .people{margin:0;gap:20px;}
body.team-c .person>img{height:auto;aspect-ratio:1;border-radius:50%;object-position:center;}
body.team-c .person-meta{flex-direction:column;align-items:center;text-align:center;gap:0;}
body.team-c .person-meta h2{font-size:19px;}
body.team-c .person-role{margin:4px 0 0;font-size:14px;font-weight:400;line-height:20px;color:rgba(255,255,255,.78);}
body.team-c .person-linkedin{margin-top:8px;}
body.team-c .expertise-section{background:#151724;}
body.team-c #contact-direct{background-color:#0d1019;background-image:linear-gradient(rgba(0,0,48,.82),rgba(0,0,48,.82)),url('assets/wall-street-opt-v1.webp');background-repeat:no-repeat;background-position:left 40%,left 40%;background-size:50% auto,50% auto;}
body.team-c .form-panel{border-radius:16px;background-color:#110d25;background-image:var(--plate);}
@media(max-width:1050px){
 body.team-b .person{grid-template-columns:80px 1fr;padding:16px;gap:14px;}
 body.team-b .person>img{width:80px;height:100px;}
 body.team-b .person-meta h2{font-size:18px;}
 body.team-c .criteria-hero>.wrap{grid-template-columns:1fr;gap:32px;}
 body.team-c .people{max-width:720px;}
 body.team-c .person>img{max-width:180px;margin:auto;}
 .expert-contact-grid{gap:32px;grid-template-columns:1fr 1.25fr;}
 body:not(.team-current) #contact-direct>.wrap-narrow{gap:32px;}
}
@media(max-width:719px){
 body:not(.team-current) .wrap,body:not(.team-current) .wrap-narrow{width:calc(100% - 40px);}
 body:not(.team-current) .criteria-hero{padding:32px 0;}
 body:not(.team-current) .criteria-hero h1{font-size:36px;}
 body:not(.team-current) .criteria-kicker{margin-bottom:16px;}
 body:not(.team-current) .people{gap:20px;margin-top:28px;grid-template-columns:1fr;}
 body:not(.team-current) .person{display:grid;grid-template-columns:96px 1fr;gap:20px;background:none;border:0;padding:0;}
 body:not(.team-current) .person>img{width:96px;height:112px;aspect-ratio:auto;margin:0;object-position:center;}
 body:not(.team-current) .person-meta{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:0;gap:0;text-align:left;}
 body:not(.team-current) .person-meta h2{font-size:21px;}
 body:not(.team-current) .person-linkedin{width:32px;height:32px;}
 body:not(.team-current) .expertise-section{padding:32px 0;}
 body:not(.team-current) .expertise-strip .check-list{grid-template-columns:1fr;gap:20px;}
 body:not(.team-current) .expertise-strip .check-list li{padding-top:0;}
 body:not(.team-current) #contact-direct{padding:32px 0;}
 body:not(.team-current) #contact-direct>.wrap-narrow{grid-template-columns:1fr;gap:28px;}
 body:not(.team-current) .form-panel{padding:24px 20px;border-radius:10px;}
 body:not(.team-current) .contact-cards{gap:20px;}
 body.team-a .team-intro{display:block;}
 body.team-a .team-intro h1{margin-bottom:20px;}
 .expert-contact{padding:32px 0;}
 .expert-contact-grid{grid-template-columns:1fr;gap:32px;}
 body.team-b #contact-direct{padding:0;}
 body.team-b .expert-contact-grid>.contact-cards{grid-template-columns:1fr;gap:24px;}
 body.team-c .criteria-hero>.wrap{gap:0;}
 body.team-c .person>img{border-radius:50%;height:96px;}
 body.team-c #contact-direct{background-position:center,center;background-size:cover,cover;}
}

/* Clip the circle on a wrapper so the photo edge stays smooth. */
body.team-c .person-photo{width:100%;aspect-ratio:1;border-radius:50%;overflow:hidden;isolation:isolate;margin:0;line-height:0;}
body.team-c .person-photo img{display:block;width:100%;height:100%;border-radius:0;aspect-ratio:auto;object-fit:cover;object-position:center;transform:scale(1.08);margin:0;}
@media(max-width:1050px){
 body.team-c .person-photo{max-width:180px;margin:auto;}
}
@media(max-width:719px){
 body.team-c .person-photo{width:96px;height:96px;max-width:96px;margin:0;}
}
