/* Fabrica's editorial team panel, composed for three WNG people. */
.homepage-body-v2 .hm-team{width:calc(100% - 72px);max-width:var(--content-max);display:grid;grid-template-columns:1fr 1.65fr;gap:36px;padding:12px;background:white;border-radius:24px;margin-bottom:var(--nb-section);scroll-margin-top:100px}
.hm-team-copy{padding:32px 22px;display:flex;flex-direction:column;align-items:start}
.hm-brand{width:170px;height:auto;filter:brightness(0) saturate(100%) invert(13%) sepia(24%) saturate(1667%) hue-rotate(172deg) brightness(95%)}
.homepage-body-v2 .hm-team-copy h2{font:600 clamp(40px,4vw,60px)/1.04 var(--nb-font);letter-spacing:-.05em;margin:36px 0 64px}
.hm-team-copy h2>span{color:var(--muted)}
.hm-team-copy>div{margin-top:auto}
.hm-team-copy p{font:500 17px/1.5 var(--nb-font);letter-spacing:-.025em;color:var(--muted);max-width:32ch;margin:0 0 25px}
.hm-people{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;min-width:0}
.hm-person{position:relative;border-radius:20px;background:var(--navy);color:white;overflow:hidden;min-width:0}
.hm-person summary{position:relative;display:block;list-style:none;cursor:pointer;min-height:480px;height:100%;isolation:isolate}
.hm-person summary::-webkit-details-marker{display:none}
.hm-person summary>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 35%;z-index:-2}
.hm-person summary:after{content:'';position:absolute;inset:0;background:linear-gradient(#071b3255,transparent 35%,#071b32e0);z-index:-1}
.hm-person-plus{position:absolute;left:16px;top:18px;width:25px;height:25px;background:var(--navy);border-radius:50%;display:grid;place-items:center;font:500 20px/1 var(--nb-font)}
.hm-role{position:absolute;top:20px;right:16px;left:50px;text-align:right;font:600 14px/1.3 var(--nb-font);letter-spacing:-.03em;text-shadow:0 1px 8px #071b3266}
.hm-role small{font:500 11px/1.5 var(--nb-font);display:block;margin-top:3px}
.hm-person summary>strong{position:absolute;left:18px;right:18px;bottom:25px;font:600 clamp(23px,2vw,30px)/1.05 var(--nb-font);letter-spacing:-.04em;overflow-wrap:anywhere}
.hm-portrait-label{position:absolute;left:18px;bottom:20px;font:500 10px/1.4 var(--nb-font);color:#e0e8f1}
.hm-bio{position:absolute;left:18px;right:18px;bottom:130px;pointer-events:none}
.hm-bio p{font:500 16px/1.5 var(--nb-font);letter-spacing:-.02em;color:#fff;margin:0}
.hm-person[open] summary:after{background:linear-gradient(#071b3240,#071b32a6)}
.hm-person[open] summary>img{filter:blur(6px)}
.hm-person[open] .hm-person-plus{transform:rotate(45deg)}
.hm-person summary:focus-visible{outline:3px solid var(--blue);outline-offset:-4px}
@media(prefers-reduced-motion:no-preference){.hm-person-plus{transition:transform .25s}.hm-person[open] .hm-bio{animation:hm-reveal .35s ease both}@keyframes hm-reveal{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}}
@media(max-width:1100px){.homepage-body-v2 .hm-team{grid-template-columns:1fr;gap:20px}.hm-team-copy{padding:28px;display:grid;grid-template-columns:1fr 1fr;gap:25px}.hm-brand{grid-column:1/-1}.homepage-body-v2 .hm-team-copy h2{margin:0;font-size:56px}.hm-team-copy>div{align-self:end}.hm-person summary{min-height:450px}.hm-role{font-size:17px}.hm-role small{font-size:12px}}
@media(max-width:900px){.homepage-body-v2 .hm-team{width:calc(100% - 56px)}.hm-team-copy p{font-size:16px}.hm-person summary{min-height:380px}.hm-role{font-size:14px}}
@media(max-width:650px){.homepage-body-v2 .hm-team{width:calc(100% - 40px);padding:8px;gap:12px;border-radius:20px}.hm-team-copy{display:block;padding:24px 18px}.homepage-body-v2 .hm-team-copy h2{font-size:44px;margin:32px 0}.hm-team-copy p{font-size:16px}.hm-people{grid-template-columns:1fr;gap:8px}.hm-person summary{min-height:430px}.hm-person summary>img{object-position:center 30%}.hm-role{font-size:18px}.hm-role small{font-size:13px}.hm-person summary>strong{font-size:32px}.hm-bio p{font-size:18px}.hm-portrait-label{font-size:11px}}

/* Match Mike's close face scale without altering the source portraits. */
.hm-person-ryan{--portrait-scale:1;--portrait-y:0%}
.hm-person-babatunde{--portrait-scale:1.28;--portrait-y:-4%}
.hm-person-mike{--portrait-scale:1.16;--portrait-y:-7%}
.hm-person summary>img{transform:translateY(var(--portrait-y,0%)) scale(var(--portrait-scale,1));transform-origin:50% 0}
/* Fabrica-style portrait reveal: soft shade, biography, and a restrained image push. */
.hm-bio{bottom:100px}
.hm-bio p{font-size:16px;line-height:1.5}
@media(prefers-reduced-motion:no-preference){
.hm-person summary>img{transition:transform .5s cubic-bezier(.22,.75,.2,1),filter .4s ease}
.hm-person summary:after{transition:background-color .35s}
.hm-person[open] summary>img{transform:translateY(var(--portrait-y,0%)) scale(calc(var(--portrait-scale,1) * 1.025))}
}

.hm-team-copy .hm-copy-emphasis{color:var(--ink)}
