{"version":3,"file":"CCMStack.J6XJR1Vq.mjs","names":["useRef"],"sources":["https:/framerusercontent.com/modules/Mp71BicKpZkufMZwzI4y/ClXtstqF716Bf4ItMKAK/CCMStack.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{motion,useInView}from\"framer-motion\";import{useRef}from\"react\";const GOLD=\"#f0c040\";const styles=`.ccm-section{padding:100px 5vw}.ccm-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-top:2.5rem;margin-bottom:3rem}.ccm-outcomes{display:grid;grid-template-columns:1fr 1fr;gap:0.75rem;margin-bottom:2.5rem}.ccm-badge{display:inline-flex;align-items:center;gap:10px;margin-top:16px;margin-right:12px;background:rgba(240,192,64,0.1);border:1px solid rgba(240,192,64,0.3);border-radius:6px;padding:10px 18px}.ccm-disclaimer{display:inline-flex;align-items:center;gap:8px;margin-top:12px;border-radius:6px;padding:8px 14px}@media(max-width:1024px){.ccm-section{padding:80px 4vw!important}.ccm-stats{grid-template-columns:1fr!important;gap:0.75rem!important}.ccm-outcomes{grid-template-columns:1fr!important}}@media(max-width:768px){.ccm-section{padding:70px 24px!important}}@keyframes goldShimmer{0%{background-position:-200% center}100%{background-position:200% center}}.gold-stat-num{background:linear-gradient(90deg,#f0c040 0%,#ffe680 30%,#fdf6c3 50%,#ffe680 70%,#f0c040 100%);background-size:200% auto;-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;animation:goldShimmer 3s linear infinite;display:inline-block}`;function FadeUp({children,delay=0}){const ref=useRef(null);const inView=useInView(ref,{once:true,margin:\"-60px\"});return /*#__PURE__*/_jsx(motion.div,{ref:ref,initial:{opacity:0,y:24},animate:inView?{opacity:1,y:0}:{},transition:{duration:.55,delay,ease:\"easeOut\"},children:children});}export default function CCMStack({sectionLabel,headline,subtext,ctaText,ctaLink,cohortTiming,pricingSignal,ceDisclaimer,backgroundColor,headingColor,bodyColor,labelColor,cardBackground,headingFont,bodyFont}){const stats=[{num:\"6 Weeks\",label:\"Live Cohort\",desc:\"Cohort-based instruction — not a self-paced video course you’ll never finish.\"},{num:\"Virtual\",label:\"Format\",desc:\"Built for working clinicians. Attend from anywhere in the U.S. Access resources at any time.\"},{num:\"PharmD\",label:\"Led By\",desc:\"7+ years at the intersection of clinical pharmacy and regulated medical cannabis.\"}];const outcomes=[\"Counsel patients on cannabis with the same confidence as any other medication\",\"Screen for drug interactions and identify high-risk patients\",\"Understand the endocannabinoid system from a clinical pharmacology lens\",\"Navigate product types, delivery methods, and dosing strategies\",\"Overcome institutional stigma and position yourself as a cannabis resource\",\"Serve patients already using cannabis — with or without telling you\"];return /*#__PURE__*/_jsxs(\"section\",{className:\"ccm-section\",style:{width:\"100%\",backgroundColor,boxSizing:\"border-box\",position:\"relative\",overflow:\"hidden\"},children:[/*#__PURE__*/_jsx(\"style\",{children:styles}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:\"-30%\",right:\"-15%\",width:700,height:700,borderRadius:\"50%\",background:\"radial-gradient(circle, rgba(42,106,68,0.2) 0%, transparent 70%)\",pointerEvents:\"none\"}}),/*#__PURE__*/_jsxs(\"div\",{style:{maxWidth:900,margin:\"0 auto\",position:\"relative\",zIndex:2},children:[/*#__PURE__*/_jsxs(FadeUp,{children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"inline-flex\",alignItems:\"center\",gap:8,fontSize:11,fontWeight:500,letterSpacing:\"0.18em\",textTransform:\"uppercase\",color:labelColor,marginBottom:12,fontFamily:bodyFont},children:[sectionLabel,/*#__PURE__*/_jsx(\"span\",{style:{display:\"block\",width:30,height:1,background:labelColor}})]}),/*#__PURE__*/_jsx(\"h2\",{style:{fontFamily:headingFont,fontSize:\"clamp(1.7rem, 3.5vw, 2.8rem)\",fontWeight:500,color:headingColor,margin:\"0 0 16px 0\",lineHeight:1.15},children:headline}),/*#__PURE__*/_jsx(\"p\",{style:{fontFamily:bodyFont,fontSize:\"1rem\",color:bodyColor,lineHeight:1.75,maxWidth:680,margin:0},children:subtext}),/*#__PURE__*/_jsxs(\"div\",{style:{marginTop:8},children:[cohortTiming&&/*#__PURE__*/_jsxs(\"div\",{className:\"ccm-badge\",children:[/*#__PURE__*/_jsx(\"span\",{style:{display:\"block\",width:8,height:8,borderRadius:\"50%\",background:GOLD,flexShrink:0}}),/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:bodyFont,fontSize:\"0.85rem\",fontWeight:500,color:GOLD},children:cohortTiming})]}),pricingSignal&&/*#__PURE__*/_jsx(\"div\",{className:\"ccm-badge\",children:/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:bodyFont,fontSize:\"0.85rem\",fontWeight:500,color:GOLD},children:pricingSignal})})]})]}),/*#__PURE__*/_jsx(\"div\",{className:\"ccm-stats\",children:stats.map((s,i)=>/*#__PURE__*/_jsx(FadeUp,{delay:i*.1,children:/*#__PURE__*/_jsxs(\"div\",{style:{background:\"#1a4028\",border:`1px solid ${GOLD}25`,borderRadius:8,padding:\"1.5rem\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:headingFont,fontSize:\"2rem\",lineHeight:1,marginBottom:4},children:/*#__PURE__*/_jsx(\"span\",{className:\"gold-stat-num\",children:s.num})}),/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:bodyFont,fontSize:\"0.75rem\",fontWeight:500,letterSpacing:\"0.1em\",textTransform:\"uppercase\",color:\"rgba(255,255,255,0.6)\",marginBottom:8},children:s.label}),/*#__PURE__*/_jsx(\"p\",{style:{fontFamily:bodyFont,fontSize:\"0.875rem\",color:\"rgba(255,255,255,0.72)\",lineHeight:1.6,margin:0},children:s.desc})]})},i))}),/*#__PURE__*/_jsxs(FadeUp,{delay:.15,children:[/*#__PURE__*/_jsx(\"p\",{style:{fontFamily:headingFont,fontSize:\"1.15rem\",fontWeight:500,color:headingColor,margin:\"0 0 18px 0\"},children:\"After CCM, you will be able to:\"}),/*#__PURE__*/_jsx(\"div\",{className:\"ccm-outcomes\",children:outcomes.map((o,i)=>/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"flex-start\",gap:10},children:[/*#__PURE__*/_jsx(\"div\",{style:{width:18,height:18,borderRadius:\"50%\",background:\"rgba(82,179,122,0.15)\",border:\"1px solid #3a8a5a\",flexShrink:0,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",fontSize:\"0.6rem\",color:\"#52b37a\",marginTop:2},children:\"✓\"}),/*#__PURE__*/_jsx(\"p\",{style:{fontFamily:bodyFont,fontSize:\"0.875rem\",color:bodyColor,lineHeight:1.55,margin:0},children:o})]},i))}),/*#__PURE__*/_jsx(\"a\",{href:ctaLink,style:{display:\"inline-flex\",alignItems:\"center\",background:GOLD,color:\"#0d2918\",padding:\"14px 28px\",borderRadius:4,fontFamily:bodyFont,fontWeight:700,fontSize:\"0.95rem\",textDecoration:\"none\",marginBottom:16},children:ctaText}),ceDisclaimer&&/*#__PURE__*/_jsx(\"div\",{style:{marginTop:12},children:/*#__PURE__*/_jsx(\"div\",{className:\"ccm-disclaimer\",style:{background:`${labelColor}14`,border:`1px solid ${labelColor}33`},children:/*#__PURE__*/_jsxs(\"span\",{style:{fontFamily:bodyFont,fontSize:\"0.78rem\",color:labelColor,lineHeight:1.5},children:[\"ℹ️\",\" \",ceDisclaimer]})})})]})]})]});}addPropertyControls(CCMStack,{sectionLabel:{type:ControlType.String,title:\"Section Label\",defaultValue:\"Why CCM\"},headline:{type:ControlType.String,title:\"Headline\",defaultValue:\"The course cannabis medicine actually needed.\"},subtext:{type:ControlType.String,title:\"Subtext\",defaultValue:\"CCM is not a CME. It’s a 6-week live virtual cohort built from 7+ years of frontline dispensary experience — designed to turn licensed healthcare professionals into genuinely confident cannabis clinicians. No pre-recorded lectures. No checkbox certificate. A real clinical framework you can use Monday morning.\",displayTextArea:true},ctaText:{type:ControlType.String,title:\"CTA Text\",defaultValue:\"Apply for the Next Cohort →\"},ctaLink:{type:ControlType.Link,title:\"CTA Link\",defaultValue:\"/contact\"},cohortTiming:{type:ControlType.String,title:\"Cohort Timing\",defaultValue:\"\"},pricingSignal:{type:ControlType.String,title:\"Pricing Signal\",defaultValue:\"\"},ceDisclaimer:{type:ControlType.String,title:\"CE Disclaimer\",defaultValue:\"CCM does not currently provide CE credit. Accreditation is actively being pursued following Cohort 1.\",displayTextArea:true},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#0d2918\"},headingColor:{type:ControlType.Color,title:\"Heading Color\",defaultValue:\"#ffffff\"},bodyColor:{type:ControlType.Color,title:\"Body Color\",defaultValue:\"rgba(255,255,255,0.6)\"},labelColor:{type:ControlType.Color,title:\"Label Color\",defaultValue:\"#52b37a\"},cardBackground:{type:ControlType.Color,title:\"Card Background\",defaultValue:\"rgba(255,255,255,0.05)\"},headingFont:{type:ControlType.String,title:\"Heading Font\",defaultValue:\"Cormorant Garamond, Georgia, serif\"},bodyFont:{type:ControlType.String,title:\"Body Font\",defaultValue:\"DM Sans, system-ui, sans-serif\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CCMStack\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CCMStack.map"],"mappings":"yOAA62C,SAAS,EAAO,CAAC,WAAS,QAAM,GAAG,CAAC,IAAM,EAAIA,EAAO,IAAI,EAAQ,EAAO,EAAU,EAAI,CAAC,KAAK,GAAK,OAAO,OAAO,CAAC,EAAE,OAAoB,EAAK,EAAO,IAAI,CAAK,MAAI,QAAQ,CAAC,QAAQ,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAO,CAAC,QAAQ,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,WAAW,CAAC,SAAS,IAAI,QAAM,KAAK,SAAS,EAAW,UAAQ,CAAC,CAAE,CAAC,SAAwB,EAAS,CAAC,eAAa,WAAS,UAAQ,UAAQ,UAAQ,eAAa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