/* Only paint and transforms change; no new sections, dimensions or typography. */
body:has(.home-hero) .work-image{opacity:1!important;filter:none!important}
.home-headline-word{display:inline-block;vertical-align:baseline;backface-visibility:hidden}
body:has(.home-hero) .hero-art{will-change:clip-path}
body:has(.home-hero) .work-card{will-change:transform}
body:has(.home-hero) .project-carousel{overflow:clip;overflow-clip-margin:8px}
html:has(body.home-motion-paused){scroll-behavior:auto}
body.home-motion-paused:has(.home-hero) *{transition-duration:0s!important;animation-play-state:paused!important}
body.home-motion-paused:has(.home-hero) .hero-art,body.home-motion-paused:has(.home-hero) .work-card{will-change:auto}
body.home-motion-paused:has(.home-hero) .work-image img,body.home-motion-paused:has(.home-hero) .carousel-shot img{transition:none;transform:none}
@media(prefers-reduced-motion:reduce){body:has(.home-hero) .hero-art,body:has(.home-hero) .work-card{will-change:auto}body:has(.home-hero) .work-image img,body:has(.home-hero) .carousel-shot img{transform:none!important}}
/* The full film frame keeps the cat's ears and paws in view. */
body:has(.home-hero) .hero-art-video{height:auto;aspect-ratio:16/9;background:#f4f1e8}
.hero-art-video>img{width:100%;height:100%;object-fit:cover}
.hero-art-video>video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;opacity:0;pointer-events:none}
.hero-art-video.video-ready>video{opacity:1}
.hero-art-video figcaption{z-index:2}
.hero-video-toggle{position:absolute;right:20px;bottom:20px;z-index:3;padding:10px 14px;border:1px solid #222623;background:#f4f1e8;color:#222623;font-size:12px;line-height:1.3;min-height:40px}
.hero-video-toggle:hover{background:#222623;color:#f4f1e8}
.hero-video-toggle:disabled{opacity:.65;cursor:default}
@media(max-width:760px){body:has(.home-hero) .hero-art-video{aspect-ratio:4/3}.hero-art-video>video,.hero-art-video>img{object-position:56% center}.hero-video-toggle{right:12px;bottom:12px;font-size:11px;padding:8px 10px}.hero-art-video figcaption{left:12px;bottom:60px;max-width:80%;font-size:10px}}
