{"version":3,"file":"Nav_v95.57tVfaLP.mjs","names":["_Fragment","useState","useRef"],"sources":["https:/framerusercontent.com/modules/yXJpND1UCBwQ78V1Wb0M/2fAk7e7XnxhCEU1bO5Tu/Nav_v95.js"],"sourcesContent":["/**\n * FinArt NavBar v9.6 (ALWAYSBOXED) — Uses canonical grid system from DesignTokens.\n * Nav links are hardcoded — single source of truth across all pages.\n *\n * ALWAYS TRANSPARENT AT TOP (2026-05-12): Over the hero the nav strip\n * renders with no background and no bottom hairline. The `backgroundColor`\n * prop drives dark/light text contrast detection (what's *behind* the\n * nav) for that top-of-page state.\n *\n * WORDMARK LOCKED (2026-05-27): The FinArt wordmark is now an inline SVG\n * hardcoded in this component. The `logoType`, `logoText`, `logoImage`,\n * `logoImageDark`, `logoHeight`, `logoFontSize`, and `headingFont` props\n * are NO-OPS.\n *\n * RESPONSIVE = CSS (2026-06-15): The desktop nav / mobile hamburger swap\n * and side padding are driven by a CSS @media stylesheet, NOT by JS\n * measurement. This means the correct layout paints on the very first\n * frame — no desktop-nav flash before the mobile nav appears. The mobile\n * dropdown panel is always in the DOM (CSS-hidden on desktop) and toggled\n * open via the menuOpen state.\n *\n * BOXED ON SCROLL (2026-08-11): The bar stays FULL WIDTH at all times —\n * no pill, no glass, no shrinking. At the top of the page it is the\n * transparent strip described above. Once scrolled past `collapseAfter`\n * pixels, the three content groups (left links / wordmark / right links)\n * each gain a flat town.com-style box: opaque cream, 10px radius, 1px\n * hairline border, whisper of a shadow, charcoal text. On mobile the\n * whole strip becomes a single box instead (logo + hamburger + dropdown).\n * The frosted-glass pill from 2026-07-15 was removed at Josh's request.\n * The `glassDepth`, `rimSideColor`, `rimHighlightColor`, and `navPaddingY`\n * props are gone.\n *\n * PILL ON HOVER (2026-08-12): Desktop only, boxed state only. Hovering an\n * individual group box morphs that box from the 10px-radius rectangle\n * into a fully rounded pill (border-radius transition, pure CSS). It\n * morphs back on mouse-out. The other boxes are unaffected.\n *\n * Source of truth: finart-brand-os/01-identity/logo-marks/wordmark.svg\n */import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useState,useEffect,useRef}from\"react\";const CREAM=\"#FFFDF5\";const CHARCOAL=\"#2B2725\";const BURGUNDY=\"#9E374B\";const SANS=\"'Aeonik', 'Inter', system-ui, sans-serif\";const MONO=\"'Geist Mono', 'DM Mono', monospace\";// Wordmark aspect ratio: 1280 / 330 ≈ 3.88\nconst WORDMARK_ASPECT=1280/330;const NAV_LINKS=[{label:\"Work\",href:\"/projects\"},{label:\"Process\",href:\"/process\"},{label:\"About\",href:\"/about\"}];// Social links shown in the menu panel footer.\nconst SOCIAL_LINKS=[{label:\"LinkedIn\",href:\"https://www.linkedin.com/in/finart/\"}];// Desktop = inline links (mckl-style); mobile (<=767px) = hamburger menu.\n// .fanav-group = the town.com-style box around each content group. It is\n// transparent at the top of the page; the `.fanav-boxed` ancestor class\n// (applied once scrolled / menu open) fades the box styling in. On mobile\n// the group boxes stay off and the whole shell becomes the box instead.\nconst NAV_CSS=`\n.fanav-desktop { display: flex; }\n.fanav-hamburger { display: none; }\n@media (max-width: 767px) {\n  .fanav-desktop { display: none !important; }\n  .fanav-hamburger { display: flex !important; }\n}\n.fanav-group {\n  border-radius: 10px;\n  border: 1px solid transparent;\n  background: transparent;\n  box-shadow: none;\n  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease, border-radius 0.4s cubic-bezier(0.16, 1, 0.3, 1);\n}\n@media (hover: hover) and (min-width: 768px) {\n  .fanav-boxed .fanav-group:hover { border-radius: 999px; }\n}\n.fanav-boxed .fanav-group {\n  background: ${CREAM};\n  border-color: rgba(43,39,37,0.12);\n  box-shadow: 0 1px 2px rgba(0,0,0,0.04);\n  padding: 10px 18px;\n}\n.fanav-shell {\n  border-radius: 14px;\n  border: 1px solid transparent;\n  background: transparent;\n  box-shadow: none;\n  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, margin 0.35s ease;\n}\n@media (max-width: 767px) {\n  .fanav-boxed .fanav-group { background: transparent; border-color: transparent; box-shadow: none; padding: 0; }\n  .fanav-boxed .fanav-shell {\n    background: ${CREAM};\n    border-color: rgba(43,39,37,0.12);\n    box-shadow: 0 1px 2px rgba(0,0,0,0.04);\n    margin: 0 16px;\n  }\n}\n`;function getLuminance(hex){try{const c=hex.replace(\"#\",\"\");const r=parseInt(c.slice(0,2),16)/255;const g=parseInt(c.slice(2,4),16)/255;const b=parseInt(c.slice(4,6),16)/255;const toLinear=x=>x<=.03928?x/12.92:Math.pow((x+.055)/1.055,2.4);return .2126*toLinear(r)+.7152*toLinear(g)+.0722*toLinear(b);}catch{return 0;}}function isDark(value){if(!value)return false;const v=value.trim();if(v.startsWith(\"#\"))return getLuminance(v)<.35;const m=v.match(/rgba?\\(\\s*(\\d+)[,\\s]+(\\d+)[,\\s]+(\\d+)/);if(m){const r=parseInt(m[1])/255;const g=parseInt(m[2])/255;const b=parseInt(m[3])/255;const toLinear=x=>x<=.03928?x/12.92:Math.pow((x+.055)/1.055,2.4);const lum=.2126*toLinear(r)+.7152*toLinear(g)+.0722*toLinear(b);return lum<.35;}return false;}/** Inline FinArt wordmark. Single source of truth. */const LOGO_DRIFT=[\"#A9C7E8\",\"#5B8FD6\",\"#F4B6C8\",\"#E2709A\"]// light blue, medium blue, light pink, medium pink (logo hover only; buttons stay on the dusk set)\n;function WordmarkPaths({fill}){return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"path\",{d:\"M226.335 11.1357H0V13.8146C21.7877 19.1723 30.6913 27.6554 30.6913 56.624V282.279C28.9106 308.149 20.007 316.185 0.445181 320.624V323.303H148.533V320.624C114.281 316.632 103.596 305.023 103.596 274.689V172.131H122.739C157.411 172.131 180.534 197.107 187.212 229.647H189.883V104.791H187.212C180.534 137.804 157.856 162.308 122.739 162.308H103.596V22.2977H126.3C178.308 22.2977 214.342 52.1592 231.677 117.292H234.349L226.335 11.1357Z\",fill:fill}),/*#__PURE__*/_jsx(\"path\",{d:\"M306.468 0C285.571 0 269.57 16.047 269.57 36.5587C269.57 57.0704 285.571 73.1174 306.468 73.1174C327.365 73.1174 342.92 57.0704 342.92 36.5587C342.92 16.047 327.365 0 306.468 0Z\",fill:fill}),/*#__PURE__*/_jsx(\"path\",{d:\"M1088.76 87.4047C1050.08 87.4047 1023.39 116.4 1019.83 188.177H1017.61V88.2976L928.228 114.167V116.846C947.79 118.606 954.468 127.535 954.468 152.958V292.207C954.075 312.456 928.255 320.808 916.104 304.63C910.788 297.565 906.546 288.057 901.884 275.136L808.082 11.1357H749.371L659.994 267.125C653.945 284.223 648.236 296.278 641.087 304.84C628.412 320.02 603.482 311.458 603.299 291.682V155.191C603.299 113.274 580.621 87.4047 538.381 87.4047C505.935 87.4047 481.476 105.238 473.018 132V88.2976L380.97 113.721V116.4C400.977 118.159 407.21 125.303 407.21 148.94V279.049C407.21 321.228 341.585 323.224 341.585 279.338V88.7441L249.563 114.614V117.292C269.57 119.052 275.777 126.196 275.777 149.386V291.209C275.777 309.042 266.899 316.632 249.563 320.624V323.303H493.025V320.624C477.915 317.078 473.018 310.381 473.018 293.888V138.697C478.805 127.089 489.018 116.846 506.38 116.846C527.278 116.846 537.491 130.661 537.491 157.869V293.888C537.491 310.381 532.148 317.078 517.484 320.624V323.303H698.698V320.624C676.885 313.953 664.891 300.559 675.994 268.465L696.027 210.029H800.514L817.85 261.321C829.425 296.54 823.637 313.06 799.624 320.624V323.303H1055.42V320.624C1031.41 317.499 1020.28 311.274 1020.28 291.209V222.53C1020.28 163.201 1039.39 147.6 1068.3 147.6C1079.43 147.6 1086.53 148.94 1091.43 151.619H1093.65V87.4047H1088.76ZM700.008 197.554L748.48 56.1775L796.507 197.554H700.008Z\",fill:fill}),/*#__PURE__*/_jsx(\"path\",{d:\"M1276.44 269.358C1271.1 284.512 1261.33 295.647 1243.52 295.647C1227.08 295.647 1218.64 281.833 1218.64 261.321V103.898H1263.55V94.9686H1218.64V21.4047H1216.86C1191.96 56.1775 1161.27 81.154 1126.6 101.666V103.898H1152.39V271.144C1152.39 306.363 1170.17 330 1207.51 330C1244.86 330 1270.21 303.238 1280 270.697L1276.44 269.358Z\",fill:fill})]});}/**\n * Inline FinArt wordmark. Single source of truth.\n *\n * At rest: solid currentColor, nothing else. Lit (hover / press / focus on\n * the parent link): a copy of the mark filled with the drifting dusk-sky\n * gradient cross-fades in over the solid one. SVG cannot tween a solid fill\n * into a paint server, hence the stacked copy. No glow, no blur, no edges.\n */function Wordmark({height,color,lit=false,hoverColor=true,driftSeconds=12}){const width=Math.round(height*WORDMARK_ASPECT);const[reduceMotion,setReduceMotion]=useState(false);useEffect(()=>{if(typeof window===\"undefined\"||!window.matchMedia)return;const mq=window.matchMedia(\"(prefers-reduced-motion: reduce)\");setReduceMotion(mq.matches);const onChange=e=>setReduceMotion(e.matches);mq.addEventListener?.(\"change\",onChange);return()=>mq.removeEventListener?.(\"change\",onChange);},[]);const on=hoverColor&&lit;return /*#__PURE__*/_jsxs(\"span\",{className:on?\"fa-logo fa-logo-lit\":\"fa-logo\",style:{position:\"relative\",display:\"inline-block\",width,height,lineHeight:0},children:[/*#__PURE__*/_jsx(\"svg\",{width:width,height:height,viewBox:\"0 0 1280 330\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",\"aria-label\":\"FinArt\",role:\"img\",style:{display:\"block\",color,flexShrink:0,transition:\"color 0.3s ease\"},children:/*#__PURE__*/_jsx(WordmarkPaths,{fill:\"currentColor\"})}),hoverColor?/*#__PURE__*/_jsxs(\"svg\",{width:width,height:height,viewBox:\"0 0 1280 330\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",\"aria-hidden\":\"true\",focusable:\"false\",style:{position:\"absolute\",top:0,left:0,display:\"block\",pointerEvents:\"none\",opacity:on?1:0,transition:reduceMotion?\"none\":\"opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1)\"},children:[/*#__PURE__*/_jsx(\"defs\",{children:/*#__PURE__*/_jsxs(\"linearGradient\",{id:\"fa-logo-drift\",gradientUnits:\"userSpaceOnUse\",x1:\"0\",y1:\"0\",x2:\"1280\",y2:\"0\",spreadMethod:\"repeat\",children:[[...LOGO_DRIFT,LOGO_DRIFT[0]].map((c,i)=>/*#__PURE__*/_jsx(\"stop\",{offset:`${i/LOGO_DRIFT.length*100}%`,stopColor:c},i)),!reduceMotion?/*#__PURE__*/_jsx(\"animateTransform\",{attributeName:\"gradientTransform\",type:\"translate\",from:\"0 0\",to:\"-1280 0\",dur:`${Math.max(1.5,driftSeconds/3)}s`,repeatCount:\"indefinite\"}):null]})}),/*#__PURE__*/_jsx(WordmarkPaths,{fill:\"url(#fa-logo-drift)\"})]}):null]});}function NavLink({label,href,color}){const[hover,setHover]=useState(false);return /*#__PURE__*/_jsx(\"a\",{href:href,onMouseEnter:()=>setHover(true),onMouseLeave:()=>setHover(false),style:{fontFamily:MONO,fontSize:12,fontWeight:500,letterSpacing:\"0.8px\",textTransform:\"uppercase\",color,opacity:hover?1:.7,textDecoration:\"none\",transition:\"opacity 0.2s ease, color 0.3s ease\",whiteSpace:\"nowrap\",lineHeight:1},children:label});}/** Staggered three-line menu icon (right-aligned) that morphs to an X. */function MenuIcon({open,color}){const W=22;const ease=\"all 0.35s cubic-bezier(0.16, 1, 0.3, 1)\";const bar={position:\"absolute\",right:0,height:2,borderRadius:2,backgroundColor:color,transition:ease};return /*#__PURE__*/_jsxs(\"div\",{style:{width:W,height:14,position:\"relative\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{...bar,width:W,top:open?6:0,transform:open?\"rotate(45deg)\":\"rotate(0deg)\"}}),/*#__PURE__*/_jsx(\"span\",{style:{...bar,width:14,top:6,opacity:open?0:1,transform:open?\"translateX(6px)\":\"translateX(0)\"}}),/*#__PURE__*/_jsx(\"span\",{style:{...bar,width:open?W:18,top:open?6:12,transform:open?\"rotate(-45deg)\":\"rotate(0deg)\"}})]});}function GridButton({open,onClick,color}){const[hover,setHover]=useState(false);return /*#__PURE__*/_jsx(\"button\",{onClick:onClick,onMouseEnter:()=>setHover(true),onMouseLeave:()=>setHover(false),style:{background:\"transparent\",border:\"none\",width:40,height:40,cursor:\"pointer\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",WebkitAppearance:\"none\",flexShrink:0,padding:0,opacity:hover?.6:1,transition:\"opacity 0.2s ease\"},\"aria-label\":open?\"Close menu\":\"Open menu\",\"aria-expanded\":open,children:/*#__PURE__*/_jsx(MenuIcon,{open:open,color:color})});}/** LinkedIn \"in\" glyph. */function LinkedInGlyph({size=16,color}){return /*#__PURE__*/_jsx(\"svg\",{width:size,height:size,viewBox:\"0 0 24 24\",fill:color,\"aria-hidden\":\"true\",style:{display:\"block\",flexShrink:0},children:/*#__PURE__*/_jsx(\"path\",{d:\"M20.45 20.45h-3.56v-5.57c0-1.33-.02-3.04-1.85-3.04-1.86 0-2.14 1.45-2.14 2.94v5.67H9.34V9h3.42v1.56h.05c.48-.9 1.64-1.85 3.37-1.85 3.6 0 4.27 2.37 4.27 5.46v6.28zM5.34 7.43a2.07 2.07 0 1 1 0-4.13 2.07 2.07 0 0 1 0 4.13zM7.12 20.45H3.56V9h3.56v11.45zM22.22 0H1.77C.8 0 0 .78 0 1.73v20.54C0 23.22.8 24 1.77 24h20.45c.97 0 1.78-.78 1.78-1.73V1.73C24 .78 23.2 0 22.22 0z\"})});}/** Renders the matching brand glyph for a social link label. */function SocialIcon({label,color}){if(label.toLowerCase()===\"linkedin\")return /*#__PURE__*/_jsx(LinkedInGlyph,{color:color});return null;}export default function NavBar(props){const{ctaText=\"Book a call\",ctaHref=\"/start\",sticky=true,collapseOnScroll=true,collapseAfter=120,backgroundColor=CREAM,logoHoverColor=true,logoDriftSeconds=12}=props;const navLinks=NAV_LINKS;const dark=isDark(backgroundColor);const topTextColor=dark?CREAM:CHARCOAL;const panelBorder=\"rgba(43,39,37,0.08)\";const[menuOpen,setMenuOpen]=useState(false);const[logoLit,setLogoLit]=useState(false);// Only light the wordmark on hover for devices that actually hover. On\n// touch, a tap both lit the mark and navigated, and the cross-fade racing\n// the navigation read as a bounce; the lit state also never cleared.\nconst[canHover,setCanHover]=useState(false);useEffect(()=>{if(typeof window===\"undefined\"||!window.matchMedia)return;const mq=window.matchMedia(\"(hover: hover) and (pointer: fine)\");setCanHover(mq.matches);const onChange=e=>{setCanHover(e.matches);if(!e.matches)setLogoLit(false);};mq.addEventListener?.(\"change\",onChange);return()=>mq.removeEventListener?.(\"change\",onChange);},[]);const[scrolled,setScrolled]=useState(false);const containerRef=useRef(null);// Detect scrolling past the hero. Framer can drive scrolling on the\n// window OR on a nested container, so we use two independent signals and\n// OR them together: an IntersectionObserver sentinel (reliable when the\n// document/window scrolls) and a capture-phase scroll listener that reads\n// every plausible scroll source (covers nested scroll containers).\n// Whichever one detects movement wins; a signal that can't observe a\n// given setup simply stays false and never forces the boxed state.\nuseEffect(()=>{if(!sticky||!collapseOnScroll){setScrolled(false);return;}if(typeof window===\"undefined\"||typeof document===\"undefined\")return;let byObserver=false;let byScroll=false;const apply=()=>setScrolled(byObserver||byScroll);// Signal 1 — sentinel placed `collapseAfter`px down the document.\nlet sentinel=null;let io=null;if(\"IntersectionObserver\"in window){sentinel=document.createElement(\"div\");sentinel.setAttribute(\"data-fanav-sentinel\",\"\");sentinel.style.cssText=`position:absolute;top:${collapseAfter}px;left:0;width:1px;height:1px;pointer-events:none;opacity:0;`;document.body.appendChild(sentinel);io=new IntersectionObserver(// Only \"scrolled\" when the sentinel is ABOVE the viewport\n// (top < 0). Not-intersecting because it's still BELOW the fold\n// (collapseAfter taller than the window) must NOT box the bar.\n([entry])=>{byObserver=!entry.isIntersecting&&entry.boundingClientRect.top<0;apply();},{root:null,threshold:0});io.observe(sentinel);}// Signal 2 — capture-phase scroll listener, multi-source read.\nconst readY=e=>{let y=window.scrollY||window.pageYOffset||document.documentElement?.scrollTop||document.body?.scrollTop||0;const t=e?.target;if(t&&t!==document&&t!==window&&typeof t.scrollTop===\"number\"){y=Math.max(y,t.scrollTop);}return y;};const onScroll=e=>{byScroll=readY(e)>collapseAfter;apply();};const opts={capture:true,passive:true};window.addEventListener(\"scroll\",onScroll,opts);onScroll();return()=>{io?.disconnect();sentinel?.remove();window.removeEventListener(\"scroll\",onScroll,opts);};},[sticky,collapseOnScroll,collapseAfter]);useEffect(()=>{if(!menuOpen)return;const handleClickOutside=e=>{if(containerRef.current&&!containerRef.current.contains(e.target)){setMenuOpen(false);}};document.addEventListener(\"mousedown\",handleClickOutside);return()=>document.removeEventListener(\"mousedown\",handleClickOutside);},[menuOpen]);const wordmarkHeight=24;// Boxed = scrolled past the hero, or the mobile menu is open. The bar\n// itself never changes width — only the group boxes fade in/out (CSS,\n// via the .fanav-boxed class) and the text snaps to charcoal for\n// legibility on the cream boxes.\n// `Box After = 0` means \"boxed from the first paint\" — used on mobile so\n// the bar renders as the cream box immediately with no scroll-in. This is\n// derived from props, not state, so there is no unboxed first frame and\n// therefore no transition to watch.\nconst alwaysBoxed=sticky&&collapseOnScroll&&collapseAfter<=0;const boxed=alwaysBoxed||scrolled||menuOpen;const textColor=boxed?CHARCOAL:topTextColor;const menuMaxHeight=(navLinks.length+1)*48+28;// Split the links so they flank the centered logo (Analogue-style)\nconst leftLinks=navLinks.slice(0,2);const rightLinks=[...navLinks.slice(2),{label:ctaText,href:ctaHref}];return /*#__PURE__*/_jsxs(\"div\",{ref:containerRef,className:boxed?\"fanav-boxed\":undefined,style:{width:\"100%\",position:sticky?\"sticky\":\"relative\",top:0,zIndex:1e3,paddingTop:16,pointerEvents:\"none\",display:\"flex\",justifyContent:\"center\"},children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:NAV_CSS}}),/*#__PURE__*/_jsxs(\"div\",{className:\"fanav-shell\",style:{pointerEvents:\"auto\",position:\"relative\",display:\"flex\",flexDirection:\"column\",width:\"100%\",maxWidth:1440},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",padding:\"10px clamp(24px, 5vw, 48px)\"},children:[/*#__PURE__*/_jsx(\"div\",{className:\"fanav-desktop\",style:{flex:\"1 1 0\",justifyContent:\"flex-start\"},children:/*#__PURE__*/_jsx(\"nav\",{className:\"fanav-group\",style:{display:\"flex\",alignItems:\"center\",gap:24},children:leftLinks.map((link,i)=>/*#__PURE__*/_jsx(NavLink,{label:link.label,href:link.href,color:textColor},i))})}),/*#__PURE__*/_jsx(\"a\",{href:\"/\",\"aria-label\":\"FinArt — Home\",className:\"fanav-group\",style:{textDecoration:\"none\",display:\"inline-flex\",alignItems:\"center\",WebkitTapHighlightColor:\"transparent\",touchAction:\"manipulation\"},onMouseEnter:canHover?()=>setLogoLit(true):undefined,onMouseLeave:canHover?()=>setLogoLit(false):undefined,onFocus:e=>{if(e.currentTarget.matches(\":focus-visible\"))setLogoLit(true);},onBlur:()=>setLogoLit(false),children:/*#__PURE__*/_jsx(Wordmark,{height:wordmarkHeight,color:textColor,lit:logoLit,hoverColor:logoHoverColor,driftSeconds:logoDriftSeconds})}),/*#__PURE__*/_jsx(\"div\",{className:\"fanav-desktop\",style:{flex:\"1 1 0\",justifyContent:\"flex-end\"},children:/*#__PURE__*/_jsx(\"nav\",{className:\"fanav-group\",style:{display:\"flex\",alignItems:\"center\",gap:24},children:rightLinks.map((link,i)=>/*#__PURE__*/_jsx(NavLink,{label:link.label,href:link.href,color:textColor},i))})}),/*#__PURE__*/_jsx(\"div\",{className:\"fanav-hamburger\",style:{alignItems:\"center\"},children:/*#__PURE__*/_jsx(GridButton,{open:menuOpen,onClick:()=>setMenuOpen(v=>!v),color:textColor})})]}),/*#__PURE__*/_jsx(\"div\",{role:\"menu\",style:{overflow:\"hidden\",maxHeight:menuOpen?menuMaxHeight:0,opacity:menuOpen?1:0,transition:\"max-height 0.42s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease\"},children:/*#__PURE__*/_jsx(\"nav\",{style:{display:\"flex\",flexDirection:\"column\",padding:\"2px clamp(24px, 5vw, 48px) 18px\"},children:[...navLinks,{label:ctaText,href:ctaHref}].map((link,i)=>/*#__PURE__*/_jsx(\"a\",{href:link.href,onClick:()=>setMenuOpen(false),style:{fontFamily:MONO,fontSize:13,fontWeight:500,letterSpacing:\"0.8px\",textTransform:\"uppercase\",color:textColor,opacity:.85,textDecoration:\"none\",padding:\"12px 0\",borderBottom:i<navLinks.length?`1px solid ${panelBorder}`:\"none\",display:\"block\"},children:link.label},i))})})]})]});}addPropertyControls(NavBar,{logoHoverColor:{type:ControlType.Boolean,title:\"Logo Hover Color\",defaultValue:true},logoDriftSeconds:{type:ControlType.Number,title:\"Drift Speed\",defaultValue:12,min:4,max:30,step:1,unit:\"s\",hidden:p=>!p.logoHoverColor},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#FFFDF5\",description:\"Behind the nav. Drives dark/light text contrast at the top of the page only — the strip itself is always transparent there.\"},ctaText:{type:ControlType.String,title:\"CTA Text\",defaultValue:\"Book a call\"},ctaHref:{type:ControlType.Link,title:\"CTA URL\"},sticky:{type:ControlType.Boolean,title:\"Sticky\",defaultValue:true},collapseOnScroll:{type:ControlType.Boolean,title:\"Box on Scroll\",defaultValue:true,description:\"Fade the town.com-style boxes in around the nav groups once the page scrolls past the hero. Requires Sticky.\"},collapseAfter:{type:ControlType.Number,title:\"Box After\",defaultValue:700,min:0,max:2400,step:20,unit:\"px\",description:\"Scroll distance before the boxes fade in. Set to roughly the hero height so the plain transparent bar holds over the hero. Set to 0 to render boxed immediately with no scroll-in (used on mobile).\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"NavBar\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Nav_v95.map"],"mappings":"oNAoFE,SAAS,EAAa,EAAI,CAAC,GAAG,CAAC,IAAM,EAAE,EAAI,QAAQ,IAAI,EA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