body[data-page="home"]{background:#f4f4f4}
body[data-page="home"] .site-header:before{background:linear-gradient(#f4f4f4 75%,transparent)}
.portrait-cover.hero{display:flex;align-items:center;justify-content:center;background:#f4f4f4;padding:84px 0 18px!important;isolation:isolate}
.portrait-wrap{position:relative;width:1100px;height:610px;flex-shrink:0}
.portrait-board{position:relative;width:1100px;height:610px;transform:scale(var(--portrait-scale,1));transform-origin:0 0}
.portrait-floor{position:absolute;z-index:-1;left:-80%;top:63.5%;width:260%;height:150%;background-color:#ececec;background-image:linear-gradient(#f4f4f4 0%,#f4f4f480 12%,transparent 38%),repeating-linear-gradient(90deg,transparent 0 103px,#9a9a9a 105px 107px),repeating-linear-gradient(0deg,transparent 0 74px,#aaa 76px 78px);transform:perspective(480px) rotateX(62deg);transform-origin:50% 0;opacity:.72;pointer-events:none}
.portrait-heading{position:absolute;left:12px;top:263px;display:block!important;margin:0!important;padding:0;max-width:none!important;width:420px;font:62px/1.05 var(--pixel)!important;font-weight:400;letter-spacing:0;text-align:left;white-space:nowrap;color:#060606;z-index:4;pointer-events:none}
.cover-portrait{position:absolute;left:574px;top:107px;width:551px;height:446px;object-fit:cover;object-position:center;display:block;z-index:1}
.portrait-hands{position:absolute;inset:0;z-index:3;pointer-events:none}
.portrait-hand{position:absolute;display:block;border:0;padding:0;margin:0;background:transparent;pointer-events:auto;cursor:pointer;touch-action:pan-y;transform:translate3d(var(--hand-x,0px),var(--hand-y,0px),0);transform-origin:50% 50%;-webkit-user-select:none;user-select:none}
.portrait-hand img{display:block;width:100%;height:100%;object-fit:contain;image-rendering:pixelated;pointer-events:none}
.portrait-hand:focus-visible{outline:2px dotted #403d38;outline-offset:5px}
.portrait-hand.is-responding{will-change:transform}
.hand-120{left:523px;top:-43px;width:239px;height:156px}
.hand-115{left:460px;top:35px;width:254px;height:183px}
.hand-114{left:431px;top:151px;width:252px;height:115px}
.hand-113{left:431px;top:269px;width:238px;height:65px}
.hand-116{left:456px;top:335px;width:230px;height:115px}
.hand-117{left:523px;top:390px;width:196px;height:151px}
.hand-118{left:616px;top:440px;width:148px;height:167px}
.hand-119{left:711px;top:474px;width:109px;height:136px}
.portrait-eyes{position:absolute;inset:0;z-index:5;pointer-events:none}
.portrait-eye{position:absolute;left:var(--eye-left);top:var(--eye-top);width:var(--eye-width);height:var(--eye-height);margin-left:calc(var(--eye-width)*-.5);margin-top:calc(var(--eye-height)*-.5);border-radius:50%;overflow:hidden}
.portrait-eye .eye-original,.portrait-eye canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
.portrait-eye .eye-pupil{transform:translate(var(--pupil-x,0px),var(--pupil-y,0px));will-change:transform}
.portrait-eye.eye-ready .eye-original{visibility:hidden}
.library{padding-top:95px}
.library-portraits{width:min(1100px,94vw);margin:0 auto 10px}
.library-character-stage{width:100%;height:clamp(220px,31svh,350px);position:relative}
.library-character-stage canvas{display:block;width:100%;height:100%;touch-action:pan-y}
.library-toolbar{margin-top:0;padding-top:18px}
.contact-page[hidden]{display:none!important}
@media(max-width:760px){
 .portrait-cover.hero{padding:90px 0 28px!important}
 .portrait-board{width:390px;height:650px}
 .portrait-wrap{width:390px;height:650px}
 .portrait-floor{top:62%;height:130%;background-size:auto}
 .portrait-heading{left:24px;top:47px;width:auto;font-size:43px!important}
 .cover-portrait{left:132px;top:207px;width:292px;height:237px}
 .portrait-hands{transform:translate(-100px,135px) scale(.52);transform-origin:0 0}
 .portrait-eye{left:var(--mobile-left);top:var(--mobile-top)}
 .library{padding-top:90px}
 .library-character-stage{height:230px}
 .library-toolbar{margin-top:0;padding-top:16px}
}
@media(prefers-reduced-motion:reduce){
 .portrait-eye .eye-pupil{transform:none!important;will-change:auto}
 .portrait-hand{transform:none!important;will-change:auto}
 .portrait-hand:active{outline:2px dotted #403d38;outline-offset:4px}
}
