.hero-line{display:block;overflow:hidden;padding-bottom:.13em;margin-bottom:-.13em}
.hero-line>span{display:block;transform-origin:0 100%}
.project-visual{perspective:none}
.project .project-art{transform-origin:50% 80%;will-change:transform}
.project-art:focus-visible{clip-path:none!important;transform:none!important}

.waves span{transition:transform 350ms cubic-bezier(.2,.8,.2,1);transform:translateY(var(--wave-y,0px)) rotate(var(--wave-turn,15deg)) scaleY(var(--wave-scale,1))}
.sound-art{touch-action:pan-y}
.contact{overflow:hidden}.contact-title{transform-origin:0 80%}

@media(max-width:900px){}
@media(prefers-reduced-motion:reduce){.project .project-art,.contact-title,.hero-line>span{transform:none!important;clip-path:none!important}.waves span{transform:rotate(15deg)!important}}
/* Scroll draws the marker underneath the existing, stationary typography. */
html.motion-highlights .text-highlight{background-color:transparent;background-image:linear-gradient(var(--lime),var(--lime));background-repeat:no-repeat;background-position:left center;background-size:var(--highlight-fill,100%) 100%}
@media(prefers-reduced-motion:reduce){html.motion-highlights .text-highlight{background-size:100% 100%}}
/* The complete closing panel rises through a fixed document-flow mask. */
.closing-reveal{position:relative;overflow:hidden;background:var(--paper)}
.closing-stage{transform-origin:50% 100%;will-change:transform}

