{"version":3,"file":"MooringMotion.CrPJSJTY.mjs","names":["useState","useRef","useContext"],"sources":["https:/framerusercontent.com/modules/1x4zbsBYObQ7a35mIsff/uaezxxec3lCaPNekmQq5/MooringMotion.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{createContext,forwardRef,startTransition,useContext,useEffect,useRef,useState}from\"react\";import{animate,motion,useAnimationFrame,useMotionValue,useReducedMotion,useScroll,useSpring,useTransform}from\"framer-motion\";import{RenderTarget}from\"framer\";// Mooring motion: calm, slow effects for a therapy practice (ClearPath + MindLeaf style, own code).\n// Built from the Gesso, Mend and Podere motion sets.\n// withReveal        photos open through a soft ink-blot mask when they reach the screen (Gesso/Mend).\n// withParallax      a photo layer inside a clipping frame drifts against the scroll (Mend).\n// withRise          a block lifts out of a soft blur when it scrolls in (Podere blur-rise).\n// withStagger       the items of a CMS list rise one after another, 0.08s apart (Podere).\n// withMarquee       a track holding two identical copies slides slowly and loops (Mend).\n// withHiddenCopy    the second marquee copy is hidden from screen readers and Tab (Gesso).\n// withMenuRow       a contents/list row rises into place and shares its hover state (Gesso menu rows).\n// withRuleDraw      the row's 1px rule draws itself from the left (Gesso).\n// withHoverNudge    the row title slides 10px right while its row is hovered (Gesso).\n// withHoverCard     a card shares its hover state with its children (Gesso).\n// withHoverLift     an issue cover lifts 8px and casts a deeper shadow on card hover (Gesso).\n// withColourHover   a black & white portrait warms into colour on card hover (Gesso).\n// withCountUp       a number in a text layer counts up from zero when it scrolls in.\n// In-view checks read the element's rect on scroll (IntersectionObserver misses layers inside\n// Framer CMS lists). Anything already on screen at load is shown at once; reduced motion skips it all.\nconst EASE=\"cubic-bezier(0.22,1,0.36,1)\";const onCanvas=()=>RenderTarget.current()===RenderTarget.canvas;function mergeRefs(...refs){return node=>{for(const ref of refs){if(typeof ref===\"function\")ref(node);else if(ref)ref.current=node;}};}function useSeen(ref,skip,line=.88){const[seen,setSeen]=useState(false);const[instant,setInstant]=useState(false);useEffect(()=>{if(skip)return setSeen(true);let raf=0;let done=false;let first=true;const check=()=>{raf=0;const el=ref.current;if(!el||done)return;let r=el.getBoundingClientRect();if(r.width===0&&r.height===0){const child=el.firstElementChild;if(!child)return;r=child.getBoundingClientRect();}if(r.top<window.innerHeight*line)finish();};const finish=()=>{done=true;if(first){setInstant(true);setSeen(true);}else startTransition(()=>setSeen(true));window.removeEventListener(\"scroll\",onScroll);window.removeEventListener(\"resize\",onScroll);};const onScroll=()=>{if(!raf)raf=requestAnimationFrame(check);};window.addEventListener(\"scroll\",onScroll,{passive:true});window.addEventListener(\"resize\",onScroll);check();first=false;const t=window.setTimeout(check,80);return()=>{window.removeEventListener(\"scroll\",onScroll);window.removeEventListener(\"resize\",onScroll);window.clearTimeout(t);if(raf)cancelAnimationFrame(raf);};},[skip]);return[seen,instant];}function useMounted(){const[m,setM]=useState(false);useEffect(()=>setM(true),[]);return m;}const BLOB=`url(\"data:image/svg+xml;utf8,${encodeURIComponent(\"<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='f'><feTurbulence type='fractalNoise' baseFrequency='0.03' numOctaves='3' seed='5'/><feDisplacementMap in='SourceGraphic' scale='28'/></filter><path filter='url(%23f)' fill='black' d='M100 20 C148 16 184 52 182 100 C180 148 146 184 98 182 C50 180 16 148 18 100 C20 54 54 24 100 20 Z'/></svg>\")}\")`;export function withReveal(Component){return /*#__PURE__*/forwardRef(function Reveal(props,forwardedRef){const ref=useRef(null);const reduce=!!useReducedMotion();const mounted=useMounted();const[seen,instant]=useSeen(ref,reduce,.86);const[done,setDone]=useState(false);useEffect(()=>{if(reduce||instant)return setDone(true);if(!seen)return;const t=window.setTimeout(()=>setDone(true),1500);return()=>window.clearTimeout(t);},[seen,reduce,instant]);const mask=!mounted||done||instant?{}:{WebkitMaskImage:BLOB,maskImage:BLOB,WebkitMaskRepeat:\"no-repeat\",maskRepeat:\"no-repeat\",WebkitMaskPosition:\"50% 55%\",maskPosition:\"50% 55%\",WebkitMaskSize:seen?\"330% 330%\":\"0% 0%\",maskSize:seen?\"330% 330%\":\"0% 0%\",transition:`-webkit-mask-size 1.35s ${EASE}, mask-size 1.35s ${EASE}`};return /*#__PURE__*/_jsx(Component,{...props,ref:mergeRefs(ref,forwardedRef),style:{...props.style,...mask}});});}export function withParallax(Component){return /*#__PURE__*/forwardRef(function Parallax(props,forwardedRef){const ref=useRef(null);const reduce=useReducedMotion();const{scrollYProgress}=useScroll({target:ref,offset:[\"start end\",\"end start\"]});const y=useTransform(scrollYProgress,[0,1],reduce?[\"0%\",\"0%\"]:[\"-6%\",\"6%\"]);return /*#__PURE__*/_jsx(Component,{...props,ref:mergeRefs(ref,forwardedRef),style:{...props.style,y,scale:reduce?1:1.14,willChange:\"transform\"}});});}// Blur-rise for one block (headings groups, buttons, notes).\nexport function withRise(Component){return /*#__PURE__*/forwardRef(function Rise(props,forwardedRef){const ref=useRef(null);const reduce=!!useReducedMotion();const mounted=useMounted();const[seen,instant]=useSeen(ref,reduce,.9);const hidden=mounted&&!reduce&&!instant&&!seen;return /*#__PURE__*/_jsx(Component,{...props,ref:mergeRefs(ref,forwardedRef),style:{...props.style,opacity:hidden?0:1,translate:hidden?\"0 26px\":\"0 0\",filter:hidden?\"blur(8px)\":\"none\",transition:mounted&&!reduce&&!instant?`opacity .85s ${EASE}, translate .85s ${EASE}, filter .85s ${EASE}`:undefined}});});}// Wait until React has hydrated everything under `root` before touching its DOM.\nfunction whenHydrated(root,run){let raf=0,timer=0,done=false;const started=performance.now();const claimed=n=>!!n&&Object.keys(n).some(k=>k.startsWith(\"__reactFiber$\")||k.startsWith(\"__reactInternalInstance$\"));const check=()=>{if(done)return;const all=root?root.querySelectorAll(\"*\"):null;const lastEl=all&&all.length?all[all.length-1]:null;const ready=!root||(!root.firstElementChild||claimed(root.firstElementChild))&&(!lastEl||claimed(lastEl));if(ready||performance.now()-started>4e3){timer=window.setTimeout(()=>{if(!done){done=true;run();}},60);return;}raf=requestAnimationFrame(check);};check();return()=>{done=true;cancelAnimationFrame(raf);window.clearTimeout(timer);};}// The items of a list (e.g. a CMS grid) blur-rise one after another when the list scrolls in.\nfunction staggerOnView(host,gap,dist,blur){const target=host.current?.firstElementChild;if(!target||onCanvas())return()=>{};const reduced=window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches;if(reduced)return()=>{};let raf=0;let off=()=>{};const cancel=whenHydrated(target,()=>{const items=[];const collect=el=>{for(const c of Array.from(el.children)){if(c.tagName===\"STYLE\")continue;if(getComputedStyle(c).display===\"contents\")collect(c);else items.push(c);}};collect(target);if(!items.length)return;const r0=target.getBoundingClientRect();if(r0.top<window.innerHeight*.9&&r0.bottom>0)return;items.forEach(el=>{el.style.opacity=\"0\";el.style.translate=`0 ${dist}px`;el.style.filter=blur?`blur(${blur}px)`:\"\";});const show=()=>{off();items.sort((a,b)=>{const ra=a.getBoundingClientRect(),rb=b.getBoundingClientRect();return Math.abs(ra.top-rb.top)>4?ra.top-rb.top:ra.left-rb.left;});items.forEach((el,i)=>{const d=Math.min(i*gap,.6);el.style.transition=`opacity .8s ${EASE} ${d}s, translate .8s ${EASE} ${d}s, filter .8s ${EASE} ${d}s`;requestAnimationFrame(()=>{el.style.opacity=\"1\";el.style.translate=\"0 0\";el.style.filter=blur?\"blur(0px)\":\"\";});window.setTimeout(()=>{el.style.transition=\"\";el.style.filter=\"\";el.style.translate=\"\";},900+d*1e3);});};const check=()=>{raf=0;const r=target.getBoundingClientRect();if(r.top<window.innerHeight*.88)show();};const on=()=>{if(!raf)raf=requestAnimationFrame(check);};window.addEventListener(\"scroll\",on,{passive:true});window.addEventListener(\"resize\",on);off=()=>{window.removeEventListener(\"scroll\",on);window.removeEventListener(\"resize\",on);};});return()=>{cancel();off();if(raf)cancelAnimationFrame(raf);};}export function withStagger(Component){return /*#__PURE__*/forwardRef(function Stagger(props,ref){const host=useRef(null);useEffect(()=>staggerOnView(host,.08,30,6),[]);return /*#__PURE__*/_jsx(\"div\",{ref:host,style:{display:\"contents\"},children:/*#__PURE__*/_jsx(Component,{...props,ref:ref})});});}export function withMarquee(Component){return /*#__PURE__*/forwardRef(function Marquee(props,forwardedRef){const ref=useRef(null);const reduce=!!useReducedMotion();const x=useMotionValue(0);const loop=useRef(0);const speed=useRef(1);const paused=useRef(false);const onScreen=useRef(true);useEffect(()=>{const el=ref.current;if(!el)return;const measure=()=>loop.current=el.scrollWidth/2;measure();const ro=typeof ResizeObserver!==\"undefined\"?new ResizeObserver(measure):null;ro?.observe(el);const vis=()=>{const r=el.getBoundingClientRect();onScreen.current=r.bottom>-200&&r.top<window.innerHeight+200;};vis();window.addEventListener(\"scroll\",vis,{passive:true});return()=>{ro?.disconnect();window.removeEventListener(\"scroll\",vis);};},[]);useAnimationFrame((_,delta)=>{if(reduce||!loop.current||!onScreen.current)return;speed.current+=((paused.current?0:1)-speed.current)*Math.min(1,delta/400);if(speed.current<.001)return;let next=x.get()-42*speed.current*delta/1e3;if(next<=-loop.current)next+=loop.current;x.set(next);});return /*#__PURE__*/_jsx(Component,{...props,ref:mergeRefs(ref,forwardedRef),onPointerEnter:e=>{if(e.pointerType===\"mouse\")paused.current=true;props.onPointerEnter?.(e);},onPointerLeave:e=>{paused.current=false;props.onPointerLeave?.(e);},style:{...props.style,x,willChange:\"transform\"}});});}export function withHiddenCopy(Component){return /*#__PURE__*/forwardRef(function HiddenCopy(props,forwardedRef){const ref=useRef(null);useEffect(()=>{ref.current?.setAttribute(\"inert\",\"\");},[]);return /*#__PURE__*/_jsx(Component,{...props,ref:mergeRefs(ref,forwardedRef),\"aria-hidden\":\"true\"});});}// ---- rows (contents, events, stockists, FAQs)\nconst RowState=/*#__PURE__*/createContext({hovered:false,shown:true,delay:0});let queue=[];let scheduled=false;function enqueue(run){const i=queue.length;queue.push(()=>run(Math.min(i*.07,.5)));if(scheduled)return;scheduled=true;requestAnimationFrame(()=>{const b=queue;queue=[];scheduled=false;b.forEach(f=>f());});}const canHover=()=>typeof window!==\"undefined\"&&!!window.matchMedia?.(\"(hover: hover) and (pointer: fine)\").matches;export function withMenuRow(Component){return /*#__PURE__*/forwardRef(function MenuRow(props,forwardedRef){const ref=useRef(null);const reduce=!!useReducedMotion();const mounted=useMounted();const[seen,instant]=useSeen(ref,reduce,.92);const[st,setSt]=useState({on:false,delay:0});const[hovered,setHovered]=useState(false);useEffect(()=>{if(seen&&!st.on)enqueue(delay=>startTransition(()=>setSt({on:true,delay})));},[seen]);const hidden=mounted&&!reduce&&!instant&&!st.on;const shown=!mounted||reduce||instant||st.on;return /*#__PURE__*/_jsx(RowState.Provider,{value:{hovered,shown,delay:instant?0:st.delay},children:/*#__PURE__*/_jsx(Component,{...props,ref:mergeRefs(ref,forwardedRef),onPointerEnter:e=>{if(canHover())setHovered(true);props.onPointerEnter?.(e);},onPointerLeave:e=>{setHovered(false);props.onPointerLeave?.(e);},style:{...props.style,opacity:hidden?0:1,translate:hidden?\"0 22px\":\"0 0\",filter:hidden?\"blur(6px)\":\"none\",transition:mounted&&!reduce&&!instant?`opacity .8s ${EASE} ${st.delay}s, translate .8s ${EASE} ${st.delay}s, filter .8s ${EASE} ${st.delay}s`:undefined}})});});}export function withRuleDraw(Component){return /*#__PURE__*/forwardRef(function RuleDraw(props,forwardedRef){const{shown,delay}=useContext(RowState);const reduce=!!useReducedMotion();const mounted=useMounted();const drawn=!mounted||shown||reduce;return /*#__PURE__*/_jsx(Component,{...props,ref:forwardedRef,style:{...props.style,transformOrigin:\"left center\",transform:drawn?\"scaleX(1)\":\"scaleX(0)\",transition:mounted?`transform 1.1s ${EASE} ${delay+.15}s`:undefined}});});}export function withHoverNudge(Component){return /*#__PURE__*/forwardRef(function HoverNudge(props,forwardedRef){const row=useContext(RowState);const card=useContext(CardHover);const reduce=!!useReducedMotion();const on=(row.hovered||card)&&!reduce;return /*#__PURE__*/_jsx(Component,{...props,ref:forwardedRef,style:{...props.style,translate:on?\"10px 0px\":\"0px 0px\",transition:`translate 0.5s ${EASE}`}});});}// ---- cards\nexport const CardHover=/*#__PURE__*/createContext(false);export function withHoverCard(Component){return /*#__PURE__*/forwardRef(function HoverCard(props,ref){const[hover,setHover]=useState(false);return /*#__PURE__*/_jsx(CardHover.Provider,{value:hover,children:/*#__PURE__*/_jsx(Component,{...props,ref:ref,onMouseEnter:e=>{if(canHover())setHover(true);props.onMouseEnter?.(e);},onMouseLeave:e=>{setHover(false);props.onMouseLeave?.(e);},onFocus:e=>{setHover(true);props.onFocus?.(e);},onBlur:e=>{setHover(false);props.onBlur?.(e);}})});});}export function withHoverLift(Component){return /*#__PURE__*/forwardRef(function HoverLift(props,ref){const hover=useContext(CardHover);const reduce=useReducedMotion();return /*#__PURE__*/_jsx(Component,{...props,ref:ref,style:{...props.style,translate:hover&&!reduce?\"0 -8px\":\"0 0\",boxShadow:hover?\"0 30px 50px rgba(30,27,24,0.22)\":\"0 14px 28px rgba(30,27,24,0.10)\",transition:`translate 0.6s ${EASE}, box-shadow 0.6s ${EASE}`}});});}export function withColourHover(Component){return /*#__PURE__*/forwardRef(function ColourHover(props,ref){const hover=useContext(CardHover);return /*#__PURE__*/_jsx(Component,{...props,ref:ref,style:{...props.style,filter:hover?\"grayscale(0) sepia(0.06)\":\"grayscale(1) sepia(0.18) contrast(1.04)\",transition:`filter 0.7s ${EASE}`}});});}// ---- numbers\nexport function withCountUp(Component){return /*#__PURE__*/forwardRef(function CountUp(props,forwardedRef){const host=useRef(null);useEffect(()=>{const el=host.current?.firstElementChild;if(!el||onCanvas()||window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches)return;let raf=0,stop=null,off=()=>{};const cancel=whenHydrated(el,()=>{const p=el.querySelector(\"p, h1, h2, h3\")||el;const text=p.textContent||\"\";const m=text.match(/^(\\D*)([\\d,.]+)(.*)$/);if(!m)return;const target=parseFloat(m[2].replace(/,/g,\"\"));if(!isFinite(target)||target===0)return;const dec=(m[2].split(\".\")[1]||\"\").length;const fmt=v=>m[1]+(dec?v.toFixed(dec):m[2].includes(\",\")?Math.round(v).toLocaleString(\"en-GB\"):String(Math.round(v)))+m[3];const r0=el.getBoundingClientRect();if(r0.top<window.innerHeight*.95&&r0.bottom>0)return;p.textContent=fmt(0);const run=()=>{off();const c=animate(0,target,{duration:1.6,ease:[.22,1,.36,1],onUpdate:v=>p.textContent=fmt(v)});stop=()=>c.stop();};const check=()=>{raf=0;if(el.getBoundingClientRect().top<window.innerHeight*.88)run();};const on=()=>{if(!raf)raf=requestAnimationFrame(check);};window.addEventListener(\"scroll\",on,{passive:true});off=()=>window.removeEventListener(\"scroll\",on);});return()=>{cancel();off();stop?.();if(raf)cancelAnimationFrame(raf);};},[]);return /*#__PURE__*/_jsx(\"div\",{ref:host,style:{display:\"contents\"},children:/*#__PURE__*/_jsx(Component,{...props,ref:forwardedRef})});});}// withRowImage: a stockist photo inside a clipping thumb. Black & white and slightly zoomed out at\n// rest; when its row (withMenuRow) or card (withHoverCard) is hovered it warms into colour and\n// settles in with a slow zoom. Touch screens show it in colour.\nexport function withRowImage(Component){return /*#__PURE__*/forwardRef(function RowImage(props,ref){const row=useContext(RowState);const card=useContext(CardHover);const reduce=!!useReducedMotion();const[touch,setTouch]=useState(false);useEffect(()=>setTouch(!canHover()),[]);const on=row.hovered||card||touch;return /*#__PURE__*/_jsx(Component,{...props,ref:ref,style:{...props.style,filter:on?\"grayscale(0) sepia(0.05)\":\"grayscale(1) sepia(0.2) contrast(1.05)\",scale:reduce?1:on?1.08:1,transition:`filter 0.7s ${EASE}, scale 1.1s ${EASE}`}});});}// withExpandMedia — the hero's signature scroll. Put it on the media card inside a \"Sticky\" frame\n// (position sticky, top 0, 100vh) that sits at the top of a \"Media Track\" frame; after the Sticky the\n// track holds an 80vh spacer and then the dark section that slides over the card.\n// While the track's top travels from mid-screen to 80vh above the top of the screen, the card grows from 92% wide\n// with 21:9 proportions and 14px corners to full-bleed 100% × 100vh with square corners, and its\n// photo brightens from 75% to 100%. Reduced motion / canvas: the card stays as designed.\nexport function withExpandMedia(Component){return /*#__PURE__*/forwardRef(function ExpandMedia(props,forwardedRef){const ref=useRef(null);const reduce=!!useReducedMotion();const p=useMotionValue(0);const vw=useMotionValue(1200);const vh=useMotionValue(800);const[live,setLive]=useState(false);useEffect(()=>{if(reduce||onCanvas())return;setLive(true);let raf=0;const update=()=>{raf=0;const el=ref.current;if(!el)return;const track=el.closest('[data-framer-name=\"Media Track\"]')||el.parentElement;if(!track)return;vw.set(track.clientWidth||window.innerWidth);vh.set(window.innerHeight);const top=track.getBoundingClientRect().top;// starts growing once the track's top passes the middle of the screen, full-bleed 80vh after it sticks\np.set(Math.min(1,Math.max(0,(window.innerHeight*.5-top)/(window.innerHeight*1.3))));};const on=()=>{if(!raf)raf=requestAnimationFrame(update);};update();window.addEventListener(\"scroll\",on,{passive:true});window.addEventListener(\"resize\",on);return()=>{window.removeEventListener(\"scroll\",on);window.removeEventListener(\"resize\",on);if(raf)cancelAnimationFrame(raf);};},[reduce]);const ease=t=>1-Math.pow(1-t,3);const width=useTransform([p,vw],([t,w])=>`${(.92+.08*ease(t))*w}px`);const height=useTransform([p,vw,vh],([t,w,h])=>{const start=.92*w*9/21;return`${start+(h-start)*ease(t)}px`;});const borderRadius=useTransform(p,t=>`${14*(1-ease(t))}px`);const filter=useTransform(p,t=>`brightness(${.75+.25*t})`);if(!live)return /*#__PURE__*/_jsx(Component,{...props,ref:mergeRefs(ref,forwardedRef)});return /*#__PURE__*/_jsx(Component,{...props,ref:mergeRefs(ref,forwardedRef),style:{...props.style,width,height,borderRadius,filter,maxWidth:\"none\",willChange:\"width, height\"}});});}// withCardPhoto (Gesso Art artwork cards): the photo layer inside a clipping frame drifts against the\n// scroll (±5%) and, while its card (withHoverCard) or row (withMenuRow) is hovered, eases in from\n// 1.12 to 1.2 with a touch more light. Put it on a \"Photo\" layer that fills the frame.\nexport function withCardPhoto(Component){return /*#__PURE__*/forwardRef(function CardPhoto(props,forwardedRef){const ref=useRef(null);const reduce=!!useReducedMotion();const card=useContext(CardHover);const row=useContext(RowState);const on=(card||row.hovered)&&!reduce;const{scrollYProgress}=useScroll({target:ref,offset:[\"start end\",\"end start\"]});const y=useTransform(scrollYProgress,[0,1],reduce?[\"0%\",\"0%\"]:[\"-5%\",\"5%\"]);const scale=useSpring(reduce?1:1.12,{stiffness:120,damping:24,mass:.6});useEffect(()=>{scale.set(reduce?1:on?1.2:1.12);},[on,reduce]);return /*#__PURE__*/_jsx(Component,{...props,ref:mergeRefs(ref,forwardedRef),style:{...props.style,y,scale,filter:on?\"brightness(1.06) saturate(1.05)\":\"none\",transition:`filter .6s ${EASE}`,willChange:\"transform\"}});});}// withHoverUnderline: a clay rule draws under the card title from the left while its card is hovered.\nexport function withHoverUnderline(Component){return /*#__PURE__*/forwardRef(function HoverUnderline(props,ref){const card=useContext(CardHover);const row=useContext(RowState);const on=card||row.hovered;return /*#__PURE__*/_jsx(Component,{...props,ref:ref,style:{...props.style,backgroundImage:\"linear-gradient(#3F5E5C, #3F5E5C)\",backgroundRepeat:\"no-repeat\",backgroundPosition:\"0% 100%\",backgroundSize:on?\"100% 1.5px\":\"0% 1.5px\",paddingBottom:6,transition:`background-size .7s ${EASE}`}});});}// withCardZoom (mega menu): the photo inside a card (withHoverCard) eases to 1.05 while\n// the card is hovered or focused.\nexport function withCardZoom(Component){return /*#__PURE__*/forwardRef(function CardZoom(props,ref){const hover=useContext(CardHover);const reduce=useReducedMotion();return /*#__PURE__*/_jsx(Component,{...props,ref:ref,style:{...props.style,transform:hover&&!reduce?\"scale(1.05)\":\"scale(1)\",transition:\"transform 0.6s cubic-bezier(0.22, 1, 0.36, 1)\"}});});}// withHeroExit (home hero): the hero content fades out and rises 40px over the first 60% of a\n// screen of scrolling, as the cream sheet slides up over the hero.\nexport function withHeroExit(Component){return /*#__PURE__*/forwardRef(function HeroExit(props,ref){const reduce=useReducedMotion();const{scrollY}=useScroll();const span=()=>typeof window!==\"undefined\"?window.innerHeight*.6:600;const opacity=useTransform(scrollY,v=>reduce?1:Math.max(0,1-v/span()));const y=useTransform(scrollY,v=>reduce?0:-40*Math.min(1,v/span()));return /*#__PURE__*/_jsx(Component,{...props,ref:ref,style:{...props.style,opacity,y}});});}// withClipReveal (about bento): an image card is revealed by a clip-path rising from its bottom\n// edge when it scrolls into view. withClipReveal2 and withClipReveal3 start 0.08s and 0.16s later.\nfunction ClipRevealed({Component,props,forwardedRef,delay}){const ref=useRef(null);const reduce=!!useReducedMotion();const mounted=useMounted();const[seen,instant]=useSeen(ref,reduce,.9);const hidden=mounted&&!reduce&&!instant&&!seen;return /*#__PURE__*/_jsx(Component,{...props,ref:mergeRefs(ref,forwardedRef),style:{...props.style,clipPath:hidden?\"inset(100% 0% 0% 0%)\":\"inset(0% 0% 0% 0%)\",transition:mounted&&!reduce&&!instant?`clip-path 1.1s ${EASE} ${delay}s`:undefined}});}export function withClipReveal(Component){return /*#__PURE__*/forwardRef(function ClipReveal(props,ref){return /*#__PURE__*/_jsx(ClipRevealed,{Component:Component,props:props,forwardedRef:ref,delay:0});});}export function withClipReveal2(Component){return /*#__PURE__*/forwardRef(function ClipReveal2(props,ref){return /*#__PURE__*/_jsx(ClipRevealed,{Component:Component,props:props,forwardedRef:ref,delay:.08});});}export function withClipReveal3(Component){return /*#__PURE__*/forwardRef(function ClipReveal3(props,ref){return /*#__PURE__*/_jsx(ClipRevealed,{Component:Component,props:props,forwardedRef:ref,delay:.16});});}// ---- services carousel -------------------------------------------------------------\n// withLoopCarousel goes on a horizontal CMS list. It draws the list three times in a track so it can\n// loop forever, snaps to cards, can be dragged or swiped, and listens to withCarouselPrev /\n// withCarouselNext on any frame (the arrow buttons). Only the middle copy is reachable by keyboard and\n// screen readers; the outer copies are inert. The left edge is clipped at the content column while\n// the right edge bleeds to the window so the next card peeks in.\n// Each carousel has its own channel (\"a\", \"b\"), so two carousels on one page move independently.\nconst carouselListeners=new Map;function stepCarousel(channel,delta){carouselListeners.get(channel)?.forEach(fn=>fn(delta));}function listen(channel,fn){if(!carouselListeners.has(channel))carouselListeners.set(channel,new Set);carouselListeners.get(channel).add(fn);return()=>{carouselListeners.get(channel)?.delete(fn);};}export function withLoopCarousel(Component){return /*#__PURE__*/forwardRef(function LoopCarousel(props,ref){return /*#__PURE__*/_jsx(LoopCarouselImpl,{Component:Component,props:props,forwardedRef:ref,channel:\"a\"});});}export function withLoopCarouselB(Component){return /*#__PURE__*/forwardRef(function LoopCarouselB(props,ref){return /*#__PURE__*/_jsx(LoopCarouselImpl,{Component:Component,props:props,forwardedRef:ref,channel:\"b\"});});}function LoopCarouselImpl({Component,props,forwardedRef,channel}){{const canvas=onCanvas();const reduce=!!useReducedMotion();const middle=useRef(null);const x=useMotionValue(0);const geo=useRef({step:0,n:0,w:0,gap:16});const index=useRef(0);const dragged=useRef(false);const[ready,setReady]=useState(false);const place=i=>-geo.current.w-i*geo.current.step;const go=target=>{const{n}=geo.current;if(!n)return;index.current=target;animate(x,place(target),{duration:reduce?0:.65,ease:[.22,1,.36,1],onComplete:()=>{const wrapped=(index.current%n+n)%n;if(wrapped!==index.current){index.current=wrapped;x.set(place(wrapped));}}});};useEffect(()=>{if(canvas)return;const host=middle.current?.firstElementChild;if(!host)return;const measure=()=>{const items=Array.from(host.children).filter(c=>c.offsetWidth>0);if(items.length<1)return;const gap=parseFloat(getComputedStyle(host).columnGap)||16;const step=items.length>1?items[1].offsetLeft-items[0].offsetLeft:items[0].offsetWidth+gap;geo.current={step,n:items.length,w:items.length*step,gap};x.set(place(index.current));startTransition(()=>setReady(true));};measure();const ro=new ResizeObserver(measure);ro.observe(host);const stop=listen(channel,move);return()=>{ro.disconnect();stop();};function move(delta){go(index.current+delta);}},[canvas,channel]);const onPointerDown=e=>{if(e.button!==0||!geo.current.n)return;const startX=e.clientX,startY=e.clientY,from=x.get(),t0=performance.now();let horizontal=null;dragged.current=false;const moveFn=ev=>{const dx=ev.clientX-startX,dy=ev.clientY-startY;if(horizontal===null&&Math.abs(dx)+Math.abs(dy)>6)horizontal=Math.abs(dx)>Math.abs(dy);if(!horizontal)return;dragged.current=true;x.set(from+dx);};const up=ev=>{window.removeEventListener(\"pointermove\",moveFn);window.removeEventListener(\"pointerup\",up);window.removeEventListener(\"pointercancel\",up);if(!dragged.current)return;const dx=ev.clientX-startX;const v=dx/Math.max(1,performance.now()-t0);const{step,w}=geo.current;let target=Math.round((-x.get()-w)/step);if(Math.abs(v)>.5&&Math.abs(dx)<step/2)target=index.current+(dx<0?1:-1);go(target);};window.addEventListener(\"pointermove\",moveFn);window.addEventListener(\"pointerup\",up);window.addEventListener(\"pointercancel\",up);};if(canvas)return /*#__PURE__*/_jsx(Component,{...props,ref:forwardedRef});const copy=(key,hidden)=>/*#__PURE__*/_jsx(\"div\",{ref:hidden?undefined:middle,\"aria-hidden\":hidden||undefined,...hidden?{inert:\"\"}:{},style:{flex:\"none\"},children:/*#__PURE__*/_jsx(Component,{...props,...hidden?{id:undefined,layoutId:undefined}:{},ref:hidden?undefined:forwardedRef,style:{...props.style,position:\"relative\"}})},key);return /*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width:\"100%\",touchAction:\"pan-y\",userSelect:\"none\",clipPath:\"inset(-60px -100vw -60px 0px)\"},onPointerDown:onPointerDown,onClickCapture:e=>{if(dragged.current){e.preventDefault();e.stopPropagation();dragged.current=false;}},onDragStartCapture:e=>e.preventDefault(),onFocusCapture:e=>{const host=middle.current?.firstElementChild;if(!host)return;const i=Array.from(host.children).findIndex(c=>c.contains(e.target));if(i>=0&&i!==index.current)go(i);},children:/*#__PURE__*/_jsxs(motion.div,{style:{x,display:\"flex\",gap:geo.current.gap,width:\"max-content\"},children:[copy(\"a\",true),copy(\"b\",false),copy(\"c\",true)]})});}}function carouselButton(channel,delta){return(Component,props,ref)=>/*#__PURE__*/_jsx(Component,{...props,ref:ref,onClick:e=>{props.onClick?.(e);stepCarousel(channel,delta);}});}const prevA=carouselButton(\"a\",-1),nextA=carouselButton(\"a\",1),prevB=carouselButton(\"b\",-1),nextB=carouselButton(\"b\",1);export function withCarouselPrev(Component){return /*#__PURE__*/forwardRef(function CarouselPrev(props,ref){return prevA(Component,props,ref);});}export function withCarouselNext(Component){return /*#__PURE__*/forwardRef(function CarouselNext(props,ref){return nextA(Component,props,ref);});}export function withCarouselPrevB(Component){return /*#__PURE__*/forwardRef(function CarouselPrevB(props,ref){return prevB(Component,props,ref);});}export function withCarouselNextB(Component){return /*#__PURE__*/forwardRef(function CarouselNextB(props,ref){return nextB(Component,props,ref);});}// withHoverArrow: a small arrow inside a card (withHoverCard) slides in on hover; always shown on touch.\nexport function withHoverArrow(Component){return /*#__PURE__*/forwardRef(function HoverArrow(props,ref){const hover=useContext(CardHover);const mounted=useMounted();const show=hover||mounted&&!canHover();return /*#__PURE__*/_jsx(Component,{...props,ref:ref,style:{...props.style,opacity:show?1:0,translate:show?\"0 0\":\"-6px 0\",transition:`opacity .3s ${EASE}, translate .3s ${EASE}`}});});}// withHoverFade / withHoverHide: cross-fade two layers inside a card (withHoverCard), e.g. a car's\n// front photo to its rear photo, or \"↗\" to \"→\". Touch screens keep the resting state.\nexport function withHoverFade(Component){return /*#__PURE__*/forwardRef(function HoverFade(props,ref){const hover=useContext(CardHover);return /*#__PURE__*/_jsx(Component,{...props,ref:ref,style:{...props.style,opacity:hover?1:0,transition:`opacity .5s ${EASE}`}});});}export function withHoverHide(Component){return /*#__PURE__*/forwardRef(function HoverHide(props,ref){const hover=useContext(CardHover);return /*#__PURE__*/_jsx(Component,{...props,ref:ref,style:{...props.style,opacity:hover?0:1,transition:`opacity .5s ${EASE}`}});});}// withQuoteRotator (testimonial band): goes on a Testimonials CMS list whose items are named\n// \"Testimonial\" and hold a \"Quote\" text. Items stack in one grid cell; one shows at a time and the\n// rest are hidden from screen readers and keyboard. Every 7s the next one fades in, its quote\n// rising with a left-to-right sweep. Dots switch slides. Hover or focus pauses; reduced motion stops\n// auto-play. Before hydration only the first item shows, so the server HTML already looks right.\nexport function withQuoteRotator(Component){return /*#__PURE__*/forwardRef(function QuoteRotator(props,ref){const host=useRef(null);const reduce=!!useReducedMotion();const[count,setCount]=useState(0);const[active,setActive]=useState(0);const[paused,setPaused]=useState(false);const[onScreen,setOnScreen]=useState(true);const items=()=>Array.from(host.current?.querySelectorAll('[data-framer-name=\"Testimonial\"]')||[]);// Only rotate while the band is on screen and the tab is visible.\nuseEffect(()=>{const el=host.current;if(!el||onCanvas()||typeof IntersectionObserver===\"undefined\")return;let inView=true;const sync=()=>startTransition(()=>setOnScreen(inView&&document.visibilityState===\"visible\"));const io=new IntersectionObserver(([e])=>{inView=e.isIntersecting;sync();},{threshold:.25});io.observe(el);document.addEventListener(\"visibilitychange\",sync);return()=>{io.disconnect();document.removeEventListener(\"visibilitychange\",sync);};},[]);useEffect(()=>{if(onCanvas())return;startTransition(()=>setCount(items().length));},[]);useEffect(()=>{items().forEach((el,k)=>{el.setAttribute(\"data-active\",k===active?\"1\":\"0\");if(k===active){el.removeAttribute(\"aria-hidden\");el.removeAttribute(\"inert\");}else{el.setAttribute(\"aria-hidden\",\"true\");el.setAttribute(\"inert\",\"\");}});},[active,count]);useEffect(()=>{if(count<2||paused||!onScreen||reduce||onCanvas())return;const t=window.setTimeout(()=>startTransition(()=>setActive(a=>(a+1)%count)),7e3);return()=>window.clearTimeout(t);},[active,count,paused,onScreen,reduce]);const css=`.mooring-rot [data-framer-name=\"Testimonials List\"]{display:grid!important;grid-template-columns:minmax(0,1fr)}\n.mooring-rot [data-framer-name=\"Testimonial\"]{grid-area:1/1;width:100%!important;transition:opacity .8s ${EASE}}\n.mooring-rot [data-framer-name=\"Testimonial\"]:not(:first-child){opacity:0;pointer-events:none}\n.mooring-rot [data-framer-name=\"Testimonial\"][data-active=\"0\"]{opacity:0!important;pointer-events:none}\n.mooring-rot [data-framer-name=\"Testimonial\"][data-active=\"1\"]{opacity:1!important;pointer-events:auto}\n.mooring-rot [data-active=\"1\"] [data-framer-name=\"Quote\"]{animation:rosinQuoteIn 1.1s ${EASE} both;-webkit-mask-image:linear-gradient(90deg,#000 40%,transparent 60%);mask-image:linear-gradient(90deg,#000 40%,transparent 60%);-webkit-mask-size:260% 100%;mask-size:260% 100%}\n@keyframes rosinQuoteIn{from{opacity:0;transform:translateY(18px);-webkit-mask-position:100% 0;mask-position:100% 0}to{opacity:1;transform:none;-webkit-mask-position:0 0;mask-position:0 0}}\n@media (prefers-reduced-motion:reduce){.mooring-rot [data-active=\"1\"] [data-framer-name=\"Quote\"]{animation:none;-webkit-mask-image:none;mask-image:none}}\n.mooring-rot-dot{all:unset;box-sizing:border-box;display:flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 4px;border-radius:999px;cursor:pointer}\n.mooring-rot-dot>span{display:block;height:8px;border-radius:999px;transition:width .4s ${EASE},background .4s ${EASE}}\n.mooring-rot-dot:focus-visible{outline:2px solid #F5F0E8;outline-offset:0}`;return /*#__PURE__*/_jsxs(\"div\",{ref:host,className:\"mooring-rot\",style:{position:\"relative\",width:\"100%\"},onMouseEnter:()=>setPaused(true),onMouseLeave:()=>setPaused(false),onFocusCapture:()=>setPaused(true),onBlurCapture:()=>setPaused(false),children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:css}}),/*#__PURE__*/_jsx(Component,{...props,ref:ref}),count>1&&/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",gap:0,justifyContent:\"center\",marginTop:36},children:Array.from({length:count},(_,k)=>/*#__PURE__*/_jsx(\"button\",{type:\"button\",className:\"mooring-rot-dot\",\"aria-label\":`Show testimonial ${k+1} of ${count}`,\"aria-current\":k===active?\"true\":undefined,onClick:()=>startTransition(()=>setActive(k)),children:/*#__PURE__*/_jsx(\"span\",{style:{width:k===active?28:8,background:k===active?\"#F5F0E8\":\"rgba(245,240,232,0.28)\"}})},k))})]});});}// withScrollScale (team image): a full-bleed photo eases from 1.08 down to 1 as its section\n// scrolls into view (scrubbed). Reduced motion keeps it at 1.\nexport function withScrollScale(Component){return /*#__PURE__*/forwardRef(function ScrollScale(props,forwardedRef){const ref=useRef(null);const reduce=useReducedMotion();const{scrollYProgress}=useScroll({target:ref,offset:[\"start end\",\"start start\"]});const scale=useTransform(scrollYProgress,[0,1],reduce?[1,1]:[1.08,1]);return /*#__PURE__*/_jsx(Component,{...props,ref:mergeRefs(ref,forwardedRef),style:{...props.style,scale,willChange:\"transform\"}});});}// withStackCards (\"How it works\", services): goes on a vertical CMS list of cards. On tablet and up each\n// card sticks at top 120px + 20px per card (phones: 84px + 14px), so they pile up as you scroll; a card that\n// is being covered scales to 0.96 and dims. Reduced motion gets a plain list. Only the list's own cards are measured.\nexport function withStackCards(Component){return /*#__PURE__*/forwardRef(function StackCards(props,forwardedRef){const host=useRef(null);const reduce=!!useReducedMotion();useEffect(()=>{if(onCanvas())return;// The card list may sit inside extra wrapper layers on some breakpoints: walk down to the\n// first element with more than one child and mark it as the list. Looked up on every\n// update, because a breakpoint change swaps the layers underneath.\nconst findList=()=>{let el=host.current?.querySelector(\":scope > :not(style)\");while(el&&el.children.length===1)el=el.children[0];if(el&&!el.classList.contains(\"mooring-stack-list\"))el.classList.add(\"mooring-stack-list\");return el;};const cards=()=>Array.from(findList()?.children||[]);let raf=0;const update=()=>{raf=0;const cs=cards();cs.forEach((c,i)=>{const next=cs[i+1];let p=0;if(next&&!reduce){const a=c.getBoundingClientRect(),b=next.getBoundingClientRect();p=Math.max(0,Math.min(1,(a.bottom-b.top)/Math.max(1,a.height)));}c.style.setProperty(\"--cover\",p.toFixed(3));});};const on=()=>{if(!raf)raf=requestAnimationFrame(update);};update();window.addEventListener(\"scroll\",on,{passive:true});window.addEventListener(\"resize\",on);return()=>{window.removeEventListener(\"scroll\",on);window.removeEventListener(\"resize\",on);if(raf)cancelAnimationFrame(raf);};},[reduce]);const tops=(base,step)=>Array.from({length:16},(_,i)=>`.mooring-stack-list > :nth-child(${i+1}){top:${base+i*step}px}`).join(\"\");// reduced motion gets a plain list\nconst css=`@media (prefers-reduced-motion:no-preference){.mooring-stack-list > *{position:sticky!important;transform-origin:50% 0;transform:scale(calc(1 - 0.04 * var(--cover, 0)));filter:brightness(calc(1 - 0.35 * var(--cover, 0)))}}@media (min-width:810px) and (prefers-reduced-motion:no-preference){${tops(120,20)}}@media (max-width:809px) and (prefers-reduced-motion:no-preference){${tops(84,14)}}`;return /*#__PURE__*/_jsxs(\"div\",{ref:host,className:\"mooring-stack\",style:{display:\"contents\"},children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:css}}),/*#__PURE__*/_jsx(Component,{...props,ref:forwardedRef})]});});}// withHideCurrent: hides a CMS card that links to the page you are on (for \"Other …\" lists).\nexport function withHideCurrent(Component){return /*#__PURE__*/forwardRef(function HideCurrent(props,forwardedRef){const ref=useRef(null);const[hide,setHide]=useState(false);useEffect(()=>{const el=ref.current;const href=el?.getAttribute(\"href\");if(!href||onCanvas())return;const path=new URL(href,window.location.href).pathname.replace(/\\/$/,\"\");if(path===window.location.pathname.replace(/\\/$/,\"\"))startTransition(()=>setHide(true));},[]);return /*#__PURE__*/_jsx(Component,{...props,ref:mergeRefs(ref,forwardedRef),style:{...props.style,display:hide?\"none\":props.style?.display}});});}// withHoverCardHideCurrent: withHoverCard + withHideCurrent in one (a layer takes one override).\nexport function withHoverCardHideCurrent(Component){return withHoverCard(withHideCurrent(Component));}// withOthersMax3: on a CMS detail page, goes on a list of up to 4 items. It hides the card that\n// links to the current page and keeps the first 3 others, so \"Keep reading\" never repeats the article.\nexport function withOthersMax3(Component){return /*#__PURE__*/forwardRef(function OthersMax3(props,forwardedRef){const host=useRef(null);useEffect(()=>{if(onCanvas())return;const list=host.current?.querySelector(\":scope > :not(style)\");const cards=list?Array.from(list.children).filter(c=>c.tagName!==\"STYLE\"):[];const here=window.location.pathname.replace(/\\/$/,\"\");const hrefOf=c=>{const a=c.matches(\"a\")?c:c.querySelector(\"a\");return a?new URL(a.getAttribute(\"href\")||\"\",window.location.href).pathname.replace(/\\/$/,\"\"):\"\";};let kept=0;cards.forEach(c=>{const show=hrefOf(c)!==here&&kept<3;if(show)kept++;c.style.display=show?\"\":\"none\";});},[]);return /*#__PURE__*/_jsx(\"div\",{ref:host,style:{display:\"contents\"},children:/*#__PURE__*/_jsx(Component,{...props,ref:forwardedRef})});});}// withNextItem: on a CMS detail page, goes on a list of ALL items of the same collection (sorted).\n// It finds the card linking to the current page and shows only the next one (wrapping to the first).\nexport function withNextItem(Component){return /*#__PURE__*/forwardRef(function NextItem(props,forwardedRef){const host=useRef(null);useEffect(()=>{if(onCanvas())return;const list=host.current?.querySelector(\":scope > :not(style)\");const cards=list?Array.from(list.children):[];if(cards.length<2)return;const here=window.location.pathname.replace(/\\/$/,\"\");const hrefOf=c=>{const a=c.matches(\"a\")?c:c.querySelector(\"a\");return a?new URL(a.getAttribute(\"href\")||\"\",window.location.href).pathname.replace(/\\/$/,\"\"):\"\";};const i=cards.findIndex(c=>hrefOf(c)===here);const next=cards[(i+1)%cards.length];cards.forEach(c=>{c.style.display=c===next?\"\":\"none\";});},[]);return /*#__PURE__*/_jsx(\"div\",{ref:host,style:{display:\"contents\"},children:/*#__PURE__*/_jsx(Component,{...props,ref:forwardedRef})});});}// ---- Rosin header mega menu, keyboard ----------------------------------------------------\n// withMegaToggle goes on the caret button beside \"Services\" (its tap action opens the mega menu in\n// the closed header and closes it in the open one, so Enter and Space work). Framer shares overrides\n// across variants, so it reads the state from the page: the menu panel only exists while open.\n// It keeps aria-expanded in sync, and while open: Esc anywhere closes the menu and returns focus to\n// the caret, Tab from the caret jumps into the first menu card, and focus leaving the header closes it.\nconst MEGA_ATTR=\"data-mooring-mega-toggle\";export function withMegaToggle(Component){return /*#__PURE__*/forwardRef(function MegaToggle(props,ref){const el=useRef(null);useEffect(()=>{const btn=el.current;if(!btn||onCanvas())return;const nav=btn.closest(\"nav\");const panel=()=>nav?.querySelector('[data-framer-name=\"Mega Menu\"]');const isOpen=()=>{const p=panel();return!!p&&p.getClientRects().length>0;};const sync=()=>btn.setAttribute(\"aria-expanded\",isOpen()?\"true\":\"false\");sync();const mo=nav?new MutationObserver(sync):null;mo?.observe(nav,{childList:true,subtree:true});// Framer's tap action listens for a pointer press, not click(), so press the live toggle.\nconst close=refocus=>{const t=nav?.querySelector(`[${MEGA_ATTR}]`)||btn;const r=t.getBoundingClientRect();const init={bubbles:true,cancelable:true,composed:true,pointerId:1,pointerType:\"mouse\",isPrimary:true,button:0,buttons:1,clientX:r.left+r.width/2,clientY:r.top+r.height/2};t.dispatchEvent(new PointerEvent(\"pointerdown\",init));t.dispatchEvent(new PointerEvent(\"pointerup\",{...init,buttons:0}));if(refocus)window.setTimeout(()=>document.querySelector(`[${MEGA_ATTR}]`)?.focus(),30);};const onKey=e=>{if(!isOpen())return;if(e.key===\"Escape\"){e.preventDefault();close(true);}else if(e.key===\"Tab\"&&!e.shiftKey&&document.activeElement===btn){const first=panel()?.querySelector(\"a\");if(first){e.preventDefault();first.focus();}}};const onFocusOut=e=>{const next=e.relatedTarget;if(isOpen()&&next&&nav&&!nav.contains(next))close(false);};document.addEventListener(\"keydown\",onKey);nav?.addEventListener(\"focusout\",onFocusOut);return()=>{mo?.disconnect();document.removeEventListener(\"keydown\",onKey);nav?.removeEventListener(\"focusout\",onFocusOut);};},[]);return /*#__PURE__*/_jsx(Component,{...props,ref:mergeRefs(el,ref),[MEGA_ATTR]:\"\",\"aria-haspopup\":\"true\"});});}// ---- Mooring additions (ClearPath + MindLeaf effects, own code) ----------------------------\n// withHeroFade (home opening photo): the photo layer fades into the ivory page and eases in a touch\n// over the first screen of scrolling (ClearPath). Reduced motion keeps it still.\nexport function withHeroFade(Component){return /*#__PURE__*/forwardRef(function HeroFade(props,ref){const reduce=useReducedMotion();const{scrollY}=useScroll();const span=()=>typeof window!==\"undefined\"?window.innerHeight*.95:900;const opacity=useTransform(scrollY,v=>reduce?1:Math.max(0,1-v/span()));const scale=useTransform(scrollY,v=>reduce?1:1+.06*Math.min(1,v/span()));return /*#__PURE__*/_jsx(Component,{...props,ref:ref,style:{...props.style,opacity,scale,willChange:\"opacity, transform\"}});});}// withHeroDrift (home opening text): the words drift down at a third of the scroll speed and fade,\n// so they seem to sink into the page while the photo dissolves (ClearPath).\nexport function withHeroDrift(Component){return /*#__PURE__*/forwardRef(function HeroDrift(props,ref){const reduce=useReducedMotion();const{scrollY}=useScroll();const span=()=>typeof window!==\"undefined\"?window.innerHeight*.8:700;const y=useTransform(scrollY,v=>reduce?0:v*.3);const opacity=useTransform(scrollY,v=>reduce?1:Math.max(0,1-v/span()));return /*#__PURE__*/_jsx(Component,{...props,ref:ref,style:{...props.style,y,opacity}});});}// withArcReveal (dark quote band): the band rises into view through a widening arc, like the curved\n// top edge in ClearPath. The arc opens fully by the time the band's top reaches a third of the screen.\nexport function withArcReveal(Component){return /*#__PURE__*/forwardRef(function ArcReveal(props,forwardedRef){const ref=useRef(null);const reduce=useReducedMotion();const{scrollYProgress}=useScroll({target:ref,offset:[\"start end\",\"start 0.3\"]});const clipPath=useTransform(scrollYProgress,p=>{if(reduce)return\"none\";const k=Math.max(0,Math.min(1,p));const rx=60+110*k,ry=28+140*k;return k>=.999?\"none\":`ellipse(${rx}% ${ry}% at 50% ${100+4-4*k}%)`;});return /*#__PURE__*/_jsx(Component,{...props,ref:mergeRefs(ref,forwardedRef),style:{...props.style,clipPath,WebkitClipPath:clipPath}});});}// withScrollRowL / withScrollRowR (client words, MindLeaf): two rows of cards slide sideways in\n// opposite directions while the section scrolls past. The rows only move as far as they overflow.\nfunction ScrollRow({Component,props,forwardedRef,dir}){const ref=useRef(null);const reduce=useReducedMotion();const[over,setOver]=useState(0);useEffect(()=>{if(onCanvas())return;const measure=()=>{const el=ref.current;if(!el)return;const parent=el.parentElement;const w=el.scrollWidth,pw=parent?parent.getBoundingClientRect().width:window.innerWidth;setOver(Math.max(0,w-pw+40));};measure();const t=window.setTimeout(measure,600);window.addEventListener(\"resize\",measure);return()=>{window.clearTimeout(t);window.removeEventListener(\"resize\",measure);};},[]);const{scrollYProgress}=useScroll({target:ref,offset:[\"start end\",\"end start\"]});const x=useTransform(scrollYProgress,p=>reduce?0:dir===-1?-over*p:-over*(1-p));return /*#__PURE__*/_jsx(Component,{...props,ref:mergeRefs(ref,forwardedRef),style:{...props.style,x,willChange:\"transform\"}});}export function withScrollRowL(Component){return /*#__PURE__*/forwardRef(function ScrollRowL(props,ref){return /*#__PURE__*/_jsx(ScrollRow,{Component:Component,props:props,forwardedRef:ref,dir:-1});});}export function withScrollRowR(Component){return /*#__PURE__*/forwardRef(function ScrollRowR(props,ref){return /*#__PURE__*/_jsx(ScrollRow,{Component:Component,props:props,forwardedRef:ref,dir:1});});}// withNavSwap (navigation instance): while the header sits over a section whose layer name contains\n// \"Dark\", <html> gets data-nav=\"dark\" and the site CSS turns the header light-on-dark (ClearPath).\nexport function withNavSwap(Component){return /*#__PURE__*/forwardRef(function NavSwap(props,forwardedRef){const ref=useRef(null);useEffect(()=>{if(onCanvas())return;let raf=0;const check=()=>{raf=0;const nav=ref.current;if(!nav)return;const r=nav.getBoundingClientRect();const y=Math.min(window.innerHeight-1,Math.max(0,r.bottom-6));let dark=false;for(const el of document.elementsFromPoint(window.innerWidth/2,y)){if(nav.contains(el)||el.contains(nav))continue;const host=el.closest?.('[data-framer-name*=\"Dark\"]');dark=!!host;break;}document.documentElement.setAttribute(\"data-nav\",dark?\"dark\":\"light\");};const on=()=>{if(!raf)raf=requestAnimationFrame(check);};check();const t=window.setTimeout(check,400);window.addEventListener(\"scroll\",on,{passive:true});window.addEventListener(\"resize\",on);return()=>{window.clearTimeout(t);window.removeEventListener(\"scroll\",on);window.removeEventListener(\"resize\",on);if(raf)cancelAnimationFrame(raf);};},[]);return /*#__PURE__*/_jsx(Component,{...props,ref:mergeRefs(ref,forwardedRef)});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withHoverUnderline\":{\"type\":\"reactHoc\",\"name\":\"withHoverUnderline\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRuleDraw\":{\"type\":\"reactHoc\",\"name\":\"withRuleDraw\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHoverFade\":{\"type\":\"reactHoc\",\"name\":\"withHoverFade\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withClipReveal\":{\"type\":\"reactHoc\",\"name\":\"withClipReveal\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withNavSwap\":{\"type\":\"reactHoc\",\"name\":\"withNavSwap\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withArcReveal\":{\"type\":\"reactHoc\",\"name\":\"withArcReveal\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHoverArrow\":{\"type\":\"reactHoc\",\"name\":\"withHoverArrow\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCarouselPrevB\":{\"type\":\"reactHoc\",\"name\":\"withCarouselPrevB\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHoverCardHideCurrent\":{\"type\":\"reactHoc\",\"name\":\"withHoverCardHideCurrent\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withOthersMax3\":{\"type\":\"reactHoc\",\"name\":\"withOthersMax3\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withQuoteRotator\":{\"type\":\"reactHoc\",\"name\":\"withQuoteRotator\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withColourHover\":{\"type\":\"reactHoc\",\"name\":\"withColourHover\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCarouselNextB\":{\"type\":\"reactHoc\",\"name\":\"withCarouselNextB\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHeroFade\":{\"type\":\"reactHoc\",\"name\":\"withHeroFade\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRise\":{\"type\":\"reactHoc\",\"name\":\"withRise\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withScrollRowR\":{\"type\":\"reactHoc\",\"name\":\"withScrollRowR\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withLoopCarouselB\":{\"type\":\"reactHoc\",\"name\":\"withLoopCarouselB\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHeroExit\":{\"type\":\"reactHoc\",\"name\":\"withHeroExit\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withExpandMedia\":{\"type\":\"reactHoc\",\"name\":\"withExpandMedia\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withMegaToggle\":{\"type\":\"reactHoc\",\"name\":\"withMegaToggle\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHoverHide\":{\"type\":\"reactHoc\",\"name\":\"withHoverHide\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHiddenCopy\":{\"type\":\"reactHoc\",\"name\":\"withHiddenCopy\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRowImage\":{\"type\":\"reactHoc\",\"name\":\"withRowImage\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withParallax\":{\"type\":\"reactHoc\",\"name\":\"withParallax\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withStackCards\":{\"type\":\"reactHoc\",\"name\":\"withStackCards\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withNextItem\":{\"type\":\"reactHoc\",\"name\":\"withNextItem\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCarouselPrev\":{\"type\":\"reactHoc\",\"name\":\"withCarouselPrev\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withScrollScale\":{\"type\":\"reactHoc\",\"name\":\"withScrollScale\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withClipReveal3\":{\"type\":\"reactHoc\",\"name\":\"withClipReveal3\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withStagger\":{\"type\":\"reactHoc\",\"name\":\"withStagger\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCardZoom\":{\"type\":\"reactHoc\",\"name\":\"withCardZoom\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCardPhoto\":{\"type\":\"reactHoc\",\"name\":\"withCardPhoto\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCarouselNext\":{\"type\":\"reactHoc\",\"name\":\"withCarouselNext\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHoverLift\":{\"type\":\"reactHoc\",\"name\":\"withHoverLift\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withLoopCarousel\":{\"type\":\"reactHoc\",\"name\":\"withLoopCarousel\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withScrollRowL\":{\"type\":\"reactHoc\",\"name\":\"withScrollRowL\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHeroDrift\":{\"type\":\"reactHoc\",\"name\":\"withHeroDrift\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withClipReveal2\":{\"type\":\"reactHoc\",\"name\":\"withClipReveal2\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHideCurrent\":{\"type\":\"reactHoc\",\"name\":\"withHideCurrent\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CardHover\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCountUp\":{\"type\":\"reactHoc\",\"name\":\"withCountUp\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withMenuRow\":{\"type\":\"reactHoc\",\"name\":\"withMenuRow\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHoverNudge\":{\"type\":\"reactHoc\",\"name\":\"withHoverNudge\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withReveal\":{\"type\":\"reactHoc\",\"name\":\"withReveal\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHoverCard\":{\"type\":\"reactHoc\",\"name\":\"withHoverCard\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withMarquee\":{\"type\":\"reactHoc\",\"name\":\"withMarquee\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./MooringMotion.map"],"mappings":"wSAiByG,SAAS,EAAU,GAAG,EAAK,CAAC,MAAO,IAAM,CAAC,IAAI,IAAM,KAAO,EAAS,OAAO,GAAM,WAAW,EAAI,CAAI,EAAU,IAAI,EAAI,QAAQ,EAAM,CAAE,C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