{"version":3,"file":"PageProjectInteractions.tLP3S_SH.mjs","names":["React.useSyncExternalStore","React.useState","React.useRef","React.useCallback","React.useMemo","React.useId","React.useLayoutEffect","React.useEffect","_Fragment","__esmMin","ie","me","le","init_ssg_sandbox_shims","ne","window","_e","de","init_jsx_runtime","B","Ha","pe","init_npm_react_dom_18_3_1","c","p","init_npm_react_18_3_1","motion","useSpring","init_framer_motion_DhsWWWsN","useReducedMotion","init_framer_BWFVvmND","addPropertyControls","useIsStaticRenderer","ControlType","RenderTarget","withProjectPage","Component","props","setLabelText","next","key","LABEL_TEXT","labelListeners","listener","cardPath","href","element","name","MAINTENANCE_PATH","url","useLabelText","read","useCursorLabel","point","setPoint","node","reduced","xSpring","ySpring","visible","hide","ce","event","x","y","width","height","left","top","text","withProjectCard","bubbleOpen","setBubbleOpen","path","setPath","cardText","maintenance","maintenancePath","cursor","CardBubbleContext","pressCard","labelFontCss","f","LABEL_FONT","font","px","value","ProjectInteractionSettings","PAGE_MOTION","cursorMorphEnabled","setCursorMorphEnabled","cardHandleSize","cardHandleRadius","cardLabel","soonLabel","maintenanceLabel","inEditor","useCaseStudySheet","PROJECTS","SHEET","BACK","SHEET_NAV_PAGES","liveHandlers","handlers","eligible","target","click","prefetch","opacity","dim","enter","enterMs","leave","leaveMs","hoverEase","springCurve","selector","style","navActive","navDim","dotSize","dotColor","tooltipBlur","tooltipBackground","tooltipColor","tooltipPaddingY","tooltipPaddingX","tooltipFont","tooltipSize","fitReceipt","CardCursor","portal","appleSpring","response","dampingRatio","navPageTitle","pathname","sheetAvailable","readSheetRecord","state","SHEET_STATE","samePath","trim","a","b","linkTarget","anchor","base","frameCss","hidden","hideLayers","hideNav","PAGE_NAV_LAYERS","useMediaQuery","matches","setMatches","query","list","sync","isStatic","active","enabled","sheet","SHEET_DEFAULTS","sheetProp","back","BACK_DEFAULTS","backProp","owner","entry","setEntry","closing","setClosing","live","token","home","returnFocus","backTimer","hints","timer","projects","project","navPages","destination","prefetchedPages","hint","show","projectFor","open","sheetOwner","from","record","resume","requestClose","SHEET_TIMING","finishClose","navigate","sameSite","navPage","title","current","cardFor","setTitle","onPop","openRef","paths","onRequest","detail","label","SHEET_REQUEST","isNavPage","restored","isOpen","useBrowserLayoutEffect","root","body","saved","hasScrollbar","found","card","CaseStudySheet","springProgress","spec","velocity","linearEasing","duration","steps","points","i","at","w0","stiffness","mass","zeta","damping","offsetAt","wd","t","r1","r2","c2","end","dragBoxes","anchorX","to","anchorY","dragX","dragY","DRAG_ANCHOR","start","dx","dy","length","nx","ny","pointer","tau","ms","DRAG","s","bow","k","follow","m","step","vx","vy","frames","every","landAt","box","sheetPosition","transform","matrix","axis","slideSheet","animation","sheetTransform","instant","onDone","springTime","progress","morphTransform","zoomBox","SHEET_MORPH","scale","visibleBox","cards","now","pressing","down","EdgeFade","edge","toward","fadeRef","mask","index","amount","color","narrow","phone","finePointer","reduceMotion","spring","layerRef","cardRef","openingOutlineRef","contentRef","frameRef","chipRef","topFadeRef","initialUrl","ready","setReady","fullyOpen","setFullyOpen","loadError","setLoadError","peeking","setPeeking","peekEdge","setPeekEdge","pressed","setPressed","dragging","setDragging","pageColor","setPageColor","pageWidth","setPageWidth","contentSize","setContentSize","touchRef","drag","release","shownUrl","narrowRef","callbacks","closingRef","morph","pageAt","growRef","content","fromCard","animations","MORPH_REST","finished","finish","shownStyle","shown","surface","page","grow","opening","reached","speed","wrapper","frozenTransform","sheetBox","cardBox","collapse","visibleFor","timing","fadeFrom","fadeTo","faded","fallback","originBox","bounds","currentClip","insets","insetTop","insetRight","insetBottom","insetLeft","startBox","targetBox","finalScale","springPath","SHEET_CLOSE","outlineFrames","baseTransform","springAmount","boxLeft","boxTop","boxWidth","boxHeight","pageScale","clipLeft","clipTop","clipRight","clipBottom","blend","outline","roundAt","endClip","startClip","swept","sweep","hold","disposed","canAnimate","held","rest","grab","expansion","interruptedOpacity","interruptedTransform","interruptedClip","interruptedBox","fade","measure","previous","observer","seatedAxis","onKey","frame","revealed","waitingForFonts","wired","decorated","timers","readDoc","reveal","onFrameClick","doc","here","wire","view","pageHistory","replace","data","unused","decorate","viewport","check","fonts","poll","onLoad","placeChip","chip","half","cx","cy","onDragStart","onDragMove","pulled","onDragEnd","SHEET_DRAG","peekDistance","shift","peekTransform","chipVisible","blurred","radius","clip","strip","frameTop","SHEET_BLUR","onRequestClose","BOX_CORNERS","corner","NAV_ICON","CHIP_TURN","RETURN_ARROW","withProjectBubbleSurface","withProjectBoundingBox","init_PageProjectInteractions","MOTION","DEFAULT_CARDS","HAND_BACK","FRAMER_CURSOR","SUBSTEP","ATTR","stepSpring","w","dt","h","settle","distance","clamp","max","min","smoothstep","validSelector","startCursor","svg","layer","lines","dots","fine","settings","u","handle","dotBase","press","glide","hovered","boxed","stale","sheetOpen","grace","raf","last","rescan","lineOpacity","position","cursorHidden","swap","resize","wake","boxOf","r","o","setBoxed","crossFade","g","hit","el","onMove","onDown","onUp","onOut","onScroll","checkSheet","sheets","time","moving","unfolding","render","grown","space","origin","handBack","drawn","fadeT","presence","nextOpacity","py","spread","l","edges","nextLine","j","line","NavPixelsCursor","setLive","scope","pixel","handleRadius","offset","unfold","fold","bounce","dash","lineStyle"],"sources":["https:/framerusercontent.com/modules/A59MA8qZNLgDOvKTEjCJ/v4dnvUZktKw1iDbQSd5k/PageProjectInteractions.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";// @ts-ignore — react-dom is provided by the Framer runtime.\nimport{createPortal}from\"react-dom\";import{useIsStaticRenderer}from\"framer\";import{motion,useReducedMotion,useSpring}from\"framer-motion\";/* ─────────────────────────────────────────────────────────\n * ANIMATION STORYBOARD\n *    0ms   hover begins from rest; surroundings gently recede\n *  520ms   card emphasis settles with a softly damped handoff\n *    0ms   About zooms in from 0.96, centered, at once; project cards grow out of the card (SHEET_MORPH)\n *  ~310ms  the page fades in once the sheet is nearly open and the page can paint\n *  ~300ms  close: About recedes to 0.96 and fades; a card's sheet shrinks back into the card\n * ───────────────────────────────────────────────────────── */const PAGE_MOTION={ease:\"cubic-bezier(0.22, 1, 0.36, 1)\",exitEase:\"cubic-bezier(0.4, 1, 0.32, 1)\",spring:{stiffness:170,damping:26,mass:1},enter:700,exit:280,hoverIn:1200,hoverOut:460,travel:0,scale:.94};const PROJECTS=[{link:\"/verdigris-ai\",title:\"AI for data center technicians\"},{link:\"/soundtransit-search\",title:\"Search and LLM discoverability for transit riders\"},{link:\"/e-commerce-product-creation\",title:\"Product creation for merchandisers\"},{link:\"/e-commerce-search\",title:\"Search configuration for merchandisers\"},{link:\"/e-commerce-product-hierarchies\",title:\"Product category visualization\"}];// Exact homepage sheet settings. The shared hook owns history, focus, drag,\n// cursor/back chip, Escape, scroll restoration, and reduced-motion handling.\nconst SHEET={margin:16,blur:12,closeDuration:PAGE_MOTION.exit,closeOpacity:1,gap:16,peek:24,radius:8,narrowAt:0,topGap:2,narrowRadius:0,surface:\"rgb(15, 15, 16)\",shadow:\"0px 16px 47px 4px rgba(0,0,0,0.2)\",peekShadow:\"0px 12px 52px 0px rgba(0,0,0,0.18)\",stiffness:100,damping:30,mass:1,changeUrl:true,edgeFade:\"off\",hideLayers:\"\",hideNav:true,zIndex:2e3,navStiffness:180,navDamping:26,navMass:1};// The chip wears the side nav's chrome (OrganicMetaballNav): white tile, 8px radius, its two-layer shadow and ink.\nconst BACK={background:\"#FFFFFF\",color:\"#302923\",size:40,radius:8,iconSize:16,shadow:\"0px 1px 4px 0px rgba(0,0,0,0.08), 0px 6px 8px 0px rgba(0,0,0,0.06)\",narrowDirection:\"left\",touch:true};export function withProjectPage(Component){return /*#__PURE__*/React.forwardRef(function ProjectPage(props,ref){return /*#__PURE__*/_jsx(\"div\",{\"data-project-focus-root\":\"true\",style:{display:\"contents\"},children:/*#__PURE__*/_jsx(Component,{...props,ref:ref})});});}const NavigationState=/*#__PURE__*/React.createContext({selected:\"work\",active:\"work\",dotId:\"portfolio-dot\",select:_=>{},hover:_=>{},focus:_=>{}});export function withPortfolioNavigation(Component){return /*#__PURE__*/React.forwardRef(function PortfolioNavigation(props,ref){const[selected,select]=React.useState(\"work\");const[hovered,hover]=React.useState(null);const[focused,focus]=React.useState(null);const dotId=React.useId();const active=hovered??focused??selected;React.useEffect(()=>{const sync=()=>select(window.location.pathname.replace(/\\/$/,\"\").endsWith(\"/about\")?\"about\":\"work\");sync();window.addEventListener(\"popstate\",sync);window.addEventListener(\"hashchange\",sync);return()=>{window.removeEventListener(\"popstate\",sync);window.removeEventListener(\"hashchange\",sync);};},[]);return /*#__PURE__*/_jsx(NavigationState.Provider,{value:{selected,active,dotId,select,hover,focus},children:/*#__PURE__*/_jsx(Component,{...props,ref:ref,\"data-portfolio-nav\":\"true\",onPointerLeave:event=>{hover(null);props.onPointerLeave?.(event);},onBlur:event=>{if(!event.currentTarget.contains(event.relatedTarget))focus(null);props.onBlur?.(event);}})});});}// The settings layer owns the label copy; the card and nav overrides read it.\nconst MAINTENANCE_PATH=\"/e-commerce-search\";const LABEL_TEXT={handleSize:\"8\",handleRadius:\"0\",card:\"\",soon:\"Coming Soon\",maintenance:\"maintenance\",maintenancePath:MAINTENANCE_PATH};const labelListeners=new Set;function setLabelText(next){const keys=Object.keys(next);if(keys.every(key=>next[key]===LABEL_TEXT[key]))return;Object.assign(LABEL_TEXT,next);labelListeners.forEach(listener=>listener());}// The card's link path, normalized like the sheet's link check (editor preview\n// paths keep only the last segment).\nfunction cardPath(element){const anchor=element.closest(\"a[href]\")??element.querySelector(\"a[href]\");const href=anchor?.getAttribute(\"href\");if(!href){// This maintenance card intentionally has no navigation link.\nconst name=element.getAttribute(\"data-framer-name\")??\"\";return/search configuration/i.test(name)?MAINTENANCE_PATH:null;}try{const url=new URL(href,window.location.href);return/framercanvas\\.com$/.test(window.location.hostname)?\"/\"+url.pathname.split(\"/\").filter(Boolean).pop():url.pathname.replace(/\\/$/,\"\");}catch{return null;}}function useLabelText(key){const read=()=>LABEL_TEXT[key];return React.useSyncExternalStore(listener=>{labelListeners.add(listener);return()=>labelListeners.delete(listener);},read,read);}function useCursorLabel(text){const[point,setPoint]=React.useState(null);const node=React.useRef(null);const reduced=useReducedMotion();const xSpring=useSpring(0,{stiffness:240,damping:30,mass:.8});const ySpring=useSpring(0,{stiffness:240,damping:30,mass:.8});const visible=React.useRef(false);const hide=React.useCallback(()=>{visible.current=false;setPoint(null);},[]);React.useEffect(()=>{window.addEventListener(\"blur\",hide);window.addEventListener(\"scroll\",hide,true);window.addEventListener(\"pointerdown\",hide,true);return()=>{window.removeEventListener(\"blur\",hide);window.removeEventListener(\"scroll\",hide,true);window.removeEventListener(\"pointerdown\",hide,true);};},[hide]);const move=event=>{if(event.pointerType===\"touch\"||!window.matchMedia(\"(hover: hover) and (pointer: fine)\").matches)return;const x=event.clientX,y=event.clientY;if(!visible.current){visible.current=true;xSpring.jump(x+16);ySpring.jump(y+12);setPoint({x,y});}if(node.current){const width=node.current.offsetWidth,height=node.current.offsetHeight;const left=x+16+width>window.innerWidth-8?Math.max(8,x-width-16):x+16;const top=Math.min(y+12,window.innerHeight-height-8);if(reduced){xSpring.jump(left);ySpring.jump(top);}else{xSpring.set(left);ySpring.set(top);}}};const portal=point&&text&&typeof document!==\"undefined\"?/*#__PURE__*/createPortal(/*#__PURE__*/_jsx(motion.div,{ref:node,initial:{opacity:0},animate:{opacity:1},transition:{duration:reduced?.08:.18},className:\"portfolio-cursor-label\",\"aria-hidden\":\"true\",style:{position:\"fixed\",left:0,top:0,x:xSpring,y:ySpring,zIndex:1999,pointerEvents:\"none\"},children:text}),document.body):null;return{move,hide,portal};}function navigationRow(Component,item){return /*#__PURE__*/React.forwardRef(function NavigationRow(props,ref){const{selected,active,dotId,select,hover,focus}=React.useContext(NavigationState);const reducedMotion=useReducedMotion();const cursor=useCursorLabel(useLabelText(\"soon\"));const disabled=item===\"side-projects\";return /*#__PURE__*/_jsxs(_Fragment,{children:[item===\"writing\"&&/*#__PURE__*/_jsx(\"style\",{children:`\n                        [data-portfolio-nav-item=\"writing\"] > .portfolio-external-arrow {\n                            position: absolute; right: 0; top: 50%; width: 14px; height: 14px;\n                            transform: translate(-2px, calc(-50% + 2px)); opacity: 0; pointer-events: none;\n                        }\n                    `}),/*#__PURE__*/_jsxs(Component,{...props,ref:ref,\"data-portfolio-nav-item\":item,\"data-selected\":selected===item?\"true\":\"false\",\"data-active\":active===item?\"true\":\"false\",\"aria-current\":selected===item?\"page\":undefined,\"aria-disabled\":disabled||undefined,\"aria-label\":disabled?\"Side Projects — Coming Soon\":undefined,role:disabled?\"button\":undefined,tabIndex:disabled?0:props.tabIndex,onClick:event=>{if(disabled){event.preventDefault();return;}if(item!==\"writing\")select(item);props.onClick?.(event);},onFocus:event=>{focus(item);props.onFocus?.(event);},onPointerEnter:event=>{if(event.pointerType!==\"touch\")hover(item);if(disabled)cursor.move(event);props.onPointerEnter?.(event);},onPointerMove:event=>{if(disabled)cursor.move(event);props.onPointerMove?.(event);},onPointerLeave:event=>{cursor.hide();props.onPointerLeave?.(event);},children:[props.children,active===item&&item!==\"writing\"&&/*#__PURE__*/_jsx(motion.span,{className:\"portfolio-selected-dot\",\"aria-hidden\":\"true\",layoutId:`portfolio-dot-${dotId}`,initial:false,transition:reducedMotion?{duration:0}:{type:\"spring\",stiffness:300,damping:30,mass:1}}),item===\"writing\"&&/*#__PURE__*/_jsx(\"svg\",{className:\"portfolio-external-arrow\",width:\"14\",height:\"14\",viewBox:\"0 0 24 24\",fill:\"none\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M5 19 19 5M5 5h14v14\",stroke:\"#000\",strokeWidth:\"1.7\"})})]}),cursor.portal]});});}export function withWorkNavigation(Component){return navigationRow(Component,\"work\");}export function withWritingNavigation(Component){return navigationRow(Component,\"writing\");}export function withSideProjectsNavigation(Component){return navigationRow(Component,\"side-projects\");}export function withAboutNavigation(Component){return navigationRow(Component,\"about\");}export function withProjectCard(Component){return /*#__PURE__*/React.forwardRef(function ProjectCard(props,ref){const[bubbleOpen,setBubbleOpen]=React.useState(false);const[path,setPath]=React.useState(null);const cardText=useLabelText(\"card\");const maintenance=useLabelText(\"maintenance\");const maintenancePath=useLabelText(\"maintenancePath\");const cursor=useCursorLabel(maintenancePath&&path===maintenancePath?maintenance:cardText);return /*#__PURE__*/_jsxs(CardBubbleContext.Provider,{value:{open:bubbleOpen,fill:path===\"/verdigris-ai\"?\"rgb(248,239,232)\":path===\"/soundtransit-search\"?\"rgb(250,250,250)\":\"#fff\"},children:[/*#__PURE__*/_jsx(Component,{...props,ref:ref,style:{...props.style,overflow:\"visible\"},onFocus:event=>{const p=cardPath(event.currentTarget);setPath(p);setBubbleOpen(!!p&&p!==maintenancePath);props.onFocus?.(event);},onBlur:event=>{setBubbleOpen(false);props.onBlur?.(event);},\"data-project-focus-card\":\"true\",\"data-project-focus-part\":\"true\",onPointerEnter:event=>{setPath(cardPath(event.currentTarget));setBubbleOpen(event.pointerType!==\"touch\"&&window.matchMedia(\"(hover:hover) and (pointer:fine)\").matches&&!!cardPath(event.currentTarget)&&cardPath(event.currentTarget)!==maintenancePath);cursor.move(event);props.onPointerEnter?.(event);},onPointerMove:event=>{if(path===null)setPath(cardPath(event.currentTarget));cursor.move(event);props.onPointerMove?.(event);},onPointerLeave:event=>{setBubbleOpen(false);cursor.hide();pressCard(event.currentTarget,false);props.onPointerLeave?.(event);},onPointerDown:event=>{if(event.button===0)pressCard(event.currentTarget,true);props.onPointerDown?.(event);},onPointerUp:event=>{pressCard(event.currentTarget,false);props.onPointerUp?.(event);},onPointerCancel:event=>{pressCard(event.currentTarget,false);props.onPointerCancel?.(event);}}),cursor.portal]});});}export function withProjectBackground(Component){return /*#__PURE__*/React.forwardRef(function ProjectBackground(props,ref){return /*#__PURE__*/_jsx(Component,{...props,ref:ref,\"data-project-focus-part\":\"true\"});});}// Matches the label's look before the Font control existed.\nconst LABEL_FONT={fontFamily:'\"IBM Plex Mono\", monospace',fontSize:\"13px\",fontWeight:500,lineHeight:1.3,letterSpacing:\"0.03em\"};function labelFontCss(font){const f={...LABEL_FONT,...font};const px=value=>typeof value===\"number\"?`${value}px`:String(value);return[`font-family: ${f.fontFamily}, monospace;`,`font-size: ${px(f.fontSize)};`,`font-weight: ${f.fontWeight};`,`font-style: ${f.fontStyle??\"normal\"};`,`line-height: ${f.lineHeight};`,`letter-spacing: ${px(f.letterSpacing)};`].join(\" \");}/**\n * @framerIntrinsicWidth 1\n * @framerIntrinsicHeight 1\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */// Pages without a card that open in the sheet whenever a homepage link points at them (the floating nav's About and Photos)\nconst SHEET_NAV_PAGES=[\"/about\",\"/photos\"];export default function ProjectInteractionSettings({dim=.4,grayscale=true,enterMs=PAGE_MOTION.hoverIn,leaveMs=PAGE_MOTION.hoverOut,navDim=.3,navActive=1,dotSize=8,dotColor=\"#33150F\",tooltipBackground=\"rgba(244, 241, 236, 0.64)\",tooltipColor=\"#33150F\",cardHandleSize=6,cardHandleRadius=16,cardLabel=\"Open Case Study\",soonLabel=\"Coming Soon\",maintenancePath=MAINTENANCE_PATH,maintenanceLabel=\"maintenance\",tooltipFont=LABEL_FONT,tooltipBlur=20,tooltipPaddingX=12,tooltipPaddingY=9,tooltipSize=13,fitReceipt=true,style}){const[cursorMorphEnabled,setCursorMorphEnabled]=React.useState(false);React.useEffect(()=>{setCursorMorphEnabled(!!document.querySelector(\"[data-project-box-target]\"));},[]);React.useEffect(()=>setLabelText({handleSize:String(Math.max(2,Math.min(32,cardHandleSize))),handleRadius:String(Math.max(0,Math.min(16,cardHandleRadius))),card:cardLabel,soon:soonLabel,maintenance:maintenanceLabel,maintenancePath}),[cardHandleSize,cardHandleRadius,cardLabel,soonLabel,maintenanceLabel,maintenancePath]);const inEditor=typeof window!==\"undefined\"&&/framercanvas\\.com$/.test(window.location.hostname);const{handlers,portal}=useCaseStudySheet(true,PROJECTS,{...SHEET,changeUrl:!inEditor},BACK,SHEET_NAV_PAGES.join(\",\"));const liveHandlers=React.useRef(handlers);liveHandlers.current=handlers;React.useEffect(()=>{if(RenderTarget.current()===RenderTarget.canvas)return;const eligible=target=>{if(!(target instanceof Element))return false;const anchor=target.closest(\"a[href], [data-nested-link][href]\");const href=anchor?.getAttribute(\"href\");if(!href)return false;try{const url=new URL(href,window.location.href);const path=inEditor?\"/\"+url.pathname.split(\"/\").filter(Boolean).pop():url.pathname.replace(/\\/$/,\"\");return url.origin===window.location.origin&&[...PROJECTS.map(p=>p.link),...SHEET_NAV_PAGES].includes(path);}catch{return false;}};const click=event=>{if(!eligible(event.target))return;liveHandlers.current.onClickCapture?.(event);if(event.defaultPrevented)event.stopPropagation();};const prefetch=event=>{if(eligible(event.target))liveHandlers.current.onPointerOverCapture?.(event);};document.addEventListener(\"click\",click,true);document.addEventListener(\"pointerover\",prefetch,true);return()=>{document.removeEventListener(\"click\",click,true);document.removeEventListener(\"pointerover\",prefetch,true);};},[inEditor]);const opacity=Math.max(0,Math.min(1,dim));const enter=Math.max(PAGE_MOTION.hoverIn,Math.min(1200,enterMs));const leave=Math.max(PAGE_MOTION.hoverOut,Math.min(1200,leaveMs));const hoverEase=React.useMemo(()=>springCurve(PAGE_MOTION.spring).easing,[]);const selector=\"[data-project-focus-root]\";if(RenderTarget.current()===RenderTarget.canvas)return /*#__PURE__*/_jsx(\"div\",{style:{...style,position:\"relative\",pointerEvents:\"none\"},\"aria-hidden\":\"true\"});// CSS transitions retarget from their current state during quick card-to-card\n// movement. No cloned cards, DOM mutation, listeners, or animation loops.\nreturn /*#__PURE__*/_jsxs(\"div\",{style:{...style,position:\"relative\",pointerEvents:\"none\"},\"aria-hidden\":\"true\",children:[/*#__PURE__*/_jsx(\"style\",{children:`\n        [data-portfolio-nav-item] { position: relative; opacity: ${Math.min(navActive,navDim)}; transition: opacity 140ms ${hoverEase}; }\n        [data-portfolio-nav-item][data-active=\"true\"] { opacity: ${Math.max(0,Math.min(1,navActive))}; }\n        [data-portfolio-nav-item] > .portfolio-selected-dot {\n            position: absolute; right: 0; top: calc(50% - ${Math.max(1,Math.min(24,dotSize))/2}px);\n            width: ${Math.max(1,Math.min(24,dotSize))}px; height: ${Math.max(1,Math.min(24,dotSize))}px;\n            background: ${dotColor}; border-radius: 50%; flex: none; opacity: 1; pointer-events: none;\n        }\n        [data-portfolio-nav-item=\"side-projects\"] { cursor: default; }\n        [data-portfolio-nav-item=\"writing\"] > .portfolio-external-arrow {\n            position: absolute; right: 0; top: 50%; width: 14px; height: 14px;\n            transform: translate(-2px, calc(-50% + 2px)); opacity: 0; pointer-events: none;\n            transition: opacity ${leave}ms ${hoverEase}, transform ${leave}ms ${hoverEase};\n        }\n        [data-portfolio-nav-item=\"writing\"]:focus-visible > .portfolio-external-arrow { opacity: 1; transform: translateY(-50%); }\n        [data-portfolio-nav-item]:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }\n        .portfolio-cursor-label {\n            backdrop-filter: blur(${Math.max(0,Math.min(40,tooltipBlur))}px) saturate(1.2);\n            -webkit-backdrop-filter: blur(${Math.max(0,Math.min(40,tooltipBlur))}px) saturate(1.2);\n            box-shadow: 0 3px 12px rgba(51,21,15,0.08);\n            background: ${tooltipBackground}; color: ${tooltipColor}; padding: ${Math.max(0,tooltipPaddingY)}px ${Math.max(0,tooltipPaddingX)}px; border-radius: 0;\n            ${labelFontCss(tooltipFont)} font-size: ${Math.max(1,tooltipSize)}px; white-space: nowrap;\n        }\n        @media (hover: hover) and (pointer: fine) {\n            [data-portfolio-nav-item=\"writing\"]:hover > .portfolio-external-arrow { opacity: 1; transform: translateY(-50%); transition-duration: ${enter}ms; }\n        }\n        @media (prefers-reduced-motion: reduce) {\n            [data-portfolio-nav-item], [data-portfolio-nav-item] > .portfolio-external-arrow, [data-portfolio-nav-item] > .portfolio-selected-dot { transition: none !important; }\n        }\n        /* Keep the desktop receipt inside the viewport and its sticky boundary. */\n        ${fitReceipt?`@media (min-width: 1200px) {\n            ${selector} [data-framer-name=\"receipt\"] {\n                height: calc(100dvh - 40px) !important;\n            }\n        }`:\"\"}\n        ${selector} [data-project-focus-part] {\n            transition: opacity ${leave}ms ${hoverEase}, filter ${leave}ms ${hoverEase};\n        }\n        @media (hover: hover) and (pointer: fine) {\n            ${selector}:has([data-project-focus-card]:hover) [data-project-focus-part]:not(:hover) {\n                opacity: ${opacity} !important; filter: grayscale(${grayscale?1:0});\n                transition-duration: ${enter}ms;\n            }\n        }\n        ${selector}:has([data-project-focus-card]:focus-visible) [data-project-focus-part]:not(:focus-visible) {\n            opacity: ${opacity} !important; filter: grayscale(${grayscale?1:0});\n            transition-duration: ${enter}ms;\n        }\n        ${selector} [data-project-focus-card]:focus-visible {\n            outline: 2px solid #33150F; outline-offset: 3px;\n        }\n        @media (prefers-reduced-motion: reduce) {\n            ${selector} [data-project-focus-part] { transition-duration: 80ms !important; }\n        }\n    `}),cursorMorphEnabled&&/*#__PURE__*/_jsx(CardCursor.NavPixelsCursor,{scope:\"page\",color:\"rgb(26,26,26)\",pixel:8,handle:cardHandleSize,handleRadius:cardHandleSize/2,line:1.5,lineStyle:\"dotted\",offset:0,unfold:.3,fold:.2,bounce:0,selector:\"[data-project-box-target]\"}),portal]});}addPropertyControls(ProjectInteractionSettings,{cardHandleSize:{type:ControlType.Number,title:\"Handle Size\",defaultValue:8,min:2,max:32,step:1,unit:\"px\"},cardHandleRadius:{type:ControlType.Number,title:\"Handle Radius\",defaultValue:16,min:0,max:16,step:1,unit:\"px\"},navActive:{type:ControlType.Number,title:\"Active Opacity\",min:0,max:1,step:.05,defaultValue:1,description:\"Opacity of the active menu item.\"},navDim:{type:ControlType.Number,title:\"Nav Dim To\",min:0,max:1,step:.05,defaultValue:.3,description:\"Opacity of all other menu items, including at rest and between rows. Keep below Active Opacity for contrast.\"},dotSize:{type:ControlType.Number,title:\"Dot Size\",min:1,max:24,step:1,unit:\"px\",defaultValue:6},dotColor:{type:ControlType.Color,title:\"Dot Color\",defaultValue:\"#33150F\"},tooltipBackground:{type:ControlType.Color,title:\"Label Fill\",defaultValue:\"rgba(244, 241, 236, 0.64)\"},tooltipBlur:{type:ControlType.Number,title:\"Glass Blur\",min:0,max:40,step:1,unit:\"px\",defaultValue:16},tooltipPaddingX:{type:ControlType.Number,title:\"Tooltip Padding X\",min:0,max:100,step:1,unit:\"px\",defaultValue:12},tooltipPaddingY:{type:ControlType.Number,title:\"Tooltip Padding Y\",min:0,max:100,step:1,unit:\"px\",defaultValue:9},tooltipSize:{type:ControlType.Number,title:\"Tooltip Text Size\",min:1,max:100,step:1,unit:\"px\",defaultValue:13},tooltipColor:{type:ControlType.Color,title:\"Label Color\",defaultValue:\"#33150F\"},cardLabel:{type:ControlType.String,title:\"Card Label\",defaultValue:\"Open Case Study\",description:\"Shown when hovering a project card. Leave empty to hide it.\"},soonLabel:{type:ControlType.String,title:\"Side Projects Label\",defaultValue:\"Coming Soon\",description:\"Shown when hovering Side Projects in the menu. Leave empty to hide it.\"},maintenancePath:{type:ControlType.Enum,title:\"Maintenance Card\",options:[\"\",...PROJECTS.map(project=>project.link)],optionTitles:[\"None\",...PROJECTS.map(project=>project.title)],defaultValue:MAINTENANCE_PATH,description:\"This card shows the Maintenance Label instead of the Card Label.\"},maintenanceLabel:{type:ControlType.String,title:\"Maintenance Label\",defaultValue:\"maintenance\",hidden:props=>!props.maintenancePath},tooltipFont:{type:ControlType.Font,title:\"Label Font\",controls:\"extended\",defaultFontType:\"monospace\",displayTextAlignment:false,defaultValue:{fontSize:\"13px\",lineHeight:\"1.3em\",letterSpacing:\"0.03em\"}},dim:{type:ControlType.Number,title:\"Dim To\",min:0,max:1,step:.05,defaultValue:.4,description:\"Opacity of everything except the active project card. 0 = hidden; 1 = full opacity.\"},grayscale:{type:ControlType.Boolean,title:\"Black & White\",defaultValue:true},enterMs:{type:ControlType.Number,title:\"Hover In\",min:0,max:600,step:10,unit:\"ms\",defaultValue:PAGE_MOTION.hoverIn},leaveMs:{type:ControlType.Number,title:\"Hover Out\",min:0,max:300,step:10,unit:\"ms\",defaultValue:PAGE_MOTION.hoverOut},fitReceipt:{type:ControlType.Boolean,title:\"Fit Receipt\",defaultValue:true,description:\"Desktop: stretch the layer named receipt to the window height (the sticky receipt on /). Turn off when the receipt sits in a header row.\"}});// Sheet implementation copied from the homepage; independent of remote module exports.\nconst useBrowserLayoutEffect=typeof window!==\"undefined\"?React.useLayoutEffect:React.useEffect;const BOX_CORNERS=[{left:0,top:0},{right:0,top:0},{left:0,bottom:0},{right:0,bottom:0}];// Drawn in the side nav's icon set: a hand-bowed hook like its envelope, a straight head like its pencil.\nconst RETURN_ARROW=\"M16 7.5Q21.5 6 25 7.5q3 1.5 2.5 7-.5 5.5-3 7T16.5 23Q11 22.5 5.5 22.5M11.5 16.5l-6 6 6 6\";// The nav draws its 32-grid icons at 24px with a 1.5 stroke, round ends: about 1.1px on screen.\nconst NAV_ICON={grid:32,size:24,stroke:1.5};const SHEET_TIMING={peek:.2,closeFallback:650,backFallback:700,fontWait:350,revealFallback:4e3}// s for peek, ms for the rest\n;const SHEET_DRAG={closeAt:120,flick:.5,flickMin:24,handle:22}// px, px/ms, px, px\n;const CHIP_TURN={up:90,left:0,down:-90}// degrees on the bottom sheet; the side sheet always points left\n;const SHEET_STATE=\"__caseStudySheet\";const SHEET_CLOSE={spring:{stiffness:300,damping:34,mass:1},samples:60,blendStart:.25,cornerRadius:8};// Apple's two spring knobs: response (seconds to get there) and damping ratio (1 = settles without overshoot).\nfunction appleSpring(response,dampingRatio=1){return{stiffness:Math.pow(2*Math.PI/response,2),damping:4*Math.PI*dampingRatio/response,mass:1};}/* Sheets open the moment they're asked for, never waiting on the page. Project cards open out of themselves:\n *     0ms   press: the card dips to 0.98 under the pointer, and lifts back on release\n *     0ms   click: the sheet grows from the card's exact rect on one critically damped spring (0.44s\n *           response) and fades in over its first 140ms, so the card dissolves into it. Nothing waits\n *           for the case study to load.\n *  ~310ms   once the sheet is 94% open and the page can paint, the page fades in (240ms)\n *   close   the page fades out (110ms) while the sheet springs back into the card (0.34s response)\n *           and dissolves over the last stretch, leaving the card where it was. A close mid-open\n *           reverses from wherever the sheet is. Reduced motion: cross-fades only.\n *   About   (and any link without a card) zooms in centered from 0.96 on the same spring, fading in over\n *           180ms, and closes back to 0.96 while fading out by 90% of the close spring. */// The page behind an open sheet blurs in with the sheet and comes back into focus while the back chip shows.\nconst SHEET_BLUR={in:.32,out:.2,ease:[.23,1,.32,1]}// s\n;const SHEET_MORPH={open:appleSpring(.44),close:appleSpring(.34),surfaceIn:140,contentIn:240,contentAt:.94,contentOut:110,dissolveFrom:.7,dissolveTo:.98,zoom:.96,zoomIn:180,zoomOut:.9,press:.98,pressIn:120,pressOut:260,ease:\"cubic-bezier(0.23, 1, 0.32, 1)\"};const SHEET_DEFAULTS={margin:48,closeDuration:650,closeOpacity:1,gap:40,peek:8,radius:0,narrowAt:960,topGap:6,narrowRadius:0,surface:\"rgba(255, 255, 255, 0.92)\",shadow:\"0px 8px 40px 0px rgba(0,0,0,0.12)\",peekShadow:\"0px 12px 52px 0px rgba(0,0,0,0.18)\",stiffness:420,damping:34,mass:.8,changeUrl:true,edgeFade:\"off\",hideLayers:\"\",hideNav:true,zIndex:2e3,blur:0,navStiffness:180,navDamping:26,navMass:1};// DockNav asks with this event before leaving for one of its pages (see DockNav.tsx). Pages listed in the\n// gallery's \"Nav Pages\" open in the sheet instead, like a project card.\nconst SHEET_REQUEST=\"aashika:sheet-request\";const NAV_PAGES_DEFAULT=\"/about\";// A nav page's sheet title when no link names it: its last path segment, capitalised (\"/photos\" → \"Photos\")\nfunction navPageTitle(pathname){const name=pathname.split(\"/\").filter(Boolean).pop()||\"about\";return name.charAt(0).toUpperCase()+name.slice(1);}// The page's own floating nav and the frame that holds it (\"Dock Navigation\" on /about). Hiding the frame\n// also drops its stack gap, so the content below starts at the page's padding (48px on /about).\nconst PAGE_NAV_LAYERS=[\"Dock Navigation\"];// Fallback chip look; the homepage passes BACK, which matches the side nav.\nconst BACK_DEFAULTS={background:\"#F2F2F2\",color:\"#737373\",size:32,radius:12,iconSize:18,shadow:\"0px 2px 8px 0px rgba(0,0,0,0.08)\",narrowDirection:\"up\",touch:true};const prefetchedPages=new Set;let sheetOwner=null// one sheet per page, even with several gallery copies mounted\n;function sheetAvailable(){if(typeof window===\"undefined\"||RenderTarget.current()!==RenderTarget.preview)return false;if(document.documentElement.hasAttribute(\"data-case-study-sheet\"))return false;if(/framercanvas\\.com$/.test(window.location.hostname))return true;try{if(window.top!==window.self)return false;}catch{return false;}return!/(^|\\.)framer\\.com$/.test(window.location.hostname);}function readSheetRecord(state){const value=state&&typeof state===\"object\"?state[SHEET_STATE]:null;return value&&typeof value===\"object\"?value:null;}function samePath(a,b){const trim=path=>path.length>1?path.replace(/\\/+$/,\"\"):path;return trim(a)===trim(b);}function linkTarget(element,base){// Framer renders nested links as <span href data-nested-link>, so accept those as well as anchors.\nconst anchor=element?.closest?.(\"a[href], [data-nested-link][href]\");const href=anchor?.getAttribute(\"href\");if(!anchor||!href||anchor.hasAttribute(\"download\"))return null;const target=anchor.getAttribute(\"target\");if(target&&target!==\"_self\")return null;try{const url=new URL(href,base);if(/framercanvas\\.com$/.test(url.hostname))url.pathname=\"/\"+url.pathname.split(\"/\").filter(Boolean).pop();return/^https?:$/.test(url.protocol)?{anchor:anchor,url}:null;}catch{return null;}}function frameCss(hideLayers,hideNav){const names=[...hideLayers.split(\",\"),...hideNav?PAGE_NAV_LAYERS:[]].map(name=>name.trim()).filter(Boolean);const hidden=[...names.map(name=>`[data-framer-name=\"${name.replace(/[\"\\\\]/g,\"\\\\$&\")}\" i]`),...hideNav?[\"[data-docknav-dock]\"]:[]].join(\",\");return`html{scrollbar-width:none}html::-webkit-scrollbar,body::-webkit-scrollbar{display:none}${hidden?`${hidden}{display:none!important}`:\"\"}`;}function useMediaQuery(query){const[matches,setMatches]=React.useState(()=>typeof window!==\"undefined\"&&window.matchMedia(query).matches);React.useEffect(()=>{const list=window.matchMedia(query);const sync=()=>setMatches(list.matches);sync();list.addEventListener(\"change\",sync);return()=>list.removeEventListener(\"change\",sync);},[query]);return matches;}function useCaseStudySheet(enabled,projects,sheetProp,backProp,navPages=\"\",selection){const isStatic=useIsStaticRenderer();const active=enabled&&!isStatic;const sheet={...SHEET_DEFAULTS,...sheetProp,margin:Math.min(200,Math.max(0,sheetProp?.margin??SHEET_DEFAULTS.margin)),closeDuration:Math.min(2e3,Math.max(150,sheetProp?.closeDuration??SHEET_DEFAULTS.closeDuration)),closeOpacity:Math.min(1,Math.max(0,sheetProp?.closeOpacity??SHEET_DEFAULTS.closeOpacity))};const back={...BACK_DEFAULTS,...backProp};const owner=React.useId();const[entry,setEntry]=React.useState(null);const[closing,setClosing]=React.useState(false);const live=React.useRef({entry,closing,projects,selection});live.current={entry,closing,projects,selection};const token=React.useRef(null);const home=React.useRef({url:\"\",title:\"\"});const returnFocus=React.useRef(null);const backTimer=React.useRef();React.useEffect(()=>{if(!active||!sheetAvailable())return;const hints=[];const timer=setTimeout(()=>{for(const path of[...projects.map(project=>project.link),...navPages.split(\",\")]){if(!path)continue;let destination;try{destination=new URL(path.trim(),window.location.href);}catch{continue;}if(destination.origin!==window.location.origin||prefetchedPages.has(destination.pathname))continue;prefetchedPages.add(destination.pathname);const hint=document.createElement(\"link\");hint.rel=\"prefetch\";hint.href=destination.href;document.head.appendChild(hint);hints.push(hint);}},300);return()=>{clearTimeout(timer);hints.forEach(hint=>hint.remove());};},[active,navPages,projects]);const show=next=>{setClosing(false);setEntry(next);};const projectFor=path=>live.current.projects.find(project=>{if(!project.link)return false;try{return samePath(new URL(project.link,home.current.url||window.location.href).pathname,path);}catch{return false;}});const open=(destination,title,from,bounds,resume,origin)=>{if(live.current.entry||sheetOwner&&sheetOwner!==owner)return false;sheetOwner=owner;returnFocus.current=from;home.current={url:window.location.href,title:document.title};token.current=null;if(sheet.changeUrl){try{// Framer's router restores scrollPosition on Back and Forward, so both entries keep the gallery where it is.\nconst state={...history.state&&typeof history.state===\"object\"?history.state:{},scrollPosition:{x:window.scrollX,y:window.scrollY}};history.replaceState(state,\"\");const record={token:Math.random().toString(36).slice(2),owner,url:destination.href,title,home:window.location.href,bounds,scroll:resume?.scroll};history.pushState({...state,[SHEET_STATE]:record},\"\",destination.pathname+destination.search+destination.hash);token.current=record.token;}catch{token.current=null;}}show({url:/framercanvas\\.com$/.test(window.location.hostname)?new URL(destination.pathname+destination.search+destination.hash,\"https://aashikaashok.com\").href:destination.href,title,id:Date.now(),bounds,origin,restored:resume?.restored,scroll:resume?.scroll});return true;};const requestClose=React.useCallback(()=>{if(!live.current.entry||live.current.closing)return;if(token.current&&readSheetRecord(history.state)?.token===token.current){history.back()// popstate starts the close, exactly like the browser's own Back button\n;clearTimeout(backTimer.current);backTimer.current=setTimeout(()=>{if(!live.current.entry||live.current.closing)return;// Back stayed inside the case study's own history. Put the gallery URL back by hand.\ntry{const base={...history.state};delete base[SHEET_STATE];history.replaceState(base,\"\",home.current.url);}catch{}token.current=null;setClosing(true);},SHEET_TIMING.backFallback);return;}setClosing(true);},[]);const finishClose=React.useCallback(()=>{clearTimeout(backTimer.current);if(sheetOwner===owner)sheetOwner=null;token.current=null;setEntry(null);setClosing(false);if(home.current.title)document.title=home.current.title;returnFocus.current?.focus({preventScroll:true});returnFocus.current=null;},[owner]);const navigate=React.useCallback(destination=>{const base=home.current.url||window.location.href;const sameSite=destination.origin===window.location.origin;if(sameSite&&samePath(destination.pathname,new URL(base).pathname)){requestClose();return;}const project=sameSite?projectFor(destination.pathname):undefined;const navPage=sameSite&&navPages.split(\",\").some(path=>samePath(path.trim(),destination.pathname));if(!project&&!navPage){window.location.assign(destination.href);return;}// Another case study from the gallery: swap it into the open sheet.\nconst title=project?.title||navPageTitle(destination.pathname);const record=readSheetRecord(history.state);if(token.current&&record?.token===token.current){try{history.replaceState({...history.state,[SHEET_STATE]:{...record,url:destination.href,title,scroll:undefined}},\"\",destination.pathname+destination.search+destination.hash);}catch{}}setEntry(current=>current&&{...current,url:destination.href,title,scroll:undefined,// The sheet now belongs to this project's card, so it closes back into it.\n    origin:cardFor(destination)??current.origin});},[requestClose,navPages]);const setTitle=React.useCallback(title=>{if(title)document.title=title;},[]);React.useEffect(()=>{if(!active)return;const onPop=event=>{const record=readSheetRecord(event.state);if(live.current.entry){if(record&&record.token===token.current)return;clearTimeout(backTimer.current);token.current=null;setClosing(true);return;}// Forward after closing reopens the same case study.\nif(record&&record.owner===owner&&!sheetOwner&&sheetAvailable()){sheetOwner=owner;token.current=record.token;home.current={url:record.home,title:document.title};returnFocus.current=null;show({url:record.url,title:record.title,id:Date.now(),bounds:record.bounds,scroll:record.scroll,origin:record.bounds?undefined:cardFor(new URL(record.url))});}};window.addEventListener(\"popstate\",onPop);return()=>window.removeEventListener(\"popstate\",onPop);},[active,owner]);// The floating nav's About (any \"Nav Pages\" entry) opens in this sheet, exactly like a project card.\nconst openRef=React.useRef(open);openRef.current=open;React.useEffect(()=>{const paths=navPages.split(\",\").map(path=>path.trim()).filter(path=>path.startsWith(\"/\"));if(!active||!paths.length)return;const onRequest=event=>{const detail=event.detail;if(!detail?.href||event.defaultPrevented||!sheetAvailable())return;let destination;try{destination=new URL(detail.href,window.location.href);}catch{return;}if(destination.origin!==window.location.origin||samePath(destination.pathname,window.location.pathname))return;if(!paths.some(path=>samePath(path,destination.pathname)))return;const label=(detail.title||\"\").trim();const title=label?label.charAt(0).toUpperCase()+label.slice(1).toLowerCase():\"\";// Nav pages zoom in centered (SHEET_MORPH.zoom); only project cards grow out of themselves.\nif(openRef.current(destination,title,null,undefined))event.preventDefault();};window.addEventListener(SHEET_REQUEST,onRequest);return()=>window.removeEventListener(SHEET_REQUEST,onRequest);},[active,navPages]);React.useEffect(()=>()=>{clearTimeout(backTimer.current);if(sheetOwner===owner)sheetOwner=null;},[owner]);// Direct visits arrive through the case-study entry bridge, then use the same sheet as a card click.\nReact.useEffect(()=>{if(!active||!sheetAvailable()||live.current.entry)return;const url=new URL(window.location.href);const target=url.searchParams.get(\"case-study\");if(!target)return;let destination;try{destination=new URL(target,url.origin);}catch{return;}if(destination.origin!==url.origin)return;const project=projectFor(destination.pathname);const isNavPage=navPages.split(\",\").some(path=>samePath(path.trim(),destination.pathname));if(!project&&!isNavPage)return;url.searchParams.delete(\"case-study\");const base={...history.state&&typeof history.state===\"object\"?history.state:{}};delete base[SHEET_STATE];history.replaceState(base,\"\",url.pathname+url.search+url.hash);let restored;try{const resume=JSON.parse(sessionStorage.getItem(\"__caseStudyResume\")||\"null\");sessionStorage.removeItem(\"__caseStudyResume\");if(resume?.target===target)restored={restored:true,bounds:resume.bounds,scroll:resume.sheetScroll};if(resume?.target===target&&Number.isFinite(resume.scroll?.y)){window.scrollTo({left:Number.isFinite(resume.scroll.x)?resume.scroll.x:0,top:resume.scroll.y,behavior:\"instant\"});}}catch{}open(destination,project?.title||(isNavPage?navPageTitle(destination.pathname):\"Case study\"),null,restored?.bounds,restored);},[active,projects,navPages]);const isOpen=Boolean(entry);useBrowserLayoutEffect(()=>{if(!isOpen)return;const root=document.documentElement;const body=document.body;const saved={root:root.style.overflow,body:body.style.overflow,gutter:root.style.getPropertyValue(\"scrollbar-gutter\")};const hasScrollbar=window.innerWidth>root.clientWidth;root.style.overflow=\"hidden\";body.style.overflow=\"hidden\";if(hasScrollbar)root.style.setProperty(\"scrollbar-gutter\",\"stable\");return()=>{root.style.overflow=saved.root;body.style.overflow=saved.body;root.style.setProperty(\"scrollbar-gutter\",saved.gutter);};},[isOpen]);const handlers=active?{onClickCapture(event){if(event.defaultPrevented||event.button!==0||event.metaKey||event.ctrlKey||event.shiftKey||event.altKey||!sheetAvailable())return;const found=linkTarget(event.target,window.location.href);if(!found||found.url.origin!==window.location.origin||samePath(found.url.pathname,window.location.pathname))return;const title=found.anchor.closest(\"article\")?.querySelector(\"h3\")?.textContent?.trim()||found.anchor.getAttribute(\"aria-label\")||\"\";// Only a keyboard-opened sheet hands focus back to its card; a mouse click shouldn't leave a highlight behind.\n// Project cards grow the sheet out of themselves (SHEET_MORPH); other links keep the centered zoom.\nconst card=found.anchor.closest(\"[data-project-focus-card]\")??undefined;if(open(found.url,title,event.detail===0?found.anchor:null,undefined,undefined,card))event.preventDefault();},onPointerOverCapture(event){if(!sheetAvailable())return;const found=linkTarget(event.target,window.location.href);if(!found||found.url.origin!==window.location.origin||prefetchedPages.has(found.url.pathname))return;prefetchedPages.add(found.url.pathname);const hint=document.createElement(\"link\");hint.rel=\"prefetch\";hint.href=found.url.href;document.head.appendChild(hint);}}:{};const portal=entry&&typeof document!==\"undefined\"?/*#__PURE__*/createPortal(/*#__PURE__*/_jsx(CaseStudySheet,{entry:entry,closing:closing,sheet:sheet,back:back,onRequestClose:requestClose,onClosed:finishClose,onNavigate:navigate,onTitle:setTitle},entry.id),document.body):null;return{handlers,portal};}let linearEasing=null;// Samples a damped spring (0 → 1) into a CSS linear() curve, so the browser's compositor runs the\n// motion. The case study loads on the page's main thread; a rAF spring would stall while it does.\nfunction springCurve(spec,velocity=0){const{duration,at}=springProgress(spec,velocity);if(linearEasing===null)linearEasing=typeof CSS!==\"undefined\"&&CSS.supports(\"transition-timing-function\",\"linear(0, 1)\");if(!linearEasing)return{duration:duration*1e3,easing:\"cubic-bezier(0.23, 1, 0.32, 1)\"};const steps=Math.max(10,Math.min(90,Math.round(duration*120)));const points=[];for(let i=0;i<steps;i++)points.push(at(duration*i/steps).toFixed(4));points.push(\"1\");return{duration:duration*1e3,easing:`linear(${points.join(\", \")})`};}// A damped spring's progress (0 → 1) at time t seconds, and how long it takes to settle.\nfunction springProgress({stiffness,damping,mass},velocity=0){const w0=Math.sqrt(stiffness/Math.max(.01,mass));const zeta=damping/(2*Math.sqrt(stiffness*Math.max(.01,mass)));const offsetAt=t=>{if(zeta<1){const wd=w0*Math.sqrt(1-zeta*zeta);return Math.exp(-zeta*w0*t)*(Math.cos(wd*t)+(zeta*w0-velocity)/wd*Math.sin(wd*t));}if(zeta===1)return Math.exp(-w0*t)*(1+(w0-velocity)*t);const root=Math.sqrt(zeta*zeta-1);const r1=-w0*(zeta-root);const r2=-w0*(zeta+root);const c2=(-velocity-r1)/(r2-r1);return(1-c2)*Math.exp(r1*t)+c2*Math.exp(r2*t);};let end=0;for(let t=0;t<=4;t+=.004)if(Math.abs(offsetAt(t))>.0015)end=t;return{duration:Math.max(.06,end+.004),at:t=>1-offsetAt(t)};}/* Nav-opened sheets are dragged open, like pulling a selection box out in a design tool\n * (home nav: anchored top-right, dragged to the bottom-left):\n *     0ms   the box sits on the clicked item; its near corner snaps to the sheet's corner (fast spring)\n *     0ms   the far corner's handle is \"pressed\" and grows 1.3×\n *    70ms   an invisible pointer starts dragging that handle to the sheet's far corner: minimum-jerk speed\n *           (slow start, fast middle, gentle stop, like a hand) on a slight arc that leads horizontally\n *   ~490ms  the pointer arrives; the box corner, which follows it through the Sheet's \"Nav\" spring\n *           (default 180 / 26 / 1), catches up and settles without a bounce; the handle shrinks back */const DRAG={hold:0,travel:360,bow:.015,fps:60,press:1.3};const DRAG_ANCHOR={stiffness:600,damping:46,mass:1};function dragBoxes(from,to,follow){// The corner nearest the clicked item is the anchor; the opposite corner gets dragged.\nconst anchorX=Math.abs(to.left-from.left)<=Math.abs(to.right-from.right)?\"left\":\"right\";const anchorY=Math.abs(to.top-from.top)<=Math.abs(to.bottom-from.bottom)?\"top\":\"bottom\";const dragX=anchorX===\"left\"?\"right\":\"left\";const dragY=anchorY===\"top\"?\"bottom\":\"top\";const anchor=springProgress(DRAG_ANCHOR);const start={x:from[dragX],y:from[dragY]};const end={x:to[dragX],y:to[dragY]};const dx=end.x-start.x,dy=end.y-start.y;const length=Math.hypot(dx,dy)||1;// Bow sideways off the straight line, toward the side the horizontal motion goes (it leads, like a wrist arc).\nlet nx=-dy/length,ny=dx/length;if(nx*dx<0){nx=-nx;ny=-ny;}const pointer=ms=>{const tau=Math.min(1,Math.max(0,(ms-DRAG.hold)/DRAG.travel));const s=tau*tau*tau*(10-15*tau+6*tau*tau)// minimum-jerk\n;const bow=Math.sin(Math.PI*s)*DRAG.bow*length;return{x:start.x+dx*s+nx*bow,y:start.y+dy*s+ny*bow};};// The box corner follows the pointer through the spring: a little weight, a soft landing.\nconst k=follow.stiffness,c=follow.damping,m=Math.max(.01,follow.mass);const step=1e3/240;let x=start.x,y=start.y,vx=0,vy=0,t=0;const frames=[];const every=1e3/DRAG.fps;let next=0;let landAt=0// when the corner is within 1% of the way home: the sheet starts loading its page then\n;for(;t<=4e3;t+=step){const p=pointer(t);vx+=(k*(p.x-x)-c*vx)/m*step/1e3;vy+=(k*(p.y-y)-c*vy)/m*step/1e3;x+=vx*step/1e3;y+=vy*step/1e3;if(t>=next){const a=anchor.at(t/1e3);const box={...to};box[anchorX]=from[anchorX]+(to[anchorX]-from[anchorX])*a;box[anchorY]=from[anchorY]+(to[anchorY]-from[anchorY])*a;box[dragX]=x;box[dragY]=y;frames.push(box);next+=every;}if(!landAt&&t>DRAG.hold&&Math.hypot(end.x-x,end.y-y)<Math.max(6,length*.01))landAt=t;const settled=t>DRAG.hold+DRAG.travel&&Math.abs(end.x-x)<.5&&Math.abs(end.y-y)<.5&&Math.hypot(vx,vy)<20;if(settled&&t/1e3>anchor.duration)break;}frames.push({...to});const duration=(frames.length-1)*every;// Which handle is being held: BOX_CORNERS order is top-left, top-right, bottom-left, bottom-right.\nconst handle=(dragY===\"top\"?0:2)+(dragX===\"left\"?0:1);return{frames,duration,handle,release:Math.min(1,(DRAG.hold+DRAG.travel)/duration),landAt:landAt||duration};}const sheetTransform=(axis,value)=>axis===\"x\"?`translate3d(${value}px, 0px, 0px)`:`translate3d(0px, ${value}px, 0px)`;function sheetPosition(element,axis){if(!element)return 0;const transform=getComputedStyle(element).transform;if(!transform||transform===\"none\")return 0;const matrix=new DOMMatrixReadOnly(transform);return axis===\"x\"?matrix.m41:matrix.m42;}function slideSheet(element,axis,from,to,spec,instant,velocity=0,onDone){element.getAnimations().forEach(animation=>animation.cancel());element.style.transform=sheetTransform(axis,to);if(instant||Math.abs(to-from)<.5||typeof element.animate!==\"function\"){onDone?.();return;}// velocity is px/s along the axis; the curve wants progress per second.\nconst{duration,easing}=springCurve(spec,velocity/(to-from));const animation=element.animate([{transform:sheetTransform(axis,from)},{transform:sheetTransform(axis,to)}],{duration,easing});animation.onfinish=()=>onDone?.();}// When a spring (0 → 1) first reaches `progress`, in ms.\nfunction springTime(spec,progress,velocity=0){const{duration,at}=springProgress(spec,velocity);for(let t=0;t<duration;t+=.004)if(at(t)>=progress)return t*1e3;return duration*1e3;}const MORPH_REST=\"translate3d(0px, 0px, 0px) scale(1, 1)\";// The transform (origin 0 0) that lays a box the size of `sheet` exactly over `target`.\nfunction morphTransform(target,sheet){return`translate3d(${target.left-sheet.left}px, ${target.top-sheet.top}px, 0px) scale(${target.width/Math.max(1,sheet.width)}, ${target.height/Math.max(1,sheet.height)})`;}// The sheet's own box scaled about its centre: where About zooms in from and back to.\nfunction zoomBox(box,scale=SHEET_MORPH.zoom){return{left:box.left+box.width*(1-scale)/2,top:box.top+box.height*(1-scale)/2,width:box.width*scale,height:box.height*scale};}function visibleBox(element){if(!element?.isConnected)return null;const box=element.getBoundingClientRect();return box.width>0&&box.height>0?box:null;}// This page's project card for `destination`: the copy in the breakpoint that's showing.\nfunction cardFor(destination){const cards=document.querySelectorAll(\"[data-project-focus-card]\");return Array.from(cards).find(card=>{const found=linkTarget(card,window.location.href);return found&&samePath(found.url.pathname,destination.pathname)&&visibleBox(card);});}const pressing=new WeakMap;// Press feedback rides the individual `scale` property, so it never fights the transform Framer's appear effect owns.\nfunction pressCard(card,down){if(typeof card.animate!==\"function\"||window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches)return;const now=parseFloat(getComputedStyle(card).getPropertyValue(\"scale\"));const from=Number.isFinite(now)?now:1// \"none\" at rest\n;pressing.get(card)?.cancel();pressing.delete(card);if(!down&&Math.abs(from-1)<.001)return;const animation=card.animate([{scale:String(from)},{scale:String(down?SHEET_MORPH.press:1)}],{duration:down?SHEET_MORPH.pressIn:SHEET_MORPH.pressOut,easing:SHEET_MORPH.ease,fill:\"forwards\"});pressing.set(card,animation);if(!down)animation.onfinish=()=>{animation.cancel();pressing.delete(card);};}function EdgeFade({edge,color,fadeRef}){// Same two-layer backdrop blur as claire.io's edge-blur.\nconst spec=edge===\"top\"?{blurs:[1.5,4],stop:50}:{blurs:[.4,1],stop:25};const toward=edge===\"top\"?\"bottom\":\"top\";return /*#__PURE__*/_jsx(\"div\",{ref:fadeRef,\"aria-hidden\":\"true\",style:{position:\"absolute\",left:0,right:0,[edge]:0,height:120,zIndex:1,pointerEvents:\"none\",opacity:edge===\"top\"?0:1,transition:\"opacity .12s\"},children:spec.blurs.map((amount,index)=>{const mask=index===0?`linear-gradient(to ${toward}, #000 ${spec.stop}%, transparent)`:`linear-gradient(to ${toward}, #000 ${spec.stop/2}%, transparent ${spec.stop}%)`;return /*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0,backdropFilter:`blur(${amount}px)`,WebkitBackdropFilter:`blur(${amount}px)`,background:index===0?`linear-gradient(to ${edge}, transparent, ${color})`:undefined,maskImage:mask,WebkitMaskImage:mask}},amount);})});}function CaseStudySheet({entry,closing,sheet,back,onRequestClose,onClosed,onNavigate,onTitle}){const narrow=useMediaQuery(`(max-width: ${sheet.narrowAt}px)`);const phone=useMediaQuery(\"(max-width: 809.98px)\");const finePointer=useMediaQuery(\"(hover: hover) and (pointer: fine)\");const reduceMotion=Boolean(useReducedMotion());const spring={stiffness:sheet.stiffness,damping:sheet.damping,mass:sheet.mass};const layerRef=React.useRef(null);const cardRef=React.useRef(null);const openingOutlineRef=React.useRef(null);const contentRef=React.useRef(null);const frameRef=React.useRef(null);const chipRef=React.useRef(null);const topFadeRef=React.useRef(null);const[initialUrl]=React.useState(entry.url);const[ready,setReady]=React.useState(false);const[fullyOpen,setFullyOpen]=React.useState(false);const[loadError,setLoadError]=React.useState(false);const[peeking,setPeeking]=React.useState(false);const[peekEdge,setPeekEdge]=React.useState(\"left\");const[pressed,setPressed]=React.useState(false);const[dragging,setDragging]=React.useState(false);const[pageColor,setPageColor]=React.useState(\"#FFFFFF\");// A page without phone breakpoints asks for a fixed viewport (Framer writes width=1200). Phones honour that by\n// zooming out; an iframe ignores it, so on touch screens the sheet lays the page out at that width and scales it.\nconst[pageWidth,setPageWidth]=React.useState(0);const[contentSize,setContentSize]=React.useState({width:0,height:0});const touchRef=React.useRef(!finePointer);touchRef.current=!finePointer;const drag=React.useRef(null);const release=React.useRef(0)// px/s carried from a flick into the close spring\n;const shownUrl=React.useRef(entry.url);const narrowRef=React.useRef(narrow);narrowRef.current=narrow;const callbacks=React.useRef({onRequestClose,onClosed,onNavigate,onTitle});callbacks.current={onRequestClose,onClosed,onNavigate,onTitle};const closingRef=React.useRef(closing);closingRef.current=closing;const axis=()=>narrowRef.current?\"y\":\"x\";// The sheet shows right away instead of waiting for the page: growing out of the project card it was\n// opened from, or zooming in centered (About). Restored and selection-box (bounds) sheets keep their own paths.\nconst[morph]=React.useState(()=>!entry.bounds&&!entry.restored);const pageAt=React.useRef(0)// performance.now() when the page may start fading in\n;const growRef=React.useRef(null)// the open spring, while it runs\n;useBrowserLayoutEffect(()=>{const card=cardRef.current;const content=contentRef.current;if(card){card.style.transform=sheetTransform(axis(),0);card.style.opacity=\"0\";}if(content){content.style.opacity=\"1\";content.style.filter=\"none\";}card?.focus({preventScroll:true});},[]);// Card → sheet (or a centered zoom) on the next frame, while the page is still loading.\nuseBrowserLayoutEffect(()=>{const card=cardRef.current;if(!morph||!card)return;if(contentRef.current)contentRef.current.style.opacity=\"0\";const to=card.getBoundingClientRect();const fromCard=visibleBox(entry.origin);const from=fromCard??zoomBox(to);card.style.transformOrigin=\"0 0\";card.style.opacity=\"1\";if(typeof card.animate!==\"function\"){setFullyOpen(true);return;}const animations=[];if(reduceMotion){animations.push(card.animate([{opacity:0},{opacity:1}],{duration:180,easing:\"ease\"}));}else{animations.push(card.animate([{transform:morphTransform(from,to)},{transform:MORPH_REST}],springCurve(SHEET_MORPH.open)),card.animate([{opacity:0},{opacity:1}],{duration:fromCard?SHEET_MORPH.surfaceIn:SHEET_MORPH.zoomIn,easing:SHEET_MORPH.ease}));growRef.current=animations[0];pageAt.current=performance.now()+springTime(SHEET_MORPH.open,SHEET_MORPH.contentAt);}// One start time, so the surface and its fade never drift apart.\nconst start=document.timeline.currentTime;if(start!==null)animations.forEach(animation=>{animation.startTime=start;});animations[0].onfinish=()=>setFullyOpen(true);return()=>animations.forEach(animation=>animation.cancel());},[]);useBrowserLayoutEffect(()=>{const card=cardRef.current;if(!card)return;if(!closing)return;let finished=false;const finish=()=>{if(!finished){finished=true;callbacks.current.onClosed();}};if(morph&&typeof card.animate===\"function\"){// Presentation values first: a close mid-open reverses from wherever the sheet is right now.\nconst content=contentRef.current;const shownStyle=getComputedStyle(card);const shown=new DOMMatrixReadOnly(shownStyle.transform===\"none\"?undefined:shownStyle.transform);const surface=Number(shownStyle.opacity);const page=content?Number(getComputedStyle(content).opacity):0;// Closing mid-open: hand the open spring's velocity to the close, so the sheet turns around\n// in one continuous motion instead of stopping dead. In close progress it points away from the card.\nlet velocity=0;const grow=growRef.current;if(grow?.playState===\"running\"&&grow.currentTime!==null){const opening=springProgress(SHEET_MORPH.open);const t=Number(grow.currentTime)/1e3;const reached=opening.at(t);const speed=(opening.at(t+.004)-reached)/.004;if(reached>.05)velocity=-speed/reached;}card.getAnimations().forEach(animation=>animation.cancel());content?.getAnimations().forEach(animation=>animation.cancel());const wrapper=card.parentElement;if(wrapper){const frozenTransform=getComputedStyle(wrapper).transform;wrapper.style.transition=\"none\";wrapper.style.transform=frozenTransform;}card.style.transformOrigin=\"0 0\";const sheetBox=card.getBoundingClientRect();const cardBox=visibleBox(entry.origin)??visibleBox(cardFor(new URL(entry.url)));const target=cardBox??zoomBox(sheetBox);const current=`translate3d(${shown.m41}px, ${shown.m42}px, 0px) scale(${shown.a}, ${shown.d})`;const animations=[];if(content){content.style.opacity=\"0\";if(page>0)animations.push(content.animate([{opacity:page},{opacity:0}],{duration:SHEET_MORPH.contentOut,easing:SHEET_MORPH.ease}));}card.style.opacity=\"0\";let collapse;let duration;let visibleFor// ms until the sheet has faded out completely\n;if(reduceMotion){duration=160;visibleFor=duration;collapse=card.animate([{transform:current,opacity:surface},{transform:current,opacity:0}],{duration,easing:\"ease\"});animations.push(collapse);}else{const timing=springCurve(SHEET_MORPH.close,velocity);duration=timing.duration;const fadeFrom=Math.min(1,springTime(SHEET_MORPH.close,cardBox?SHEET_MORPH.dissolveFrom:0,velocity)/duration);const fadeTo=Math.min(1,springTime(SHEET_MORPH.close,cardBox?SHEET_MORPH.dissolveTo:SHEET_MORPH.zoomOut,velocity)/duration);visibleFor=Math.max(fadeFrom,fadeTo)*duration;const end=morphTransform(target,sheetBox);card.style.transform=end;collapse=card.animate([{transform:current},{transform:end}],timing);animations.push(collapse,card.animate([{opacity:surface,offset:0},{opacity:surface,offset:fadeFrom,easing:\"ease\"},{opacity:0,offset:Math.max(fadeFrom,fadeTo)},{opacity:0,offset:1}],{duration}));}const start=document.timeline.currentTime;if(start!==null)animations.forEach(animation=>{animation.startTime=start;});collapse.onfinish=finish;// Hand the page back (scroll, clicks) the moment the sheet is gone, not when the spring's tail settles.\nconst faded=setTimeout(finish,visibleFor+16);const fallback=setTimeout(finish,duration+100);return()=>{clearTimeout(faded);clearTimeout(fallback);animations.forEach(animation=>animation.cancel());};}if(reduceMotion||!ready||typeof card.animate!==\"function\"){finish();return;}if(!entry.bounds){const animation=card.animate([{transform:getComputedStyle(card).transform,opacity:getComputedStyle(card).opacity},{transform:`translate3d(0,${PAGE_MOTION.travel}px,0) scale(${PAGE_MOTION.scale})`,opacity:0}],{duration:PAGE_MOTION.exit,easing:PAGE_MOTION.exitEase,fill:\"forwards\"});animation.onfinish=finish;const fallback=setTimeout(finish,PAGE_MOTION.exit+80);return()=>{clearTimeout(fallback);animation.cancel();};}const wrapper=card.parentElement;if(wrapper){const frozenTransform=getComputedStyle(wrapper).transform;wrapper.style.transition=\"none\";wrapper.style.transform=frozenTransform;}const currentBox=card.getBoundingClientRect();const{left,top,width,height}=currentBox;const originBox=entry.origin?.isConnected?entry.origin.getBoundingClientRect():null;const bounds=entry.bounds&&originBox&&originBox.width>0&&originBox.height>0?{...entry.bounds,left:originBox.left,top:originBox.top,width:originBox.width,height:originBox.height}:entry.bounds;const currentClip=getComputedStyle(card).clipPath;const insets=currentClip.startsWith(\"inset(\")?currentClip.slice(6).split(\"round\")[0].trim().split(/\\s+/).map(value=>parseFloat(value)):[];const insetTop=insets[0]||0;const insetRight=insets[1]??insetTop;const insetBottom=insets[2]??insetTop;const insetLeft=insets[3]??insetRight;const startBox={left:left+insetLeft,top:top+insetTop,width:width-insetLeft-insetRight,height:height-insetTop-insetBottom};const targetBox=bounds||{left:left+width*.04,top:top+height*.04,width:width*.92,height:height*.92};const finalScale=Math.max(targetBox.width/width,targetBox.height/height);const timing={duration:sheet.closeDuration,easing:\"linear\",fill:\"forwards\"};const springPath=springProgress(SHEET_CLOSE.spring);const frames=[];const outlineFrames=[];const baseTransform=new DOMMatrixReadOnly(getComputedStyle(card).transform);for(let step=0;step<=SHEET_CLOSE.samples;step++){const progress=step/SHEET_CLOSE.samples;const springAmount=step===SHEET_CLOSE.samples?1:Math.min(1,Math.max(0,springPath.at(progress*springPath.duration)));const boxLeft=startBox.left+(targetBox.left-startBox.left)*springAmount;const boxTop=startBox.top+(targetBox.top-startBox.top)*springAmount;const boxWidth=startBox.width+(targetBox.width-startBox.width)*springAmount;const boxHeight=startBox.height+(targetBox.height-startBox.height)*springAmount;const pageScale=1+(finalScale-1)*springAmount;const clipLeft=insetLeft+((width-targetBox.width/finalScale)/2-insetLeft)*springAmount;const clipTop=insetTop+((height-targetBox.height/finalScale)/2-insetTop)*springAmount;const clipRight=width-clipLeft-boxWidth/pageScale;const clipBottom=height-clipTop-boxHeight/pageScale;const blend=Math.min(1,Math.max(0,(progress-SHEET_CLOSE.blendStart)/(1-SHEET_CLOSE.blendStart)));const opacity=sheet.closeOpacity*(1-blend*blend*(3-2*blend));frames.push({transform:`translate3d(${baseTransform.m41+boxLeft-left-clipLeft*pageScale}px, ${baseTransform.m42+boxTop-top-clipTop*pageScale}px, 0) scale(${pageScale})`,clipPath:`inset(${clipTop}px ${clipRight}px ${clipBottom}px ${clipLeft}px round ${SHEET_CLOSE.cornerRadius/pageScale}px)`,opacity,offset:progress});outlineFrames.push({left:`${boxLeft}px`,top:`${boxTop}px`,width:`${boxWidth}px`,height:`${boxHeight}px`,opacity,offset:progress});}card.style.transformOrigin=\"0 0\";const collapse=card.animate(frames,timing);const animations=[collapse];const outline=openingOutlineRef.current;if(outline&&bounds){outline.style.opacity=\"1\";outline.style.transition=\"none\";outline.style.transform=\"none\";animations.push(outline.animate(outlineFrames,timing));}const start=document.timeline.currentTime;if(start!==null)animations.forEach(animation=>{animation.startTime=start;});collapse.onfinish=finish;const fallback=setTimeout(finish,timing.duration+100);return()=>{clearTimeout(fallback);animations.forEach(animation=>animation.cancel());};},[closing]);// One spring and one start time reveal the page inside its expanding selection.\n// Clip the full-size page rather than scaling text or reflowing the iframe each frame.\nuseBrowserLayoutEffect(()=>{if(morph)return;// a card's sheet opens through the morph above\nconst card=cardRef.current;const outline=openingOutlineRef.current;const bounds=entry.bounds;setFullyOpen(false);if(!card||closing)return;if(!ready){card.style.opacity=\"0\";return;}const left=sheet.margin;const top=sheet.margin;const width=Math.max(1,window.innerWidth-left*2);const height=Math.max(1,window.innerHeight-top*2);const roundAt=amount=>`${sheet.radius*amount}px`;const corners=roundAt(1);const endClip=`inset(0px 0px 0px 0px round ${corners})`;const startClip=bounds?`inset(${bounds.top-top}px ${left+width-bounds.left-bounds.width}px ${top+height-bounds.top-bounds.height}px ${bounds.left-left}px round 0px 0px 0px 0px)`:endClip;const sheetBox={left,top,right:left+width,bottom:top+height};const swept=bounds?.sweep?dragBoxes({left:bounds.left,top:bounds.top,right:bounds.left+bounds.width,bottom:bounds.top+bounds.height},sheetBox,{stiffness:sheet.navStiffness,damping:sheet.navDamping,mass:sheet.navMass}):null;const sweep=swept?.frames;const timing=swept?{duration:swept.duration,easing:\"linear\"}:bounds?springCurve(spring):springCurve(PAGE_MOTION.spring);const animations=[];let hold;let disposed=false;const canAnimate=!reduceMotion&&!entry.restored&&typeof card.animate===\"function\";card.style.clipPath=endClip;card.style.opacity=\"1\";const finish=()=>{if(disposed)return;card.style.clipPath=\"none\";setFullyOpen(true);if(!outline||entry.restored)return;hold=setTimeout(()=>{if(disposed)return;outline.style.opacity=\"0\";if(canAnimate)animations.push(outline.animate([{opacity:1},{opacity:0}],{duration:180,easing:\"ease-out\"}));},1e3);};if(outline&&bounds){// Share the exact page bounds: no inset between the selection and the page.\nconst destination={left:`${left}px`,top:`${top}px`,width:`${width}px`,height:`${height}px`};Object.assign(outline.style,destination,{opacity:entry.restored?\"0\":\"1\"});if(canAnimate)animations.push(outline.animate(sweep?sweep.map(box=>({left:`${box.left}px`,top:`${box.top}px`,width:`${box.right-box.left}px`,height:`${box.bottom-box.top}px`})):[{left:`${bounds.left}px`,top:`${bounds.top}px`,width:`${bounds.width}px`,height:`${bounds.height}px`},destination],timing));// The dragged corner's handle is held: it grows while the pointer has it, then lets go.\nconst held=swept?outline.children[swept.handle]:undefined;if(canAnimate&&held&&swept){const rest=held.style.transform;const pressed=`${rest} scale(${DRAG.press})`;const grab=Math.min(.2,DRAG.hold/swept.duration);animations.push(held.animate([{transform:rest,offset:0},{transform:pressed,offset:grab},{transform:pressed,offset:swept.release},{transform:rest,offset:Math.min(1,swept.release+.15)}],{duration:swept.duration,easing:\"ease-out\"}));}}if(canAnimate){const expansion=card.animate(sweep?sweep.map((box,i)=>({clipPath:`inset(${box.top-top}px ${sheetBox.right-box.right}px ${sheetBox.bottom-box.bottom}px ${box.left-left}px round ${roundAt(i/Math.max(1,sweep.length-1))})`})):bounds?[{clipPath:startClip},{clipPath:endClip}]:[{transform:`translate3d(0,${PAGE_MOTION.travel}px,0) scale(${PAGE_MOTION.scale})`},{transform:\"translate3d(0,0,0) scale(1)\"}],timing);animations.push(expansion,card.animate([{opacity:0},{opacity:1}],{duration:Math.min(340,timing.duration),easing:PAGE_MOTION.ease}));// Explicit shared timeline prevents even a frame of drift between box and page.\nconst start=document.timeline.currentTime;if(start!==null)animations.forEach(animation=>{animation.startTime=start;});expansion.onfinish=finish;}else finish();return()=>{disposed=true;clearTimeout(hold);const interruptedOpacity=closingRef.current?getComputedStyle(card).opacity:\"1\";const interruptedTransform=closingRef.current?getComputedStyle(card).transform:\"none\";const interruptedClip=closingRef.current?getComputedStyle(card).clipPath:\"none\";const interruptedBox=closingRef.current&&outline?outline.getBoundingClientRect():null;animations.forEach(animation=>animation.cancel());card.style.clipPath=interruptedClip;card.style.transform=interruptedTransform;card.style.opacity=interruptedOpacity;if(outline){outline.style.opacity=\"0\";if(interruptedBox)Object.assign(outline.style,{left:`${interruptedBox.left}px`,top:`${interruptedBox.top}px`,width:`${interruptedBox.width}px`,height:`${interruptedBox.height}px`,transform:\"none\"});}};},[entry.id,closing,ready]);React.useEffect(()=>{const content=contentRef.current;if(!content)return;content.style.filter=\"none\";if(!morph){content.style.opacity=\"1\";return;}if(closing)return;// the close fades it out\nif(!ready){content.getAnimations().forEach(animation=>animation.cancel());content.style.opacity=\"0\";return;}// The page can paint: fade it in once the sheet is nearly open, so it never shows mid-stretch.\ncontent.style.opacity=\"1\";if(reduceMotion||typeof content.animate!==\"function\")return;const fade=content.animate([{opacity:0},{opacity:1}],{duration:SHEET_MORPH.contentIn,delay:Math.max(0,pageAt.current-performance.now()),easing:SHEET_MORPH.ease,fill:\"backwards\"});return()=>fade.cancel();},[ready,closing]);useBrowserLayoutEffect(()=>{const content=contentRef.current;if(!content)return;const measure=()=>setContentSize(previous=>previous.width===content.clientWidth&&previous.height===content.clientHeight?previous:{width:content.clientWidth,height:content.clientHeight});measure();if(typeof ResizeObserver===\"undefined\"){window.addEventListener(\"resize\",measure);return()=>window.removeEventListener(\"resize\",measure);}const observer=new ResizeObserver(measure);observer.observe(content);return()=>observer.disconnect();},[]);// Orientation flips while open: re-seat the sheet on its new axis.\nconst seatedAxis=React.useRef(narrow);React.useEffect(()=>{const card=cardRef.current;if(seatedAxis.current===narrow)return;seatedAxis.current=narrow;if(!card||closing||drag.current)return;card.getAnimations().forEach(animation=>animation.cancel());card.style.transform=sheetTransform(axis(),0);},[narrow]);React.useEffect(()=>{const onKey=event=>{if(event.key===\"Escape\")callbacks.current.onRequestClose();};window.addEventListener(\"keydown\",onKey);return()=>window.removeEventListener(\"keydown\",onKey);},[]);// Load the case study, wire it to the sheet, and reveal it once it can paint.\nReact.useEffect(()=>{const frame=frameRef.current;if(!frame)return;const target=new URL(entry.url);if(shownUrl.current!==entry.url){shownUrl.current=entry.url;setReady(false);try{frame.contentWindow?.location.replace(entry.url);}catch{frame.src=entry.url;}}let revealed=false;let disposed=false;let waitingForFonts=false;const wired=new WeakSet;const decorated=new WeakSet;const timers=[];const readDoc=()=>{try{return frame.contentDocument;}catch{return null;}};const reveal=()=>{if(revealed||disposed)return;revealed=true;if(entry.scroll){try{frame.contentWindow?.scrollTo(entry.scroll.x,entry.scroll.y);}catch{}}setReady(true);// Keyboard scrolling belongs to the case study once it's in.\ntry{if(!document.activeElement||layerRef.current?.contains(document.activeElement))frame.contentWindow?.focus();}catch{}};const onFrameClick=(event,doc)=>{if(event.defaultPrevented||event.button!==0||event.metaKey||event.ctrlKey||event.shiftKey||event.altKey)return;const found=linkTarget(event.target,doc.baseURI);if(!found)return;const here=new URL(doc.URL);if(found.url.origin===here.origin&&samePath(found.url.pathname,here.pathname))return;// in-page links stay in the sheet\nevent.preventDefault();event.stopPropagation();callbacks.current.onNavigate(found.url);};const wire=doc=>{const view=doc.defaultView;if(!view||wired.has(doc))return;wired.add(doc);// One history entry per sheet: the case study's own pushState (hash links) replaces instead,\n// so Back always lands on the gallery.\ntry{const pageHistory=view.history;const replace=pageHistory.replaceState.bind(pageHistory);pageHistory.pushState=(data,unused,url)=>replace(data,unused,url);}catch{}doc.addEventListener(\"click\",event=>onFrameClick(event,doc),true);view.addEventListener(\"keydown\",event=>{if(event.key===\"Escape\")callbacks.current.onRequestClose();});view.addEventListener(\"scroll\",()=>{const fade=topFadeRef.current;if(fade)fade.style.opacity=String(Math.min(1,view.scrollY/40));try{const record=readSheetRecord(history.state);if(record&&samePath(new URL(record.url).pathname,target.pathname)){history.replaceState({...history.state,[SHEET_STATE]:{...record,scroll:{x:view.scrollX,y:view.scrollY}}},\"\");}}catch{}},{passive:true});};const decorate=doc=>{if(decorated.has(doc)||!doc.head||!doc.body)return;decorated.add(doc);doc.documentElement.setAttribute(\"data-case-study-sheet\",\"\");const style=doc.createElement(\"style\");style.textContent=frameCss(sheet.hideLayers,sheet.hideNav);doc.head.appendChild(style);const viewport=/(?:^|[,;\\s])width\\s*=\\s*(\\d+)/i.exec(doc.querySelector('meta[name=\"viewport\"]')?.getAttribute(\"content\")||\"\");setPageWidth(viewport&&touchRef.current?Number(viewport[1]):0);const color=doc.defaultView?.getComputedStyle(doc.body).backgroundColor;if(color&&color!==\"transparent\"&&!/rgba\\([^)]*,\\s*0\\)$/.test(color))setPageColor(color);callbacks.current.onTitle(doc.title);};const check=()=>{const doc=readDoc();if(!doc){if(frame.contentWindow)reveal();return;}// another origin: show it as-is\nlet path=\"\";try{path=new URL(doc.URL).pathname;}catch{}if(doc.URL===\"about:blank\"||!samePath(path,target.pathname))return;wire(doc);if(doc.readyState===\"loading\"||waitingForFonts)return;decorate(doc);const fonts=doc.fonts;if(!fonts||fonts.status===\"loaded\"){reveal();return;}waitingForFonts=true;timers.push(setTimeout(reveal,SHEET_TIMING.fontWait));fonts.ready.then(reveal,reveal);};const poll=setInterval(()=>{check();if(revealed)clearInterval(poll);},30);const onLoad=()=>{const doc=readDoc();if(doc&&doc.URL===\"about:blank\")return;// the empty frame of a sheet that loads later\n// Use the same document/font readiness gate for load and polling.\ncheck();};frame.addEventListener(\"load\",onLoad);timers.push(setTimeout(()=>{if(revealed||disposed)return;clearInterval(poll);setLoadError(true);setReady(true);},15e3));check();return()=>{disposed=true;clearInterval(poll);timers.forEach(clearTimeout);frame.removeEventListener(\"load\",onLoad);};},[entry.url]);const placeChip=(x,y)=>{const chip=chipRef.current;if(!chip)return;// Keep the whole tile on screen, even when the pointer hugs the window edge.\nconst half=back.size/2+4;const cx=Math.min(window.innerWidth-half,Math.max(half,x));const cy=Math.min(window.innerHeight-half,Math.max(half,y));chip.style.transform=`translate3d(${cx-back.size/2}px, ${cy-back.size/2}px, 0)`;};// Touch screens have no hover, so the chip rests in the middle of the strip.\nuseBrowserLayoutEffect(()=>{if(finePointer)return;const rest=()=>placeChip(window.innerWidth/2,sheet.margin/2);rest();window.addEventListener(\"resize\",rest);return()=>window.removeEventListener(\"resize\",rest);},[finePointer,sheet.margin,back.size]);const onDragStart=event=>{const card=cardRef.current;if(closing||!card)return;event.currentTarget.setPointerCapture(event.pointerId);const current=sheetPosition(card,\"y\");card.getAnimations().forEach(animation=>animation.cancel());card.style.transform=sheetTransform(\"y\",current);drag.current={start:event.clientY-current,last:event.clientY,time:performance.now(),velocity:0};setDragging(true);};const onDragMove=event=>{const state=drag.current;const card=cardRef.current;if(!state||!card)return;const now=performance.now();state.velocity=.8*(event.clientY-state.last)/Math.max(1,now-state.time)+.2*state.velocity;state.last=event.clientY;state.time=now;const pulled=event.clientY-state.start;card.style.transform=sheetTransform(\"y\",pulled>=0?pulled:-Math.sqrt(-pulled)*2)// pulling up only gives a little\n;};const onDragEnd=()=>{const state=drag.current;const card=cardRef.current;if(!state||!card)return;drag.current=null;setDragging(false);const pulled=sheetPosition(card,\"y\");const velocity=performance.now()-state.time<80?state.velocity:0// a finger that stopped isn't flicking\n;if(pulled>SHEET_DRAG.closeAt||velocity>SHEET_DRAG.flick&&pulled>SHEET_DRAG.flickMin){release.current=Math.max(0,velocity)*1e3;callbacks.current.onRequestClose();}else{slideSheet(card,\"y\",pulled,0,spring,reduceMotion,velocity*1e3);}};// Reveal the homepage's 4vw margin plus 24px of its text.\nconst peekDistance=sheet.peek;const shift=peeking?peekDistance:0;const peekTransform=`translate3d(${peekEdge===\"left\"?shift:0}px, ${peekEdge===\"top\"?shift:0}px, 0)`;const chipVisible=ready&&!closing&&(finePointer?peeking:back.touch);const backActive=finePointer&&chipVisible// the chip is under the pointer\n;const blurred=!closing&&!backActive;const radius=`${sheet.radius}px`;const clip=`inset(0 round ${sheet.radius}px)`;const box={inset:sheet.margin};const strip={inset:0};const frameTop=narrow?SHEET_DRAG.handle:0;const scale=pageWidth&&contentSize.width&&contentSize.width<pageWidth?contentSize.width/pageWidth:1;return /*#__PURE__*/_jsxs(\"div\",{ref:layerRef,\"data-case-study-sheet\":\"\",style:{position:\"fixed\",inset:0,zIndex:sheet.zIndex,pointerEvents:\"none\"},children:[sheet.blur>0&&/*#__PURE__*/_jsx(motion.div,{\"aria-hidden\":\"true\",initial:{opacity:0},animate:{opacity:blurred?1:0},transition:reduceMotion?{duration:0}:{duration:blurred?SHEET_BLUR.in:closing?SHEET_BLUR.out:SHEET_TIMING.peek,ease:SHEET_BLUR.ease},style:{position:\"absolute\",inset:0,zIndex:0,pointerEvents:\"none\",backdropFilter:`blur(${sheet.blur}px)`,WebkitBackdropFilter:`blur(${sheet.blur}px)`}}),/*#__PURE__*/_jsx(\"style\",{children:`.aashika-sheet-strip:focus-visible{outline:2px solid ${back.color};outline-offset:-8px}`}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",\"aria-label\":\"Close case study\",className:\"aashika-sheet-strip\",onClick:()=>callbacks.current.onRequestClose(),onPointerEnter:event=>{if(event.pointerType===\"touch\"||closingRef.current)return;placeChip(event.clientX,event.clientY);setPeekEdge(event.clientY<sheet.margin?\"top\":\"left\");setPeeking(true);},onPointerMove:event=>{if(event.pointerType!==\"touch\"&&!closingRef.current){placeChip(event.clientX,event.clientY);setPeekEdge(event.clientY<sheet.margin?\"top\":\"left\");}},onPointerLeave:()=>{if(!closingRef.current){setPeeking(false);setPressed(false);}},onPointerDown:()=>setPressed(true),onPointerUp:()=>setPressed(false),style:{position:\"absolute\",zIndex:0,appearance:\"none\",background:\"transparent\",border:0,padding:0,margin:0,cursor:finePointer?\"none\":\"pointer\",pointerEvents:closing?\"none\":\"auto\",// The strip stays clear; the blur is its own layer, so it can fade out under the back chip.\nbackdropFilter:\"none\",WebkitBackdropFilter:\"none\",...strip}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",...box,zIndex:1,pointerEvents:\"none\",transform:peekTransform,transition:reduceMotion?\"none\":`transform ${SHEET_TIMING.peek}s ${PAGE_MOTION.ease}`},children:/*#__PURE__*/_jsxs(\"div\",{ref:cardRef,role:\"dialog\",\"aria-modal\":\"true\",\"aria-label\":entry.title||\"Case study\",tabIndex:-1,style:{position:\"absolute\",inset:0,borderRadius:radius,overflow:\"hidden\",boxShadow:shift?sheet.peekShadow:sheet.shadow,transition:`box-shadow ${SHEET_TIMING.peek}s ${PAGE_MOTION.ease}`,pointerEvents:!ready&&!morph||closing?\"none\":\"auto\",visibility:ready||morph?\"visible\":\"hidden\",outline:\"none\",transformOrigin:\"50% 50%\",willChange:!fullyOpen||closing?\"transform, opacity\":\"auto\"},children:[/*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{position:\"absolute\",inset:0,borderRadius:\"inherit\",background:pageColor,transition:\"background-color .24s ease\"}}),narrow&&/*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{position:\"absolute\",left:0,right:0,top:0,height:frameTop+1,borderRadius:\"inherit\",background:pageColor,opacity:ready?1:0,transition:\"opacity .3s\"}}),/*#__PURE__*/_jsxs(\"div\",{ref:contentRef,style:{position:\"absolute\",left:0,right:0,bottom:0,top:frameTop,overflow:\"hidden\",clipPath:narrow?undefined:clip,borderRadius:narrow?0:\"inherit\"},children:[/*#__PURE__*/_jsx(\"iframe\",{ref:frameRef,src:initialUrl,title:entry.title||\"Case study\",style:{display:\"block\",border:0,background:\"transparent\",colorScheme:\"normal\",pointerEvents:dragging||!ready?\"none\":\"auto\",...scale<1?{width:pageWidth,height:contentSize.height/scale,transform:`scale(${scale})`,transformOrigin:\"0 0\"}:{width:\"100%\",height:\"100%\"}}}),loadError&&/*#__PURE__*/_jsxs(\"div\",{role:\"alert\",style:{position:\"absolute\",inset:0,display:\"grid\",placeContent:\"center\",gap:16,padding:24,background:\"white\",color:\"#1A1A1A\"},children:[/*#__PURE__*/_jsx(\"p\",{children:\"This page is taking longer to load.\"}),/*#__PURE__*/_jsx(\"a\",{href:entry.url,children:\"Open the page directly\"}),/*#__PURE__*/_jsx(\"button\",{onClick:onRequestClose,children:\"Go back\"})]}),sheet.edgeFade===\"both\"&&/*#__PURE__*/_jsx(EdgeFade,{edge:\"top\",color:pageColor,fadeRef:topFadeRef}),sheet.edgeFade!==\"off\"&&/*#__PURE__*/_jsx(EdgeFade,{edge:\"bottom\",color:pageColor})]}),narrow&&/*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",onPointerDown:onDragStart,onPointerMove:onDragMove,onPointerUp:onDragEnd,onPointerCancel:onDragEnd,style:{position:\"absolute\",left:0,right:0,top:0,height:frameTop+6,zIndex:3,touchAction:\"none\",cursor:dragging?\"grabbing\":\"grab\"}}),/*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{position:\"absolute\",inset:0,zIndex:2,borderRadius:\"inherit\",pointerEvents:\"none\",boxShadow:\"inset 1px 1px 0 0 rgba(255,255,255,0.9)\"}})]})}),entry.bounds&&/*#__PURE__*/_jsx(\"div\",{ref:openingOutlineRef,\"data-sheet-outline\":\"\",\"aria-hidden\":\"true\",style:{position:\"fixed\",left:entry.bounds.left,top:entry.bounds.top,width:entry.bounds.width,height:entry.bounds.height,zIndex:4,pointerEvents:\"none\",boxSizing:\"border-box\",opacity:0,transform:peekTransform,transition:`transform ${SHEET_TIMING.peek}s ${PAGE_MOTION.ease}`,border:`${entry.bounds.stroke} ${entry.bounds.style} ${entry.bounds.color}`},children:entry.bounds.handle>0&&BOX_CORNERS.map((corner,i)=>/*#__PURE__*/_jsx(\"span\",{style:{position:\"absolute\",...corner,width:entry.bounds.handle,height:entry.bounds.handle,background:entry.bounds.color,transform:`translate(${\"left\"in corner?\"-50%\":\"50%\"}, ${\"top\"in corner?\"-50%\":\"50%\"})`}},i))}),/*#__PURE__*/_jsx(\"div\",{ref:chipRef,\"aria-hidden\":\"true\",style:{position:\"fixed\",left:0,top:0,width:back.size,height:back.size,zIndex:3,pointerEvents:\"none\",willChange:\"transform\"},children:/*#__PURE__*/_jsx(motion.div,{initial:{opacity:0,scale:.6},animate:{opacity:chipVisible?1:0,scale:!chipVisible?.6:pressed?.9:1},transition:reduceMotion?{duration:0}:{type:\"spring\",stiffness:600,damping:34},style:{width:\"100%\",height:\"100%\",borderRadius:back.radius,background:back.background,color:back.color,boxShadow:back.shadow,display:\"grid\",placeItems:\"center\"},children:/*#__PURE__*/_jsx(motion.svg,{width:back.iconSize,height:back.iconSize,viewBox:`0 0 ${NAV_ICON.grid} ${NAV_ICON.grid}`,fill:\"none\",initial:false,animate:{rotate:phone?CHIP_TURN.up:CHIP_TURN.left},transition:reduceMotion?{duration:0}:{type:\"spring\",stiffness:300,damping:24},children:/*#__PURE__*/_jsx(\"path\",{d:RETURN_ARROW,stroke:\"currentColor\",strokeWidth:NAV_ICON.stroke*NAV_ICON.size/back.iconSize,strokeLinecap:\"round\",strokeLinejoin:\"round\"})})})})]});}const CardBubbleContext=/*#__PURE__*/React.createContext({open:false,fill:\"#fff\"});// Preserve media layout while removing the previous corner morph.\nexport function withProjectBubbleSurface(Component){return /*#__PURE__*/React.forwardRef(function ProjectSurface(props,ref){return /*#__PURE__*/_jsx(Component,{...props,ref:ref});});}export function withProjectBoundingBox(Component){return /*#__PURE__*/React.forwardRef(function ProjectBoundingBox(props,ref){return /*#__PURE__*/_jsx(Component,{...props,ref:ref,\"data-project-box-target\":\"true\",style:{...props.style,overflow:\"visible\"}});});}var CardCursor;(function(CardCursor){/* ─────────────────────────────────────────────────────────\n     * NAV PIXELS CURSOR\n     * Over a project card, the nav pixels cursor (four squares in a plus) unfolds\n     * into the card's bounding box: each square flies to a corner and grows into a\n     * handle while the dotted edges draw between them, leaving only the VIEW label\n     * at the pointer. Off the cards, the page's own Framer cursor stays in charge;\n     * ours takes its place in the same frame, so the handover can't be seen.\n     *\n     *    0ms   pointer enters a card; the plus unfolds from wherever it is\n     *   ~90ms  edges fully drawn\n     *  ~190ms  90% of the way; settles at ~300ms on a critically damped spring\n     *    0ms   pointer leaves (after an 80ms grace, so card-to-card moves glide)\n     *  ~130ms  90% folded back into the plus at the pointer\n     *    0ms   press on a card: handles tighten to 80% (snappy), release springs back\n     *\n     * Every value is a spring that keeps its velocity, so any of this can be\n     * reversed mid-flight. Positions are recomputed each frame from the live\n     * pointer and the live card rect, so the plus never lags the pointer and the\n     * box never lags a scroll.\n     * ───────────────────────────────────────────────────────── */const MOTION={glide:.28,press:.1,release:.16,pressScale:.8,grace:80,hideMs:120,reducedFadeMs:150,ease:\"cubic-bezier(0.23, 1, 0.32, 1)\",lineIn:[.15,.65]};const DEFAULT_COLOR=\"#33150F\";const DEFAULT_CARDS=\"[data-project-focus-card]\";const LAYER_Z=1998// above DockNav, under the VIEW label (1999) and the case-study sheet (2000)\n;// \"On Cards\": morph progress at which the page's own cursor takes back over.\n// swap: the page has a Framer custom cursor (the nav pixels), so ours re-forms the exact\n// plus and they trade places in one frame. fade: the system arrow, so ours dissolves first.\nconst HAND_BACK={swap:.002,fade:.03};// Framer draws a page's custom cursor as a fixed, click-through layer straight inside #main.\nconst FRAMER_CURSOR='#main > .framer-pointer-events-none[style*=\"position: fixed\"]';const SUBSTEP=1/240;const ATTR=\"data-nav-pixels-cursor\";const spring=()=>({x:0,v:0,to:0});// Apple's two-parameter spring: response (s) and damping ratio, mass 1.\nfunction stepSpring(s,dt,response,damping){const w=2*Math.PI/Math.max(.02,response);for(let left=dt;left>0;left-=SUBSTEP){const h=Math.min(left,SUBSTEP);s.v+=(-w*w*(s.x-s.to)-2*damping*w*s.v)*h;s.x+=s.v*h;}}function settle(s,distance,speed){if(Math.abs(s.x-s.to)>distance||Math.abs(s.v)>speed)return false;s.x=s.to;s.v=0;return true;}const clamp=(value,min,max)=>Math.min(max,Math.max(min,value));const smoothstep=(a,b,value)=>{const t=clamp((value-a)/(b-a),0,1);return t*t*(3-2*t);};function validSelector(selector){try{document.createDocumentFragment().querySelector(selector);return selector;}catch{return DEFAULT_CARDS;}}function startCursor(layer,settings){const svg=layer.querySelector(\"svg\");const lines=Array.from(svg.querySelectorAll(\"line\"));const dots=Array.from(layer.querySelectorAll(\"[data-pixel]\"));const root=document.documentElement;const fine=window.matchMedia(\"(hover: hover) and (pointer: fine)\");const reduced=window.matchMedia(\"(prefers-reduced-motion: reduce)\");const cards=validSelector(settings.selector.trim()||DEFAULT_CARDS);const u=Math.max(1,settings.pixel);const handle=Math.max(1,settings.handle);const dotBase=Math.max(u,handle);const damping=clamp(1-settings.bounce,.4,1);const pointer={x:0,y:0,inside:false};const morph=spring()// 0 = plus at the pointer, 1 = box on the card\n;const press=spring();const glide=[spring(),spring(),spring(),spring()]// left, top, width, height offsets from the card\n;let hovered=null// card under the pointer\n;let boxed=null// card the box belongs to; kept while it folds away\n;let shown=false;let stale=false;let sheetOpen=false;let fadeFrom=-Infinity;let grace;let raf=0;let last=0;let rescan=false;let opacity=\"\";let lineOpacity=\"\";let position=\"fixed\";let cursorHidden=false;let swap=false// \"On Cards\" over a page whose Framer cursor is drawn: hand over in place\n;const resize=new ResizeObserver(()=>wake());const wake=()=>{if(!raf)raf=requestAnimationFrame(frame);};const boxOf=card=>{const r=card.getBoundingClientRect();const o=settings.offset;return{x:r.left-o,y:r.top-o,w:r.width+o*2,h:r.height+o*2};};const setBoxed=card=>{if(card===boxed)return;if(boxed)resize.unobserve(boxed);boxed=card;if(card)resize.observe(card);};const crossFade=()=>{if(reduced.matches)fadeFrom=performance.now();};const enter=card=>{clearTimeout(grace);if(card===hovered)return;hovered=card;if(boxed&&boxed!==card&&boxed.isConnected&&morph.x>.05){// Card to card: the box carries over from where it is, velocity and all.\nconst from=boxOf(boxed);const to=boxOf(card);glide[0].x+=from.x-to.x;glide[1].x+=from.y-to.y;glide[2].x+=from.w-to.w;glide[3].x+=from.h-to.h;}else if(boxed!==card){for(const g of glide)g.x=g.v=0;}setBoxed(card);swap=settings.scope===\"cards\"&&!!document.querySelector(FRAMER_CURSOR);morph.to=1;crossFade();wake();};const leave=()=>{if(!hovered)return;hovered=null;press.to=0;clearTimeout(grace);grace=setTimeout(()=>{if(hovered)return;morph.to=0;crossFade();wake();},MOTION.grace);};const hit=el=>{if(!el||sheetOpen)return leave();if(el.closest('input, textarea, select, [contenteditable=\"true\"], iframe'))return hide();const card=el.closest(cards);if(card)enter(card);else leave();};// The pointer left the window, went into an iframe, or a sheet opened: fade out, start fresh next time.\nconst hide=()=>{clearTimeout(grace);hovered=null;press.to=0;if(!shown)return;shown=false;stale=true;pointer.inside=false;layer.style.transition=`opacity ${MOTION.hideMs}ms ${MOTION.ease}`;wake();};const show=()=>{if(shown)return;if(stale){stale=false;morph.x=morph.v=morph.to=0;press.x=press.v=press.to=0;for(const g of glide)g.x=g.v=0;setBoxed(null);}shown=true;layer.style.transition=\"none\";};const onMove=event=>{if(event.pointerType!==\"mouse\"||!fine.matches||sheetOpen)return hide();pointer.x=event.clientX;pointer.y=event.clientY;pointer.inside=true;show();hit(event.target instanceof Element?event.target:null);wake();};const onDown=event=>{if(event.pointerType!==\"mouse\")return;if(hovered){press.to=1;wake();}};const onUp=()=>{if(press.to===0)return;press.to=0;wake();};const onOut=event=>{const next=event.relatedTarget;if(!next||next instanceof Element&&next.tagName===\"IFRAME\")hide();};const onScroll=()=>{rescan=true;wake();};const checkSheet=()=>{sheetOpen=!!document.querySelector('[aria-modal=\"true\"]');if(sheetOpen)hide();};const sheets=new MutationObserver(checkSheet);const frame=time=>{raf=0;const dt=last?Math.min(.05,(time-last)/1e3):1/60;last=time;if(rescan){rescan=false;if(shown)hit(document.elementFromPoint(pointer.x,pointer.y));}let moving=false;if(shown){if(reduced.matches){morph.x=morph.to;press.x=0;for(const g of glide)g.x=0;for(const s of[morph,press,...glide])s.v=0;moving=time-fadeFrom<MOTION.reducedFadeMs;}else{const unfolding=morph.to>morph.x;stepSpring(morph,dt,unfolding?settings.unfold:settings.fold,damping);stepSpring(press,dt,press.to?MOTION.press:MOTION.release,1);for(const g of glide)stepSpring(g,dt,MOTION.glide,damping);moving=!settle(morph,5e-4,.005);moving=!settle(press,.001,.01)||moving;for(const g of glide)moving=!settle(g,.05,.5)||moving;}if(morph.to===0&&morph.x===0&&!hovered)setBoxed(null);}render(time);if(moving)wake();else last=0;};const render=time=>{const box=boxed&&boxed.isConnected?boxOf(boxed):null;const k=box?clamp(morph.x,-.25,1.25):0;const grown=clamp(k,0,1);// Mostly a box: draw in page space so a scroll carries it with the card on the\n// compositor. Mostly a plus: draw in viewport space, where the pointer lives.\nconst space=grown>=.5?\"absolute\":\"fixed\";if(space!==position){position=space;layer.style.position=space;}const origin=layer.getBoundingClientRect();// \"On Cards\" hands the pointer back to the page once the box has folded away.\nconst handBack=swap?HAND_BACK.swap:HAND_BACK.fade;const drawn=shown&&pointer.inside&&(settings.scope===\"page\"||morph.to>0||morph.x>handBack);const fadeT=clamp((time-fadeFrom)/MOTION.reducedFadeMs,0,1);const fade=reduced.matches?1-(1-fadeT)*(1-fadeT):1// ease-out\n;// Over the system arrow, the box materialises as it leaves the pointer and dissolves\n// as it returns, so no plus pops in or out. Over the nav pixels cursor it stays solid.\nconst presence=settings.scope===\"cards\"&&!swap?smoothstep(HAND_BACK.fade,.15,k):1;const nextOpacity=drawn?(fade*presence).toFixed(3):\"0\";if(nextOpacity!==opacity){opacity=nextOpacity;layer.style.opacity=nextOpacity;}if(drawn!==cursorHidden){cursorHidden=drawn;if(drawn)root.setAttribute(ATTR,\"\");else root.removeAttribute(ATTR);}if(!drawn)return;const px=pointer.x-origin.left;const py=pointer.y-origin.top;// The plus, clockwise from the left square…\nconst spread=u*.7;const from=[px-spread,py,px,py-spread,px+spread,py,px,py+spread];let to=from;if(box){// …unfolds clockwise onto the corners, from top-left.\nconst l=box.x-origin.left+glide[0].x;const t=box.y-origin.top+glide[1].x;const r=l+box.w+glide[2].x;const b=t+box.h+glide[3].x;to=[l,t,r,t,r,b,l,b];}const points=[];for(let i=0;i<8;i++)points.push(from[i]+(to[i]-from[i])*k);const size=u+(handle-u)*grown;const scale=size/dotBase*(1-(1-MOTION.pressScale)*press.x*grown);for(let i=0;i<4;i++){const x=points[i*2]-dotBase/2;const y=points[i*2+1]-dotBase/2;dots[i].style.borderRadius=`${dotBase/2}px`;dots[i].style.transform=`translate3d(${x.toFixed(2)}px, ${y.toFixed(2)}px, 0) scale(${scale.toFixed(4)})`;}const edges=smoothstep(MOTION.lineIn[0],MOTION.lineIn[1],k);const nextLine=edges.toFixed(3);if(nextLine!==lineOpacity){lineOpacity=nextLine;svg.style.opacity=nextLine;}if(edges>0){for(let i=0;i<4;i++){const j=(i+1)%4;const line=lines[i];line.setAttribute(\"x1\",points[i*2].toFixed(2));line.setAttribute(\"y1\",points[i*2+1].toFixed(2));line.setAttribute(\"x2\",points[j*2].toFixed(2));line.setAttribute(\"y2\",points[j*2+1].toFixed(2));}}};document.addEventListener(\"pointermove\",onMove,{capture:true,passive:true});document.addEventListener(\"pointerover\",onMove,{capture:true,passive:true});document.addEventListener(\"pointerdown\",onDown,{capture:true,passive:true});document.addEventListener(\"pointerup\",onUp,true);document.addEventListener(\"pointercancel\",onUp,true);document.addEventListener(\"pointerout\",onOut,true);window.addEventListener(\"scroll\",onScroll,{capture:true,passive:true});window.addEventListener(\"resize\",wake);window.addEventListener(\"blur\",hide);document.addEventListener(\"visibilitychange\",hide);fine.addEventListener(\"change\",hide);sheets.observe(document.body,{childList:true});checkSheet();return()=>{clearTimeout(grace);cancelAnimationFrame(raf);resize.disconnect();sheets.disconnect();root.removeAttribute(ATTR);document.removeEventListener(\"pointermove\",onMove,true);document.removeEventListener(\"pointerover\",onMove,true);document.removeEventListener(\"pointerdown\",onDown,true);document.removeEventListener(\"pointerup\",onUp,true);document.removeEventListener(\"pointercancel\",onUp,true);document.removeEventListener(\"pointerout\",onOut,true);window.removeEventListener(\"scroll\",onScroll,true);window.removeEventListener(\"resize\",wake);window.removeEventListener(\"blur\",hide);document.removeEventListener(\"visibilitychange\",hide);fine.removeEventListener(\"change\",hide);};}function NavPixelsCursor({scope=\"cards\",color=DEFAULT_COLOR,pixel=5.6,handle=8,handleRadius=16,line=1.5,lineStyle=\"dotted\",offset=0,unfold=.3,fold=.2,bounce=0,selector=DEFAULT_CARDS,style}){const layer=React.useRef(null);const[live,setLive]=React.useState(false);React.useEffect(()=>{setLive(RenderTarget.current()!==RenderTarget.canvas);},[]);React.useEffect(()=>{if(!live||!layer.current)return;return startCursor(layer.current,{scope,pixel,handle,handleRadius,offset,unfold,fold,bounce,selector});},[live,scope,pixel,handle,handleRadius,offset,unfold,fold,bounce,selector]);const dotBase=Math.max(pixel,handle);const dash=lineStyle===\"solid\"?\"none\":lineStyle===\"dashed\"?`${line*3} ${line*2}`:`${line} ${line}`;return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{...style,position:\"relative\",pointerEvents:\"none\"}}),live&&/*#__PURE__*/createPortal(/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                            html[${ATTR}], html[${ATTR}] *:not(input):not(textarea):not(select) { cursor: none !important; }\n                            html[${ATTR}] ${FRAMER_CURSOR} { visibility: hidden !important; }\n                        `}),/*#__PURE__*/_jsxs(\"div\",{ref:layer,\"aria-hidden\":\"true\",style:{position:\"fixed\",left:0,top:0,width:0,height:0,overflow:\"visible\",zIndex:LAYER_Z,pointerEvents:\"none\",opacity:0},children:[/*#__PURE__*/_jsx(\"svg\",{width:\"1\",height:\"1\",style:{position:\"absolute\",left:0,top:0,overflow:\"visible\",opacity:0},children:[0,1,2,3].map(i=>/*#__PURE__*/_jsx(\"line\",{style:{stroke:color,strokeWidth:line,strokeDasharray:dash,strokeLinecap:\"butt\"}},i))}),[0,1,2,3].map(i=>/*#__PURE__*/_jsx(\"i\",{\"data-pixel\":\"\",style:{position:\"absolute\",left:0,top:0,width:dotBase,height:dotBase,background:color,willChange:\"transform\"}},i))]})]}),document.body)]});}/**\n     * Nav pixels cursor that unfolds into a bounding box on project cards.\n     * Place one per page; it draws in its own layer above the page and leaves layout alone.\n     *\n     * @framerIntrinsicWidth 1\n     * @framerIntrinsicHeight 1\n     * @framerSupportedLayoutWidth fixed\n     * @framerSupportedLayoutHeight fixed\n     */CardCursor.NavPixelsCursor=NavPixelsCursor;})(CardCursor||(CardCursor={}));\nexport const __FramerMetadata__ = {\"exports\":{\"withProjectBubbleSurface\":{\"type\":\"reactHoc\",\"name\":\"withProjectBubbleSurface\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withPortfolioNavigation\":{\"type\":\"reactHoc\",\"name\":\"withPortfolioNavigation\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withProjectBackground\":{\"type\":\"reactHoc\",\"name\":\"withProjectBackground\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withWorkNavigation\":{\"type\":\"reactHoc\",\"name\":\"withWorkNavigation\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withProjectBoundingBox\":{\"type\":\"reactHoc\",\"name\":\"withProjectBoundingBox\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withProjectPage\":{\"type\":\"reactHoc\",\"name\":\"withProjectPage\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withWritingNavigation\":{\"type\":\"reactHoc\",\"name\":\"withWritingNavigation\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"ProjectInteractionSettings\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"withSideProjectsNavigation\":{\"type\":\"reactHoc\",\"name\":\"withSideProjectsNavigation\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withProjectCard\":{\"type\":\"reactHoc\",\"name\":\"withProjectCard\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withAboutNavigation\":{\"type\":\"reactHoc\",\"name\":\"withAboutNavigation\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./PageProjectInteractions.map"],"mappings":"A,wVAW6L,SAAgBmC,EAAgB,EAAU,CAAC,MAAoB,gBAAiB,SAAqB,EAAM,EAAI,CAAC,MAAoB,gBAAK,MAAM,CAAC,0BAA0B,OAAO,MAAM,CAAC,QAAQ,UAAU,EAAE,SAAsB,gBAAKC,EAAU,CAAC,GAAGC,EAAU,KAAG,CAAC,CAAC,CAAC,CAAE,CAAC,CAAE,CACrP,SAASC,EAAa,EAAK,CAAY,OAAO,KAAKC,CAAY,CAAC,CAAC,MAAM,GAAKA,EAAKC,KAAOC,GAAWD,EAAI,IAAS,OAAO,OAAOC,GAAWF,CAAI,EAAEG,GAAe,QAAQ,GAAUC,EAAS,CAAC,EAAE,CAE9Y,SAASC,EAAS,EAAQ,CAA2E,IAAMC,GAAnEC,EAAQ,QAAQ,SAAS,GAAGA,EAAQ,cAAc,SAAS,EAAA,EAAqB,aAAa,MAAM,EAAE,GAAG,CAACD,EAAK,CACtJ,IAAME,EAAKD,EAAQ,aAAa,kBAAkB,GAAG,GAAG,MAAM,wBAAwB,KAAKC,CAAI,EAAEC,GAAiB,IAAK,CAAC,GAAG,CAAC,IAAMC,EAAI,IAAI,IAAIJ,EAAK9B,EAAO,SAAS,IAAI,EAAE,MAAM,qBAAqB,KAAKA,EAAO,SAAS,QAAQ,EAAE,IAAIkC,EAAI,SAAS,MAAM,GAAG,CAAC,CAAC,OAAO,OAAO,CAAC,CAAC,IAAI,EAAEA,EAAI,SAAS,QAAQ,MAAM,EAAE,CAAE,MAAM,CAAC,OAAO,IAAK,CAAC,CAAC,SAASC,EAAa,EAAI,CAAC,IAA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