(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,58704,e=>{"use strict";var t=e.i(43476),r=e.i(71645);e.i(47167);var n=e.i(31178),s=e.i(47414),a=e.i(74008),i=e.i(21476),o=e.i(72846),l=r,c=e.i(37806);function d(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class u extends l.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if((0,o.isHTMLElement)(t)&&e.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let e=t.offsetParent,r=(0,o.isHTMLElement)(e)&&e.offsetWidth||0,n=(0,o.isHTMLElement)(e)&&e.offsetHeight||0,s=getComputedStyle(t),a=this.props.sizeRef.current;a.height=parseFloat(s.height),a.width=parseFloat(s.width),a.top=t.offsetTop,a.left=t.offsetLeft,a.right=r-a.width-a.left,a.bottom=n-a.height-a.top,a.direction=s.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function h({children:e,isPresent:n,anchorX:s,anchorY:a,root:i,pop:o}){let m=(0,l.useId)(),p=(0,l.useRef)(null),f=(0,l.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:x}=(0,l.useContext)(c.MotionConfigContext),g=function(...e){return r.useCallback(function(...e){return t=>{let r=!1,n=e.map(e=>{let n=d(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t{let{width:e,height:t,top:r,left:l,right:c,bottom:d,direction:u}=f.current;if(n||!1===o||!p.current||!e||!t)return;let h="rtl"===u,g="left"===s?h?`right: ${c}`:`left: ${l}`:h?`left: ${l}`:`right: ${c}`,v="bottom"===a?`bottom: ${d}`:`top: ${r}`;p.current.dataset.motionPopId=m;let b=document.createElement("style");x&&(b.nonce=x);let w=i??document.head;return w.appendChild(b),b.sheet&&b.sheet.insertRule(` [data-motion-pop-id="${m}"] { position: absolute !important; width: ${e}px !important; height: ${t}px !important; ${g}px !important; ${v}px !important; } `),()=>{p.current?.removeAttribute("data-motion-pop-id"),w.contains(b)&&w.removeChild(b)}},[n]),(0,t.jsx)(u,{isPresent:n,childRef:p,sizeRef:f,pop:o,children:!1===o?e:l.cloneElement(e,{ref:g})})}let m=({children:e,initial:n,isPresent:o,onExitComplete:l,custom:c,presenceAffectsLayout:d,mode:u,anchorX:m,anchorY:f,root:x})=>{let g=(0,s.useConstant)(p),v=(0,r.useId)(),b=(0,r.useRef)(o),w=(0,r.useRef)(l);(0,a.useIsomorphicLayoutEffect)(()=>{b.current=o,w.current=l});let y=!0,j=(0,r.useMemo)(()=>(y=!1,{id:v,initial:n,isPresent:o,custom:c,onExitComplete:e=>{for(let t of(g.set(e,!0),g.values()))if(!t)return;l&&l()},register:e=>(g.set(e,!1),()=>{g.delete(e),b.current||g.size||w.current?.()})}),[o,g,l]);return d&&y&&(j={...j}),(0,r.useMemo)(()=>{g.forEach((e,t)=>g.set(t,!1))},[o]),r.useEffect(()=>{o||g.size||!l||l()},[o]),e=(0,t.jsx)(h,{pop:"popLayout"===u,isPresent:o,anchorX:m,anchorY:f,root:x,children:e}),(0,t.jsx)(i.PresenceContext.Provider,{value:j,children:e})};function p(){return new Map}var f=e.i(64978);let x=e=>e.key||"";function g(e){let t=[];return r.Children.forEach(e,e=>{(0,r.isValidElement)(e)&&t.push(e)}),t}let v=({children:e,custom:i,initial:o=!0,onExitComplete:l,presenceAffectsLayout:c=!0,mode:d="sync",propagate:u=!1,anchorX:h="left",anchorY:p="top",root:v})=>{let[b,w]=(0,f.usePresence)(u),y=(0,r.useMemo)(()=>g(e),[e]),j=u&&!b?[]:y.map(x),N=(0,r.useRef)(!0),k=(0,r.useRef)(y),R=(0,s.useConstant)(()=>new Map),M=(0,r.useRef)(new Set),[S,z]=(0,r.useState)(y),[$,A]=(0,r.useState)(y);(0,a.useIsomorphicLayoutEffect)(()=>{N.current=!1,k.current=y;for(let e=0;e<$.length;e++){let t=x($[e]);j.includes(t)?(R.delete(t),M.current.delete(t)):!0!==R.get(t)&&R.set(t,!1)}},[$,j.length,j.join("-")]);let C=[];if(y!==S){let e=[...y];for(let t=0;t<$.length;t++){let r=$[t],n=x(r);j.includes(n)||(e.splice(t,0,r),C.push(r))}return"wait"===d&&C.length&&(e=C),A(g(e)),z(y),null}let{forceRender:E}=(0,r.useContext)(n.LayoutGroupContext);return(0,t.jsx)(t.Fragment,{children:$.map(e=>{let r=x(e),n=(!u||!!b)&&(y===$||j.includes(r));return(0,t.jsx)(m,{isPresent:n,initial:(!N.current||!!o)&&void 0,custom:i,presenceAffectsLayout:c,mode:d,root:v,onExitComplete:n?void 0:()=>{if(M.current.has(r)||!R.has(r))return;M.current.add(r),R.set(r,!0);let e=!0;R.forEach(t=>{t||(e=!1)}),e&&(E?.(),A(k.current),u&&w?.(),l&&l())},anchorX:h,anchorY:p,children:e},r)})})};var b=e.i(32181);e.i(46607);var w=e.i(89970),y=e.i(65747);let j={basePath:"/evpd-demo/frames/hero/ezgif-frame-",pad:3,ext:"jpg",count:887,start:1,seconds:18},N=j.count-1,k={basePath:"/evpd-demo/frames/gallery-to-hud/ezgif-frame-",pad:3,ext:"jpg",count:300,start:1,seconds:12},R=k.count-1,M=(e,t)=>`${e.basePath}${String(t+e.start).padStart(e.pad,"0")}.${e.ext}`,S=e=>M(j,e),z=e=>M(k,e),$="/evpd-demo/videos/charging-station.mp4?v=8",A="/evpd-demo/videos/battery-health-clip.mp4?v=1",C=[{id:"lo",side:"left",x:2,startVh:128,endVh:-185,frames:[16,80,140,40]},{id:"li",side:"left",x:17,startVh:50,endVh:-115,frames:[58,34,120,200]},{id:"ri",side:"right",x:17,startVh:50,endVh:-115,frames:[192,226,60,90]},{id:"ro",side:"right",x:2,startVh:128,endVh:-185,frames:[210,150,104,170]}],E=[["The wait","is over."],["Engineered electric,","to the core."],["Every wall,","a charging point."],["A helmet","that thinks ahead."],["Charge it","like your phone."],["Swap in seconds,","ride for days."],["This is","MyAccess EV."]],T=[["Charge in minutes,","ride for miles."],["Fast DC power,","zero to full."],["Plug in,","power up."],["Always charged,","always ready."],["Swap in","sixty seconds."],["Empty to full,","in a moment."],["Never wait","to charge."],["A fresh pack,","every time."]],L=[{title:"Command HUD",sub:"Live map · range · diagnostics",img:"/evpd-demo/frames/gallery-to-hud/ezgif-frame-300.jpg"},{title:"Wall Charger",sub:"Every wall, a charging point",img:"/evpd-demo/frames/hero/ezgif-frame-350.jpg"},{title:"Charging Station",sub:"Fast DC — 0–100% overnight",seq:!0,video:$,poster:"/evpd-demo/videos/charging-station-poster.jpg?v=8"},{title:"The Bike",sub:"Engineered electric, to the core",img:"/evpd-demo/videos/bike-hero.jpg"},{title:"Swappable Battery Station",sub:"Ride on — never wait to charge",seq:!0,video:A,poster:"/evpd-demo/videos/battery-health-clip-poster.jpg?v=1"}];e.s(["default",0,function(){let[e,n]=(0,r.useState)(0),[s,a]=(0,r.useState)(!1),[i,o]=(0,r.useState)(28);(0,r.useEffect)(()=>{let e=()=>o(window.innerWidth<1024?62:28);return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);let l=9*i/16,c=28!==i,d=(0,r.useRef)([]),u=(0,r.useRef)({i:0}),h=(0,r.useRef)(-1),m=(0,r.useRef)([]),p=(0,r.useRef)({i:0}),f=(0,r.useRef)(-1),x=(0,r.useRef)(null),g=(0,r.useRef)({t:0}),M=(0,r.useRef)(!1),W=(0,r.useRef)(0),P=(0,r.useRef)(null),H=(0,r.useRef)({t:0}),I=(0,r.useRef)(!1),V=(0,r.useRef)(0),B=(0,r.useRef)(null),D=(0,r.useRef)(null),O=(0,r.useRef)(null),U=(0,r.useRef)(null),F=(0,r.useRef)(null),Z=(0,r.useRef)(null),q=(0,r.useRef)(null);(0,r.useEffect)(()=>{let e=!1,t=0,r=Array(j.count);for(let s=0;s{!e&&(n(Math.round((t+=1)/j.count*100)),t>=j.count&&a(!0))};i.onload=o,i.onerror=o,r[s]=i}return d.current=r,()=>{e=!0}},[]),(0,r.useEffect)(()=>{let e=Array(k.count);for(let t=0;t{let t,r,n,s,a=U.current;if(!a)return;let i=a.getContext("2d");if(!i)return;let o=Math.max(0,Math.min(N,Math.round(e))),l=d.current[o];if(!l||!l.complete||!l.naturalWidth||o===h.current)return;h.current=o;let c=a.clientWidth,u=a.clientHeight,m=l.naturalWidth/l.naturalHeight;c/u>m?(t=c,n=0,s=(u-(r=c/m))/2):(r=u,s=0,n=(c-(t=u*m))/2),i.clearRect(0,0,c,u),i.drawImage(l,n,s,t,r)},Y=()=>{let e=U.current;if(!e)return;let t=Math.min(window.devicePixelRatio||1,2);e.width=Math.round(e.clientWidth*t),e.height=Math.round(e.clientHeight*t);let r=e.getContext("2d");r&&r.setTransform(t,0,0,t,0,0),h.current=-1,G(u.current.i)},_=e=>{let t,r,n,s,a=F.current;if(!a)return;let i=a.getContext("2d");if(!i)return;let o=Math.max(0,Math.min(R,Math.round(e))),l=m.current[o];if(!l||!l.complete||!l.naturalWidth||o===f.current)return;f.current=o;let c=a.clientWidth,d=a.clientHeight;if(!c||!d)return;let u=l.naturalWidth/l.naturalHeight;c/d>u?(t=c,n=0,s=(d-(r=c/u))/2):(r=d,s=0,n=(c-(t=d*u))/2),i.clearRect(0,0,c,d),i.drawImage(l,n,s,t,r)},K=()=>{let e=F.current;if(!e)return;let t=e.clientWidth,r=e.clientHeight;if(!t||!r)return;let n=Math.min(window.devicePixelRatio||1,2);e.width=Math.round(t*n),e.height=Math.round(r*n);let s=e.getContext("2d");s&&s.setTransform(n,0,0,n,0,0),f.current=-1,_(p.current.i)},X=()=>{let e=x.current;!e||e.readyState<1||!e.duration||(W.current=Math.max(0,Math.min(1,g.current.t))*e.duration,M.current||(M.current=!0,e.currentTime=W.current))},J=()=>{let e=P.current;!e||e.readyState<1||!e.duration||(V.current=Math.max(0,Math.min(1,H.current.t))*e.duration,I.current||(I.current=!0,e.currentTime=V.current))};(0,y.useGSAP)(()=>{if(!s)return;Y(),G(0),K(),_(0),X(),J();let e=()=>{Y(),K()};window.addEventListener("resize",e);let t=Math.min(window.devicePixelRatio||1,2),r=window.innerWidth,n=window.innerHeight,a=Math.min(.31*r,.58*n),o=Math.min(160,Math.max(120,.095*r)),c=u.current,d=e=>(1300*e+2351)/10601,h=d(.13),m=h/.13,f=e=>e/10601,x={light:0},v=w.gsap.timeline({defaults:{ease:"none"},scrollTrigger:{trigger:B.current,start:"top top",end:"bottom bottom",scrub:.3,invalidateOnRefresh:!0,onUpdate:()=>{let e;(()=>{let e=U.current;if(!e)return;let r=Math.round(e.clientWidth*t);r&&r!==e.width&&Y()})(),(()=>{let e=F.current;if(!e)return;let r=Math.round(e.clientWidth*t);r&&r!==e.width&&K()})(),(e=B.current)&&e.getBoundingClientRect().bottom<120||document.documentElement.classList.toggle("nav-on-light",x.light>=.5)}}});v.to(c,{i:N,duration:h,onUpdate:()=>G(c.i)},0),v.to(".sc-hero",{autoAlpha:0,y:-32,duration:f(150),ease:"power1.in"},f(20));let b=f(20)+f(150)-f(30),y=(.114*m-b)/(E.length-1);E.forEach((e,t)=>{let r=b+t*y,n=.004*m;v.fromTo(`.sc-beat-${t}`,{autoAlpha:0,y:44},{autoAlpha:1,y:0,duration:n,ease:"power1.out"},r),v.to(`.sc-beat-${t}`,{autoAlpha:0,y:-44,duration:n,ease:"power1.in"},r+.72*y)}),v.to(Z.current,{autoAlpha:0,duration:.006131497028582209},d(.13)),v.to(D.current,{backgroundColor:"#ffffff",duration:.006131497028582209},d(.13)),v.to(x,{light:1,duration:.006131497028582209},d(.13)),v.to(O.current,{width:a,height:a,top:"44%",borderRadius:22,duration:.008584095840015094,ease:"power2.in"},d(.13)),v.fromTo(".sc-col",{autoAlpha:0},{autoAlpha:1,duration:.004905197622865768},d(.15)),v.fromTo(".sc-copy",{autoAlpha:0},{autoAlpha:1,duration:.004905197622865768},d(.19)),v.fromTo(".sc-copy",{y:120},{y:0,duration:.015941892274313745,ease:"none"},d(.19)),v.fromTo(".sc-gword",{autoAlpha:0},{autoAlpha:1,duration:.004905197622865768},d(.15)),v.to(".sc-gword",{autoAlpha:0,duration:.28*f(430)},d(.61)+.3*f(430)),v.to(O.current,{width:o,height:o,top:"46%",borderRadius:18,duration:.014715592868597301,ease:"power2.out"},d(.2)),C.forEach(e=>{let t="li"===e.id||"ri"===e.id,r=n*e.startVh/100,s=n*(t?-160:e.endVh)/100;v.fromTo(`.sc-col-${e.id}`,{y:r},{y:r+(s-r)*.05,duration:.014715592868597301,ease:"none"},d(.2)),v.to(`.sc-col-${e.id}`,{y:s,duration:t?.06499386850297142:.04659937741722479,ease:"none"},d(.32))}),v.to(O.current,{top:"-22%",autoAlpha:0,duration:.02697858692576172,ease:"none"},d(.32)),v.to(".sc-copy",{y:-(1.05*n),duration:.06499386850297142,ease:"none"},d(.32)),v.to(".sc-copy",{autoAlpha:0,duration:.01962079049146307,ease:"none"},d(.69)),v.to(".sc-col",{autoAlpha:0,duration:.007357796434298651},d(.86)),v.fromTo(".sc-box",{autoAlpha:0,top:"108%",width:o,height:o,borderRadius:16},{autoAlpha:1,top:"90%",duration:.008584095840015094,ease:"power2.out"},d(.47)),v.to(".sc-box",{top:"80%",duration:.008584095840015094,ease:"none"},d(.54)),v.to(".sc-box",{top:"50%",width:r,height:n,borderRadius:0,duration:f(430),ease:"power2.inOut"},d(.61));let j=d(.61)+.6*f(430),k=.4*f(430);v.to(".sc-bg",{backgroundColor:"#0a0a0b",duration:k},j),v.to(x,{light:0,duration:k},j);let M=p.current,S=d(.61)+f(430);v.to(M,{i:R,duration:f(600),ease:"none",onUpdate:()=>_(M.i)},S);let z=S+f(600),$=e=>z+f(e),A=r*i/100,T=r*l/100,L=A+.08*r,W=1.03*Math.max(r/A,n/T);w.gsap.set(".sc-hrow",{yPercent:-50}),v.to(O.current,{autoAlpha:0,duration:f(120)},$(0)),v.to(".sc-bg",{backgroundColor:"#ffffff",duration:f(240)},$(0)),v.to(".sc-horiz",{autoAlpha:1,duration:f(150)},$(40)),v.to(".sc-box",{width:A,height:T,top:"50%",borderRadius:18,duration:f(300),ease:"power2.inOut"},$(0)),v.set(".sc-box",{autoAlpha:0},$(300)),v.to(x,{light:1,duration:f(160)},$(120));let P=g.current,I=H.current,V={2:{ov:".sc-battfull",scrub:(e,t)=>v.to(P,{t:1,ease:"none",duration:t,onUpdate:X},e)},4:{ov:".sc-healthfull",scrub:(e,t)=>v.to(I,{t:1,ease:"none",duration:t,onUpdate:J},e)}},q=380,Q=0;for(let e of[2,4]){let t=e-Q,r=180*t+(t-1)*80;v.to(".sc-hrow",{x:-e*L,duration:f(r),ease:"power2.inOut"},$(q));let n=q+r,s=4===e;v.set(`.sc-hcard-${e}`,{zIndex:50},$(n)),v.to(`.sc-hlabel-${e}`,{autoAlpha:0,duration:f(110)},$(n));let a=n+260,i=V[e];if(i){v.to(i.ov,{autoAlpha:1,duration:f(40)},$(n)),v.to(i.ov,{width:()=>window.innerWidth,height:()=>window.innerHeight,borderRadius:0,duration:f(260),ease:"power2.inOut"},$(n)),v.to(x,{light:0,duration:f(260)},$(n));let t=n+247,r=2===e?2e3:1600;i.scrub($(t),f(r)),a=t+r}else v.to(`.sc-hcard-img-${e}`,{scale:W,borderRadius:0,duration:f(260),ease:"power2.inOut"},$(n));if(s)break;let o=a+90;i?(v.to(i.ov,{width:A,height:T,borderRadius:18,duration:f(190),ease:"power2.inOut"},$(o)),v.set(i.ov,{autoAlpha:0},$(o+190)),v.to(x,{light:1,duration:f(190)},$(o))):v.to(`.sc-hcard-img-${e}`,{scale:1,borderRadius:18,duration:f(190),ease:"power2.inOut"},$(o)),v.to(`.sc-hlabel-${e}`,{autoAlpha:1,duration:f(110)},$(o+190-110)),v.set(`.sc-hcard-${e}`,{zIndex:10},$(o+190)),q=o+190+90,Q=e}let ee=(e,t,r)=>{v.fromTo(`.sc-cbeat-${e}`,{autoAlpha:0,y:48},{autoAlpha:1,y:0,duration:f(80),ease:"power2.out"},$(t)),v.to(`.sc-cbeat-${e}`,{autoAlpha:0,y:-48,duration:f(80),ease:"power2.in"},$(r))};return ee(0,1250,1430),ee(1,1700,1880),ee(2,2150,2330),ee(3,2600,2780),ee(4,4300,4480),ee(5,4650,4830),ee(6,5e3,5180),ee(7,5350,5530),()=>{window.removeEventListener("resize",e),document.documentElement.classList.remove("nav-on-light")}},{scope:B,dependencies:[s,i]});let Q=({id:e,frames:r,side:n,x:s})=>(0,t.jsx)("div",{className:`sc-col ${e} pointer-events-none absolute top-0 z-10 flex flex-col items-center gap-[30vh] will-change-transform`,style:{[n]:`${s}%`},children:r.map((e,r)=>(0,t.jsx)("div",{className:"w-[clamp(120px,9.5vw,160px)] aspect-square shrink-0",children:(0,t.jsx)("img",{src:`/evpd-demo/frames/hero/ezgif-frame-${String(e).padStart(3,"0")}.jpg`,alt:"",loading:"lazy",className:"h-full w-full rounded-2xl object-cover shadow-[0_22px_50px_rgba(20,16,8,0.18)] ring-1 ring-black/5"})},r))});return(0,t.jsxs)("section",{ref:B,id:"top",className:`relative bg-bg ${s?"hero-in":""}`,style:{height:"10601vh"},children:[(0,t.jsx)(v,{children:!s&&(0,t.jsxs)(b.motion.div,{exit:{opacity:0},transition:{duration:.8,ease:[.22,1,.36,1]},className:"fixed inset-0 z-[60] flex items-center justify-center bg-bg",children:[(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0",style:{background:"radial-gradient(120% 95% at 50% 50%, #16151d 0%, #0a0a0b 68%)"}}),(0,t.jsxs)("div",{className:"relative flex h-52 w-52 items-center justify-center",children:[(0,t.jsxs)("svg",{viewBox:"0 0 200 200",className:"absolute inset-0 h-full w-full",children:[Array.from({length:44}).map((e,r)=>{let n=r/44*Math.PI*2;return(0,t.jsx)("circle",{cx:100+92*Math.cos(n),cy:100+92*Math.sin(n),r:3.1,fill:"none",stroke:"rgba(232,192,106,0.55)",strokeWidth:1},`o${r}`)}),Array.from({length:44}).map((e,r)=>{let n=(r+.5)/44*Math.PI*2;return(0,t.jsx)("circle",{cx:100+83*Math.cos(n),cy:100+83*Math.sin(n),r:2.4,fill:"none",stroke:"rgba(232,192,106,0.35)",strokeWidth:1},`i${r}`)}),(0,t.jsx)("circle",{cx:"100",cy:"100",r:"66",fill:"none",stroke:"rgba(232,192,106,0.14)",strokeWidth:"1.3"}),(0,t.jsx)("circle",{cx:"100",cy:"100",r:"66",fill:"none",stroke:"#e8c06a",strokeWidth:"1.3",strokeLinecap:"round",strokeDasharray:2*Math.PI*66,strokeDashoffset:2*Math.PI*66*(1-e/100),transform:"rotate(-90 100 100)",style:{transition:"stroke-dashoffset 0.3s linear"}})]}),(0,t.jsx)("span",{className:"font-serif tabular-nums text-[2.7rem] font-light text-accent",children:e})]})]},"loader")}),(0,t.jsxs)("div",{ref:D,className:"sticky top-0 h-screen w-full overflow-hidden bg-bg",children:[(0,t.jsx)("div",{className:"sc-bg pointer-events-none absolute inset-0 z-0",style:{background:"#ffffff"}}),(0,t.jsx)("div",{className:"sc-gword pointer-events-none absolute inset-0 z-[5] flex items-center justify-center overflow-hidden opacity-0",children:(0,t.jsx)("span",{className:"font-serif",style:{fontSize:"20vw",fontWeight:300,letterSpacing:"0.04em",color:"#ebebeb",whiteSpace:"nowrap",userSelect:"none"},children:"MYACCESS"})}),C.map(e=>(0,t.jsx)(Q,{id:`sc-col-${e.id}`,frames:e.frames,side:e.side,x:e.x},e.id)),(0,t.jsxs)("div",{ref:O,className:"absolute left-1/2 top-1/2 z-20 h-screen w-screen -translate-x-1/2 -translate-y-1/2 overflow-hidden",children:[(0,t.jsx)("canvas",{ref:U,className:"block h-full w-full object-cover"}),(0,t.jsx)("div",{ref:Z,className:"pointer-events-none absolute inset-0 bg-gradient-to-b from-black/45 via-black/5 to-black/55"})]}),(0,t.jsx)("div",{className:"sc-hero pointer-events-none absolute inset-0 z-30",style:{background:"radial-gradient(ellipse 88% 72% at 50% 44%, rgba(6,6,7,0.5) 0%, rgba(6,6,7,0.2) 55%, rgba(6,6,7,0.6) 100%)"}}),(0,t.jsxs)("div",{className:"sc-hero pointer-events-none absolute inset-0 z-40 flex flex-col items-center justify-center px-6 text-center",children:[(0,t.jsx)("div",{className:"sc-eyebrow font-inter",style:{fontSize:"0.68rem",fontWeight:500,letterSpacing:"0.42em",color:"rgba(232,192,106,0.85)",textTransform:"uppercase",marginBottom:"1.7rem"},children:"MyAccess  ·  Electric Mobility"}),(0,t.jsxs)("h1",{className:"font-serif",style:{fontSize:"clamp(2.8rem, 7.2vw, 6.6rem)",fontWeight:300,lineHeight:1.03,letterSpacing:"-0.015em",color:"#f4f2ee",margin:0},children:[(0,t.jsxs)("span",{className:"block overflow-hidden",style:{paddingBottom:"0.06em"},children:[(0,t.jsx)("span",{className:"sc-hl-word inline-block",style:{animationDelay:"0.30s"},children:"The"})," ",(0,t.jsx)("span",{className:"sc-hl-word inline-block",style:{animationDelay:"0.44s"},children:"Future"})," ",(0,t.jsx)("span",{className:"sc-hl-word inline-block",style:{animationDelay:"0.58s"},children:"Moves"})]}),(0,t.jsx)("span",{className:"block overflow-hidden",style:{paddingBottom:"0.06em"},children:(0,t.jsx)("span",{className:"sc-hl-word inline-block",style:{color:"#e8c06a",animationDelay:"0.74s"},children:"First."})})]}),(0,t.jsx)("p",{className:"sc-desc font-inter",style:{fontSize:"clamp(0.82rem, 1.05vw, 0.95rem)",fontWeight:300,lineHeight:1.8,color:"rgba(255,255,255,0.6)",margin:"1.9rem 0 0",maxWidth:"460px"},children:"India's next-generation electric mobility platform — engineered for performance, intelligence and sustainability."})]}),(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0 z-40 flex items-center justify-center px-6",children:E.map((e,r)=>(0,t.jsx)("div",{className:`sc-beat-${r} absolute max-w-3xl text-center opacity-0`,children:(0,t.jsxs)("h2",{className:"text-4xl font-medium leading-[1.05] tracking-tight text-snow sm:text-5xl md:text-6xl",children:[e[0],(0,t.jsx)("br",{}),e[1]]})},r))}),(0,t.jsx)("div",{ref:q,className:"sc-hero pointer-events-none absolute inset-x-0 bottom-[5%] z-40 px-8 sm:px-14",children:(0,t.jsxs)("div",{className:"sc-stagebar mx-auto max-w-[1400px]",children:[(0,t.jsx)("div",{className:"mb-4 text-center font-mono text-[10px] uppercase tracking-[0.42em] text-white/55",children:"Scroll to explore"}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("div",{className:"absolute left-0 right-0 top-[3px] h-px bg-white/15"}),(0,t.jsx)("div",{className:"relative flex items-start justify-between",children:["Design","Battery","Drive","Charge","Ready"].map((e,r)=>(0,t.jsxs)("div",{className:"flex flex-col items-center gap-2",children:[(0,t.jsx)("span",{className:"block rounded-full",style:{width:0===r?7:6,height:0===r?7:6,background:0===r?"#e8c06a":"rgba(255,255,255,0.3)",boxShadow:0===r?"0 0 9px rgba(232,192,106,0.75)":"none"}}),(0,t.jsx)("span",{className:"font-inter text-[10px] uppercase tracking-[0.24em]",style:{color:0===r?"rgba(255,255,255,0.85)":"rgba(255,255,255,0.4)"},children:e})]},e))})]})]})}),(0,t.jsxs)("div",{className:"sc-copy pointer-events-none absolute inset-x-0 top-[80%] z-30 px-6 text-center font-display text-ink opacity-0",children:[(0,t.jsx)("h3",{className:"font-serif text-3xl font-medium tracking-tight text-[#a8822e] sm:text-5xl",children:"Reimagined, from the ground up."}),(0,t.jsx)("p",{className:"mx-auto mt-5 max-w-xl text-lg leading-relaxed text-ink/70",children:"Every part of MyAccess EV was designed in-house — the swappable battery, the silent motor, the connected dashboard, and the frame that carries them. One machine, engineered end to end to move you through the city with power that never keeps you waiting."})]}),(0,t.jsx)("div",{className:"sc-box pointer-events-none absolute left-1/2 z-[25] -translate-x-1/2 -translate-y-1/2 overflow-hidden bg-bg opacity-0",style:{top:"108%",width:0,height:0},children:(0,t.jsx)("canvas",{ref:F,className:"block h-full w-full"})}),(0,t.jsx)("div",{className:"sc-battfull pointer-events-none absolute left-1/2 top-1/2 z-[46] -translate-x-1/2 -translate-y-1/2 overflow-hidden bg-bg opacity-0",style:{width:`${i}vw`,height:`${l}vw`,borderRadius:18},children:(0,t.jsx)("video",{ref:x,src:$,muted:!0,playsInline:!0,preload:"auto",className:"h-full w-full object-cover",onLoadedMetadata:X,onSeeked:()=>{let e=x.current;e&&(Math.abs(e.currentTime-W.current)>.02?e.currentTime=W.current:M.current=!1)}})}),(0,t.jsx)("div",{className:"sc-healthfull pointer-events-none absolute left-1/2 top-1/2 z-[46] -translate-x-1/2 -translate-y-1/2 overflow-hidden bg-bg opacity-0",style:{width:`${i}vw`,height:`${l}vw`,borderRadius:18},children:(0,t.jsx)("video",{ref:P,src:A,muted:!0,playsInline:!0,preload:"auto",className:"h-full w-full object-cover",onLoadedMetadata:J,onSeeked:()=>{let e=P.current;e&&(Math.abs(e.currentTime-V.current)>.02?e.currentTime=V.current:I.current=!1)}})}),(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0 z-[50] flex items-center justify-center px-6",children:T.map((e,r)=>(0,t.jsx)("div",{className:`sc-cbeat-${r} absolute max-w-3xl text-center opacity-0`,children:(0,t.jsxs)("h2",{className:"text-4xl font-medium leading-[1.05] tracking-tight text-snow sm:text-5xl md:text-6xl",children:[e[0],(0,t.jsx)("br",{}),e[1]]})},r))}),(0,t.jsxs)("div",{className:"sc-horiz pointer-events-none absolute inset-0 z-[22] opacity-0",children:[(0,t.jsx)("div",{className:"absolute inset-0 z-0 flex items-center justify-center overflow-hidden",children:(0,t.jsx)("span",{className:"font-serif",style:{fontSize:"20vw",fontWeight:300,letterSpacing:"0.04em",color:"#ebebeb",whiteSpace:"nowrap",userSelect:"none"},children:"CHARGING"})}),(0,t.jsxs)("div",{className:"sc-hrow absolute left-0 top-1/2 z-10 flex items-center",style:{gap:"8vw",paddingLeft:`${(100-i)/2}vw`},children:[L.map((e,r)=>(0,t.jsxs)("div",{className:`sc-hcard sc-hcard-${r} relative flex shrink-0 flex-col items-center`,style:{zIndex:10},children:[(0,t.jsx)("div",{className:`sc-hcard-img sc-hcard-img-${r} flex items-center justify-center overflow-hidden`,style:{width:`${i}vw`,height:`${l}vw`,borderRadius:18,background:e.img||e.seq?"#0a0a0b":e.grad,boxShadow:"0 30px 80px rgba(26,16,8,0.18)"},children:e.seq&&e.poster?(0,t.jsx)("img",{src:e.poster,alt:"",className:"h-full w-full object-cover"}):e.img?(0,t.jsx)("img",{src:e.img,alt:"",className:"h-full w-full object-cover"}):(0,t.jsx)("span",{className:"font-inter",style:{fontSize:"0.68rem",letterSpacing:"0.28em",textTransform:"uppercase",color:"rgba(26,23,18,0.42)"},children:e.tag})}),(0,t.jsxs)("div",{className:`sc-hlabel sc-hlabel-${r} absolute left-1/2 -translate-x-1/2 text-center`,style:{top:"calc(100% + 1.3rem)",whiteSpace:c?"normal":"nowrap",maxWidth:c?`${i}vw`:void 0},children:[(0,t.jsx)("div",{className:"font-serif",style:{fontSize:c?"1.15rem":"1.55rem",fontWeight:400,color:"#1a1712",lineHeight:1.15},children:e.title}),(0,t.jsx)("div",{className:"font-inter",style:{fontSize:c?"0.66rem":"0.72rem",letterSpacing:"0.1em",color:"rgba(26,23,18,0.5)",marginTop:"0.4rem"},children:e.sub})]})]},r)),L.slice(0,3).map((e,r)=>(0,t.jsxs)("div",{className:"sc-hcard relative flex shrink-0 flex-col items-center",style:{zIndex:10},children:[(0,t.jsx)("div",{className:"flex items-center justify-center overflow-hidden",style:{width:`${i}vw`,height:`${l}vw`,borderRadius:18,background:e.img||e.seq?"#0a0a0b":e.grad,boxShadow:"0 30px 80px rgba(26,16,8,0.18)"},children:e.seq&&e.poster?(0,t.jsx)("img",{src:e.poster,alt:"",className:"h-full w-full object-cover"}):e.img?(0,t.jsx)("img",{src:e.img,alt:"",className:"h-full w-full object-cover"}):(0,t.jsx)("span",{className:"font-inter",style:{fontSize:"0.68rem",letterSpacing:"0.28em",textTransform:"uppercase",color:"rgba(26,23,18,0.42)"},children:e.tag})}),(0,t.jsxs)("div",{className:"absolute left-1/2 -translate-x-1/2 text-center",style:{top:"calc(100% + 1.3rem)",whiteSpace:c?"normal":"nowrap",maxWidth:c?`${i}vw`:void 0},children:[(0,t.jsx)("div",{className:"font-serif",style:{fontSize:c?"1.15rem":"1.55rem",fontWeight:400,color:"#1a1712",lineHeight:1.15},children:e.title}),(0,t.jsx)("div",{className:"font-inter",style:{fontSize:c?"0.66rem":"0.72rem",letterSpacing:"0.1em",color:"rgba(26,23,18,0.5)",marginTop:"0.4rem"},children:e.sub})]})]},`loop-${r}`))]})]})]})]})}],58704)},93633,e=>{"use strict";var t=e.i(43476),r=e.i(71645);function n({className:e="h-[18px] w-auto"}){return(0,t.jsxs)("svg",{viewBox:"0 0 113.2 14.33",role:"img","aria-label":"MYACCESS",className:e,xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("path",{fill:"currentColor",d:"m15.22.2v13.96h-2.8V5.08l-3.74,9.08h-2.12L2.8,5.08v9.08H0V.2h3.18l4.44,10.38L12.06.2h3.16ZM29.09.2l-4.72,9.1v4.86h-2.8v-4.86L16.83.2h3.16l3,6.38L25.97.2h3.12Zm10.99,6.99c0-1.37.31-2.6.92-3.68.63-1.09,1.47-1.94,2.54-2.54,1.08-.61,2.29-.92,3.62-.92,1.56,0,2.93.4,4.1,1.2,1.17.8,1.99,1.91,2.46,3.32h-3.22c-.32-.67-.77-1.17-1.36-1.5-.57-.33-1.24-.5-2-.5-.81,0-1.54.19-2.18.58-.63.37-1.12.91-1.48,1.6-.35.69-.52,1.51-.52,2.44s.17,1.73.52,2.44c.36.69.85,1.23,1.48,1.62.64.37,1.37.56,2.18.56.76,0,1.43-.17,2-.5.59-.35,1.04-.85,1.36-1.52h3.22c-.47,1.43-1.29,2.54-2.46,3.34-1.16.79-2.53,1.18-4.1,1.18-1.33,0-2.54-.3-3.62-.9-1.07-.61-1.91-1.46-2.54-2.54-.61-1.08-.92-2.31-.92-3.68Zm15.05,0c0-1.37.31-2.6.92-3.68.63-1.09,1.47-1.94,2.54-2.54,1.08-.61,2.29-.92,3.62-.92,1.56,0,2.93.4,4.1,1.2,1.17.8,1.99,1.91,2.46,3.32h-3.22c-.32-.67-.77-1.17-1.36-1.5-.57-.33-1.24-.5-2-.5-.81,0-1.54.19-2.18.58-.63.37-1.12.91-1.48,1.6-.35.69-.52,1.51-.52,2.44s.17,1.73.52,2.44c.36.69.85,1.23,1.48,1.62.64.37,1.37.56,2.18.56.76,0,1.43-.17,2-.5.59-.35,1.04-.85,1.36-1.52h3.22c-.47,1.43-1.29,2.54-2.46,3.34-1.16.79-2.53,1.18-4.1,1.18-1.33,0-2.54-.3-3.62-.9-1.07-.61-1.91-1.46-2.54-2.54-.61-1.08-.92-2.31-.92-3.68Zm18.43-4.72v3.5h4.7v2.22h-4.7v3.7h5.3v2.28h-8.1V.19h8.1v2.28h-5.3Zm12.55,11.83c-.97,0-1.85-.17-2.64-.5-.77-.33-1.39-.81-1.84-1.44-.45-.63-.69-1.37-.7-2.22h3c.04.57.24,1.03.6,1.36.37.33.88.5,1.52.5s1.17-.15,1.54-.46c.37-.32.56-.73.56-1.24,0-.41-.13-.75-.38-1.02-.25-.27-.57-.47-.96-.62-.37-.16-.89-.33-1.56-.52-.91-.27-1.65-.53-2.22-.78-.56-.27-1.05-.66-1.46-1.18-.4-.53-.6-1.24-.6-2.12,0-.83.21-1.55.62-2.16.41-.61.99-1.08,1.74-1.4.75-.33,1.6-.5,2.56-.5,1.44,0,2.61.35,3.5,1.06.91.69,1.41,1.67,1.5,2.92h-3.08c-.03-.48-.23-.87-.62-1.18-.37-.32-.87-.48-1.5-.48-.55,0-.99.14-1.32.42-.32.28-.48.69-.48,1.22,0,.37.12.69.36.94.25.24.56.44.92.6.37.15.89.32,1.56.52.91.27,1.65.53,2.22.8.57.27,1.07.67,1.48,1.2.41.53.62,1.23.62,2.1,0,.75-.19,1.44-.58,2.08-.39.64-.95,1.15-1.7,1.54-.75.37-1.63.56-2.66.56Zm12.19.03c-.97,0-1.85-.17-2.64-.5-.77-.33-1.39-.81-1.84-1.44-.45-.63-.69-1.37-.7-2.22h3c.04.57.24,1.03.6,1.36.37.33.88.5,1.52.5s1.17-.15,1.54-.46c.37-.32.56-.73.56-1.24,0-.41-.13-.75-.38-1.02-.25-.27-.57-.47-.96-.62-.37-.16-.89-.33-1.56-.52-.91-.27-1.65-.53-2.22-.78-.56-.27-1.05-.66-1.46-1.18-.4-.53-.6-1.24-.6-2.12,0-.83.21-1.55.62-2.16.41-.61.99-1.08,1.74-1.4.75-.33,1.6-.5,2.56-.5,1.44,0,2.61.35,3.5,1.06.91.69,1.41,1.67,1.5,2.92h-3.08c-.03-.48-.23-.87-.62-1.18-.37-.32-.87-.48-1.5-.48-.55,0-.99.14-1.32.42-.32.28-.48.69-.48,1.22,0,.37.12.69.36.94.25.24.56.44.92.6.37.15.89.32,1.56.52.91.27,1.65.53,2.22.8.57.27,1.07.67,1.48,1.2s.62,1.23.62,2.1c0,.75-.19,1.44-.58,2.08-.39.64-.95,1.15-1.7,1.54-.75.37-1.63.56-2.66.56Z"}),(0,t.jsx)("path",{fill:"currentColor",d:"m30.08,14.18h-3L32.08.18h3l5,14h-3l-3.5-10.5-3.5,10.5Z"}),(0,t.jsx)("circle",{fill:"#19ea2e",cx:"109.2",cy:"10.18",r:"4"})]})}let s=["Home","Technology","Design","Range","Charging"],a=["Gallery","About","Contact","Privacy policy","Terms of service"],i="255,255,255";function o({title:e,links:r}){return(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"font-display text-[13.5px] font-bold tracking-tight text-[#141414]",children:e}),(0,t.jsx)("ul",{className:"mt-5 space-y-[13px]",children:r.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:"#",className:"font-inter text-[13px] text-black/55 transition-colors duration-200 hover:text-[#141414]",children:e})},e))})]})}e.s(["default",0,function(){let e=(0,r.useRef)(null);return(0,r.useEffect)(()=>{let t=e.current;if(!t)return;let r=()=>{t.getBoundingClientRect().top>=window.innerHeight||document.documentElement.classList.add("nav-on-light")};return r(),window.addEventListener("scroll",r,{passive:!0}),window.addEventListener("resize",r),()=>{window.removeEventListener("scroll",r),window.removeEventListener("resize",r)}},[]),(0,t.jsxs)("section",{ref:e,className:"relative z-0 w-full overflow-hidden",style:{background:`rgb(${i})`},children:[(0,t.jsxs)("div",{className:"pointer-events-none absolute inset-0",children:[(0,t.jsx)("img",{src:"/evpd-demo/videos/battery-health-last.jpg",alt:"",className:"h-full w-full object-cover object-top"}),(0,t.jsx)("div",{className:"absolute inset-0",style:{background:`linear-gradient(to bottom, rgb(${i}) 0%, rgba(${i},0.94) 16%, rgba(${i},0.62) 40%, rgba(${i},0.18) 70%, rgba(${i},0) 100%)`}})]}),(0,t.jsxs)("div",{className:"relative mx-auto max-w-[1180px] px-8 pt-20 sm:px-12",children:[(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-12 md:grid-cols-[minmax(0,1.75fr)_repeat(3,minmax(0,1fr))] md:gap-8",children:[(0,t.jsxs)("div",{className:"max-w-[380px]",children:[(0,t.jsx)(n,{className:"h-[17px] w-auto text-[#141414]"}),(0,t.jsx)("h2",{className:"mt-7 font-display text-[17px] font-bold tracking-tight text-[#141414]",children:"Your smart electric ride"}),(0,t.jsx)("p",{className:"mt-3.5 font-inter text-[13px] leading-[1.65] text-black/50",children:"MyAccess brings swappable batteries, live range, charge tracking, a citywide swap network, and more useful tech into one electric scooter built for the way you ride every day."}),(0,t.jsxs)("a",{href:"#",className:"mt-7 inline-flex items-center gap-2.5 rounded-[10px] px-5 py-3 font-inter text-[13px] font-medium text-white transition-transform duration-300 hover:-translate-y-0.5",style:{background:"#101010"},children:[(0,t.jsx)("svg",{viewBox:"0 0 24 24",className:"h-[15px] w-[15px]",fill:"currentColor","aria-hidden":!0,children:(0,t.jsx)("path",{d:"M13 2 4.5 13.5H11l-1 8.5 8.5-11.5H12l1-8.5z"})}),"Reserve yours"]}),(0,t.jsx)("p",{className:"mt-7 font-inter text-[11.5px] text-black/40",children:"© 2026 MyAccess — All rights reserved"}),(0,t.jsxs)("p",{className:"mt-4 flex items-center gap-2 font-inter text-[11.5px] text-black/45",children:["Built with by",(0,t.jsx)("span",{className:"ml-0.5 inline-flex h-[19px] w-[19px] items-center justify-center rounded-full bg-[#141414] font-inter text-[9px] font-semibold text-white",children:"M"}),(0,t.jsx)("span",{className:"font-medium text-black/65",children:"MyAccess Design"})]})]}),(0,t.jsx)(o,{title:"Menu",links:s}),(0,t.jsx)(o,{title:"Navigation",links:a}),(0,t.jsx)("div",{"aria-hidden":!0})]}),(0,t.jsx)("div",{className:"h-28","aria-hidden":!0})]})]})}],93633)},8912,e=>{"use strict";var t=e.i(43476),r=e.i(71645);e.s(["default",0,function(){let e=(0,r.useRef)(null),n=(0,r.useRef)(!1),[s,a]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let t=()=>{document.hidden?e.current?.pause():n.current&&e.current?.play().catch(()=>{})};return document.addEventListener("visibilitychange",t),window.addEventListener("pagehide",()=>e.current?.pause()),()=>{document.removeEventListener("visibilitychange",t),e.current?.pause()}},[]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("audio",{ref:e,src:"/evpd-demo/audio/ambient.mp3",loop:!0,preload:"auto"}),(0,t.jsxs)("button",{type:"button",onClick:()=>{let t;return s?void(n.current=!1,a(!1),e.current?.pause()):(n.current=!0,a(!0),void((t=e.current)&&(t.volume=.32,t.play().catch(()=>{}))))},"aria-label":s?"Turn sound off":"Turn sound on",className:"fixed bottom-6 right-6 z-[70] flex items-center gap-2.5 rounded-full border border-white/25 bg-black/45 px-4 py-2.5 text-white backdrop-blur transition-colors hover:bg-black/65",children:[s?(0,t.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.7",strokeLinecap:"round",strokeLinejoin:"round",className:"h-[17px] w-[17px]",children:[(0,t.jsx)("path",{d:"M11 5 6 9H2v6h4l5 4V5z"}),(0,t.jsx)("path",{d:"M15.5 8.5a5 5 0 0 1 0 7M18.5 5.5a9 9 0 0 1 0 13"})]}):(0,t.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.7",strokeLinecap:"round",strokeLinejoin:"round",className:"h-[17px] w-[17px]",children:[(0,t.jsx)("path",{d:"M11 5 6 9H2v6h4l5 4V5z"}),(0,t.jsx)("path",{d:"m22 9-6 6M16 9l6 6"})]}),(0,t.jsx)("span",{className:"font-inter text-[11px] font-medium uppercase tracking-[0.2em]",children:s?"Sound off":"Sound on"})]})]})}])}]);