/* Scroll motion (Framer-style reveals). Only active when motion.js adds .sc-motion to <html>. */
.sc-motion [data-sc-reveal]{opacity:0;transition:opacity .9s cubic-bezier(.22,1,.36,1),transform .9s cubic-bezier(.22,1,.36,1),filter .9s cubic-bezier(.22,1,.36,1),clip-path 1.1s cubic-bezier(.22,1,.36,1);transition-delay:var(--sc-delay,0ms);will-change:opacity,transform}
.sc-motion [data-sc-reveal="up"]{transform:translate3d(0,42px,0);filter:blur(6px)}
.sc-motion [data-sc-reveal="fade"]{filter:blur(4px)}
.sc-motion [data-sc-reveal="left"]{transform:translate3d(-48px,0,0);filter:blur(6px)}
.sc-motion [data-sc-reveal="right"]{transform:translate3d(48px,0,0);filter:blur(6px)}
.sc-motion [data-sc-reveal="scale"]{transform:scale(.92);filter:blur(6px)}
.sc-motion [data-sc-reveal="image"]{opacity:1;clip-path:inset(14% 10% 14% 10% round 14px);transform:scale(1.06)}
.sc-motion [data-sc-reveal].sc-in{opacity:1;transform:none;filter:none;clip-path:inset(0 0 0 0 round 0)}
.sc-motion [data-sc-reveal].sc-done{will-change:auto}

/* Hover lift on cards */
.sc-motion .featured-work-wrapper,.sc-motion .single-project-wrapper,.sc-motion .single-blog-item,.sc-motion .team-card,.sc-motion .single-process-item{transition:transform .5s cubic-bezier(.22,1,.36,1),box-shadow .5s cubic-bezier(.22,1,.36,1),opacity .9s cubic-bezier(.22,1,.36,1),filter .9s cubic-bezier(.22,1,.36,1),clip-path 1.1s cubic-bezier(.22,1,.36,1)}
.sc-motion .featured-work-wrapper.sc-done:hover,.sc-motion .single-project-wrapper.sc-done:hover,.sc-motion .single-blog-item.sc-done:hover{transform:translateY(-6px);box-shadow:0 18px 40px rgba(0,0,0,.12)}

/* Scroll progress bar */
.sc-progress{position:fixed;top:0;left:0;height:3px;width:100%;background:#1D1E21;transform-origin:0 50%;transform:scaleX(0);z-index:100000;pointer-events:none}

@media (prefers-reduced-motion:reduce){
  .sc-motion [data-sc-reveal]{opacity:1!important;transform:none!important;filter:none!important;clip-path:none!important;transition:none!important}
  .sc-progress{display:none}
}

/* v2: smooth scroll + parallax helpers */
html.lenis, html.lenis body{height:auto}
html.lenis{scroll-behavior:auto!important}
.lenis.lenis-stopped{overflow:clip}
.lenis.lenis-smooth iframe{pointer-events:none}
.sc-motion .project-img, .sc-motion .history-img{overflow:hidden}
.sc-motion .project-img img, .sc-motion .history-img img{scale:1.12}
.sc-motion .sc-magnetic{transition:translate .35s cubic-bezier(.22,1,.36,1), background .2s, transform .2s, opacity .9s cubic-bezier(.22,1,.36,1), filter .9s cubic-bezier(.22,1,.36,1)}
.sc-motion .section-title.text-up h2, .sc-motion .section-title-team h2{will-change:translate}
@media (prefers-reduced-motion:reduce){
  .sc-motion .project-img img, .sc-motion .history-img img{scale:none}
}
