{"version":3,"file":"NextProject.DaOglW-6.mjs","names":[],"sources":["https:/framerusercontent.com/modules/eWXQ0JSCTXmHO3vOeP4n/HhLiszJBlVCqpndozZXn/NextProject.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * \"Next case study\" card for the end of a case study page.\n *\n * Pairs with CaseStudyNav to close the dead end: the nav catches people who\n * want out mid-page, this catches the ones who read to the bottom and are\n * most worth keeping.\n *\n * padX exists because the MCP cannot reliably place a component instance at\n * a page's breakpoint root (it comes back position:absolute with a negative\n * left that can't be corrected). The working placement is as the last child\n * of an existing section stack, which already supplies horizontal padding,\n * so set padX to 0 there and leave it at 80 for a root-level placement.\n *\n * There is deliberately no defaultProps size hint: a 1440x220 intrinsic box\n * made Framer centre-anchor every freshly inserted instance inside a narrower\n * section, which came back position:absolute with a negative left that no\n * follow-up update could correct. Existing instances keep the size stored on\n * their own canvas node, so dropping the hint only affects new inserts.\n */const INK=\"rgb(31, 58, 45)\";const css=padX=>`\n@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:wght@400;500;600&display=swap');\n\n.np-wrap {\n  width: 100%;\n  box-sizing: border-box;\n  padding: 28px ${padX}px 8px;\n  background: transparent;\n}\n.np-card {\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n  gap: 32px;\n  width: 100%;\n  box-sizing: border-box;\n  padding: 34px 40px;\n  border-radius: 20px;\n  background: rgb(212, 220, 201);\n  text-decoration: none;\n  transition: transform 220ms ease, box-shadow 220ms ease;\n}\n.np-card:hover {\n  transform: translateY(-3px);\n  box-shadow: 0 18px 40px rgba(31, 58, 45, 0.16);\n}\n.np-copy { display: flex; flex-direction: column; gap: 7px; min-width: 0; }\n.np-eyebrow {\n  margin: 0;\n  font-family: 'Inter', sans-serif;\n  font-size: 11px;\n  font-weight: 600;\n  letter-spacing: 0.08em;\n  text-transform: uppercase;\n  color: rgba(31, 58, 45, 0.6);\n}\n.np-title {\n  margin: 0;\n  font-family: 'DM Serif Display', serif;\n  font-size: 32px;\n  line-height: 1.15;\n  letter-spacing: -0.01em;\n  color: ${INK};\n}\n.np-blurb {\n  margin: 0;\n  font-family: 'Inter', sans-serif;\n  font-size: 15px;\n  line-height: 1.5;\n  color: rgba(31, 58, 45, 0.75);\n  max-width: 60ch;\n}\n.np-arrow {\n  flex: 0 0 auto;\n  width: 54px;\n  height: 54px;\n  border-radius: 50%;\n  background: ${INK};\n  color: rgb(249, 244, 224);\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  font-size: 21px;\n  transition: transform 220ms ease;\n}\n.np-card:hover .np-arrow { transform: translateX(5px); }\n\n@media (max-width: 720px) {\n  .np-wrap { padding: 22px ${Math.min(padX,20)}px 8px; }\n  .np-card { padding: 26px 24px; gap: 20px; }\n  .np-title { font-size: 25px; }\n  .np-blurb { font-size: 14px; }\n  .np-arrow { width: 44px; height: 44px; font-size: 18px; }\n}\n`;export default function NextProject(props){const eyebrow=props.eyebrow||\"Next case study\";const title=props.title||\"Cultural Navigator\";const blurb=props.blurb||\"Reimagining a B2B cultural learning app for Berlitz, another look at helping people find their footing somewhere unfamiliar.\";const href=props.href||\"/cultural-navigator\";const padX=typeof props.padX===\"number\"?props.padX:80;return /*#__PURE__*/_jsxs(\"div\",{className:\"np-wrap\",children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:css(padX)}}),/*#__PURE__*/_jsxs(\"a\",{className:\"np-card\",href:href,children:[/*#__PURE__*/_jsxs(\"div\",{className:\"np-copy\",children:[/*#__PURE__*/_jsx(\"p\",{className:\"np-eyebrow\",children:eyebrow}),/*#__PURE__*/_jsx(\"p\",{className:\"np-title\",children:title}),blurb?/*#__PURE__*/_jsx(\"p\",{className:\"np-blurb\",children:blurb}):null]}),/*#__PURE__*/_jsx(\"div\",{className:\"np-arrow\",\"aria-hidden\":true,children:\"→\"})]})]});}addPropertyControls(NextProject,{eyebrow:{type:ControlType.String,title:\"Eyebrow\",defaultValue:\"Next case study\"},title:{type:ControlType.String,title:\"Title\",defaultValue:\"Cultural Navigator\"},blurb:{type:ControlType.String,title:\"Blurb\",displayTextArea:true,defaultValue:\"Reimagining a B2B cultural learning app for Berlitz, another look at helping people find their footing somewhere unfamiliar.\"},href:{type:ControlType.String,title:\"Link\",defaultValue:\"/cultural-navigator\"},padX:{type:ControlType.Number,title:\"Side padding\",description:\"Set 0 when nested inside a section that already pads.\",defaultValue:80,min:0,max:160,step:4}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"NextProject\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./NextProject.map"],"mappings":"mKA4FE,SAAwB,EAAY,EAAM,CAAC,IAAM,EAAQ,EAAM,SAAS,kBAAwB,EAAM,EAAM,OAAO,qBAA2B,EAAM,EAAM,OAAO,+HAAqI,EAAK,EAAM,MAAM,sBAA4B,EAAK,OAAO,EAAM,MAAO,SAAS,EAAM,KAAK,GAAG,OAAoB,EAAM,MAAM,CAAC,UAAU,UAAU,SAAS,CAAc,EAAK,QAAQ,CAAC,wBAAwB,CAAC,OAAO,EAAI,CAAI,CAAC,CAAC,CAAC,EAAe,EAAM,IAAI,CAAC,UAAU,UAAe,OAAK,SAAS,CAAc,EAAM,MAAM,CAAC,UAAU,UAAU,SAAS,CAAc,EAAK,IAAI,CAAC,UAAU,aAAa,SAAS,CAAO,CAAC,EAAe,EAAK,IAAI,CAAC,UAAU,WAAW,SAAS,CAAK,CAAC,EAAE,EAAmB,EAAK,IAAI,CAAC,UAAU,WAAW,SAAS,CAAK,CAAC,EAAE,IAAI,CAAC,CAAC,EAAe,EAAK,MAAM,CAAC,UAAU,WAAW,cAAc,GAAK,SAAS,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAE,qBA5F32B,IAAoD,EAkBnG,EA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