@media(prefers-reduced-motion:reduce){.closing-stage{transform:none!important;clip-path:none!important}}
/* Charcoal closing panel, carrying the original lime identity. */
.closing-reveal,.closing-stage,.closing-stage .contact,.closing-stage footer{background:#171816;color:#eeede9}
.closing-stage .contact{border-top:0}
.closing-stage .contact-top,.closing-stage .contact-bottom p{color:#b9bab2}
.closing-stage .contact-title>span{color:var(--lime)}
.closing-stage .contact .text-highlight,
html.motion-highlights .closing-stage .contact .text-highlight{color:var(--lime);background-color:transparent;background-image:linear-gradient(var(--lime),var(--lime));background-size:var(--highlight-fill,100%) 2px;background-position:left bottom;background-repeat:no-repeat}
.closing-stage footer{color:#b9bab2;border-top:1px solid #ffffff26}
.closing-stage footer a:hover{color:var(--lime)}
.closing-stage footer a[href]{color:#b9bab2}
.closing-stage footer a[href]:hover{color:var(--lime)}
/* Helio: restrained overscan preserves breathing room around the devices. */
html.motion-depth .helio .project-art img,html.motion-depth .helio .project-art:hover img{transform:translate3d(0,var(--parallax-y,0px),0) scale(1.04);transition:none}
/* Hold the About / awards composition at its lower edge. */
.end-sequence{position:relative}
.end-pin{position:relative}
.outro-context{display:flow-root;background:var(--paper)}
html.footer-pinned .outro-context{min-height:100svh;display:flex;flex-direction:column;justify-content:flex-end}
html.footer-pinned .end-sequence{height:calc(var(--context-height) + var(--closing-height))}
html.footer-pinned .end-pin{position:sticky;top:var(--pin-top);height:var(--context-height)}
html.footer-pinned .closing-reveal{position:absolute;left:0;top:100%;width:100%;transform:translate3d(0,var(--footer-lift,0px),0);z-index:2;will-change:transform}
.closing-reveal,.closing-stage,.closing-stage .contact,.closing-stage footer{background:#000}
.closing-stage{transform:none!important;clip-path:none!important}
.closing-stage .contact .text-highlight,html.motion-highlights .closing-stage .contact .text-highlight{background:var(--lime);color:#171816}
.closing-stage .contact-bottom>a:hover{text-decoration:none}
/* Individual award hover colors; the resting composition remains monochrome. */
.award-logos .award-tint{opacity:0;transition:opacity 220ms ease}
.award-logos .logo-cell:hover .award-tint{opacity:1}
.award-logos .logo-cell:nth-child(1) .award-tint,.award-logos .logo-cell:nth-child(2) .award-tint{filter:url(#award-red)}
.award-logos .logo-cell:nth-child(3) .award-tint{filter:url(#award-gold)}
.award-logos .logo-cell:nth-child(4) .award-tint{filter:url(#award-blue)}
.fuel-award-caption{transition:color 220ms}.fuel-award:hover .fuel-award-caption{color:#000f7d}
/* Give the award row breathing room and a scroll beat before the reveal. */
.award-proof{padding-bottom:clamp(120px,18vh,210px)}
html.footer-pinned .end-sequence{height:calc(var(--context-height) + var(--hold-distance) + var(--closing-height))}
/* Final closing palette: white, dark type, full-height yellow marker fills. */
.closing-reveal,.closing-stage,.closing-stage .contact,.closing-stage footer{background:#fff;color:#171816}
.closing-stage .contact-top,.closing-stage .contact-bottom p,.closing-stage footer,.closing-stage footer a[href]{color:#62635e}
.closing-stage footer{border-top:1px solid #17181626}
.closing-stage footer a[href]:hover{color:#171816}
.closing-stage .contact .text-highlight{background:var(--lime);color:#171816}
html.motion-highlights .closing-stage .contact .text-highlight{background-color:transparent;background-image:linear-gradient(var(--lime),var(--lime));background-repeat:no-repeat;background-position:left center;background-size:var(--highlight-fill,0%) 100%;color:#171816}
@media(max-width:900px){.award-proof{padding-bottom:100px}}
@media(prefers-reduced-motion:reduce){html.motion-highlights .closing-stage .contact .text-highlight{background-size:100% 100%}}
.heading-line{display:block;overflow:hidden;padding-bottom:.13em;margin-bottom:-.13em}
.heading-line>span{display:block;transform-origin:0 100%}
/* The existing star remains independent of the animated title lines. */
.contact-title>.heading-line{position:static;color:inherit;font-size:inherit;transition:none;transform:none}
html.motion-depth .contact-title>.heading-line{transform:none}
.epic-art strong,.sound-art .waves{will-change:transform}
@media(prefers-reduced-motion:reduce){.heading-line>span,.epic-art strong,.sound-art .waves{transform:none!important;translate:none!important}}
.closing-stage .contact-title>.heading-line{color:inherit;position:static;transform:none}
/* Static clients retain the original blending, without animated groups. */
.client-logos .logo-cell{opacity:1;transform:none;animation:none;transition:none;background:transparent}
.client-logos .logo-frame{mix-blend-mode:multiply;background:transparent}
/* Scroll owns these transforms: transitions must not chase each new frame. */
html.motion-depth .project-art img,html.motion-depth .project-art:hover img,html.motion-depth .portrait-media img{transition:none;backface-visibility:hidden}
html.motion-depth .contact-title>span{transition:none}
.closing-stage{will-change:auto}

/* Keep the yellow project decorations stationary on mobile and touch screens. */
@media(max-width:900px),(pointer:coarse){.project-accent{transform:none!important;transition:none;animation:none}}

/* Move the intact wordmark only; return smoothly when hover ends. */
.epic-art strong{animation:none;transform:translateY(0);transition:transform 550ms cubic-bezier(.22,.61,.36,1)}
@media(hover:hover) and (pointer:fine){.epic-art:hover strong{transform:translateY(-20%)}}
@media(prefers-reduced-motion:reduce){.epic-art strong{transform:none!important;transition:none}}

/* Static project thumbnails on mobile; preserve image crops. */
@media(max-width:900px),(pointer:coarse){.project .project-art{transform:none!important;will-change:auto}}

/* Promote only the image layer; the card itself no longer scales on scroll. */
@media(min-width:901px) and (pointer:fine){html.motion-depth .project .project-art{will-change:auto}html.motion-depth .project-art img{will-change:transform}}
