{"version":3,"file":"ARCA_Button.BlB4pIHA.mjs","names":["_Fragment"],"sources":["https:/framerusercontent.com/modules/zF4A6WS4ixx2OM0nIxxQ/MA8WBhGiV85xV2h872mx/ARCA_Button.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * ARCA BUTTON\n *\n * The one call-to-action style for the site. Code components that draw\n * their own button add the `arca-cta` class and render <CtaInner /> inside\n * it; everywhere else uses the default export.\n *\n * Rest: soft tint of the text color, small caps label, short arrow.\n * Hover (fine pointers only): one motion. A solid fill rises from the\n * bottom edge and the label and arrow take the page color as it passes\n * over them (an inverted copy revealed by the same clip). Nothing moves or\n * scales. Touch devices show the fill while pressed.\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */const EASE=\"cubic-bezier(0.23, 1, 0.32, 1)\";const BG=\"var(--token-4321a524-8651-4268-85f9-e884d8cb6223, #0e1011)\";export const ARCA_CTA_CSS=`\n.arca-cta { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; border: 0; border-radius: 0; background: color-mix(in srgb, currentColor 9%, transparent); color: inherit; font: inherit; font-size: 13px; font-weight: 500; letter-spacing: 1px; line-height: 1; text-transform: uppercase; text-decoration: none; white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent; }\n.arca-cta-face { display: inline-flex; align-items: center; justify-content: center; gap: 14px; }\n.arca-cta-face svg { flex: 0 0 auto; display: block; }\n.arca-cta-ink { position: absolute; inset: 0; padding: inherit; background: currentColor; clip-path: inset(100% 0 0 0); transition: clip-path 420ms ${EASE}; pointer-events: none; }\n.arca-cta-ink .arca-cta-face { width: 100%; height: 100%; color: ${BG}; }\n@media (hover: hover) and (pointer: fine) {\n    .arca-cta:hover .arca-cta-ink { clip-path: inset(0 0 0 0); }\n}\n.arca-cta:active .arca-cta-ink { clip-path: inset(0 0 0 0); transition-duration: 160ms; }\n.arca-cta:focus-visible { outline: 1px solid currentColor; outline-offset: 3px; }\n.arca-cta[disabled] { opacity: 0.6; cursor: default; pointer-events: none; }\n@media (prefers-reduced-motion: reduce) { .arca-cta-ink { transition: none; } }\n`;const Arrow=()=>/*#__PURE__*/_jsx(\"svg\",{width:\"16\",height:\"10\",viewBox:\"0 0 16 10\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M0 5h14M10 1l4 4-4 4\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"1\"})});// Contents of an .arca-cta element. The stylesheet ships with it so any\n// component that uses it is styled without extra setup.\nexport function CtaInner({label,arrow=true}){const face=/*#__PURE__*/_jsxs(\"span\",{className:\"arca-cta-face\",children:[/*#__PURE__*/_jsx(\"span\",{children:label}),arrow?/*#__PURE__*/_jsx(Arrow,{}):null]});return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:ARCA_CTA_CSS}),face,/*#__PURE__*/_jsx(\"span\",{className:\"arca-cta-ink\",\"aria-hidden\":\"true\",children:face})]});}export default function ArcaButton({label,link,newTab,fullWidth,style}){const text=label||\"Book a consultation\";return /*#__PURE__*/_jsx(\"a\",{className:\"arca-cta\",href:link||\"/contact\",target:newTab?\"_blank\":undefined,rel:newTab?\"noopener\":undefined,style:{fontFamily:'\"Satoshi\", -apple-system, sans-serif',color:\"var(--token-c5c4fdcb-9482-48bb-aedf-353188472aae, #f4f3ee)\",width:fullWidth?\"100%\":undefined,boxSizing:\"border-box\",...style},children:/*#__PURE__*/_jsx(CtaInner,{label:text})});}ArcaButton.defaultProps={label:\"Book a consultation\",link:\"/contact\",newTab:false,fullWidth:false};addPropertyControls(ArcaButton,{label:{type:ControlType.String,title:\"Label\",defaultValue:\"Book a consultation\"},link:{type:ControlType.Link,title:\"Link\"},newTab:{type:ControlType.Boolean,title:\"New tab\",defaultValue:false},fullWidth:{type:ControlType.Boolean,title:\"Full width\",defaultValue:false}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ArcaButton\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"ARCA_CTA_CSS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CtaInner\":{\"type\":\"reactComponent\",\"name\":\"CtaInner\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ARCA_Button.map"],"mappings":"qKA8BA,SAAgB,EAAS,CAAC,QAAM,QAAM,IAAM,CAAC,IAAM,EAAkB,EAAM,OAAO,CAAC,UAAU,gBAAgB,SAAS,CAAc,EAAK,OAAO,CAAC,SAAS,CAAK,CAAC,EAAE,EAAmB,EAAK,EAAM,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,EAAE,OAAoB,EAAMA,EAAU,CAAC,SAAS,CAAc,EAAK,QAAQ,CAAC,SAAS,CAAY,CAAC,EAAE,EAAkB,EAAK,OAAO,CAAC,UAAU,eAAe,cAAc,OAAO,SAAS,CAAI,CAAC,CAAC,CAAC,CAAC,CAAE,CAAC,SAAwB,EAAW,CAAC,QAAM,OAAK,SAAO,YAAU,SAAO,CAAC,IAAM,EAAK,GAAO,sBAAsB,OAAoB,EAAK,IAAI,CAAC,UAAU,WAAW,KAAK,GAAM,WAAW,OAAO,EAAO,SAAS,IAAA,GAAU,IAAI,EAAO,WAAW,IAAA,GAAU,MAAM,CAAC,WAAW,uCAAuC,MAAM,6DAA6D,MAAM,EAAU,OAAO,IAAA,GAAU,UAAU,aAAa,GAAG,CAAK,EAAE,SAAsB,EAAK,EAAS,CAAC,MAAM,CAAI,CAAC,CAAC,CAAC,CAAE,yBA9B7yB,IAAoD,EAezH,EAAK,iCAAuC,EAAG,6DAA0E,EAAa;;;;sJAIO,EAAK;mEACxF,EAAG;;;;;;;;EAQ9D,MAAuB,EAAK,MAAM,CA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