{"version":3,"file":"CodekilnFAQ.DSCRLliP.mjs","names":["useRef","useState"],"sources":["https:/framerusercontent.com/modules/BkNKuvXmVh0iJ8BF2i7f/GUjv5V6O7GdghFEHorxj/CodekilnFAQ.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useRef,useState}from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{INK,PAPER,ACC,MONO,SANS,DISP,EASE,useKitFonts,useWidth,Index}from\"https://framerusercontent.com/modules/UomOS5ub8ir7K5YR4BCY/huedouY0vnwRDXYELXsV/CodekilnKit.js\";const DEF=[{q:\"How much does a typical build cost?\",a:\"Most first releases land between CA$180k and CA$420k: a two-week discovery sprint, then 8–14 weeks of a build team. The sprint ends with a fixed quote, so you know the number before you commit to it.\"},{q:\"Do you work with our in-house engineers?\",a:\"Usually, yes. Your engineers review our pull requests from week one, and by handover they're writing most of them. We plan the handover from the first sprint.\"},{q:\"Who owns the code?\",a:\"You do, from the first commit. Everything lives in your GitHub organisation and your cloud accounts. We never hold anything hostage.\"},{q:\"Can you take over an existing product?\",a:\"Yes. We start with a two-week audit of the codebase, infrastructure and analytics, then propose a plan that keeps the lights on while we improve it.\"},{q:\"How fast can you start?\",a:\"Discovery sprints usually start within two weeks of signing. Build teams take three to four weeks to assemble, because we staff from people, not a bench.\"},{q:\"Where are you, and what hours do you keep?\",a:\"Vancouver and Porto, so between us we cover 16 hours of the working day. On-call is 24/7 for products we run.\"}];export default function CodekilnFAQ(props){const{index=\"06\",label=\"Questions\",heading=\"Straight answers.\",items=DEF,dark=false}=props;useKitFonts();const ref=useRef(null);const w=useWidth(ref);const[open,setOpen]=useState(0);const phone=w<700,tablet=w<1100;const fg=dark?PAPER:INK,bg=dark?INK:PAPER;return /*#__PURE__*/_jsxs(\"section\",{ref:ref,style:{position:\"relative\",width:\"100%\",background:bg,color:fg,padding:phone?\"88px 20px\":\"140px 32px\",boxSizing:\"border-box\",...props.style},children:[/*#__PURE__*/_jsxs(\"div\",{style:{maxWidth:1376,margin:\"0 auto\",display:\"grid\",gridTemplateColumns:tablet?\"1fr\":\"1fr 1.4fr\",gap:tablet?36:64},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:24},children:[/*#__PURE__*/_jsx(Index,{n:index,label:label,color:fg}),/*#__PURE__*/_jsx(\"h2\",{style:{margin:0,fontFamily:DISP,fontWeight:500,fontStretch:\"112%\",fontSize:phone?36:56,lineHeight:1,letterSpacing:\"-0.04em\"},children:heading}),/*#__PURE__*/_jsxs(\"p\",{style:{margin:0,fontFamily:SANS,fontSize:16,lineHeight:1.5,opacity:.7,maxWidth:380},children:[\"Something else? Ask a named engineer at \",/*#__PURE__*/_jsx(\"a\",{href:\"mailto:hello@tessvik.dev\",style:{color:fg,textDecorationColor:ACC,textUnderlineOffset:3},children:\"hello@tessvik.dev\"}),\".\"]})]}),/*#__PURE__*/_jsx(\"div\",{children:items.map((it,i)=>{const on=open===i;const id=`ckfaq-${i}`;return /*#__PURE__*/_jsxs(\"div\",{style:{borderTop:`1px solid ${fg}22`,borderBottom:i===items.length-1?`1px solid ${fg}22`:\"none\"},children:[/*#__PURE__*/_jsxs(\"button\",{id:id+\"-b\",\"aria-expanded\":on,\"aria-controls\":id,onClick:()=>setOpen(on?-1:i),className:\"ck-q\",style:{all:\"unset\",boxSizing:\"border-box\",cursor:\"pointer\",width:\"100%\",display:\"grid\",gridTemplateColumns:\"44px 1fr 28px\",alignItems:\"center\",gap:8,padding:phone?\"20px 0\":\"26px 0\"},children:[/*#__PURE__*/_jsxs(\"span\",{style:{fontFamily:MONO,fontSize:11,color:on?ACC:fg,opacity:on?1:.5},children:[\"0\",i+1]}),/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:SANS,fontWeight:500,fontSize:phone?18:22,letterSpacing:\"-0.02em\",lineHeight:1.25},children:it.q}),/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":true,style:{width:28,height:28,borderRadius:99,display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",background:on?ACC:\"transparent\",border:on?\"none\":`1px solid ${fg}33`,color:INK,fontFamily:MONO,transform:`rotate(${on?45:0}deg)`,transition:`transform .45s ${EASE}, background .3s ${EASE}`},children:\"+\"})]}),/*#__PURE__*/_jsx(\"div\",{id:id,role:\"region\",\"aria-labelledby\":id+\"-b\",style:{display:\"grid\",gridTemplateRows:on?\"1fr\":\"0fr\",transition:`grid-template-rows .5s ${EASE}`},children:/*#__PURE__*/_jsx(\"div\",{style:{overflow:\"hidden\"},children:/*#__PURE__*/_jsx(\"p\",{style:{margin:0,padding:phone?\"0 0 22px 52px\":\"0 60px 28px 52px\",fontFamily:SANS,fontSize:16,lineHeight:1.6,opacity:on?.8:0,visibility:on?\"visible\":\"hidden\",transform:on?\"none\":\"translateY(-6px)\",transition:`opacity .4s ${EASE} .08s, transform .5s ${EASE}, visibility 0s linear ${on?\"0s\":\".5s\"}`},children:it.a})})})]},i);})})]}),/*#__PURE__*/_jsx(\"style\",{children:`.ck-q:hover span:nth-child(2){text-decoration:underline;text-decoration-color:${ACC};text-underline-offset:5px}.ck-q:focus-visible{outline:2px solid ${ACC};outline-offset:4px}`})]});}addPropertyControls(CodekilnFAQ,{index:{type:ControlType.String,title:\"Index\",defaultValue:\"06\"},label:{type:ControlType.String,title:\"Label\",defaultValue:\"Questions\"},heading:{type:ControlType.String,title:\"Heading\",defaultValue:\"Straight answers.\"},items:{type:ControlType.Array,title:\"Items\",control:{type:ControlType.Object,controls:{q:{type:ControlType.String,defaultValue:\"Question?\"},a:{type:ControlType.String,displayTextArea:true,defaultValue:\"Answer.\"}}},defaultValue:DEF},dark:{type:ControlType.Boolean,title:\"Dark\",defaultValue:false}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CodekilnFAQ\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./C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