{"version":3,"file":"ColumnGuides.Dn8d4baV.mjs","names":["React.useId"],"sources":["https:/framerusercontent.com/modules/f86gDmkPA1Jgq4GxN6yO/E7fQrO2IhLZvevHdZI4Q/ColumnGuides.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Column Guides — faint layout-grid lines for section backgrounds.\n *\n * @framerIntrinsicWidth 1440\n * @framerIntrinsicHeight 900\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function ColumnGuides(props){const{columnsXL,columnsDesktop,columnsTablet,columnsPhone,insetXL,insetDesktop,insetTablet,insetPhone,extend,fullGrid,rowSize,lineColor,dashed,dashLength,topRule,bottomRule,ruleColor,ticks,tickColor,tickSize,fade}=props;const rawId=React.useId();const scope=\"mbcg\"+rawId.replace(/[^a-zA-Z0-9]/g,\"\");const S=`.${scope}`;const col=n=>Math.max(1,Math.round(n||1));// Column spacing = content width / columns; content width = container width - 2 x inset\nconst SP=`calc((100cqw - 2 * var(--cg-inset)) / var(--cg-cols))`;const vLines=color=>`linear-gradient(90deg, ${color} 0 1px, transparent 1px)`;const placement=extend?`left: 0; right: 0; background-position: var(--cg-inset) 0;`:`left: var(--cg-inset); width: calc(100cqw - 2 * var(--cg-inset) + 1px); background-position: 0 0;`;const fadeMask=fade>0?`-webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 ${fade}px, #000 calc(100% - ${fade}px), transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 ${fade}px, #000 calc(100% - ${fade}px), transparent 100%);`:\"\";const dashMask=dashed?`-webkit-mask-image: repeating-linear-gradient(to bottom, #000 0 ${dashLength}px, transparent ${dashLength}px ${dashLength*2}px); mask-image: repeating-linear-gradient(to bottom, #000 0 ${dashLength}px, transparent ${dashLength}px ${dashLength*2}px);`:\"\";const css=`\n${S} { position: relative; width: 100%; height: 100%; overflow: hidden; pointer-events: none; container-type: inline-size; }\n${S} .cg-var { position: absolute; inset: 0; --cg-cols: ${col(columnsXL)}; --cg-inset: ${insetXL}px; }\n/* Tiers match the site breakpoints (the section spans the viewport below 1440px) */\n@container (max-width: 1439.98px) { ${S} .cg-var { --cg-cols: ${col(columnsDesktop)}; --cg-inset: ${insetDesktop}px; } }\n@container (max-width: 1279.98px) { ${S} .cg-var { --cg-cols: ${col(columnsTablet)}; --cg-inset: ${insetTablet}px; } }\n@container (max-width: 809.98px) { ${S} .cg-var { --cg-cols: ${col(columnsPhone)}; --cg-inset: ${insetPhone}px; } }\n${S} .cg-fade { position: absolute; inset: 0; ${fadeMask} }\n${S} .cg-cols { position: absolute; top: 0; bottom: 0; ${placement} background-image: ${vLines(lineColor)}; background-size: ${SP} 100%; background-repeat: repeat-x; ${dashMask} }\n${S} .cg-rows { position: absolute; inset: 0; background-image: linear-gradient(180deg, ${lineColor} 0 1px, transparent 1px); background-size: 100% ${rowSize>0?`${rowSize}px`:SP}; ${dashMask} }\n${S} .cg-rule { position: absolute; left: 0; right: 0; height: 1px; background: ${ruleColor}; }\n${S} .cg-rule.top { top: 0; }\n${S} .cg-rule.bottom { bottom: 0; }\n${S} .cg-ticks { position: absolute; height: ${tickSize}px; ${placement} background-image: ${vLines(tickColor)}; background-size: ${SP} 100%; background-repeat: repeat-x; }\n${S} .cg-ticks.top { top: 0; }\n${S} .cg-ticks.bottom { bottom: 0; }\n`;return /*#__PURE__*/_jsxs(\"div\",{className:scope,\"aria-hidden\":\"true\",style:{...props.style},children:[/*#__PURE__*/_jsx(\"style\",{children:css}),/*#__PURE__*/_jsxs(\"div\",{className:\"cg-var\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"cg-fade\",children:[/*#__PURE__*/_jsx(\"div\",{className:\"cg-cols\"}),fullGrid&&/*#__PURE__*/_jsx(\"div\",{className:\"cg-rows\"})]}),topRule&&/*#__PURE__*/_jsx(\"div\",{className:\"cg-rule top\"}),bottomRule&&/*#__PURE__*/_jsx(\"div\",{className:\"cg-rule bottom\"}),ticks&&topRule&&/*#__PURE__*/_jsx(\"div\",{className:\"cg-ticks top\"}),ticks&&bottomRule&&/*#__PURE__*/_jsx(\"div\",{className:\"cg-ticks bottom\"})]})]});}addPropertyControls(ColumnGuides,{// ── COLUMNS (per screen size) ──\ncolumnsXL:{type:ControlType.Number,title:\"Columns XL\",min:1,max:24,step:1,displayStepper:true,defaultValue:12},columnsDesktop:{type:ControlType.Number,title:\"Columns Desktop\",min:1,max:24,step:1,displayStepper:true,defaultValue:12},columnsTablet:{type:ControlType.Number,title:\"Columns Tablet\",min:1,max:24,step:1,displayStepper:true,defaultValue:8},columnsPhone:{type:ControlType.Number,title:\"Columns Phone\",min:1,max:24,step:1,displayStepper:true,defaultValue:4},insetXL:{type:ControlType.Number,title:\"Inset XL\",min:0,max:400,step:1,unit:\"px\",defaultValue:120,description:\"Match the section's side padding so lines hit the content edges.\"},insetDesktop:{type:ControlType.Number,title:\"Inset Desktop\",min:0,max:400,step:1,unit:\"px\",defaultValue:96},insetTablet:{type:ControlType.Number,title:\"Inset Tablet\",min:0,max:400,step:1,unit:\"px\",defaultValue:48},insetPhone:{type:ControlType.Number,title:\"Inset Phone\",min:0,max:400,step:1,unit:\"px\",defaultValue:24},extend:{type:ControlType.Boolean,title:\"Extend Past Content\",defaultValue:true},// ── GRID ──\nfullGrid:{type:ControlType.Boolean,title:\"Full Grid\",defaultValue:false},rowSize:{type:ControlType.Number,title:\"Row Height\",min:0,max:400,step:1,unit:\"px\",defaultValue:0,description:\"0 = square cells.\",hidden:p=>!p.fullGrid},// ── LINES ──\nlineColor:{type:ControlType.Color,title:\"Line Color\",defaultValue:\"rgba(190, 200, 230, 0.06)\"},dashed:{type:ControlType.Boolean,title:\"Dashed\",defaultValue:false},dashLength:{type:ControlType.Number,title:\"Dash Length\",min:2,max:40,step:1,unit:\"px\",defaultValue:6,hidden:p=>!p.dashed},fade:{type:ControlType.Number,title:\"Edge Fade\",min:0,max:400,step:1,unit:\"px\",defaultValue:80},// ── RULES + TICKS ──\ntopRule:{type:ControlType.Boolean,title:\"Top Rule\",defaultValue:false},bottomRule:{type:ControlType.Boolean,title:\"Bottom Rule\",defaultValue:true},ruleColor:{type:ControlType.Color,title:\"Rule Color\",defaultValue:\"rgba(190, 200, 230, 0.14)\"},ticks:{type:ControlType.Boolean,title:\"Tick Marks\",defaultValue:true},tickColor:{type:ControlType.Color,title:\"Tick Color\",defaultValue:\"rgba(190, 200, 230, 0.32)\"},tickSize:{type:ControlType.Number,title:\"Tick Size\",min:2,max:24,step:1,unit:\"px\",defaultValue:7,hidden:p=>!p.ticks}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ColumnGuides\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\",\"framerIntrinsicWidth\":\"1440\",\"framerSupportedLayoutHeight\":\"any\",\"framerIntrinsicHeight\":\"900\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ColumnGuides.map"],"mappings":"kLAQG,SAAwB,EAAa,EAAM,CAAC,GAAK,CAAC,YAAU,iBAAe,gBAAc,eAAa,UAAQ,eAAa,cAAY,aAAW,SAAO,WAAS,UAAQ,YAAU,SAAO,aAAW,UAAQ,aAAW,YAAU,QAAM,YAAU,WAAS,QAAM,EAAsC,EAAM,OAA1BA,EAAqC,CAAC,CAAC,QAAQ,gBAAgB,EAAE,EAAQ,EAAE,IAAI,IAAc,EAAI,GAAG,KAAK,IAAI,EAAE,KAAK,MAAM,GAAG,CAAC,CAAC,EAChZ,EAAG,wDAA8D,EAAO,GAAO,0BAA0B,EAAM,0BAAgC,EAAU,EAAO,6DAA6D,oGAA0G,EAAS,EAAK,EAAE,sEAAsE,EAAK,uBAAuB,EAAK,qFAAqF,EAAK,uBAAuB,EAAK,yBAAyB,GAAS,EAAS,EAAO,mEAAmE,EAAW,kBAAkB,EAAW,KAAK,EAAW,EAAE,+D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