/* One portrait frame for homepage and About. Mobile layouts remain independent. */
@media screen and (min-width:761px){
 .home-hero .hero-grid,.wk-profile .profile-hero .hero-grid{position:relative;isolation:isolate;width:var(--hero-wrap-width);max-width:none;height:calc(100svh - var(--hero-header-stack,var(--navigation-height,76px)) - var(--hero-preview-budget) - 1px);min-height:520px;column-gap:0}
 .home-hero .hero-portrait,.wk-profile .profile-hero .portrait{position:absolute;inset:0 0 0 auto;display:block;width:var(--hero-photo-width);height:100%;max-width:none;min-height:0;margin:0;float:none;grid-area:auto;overflow:visible;border:0;background:transparent;box-shadow:none;z-index:0}
 .home-hero .hero-portrait picture,.wk-profile .profile-hero .portrait picture{display:contents;height:auto}
 .home-hero .hero-portrait img,.wk-profile .profile-hero .portrait img{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:contain;object-position:100% 100%;mask-image:none;-webkit-mask-image:none;transform:scale(var(--hero-photo-scale,1.16));transform-origin:100% 0%;z-index:0}
 .home-hero .hero-portrait::before,.home-hero .hero-portrait::after,.wk-profile .profile-hero .portrait::before,.wk-profile .profile-hero .portrait::after{display:none}
 .home-hero .hero-copy{position:relative;z-index:2;grid-column:1;min-width:0;align-self:center}
}
@media screen and (min-width:1024px){
 .home-hero .hero-grid,.wk-profile .profile-hero .hero-grid{min-height:0}
}
@media screen and (min-width:761px) and (max-width:1023px){
 :root{--hero-wrap-width:calc(100% - 48px);--hero-photo-width:42%;--hero-photo-scale:1}
 .home-hero .hero-grid,.wk-profile .profile-hero .hero-grid{height:clamp(520px,68vw,620px);display:grid;grid-template-columns:minmax(0,58%) minmax(0,42%);padding:36px 0;align-content:center;align-items:center}
 .home-hero .hero-copy{grid-row:1}
 .wk-profile .profile-hero .identity,.wk-profile .profile-hero .identity-facts,.wk-profile .profile-hero .hero-details{grid-column:1}
 .wk-profile .profile-hero .identity-facts{white-space:normal}
}
