/* The portfolio is an opaque foreground layer over the opening scene. */
.opening-film { position:relative; isolation:isolate; }
.project-curtain { position:relative; z-index:2; background:#101114; }
.work { translate:none; margin-top:0; }
.featured-copy { translate:none; }
.endless-copy #hero-title { max-width:none; font-weight:800; }
@media(prefers-reduced-motion:no-preference) {
 .opening-film .endless { position:sticky; top:var(--nav-clearance,104px); }
 .endless-toggle { bottom:72px; }
 .project-curtain { margin-top:-54px; border-radius:clamp(20px,4vw,58px) clamp(20px,4vw,58px) 0 0; box-shadow:0 -12px 32px #0004; }
 .work { background:transparent; }
 .endless-scene { opacity:1; scale:var(--world-scale,1); translate:0 var(--world-y,0px); }
 .endless-copy { scale:var(--copy-scale,1); translate:0 var(--copy-y,0px); opacity:var(--copy-alpha,1); }
 .laptop-motion::after { height:clamp(950px,176svh,1700px); }
 .laptop-motion .laptop-pin { isolation:isolate; overflow:clip; }
 .laptop-motion .laptop-stage {
   position:relative; padding:8px; min-height:calc(100svh - var(--laptop-nav,104px) - 14px);
 }
 .laptop-motion .render-model {
   width:min(93%,calc((100svh - var(--laptop-nav,103px) - 32px) * var(--render-ratio)));
   transform:perspective(1500px) translate3d(var(--model-x,0px),var(--model-y,0px),0) rotateY(var(--model-tilt,0deg)) scale(var(--model-scale,1));
   scale:none; opacity:var(--model-alpha,1);
 }
 .laptop-motion .featured-copy {
   position:absolute; z-index:2; top:50%; left:57%; width:39%; padding:0 clamp(14px,2vw,35px) 0 0;
   text-align:left; transform:translate3d(var(--caption-x,0px),-50%,0);
   visibility:var(--caption-visible,hidden);
 }
 .laptop-motion .featured-copy h3 { font-size:clamp(25px,3.7vw,54px); }
 .laptop-motion .featured-copy :is(h3,p,a) { opacity:var(--part-alpha,1); translate:var(--part-x,0px) 0; }
 .project-pair article { translate:var(--approach-x,0px) var(--approach-y,0px); }
 .project-pair article:focus-within { translate:none; }
}
@media(max-width:767px) and (prefers-reduced-motion:no-preference) {
 .endless-toggle { bottom:56px; }
 .project-curtain { margin-top:-38px; }
 .laptop-motion::after { height:clamp(900px,160svh,1350px); }
 .laptop-motion .laptop-stage { min-height:max(300px,calc(100svh - var(--laptop-nav,85px) - 20px)); }
 .laptop-motion .render-model { width:min(100%,calc((100svh - var(--laptop-nav,85px) - 34px) * var(--render-ratio))); }
 .laptop-motion .featured-copy {
   top:var(--caption-mobile-top,50%); left:6%; width:88%; transform:none;
   padding:0; text-align:center;
 }
 .laptop-motion .featured-copy :is(h3,p,a) { translate:0 var(--part-y,0px); }
 .laptop-motion .featured-copy h3 { font-size:clamp(23px,6.6vw,35px); text-wrap:balance; }
 .laptop-motion .render-display { clip-path:inset(0); }
 .laptop-motion .render-display img { max-height:none; aspect-ratio:1348 / 3990; }
 .laptop-motion .featured-copy p { font-size:14px; margin-block:8px 12px; }
}
@media (max-height:419px) and (orientation:landscape) {
 .laptop-motion .featured-copy p { font-size:13px; margin-block:5px 8px; }
 .laptop-motion .featured-copy h3 { font-size:22px; }
}
@media(prefers-reduced-motion:no-preference) {
 .project-approach { position:relative; z-index:1; margin-top:-108px; }
}
@media(max-width:767px) and (prefers-reduced-motion:no-preference) {
 .project-approach { margin-top:-76px; }
}

@media (prefers-reduced-motion:no-preference) {
 .laptop-motion::after { box-sizing:content-box; padding-bottom:var(--kelbic-hold,0px); }
}
