
/* FRAME/SHIFT scroll motion — progressive and reduced-motion safe */
:root {--scroll-progress:0; --scroll-shift:0px}
.scroll-progress{position:fixed;left:0;top:0;height:3px;width:100%;z-index:1000;pointer-events:none;transform-origin:left center;transform:scaleX(var(--scroll-progress));background:linear-gradient(90deg,#b2fa56,#e1ffa4);box-shadow:0 0 13px #ccff8960}
header.wrap{transition:background-color .3s,border-color .3s;position:sticky;top:0;z-index:90;background:rgba(12,15,16,.88);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
header.wrap.scrolled{border-bottom-color:#d1fb755e;background:rgba(12,15,16,.95)}
#work,#services,#about,#contact{scroll-margin-top:95px}
.scroll-reveal{opacity:1;transform:none}
.motion-on .scroll-reveal.pending{opacity:0;transform:translate3d(0,34px,0) scale(.984)}
.motion-on .scroll-reveal{transition:opacity .72s cubic-bezier(.22,1,.36,1),transform .8s cubic-bezier(.22,1,.36,1);transition-delay:var(--reveal-delay,0ms)}
.motion-on .scroll-reveal.revealed{opacity:1;transform:translate3d(0,0,0) scale(1)}
.motion-on .work-card.scroll-reveal{transition:opacity .68s,transform .75s cubic-bezier(.22,1,.36,1),filter .35s}
.motion-on .work-card.scroll-reveal.revealed:not(:hover){transform:translate3d(0,0,0)}
.hero h1{will-change:transform}
.ticker .inner{animation-duration:32s}
.motion-on .section-head h2 em,.motion-on .about-copy h2 em{display:inline-block;transition:transform .6s cubic-bezier(.2,.8,.2,1)}
.motion-on .section-head:hover h2 em,.motion-on .about-copy:hover h2 em{transform:translateY(-5px)}
.section{content-visibility:auto;contain-intrinsic-size:auto 960px}
@media(max-width:680px){.motion-on .scroll-reveal.pending{transform:translate3d(0,18px,0)}.section{content-visibility:visible}}
@media(prefers-reduced-motion:reduce){
html{scroll-behavior:auto!important}
.scroll-progress{display:none}
.motion-on .scroll-reveal,.motion-on .scroll-reveal.pending,.motion-on .scroll-reveal.revealed{opacity:1!important;transform:none!important;transition:none!important}

header.wrap{backdrop-filter:none;-webkit-backdrop-filter:none}
}
