@media(min-width:901px){
 .left .personal-images .portrait-photo img{position:fixed;inset:auto;left:25.35vw;bottom:6.5vh;height:43vh;width:auto;max-width:calc(20vw - 24px);max-height:none;aspect-ratio:3/4;object-fit:contain;z-index:80;}
 #molly-drag{position:fixed;inset:auto;left:25.35vw;top:calc(50.5vh - 75px);width:100px!important;height:75px;z-index:85;}
 .left .personal-images .molly-photo .laptop-photo{position:fixed;inset:auto;right:3vw;bottom:0;width:90px;height:auto;max-height:none;z-index:80;}
 .left .personal-images .molly-photo figcaption{display:none;}
}
.molly-move-hint{display:none!important;}
.molly-instant-label{position:fixed;z-index:10000;pointer-events:none;color:#080808;background:#fff;padding:5px 7px;font:11px/1.4 monospace;max-width:190px;}
.molly-instant-label[hidden]{display:none;}

.molly-instant-label{background:transparent;padding:0;font-size:9px;line-height:1.3;}
@media(min-width:901px){.left .personal-images .portrait-photo img{width:min(32.25vh,calc(20vw - 24px));height:auto;max-width:none;}}

/* Consistent foreground order and a viewport dock for laptop Molly. */
.left .personal-images .molly-photo figcaption{display:none!important;}
.left .personal-images .molly-photo .laptop-photo{position:fixed!important;inset:auto;left:auto;top:auto;right:0;bottom:0;width:90px;height:auto;max-height:none;z-index:91!important;}
.portrait-photo img,.floating-photo:not(.floating-cutout){z-index:80!important;}
.laptop-photo,.floating-photo.laptop-photo{z-index:91!important;}
#molly-drag,#molly-drag img,.floating-photo.cat{z-index:92!important;}
.molly-instant-label{background:transparent!important;padding:0;font-size:9px;}

.laptop-photo:not(.floating-photo){position:fixed!important;left:auto!important;top:auto!important;right:48px!important;bottom:0!important;width:90px!important;height:auto!important;max-height:none!important;transform:none!important;}

@media(max-width:900px) and (hover:hover) and (pointer:fine){
 .wrap>nav[aria-label="Utility navigation"]{position:fixed;inset:0 20px auto;height:0;min-height:0;padding:0;margin:0;}
 .wrap>nav[aria-label="Utility navigation"] .navlinks{position:fixed;top:20px;right:20px;}
 .split{margin-top:0!important;}
 .left{padding-top:22px;}
 .portrait-resize{display:block!important;}
}

/* Remove the desktop header spacer after switching to the stacked layout. */
@media(max-width:900px){
 .split{padding-top:0!important;}
 .left .personal-images{margin-top:96px;}
}

@media(min-width:901px){
 .left .personal-images .portrait-photo img{width:min(32.25vh,calc(45vw - 44px));height:auto;max-width:none;left:min(25.35vw,calc(45vw - min(32.25vh,calc(45vw - 44px)) - 24px));}
}
@media(max-width:900px){.left .personal-images{margin-top:72px;}}

/* A gradual portrait scale, with a compact flow layout below the mobile index. */
@media(min-width:901px){
 .left .personal-images .portrait-photo img{width:min(clamp(240px,24vw,340px),32.25vh,calc(45vw - 44px));left:min(25.35vw,calc(45vw - min(clamp(240px,24vw,340px),32.25vh,calc(45vw - 44px)) - 24px));bottom:9vh;}
}
@media(max-width:900px){
 .left{display:block!important;}
 .left .personal-images{display:block;position:relative;height:auto;min-height:0;margin-top:68px;padding:0;}
 .left .personal-images .portrait-photo{display:block;width:min(100%,clamp(240px,38vw,296px));height:auto;max-width:none;margin:0;}
 .left .personal-images .portrait-photo img{position:static;width:100%;max-width:none;height:auto;}
 .left .personal-images .molly-photo{height:0;margin:0;padding:0;}
}

@media(min-width:901px){.left .personal-images .portrait-photo img{bottom:calc(9vh - 20px);}}
@media(max-width:900px){.left .personal-images{margin-top:88px;}}

@media(max-width:900px){.laptop-photo:not(.floating-photo){right:var(--mobile-molly-right,24px)!important;}}
