{"version":3,"file":"Case_Study_Modal_V2.DMVKQRWQ.mjs","names":["useState","useRef","useCallback","_Fragment","animateRaw"],"sources":["https:/framerusercontent.com/modules/7qFqU5bF1FgP8a7P9u8T/hvl3tQO1NXNjY8TkyjNE/Case_Study_Modal_V2.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useState,useEffect,useLayoutEffect,useRef,useCallback}from\"react\";import{createPortal}from\"react-dom\";import{motion,useMotionValue,useTransform,animate as animateRaw}from\"framer-motion\";const animate=animateRaw;const COLORS={sheetBg:\"#191919\",primary:\"rgb(255, 255, 255)\",secondary:\"rgba(255, 255, 255, 0.6)\",cardFallbackBg:\"#191919\",cardMetaText:\"rgb(255, 255, 255)\",cardMetaSecondary:\"rgba(255, 255, 255, 0.65)\"};const FONTS={serif:`\"Test Signifier\", \"PP Neue York Condensed Medium\", Georgia, serif`,body:`\"Inter\", \"Helvetica Neue\", Arial, sans-serif`};// Open spring is slightly under-damped: the sheet overshoots its rest spot\n// by a hair and settles back — the \"bounce the top to settle\" feel. Close\n// and snap stay critically damped (a leaving sheet shouldn't bounce).\nconst SPRING_OPEN={type:\"spring\",stiffness:300,damping:27,mass:1};const SPRING_CLOSE={type:\"spring\",stiffness:360,damping:38,mass:1};const SPRING_SNAP={type:\"spring\",stiffness:420,damping:40,mass:1};// Hyper-fast spring for the in-sheet content reveal. No fade — the cover,\n// title, and body bounce up into place as a continuation of the sheet's open\n// spring. Tuned per the motion refs: a single gentle overshoot that matches\n// the sheet's momentum (not a playful bounce), and no `mass` (adds lethargy).\nconst SPRING_REVEAL={type:\"spring\",stiffness:1700,damping:54};const REVEAL_OFFSET_PX=20;// Small delays so the bounce overlaps the tail of the open spring rather than\n// firing before the sheet has entered the viewport. The cover leads, then the\n// title and body come in together as one block (no intra-block stagger).\nconst REVEAL_DELAY_COVER=.16;const REVEAL_DELAY_TITLE=.22;const REVEAL_DELAY_BODY=REVEAL_DELAY_TITLE;const CLOSE_VELOCITY_PXS=500;const CLOSE_OFFSET_PX=200;const CLOSE_PROJECTED_PX=180;const VELOCITY_PROJECTION=.15;const DRAG_RESIST_THRESHOLD=140;const DRAG_RESIST_FACTOR=.55;const CLOSED_Y=4e3;const SWIPE_GUARD_PX=8;const VIMEO_PLACEHOLDER_ASPECT=\"16 / 9\";const VIMEO_COVER_WIDTH=\"250%\";const VIMEO_COVER_HEIGHT=\"112%\";const NATIVE_VIDEO_OVERSCAN=1.12;const DEFAULT_CASE_PATH_BASE=\"/work\";const NO_TAP_HIGHLIGHT={WebkitTapHighlightColor:\"transparent\"};const FOCUSABLE_SELECTOR='button, [href], input, textarea, select, [tabindex]:not([tabindex=\"-1\"])';const BODY_LOCK_CLASS=\"csmv2-page-locked\";const BODY_LOCK_STYLE_ID=\"csmv2-body-lock-style-v1\";const STYLE_ID=\"csmv2-portal-style-v2\";const VIMEO_PRECONNECT_ID=\"csmv2-vimeo-preconnect\";const HOME_PREFETCH_ID=\"csmv2-home-prefetch\";const SOURCE_SYNC_MARKER=\"csmv2-2026-05-25-click-metadata\";const ROUTE_OWNER_KEY=\"__csmv2RouteOwner\";function resolveFont(value,fallbackFamily){if(value&&typeof value===\"object\")return value;return{fontFamily:typeof value===\"string\"&&value.trim().length>0?value:fallbackFamily};}function RichContent({value,className,style}){if(value===null||value===undefined||value===\"\")return null;if(typeof value===\"string\"){return /*#__PURE__*/_jsx(\"div\",{className:className,style:style,dangerouslySetInnerHTML:{__html:value}});}return /*#__PURE__*/_jsx(\"div\",{className:className,style:style,children:value});}function hasContent(value){if(value===null||value===undefined)return false;if(typeof value===\"string\")return value.length>0;return true;}function getContactHref(emailOrUrl){const value=emailOrUrl.trim();if(!value)return\"#\";if(/^https?:\\/\\//i.test(value)||value.startsWith(\"mailto:\"))return value;return`mailto:${value}`;}function ContactCta({eyebrow,title,buttonLabel,emailOrUrl,name,role,image}){return /*#__PURE__*/_jsxs(\"div\",{\"data-csmv2-contact-cta\":\"\",children:[/*#__PURE__*/_jsxs(\"div\",{children:[eyebrow&&/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:FONTS.body,fontSize:\"22px\",lineHeight:1.2,fontWeight:500,letterSpacing:\"-0.02em\",color:\"#a9aaad\",marginBottom:\"8px\"},children:eyebrow}),title&&/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:FONTS.body,fontSize:\"25px\",lineHeight:1.18,fontWeight:600,letterSpacing:\"-0.03em\",color:\"#17191d\",maxWidth:\"440px\"},children:title})]}),/*#__PURE__*/_jsxs(\"div\",{\"data-csmv2-contact-panel\":\"\",children:[/*#__PURE__*/_jsxs(\"div\",{children:[name&&/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:FONTS.body,fontSize:\"18px\",lineHeight:1.2,fontWeight:500,color:\"#17191d\",letterSpacing:\"-0.02em\"},children:name}),role&&/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:FONTS.body,fontSize:\"17px\",lineHeight:1.35,fontWeight:400,color:\"#a9aaad\",letterSpacing:\"-0.02em\",marginTop:\"4px\"},children:role})]}),/*#__PURE__*/_jsxs(\"div\",{\"data-csmv2-contact-bottom\":\"\",children:[buttonLabel&&/*#__PURE__*/_jsx(\"a\",{\"data-csmv2-contact-pill\":\"\",href:getContactHref(emailOrUrl),children:buttonLabel}),emailOrUrl&&/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:FONTS.body,fontSize:\"10px\",lineHeight:1,fontWeight:700,letterSpacing:\"0.18em\",color:\"#b5b6b8\",textTransform:\"uppercase\",whiteSpace:\"nowrap\",marginBottom:\"11px\"},children:emailOrUrl.replace(/^mailto:/i,\"\")}),image&&/*#__PURE__*/_jsx(\"img\",{\"data-csmv2-contact-image\":\"\",src:image,alt:\"\",loading:\"lazy\",decoding:\"async\"})]})]})]});}function ensureBodyLockStyle(){if(typeof document===\"undefined\")return;if(document.getElementById(BODY_LOCK_STYLE_ID))return;const style=document.createElement(\"style\");style.id=BODY_LOCK_STYLE_ID;style.textContent=`\n          html.${BODY_LOCK_CLASS},\n          body.${BODY_LOCK_CLASS} {\n              overflow: hidden;\n          }\n      `;document.head.appendChild(style);}function ensurePortalStyle(){if(typeof document===\"undefined\")return;let style=document.getElementById(STYLE_ID);if(!style){style=document.createElement(\"style\");style.id=STYLE_ID;document.head.appendChild(style);}style.textContent=`\n           [data-csmv2-portal] * {\n                -webkit-tap-highlight-color: transparent;\n            }\n            [data-csmv2-card],\n            [data-csmv2-card]:focus,\n            [data-csmv2-card]:focus-visible {\n                outline: none !important;\n                box-shadow: none !important;\n            }\n            [data-csmv2-handle],\n            [data-csmv2-handle]:focus,\n            [data-csmv2-handle]:focus-visible {\n                outline: none !important;\n                box-shadow: none !important;\n                border: none !important;\n                -webkit-appearance: none !important;\n                appearance: none !important;\n            }\n            /* Card cover swap: the landscape desktop cover is hidden by\n               default and revealed (painting over the base image) only on\n               viewports ≥752px. Pure CSS so it works in the Framer canvas. */\n            [data-csmv2-card-img-desktop] {\n                display: none;\n            }\n            @media (min-width: 752px) {\n                [data-csmv2-card-img-desktop] {\n                    display: block;\n                }\n                /* When a desktop cover occludes the base video, hide it so the\n                   browser can stop decoding the off-screen base loop. */\n                [data-csmv2-card-image][data-has-desktop-cover]\n                    [data-csmv2-card-base-video] {\n                    display: none;\n                }\n            }\n            @media (hover: hover) and (pointer: fine) {\n                [data-csmv2-portal] [data-csmv2-handle] {\n                    display: none;\n                }\n\n                [data-csmv2-card] [data-csmv2-card-image] {\n                    transform-origin: center center;\n                    transition: transform 240ms cubic-bezier(0.34, 1.56, 0.64, 1);\n                    will-change: transform;\n                }\n\n                [data-csmv2-card]:hover [data-csmv2-card-image] {\n                    transform: scale(1.03);\n                }\n            }\n          .csmv2-card-intro,\n          .csmv2-card-intro p,\n          .csmv2-card-intro h1,\n          .csmv2-card-intro h2,\n          .csmv2-card-intro h3,\n          .csmv2-card-intro span,\n          .csmv2-card-intro li,\n          .csmv2-card-intro a,\n          .csmv2-card-intro strong,\n          .csmv2-card-intro em {\n              font-family: inherit !important;\n              color: inherit;\n              font-size: inherit;\n              line-height: inherit;\n              margin: 0;\n          }\n          .csmv2-body,\n          .csmv2-body p,\n          .csmv2-body h1,\n          .csmv2-body h2,\n          .csmv2-body h3,\n          .csmv2-body span,\n          .csmv2-body li,\n          .csmv2-body a,\n          .csmv2-body strong,\n          .csmv2-body em {\n              font-family: inherit !important;\n              color: inherit;\n          }\n          .csmv2-body p,\n          .csmv2-body h1,\n          .csmv2-body h2,\n          .csmv2-body h3 {\n              margin: 0 0 1.2em 0;\n          }\n          .csmv2-body > *:last-child { margin-bottom: 0 }\n          .csmv2-body a {\n              text-decoration: underline;\n          }\n          .csmv2-body strong {\n              font-weight: 500;\n          }\n          .csmv2-body em { font-style: italic }\n          .csmv2-section-desc,\n          .csmv2-section-desc p,\n          .csmv2-section-desc h1,\n          .csmv2-section-desc h2,\n          .csmv2-section-desc h3,\n          .csmv2-section-desc span,\n          .csmv2-section-desc li,\n          .csmv2-section-desc a,\n          .csmv2-section-desc strong,\n          .csmv2-section-desc em {\n              font-family: \"Inter\", \"Helvetica Neue\", Arial, sans-serif !important;\n              font-size: 16px !important;\n              line-height: 1.55 !important;\n              color: rgba(255, 255, 255, 0.6) !important;\n          }\n          .csmv2-section-desc p,\n          .csmv2-section-desc h1,\n          .csmv2-section-desc h2,\n          .csmv2-section-desc h3 {\n              margin: 0 0 1em 0;\n          }\n          .csmv2-section-desc > *:last-child { margin-bottom: 0 }\n          .csmv2-section-desc a { text-decoration: underline }\n          .csmv2-section-desc strong { font-weight: 500 }\n\n          [data-csmv2-contact-cta] {\n              background: #f4f4f2;\n              border-radius: 18px;\n              color: #17191d;\n              display: grid;\n              grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);\n              gap: 32px;\n              min-height: 190px;\n              padding: 32px;\n              box-sizing: border-box;\n              align-items: stretch;\n          }\n\n          [data-csmv2-contact-cta],\n          [data-csmv2-contact-cta] * {\n              font-family: \"Inter\", \"Helvetica Neue\", Arial, sans-serif !important;\n          }\n\n          [data-csmv2-contact-panel] {\n              background: #ffffff;\n              border-radius: 14px;\n              min-height: 142px;\n              padding: 24px;\n              box-sizing: border-box;\n              display: flex;\n              flex-direction: column;\n              justify-content: space-between;\n              gap: 24px;\n          }\n\n          [data-csmv2-contact-bottom] {\n              display: flex;\n              align-items: flex-end;\n              justify-content: space-between;\n              gap: 18px;\n          }\n\n          [data-csmv2-contact-pill] {\n              display: inline-flex;\n              align-items: center;\n              justify-content: center;\n              min-height: 34px;\n              padding: 0 20px;\n              border-radius: 999px;\n              background: #e6e6e4;\n              color: #5f6265;\n              text-decoration: none;\n              text-transform: uppercase;\n              letter-spacing: 0.18em;\n              font-size: 10px;\n              font-weight: 700;\n              white-space: nowrap;\n          }\n\n          [data-csmv2-contact-image] {\n              width: 72px;\n              height: 72px;\n              border-radius: 8px;\n              object-fit: cover;\n              flex: 0 0 auto;\n              background: #ededeb;\n          }\n\n          [data-csmv2-desktop-close] {\n              display: none;\n          }\n\n          /* Hide the scrollbar inside the modal on every breakpoint —\n             ugly native chrome on a dark sheet. Scroll still works\n             (overflow:auto), just no visible track / thumb. */\n          [data-csmv2-scroll] {\n              scrollbar-width: none !important;\n              -ms-overflow-style: none !important;\n          }\n          [data-csmv2-scroll]::-webkit-scrollbar {\n              display: none !important;\n              width: 0 !important;\n              height: 0 !important;\n              background: transparent !important;\n          }\n\n          @media (min-width: 752px) {\n              /* On desktop the mobile-friendly 280px cardWidth cap\n                 would shrink cards inside a wider CMS grid column.\n                 Lift the cap entirely so the card fills its grid\n                 cell — let the Framer Collection List column width\n                 be the source of truth for card size on desktop. */\n              [data-csmv2-card] {\n                  max-width: none !important;\n                  margin-left: 0 !important;\n                  margin-right: auto !important;\n              }\n              /* Desktop: 20px text inset (left + right). Mobile keeps\n                 the 10px inline default. Applies to the title row,\n                 the click arrow, and the intro body. */\n              [data-csmv2-card-text] {\n                  padding-left: 20px !important;\n                  padding-right: 20px !important;\n              }\n              /* Drawer pattern from tablet up — page visible behind modal,\n                 top corners rounded, flush with bottom. Modal caps at\n                 1145px wide with min 100px side gutters; below ~1345vw\n                 it shrinks (keeping the 100px gutters) so it scales\n                 gracefully down to tablet. Mobile (<752vw) keeps the\n                 existing edge-to-edge slide-up sheet. */\n              [data-csmv2-sheet] {\n                  left: max(100px, calc(50% - 572.5px)) !important;\n                  right: max(100px, calc(50% - 572.5px)) !important;\n                  width: auto !important;\n                  top: 60px !important;\n                  bottom: 0 !important;\n                  max-height: calc(100vh - 60px) !important;\n                  border-radius: 28px 28px 0 0 !important;\n              }\n              /* Hide the drag handle button entirely on desktop so the\n                 cover image sits flush against the modal's top edge.\n                 The hover media query above handles mouse devices, but\n                 we explicitly hide here so it's removed at all tablet+\n                 viewports regardless of pointer capability. */\n              [data-csmv2-handle] {\n                  display: none !important;\n              }\n              [data-csmv2-header] {\n                  display: none !important;\n              }\n              [data-csmv2-desktop-close] {\n                  display: flex !important;\n                  top: 40px !important;\n                  right: 40px !important;\n              }\n              /* Content side padding scales with viewport: ~48px at the\n                 tablet edge up to 192px on wide desktop. Top padding is\n                 0 on desktop so the cover image sits flush with the\n                 modal's top edge (X close floats over it, molly-style). */\n              [data-csmv2-scroll] {\n                  padding: 0 0 80px 0 !important;\n              }\n              /* Cover breaks out of the horizontal padding to span the\n                 modal's full width, with a wider hero proportion\n                 (~1145\\xd7600, ~1.91:1) replacing the mobile 4:5 portrait. */\n              [data-csmv2-cover] {\n                  /* 56px margin + 40px content-wrapper gap = 96px total\n                     between cover and the next section. */\n                  margin-bottom: 56px !important;\n                  max-width: none !important;\n                  width: 100% !important;\n              }\n              [data-csmv2-cover] > div {\n                  aspect-ratio: 1145 / 600 !important;\n                  /* Top corners match the modal's 28px; bottom flush\n                     against the content below. */\n                  border-radius: 28px 28px 0 0 !important;\n              }\n              [data-csmv2-cover] img {\n                  border-radius: 28px 28px 0 0 !important;\n              }\n\n              [data-csmv2-content-inner] {\n                  max-width: none !important;\n              }\n\n              [data-csmv2-content-section] {\n                  width: min(100%, 912px) !important;\n                  margin-left: auto !important;\n                  margin-right: auto !important;\n              }\n\n              [data-csmv2-gallery] {\n                  width: min(100%, 912px) !important;\n                  max-width: 912px !important;\n                  margin-left: auto !important;\n                  margin-right: auto !important;\n                  overflow: visible !important;\n              }\n\n              [data-csmv2-gallery-row] {\n                  display: flex !important;\n                  flex-direction: row !important;\n                  gap: 32px !important;\n                  align-items: flex-start !important;\n                  justify-content: center !important;\n                  width: 100% !important;\n                  min-width: 0 !important;\n                  min-height: 0 !important;\n                  padding-left: 0 !important;\n                  padding-right: 0 !important;\n              }\n\n              [data-csmv2-gallery-item=\"landscape\"] {\n                  width: 100% !important;\n                  flex: 0 1 auto !important;\n              }\n\n              [data-csmv2-gallery-item=\"portrait\"] {\n                  width: min(440px, calc((100% - 32px) / 2)) !important;\n                  flex: 0 1 min(440px, calc((100% - 32px) / 2)) !important;\n              }\n\n              [data-csmv2-gallery-item=\"landscape\"] > div {\n                  aspect-ratio: 912 / 608 !important;\n              }\n\n              [data-csmv2-gallery-item=\"portrait\"] > div {\n                  aspect-ratio: 440 / 600 !important;\n              }\n\n              [data-csmv2-gallery-item] img,\n              [data-csmv2-gallery-item] video,\n              [data-csmv2-gallery-item] iframe {\n                  height: 100% !important;\n                  object-fit: cover !important;\n              }\n          }\n\n          @media (max-width: 751px) {\n              [data-csmv2-contact-cta] {\n                  display: none !important;\n                  grid-template-columns: 1fr;\n                  padding: 22px;\n                  gap: 18px;\n              }\n\n              [data-csmv2-contact-panel] {\n                  min-height: 156px;\n                  padding: 20px;\n              }\n\n              [data-csmv2-cover] > div {\n                  aspect-ratio: 430 / 400 !important;\n              }\n\n              [data-csmv2-gallery] {\n                  width: 100% !important;\n                  max-width: none !important;\n                  margin: 0 auto !important;\n                  overflow: visible !important;\n                  gap: 32px !important;\n              }\n\n              [data-csmv2-gallery-row] {\n                  display: flex !important;\n                  flex-direction: column !important;\n                  gap: 32px !important;\n                  width: 100% !important;\n                  min-width: 0 !important;\n                  min-height: 0 !important;\n                  padding-left: 0 !important;\n                  padding-right: 0 !important;\n              }\n\n              [data-csmv2-gallery-item] {\n                  width: 100% !important;\n                  flex: 0 1 auto !important;\n                  margin-top: 0 !important;\n              }\n\n              [data-csmv2-gallery-item=\"landscape\"] > div {\n                  aspect-ratio: 366 / 244 !important;\n              }\n\n              [data-csmv2-gallery-item=\"portrait\"] > div {\n                  aspect-ratio: 366 / 549 !important;\n              }\n\n              [data-csmv2-gallery-item] img,\n              [data-csmv2-gallery-item] video,\n              [data-csmv2-gallery-item] iframe {\n                  height: 100% !important;\n                  object-fit: cover !important;\n              }\n          }\n\n          [data-csmv2-portal][data-csmv2-force-mobile=\"true\"]\n              [data-csmv2-card-img-desktop] {\n              display: none !important;\n          }\n\n          [data-csmv2-portal][data-csmv2-force-mobile=\"true\"]\n              [data-csmv2-card-image][data-has-desktop-cover]\n              [data-csmv2-card-base-video] {\n              display: block !important;\n          }\n\n          [data-csmv2-portal][data-csmv2-force-mobile=\"true\"]\n              [data-csmv2-card] {\n              max-width: var(--csmv2-card-width, 280px) !important;\n              margin-left: 0 !important;\n              margin-right: 0 !important;\n          }\n\n          [data-csmv2-portal][data-csmv2-force-mobile=\"true\"]\n              [data-csmv2-card-text] {\n              padding-left: 10px !important;\n              padding-right: 10px !important;\n          }\n\n          [data-csmv2-portal][data-csmv2-force-mobile=\"true\"]\n              [data-csmv2-sheet] {\n              left: 0 !important;\n              right: auto !important;\n              width: 100vw !important;\n              min-width: 100vw !important;\n              max-width: 100vw !important;\n              top: max(env(safe-area-inset-top, 0px), 20px) !important;\n              bottom: 0 !important;\n              max-height: none !important;\n              border-radius: 28px 28px 0 0 !important;\n              transform-origin: bottom center !important;\n          }\n\n          [data-csmv2-portal][data-csmv2-force-mobile=\"true\"]\n              [data-csmv2-handle] {\n              display: flex !important;\n              min-height: 30px !important;\n              padding: 14px 0 16px 0 !important;\n          }\n\n          [data-csmv2-portal][data-csmv2-force-mobile=\"true\"]\n              [data-csmv2-handle] span {\n              width: 44px !important;\n              height: 4px !important;\n              min-width: 44px !important;\n              min-height: 4px !important;\n          }\n\n          [data-csmv2-portal][data-csmv2-force-mobile=\"true\"]\n              [data-csmv2-header] {\n              display: flex !important;\n          }\n\n          [data-csmv2-portal][data-csmv2-force-mobile=\"true\"]\n              [data-csmv2-header] > div:first-child {\n              font-size: 16px !important;\n              line-height: 1.2 !important;\n              padding-bottom: 16px !important;\n          }\n\n          [data-csmv2-portal][data-csmv2-force-mobile=\"true\"]\n              [data-csmv2-desktop-close] {\n              display: none !important;\n          }\n\n          [data-csmv2-portal][data-csmv2-force-mobile=\"true\"]\n              [data-csmv2-scroll] {\n              padding: 0 24px 64px 24px !important;\n              font-size: 16px !important;\n              line-height: 1.55 !important;\n          }\n\n          [data-csmv2-portal][data-csmv2-force-mobile=\"true\"]\n              [data-csmv2-cover] {\n              width: calc(100% + 48px) !important;\n              max-width: none !important;\n              margin: 0 -24px 0 -24px !important;\n          }\n\n          [data-csmv2-portal][data-csmv2-force-mobile=\"true\"]\n              [data-csmv2-cover] > div {\n              aspect-ratio: 430 / 400 !important;\n              border-radius: 0 !important;\n          }\n\n          [data-csmv2-portal][data-csmv2-force-mobile=\"true\"]\n              [data-csmv2-cover] img {\n              border-radius: 0 !important;\n          }\n\n          [data-csmv2-portal][data-csmv2-force-mobile=\"true\"]\n              [data-csmv2-content-inner],\n          [data-csmv2-portal][data-csmv2-force-mobile=\"true\"]\n              [data-csmv2-content-section],\n          [data-csmv2-portal][data-csmv2-force-mobile=\"true\"]\n              [data-csmv2-gallery] {\n              width: 100% !important;\n              max-width: none !important;\n              margin-left: auto !important;\n              margin-right: auto !important;\n          }\n\n          [data-csmv2-portal][data-csmv2-force-mobile=\"true\"]\n              [data-csmv2-content-inner] {\n              gap: 40px !important;\n          }\n\n          [data-csmv2-portal][data-csmv2-force-mobile=\"true\"]\n              [data-csmv2-content-section] > div:not(.csmv2-section-desc):not([data-csmv2-contact-cta]) {\n              font-size: 21px !important;\n              line-height: 1.3 !important;\n          }\n\n          [data-csmv2-portal][data-csmv2-force-mobile=\"true\"]\n              .csmv2-section-desc,\n          [data-csmv2-portal][data-csmv2-force-mobile=\"true\"]\n              .csmv2-section-desc p,\n          [data-csmv2-portal][data-csmv2-force-mobile=\"true\"]\n              .csmv2-section-desc h1,\n          [data-csmv2-portal][data-csmv2-force-mobile=\"true\"]\n              .csmv2-section-desc h2,\n          [data-csmv2-portal][data-csmv2-force-mobile=\"true\"]\n              .csmv2-section-desc h3,\n          [data-csmv2-portal][data-csmv2-force-mobile=\"true\"]\n              .csmv2-section-desc span,\n          [data-csmv2-portal][data-csmv2-force-mobile=\"true\"]\n              .csmv2-section-desc li {\n              font-size: 16px !important;\n              line-height: 1.55 !important;\n          }\n\n          [data-csmv2-portal][data-csmv2-force-mobile=\"true\"]\n              [data-csmv2-contact-cta] {\n              display: none !important;\n              grid-template-columns: 1fr !important;\n              padding: 22px !important;\n              gap: 18px !important;\n          }\n\n          [data-csmv2-portal][data-csmv2-force-mobile=\"true\"]\n              [data-csmv2-contact-panel] {\n              min-height: 156px !important;\n              padding: 20px !important;\n          }\n\n          [data-csmv2-portal][data-csmv2-force-mobile=\"true\"]\n              [data-csmv2-gallery-row] {\n              display: flex !important;\n              flex-direction: column !important;\n              gap: 32px !important;\n              width: 100% !important;\n          }\n\n          [data-csmv2-portal][data-csmv2-force-mobile=\"true\"]\n              [data-csmv2-gallery-item] {\n              width: 100% !important;\n              flex: 0 1 auto !important;\n              margin-top: 0 !important;\n          }\n\n          [data-csmv2-portal][data-csmv2-force-mobile=\"true\"]\n              [data-csmv2-gallery-item=\"landscape\"] > div {\n              aspect-ratio: 366 / 244 !important;\n          }\n\n          [data-csmv2-portal][data-csmv2-force-mobile=\"true\"]\n              [data-csmv2-gallery-item=\"portrait\"] > div {\n              aspect-ratio: 366 / 549 !important;\n          }\n      `;}// Warm up the connection to Vimeo's origins before any iframe boots, so the\n// first video has less setup work to do once media is activated.\nfunction ensureVimeoPreconnect(){if(typeof document===\"undefined\")return;if(document.getElementById(VIMEO_PRECONNECT_ID))return;const add=(rel,href,isMarker)=>{const link=document.createElement(\"link\");if(isMarker)link.id=VIMEO_PRECONNECT_ID;link.rel=rel;link.href=href;link.crossOrigin=\"\";document.head.appendChild(link);};add(\"preconnect\",\"https://player.vimeo.com\",true);add(\"preconnect\",\"https://i.vimeocdn.com\");add(\"dns-prefetch\",\"https://f.vimeocdn.com\");}function warmHomeRoute(){if(typeof document===\"undefined\"||typeof window===\"undefined\")return;if(document.getElementById(HOME_PREFETCH_ID))return;const link=document.createElement(\"link\");link.id=HOME_PREFETCH_ID;link.rel=\"prefetch\";link.as=\"document\";link.href=\"/\";document.head.appendChild(link);const warm=()=>{fetch(\"/\",{cache:\"force-cache\",credentials:\"same-origin\"}).catch(()=>{});};const requestIdle=window.requestIdleCallback;if(typeof requestIdle===\"function\")requestIdle(warm,{timeout:1200});else window.setTimeout(warm,250);}function isActualMobileViewport(){if(typeof window===\"undefined\")return false;const visualWidth=typeof window.visualViewport?.width===\"number\"?window.visualViewport.width:Number.POSITIVE_INFINITY;const screenWidth=typeof window.screen?.width===\"number\"?window.screen.width:Number.POSITIVE_INFINITY;return Math.min(window.innerWidth,visualWidth,screenWidth)<752;}function clearBodyLock(){if(typeof document===\"undefined\")return;document.documentElement.classList.remove(BODY_LOCK_CLASS);document.body.classList.remove(BODY_LOCK_CLASS);}// Start the open animation just below the viewport (not from CLOSED_Y, which\n// is far enough off-screen that the spring front-loads into a \"teleport\").\n// CLOSED_Y stays the parked/off-screen value; this is only the travel start.\nfunction getOpenStartY(){if(typeof window===\"undefined\")return 1200;return window.innerHeight+40;}function isVimeoUrl(url){return/(?:^|\\/\\/)(?:www\\.|player\\.)?vimeo\\.com\\//i.test(url);}function extractVimeoId(url){const m=url.match(/vimeo\\.com\\/(?:[^\\/?#]+\\/)*(\\d+)(?:[\\/?#].*)?$/i);return m?m[1]:null;}function isVideoFile(url){const stripped=url.split(/[?#]/)[0];return/\\.(mp4|webm|mov|m4v|m3u8)$/i.test(stripped);}function parseAspectAnnotation(raw,defaultAspect){const parts=raw.split(\"|\").map(part=>part.trim()).filter(Boolean);const url=parts[0]||raw.trim();let aspect=defaultAspect;let poster;parts.slice(1).forEach(part=>{const norm=part.toLowerCase();const posterMatch=part.match(/^poster\\s*[:=]\\s*(.+)$/i);if(posterMatch){poster=posterMatch[1].trim();}else if(/^https?:\\/\\//i.test(part)){poster=part;}else if(norm===\"portrait\"){aspect=\"9 / 16\";}else if(norm===\"landscape\"){aspect=\"16 / 9\";}else if(norm===\"square\"){aspect=\"1 / 1\";}else if(norm===\"auto\"){aspect=\"auto\";}else{const m=part.match(/^(\\d+)\\s*[:\\/]\\s*(\\d+)$/);if(m)aspect=`${m[1]} / ${m[2]}`;}});return{url,aspect,poster};}function normalizeAspect(raw){if(typeof raw!==\"string\")return\"auto\";const trimmed=raw.trim();if(trimmed.length===0)return\"auto\";const norm=trimmed.toLowerCase();if(norm===\"auto\")return\"auto\";if(norm===\"portrait\")return\"9 / 16\";if(norm===\"landscape\")return\"16 / 9\";if(norm===\"square\")return\"1 / 1\";const m=trimmed.match(/^(\\d+)\\s*[:\\/]\\s*(\\d+)$/);if(m)return`${m[1]} / ${m[2]}`;return trimmed;}function normalizePath(path){const clean=path.split(/[?#]/)[0].replace(/\\/+$/,\"\");return clean||\"/\";}function joinPath(base,slug){const cleanBase=normalizePath(base||DEFAULT_CASE_PATH_BASE);const cleanSlug=slug.trim().replace(/^\\/+|\\/+$/g,\"\");return cleanSlug?`${cleanBase}/${cleanSlug}`:cleanBase;}// Clean Work deep links use \"/work/<slug>\" while preserving the old hash\n// format as a fallback. For direct clean URLs, Framer must serve a page/shell\n// that contains this component so it can auto-open the matching modal.\nfunction normalizeRoute(value){return(value||\"\").replace(/^#/,\"\").split(\"?\")[0].replace(/^\\/+|\\/+$/g,\"\");}function isCurrentRoute(path){if(typeof window===\"undefined\")return false;const target=normalizeRoute(path);const currentPath=normalizeRoute(window.location.pathname);const currentHash=normalizeRoute(window.location.hash);return currentPath===target||currentHash===target;}function getRouteOwnerMap(){if(typeof window===\"undefined\")return{};const w=window;if(!w[ROUTE_OWNER_KEY]||typeof w[ROUTE_OWNER_KEY]!==\"object\"){w[ROUTE_OWNER_KEY]={};}return w[ROUTE_OWNER_KEY];}function claimRouteOwner(route,ownerId){const normalizedRoute=normalizeRoute(route);if(!normalizedRoute)return false;const owners=getRouteOwnerMap();const currentOwner=owners[normalizedRoute];if(currentOwner&&currentOwner!==ownerId)return false;owners[normalizedRoute]=ownerId;return true;}function releaseRouteOwner(route,ownerId){const normalizedRoute=normalizeRoute(route);if(!normalizedRoute||typeof window===\"undefined\")return;const owners=getRouteOwnerMap();if(owners[normalizedRoute]===ownerId){delete owners[normalizedRoute];}}function getCurrentRouteSlug(base){if(typeof window===\"undefined\")return\"\";const currentPath=normalizeRoute(window.location.pathname);const currentBase=normalizeRoute(base);if(!currentPath||!currentBase)return\"\";if(currentPath===currentBase)return\"\";if(!currentPath.startsWith(`${currentBase}/`))return\"\";return currentPath.slice(currentBase.length+1).split(\"/\")[0]||\"\";}function parseMediaList(raw){if(typeof raw!==\"string\")return[];return raw.split(/\\r?\\n/).map(line=>line.trim()).filter(line=>line.length>0).filter(line=>!/^@(cover|coverDesktop|card)\\s*:/i.test(line)).map(line=>({url:line}));}function getMediaDirective(raw,key){if(typeof raw!==\"string\")return\"\";const pattern=new RegExp(`^@${key}\\\\s*:\\\\s*(.+)$`,\"i\");const line=raw.split(/\\r?\\n/).map(entry=>entry.trim()).find(entry=>pattern.test(entry));return line?.match(pattern)?.[1]?.trim()||\"\";}function resolveItem(item){if(!item||typeof item!==\"object\")return null;const hasUrlField=typeof item.url===\"string\"&&item.url.trim().length>0;const rawUrl=hasUrlField?item.url.trim():typeof item.image===\"string\"&&item.image.length>0?item.image:\"\";if(!rawUrl)return null;const parsed=parseAspectAnnotation(rawUrl,\"auto\");const itemAspect=normalizeAspect(item.aspect);const aspect=itemAspect!==\"auto\"?itemAspect:parsed.aspect;const poster=hasUrlField&&typeof item.image===\"string\"&&item.image.length>0?item.image:parsed.poster;return{url:parsed.url,aspect,poster};}function galleryValueToItems(value){const values=Array.isArray(value)?value:[value];return values.map(entry=>{let src=\"\";if(typeof entry===\"string\"){src=entry.trim();}else if(entry&&typeof entry===\"object\"){if(typeof entry.image===\"string\")src=entry.image.trim();else if(typeof entry.url===\"string\")src=entry.url.trim();}if(!src)return null;return{url:src,aspect:\"auto\"};}).filter(x=>x!==null);}function detectKind(url){if(isVimeoUrl(url))return\"vimeo\";if(isVideoFile(url))return\"video\";return\"image\";}function aspectRatioValue(aspect){if(aspect===\"auto\")return null;const m=aspect.match(/^(\\d+(?:\\.\\d+)?)\\s*\\/\\s*(\\d+(?:\\.\\d+)?)$/);if(!m)return null;const width=Number(m[1]);const height=Number(m[2]);if(!Number.isFinite(width)||!Number.isFinite(height)||height<=0){return null;}return width/height;}function getUrlNumberParam(url,names){try{const parsed=new URL(url);for(const name of names){const raw=parsed.searchParams.get(name);if(!raw)continue;const value=Number(raw);if(Number.isFinite(value)&&value>0)return value;}}catch{}return null;}function getUrlAspectRatio(url){const width=getUrlNumberParam(url,[\"width\",\"w\"]);const height=getUrlNumberParam(url,[\"height\",\"h\"]);if(!width||!height)return null;return width/height;}function ratioToOrientation(ratio){return ratio<1?\"portrait\":\"landscape\";}function getKnownOrientation(item,index,layoutHints,resolvedOrientations){const explicitRatio=aspectRatioValue(item.aspect);if(explicitRatio!==null)return ratioToOrientation(explicitRatio);const urlRatio=getUrlAspectRatio(item.url);if(urlRatio!==null)return ratioToOrientation(urlRatio);if(resolvedOrientations[index])return resolvedOrientations[index];if(layoutHints[index])return layoutHints[index];return null;}function resolveMediaOrientation(url){if(typeof window===\"undefined\")return Promise.resolve(null);const kind=detectKind(url);if(kind===\"vimeo\"){const id=extractVimeoId(url);if(!id)return Promise.resolve(null);const oembedUrl=`https://vimeo.com/api/oembed.json?url=${encodeURIComponent(`https://vimeo.com/${id}`)}`;return fetch(oembedUrl).then(res=>res.ok?res.json():null).then(data=>{if(data&&typeof data.width===\"number\"&&typeof data.height===\"number\"&&data.width>0&&data.height>0){return ratioToOrientation(data.width/data.height);}return null;}).catch(()=>null);}if(kind===\"video\"){return new Promise(resolve=>{const video=document.createElement(\"video\");let settled=false;const cleanup=()=>{video.removeAttribute(\"src\");video.load();};const finish=orientation=>{if(settled)return;settled=true;cleanup();resolve(orientation);};video.preload=\"metadata\";video.muted=true;video.playsInline=true;video.onloadedmetadata=()=>{if(video.videoWidth>0&&video.videoHeight>0){finish(ratioToOrientation(video.videoWidth/video.videoHeight));}else{finish(null);}};video.onerror=()=>finish(null);video.src=url;});}return new Promise(resolve=>{const image=new Image;image.onload=()=>{if(image.naturalWidth>0&&image.naturalHeight>0){resolve(ratioToOrientation(image.naturalWidth/image.naturalHeight));}else{resolve(null);}};image.onerror=()=>resolve(null);image.src=url;});}function useResolvedMediaOrientations(items,layoutHints){const[orientations,setOrientations]=useState({});const signature=items.map(item=>`${item.url}|${item.aspect}`).join(\"||\");const hintSignature=Object.keys(layoutHints).sort((a,b)=>Number(a)-Number(b)).map(key=>`${key}:${layoutHints[Number(key)]}`).join(\"|\");useEffect(()=>{let cancelled=false;setOrientations({});items.forEach((item,index)=>{if(getKnownOrientation(item,index,layoutHints,{}))return;resolveMediaOrientation(item.url).then(orientation=>{if(cancelled||!orientation)return;setOrientations(current=>({...current,[index]:orientation}));});});return()=>{cancelled=true;};},[signature,hintSignature]);return orientations;}function inferGalleryOrientation(item,index,layoutHints,resolvedOrientations){const known=getKnownOrientation(item,index,layoutHints,resolvedOrientations);if(known)return known;return detectKind(item.url)===\"image\"?\"portrait\":\"landscape\";}function parseGalleryLayoutHints(raw){if(typeof raw!==\"string\"||raw.trim().length===0)return{};const hints={};const entries=raw.split(/[\\n;]/).map(entry=>entry.trim()).filter(Boolean);entries.forEach(entry=>{const parts=entry.split(/[:=]/);if(parts.length<2)return;const indexesRaw=parts[0].trim();const orientationRaw=parts.slice(1).join(\":\").trim().toLowerCase();const orientation=orientationRaw===\"portrait\"||orientationRaw===\"vertical\"?\"portrait\":orientationRaw===\"landscape\"||orientationRaw===\"horizontal\"?\"landscape\":null;if(!orientation)return;indexesRaw.split(\",\").forEach(indexRaw=>{const itemNumber=Number(indexRaw.trim());if(!Number.isInteger(itemNumber)||itemNumber<=0)return;hints[itemNumber-1]=orientation;});});return hints;}function buildGalleryRows(items,layoutHints,resolvedOrientations){const layoutItems=items.map((item,index)=>({...item,orientation:inferGalleryOrientation(item,index,layoutHints,resolvedOrientations)}));const rows=[];for(let i=0;i<layoutItems.length;i+=1){const item=layoutItems[i];const next=layoutItems[i+1];if(item.orientation===\"portrait\"&&next?.orientation===\"portrait\"){rows.push({items:[item,next]});i+=1;}else{rows.push({items:[item]});}}return rows;}function VimeoFrame({id,annotatedAspect,fallbackAspect,radiusPx,active}){const initialAspect=annotatedAspect!==\"auto\"?annotatedAspect:fallbackAspect!==\"auto\"?fallbackAspect:VIMEO_PLACEHOLDER_ASPECT;const[resolvedAspect,setResolvedAspect]=useState(initialAspect);useEffect(()=>{if(annotatedAspect!==\"auto\")return;let cancelled=false;const oembedUrl=`https://vimeo.com/api/oembed.json?url=${encodeURIComponent(`https://vimeo.com/${id}`)}`;fetch(oembedUrl).then(res=>res.ok?res.json():null).then(data=>{if(cancelled||!data)return;if(typeof data.width===\"number\"&&typeof data.height===\"number\"&&data.width>0&&data.height>0){setResolvedAspect(`${data.width} / ${data.height}`);}}).catch(()=>{});return()=>{cancelled=true;};},[id,annotatedAspect]);return /*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width:\"100%\",aspectRatio:resolvedAspect,borderRadius:radiusPx,overflow:\"hidden\",background:\"rgba(255,255,255,0.04)\",WebkitMaskImage:\"-webkit-radial-gradient(white, black)\",isolation:\"isolate\"},children:active&&/*#__PURE__*/_jsx(\"iframe\",{src:`https://player.vimeo.com/video/${id}?autoplay=1&loop=1&muted=1&background=1&controls=0&playsinline=1&dnt=1&autopause=0`,allow:\"autoplay; fullscreen; picture-in-picture\",title:\"video\",style:{position:\"absolute\",top:\"50%\",left:\"50%\",width:VIMEO_COVER_WIDTH,height:VIMEO_COVER_HEIGHT,transform:\"translate(-50%, -50%)\",border:0,display:\"block\",borderRadius:radiusPx}})});}function NativeVideo({src,annotatedAspect,fallbackAspect,radiusPx,active,poster}){const[naturalAspect,setNaturalAspect]=useState(null);const[errored,setErrored]=useState(false);const[canPlay,setCanPlay]=useState(false);const onLoadedMetadata=e=>{const v=e.currentTarget;if(v.videoWidth>0&&v.videoHeight>0){setNaturalAspect(`${v.videoWidth} / ${v.videoHeight}`);}};if(errored&&!poster)return null;const resolvedAspect=annotatedAspect!==\"auto\"?annotatedAspect:naturalAspect!==null?naturalAspect:fallbackAspect;const hasAspect=resolvedAspect!==\"auto\";return /*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"100%\",aspectRatio:hasAspect?resolvedAspect:undefined,borderRadius:radiusPx,overflow:\"hidden\",background:\"rgba(255,255,255,0.04)\",WebkitMaskImage:\"-webkit-radial-gradient(white, black)\",isolation:\"isolate\"},children:[poster&&(!active||!canPlay||errored)&&/*#__PURE__*/_jsx(\"img\",{src:poster,alt:\"\",loading:\"lazy\",decoding:\"async\",style:{position:\"absolute\",inset:0,display:\"block\",width:`${NATIVE_VIDEO_OVERSCAN*100}%`,height:`${NATIVE_VIDEO_OVERSCAN*100}%`,top:\"50%\",left:\"50%\",transform:\"translate(-50%, -50%)\",objectFit:\"cover\",borderRadius:radiusPx}}),active&&!errored&&/*#__PURE__*/_jsx(\"video\",{src:src,poster:poster,autoPlay:true,loop:true,muted:true,playsInline:true,preload:\"auto\",onLoadedMetadata:onLoadedMetadata,onCanPlay:()=>setCanPlay(true),onError:()=>setErrored(true),style:{position:\"absolute\",top:\"50%\",left:\"50%\",display:\"block\",width:`${NATIVE_VIDEO_OVERSCAN*100}%`,height:`${NATIVE_VIDEO_OVERSCAN*100}%`,transform:\"translate(-50%, -50%)\",objectFit:\"cover\",borderRadius:radiusPx,opacity:canPlay?1:0}})]});}function ImageEmbed({src,radiusPx,aspect,eager}){const[errored,setErrored]=useState(false);if(errored||!src)return null;const hasAspect=typeof aspect===\"string\"&&aspect!==\"auto\";// eager (the modal cover) downloads immediately at high priority; gallery\n// images stay lazy. decoding:async keeps JPEG decode off the open frame.\nconst loadingProps=eager?{loading:\"eager\",fetchPriority:\"high\"}:{loading:\"lazy\"};return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",aspectRatio:hasAspect?aspect:undefined,borderRadius:radiusPx,overflow:\"hidden\",background:\"rgba(255,255,255,0.04)\"},children:/*#__PURE__*/_jsx(\"img\",{src:src,alt:\"\",decoding:\"async\",...loadingProps,onError:()=>setErrored(true),style:{display:\"block\",width:\"100%\",height:hasAspect?\"100%\":\"auto\",objectFit:hasAspect?\"cover\":undefined,borderRadius:radiusPx}})});}function MediaItem({url,aspect,poster,radius,defaultVimeoAspect,defaultVideoAspect,active}){const radiusPx=`${radius}px`;const kind=detectKind(url);if(kind===\"vimeo\"){const id=extractVimeoId(url);if(!id)return null;return /*#__PURE__*/_jsx(VimeoFrame,{id:id,annotatedAspect:aspect,fallbackAspect:defaultVimeoAspect,radiusPx:radiusPx,active:active});}if(kind===\"video\"){return /*#__PURE__*/_jsx(NativeVideo,{src:url,annotatedAspect:aspect,fallbackAspect:defaultVideoAspect,radiusPx:radiusPx,active:active,poster:poster});}return /*#__PURE__*/_jsx(ImageEmbed,{src:url,radiusPx:radiusPx,aspect:aspect});}// Autoplaying, muted, looping cover video for the closed carousel card.\n// Fills its parent (object-fit: cover) and only plays while on screen — an\n// IntersectionObserver pauses off-screen cards so a carousel of videos never\n// decodes them all at once. The wrapper carries no inline `display`, so a CSS\n// media query can show/hide it (the mobile vs desktop swap).\nfunction CardCoverVideo({src,wrapperAttr}){const ref=useRef(null);useEffect(()=>{const el=ref.current;if(!el)return;// iOS only autoplays muted inline video — force it from JS too, since\n// the React `muted` attribute is unreliable on first mount.\nel.muted=true;const tryPlay=()=>{const p=el.play?.();if(p&&typeof p.catch===\"function\")p.catch(()=>{});};if(typeof IntersectionObserver===\"undefined\"){tryPlay();return;}const io=new IntersectionObserver(entries=>{for(const entry of entries){if(entry.isIntersecting)tryPlay();else el.pause?.();}},{threshold:.2});io.observe(el);return()=>io.disconnect();},[src]);const wrapperProps=wrapperAttr?{[wrapperAttr]:\"\"}:{};return /*#__PURE__*/_jsx(\"div\",{...wrapperProps,style:{position:\"absolute\",inset:0},children:/*#__PURE__*/_jsx(\"video\",{ref:ref,src:src,muted:true,loop:true,playsInline:true,autoPlay:true,preload:\"metadata\",style:{width:\"100%\",height:\"100%\",objectFit:\"cover\",display:\"block\"}})});}export default function CaseStudyModalV2(props){const[state,setState]=useState(\"closed\");const[mounted,setMounted]=useState(false);// Latches true once the first open animation finishes. Gates heavy media\n// (Vimeo iframes / <video>) so they never mount during the open spring.\nconst[hasOpenedOnce,setHasOpenedOnce]=useState(false);// Tracks whether we're on a desktop-class viewport (≥752px) so we\n// can swap to the landscape-composed cover if one is set in CMS.\n// Initially false (matches mobile fallback) — useEffect updates on\n// mount + resize.\nconst[isDesktopViewport,setIsDesktopViewport]=useState(false);const[forceMobileLayout,setForceMobileLayout]=useState(false);const[holdBackdropForHomeLoad,setHoldBackdropForHomeLoad]=useState(false);const y=useMotionValue(CLOSED_Y);const dragRef=useRef(null);// True once the current touch has moved far enough to count as a drag —\n// lets the close handle distinguish a real tap from a drag-release.\nconst didDragRef=useRef(false);const scrollRef=useRef(null);// While a downward drag is in flight (from a scrollTop=0 position) we flip\n// the scroller to overflow:hidden so iOS Safari's elastic bounce can't open\n// a top gap above the content. Restored on end/cancel. Doing this on\n// touchstart breaks normal scrolling; doing it after the first confirmed\n// downward delta in moveDrag is the safe spot.\nconst scrollOverflowFrozenRef=useRef(false);const cardRef=useRef(null);const cardTouchStartX=useRef(0);const cardTouchStartY=useRef(0);const cardDidSwipe=useRef(false);const portalRootRef=useRef(null);const sheetRef=useRef(null);const backdropRef=useRef(null);const closeBtnRef=useRef(null);const previouslyFocusedRef=useRef(null);const closingFromPopRef=useRef(false);const pushedHistoryRef=useRef(false);const closeRequestedRef=useRef(false);const awaitingHistoryPopRef=useRef(false);const handlingPopCloseRef=useRef(false);const routeOwnerIdRef=useRef(`csmv2-${Date.now()}-${Math.random().toString(36).slice(2)}`);const claimedRouteRef=useRef(\"\");const intro=props.textBox;const notes=props.notes;const projectName=typeof props.projectName===\"string\"?props.projectName:\"\";const sectionTitle=typeof props.sectionTitle===\"string\"?props.sectionTitle:\"\";const sectionBody=props.sectionBody;const linkUrl=typeof props.link===\"string\"&&props.link.trim().length>0?props.link.trim():\"\";const linkLabel=typeof props.linkLabel===\"string\"&&props.linkLabel.length>0?props.linkLabel:\"Live Site\";const linkNewTab=typeof props.linkNewTab===\"boolean\"?props.linkNewTab:true;const contactEnabled=typeof props.contactEnabled===\"boolean\"?props.contactEnabled:true;const contactEyebrow=typeof props.contactEyebrow===\"string\"?props.contactEyebrow:\"Have a project in mind?\";const contactTitle=typeof props.contactTitle===\"string\"?props.contactTitle:\"Let's talk about your tomorrow.\";const contactButtonLabel=typeof props.contactButtonLabel===\"string\"?props.contactButtonLabel:\"Get in touch\";const contactEmail=typeof props.contactEmail===\"string\"?props.contactEmail:\"hi@whitestairs.studio\";const contactName=typeof props.contactName===\"string\"?props.contactName:\"Alessandro Alpago\";const contactRole=typeof props.contactRole===\"string\"?props.contactRole:\"Creative Director\";const contactImage=typeof props.contactImage===\"string\"?props.contactImage:\"\";const slug=typeof props.slug===\"string\"&&props.slug.trim().length>0?props.slug.trim():\"\";const casePathBase=typeof props.casePathBase===\"string\"&&props.casePathBase.trim().length>0?props.casePathBase.trim():DEFAULT_CASE_PATH_BASE;const routeFilterSlug=typeof props.routeFilterSlug===\"string\"&&props.routeFilterSlug.trim().length>0?props.routeFilterSlug.trim():\"\";const historyPath=joinPath(casePathBase,slug);const historyUrl=slug?historyPath:\"\";const historyStateKey=\"csmV2CaseOpen\";const bodyFontStyle=resolveFont(props.bodyFont,FONTS.body);const cardTitleFontStyle=resolveFont(props.cardTitleFont,FONTS.body);const cardIntroFontStyle=resolveFont(props.cardIntroFont,FONTS.body);const mediaListItems=parseMediaList(props.mediaUrls);const resolvedItems=mediaListItems.map(resolveItem).filter(x=>x!==null);const gallery1Items=galleryValueToItems(props.gallery1);const gallery2Items=galleryValueToItems(props.gallery2);const mixedItems=[...gallery1Items,...resolvedItems,...gallery2Items];const coverImageDirective=getMediaDirective(props.mediaUrls,\"cover\");const coverImageDesktopDirective=getMediaDirective(props.mediaUrls,\"coverDesktop\");const cardImageDirective=getMediaDirective(props.mediaUrls,\"card\");const firstMediaImageFallback=mixedItems.find(item=>detectKind(item.url)===\"image\")?.url||\"\";const coverImageRaw=typeof props.coverImage===\"string\"&&props.coverImage.length>0?props.coverImage:coverImageDirective||firstMediaImageFallback;// Optional landscape cover for desktop. If unset, falls back to\n// the portrait Cover Image so authors can adopt this per-case-study\n// without breaking anything.\nconst coverImageDesktopRaw=typeof props.coverImageDesktop===\"string\"&&props.coverImageDesktop.length>0?props.coverImageDesktop:coverImageDesktopDirective;const activeCoverRaw=isDesktopViewport&&coverImageDesktopRaw?coverImageDesktopRaw:coverImageRaw;// Optional mp4 cover videos for the closed card. When set they play over\n// the matching cover image (which stays as the poster/fallback). The\n// mobile/base video also covers desktop unless a desktop video is set.\nconst coverVideoRaw=typeof props.coverVideo===\"string\"&&props.coverVideo.length>0?props.coverVideo.trim():\"\";const coverVideoDesktopRaw=typeof props.coverVideoDesktop===\"string\"&&props.coverVideoDesktop.length>0?props.coverVideoDesktop.trim():\"\";const hasDesktopCardCover=Boolean(coverImageDesktopRaw||coverVideoDesktopRaw);const cardImageRaw=typeof props.cardImage===\"string\"&&props.cardImage.length>0?props.cardImage:cardImageDirective||firstMediaImageFallback;const cardAspect=normalizeAspect(props.cardAspect);const accentColor=typeof props.accentColor===\"string\"&&props.accentColor.length>0?props.accentColor:COLORS.cardFallbackBg;const cardSrc=cardImageRaw||coverImageRaw;const cardWidth=typeof props.cardWidth===\"number\"?props.cardWidth:280;const cardRadius=typeof props.cardRadius===\"number\"?props.cardRadius:16;const mediaRadius=typeof props.mediaRadius===\"number\"?props.mediaRadius:12;const topOffset=typeof props.topOffset===\"number\"?props.topOffset:20;const introLineClamp=typeof props.introLineClamp===\"number\"?props.introLineClamp:3;const vimeoAspect=normalizeAspect(props.vimeoAspect);const videoAspect=normalizeAspect(props.videoAspect);const galleryLayoutHints=parseGalleryLayoutHints(props.galleryLayout);const resolvedGalleryOrientations=useResolvedMediaOrientations(mixedItems,galleryLayoutHints);const galleryRows=buildGalleryRows(mixedItems,galleryLayoutHints,resolvedGalleryOrientations);const backdropOpacity=useTransform(y,[0,600],[.6,0],{clamp:true});useLayoutEffect(()=>{if(typeof document===\"undefined\")return;ensureBodyLockStyle();ensurePortalStyle();ensureVimeoPreconnect();const root=document.createElement(\"div\");root.setAttribute(\"data-csmv2-portal\",\"\");root.setAttribute(\"data-csmv2-source\",SOURCE_SYNC_MARKER);root.style.position=\"relative\";root.style.zIndex=\"2147483647\";document.documentElement.appendChild(root);portalRootRef.current=root;setMounted(true);return()=>{if(root.parentNode)root.parentNode.removeChild(root);};},[]);useEffect(()=>{if(!mounted)return;const id=window.requestAnimationFrame(()=>{sheetRef.current?.getBoundingClientRect();backdropRef.current?.getBoundingClientRect();const current=y.get();y.set(current-.5);y.set(current);});return()=>window.cancelAnimationFrame(id);},[mounted,y]);useEffect(()=>{if(state===\"closed\")y.set(CLOSED_Y);},[state,y]);useEffect(()=>{if(typeof document===\"undefined\")return;if(state===\"closed\"){clearBodyLock();return;}document.documentElement.classList.add(BODY_LOCK_CLASS);document.body.classList.add(BODY_LOCK_CLASS);},[state]);useEffect(()=>{return()=>clearBodyLock();},[]);// Track viewport so we can swap to the desktop cover image when on\n// a wide screen. Mirrors the 752px breakpoint used by the @media\n// rules in ensurePortalStyle.\nuseEffect(()=>{if(typeof window===\"undefined\")return;const mq=window.matchMedia(\"(min-width: 752px)\");const syncViewport=()=>{const actualMobile=isActualMobileViewport();setForceMobileLayout(actualMobile);setIsDesktopViewport(mq.matches&&!actualMobile);if(portalRootRef.current){portalRootRef.current.setAttribute(\"data-csmv2-force-mobile\",actualMobile?\"true\":\"false\");}};syncViewport();const onChange=()=>syncViewport();mq.addEventListener(\"change\",onChange);window.addEventListener(\"resize\",syncViewport);window.visualViewport?.addEventListener(\"resize\",syncViewport);return()=>{mq.removeEventListener(\"change\",onChange);window.removeEventListener(\"resize\",syncViewport);window.visualViewport?.removeEventListener(\"resize\",syncViewport);};},[]);const openModal=useCallback(()=>{if(state!==\"closed\")return;closingFromPopRef.current=false;closeRequestedRef.current=false;awaitingHistoryPopRef.current=false;handlingPopCloseRef.current=false;// Always reopen scrolled to the top — a fresh read every time, even\n// after the user scrolled deep and closed. The portal stays mounted\n// while closed, so the scroll container would otherwise persist.\nif(scrollRef.current)scrollRef.current.scrollTop=0;if(typeof window!==\"undefined\"){try{window.history.pushState({[historyStateKey]:slug||true},\"\",historyUrl||window.location.href);pushedHistoryRef.current=true;}catch{}}y.stop();y.set(getOpenStartY());setState(\"open\");window.requestAnimationFrame(()=>{animate(y,0,{...SPRING_OPEN,velocity:0,onComplete:()=>setHasOpenedOnce(true)});});},[state,y,historyUrl,slug]);const closeModal=useCallback(()=>{if(state===\"closed\"||state===\"closing\")return;if(awaitingHistoryPopRef.current&&!handlingPopCloseRef.current)return;if(closeRequestedRef.current&&!handlingPopCloseRef.current)return;closeRequestedRef.current=true;let loadHomeAfterClose=false;const runClose=(onClosed,transition=SPRING_CLOSE)=>{closingFromPopRef.current=false;pushedHistoryRef.current=false;awaitingHistoryPopRef.current=false;y.stop();setState(\"closing\");animate(y,CLOSED_Y,{...transition,onComplete:()=>{y.set(CLOSED_Y);setState(\"closed\");closeRequestedRef.current=false;awaitingHistoryPopRef.current=false;handlingPopCloseRef.current=false;if(claimedRouteRef.current){releaseRouteOwner(claimedRouteRef.current,routeOwnerIdRef.current);claimedRouteRef.current=\"\";}onClosed?.();}});};if(!closingFromPopRef.current&&pushedHistoryRef.current){closingFromPopRef.current=true;pushedHistoryRef.current=false;awaitingHistoryPopRef.current=true;try{window.history.back();}catch{}// Safety net: if popstate never fires (browser / history quirk)\n// the sheet would stay trapped open. Force the close.\nwindow.setTimeout(()=>{if(closingFromPopRef.current){awaitingHistoryPopRef.current=false;runClose();}},300);return;}if(!pushedHistoryRef.current&&typeof window!==\"undefined\"&&isCurrentRoute(historyUrl)){// Cold load straight to \"/work/<slug>\": the server served a route\n// shell, so replacing the URL alone would reveal that shell at \"/\".\n// Let the close animation finish, then load the real homepage.\nconst isCleanRoutePath=normalizeRoute(window.location.pathname)===normalizeRoute(historyUrl);loadHomeAfterClose=isCleanRoutePath;if(loadHomeAfterClose){setHoldBackdropForHomeLoad(true);}if(!loadHomeAfterClose){try{window.history.replaceState({},\"\",\"/\");}catch{}}}runClose(loadHomeAfterClose?()=>{try{window.location.replace(\"/\");}catch{setHoldBackdropForHomeLoad(false);}}:undefined,loadHomeAfterClose?{duration:.22,ease:[.32,0,.67,0]}:SPRING_CLOSE);},[state,y,historyUrl]);// Deep-link bootstrap — open on mount if the clean path or old hash matches.\nuseEffect(()=>{if(!mounted||!slug||typeof window===\"undefined\")return;const isCleanRoutePath=normalizeRoute(window.location.pathname)===normalizeRoute(historyUrl);if(isCurrentRoute(historyUrl)){if(!claimRouteOwner(historyUrl,routeOwnerIdRef.current))return;claimedRouteRef.current=historyUrl;if(isCleanRoutePath){warmHomeRoute();}y.stop();y.set(getOpenStartY());setState(\"open\");pushedHistoryRef.current=false;window.requestAnimationFrame(()=>{animate(y,0,{...SPRING_OPEN,velocity:0,onComplete:()=>setHasOpenedOnce(true)});});}// eslint-disable-next-line react-hooks/exhaustive-deps\n},[mounted]);useEffect(()=>{if(state===\"closed\")return;const onPop=()=>{handlingPopCloseRef.current=true;closingFromPopRef.current=true;pushedHistoryRef.current=false;closeModal();handlingPopCloseRef.current=false;};window.addEventListener(\"popstate\",onPop);return()=>window.removeEventListener(\"popstate\",onPop);},[state,closeModal]);useEffect(()=>{return()=>{if(claimedRouteRef.current){releaseRouteOwner(claimedRouteRef.current,routeOwnerIdRef.current);claimedRouteRef.current=\"\";}if(typeof window!==\"undefined\"&&pushedHistoryRef.current){pushedHistoryRef.current=false;try{window.history.back();}catch{}}};},[]);useEffect(()=>{if(state!==\"open\")return;const onKey=e=>{if(e.key===\"Escape\"){closeModal();return;}if(e.key!==\"Tab\")return;const root=portalRootRef.current;if(!root)return;const focusable=root.querySelectorAll(FOCUSABLE_SELECTOR);if(focusable.length===0)return;const first=focusable[0];const last=focusable[focusable.length-1];const active=document.activeElement;if(!active||!root.contains(active)){e.preventDefault();if(e.shiftKey)last.focus();else first.focus();return;}if(e.shiftKey&&active===first){e.preventDefault();last.focus();}else if(!e.shiftKey&&active===last){e.preventDefault();first.focus();}};window.addEventListener(\"keydown\",onKey);return()=>window.removeEventListener(\"keydown\",onKey);},[state,closeModal]);useEffect(()=>{if(state===\"open\"){previouslyFocusedRef.current=document.activeElement;const id=window.setTimeout(()=>{closeBtnRef.current?.focus({preventScroll:true});},80);return()=>window.clearTimeout(id);}if(state===\"closed\"){const prev=previouslyFocusedRef.current;previouslyFocusedRef.current=null;if(prev&&document.contains(prev)&&typeof prev.focus===\"function\"){prev.focus({preventScroll:true});}}},[state]);const beginDrag=useCallback(clientY=>{dragRef.current={startY:clientY,startTime:Date.now()};didDragRef.current=false;y.stop();},[y]);const freezeScrollOverflow=useCallback(()=>{if(scrollOverflowFrozenRef.current)return;const node=scrollRef.current;if(!node)return;// Only freeze when the scroller is at the top — otherwise toggling\n// overflow mid-scroll would shift the visible content.\nif(node.scrollTop>0)return;node.style.overflowY=\"hidden\";scrollOverflowFrozenRef.current=true;},[]);const restoreScrollOverflow=useCallback(()=>{if(!scrollOverflowFrozenRef.current)return;const node=scrollRef.current;if(node)node.style.overflowY=\"auto\";scrollOverflowFrozenRef.current=false;},[]);const moveDrag=useCallback(clientY=>{const d=dragRef.current;if(!d)return;const raw=Math.max(0,clientY-d.startY);if(raw>SWIPE_GUARD_PX)didDragRef.current=true;// First confirmed downward delta freezes the scroller's overflow so\n// the iOS rubber-band can't reveal an empty gap above the content.\nif(raw>0)freezeScrollOverflow();const resisted=raw<DRAG_RESIST_THRESHOLD?raw:DRAG_RESIST_THRESHOLD+(raw-DRAG_RESIST_THRESHOLD)*DRAG_RESIST_FACTOR;y.set(resisted);},[y,freezeScrollOverflow]);const endDrag=useCallback(clientY=>{const d=dragRef.current;if(!d)return;const delta=clientY-d.startY;const elapsed=Date.now()-d.startTime;const velocity=elapsed>0?delta/elapsed*1e3:0;dragRef.current=null;restoreScrollOverflow();const rawOffset=Math.max(0,delta);const projected=rawOffset+velocity*VELOCITY_PROJECTION;const shouldClose=velocity>CLOSE_VELOCITY_PXS||projected>CLOSE_PROJECTED_PX||rawOffset>CLOSE_OFFSET_PX;if(shouldClose)closeModal();else animate(y,0,SPRING_SNAP);},[y,closeModal,restoreScrollOverflow]);const cancelDrag=useCallback(()=>{if(!dragRef.current)return;dragRef.current=null;restoreScrollOverflow();animate(y,0,SPRING_SNAP);},[y,restoreScrollOverflow]);const isAtTop=()=>!scrollRef.current||scrollRef.current.scrollTop<=0;const handleDragProps={onTouchStart:e=>{if(state!==\"open\")return;beginDrag(e.touches[0].clientY);},onTouchMove:e=>moveDrag(e.touches[0].clientY),onTouchEnd:e=>endDrag(e.changedTouches[0].clientY),onTouchCancel:cancelDrag,onPointerDown:e=>{if(state!==\"open\")return;if(e.pointerType!==\"mouse\")return;e.currentTarget.setPointerCapture(e.pointerId);beginDrag(e.clientY);},onPointerMove:e=>{if(e.pointerType!==\"mouse\")return;moveDrag(e.clientY);},onPointerUp:e=>{if(e.pointerType!==\"mouse\")return;endDrag(e.clientY);}};const contentDragProps={onTouchStart:e=>{if(state!==\"open\")return;if(!isAtTop())return;beginDrag(e.touches[0].clientY);},onTouchMove:e=>{const d=dragRef.current;if(!d)return;if(!isAtTop()){cancelDrag();return;}const delta=e.touches[0].clientY-d.startY;if(delta<0){cancelDrag();return;}moveDrag(e.touches[0].clientY);},onTouchEnd:e=>endDrag(e.changedTouches[0].clientY),onTouchCancel:cancelDrag};const onSheetClick=e=>{e.stopPropagation();};const onCloseButtonClick=e=>{e.stopPropagation();if(didDragRef.current)return;closeModal();};const onCardTouchStart=e=>{cardTouchStartX.current=e.touches[0].clientX;cardTouchStartY.current=e.touches[0].clientY;cardDidSwipe.current=false;};const onCardTouchMove=e=>{const dx=Math.abs(e.touches[0].clientX-cardTouchStartX.current);const dy=Math.abs(e.touches[0].clientY-cardTouchStartY.current);if(Math.max(dx,dy)>SWIPE_GUARD_PX){cardDidSwipe.current=true;}};const onCardClick=e=>{e.preventDefault();e.stopPropagation();if(cardDidSwipe.current)return;openModal();};const onCardKeyDown=e=>{if(e.key===\"Enter\"||e.key===\" \"){e.preventDefault();e.stopPropagation();openModal();}};const isClosed=state===\"closed\";const interactive=isClosed?\"none\":\"auto\";const activeRouteFilterSlug=routeFilterSlug.length>0?normalizeRoute(routeFilterSlug):\"\";// A CMS collection list on a clean work route may render every item if the\n// Framer filter UI is unavailable. Hide all non-matching items here so\n// \"/work/data-masters\" behaves like a one-item CMS detail shell.\nif(activeRouteFilterSlug&&slug&&normalizeRoute(slug)!==activeRouteFilterSlug){return null;}const displayName=projectName||\"Case study\";const hideShellCard=routeFilterSlug.length>0;return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsxs(\"div\",{ref:cardRef,role:\"button\",tabIndex:hideShellCard?-1:0,\"data-csmv2-card\":\"\",\"aria-hidden\":hideShellCard?\"true\":undefined,\"aria-label\":displayName,onTouchStart:onCardTouchStart,onTouchMove:onCardTouchMove,onClick:onCardClick,onKeyDown:onCardKeyDown,style:{width:\"100%\",maxWidth:`${cardWidth}px`,cursor:hideShellCard?\"default\":\"pointer\",touchAction:\"manipulation\",userSelect:\"none\",boxSizing:\"border-box\",display:hideShellCard?\"none\":\"flex\",flexDirection:\"column\",gap:\"16px\",outline:\"none\",pointerEvents:hideShellCard?\"none\":\"auto\",...NO_TAP_HIGHLIGHT},children:[/*#__PURE__*/_jsxs(\"div\",{\"data-csmv2-card-image\":\"\",\"data-has-desktop-cover\":hasDesktopCardCover?\"\":undefined,style:{position:\"relative\",width:\"100%\",aspectRatio:cardAspect!==\"auto\"?cardAspect:\"4 / 5\",borderRadius:`${cardRadius}px`,overflow:\"hidden\",background:accentColor,flexShrink:0,// Outer drop shadows only; the inset glass rim lives\n// on the overlay below so it paints over the image.\nboxShadow:\"0 1px 2px rgba(0, 0, 0, 0.12), 0 10px 28px rgba(0, 0, 0, 0.22)\"},children:[cardSrc&&/*#__PURE__*/_jsx(\"div\",{\"data-csmv2-card-img-base\":\"\",style:{position:\"absolute\",inset:0,background:`center/cover no-repeat url(${cardSrc})`}}),coverVideoRaw&&/*#__PURE__*/_jsx(CardCoverVideo,{src:coverVideoRaw,wrapperAttr:\"data-csmv2-card-base-video\"}),hasDesktopCardCover&&/*#__PURE__*/_jsx(\"div\",{\"data-csmv2-card-img-desktop\":\"\",style:{position:\"absolute\",inset:0,background:coverImageDesktopRaw?`center/cover no-repeat url(${coverImageDesktopRaw})`:undefined},children:coverVideoDesktopRaw&&/*#__PURE__*/_jsx(CardCoverVideo,{src:coverVideoDesktopRaw})}),/*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{position:\"absolute\",inset:0,pointerEvents:\"none\",boxShadow:\"inset 0 1px 0 rgba(255, 255, 255, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.12), inset 0 -1px 0 rgba(0, 0, 0, 0.18)\"}})]}),/*#__PURE__*/_jsxs(\"div\",{\"data-csmv2-card-text\":\"\",style:{display:\"flex\",flexDirection:\"column\",gap:\"10px\",padding:\"0 10px\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",justifyContent:\"space-between\",alignItems:\"flex-start\",gap:\"12px\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{color:COLORS.cardMetaText,fontSize:\"clamp(18px, 4vw, 22px)\",fontWeight:500,lineHeight:1.2,letterSpacing:\"-0.005em\",flex:\"1 1 auto\",minWidth:0,...cardTitleFontStyle},children:displayName}),/*#__PURE__*/_jsx(\"svg\",{width:\"22\",height:\"22\",viewBox:\"0 0 16 16\",fill:\"none\",\"aria-hidden\":\"true\",style:{flexShrink:0,marginTop:\"4px\"},children:/*#__PURE__*/_jsx(\"path\",{d:\"M7 12H4V9M9 4H12V7\",stroke:COLORS.cardMetaText,strokeWidth:\"1.5\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})]}),hasContent(intro)&&/*#__PURE__*/_jsx(RichContent,{value:intro,className:\"csmv2-card-intro\",style:{color:COLORS.cardMetaSecondary,fontSize:\"clamp(14px, 3.6vw, 16px)\",lineHeight:1.45,display:\"-webkit-box\",WebkitLineClamp:introLineClamp,WebkitBoxOrient:\"vertical\",overflow:\"hidden\",...cardIntroFontStyle}})]})]}),mounted&&portalRootRef.current&&/*#__PURE__*/createPortal(/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(motion.div,{ref:backdropRef,onClick:closeModal,\"aria-hidden\":\"true\",style:{display:\"block\",position:\"fixed\",inset:0,background:\"#000\",opacity:holdBackdropForHomeLoad?.96:backdropOpacity,zIndex:2147483645,willChange:\"opacity\",transform:\"translateZ(0)\",backfaceVisibility:\"hidden\",WebkitBackfaceVisibility:\"hidden\",pointerEvents:interactive,...NO_TAP_HIGHLIGHT}}),/*#__PURE__*/_jsxs(motion.div,{ref:sheetRef,role:\"dialog\",\"aria-modal\":\"true\",\"aria-label\":displayName,\"data-csmv2-sheet\":\"\",\"data-csmv2-force-mobile-state\":forceMobileLayout?\"true\":undefined,onClick:onSheetClick,style:{y,position:\"fixed\",left:0,right:0,top:`max(env(safe-area-inset-top, 0px), ${topOffset}px)`,bottom:0,background:COLORS.sheetBg,borderRadius:\"28px 28px 0 0\",display:\"flex\",flexDirection:\"column\",overflow:\"hidden\",paddingBottom:\"env(safe-area-inset-bottom, 0px)\",border:\"none\",boxShadow:\"0 -1px 0 rgba(255, 255, 255, 0.08)\",touchAction:\"pan-y\",willChange:\"transform\",backfaceVisibility:\"hidden\",WebkitBackfaceVisibility:\"hidden\",zIndex:2147483646,pointerEvents:interactive,...NO_TAP_HIGHLIGHT},children:[/*#__PURE__*/_jsx(\"button\",{ref:closeBtnRef,type:\"button\",\"aria-label\":\"Close\",\"data-csmv2-handle\":\"\",onClick:onCloseButtonClick,...handleDragProps,style:{padding:\"12px 0 14px 0\",display:\"flex\",justifyContent:\"center\",flexShrink:0,cursor:\"grab\",touchAction:\"none\",userSelect:\"none\",background:\"transparent\",border:\"none\",outline:\"none\",boxShadow:\"none\",WebkitAppearance:\"none\",appearance:\"none\",width:\"100%\",...NO_TAP_HIGHLIGHT},children:/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{display:\"block\",width:\"44px\",height:\"4px\",background:\"rgb(255, 255, 255)\",borderRadius:\"2px\",pointerEvents:\"none\"}})}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",\"aria-label\":\"Close\",\"data-csmv2-desktop-close\":\"\",onClick:onCloseButtonClick,style:{position:\"absolute\",top:\"20px\",right:\"20px\",width:\"40px\",height:\"40px\",borderRadius:\"999px\",background:\"rgba(255, 255, 255, 0.08)\",border:\"none\",cursor:\"pointer\",alignItems:\"center\",justifyContent:\"center\",zIndex:10,padding:0},children:/*#__PURE__*/_jsx(\"svg\",{width:\"14\",height:\"14\",viewBox:\"0 0 14 14\",fill:\"none\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M1 1L13 13M13 1L1 13\",stroke:\"rgba(255, 255, 255, 0.85)\",strokeWidth:\"1.5\",strokeLinecap:\"round\"})})}),/*#__PURE__*/_jsxs(\"div\",{\"data-csmv2-header\":\"\",style:{flexShrink:0,display:\"flex\",flexDirection:\"column\",alignItems:\"center\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:FONTS.body,fontSize:\"16px\",fontWeight:400,lineHeight:1.2,color:COLORS.primary,paddingBottom:\"16px\"},children:\"Case Study\"}),/*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{width:\"100%\",height:\"1px\",background:\"rgba(255, 255, 255, 0.1)\"}})]}),/*#__PURE__*/_jsx(\"div\",{ref:scrollRef,\"data-csmv2-scroll\":\"\",style:{flex:1,minHeight:0,overflowY:\"auto\",overscrollBehavior:\"none\",padding:\"8px 32px clamp(48px, 10vw, 72px)\",WebkitOverflowScrolling:\"touch\"},onWheel:e=>e.stopPropagation(),...contentDragProps,children:/*#__PURE__*/_jsxs(\"div\",{\"data-csmv2-content-inner\":\"\",style:{maxWidth:\"900px\",margin:\"0 auto\",display:\"flex\",flexDirection:\"column\",gap:\"40px\"},children:[activeCoverRaw&&/*#__PURE__*/_jsx(motion.div,{\"data-csmv2-cover\":\"\",initial:false,animate:state!==\"closed\"?{y:0}:{y:REVEAL_OFFSET_PX},transition:state!==\"closed\"?{...SPRING_REVEAL,delay:REVEAL_DELAY_COVER}:{duration:0},style:{willChange:\"transform\"},children:!isDesktopViewport&&coverVideoRaw?/*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width:\"100%\",aspectRatio:\"4 / 5\",overflow:\"hidden\",background:\"rgba(255,255,255,0.04)\"},children:/*#__PURE__*/_jsx(CardCoverVideo,{src:coverVideoRaw})}):/*#__PURE__*/_jsx(ImageEmbed,{src:activeCoverRaw,radiusPx:`${mediaRadius}px`,aspect:\"4 / 5\",eager:true})}),(hasContent(sectionTitle)||hasContent(sectionBody)||linkUrl)&&/*#__PURE__*/_jsxs(\"div\",{\"data-csmv2-content-section\":\"\",style:{display:\"flex\",flexDirection:\"column\",gap:\"20px\"},children:[hasContent(sectionTitle)&&/*#__PURE__*/_jsx(motion.div,{initial:false,animate:state!==\"closed\"?{y:0}:{y:REVEAL_OFFSET_PX},transition:state!==\"closed\"?{...SPRING_REVEAL,delay:REVEAL_DELAY_TITLE}:{duration:0},style:{fontFamily:FONTS.body,fontSize:\"21px\",fontWeight:500,lineHeight:1.3,letterSpacing:\"-0.01em\",color:COLORS.primary,willChange:\"transform\"},children:sectionTitle}),hasContent(sectionBody)&&/*#__PURE__*/_jsx(motion.div,{initial:false,animate:state!==\"closed\"?{y:0}:{y:REVEAL_OFFSET_PX},transition:state!==\"closed\"?{...SPRING_REVEAL,delay:REVEAL_DELAY_BODY}:{duration:0},style:{willChange:\"transform\"},children:/*#__PURE__*/_jsx(RichContent,{value:sectionBody,className:\"csmv2-section-desc\"})}),linkUrl&&/*#__PURE__*/_jsxs(\"a\",{href:linkUrl,target:linkNewTab?\"_blank\":undefined,rel:linkNewTab?\"noopener noreferrer\":undefined,style:{alignSelf:\"flex-start\",display:\"inline-flex\",alignItems:\"center\",gap:\"10px\",padding:\"14px 24px\",borderRadius:\"999px\",background:\"rgb(255, 255, 255)\",color:\"rgb(0, 0, 0)\",fontFamily:FONTS.body,fontSize:\"16px\",fontWeight:500,textDecoration:\"none\",marginTop:\"4px\",touchAction:\"manipulation\",...NO_TAP_HIGHLIGHT},children:[linkLabel,/*#__PURE__*/_jsx(\"svg\",{width:\"18\",height:\"18\",viewBox:\"0 0 24 24\",fill:\"none\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M5 12h14M13 6l6 6-6 6\",stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})]})]}),galleryRows.length>0&&/*#__PURE__*/_jsx(\"div\",{\"data-csmv2-gallery\":\"\",\"data-csmv2-content-section\":\"\",style:{display:\"flex\",flexDirection:\"column\",gap:\"32px\"},children:galleryRows.map((row,rowIndex)=>/*#__PURE__*/_jsx(\"div\",{\"data-csmv2-gallery-row\":\"\",children:row.items.map((item,itemIndex)=>/*#__PURE__*/_jsx(\"div\",{\"data-csmv2-gallery-item\":item.orientation,children:/*#__PURE__*/_jsx(MediaItem,{url:item.url,aspect:item.aspect,poster:item.poster,radius:mediaRadius,defaultVimeoAspect:vimeoAspect,defaultVideoAspect:videoAspect,active:hasOpenedOnce})},`${item.url}-${rowIndex}-${itemIndex}`))},`row-${rowIndex}-${row.items[0]?.url||\"\"}`))}),hasContent(notes)&&/*#__PURE__*/_jsx(\"div\",{\"data-csmv2-content-section\":\"\",children:/*#__PURE__*/_jsx(RichContent,{value:notes,className:\"csmv2-body\",style:{fontWeight:400,fontSize:\"16px\",lineHeight:1.55,color:COLORS.secondary,...bodyFontStyle}})}),contactEnabled&&/*#__PURE__*/_jsx(\"div\",{\"data-csmv2-content-section\":\"\",children:/*#__PURE__*/_jsx(ContactCta,{eyebrow:contactEyebrow,title:contactTitle,buttonLabel:contactButtonLabel,emailOrUrl:contactEmail,name:contactName,role:contactRole,image:contactImage})})]})})]})]}),portalRootRef.current)]});}const RT=ControlType.RichText??ControlType.String;addPropertyControls(CaseStudyModalV2,{slug:{type:ControlType.String,title:\"Slug\",defaultValue:\"\",description:\"URL slug, e.g. 'data-masters'. Bind to the Slug CMS field. Used in the clean Work URL, e.g. '/work/data-masters'.\"},casePathBase:{type:ControlType.String,title:\"Work URL Base\",defaultValue:DEFAULT_CASE_PATH_BASE,description:\"Base for clean Work URLs, e.g. '/work' makes the modal open at '/work/data-masters'.\"},routeFilterSlug:{type:ControlType.String,title:\"Shell Filter Slug\",defaultValue:\"\",description:\"Optional. On a Work route shell with a CMS list, set to 'data-masters' so only that CMS item renders in Designer and on the route.\"},projectName:{type:ControlType.String,title:\"Project Name\",defaultValue:\"\",description:\"Bind to Project Name in CMS.\"},textBox:{type:RT,title:\"Text Box\",defaultValue:\"\",description:\"Bind to Text Box in CMS. Shown on the card (line-clamped) under the project name.\"},coverImage:{type:ControlType.Image,title:\"Cover Image\",description:\"Bind to Cover Image in CMS. Hero inside the modal (locked to 4:5).\"},coverImageDesktop:{type:ControlType.Image,title:\"Cover Image (Desktop)\",description:\"Optional landscape cover used on viewports ≥752px. Compose for ~1.91:1 (e.g. 1145\\xd7600). Falls back to Cover Image if unset.\"},coverVideo:{type:ControlType.File,allowedFileTypes:[\"mp4\",\"webm\",\"mov\",\"m4v\"],title:\"Cover Video\",description:\"Optional muted/looping mp4 played over the card's Cover Image. Bind to a CMS File field. Falls back to the image if unset.\"},coverVideoDesktop:{type:ControlType.File,allowedFileTypes:[\"mp4\",\"webm\",\"mov\",\"m4v\"],title:\"Cover Video (Desktop)\",description:\"Optional mp4 played over the card on viewports ≥752px. Falls back to Cover Video, then the desktop/portrait image.\"},cardImage:{type:ControlType.Image,title:\"Card Image\",description:\"Bind to Card Image in CMS. Falls back to Cover Image, then Accent Color.\"},cardAspect:{type:ControlType.String,title:\"Card Aspect\",defaultValue:\"4 / 5\"},mediaUrls:{type:ControlType.String,title:\"Media URLs\",defaultValue:\"\",displayTextArea:true,description:\"Bind to Media URLs in CMS. Newline-separated. For video fallback images, use: video.mp4 | landscape | poster=https://image.jpg\"},gallery1:{type:ControlType.Array,title:\"Gallery 1\",control:{type:ControlType.Image},defaultValue:[],description:\"Bind to the Gallery 1 CMS gallery field. Rendered before Media URLs.\"},gallery2:{type:ControlType.Array,title:\"Gallery 2\",control:{type:ControlType.Image},defaultValue:[],description:\"Bind to the Gallery 2 CMS gallery field. Rendered after Media URLs.\"},galleryLayout:{type:ControlType.String,title:\"Gallery Layout\",defaultValue:\"\",displayTextArea:true,description:\"Optional fallback only when file dimensions are unavailable. Use 1-based items, e.g. '3,4: portrait'.\"},notes:{type:RT,title:\"Notes\",defaultValue:\"\",description:\"Bind to Notes in CMS. Closing paragraph in the modal.\"},sectionTitle:{type:ControlType.String,title:\"Section Title\",defaultValue:\"\",description:\"21px Inter title shown right under the cover image.\"},sectionBody:{type:RT,title:\"Section Description\",defaultValue:\"\",description:\"16px Inter body under the Section Title. Write a custom project description here.\"},link:{type:ControlType.Link,title:\"Link URL\",description:\"Optional. Shows a pill button under the description.\"},linkLabel:{type:ControlType.String,title:\"Link Label\",defaultValue:\"Live Site\"},linkNewTab:{type:ControlType.Boolean,title:\"Link New Tab\",defaultValue:true},contactEnabled:{type:ControlType.Boolean,title:\"Show Contact CTA\",defaultValue:true},contactEyebrow:{type:ControlType.String,title:\"CTA Eyebrow\",defaultValue:\"Have a project in mind?\"},contactTitle:{type:ControlType.String,title:\"CTA Title\",defaultValue:\"Let's talk about your tomorrow.\"},contactButtonLabel:{type:ControlType.String,title:\"CTA Button\",defaultValue:\"Get in touch\"},contactEmail:{type:ControlType.String,title:\"CTA Email\",defaultValue:\"hi@whitestairs.studio\"},contactName:{type:ControlType.String,title:\"CTA Name\",defaultValue:\"Alessandro Alpago\"},contactRole:{type:ControlType.String,title:\"CTA Role\",defaultValue:\"Creative Director\"},contactImage:{type:ControlType.Image,title:\"CTA Portrait\"},accentColor:{type:ControlType.Color,title:\"Accent Color\",defaultValue:\"#191919\",description:\"Bind to Accent Color in CMS. Card fallback bg.\"},bodyFont:{type:ControlType.Font,title:\"Modal Body Font\",controls:\"extended\",defaultFontType:\"sans-serif\"},cardTitleFont:{type:ControlType.Font,title:\"Card Title Font\",controls:\"extended\",defaultFontType:\"sans-serif\"},cardIntroFont:{type:ControlType.Font,title:\"Card Intro Font\",controls:\"extended\",defaultFontType:\"sans-serif\"},cardWidth:{type:ControlType.Number,title:\"Card Max Width\",defaultValue:280,min:160,max:800,step:4,unit:\"px\",displayStepper:true,description:\"Upper cap for the card width. The card is fluid (fills its container) up to this value.\"},cardRadius:{type:ControlType.Number,title:\"Card Radius\",defaultValue:16,min:0,max:64,step:1,unit:\"px\",displayStepper:true},mediaRadius:{type:ControlType.Number,title:\"Media Radius\",defaultValue:12,min:0,max:48,step:1,unit:\"px\",displayStepper:true},introLineClamp:{type:ControlType.Number,title:\"Card Intro Lines\",defaultValue:3,min:1,max:8,step:1,displayStepper:true},topOffset:{type:ControlType.Number,title:\"Sheet Top\",defaultValue:20,min:0,max:120,step:1,unit:\"px\",displayStepper:true},vimeoAspect:{type:ControlType.String,title:\"Vimeo Fallback\",defaultValue:\"auto\"},videoAspect:{type:ControlType.String,title:\"Video Fallback\",defaultValue:\"auto\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CaseStudyModalV2\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Case_Study_Modal_V2.map"],"mappings":"6TAUw9B,SAAS,GAAY,EAAM,EAAe,CAAgD,OAA5C,GAAO,OAAO,GAAQ,SAAgB,EAAY,CAAC,WAAW,OAAO,GAAQ,UAAU,EAAM,KAAK,CAAC,CAAC,OAAO,EAAE,EAAM,CAAc,CAAE,CAAC,SAAS,GAAY,CAAC,QAAM,YAAU,SAAO,CAAkM,OAA9L,GAAQ,MAAyB,IAAQ,GAAU,KAAQ,OAAO,GAAQ,SAA8B,EAAK,MAAM,CAAW,YAAgB,QAAM,wBAAwB,CAAC,OAAO,CAAK,CAAC,CAAC,EAAuB,EAAK,MAAM,CAAW,YAAgB,QAAM,SAAS,CAAK,CAAC,CAAE,CAAC,SAAS,EAAW,EAAM,CAAkG,OAA9F,GAAQ,KAA+B,GAAS,OAAO,GAAQ,UAAgB,EAAM,OAAO,CAAc,CAAC,SAAS,GAAe,EAAW,CAAC,IAAM,EAAM,EAAW,KAAK,EAA+F,OAAzF,EAAmB,gBAAgB,KAAK,CAAK,GAAG,EAAM,WAAW,SAAS,EAAS,EAAY,UAAU,IAA7F,GAAqG,CAAC,SAAS,GAAW,CAAC,UAAQ,QAAM,cAAY,aAAW,OAAK,OAAK,SAAO,CAAC,OAAoB,EAAM,MAAM,CAAC,yBAAyB,GAAG,SAAS,CAAc,EAAM,MAAM,CAAC,SAAS,CAAC,GAAsB,EAAK,MAAM,CAAC,MAAM,CAAC,WAAW,EAAM,KAAK,SAAS,OAAO,WAAW,IAAI,WAAW,IAAI,cAAc,UAAU,MAAM,UAAU,aAAa,KAAK,EAAE,SAAS,CAAO,CAAC,EAAE,G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