{"version":3,"file":"FeaturedCaseStudySection.BK9octT5.mjs","names":["p","_jsxs","_jsx","__esmMin","p","c","init_jsx_runtime","addPropertyControls","init_framer_ChujFWHC","hasStat","value","suffix","description","FeaturedCaseStudySection","p$1","stats","x","href","C","stat","index","text","init_FeaturedCaseStudySection","title","multiline","ControlType"],"sources":["https:/framerusercontent.com/modules/EiTUlQnyrjxuBy6FjoIA/5CSWjMrX7v5y3ekEPBtV/FeaturedCaseStudySection.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n */const C={navy:\"#031E2A\",teal:\"#06425C\",orange:\"#F28705\",grey:\"#7890A4\",pale:\"#F4F7F8\",border:\"#D8E2E7\",white:\"#FFFFFF\"};function hasStat(value,suffix,description){return value!==\"\"&&value!==undefined&&(Number(value)!==0||suffix||/lost time/i.test(description||\"\"));}export default function FeaturedCaseStudySection(p){const stats=[[p.stat1Value,p.stat1Suffix,p.stat1Description],[p.stat2Value,p.stat2Suffix,p.stat2Description],[p.stat3Value,p.stat3Suffix,p.stat3Description],[p.stat4Value,p.stat4Suffix,p.stat4Description]].filter(x=>hasStat(x[0],x[1],x[2]));const href=p.caseStudyLink||(p.caseStudyName?`/case-studies/${p.caseStudyName.toLowerCase().replace(/&/g,\"and\").replace(/[^a-z0-9]+/g,\"-\").replace(/^-|-$/g,\"\")}`:\"\");return /*#__PURE__*/_jsxs(\"section\",{className:\"featured-case-study\",style:p.style,children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                .featured-case-study,.featured-case-study *{box-sizing:border-box}\n                .featured-case-study{width:100%;min-width:0;overflow:hidden;background:${C.white};color:${C.navy};font-family:\"Zalando Sans\",Arial,sans-serif;padding:clamp(64px,8vw,124px) clamp(22px,5vw,80px);border-top:1px solid ${C.border}}\n                .featured-case-study .inner{max-width:1360px;margin:auto;min-width:0}\n                .featured-case-study .eyebrow{display:flex;align-items:center;gap:10px;color:${C.grey};font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase}\n                .featured-case-study .eyebrow i{width:7px;height:7px;border-radius:50%;background:${C.orange}}\n                .featured-case-study .heading{font:600 clamp(32px,4.1vw,68px)/.98 \"Zalando Sans Expanded\",\"Zalando Sans\",Arial,sans-serif;letter-spacing:-.035em;margin:18px 0 22px;max-width:900px}\n                .featured-case-study .proof{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);margin-top:52px;border:1px solid ${C.border};border-radius:22px;overflow:hidden}\n                .featured-case-study .image{min-height:440px;background:${C.pale} center/cover no-repeat}\n                .featured-case-study .copy{padding:clamp(30px,4vw,56px)}\n                .featured-case-study .copy h3{font:600 clamp(28px,3vw,48px)/1 \"Zalando Sans Expanded\",\"Zalando Sans\",Arial;margin:18px 0}\n                .featured-case-study .meta{color:${C.grey};font-size:12px;text-transform:uppercase;letter-spacing:.06em}\n                .featured-case-study .copy>p{color:${C.grey};line-height:1.55}\n                .featured-case-study .stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:28px 0;border:1px solid ${C.border}}\n                .featured-case-study .stat{padding:18px;border-right:1px solid ${C.border};border-bottom:1px solid ${C.border}}\n                .featured-case-study .stat:nth-child(2n){border-right:0}\n                .featured-case-study .stat:nth-last-child(-n+2){border-bottom:0}\n                .featured-case-study .stat strong{font:600 25px \"Zalando Sans Expanded\",\"Zalando Sans\",Arial;color:${C.teal}}\n                .featured-case-study .stat small{display:block;color:${C.grey};margin-top:6px}\n                .featured-case-study a{display:inline-block;color:${C.teal};font-size:12px;font-weight:700;text-decoration:none;border-bottom:1px solid ${C.orange};padding-bottom:6px}\n                @media(max-width:900px){.featured-case-study .proof{grid-template-columns:1fr}.featured-case-study .image{min-height:330px}}\n                @media(max-width:809px){.featured-case-study{padding:40px 20px}.featured-case-study .image{min-height:250px}.featured-case-study .proof{margin-top:28px}.featured-case-study .copy{padding:20px}.featured-case-study .stats{grid-template-columns:repeat(2,minmax(0,1fr));margin:24px 0}.featured-case-study .stat{padding:12px 10px;min-width:0}.featured-case-study .stat strong{font-size:clamp(18px,5.128vw,20px);line-height:1.2;word-break:normal;overflow-wrap:normal}.featured-case-study .stat small{font-size:12px;line-height:1.4}.featured-case-study a{display:inline-flex;align-items:center;min-height:44px;max-width:100%;line-height:1.4;white-space:normal}.featured-case-study .copy h3{font-size:28px;line-height:1.1;word-break:normal;overflow-wrap:normal}}\n            `}),/*#__PURE__*/_jsxs(\"div\",{className:\"inner\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"eyebrow\",children:[/*#__PURE__*/_jsx(\"i\",{}),p.eyebrow]}),/*#__PURE__*/_jsx(\"h2\",{className:\"heading\",children:p.heading}),/*#__PURE__*/_jsxs(\"div\",{className:\"proof\",children:[/*#__PURE__*/_jsx(\"div\",{className:\"image\",style:{backgroundImage:p.caseStudyImage?`url(${p.caseStudyImage})`:undefined}}),/*#__PURE__*/_jsxs(\"article\",{className:\"copy\",children:[/*#__PURE__*/_jsx(\"div\",{className:\"meta\",children:[p.caseStudyIndustry,p.caseSudyLocation||p.caseStudyLocation].filter(Boolean).join(\" \\xb7 \")}),/*#__PURE__*/_jsx(\"h3\",{children:p.caseStudyName}),(p.caseSudyClient||p.caseStudyClient)&&/*#__PURE__*/_jsx(\"div\",{className:\"meta\",children:p.caseSudyClient||p.caseStudyClient}),/*#__PURE__*/_jsx(\"p\",{children:p.caseStudySummary}),stats.length>0&&/*#__PURE__*/_jsx(\"div\",{className:\"stats\",children:stats.map((stat,index)=>/*#__PURE__*/_jsxs(\"div\",{className:\"stat\",children:[/*#__PURE__*/_jsxs(\"strong\",{children:[stat[0],stat[1]]}),/*#__PURE__*/_jsx(\"small\",{children:stat[2]})]},index))}),href&&/*#__PURE__*/_jsxs(\"a\",{href:href,children:[p.ctaLabel||\"VIEW CASE STUDY\",\" →\"]})]})]})]})]});}FeaturedCaseStudySection.defaultProps={eyebrow:\"PROJECT PROOF\",heading:\"CONNECTED DELIVERY IN PRACTICE\",caseStudyName:\"MAJOR LNG SITE\",caseStudyClient:\"\",caseStudyLocation:\"\",caseStudyIndustry:\"LNG / ENERGY INFRASTRUCTURE\",caseStudySummary:\"PACE connected project controls, execution visibility, certification and field coordination across a complex LNG project.\",caseSudyLink:\"/case-studies/major-lng-site\",stat1Value:15,stat1Suffix:\"M+\",stat1Description:\"Safe man-hours\",stat2Value:0,stat2Suffix:\"\",stat2Description:\"Lost time incidents\",stat3Value:30,stat3Suffix:\"%\",stat3Description:\"Schedule improvement\",stat4Value:6405,stat4Suffix:\"\",stat4Description:\"Joints certified\",ctaLabel:\"VIEW CASE STUDY\"};const text=(title,multiline=false)=>({type:ControlType.String,title,displayTextArea:multiline});addPropertyControls(FeaturedCaseStudySection,{eyebrow:text(\"Eyebrow\"),heading:text(\"Heading\"),caseStudyName:text(\"Case Study Name\"),caseSudyClient:text(\"Client\"),caseSudyLocation:text(\"Location\"),caseStudyIndustry:text(\"Industry\"),caseStudySummary:text(\"Summary\",true),caseStudyImage:{type:ControlType.Image,title:\"Image\"},caseStudyLink:{type:ControlType.Link,title:\"Case Study Link\"},stat1Value:{type:ControlType.Number,title:\"Stat 1 Value\"},stat1Suffix:text(\"Stat 1 Suffix\"),stat1Description:text(\"Stat 1 Description\"),stat2Value:{type:ControlType.Number,title:\"Stat 2 Value\"},stat2Suffix:text(\"Stat 2 Suffix\"),stat2Description:text(\"Stat 2 Description\"),stat3Value:{type:ControlType.Number,title:\"Stat 3 Value\"},stat3Suffix:text(\"Stat 3 Suffix\"),stat3Description:text(\"Stat 3 Description\"),stat4Value:{type:ControlType.Number,title:\"Stat 4 Value\"},stat4Suffix:text(\"Stat 4 Suffix\"),stat4Description:text(\"Stat 4 Description\"),ctaLabel:text(\"CTA Label\")});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FeaturedCaseStudySection\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},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