{"version":3,"file":"AzureIntroStyle.CvKQHSBY.mjs","names":["__esmMin","clamp","b","a","n","sized","url","px","srcOf","image","fallback","COGNAC","IVORY","DEEP","ESPRESSO","SERIF","SANS","GLASS_ALPHA","PHOTO_VEIL","leadStyle","TITLE_SIZE","LAG","MOTION","titleStyle","eyebrowStyle","layer","cover","init_AzureIntroStyle"],"sources":["https:/framerusercontent.com/modules/hldUQVM7AfhhxGtxLEAk/4UbDImwBO8TwdQ73LVXY/AzureIntroStyle.js"],"sourcesContent":["/**\n * Shared look and motion of the chapter intros: a title that rises over a\n * photo and zooms out while an eyebrow + explainer scroll up over it.\n *\n * Used by AzureSuitesIntro (desktop). The phone/tablet AzureSuitesScroll still\n * carries its own copy of these values; point it here to keep one source.\n */export const COGNAC=\"var(--azure-cognac, var(--token-a520aa7a-bfc7-4a40-ada9-99db6ef267b2, rgb(191, 160, 106)))\";export const IVORY=\"var(--azure-ivory, var(--token-dd717b3a-7217-4e52-b2cf-4779f44e71c3, rgb(245, 239, 230)))\";export const DEEP=\"var(--azure-deep-espresso, var(--token-404249ee-b742-401f-aee6-399ec6ca6cf6, rgb(18, 14, 11)))\";export const ESPRESSO=\"var(--azure-espresso, var(--token-8315fec4-10f4-4887-88ae-235c5733876b, rgb(30, 23, 19)))\";export const SERIF=\"'Bodoni Moda', 'Times New Roman', serif\";export const SANS=\"'Public Sans', system-ui, sans-serif\";export const INTRO_VEIL=\"linear-gradient(180deg, rgba(18,14,11,0.5) 0%, rgba(18,14,11,0.4) 45%, rgba(18,14,11,0.6) 100%)\";// The glass plate: the same espresso veil as the homepage Highlights panel, so\n// an intro can open straight out of it without an edge.\nexport const GLASS_ALPHA=.82;// A light veil that stays on a photo once the glass has gone.\nexport const PHOTO_VEIL=\"rgba(18,14,11,0.18)\";// A larger serif reading text for intros that open on glass.\nexport const leadStyle={margin:0,fontFamily:SERIF,fontWeight:400,fontSize:\"max(19px, min(20px, calc((100vw - 809px) * 100)), min(22px, calc((100vw - 1199px) * 100)))\",lineHeight:1.5,letterSpacing:\"-0.005em\",color:IVORY,textAlign:\"center\",...{textWrap:\"balance\"}};// The title's resting size; the explainer column is sized from it so the text\n// always sits in a box a little wider than the title, on every screen.\nexport const TITLE_SIZE=\"max(40px, min(56px, calc((100vw - 809px) * 100)), min(72px, calc((100vw - 1199px) * 100)))\";// Seconds; the time constant of the glide behind the scroll.\nexport const LAG=.14;// Timeline, in fractions of the stage height V.\nexport const MOTION={rise:.9,riseFrom:.32,scaleFrom:1.4,scaleBy:.65};export const titleStyle={margin:0,fontFamily:SERIF,fontWeight:500,fontSize:TITLE_SIZE,letterSpacing:\"-0.02em\",lineHeight:1,color:IVORY,whiteSpace:\"nowrap\",textShadow:\"0 2px 24px rgba(18,14,11,0.35)\",transformOrigin:\"center center\"};export const copyPadding=\"0 clamp(24px, 6vw, 64px)\";export const copyMaxWidth=`calc(${TITLE_SIZE} * 7.2)`;export const eyebrowStyle={margin:\"0 0 14px\",fontFamily:SANS,fontSize:11,fontWeight:600,letterSpacing:\"0.14em\",textTransform:\"uppercase\",color:COGNAC};export const bodyStyle={margin:0,fontFamily:SANS,fontSize:16,lineHeight:1.6,color:IVORY,textShadow:\"0 1px 16px rgba(18,14,11,0.5)\"};export const layer={position:\"absolute\",inset:0};export const cover={position:\"absolute\",inset:0,width:\"100%\",height:\"100%\",objectFit:\"cover\",display:\"block\"};export function clamp(n,a=0,b=1){return Math.min(b,Math.max(a,n));}// Originals run up to 6000px and 4MB; Framer serves a scaled copy on request.\nexport function sized(url,px){if(!/framerusercontent\\.com\\/images\\//.test(url))return url;return`${url.split(\"?\")[0]}?scale-down-to=${px}`;}export function srcOf(image,fallback){if(!image)return fallback;if(typeof image===\"string\")return image;return image.src||fallback;}\nexport const __FramerMetadata__ = {\"exports\":{\"cover\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"copyMaxWidth\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"sized\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"TITLE_SIZE\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ESPRESSO\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"copyPadding\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"PHOTO_VEIL\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"eyebrowStyle\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"titleStyle\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"MOTION\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"clamp\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"bodyStyle\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"srcOf\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SANS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"leadStyle\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"DEEP\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"IVORY\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SERIF\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"INTRO_VEIL\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"GLASS_ALPHA\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"COGNAC\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LAG\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"layer\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./AzureIntroStyle.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