/* Premium scroll-driven motion for public pages. Kept framework-free and GPU-friendly. */
.site-scroll-progress{position:fixed;inset:0 0 auto;height:3px;z-index:5200;pointer-events:none;background:rgba(255,255,255,.04)}
.site-scroll-progress:after{content:"";display:block;width:100%;height:100%;background:linear-gradient(90deg,#8f1026,#e32448);transform:scaleX(var(--page-scroll-progress,0));transform-origin:right center;box-shadow:0 0 18px rgba(227,36,72,.35);will-change:transform}

body.scroll-motion-ready main{overflow:clip}
[data-scroll-layer]{will-change:transform}
.page-hero{--page-hero-y:0px;--page-hero-opacity:1;overflow:hidden;isolation:isolate}
.page-hero .container{translate:0 var(--page-hero-y);opacity:var(--page-hero-opacity);will-change:translate,opacity}

/* Homepage hero */
.home-hero{--hero-image-y:0px;--hero-image-scale:1;--hero-copy-opacity:1;--hero-card-top-y:0px;--hero-card-bottom-y:0px;min-height:100svh;isolation:isolate}
.home-hero .hero-copy{opacity:var(--hero-copy-opacity);will-change:opacity}
.home-hero .hero-image-wrap{transform:translate3d(0,var(--hero-image-y),0) scale(var(--hero-image-scale));will-change:transform}
.home-hero .hero-card-top{transform:translate3d(0,var(--hero-card-top-y),0) rotate(3deg);will-change:transform}
.home-hero .hero-card-bottom{transform:translate3d(0,var(--hero-card-bottom-y),0);will-change:transform}
.home-hero .hero-media:before{content:"";position:absolute;width:76%;aspect-ratio:1;border-radius:50%;right:12%;top:10%;border:1px solid rgba(255,255,255,.1);box-shadow:0 0 0 38px rgba(255,255,255,.018),0 0 0 78px rgba(211,24,57,.025);pointer-events:none;animation:heroOrbit 16s linear infinite}
.home-hero .hero-media:after{content:"NP";position:absolute;left:-3%;top:38%;font-size:clamp(70px,9vw,150px);line-height:1;font-weight:900;letter-spacing:-8px;color:rgba(255,255,255,.035);transform:rotate(-90deg);pointer-events:none}
@keyframes heroOrbit{to{transform:rotate(360deg)}}
.hero-scroll-cue{position:absolute;z-index:4;left:50%;bottom:26px;translate:-50% 0;display:flex;flex-direction:column;align-items:center;gap:7px;color:rgba(255,255,255,.5);font-size:8px;letter-spacing:3px;direction:ltr}
.hero-scroll-cue i{display:block;width:1px;height:42px;background:linear-gradient(to bottom,rgba(255,255,255,.8),transparent);position:relative;overflow:hidden}
.hero-scroll-cue i:after{content:"";position:absolute;inset:-16px 0 auto;height:16px;background:#fff;animation:scrollCue 1.8s ease-in-out infinite}
@keyframes scrollCue{0%{translate:0 0}100%{translate:0 58px}}

/* Brand story becomes a guided scroll section on desktop. */
.story-scroll-section{position:relative;background:radial-gradient(circle at 12% 22%,rgba(163,15,41,.08),transparent 28%),var(--paper);overflow:visible!important}
.story-scroll-section:before{content:"STORY";position:absolute;left:3vw;top:80px;font-size:clamp(90px,17vw,240px);font-weight:900;line-height:.8;letter-spacing:-12px;color:rgba(20,20,22,.025);pointer-events:none;direction:ltr}
.story-sticky{position:sticky;top:130px;align-self:start}
.story-sticky h2{position:relative}
.story-sticky h2:after{content:"";display:block;width:72px;height:4px;border-radius:99px;background:var(--red);margin-top:24px}
.story-copy{position:relative}
.story-step{opacity:.28;translate:0 28px;transition:opacity .7s ease,translate .7s cubic-bezier(.2,.8,.2,1)}
.story-step.scroll-in-view{opacity:1;translate:0 0}
.story-step+.story-step{margin-top:22px}

/* The main immersive identity scene. */
.identity-scroll-scene{--scene-product-x:0vw;--scene-product-y:0vh;--scene-product-rotate:0deg;--scene-product-scale:1;--scene-one-opacity:1;--scene-two-opacity:0;--scene-brand-opacity:0;--scene-one-x:0px;--scene-two-x:40px;position:relative;height:205vh;background:#08080a;color:#fff;overflow:clip;isolation:isolate}
.identity-scroll-sticky{position:sticky;top:0;height:100vh;min-height:620px;overflow:hidden;display:grid;place-items:center;background:radial-gradient(circle at 70% 45%,rgba(173,16,44,.25),transparent 29%),linear-gradient(135deg,#09090b,#121216 56%,#08080a)}
.identity-grid-lines{position:absolute;inset:0;z-index:1;background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:72px 72px;mask-image:linear-gradient(to bottom,transparent 2%,#000 18%,#000 82%,transparent 98%);pointer-events:none}
.identity-grid-lines:after{content:"";position:absolute;width:46vw;aspect-ratio:1;border:1px solid rgba(255,255,255,.07);border-radius:50%;left:3vw;top:50%;translate:0 -50%;box-shadow:0 0 0 90px rgba(255,255,255,.018),0 0 0 180px rgba(255,255,255,.01)}
.identity-scene-copy{position:absolute;z-index:6;right:clamp(24px,8vw,135px);top:50%;translate:0 -50%;max-width:min(66vw,860px);pointer-events:none}
.identity-scene-kicker{display:flex;align-items:center;gap:10px;margin-bottom:22px;color:rgba(255,255,255,.5);font-size:10px;letter-spacing:3px;direction:ltr}
.identity-scene-kicker:before{content:"";width:36px;height:2px;background:#d31839}
.identity-word{margin:0;font-weight:900;line-height:.9;letter-spacing:-4px;font-size:clamp(58px,8.5vw,132px);white-space:nowrap;will-change:opacity,translate;overflow:visible;clip-path:none!important;filter:none!important;transform:none!important}
.identity-word-one{color:#fff;opacity:var(--scene-one-opacity);translate:var(--scene-one-x) 0}
.identity-word-two{color:#d31839;opacity:var(--scene-two-opacity);translate:var(--scene-two-x) 0;margin-top:14px}
.identity-scene-copy strong{display:block;margin-top:30px;font-size:clamp(19px,2vw,30px);letter-spacing:9px;direction:ltr;text-align:right;color:rgba(255,255,255,var(--scene-brand-opacity));transition:color .1s linear}
.identity-product{position:absolute!important;z-index:4;left:clamp(24px,8vw,150px);top:50%;width:clamp(260px,31vw,500px);aspect-ratio:1;overflow:visible!important;isolation:auto!important;transform:translate3d(var(--scene-product-x),calc(-50% + var(--scene-product-y)),0) rotate(var(--scene-product-rotate)) scale(var(--scene-product-scale));will-change:transform}
.identity-product:before{content:"";position:absolute;inset:-11%;border-radius:50%;border:1px dashed rgba(255,255,255,.18);animation:identityRing 22s linear infinite}
.identity-product:after{content:"";position:absolute;inset:10%;border-radius:50%;background:#8f1026;filter:blur(55px);opacity:.34;z-index:-1}
.identity-product img{width:100%;height:100%;object-fit:cover;border-radius:50%;border:10px solid rgba(255,255,255,.055);box-shadow:0 38px 120px rgba(0,0,0,.54);position:relative;z-index:2;transform:none!important;filter:none!important}
.identity-product-ring{position:absolute;inset:-4%;border-radius:50%;border:1px solid rgba(211,24,57,.42);box-shadow:0 0 45px rgba(211,24,57,.1)}
.identity-scroll-scene .site-motion-wipe,.identity-scroll-scene .site-motion-sheen-layer,.identity-scroll-scene>.site-motion-section-line{display:none!important}
.identity-scroll-scene .site-motion-title{opacity:inherit!important;filter:none!important;transform:none!important;clip-path:none!important;transition:none!important}
@keyframes identityRing{to{rotate:360deg}}
.identity-scene-index{position:absolute;z-index:7;left:34px;bottom:36px;display:flex;align-items:center;gap:10px;direction:ltr;font-size:9px;color:rgba(255,255,255,.38)}
.identity-scene-index i{width:70px;height:1px;background:rgba(255,255,255,.16);position:relative;overflow:hidden}
.identity-scene-index i:after{content:"";display:block;height:100%;width:var(--scene-index-width,0%);background:#d31839}
.identity-scene-caption{position:absolute;z-index:7;right:clamp(24px,8vw,135px);bottom:34px;font-size:11px;color:rgba(255,255,255,.42);max-width:420px}

/* Cinematic cards and depth. */
.showcase-section{position:relative;overflow:hidden}
.showcase-section:before{content:"";position:absolute;width:420px;height:420px;border-radius:50%;background:rgba(163,15,41,.06);filter:blur(90px);right:-140px;top:80px;pointer-events:none}
.showcase-card[data-scroll-card]{opacity:.18;translate:0 58px;scale:.94;transition:opacity .85s ease,translate .85s cubic-bezier(.2,.8,.2,1),scale .85s cubic-bezier(.2,.8,.2,1),box-shadow .35s,filter .35s;filter:saturate(.72)}
.showcase-card[data-scroll-card].scroll-in-view{opacity:1;translate:0 0;scale:1;filter:saturate(1)}
.showcase-card[data-scroll-card]:hover{translate:0 -8px;scale:1.012;box-shadow:0 36px 90px rgba(21,8,11,.22)}
.showcase-card .card-overlay{transition:padding .35s,background .35s}
.showcase-card:hover .card-overlay{padding-bottom:38px;background:linear-gradient(transparent,rgba(0,0,0,.9))}

/* Branch image parallax and CTA spotlight. */
.branch-preview{position:relative;overflow:hidden}
.branch-photo{isolation:isolate}
.branch-photo img[data-scroll-layer]{translate:0 var(--layer-shift,0px);scale:1.08;will-change:translate}
.cta-card[data-spotlight]{isolation:isolate}
.cta-card[data-spotlight]:before{content:"";position:absolute;inset:0;background:radial-gradient(circle 260px at var(--spotlight-x,50%) var(--spotlight-y,50%),rgba(255,255,255,.2),transparent 68%);opacity:.8;pointer-events:none;z-index:1}
.cta-card[data-spotlight]>div,.cta-card[data-spotlight]>.btn{position:relative;z-index:2}

/* Small motion language shared by internal pages. */
body.scroll-motion-ready .branch-card,body.scroll-motion-ready .menu-card{transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease,opacity .28s ease}
body.scroll-motion-ready .branch-card:hover,body.scroll-motion-ready .menu-card:hover{transform:translateY(-7px);box-shadow:0 24px 60px rgba(30,11,15,.13)}

@media(max-width:980px){
    .story-sticky{position:relative;top:auto}
    .story-scroll-section:before{font-size:22vw;left:0}
    .identity-scroll-scene{height:165vh}
    .identity-scroll-sticky{min-height:560px}
    .identity-scene-copy{right:24px;left:24px;top:35%;max-width:none}
    .identity-word{font-size:clamp(46px,10vw,90px)}
    .identity-product{left:50%;top:69%;width:min(48vw,390px);transform:translate3d(calc(-50% + var(--scene-product-x)),calc(-50% + var(--scene-product-y)),0) rotate(var(--scene-product-rotate)) scale(var(--scene-product-scale));opacity:.86}
    .identity-scene-copy strong{text-align:right}
    .identity-scene-caption{right:24px;bottom:24px;max-width:58vw}
    .home-hero .hero-media:after{display:none}
}

@media(max-width:620px){
    .site-scroll-progress{height:2px}
    .home-hero{min-height:auto}
    .hero-scroll-cue{display:none}
    .home-hero .hero-media:before{width:82%;right:9%;top:8%}
    .story-step{opacity:.45}
    .identity-scroll-scene{height:145vh}
    .identity-scroll-sticky{height:100svh;min-height:540px}
    .identity-scene-copy{top:28%;right:18px;left:18px}
    .identity-scene-kicker{font-size:8px;letter-spacing:2px}
    .identity-word{font-size:clamp(40px,13vw,66px);letter-spacing:-2px;white-space:normal}
    .identity-word-two{margin-top:8px}
    .identity-scene-copy strong{font-size:15px;letter-spacing:5px;margin-top:18px}
    .identity-product{top:68%;width:min(72vw,310px)}
    .identity-grid-lines{background-size:42px 42px}
    .identity-scene-index{left:18px;bottom:18px}
    .identity-scene-caption{display:none}
    .showcase-card[data-scroll-card]{translate:0 34px;scale:.97}
}

@media(prefers-reduced-motion:reduce){
    .site-scroll-progress{display:none}
    .home-hero .hero-image-wrap,.home-hero .hero-card-top,.home-hero .hero-card-bottom,.page-hero .container,[data-scroll-layer],.story-step,.showcase-card[data-scroll-card]{transform:none!important;translate:none!important;scale:1!important;opacity:1!important;animation:none!important;transition:none!important}
    .home-hero .hero-media:before,.hero-scroll-cue,.identity-product:before{animation:none!important}
    .identity-scroll-scene{height:auto;min-height:0}
    .identity-scroll-sticky{position:relative;height:auto;min-height:720px}
    .identity-product{transform:translate3d(0,-50%,0)!important}
    .identity-word-one,.identity-word-two{opacity:1!important;translate:0 0!important}
    .identity-scene-copy strong{color:rgba(255,255,255,.65)!important}
}
