{"version":3,"file":"shared-lib.KGKorbag.mjs","names":["useState","useRef","useContext","useRef","useState","__esmMin","oe","init_ssg_sandbox_shims","window","_e","de","init_jsx_runtime","B","p","init_npm_react_18_3_1","ce","useTransform","useScroll","useSpring","animate","init_framer_motion_DhsWWWsN","init_framer_DJ_0WPVq","ControlType","RenderTarget","surfaceInk","bg","semantic","tone","colors","component","ledeType","isMobile","typography","focusCss","onYellow","kind","selector","f","fill","getSpacing","tier","width","breakpoints","pick","mobile","tablet","desktop","space","layout","EPILOGUE_LIGHT","condensedFontCss","radius","button","shadow","init_tokens","useParallaxY","ref","smooth","scrollYProgress","options","distance","isAutoScrolling","autoScrolls","animatedScrollTo","dur","ease","to","top","prefersReducedMotion","start","done","finish","durationSec","easing","v","pageTop","y","el","scrollToTarget","t0","last","stillSince","begin","opts","SECTION_GLIDE","getTop","wait","now","SETTLE_MS","navBarHeight","nav","scrollToSection","getEl","useCardInteraction","hover","setHover","focus","setFocus","pressed","setPressed","side","setSide","wrapped","setWrapped","timer","pending","anchor","target","onIn","visible","onOut","onShow","release","r","TOUCH_PRESS_DELAY","CardLink","external","href","label","useCanHover","can","setCan","mq","update","floodStyle","noMotion","sec","easeCss","on","arrowNudge","active","x","NUDGE_PX","dir","k","flushReveals","hold","heroRiseWait","revealNextFree","cap","stagger","rows","revealBatch","a","b","t","at","sub","revealSubs","revealIO","queueReveal","scheduleFlush","revealFrame","revealAtPageEnd","root","d","h","anim","elapsed","watchReveal","e","entries","useReveal","state","setState","delay","setDelay","reduced","onScreen","play","canScroll","stop","go","own","transition","REVEAL_FAILSAFE_S","REVEAL_Y","parts","HeroRiseStyles","HERO_CSS","heroRise","off","index","revealIn","PRESS_SCALE","init_motion","toneControl","useSection","SectionContext","ToneScope","parent","Section","w","setW","vh","setVh","setReduced","progress","setProgress","frameH","setFrameH","frameRef","isCanvas","ro","lastW","onResize","wNow","prev","s","pinned","pinOnMobile","minViewport","fitContent","pinFit","snapKey","snapPoints","run","runway","points","stickyTop","glide","busy","busyTimer","sx","sy","decided","lastY","queued","goTo","down","stepTarget","P","wheelT","acc","stepped","stepT","ema","peak","fadeT","low","lastDown","onWheel","mag","gap","fresh","onKey","up","claimed","onStart","onMove","dx","dy","noPan","setTouchAction","onScroll","raf","total","padY","fullHeight","join","bottom","ink","line","borderBottom","value","background","toneBelow","splitAt","progressBar","pinAlign","SectionHeader","headingType","bodyType","Heading","as","heading","accent","headingHref","body","init_Section"],"sources":["https:/framerusercontent.com/modules/HDAkrahb3ethcU2GAef2/DkF8oqFSecx6ZaRXcaSg/tokens.js","https:/framerusercontent.com/modules/YFy4SNb784n2qKl2hppy/colxGJTFY3MkaqyjCjL8/motion.js","https:/framerusercontent.com/modules/QAOPTtLoApnb5MkIYZk8/dc3QSbcDf1WpIWW4hTIx/Section.js"],"sourcesContent":["// ─── Primitive layer — what colors ARE ───────────────────────────────────────\n// Raw values only. No role names. Components never import this directly.\nexport const colors={// Core palette (2026-09-22 system redesign)\nslate:\"#3d3c34\",yellow:\"#faf06b\",red:\"#ea5932\",ember:\"#b9783a\",creamWarm:\"#fffbe6\",// Text-safe tints — solid colors, verified ≥4.5:1 on creamWarm/white. TEXT/foreground use only.\nslateSecondary:\"#58564b\",slateTertiary:\"#757465\",redText:\"#c05033\",redTextHover:\"#ae4c33\",yellowFillHover:\"#ebe165\",emberText:\"#9c6838\",// Opacity variants — non-text overlays only (scrims, dividers, image overlays). Never use for body/label text — see slateSecondary/slateTertiary above.\nslateMuted:\"rgba(61,60,52,0.55)\",slateFaint:\"rgba(61,60,52,0.30)\",slateHair:\"rgba(61,60,52,0.12)\",// Opacity variants — cream (warm)\ncreamMuted:\"rgba(255,251,230,0.70)\",creamFaint:\"rgba(255,251,230,0.30)\",// Legacy / unused\ncream:\"#fff9e5\",gold:\"#cad02d\",goldDark:\"#8f8439\",orange:\"#f26422\",blue:\"#0057bd\",cyan:\"#00b7e1\",pink:\"#fe75ad\",offWhite:\"#f7f7f7\"};// ─── Semantic layer — what colors DO ─────────────────────────────────────────\n// Role aliases pointing to primitives. Components use this for all role-based colors.\n// Section background strategy (2026-09-23): one cream. Rhythm comes from colour bands, not cream ↔ white —\n// page rhythm \"Illustration-led\": red hero → slate feature, cream for reading, yellow for join/newsletter, slate footer.\n// Two touching sections with the same surface get the semantic.border hairline (Section.tsx borderBottom/join).\nexport const semantic={// Text hierarchy — all AA-verified (≥4.5:1) on surface and surfaceYellow (textTertiary: 4.0:1 on yellow — large text only there)\ntextPrimary:colors.slate,textSecondary:colors.slateSecondary,textTertiary:colors.slateTertiary,// Cream text — the text color for surfaceDark, surfaceRed AND surfaceEmber (2026-09-23 decision).\n// 10.7:1 on slate; 3.4:1 on red and 3.5:1 on ember → large text only on red/ember (see below).\ntextOnDark:colors.creamWarm,// Section backgrounds — default warm cream; alternate or apply section-specific tone\nsurface:colors.creamWarm,surfaceAlt:colors.creamWarm,// \"surfaceAlt\", FoodSystemSection, OurRole, LandingHero, PastEventsGallery) migrate to \"surface\"\nsurfaceDark:colors.slate,// Colored section backgrounds — full section backgrounds are allowed for all three (2026-09-23).\n// Raw brand colors, exactly as given — no tinting or darkening.\n// Yellow pairs with textPrimary. Red and ember pair with textOnDark (cream) — NOT slate (slate is 3.2/3.1:1).\n// Cream on red/ember only clears 3.4/3.5:1: large text (≥24px, or ≥19px bold), illustration, buttons\n// (which sit on their own fill) and cards only — never body-sized copy directly on the band.\n// Hero subline on red stays above the illustration and is set at large-text size.\nsurfaceYellow:colors.yellow,surfaceRed:colors.red,surfaceEmber:colors.ember,// Interactive — TEXT/foreground use only (links, hover color, focus rings, icons). Yellow cannot\n// serve this role (1.1:1 on cream, illegible as text) — see interactiveFill below for the yellow brand fill.\n// Link hover varies by surface (2026-09-23): interactive on surface; interactiveOnDark on surfaceDark;\n// on surfaceYellow/Red/Ember hover keeps the text color and adds an underline (no palette text color passes there).\ninteractive:colors.redText,interactiveHover:colors.redTextHover,interactiveOnDark:colors.yellow,// Interactive fill — BACKGROUND/BORDER use only (buttons, progress bars, dots, active borders/rings).\n// Always pair with textPrimary or surface on top — never textOnDark (yellow fails against white/cream text).\ninteractiveFill:colors.yellow,interactiveFillHover:colors.yellowFillHover,// Accent — red fill for badges, alerts, section accents. Large text (≥18.66px, or ≥14pt bold) or\n// icons only on top (~3.2–3.4:1) — never small body text; use interactive/interactiveHover for red-as-text.\naccent:colors.red,accentHover:\"#de5632\",// Tertiary — ember fill for warmth/heritage accents. Large text or icons only on top (~3.1:1) —\n// never small body text; use colors.emberText (4.5:1) if ember-as-text is needed.\ntertiary:colors.ember,tertiaryHover:\"#b07339\",// Borders and dividers — slate at low opacity (decorative hairline only, not a state indicator)\nborder:colors.slateHair,// Status — form/inline feedback text (e.g. newsletter, contact form submit results). The brand\n// palette has no green/blue (adding one needs asking first — see color-system exploration notes),\n// so success reuses textPrimary and must pair with an icon or copy, never color alone (WCAG 1.4.1).\nsuccess:colors.slate,error:colors.redText};// ─── Component layer — component-specific tokens ──────────────────────────────\nexport const component={cardTextMuted:colors.creamWarm,navSurface:colors.creamWarm,backToTopInk:colors.creamMuted,headingOnCream:colors.red,// Card type accents — \"colour-coded\" cards (2026-09-23): cards stay neutral cream; ONE element per type\n// carries its colour (event date block, programme thumb, news tag, press mark). Fill use only.\ncardAccentEvent:colors.red,cardAccentProgram:colors.ember,cardAccentNews:colors.yellow,cardAccentPress:colors.slate,// Focus — no rings/outlines around elements (2026-09-23 decision).\n// Links & buttons: highlighter fill behind the label. Form fields: the field's own border thickens by 1px, nothing else.\nfocusFill:colors.yellow,focusFillOnYellow:colors.slate,inputBorder:colors.slateFaint,// Underline fields (newsletter, contact form) and the contact form's checkbox: slate / cream at 60% (2026-11-12, user:\n// \"thinner and a bit lighter\"; was full ink). The lightest that keeps 3:1 for a field edge: 3.4:1 on cream, 3.3:1 on\n// yellow, 5.0:1 cream on slate. Not text colours.\ninputLine:\"rgba(61,60,52,0.6)\",inputLineOnDark:\"rgba(255,251,230,0.6)\",// 0.5px = one screen pixel on retina screens; standard screens draw 1px. Was 1 / 2 until 2026-11-12.\ninputBorderWidth:.5,inputBorderWidthActive:1.5};// ─── Typography ───────────────────────────────────────────────────────────────\nexport const typography={// Desktop\ndisplay:{fontFamily:\"'Bricolage Grotesque', sans-serif\",fontWeight:700,fontSize:\"4rem\",lineHeight:\"1em\",letterSpacing:\"-0.03em\"},h1:{fontFamily:\"'Bricolage Grotesque', sans-serif\",fontWeight:500,fontSize:\"3.4rem\",lineHeight:\"1.05em\",letterSpacing:\"-0.02em\"},h2:{fontFamily:\"'Bricolage Grotesque', sans-serif\",fontWeight:500,fontSize:\"2.8rem\",lineHeight:\"1.1em\",letterSpacing:\"-0.02em\"},h3:{fontFamily:\"'Bricolage Grotesque', sans-serif\",fontWeight:500,fontSize:\"2.25rem\",lineHeight:\"1.2em\",letterSpacing:\"-0.01em\"},// guide 2026-11-04 (user): the guiding headings on CMS detail pages (\"Andere artikelen\", \"Onderzoek bij dit project\").\n// Well under the section heading, and never under 24px, the smallest size red on cream passes at (large text, 3:1).\nguide:{fontFamily:\"'Bricolage Grotesque', sans-serif\",fontWeight:500,fontSize:\"1.75rem\",lineHeight:\"1.2em\",letterSpacing:\"-0.01em\"},// quote 2026-11-06 (user): the large community quote on /artikelen, the h2 scale in the condensed semi bold cut.\n// Needs condensedFontCss on the page.\nquote:{fontFamily:\"'Bricolage Condensed', 'Bricolage Grotesque', sans-serif\",fontWeight:600,fontStretch:\"75%\",fontSize:\"2.8rem\",lineHeight:\"1.1em\",letterSpacing:\"0.01em\"},// h4 400 → 500 2026-11-03 (user): one weight on every screen, as h4Mobile; Framer text styles can't switch weight\nh4:{fontFamily:\"'Bricolage Grotesque', sans-serif\",fontWeight:500,fontSize:\"1.375rem\",lineHeight:\"1.25em\",letterSpacing:\"-0.01em\"},body:{fontFamily:\"'Epilogue', sans-serif\",fontWeight:400,fontSize:\"1rem\",lineHeight:\"1.65em\",letterSpacing:\"0px\"},// Running text on red and ember (2026-11-05, /programmas): body size fails contrast there, 19px bold counts as large text.\nbodyOnColour:{fontFamily:\"'Epilogue', sans-serif\",fontWeight:700,fontSize:\"1.1875rem\",lineHeight:\"1.4em\",letterSpacing:\"0px\"},label:{fontFamily:\"'Epilogue', sans-serif\",fontWeight:600,fontSize:\"0.78rem\",lineHeight:\"1.4em\",letterSpacing:\"0.04em\"},// Text Arrow label (PROJECT_CONTEXT §5, type 1): the words beside the arrow in a card or row — \"Lees verder\",\n// \"3 projecten\", \"Bekijk het programma\". Semi bold since 2026-11-12 (user: \"can be semi bold. Now they just look like\n// body text\"; regular from 2026-11-10). This is the one place their weight is set: never add a fontWeight on top.\n// The arrow sits right after the words, space.gapSmall apart, never pushed to the far edge. textArrow = body size\n// (large cards), textArrowSmall = label size (cards whose other small text is label size).\ntextArrow:{fontFamily:\"'Epilogue', sans-serif\",fontWeight:600,fontSize:\"1rem\",lineHeight:\"1.65em\",letterSpacing:\"0px\"},textArrowSmall:{fontFamily:\"'Epilogue', sans-serif\",fontWeight:600,fontSize:\"0.78rem\",lineHeight:\"1.4em\",letterSpacing:\"0.04em\"},// Light caption on a photo (2026-11-04, user): the label size at Epilogue 300. The site's fonts stop at 400, so a\n// component using this also renders <link rel=\"stylesheet\" href={EPILOGUE_LIGHT} />.\ncaption:{fontFamily:\"'Epilogue', sans-serif\",fontWeight:300,fontSize:\"0.78rem\",lineHeight:\"1.4em\",letterSpacing:\"0.02em\"},labelMuted:{fontFamily:\"'Epilogue', sans-serif\",fontWeight:400,fontSize:\"0.7rem\",lineHeight:\"1.4em\",letterSpacing:\"0.04em\"},eyebrow:{fontFamily:\"'Epilogue', sans-serif\",fontWeight:500,fontSize:\"0.7rem\",lineHeight:\"1.4em\",letterSpacing:\"0.12em\",textTransform:\"uppercase\"},nav:{fontFamily:\"'Epilogue', sans-serif\",fontWeight:500,fontSize:\"0.88rem\",lineHeight:\"1.2em\",letterSpacing:\"0.02em\"},emphasis:{fontFamily:\"'Spectral', serif\",fontWeight:700,fontSize:\"0.88rem\",lineHeight:\"1.4em\",letterSpacing:\"0.02em\"},// Mobile variants\ndisplayMobile:{fontFamily:\"'Bricolage Grotesque', sans-serif\",fontWeight:700,fontSize:\"2.25rem\",lineHeight:\"1.1em\",letterSpacing:\"-0.02em\"},// Mobile heading scale widened 2026-09-23 (was 28 / 20.8 / 19.5px — headings barely above 16px body)\n// h2Mobile 28 → 32px 2026-11-03 (user): section headings read too small on phones next to 22px row titles\nh1Mobile:{fontFamily:\"'Bricolage Grotesque', sans-serif\",fontWeight:500,fontSize:\"2.25rem\",lineHeight:\"1.1em\",letterSpacing:\"-0.015em\"},h2Mobile:{fontFamily:\"'Bricolage Grotesque', sans-serif\",fontWeight:500,fontSize:\"2rem\",lineHeight:\"1.15em\",letterSpacing:\"-0.01em\"},h3Mobile:{fontFamily:\"'Bricolage Grotesque', sans-serif\",fontWeight:500,fontSize:\"1.375rem\",lineHeight:\"1.25em\",letterSpacing:\"-0.005em\"},quoteMobile:{fontFamily:\"'Bricolage Condensed', 'Bricolage Grotesque', sans-serif\",fontWeight:600,fontStretch:\"75%\",fontSize:\"2rem\",lineHeight:\"1.15em\",letterSpacing:\"0.01em\"},guideMobile:{fontFamily:\"'Bricolage Grotesque', sans-serif\",fontWeight:500,fontSize:\"1.5rem\",lineHeight:\"1.2em\",letterSpacing:\"-0.005em\"},h4Mobile:{fontFamily:\"'Bricolage Grotesque', sans-serif\",fontWeight:500,fontSize:\"1.125rem\",lineHeight:\"1.35em\",letterSpacing:\"0px\"},bodyMobile:{fontFamily:\"'Epilogue', sans-serif\",fontWeight:400,fontSize:\"1rem\",lineHeight:\"1.6em\",letterSpacing:\"0px\"},// Small running text (2026-11-12, user: \"a bit smaller body text\" on the phone project rows): the Short Description\n// in a ProjectCard Compact row, under the 18px h4Mobile title (ratio 1.29). 14px is the floor for running text.\nbodySmall:{fontFamily:\"'Epilogue', sans-serif\",fontWeight:400,fontSize:\"0.875rem\",lineHeight:\"1.5em\",letterSpacing:\"0px\"},eyebrowMobile:{fontFamily:\"'Epilogue', sans-serif\",fontWeight:500,fontSize:\"0.72rem\",lineHeight:\"1.4em\",letterSpacing:\"0.12em\",textTransform:\"uppercase\"},navMobile:{fontFamily:\"'Epilogue', sans-serif\",fontWeight:500,fontSize:\"0.88rem\",lineHeight:\"1.2em\",letterSpacing:\"0.02em\"},emphasisMobile:{fontFamily:\"'Spectral', serif\",fontWeight:700,fontSize:\"0.88rem\",lineHeight:\"1.4em\",letterSpacing:\"0.02em\"}};export default function Tokens(){return null;}// Epilogue's 300 face: not in the project's font list (Fontshare, via Framer text styles), so components load it themselves\nexport const EPILOGUE_LIGHT=\"https://api.fontshare.com/v2/css?f[]=epilogue@300&display=swap\";// Condensed cut of the heading font (2026-11-06): Bricolage's width axis at 75. Framer only loads the fonts of its own text\n// layers, and those are static files without that axis, so the variable file comes in here. Same host as Framer's own fonts;\n// the url is Framer's \"Bricolage Grotesque Variable\". Goes in a <style> on any page that uses typography.quote.\nexport const condensedFontCss=\"@font-face{font-family:'Bricolage Condensed';src:url('https://fonts.gstatic.com/s/bricolagegrotesque/v9/3y996as8bTXq_nANBjzKo3IeZx8z6up5H-qHGN6NLPo.woff2') format('woff2');font-weight:200 800;font-stretch:75% 100%;font-display:swap}\";// ─── Spacing ──────────────────────────────────────────────────────────────────\nexport const space={sectionDesktop:\"120px\",sectionTablet:\"80px\",sectionMobile:\"56px\",containerDesktop:\"96px\",containerTablet:\"48px\",containerMobile:\"28px\",gapStandard:\"16px\",gapSmall:\"8px\",gapLarge:\"24px\"};// ─── Layout ───────────────────────────────────────────────────────────────────\nexport const layout={headerGapDesktop:\"56px\",headerGapTablet:\"40px\",headerGapMobile:\"32px\",cardPadding:\"24px\",containerMax:1400,headingMax:\"680px\",bodyMax:\"560px\"};// ─── Radius ───────────────────────────────────────────────────────────────────\n// Capped at 8px max site-wide (2026-09-23 decision). Perfect circles (border-radius: 50%\n// on icon buttons, avatars, hover-ripple rings) are an intentional shape, not a radius value\n// scaled from this table, and are explicitly exempt — see PROJECT_CONTEXT.md §5.\nexport const radius={card:\"8px\",button:\"8px\",label:\"8px\"};// ─── Button ───────────────────────────────────────────────────────────────────\nexport const button={iconDesktop:\"40px\",iconMobile:\"32px\"};// Elevation — PROJECT_CONTEXT.md §14's universal card-hover shadow, rebased from the old ink\n// rgb(28,28,28) to slate rgb(61,60,52) — was duplicated as a raw string in ProjectCard.tsx/ProgramCard.tsx.\nexport const shadow={card:\"0 16px 48px rgba(61,60,52,0.12)\",cardOff:\"0 16px 48px rgba(61,60,52,0)\",// Cream card on a cream surface (2026-09-23: white card fill retired) — hairline + soft lift at rest,\n// same two layers on hover so the transition interpolates. On any non-cream surface the card lifts on its own.\ncardRest:\"0 0 0 1px rgba(61,60,52,0.12), 0 4px 16px rgba(61,60,52,0.06)\",cardRestHover:\"0 0 0 1px rgba(61,60,52,0.12), 0 16px 48px rgba(61,60,52,0.12)\"};export function surfaceInk(tone=\"surface\"){const bg=semantic[tone];if(tone===\"surfaceDark\")return{// All text on slate is full cream — no muted/tinted cream for copy (2026-09-23: faded cream read as grey).\nbg,dark:true,text:semantic.textOnDark,textSecondary:semantic.textOnDark,textTertiary:semantic.textOnDark,eyebrow:semantic.textOnDark,link:semantic.textOnDark,linkHover:semantic.interactiveOnDark,linkHoverUnderline:false,fill:semantic.interactiveFill,fillText:semantic.textPrimary,fillHover:semantic.interactiveFillHover,border:colors.creamFaint,borderStrong:colors.creamMuted,card:colors.creamWarm,heading:semantic.textOnDark,accent:colors.yellow};if(tone===\"surfaceRed\"||tone===\"surfaceEmber\")return{bg,dark:true,text:semantic.textOnDark,textSecondary:semantic.textOnDark,textTertiary:semantic.textOnDark,eyebrow:semantic.textOnDark,link:semantic.textOnDark,linkHover:semantic.textOnDark,linkHoverUnderline:true,fill:semantic.interactiveFill,fillText:semantic.textPrimary,fillHover:semantic.interactiveFillHover,border:colors.creamFaint,borderStrong:semantic.textOnDark,card:colors.creamWarm,heading:semantic.textOnDark,accent:semantic.textOnDark};if(tone===\"surfaceYellow\")return{bg,dark:false,text:semantic.textPrimary,textSecondary:semantic.textSecondary,textTertiary:semantic.textSecondary,eyebrow:semantic.textPrimary,link:semantic.textPrimary,linkHover:semantic.textPrimary,linkHoverUnderline:true,fill:component.focusFillOnYellow,fillText:semantic.textOnDark,fillHover:colors.slateSecondary,border:colors.slateHair,borderStrong:colors.slateFaint,card:colors.creamWarm,heading:semantic.textPrimary,accent:semantic.textPrimary};return{bg,dark:false,text:semantic.textPrimary,textSecondary:semantic.textSecondary,textTertiary:semantic.textTertiary,eyebrow:semantic.interactive,link:semantic.textPrimary,linkHover:semantic.interactive,linkHoverUnderline:false,fill:semantic.interactiveFill,fillText:semantic.textPrimary,fillHover:semantic.interactiveFillHover,border:semantic.border,borderStrong:component.inputBorder,card:colors.creamWarm,heading:component.headingOnCream,accent:semantic.textPrimary};}// Header lede (intro paragraph under an h1). On red/ember no palette color passes AA at body size, so the\n// lede steps up to the h4 scale there — the \"text above the illustration is set large\" rule. Elsewhere: body.\nexport function ledeType(tone,isMobile){if(tone===\"surfaceRed\"||tone===\"surfaceEmber\")return isMobile?typography.h4Mobile:typography.h4;return isMobile?typography.bodyMobile:typography.body;}// Focus — no rings (2026-09-23). Returns CSS for `selector:focus-visible`.\n//   \"link\":   highlighter fill behind the label (yellow, or slate on yellow surfaces)\n//   \"button\": the filled button shows its hover fill (pass it as `fill`) — a highlighter on a filled button would vanish.\n//             Without `fill`: slate (or yellow on surfaceYellow).\n//   \"input\":  the field's own border thickens 1px → 2px, same color. Nothing else.\nexport function focusCss(selector,kind,tone=\"surface\",fill){const onYellow=tone===\"surfaceYellow\";if(kind===\"input\")return`${selector}{outline:none}${selector}:focus,${selector}:focus-visible{outline:none;border-width:${component.inputBorderWidthActive}px}`;if(kind===\"button\"){const f=fill??(onYellow?{bg:semantic.interactiveFill,fg:semantic.textPrimary}:{bg:colors.slate,fg:semantic.textOnDark});return`${selector}:focus-visible{outline:none;background-color:${f.bg} !important;color:${f.fg} !important}`;}return`${selector}:focus-visible{outline:none;background:${onYellow?component.focusFillOnYellow:component.focusFill};color:${onYellow?semantic.textOnDark:semantic.textPrimary} !important;border-radius:4px;box-decoration-break:clone;-webkit-box-decoration-break:clone}`;}// ─── Spacing resolver ─────────────────────────────────────────────────────────\n// The one place responsive section spacing is decided. Full-width sections pass their own\n// measured width (= frame width). Never pass a card's width — see PROJECT_CONTEXT.md §6 and §8.\nexport const breakpoints={tablet:768,desktop:1024};export function getSpacing(width){const tier=width<breakpoints.tablet?\"mobile\":width<breakpoints.desktop?\"tablet\":\"desktop\";const pick=(mobile,tablet,desktop)=>tier===\"mobile\"?mobile:tier===\"tablet\"?tablet:desktop;return{tier,isMobile:tier===\"mobile\",isTablet:tier===\"tablet\",isDesktop:tier===\"desktop\",hPad:pick(space.containerMobile,space.containerTablet,space.containerDesktop),vPad:pick(space.sectionMobile,space.sectionTablet,space.sectionDesktop),headerGap:pick(layout.headerGapMobile,layout.headerGapTablet,layout.headerGapDesktop),// Above a guiding heading (typography.guide) on a CMS detail page: one step down the scale, 80 / 56 / 40 (2026-11-06).\n// The full section padding read as too much above a heading this small, the header gap read as cut off (2026-11-04).\nguideGap:pick(layout.headerGapTablet,space.sectionMobile,space.sectionTablet)};}\nexport const __FramerMetadata__ = {\"exports\":{\"breakpoints\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SurfaceInk\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"space\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Tier\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"typography\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"surfaceInk\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"EPILOGUE_LIGHT\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Spacing\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getSpacing\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"component\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SurfaceTone\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"semantic\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"condensedFontCss\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ledeType\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"focusCss\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"shadow\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"layout\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"radius\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"button\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"colors\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./tokens.map","// WoF motion tokens — single source of truth for all animation work.\n// Read MOTION_SYSTEM.md before making any changes here.\n// Do not introduce new curves or durations without updating both files.\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useRef,useState}from\"react\";import{useScroll,useSpring,useTransform,animate}from\"framer-motion\";import{RenderTarget}from\"framer\";// ─── Easing ──────────────────────────────────────────────────────────────────\n// Framer-array form: [x1, y1, x2, y2]\nexport const ease={primary:[.5,0,0,1],text:[.38,.005,.215,1],spring:[.2,.8,.4,1.1],inOut:[.455,.03,.515,.955],scroll:[.33,1,.68,1],land:[.6,0,.9,1]};// CSS string form: for inline style `transition` values\nexport const easeCss={primary:\"cubic-bezier(0.5, 0, 0, 1)\",text:\"cubic-bezier(0.38, 0.005, 0.215, 1)\",spring:\"cubic-bezier(0.2, 0.8, 0.4, 1.1)\",inOut:\"cubic-bezier(0.455, 0.03, 0.515, 0.955)\",scroll:\"cubic-bezier(0.33, 1, 0.68, 1)\",land:\"cubic-bezier(0.6, 0, 0.9, 1)\"};// ─── Duration (seconds) ──────────────────────────────────────────────────────\nexport const dur={micro:.2,short:.4,medium:.65,long:.85,page:1,landing:1.1};// ─── Stagger ─────────────────────────────────────────────────────────────────\nexport const stagger={item:.12,layer:.25,maxDepth:4};// ─── Motion constants ─────────────────────────────────────────────────────────\nexport const HERO_RISE_Y=40// px — hero content Y offset (§4.3)\n;export const ICON_NOD_Y=12// % — button icon nod on hover (§4.7)\n;export const PRESS_SCALE=.98// × the element's current scale while pressed (§4.7a)\n;// ─── Transition helpers ───────────────────────────────────────────────────────\n// Standard scroll-reveal — transform + opacity with split easing (§4.4 simple elements)\nexport function revealTransition(delaySec=0){return[`transform ${dur.medium}s ${easeCss.primary} ${delaySec}s`,`opacity   ${dur.medium}s ${easeCss.text}    ${delaySec}s`].join(\", \");}// Hero content rise — longer duration (§4.3)\nexport function heroTransition(delaySec=0){return[`transform ${dur.long}s ${easeCss.primary} ${delaySec}s`,`opacity   ${dur.long}s ${easeCss.text}    ${delaySec}s`].join(\", \");}// Card background bloom — spring scale only, no opacity (§4.4 cards with visible bg)\n// Hidden state: scale(0). Visible state: scale(1).\nexport function cardBgTransition(delaySec=0){return`transform ${dur.medium}s ${easeCss.spring} ${delaySec}s`;}// Card content layer — rises from slightly above, fades in after background (§4.4)\n// Hidden state: translateY(-10px) opacity 0. Visible: translateY(0) opacity 1.\n// Default delay matches stagger.layer (0.25s) so content follows the background.\nexport function cardContentTransition(delaySec=stagger.layer){return[`transform ${dur.short}s ${easeCss.inOut} ${delaySec}s`,`opacity   ${dur.short}s ${easeCss.inOut} ${delaySec}s`].join(\", \");}// ─── Component-scoped inertial scroll (new — pending MOTION_SYSTEM.md write-up) ──────\n//\n// A spring-damped scroll progress, scoped to one element's own bounds via `target: ref`.\n// Unlike §4.8 parallax (useScroll + useTransform, 1:1 with scroll position), this value\n// LAGS the real scroll position and settles into it — the \"weighted glide\" feel, confined\n// entirely to the calling component. It never touches window/document scroll structure,\n// so it's safe next to <Section pinned> (position: sticky) elsewhere on the page.\n//\n// Do not use on a component whose motion is already driven by useSection().progress\n// (OurRole, StackedCards, and other `pinned` consumers) — that progress is real-time by\n// design (it drives things like a synced needle/step position) and a spring on top of it\n// would fight, not complement, the existing timing. Also skip on components with their own\n// dedicated sequence rather than a scroll reveal (e.g. LandingHero's circle).\n//\n// Overdamped on purpose: no bounce/overshoot (matches §6 — spring overshoot is reserved\n// for micro-interactions only, never primary reveals).\nexport function useInertialProgress(ref,options){const{scrollYProgress}=useScroll({target:ref,offset:[\"start 0.9\",\"start 0.2\"]});return useSpring(scrollYProgress,{damping:options?.damping??30,stiffness:options?.stiffness??90,mass:options?.mass??.6});}// ─── Component-scoped parallax + inertia (new — pending MOTION_SYSTEM.md write-up) ───\n//\n// Continuous drift for a VISUAL layer (image, illustration) as it transits the viewport —\n// §4.8's existing parallax idea (position depends on scroll), but inertia-damped so the\n// drift itself has a little weight rather than tracking scroll 1:1. `distance` is the total\n// px travel (±distance/2 around rest), kept small per §4.8 (\"keep parallax depth subtle\").\n//\n// Targets a VISUAL element only, never a text block — moving running text against nothing\n// reads as jitter, not depth (see PROJECT_CONTEXT.md §6 \"Animating text size or weight\").\n// For the entrance fade-up on text, use useInertialProgress above instead; the two combine\n// cleanly on a hero that has both an image column and a text column, each with its own ref.\nexport function useParallaxY(ref,distance=24,options){const{scrollYProgress}=useScroll({target:ref,offset:[\"start end\",\"end start\"]});const smooth=useSpring(scrollYProgress,{damping:options?.damping??30,stiffness:options?.stiffness??90,mass:options?.mass??.6});return useTransform(smooth,[0,1],[distance/2,-distance/2]);}// ─── Animated window scroll (new — pending MOTION_SYSTEM.md write-up) ─────────\n//\n// Scrolls the window to `top` using the SAME easing vocabulary as everything else\n// (ease.primary, a flat token duration — never distance-scaled, matching how every\n// other WoF transition works: dur.* is always a fixed number, not a function of\n// how far something travels). Native `window.scrollTo({behavior:\"smooth\"})` uses\n// the browser's own fixed, non-configurable curve, which is why nav-to-section\n// scrolling read as a different, less refined motion than the rest of the site.\n// Reduced motion: jump instantly, no animation (matches every other helper here).\n// isAutoScrolling(): true while one of these runs, so scroll listeners (Section's step paging) can tell a\n// programmatic glide (back to top, marker click) from the user's own momentum.\n// `top` may be a function: it is re-read every frame, so the glide lands where the target is at the end,\n// not where it was when the glide started (see scrollToTarget below).\nlet autoScrolls=0;export function isAutoScrolling(){return autoScrolls>0;}export function animatedScrollTo(top,durationSec=dur.medium,easing=ease.primary){if(typeof window===\"undefined\")return;const to=typeof top===\"function\"?top:()=>top;if(prefersReducedMotion()){window.scrollTo({top:to(),behavior:\"auto\"});return;}const start=window.scrollY;if(Math.abs(to()-start)<1)return;autoScrolls++;let done=false;const finish=()=>{if(!done){done=true;autoScrolls--;}};animate(0,1,{duration:durationSec,ease:easing,onUpdate:v=>window.scrollTo(0,start+(to()-start)*v),onComplete:finish});setTimeout(finish,durationSec*1e3+200)// in case onComplete never fires (interrupted)\n;}// ─── Scroll to a section (2026-10-08) ─────────────────────────────────────────\n//\n// pageTop: an element's top in page coordinates from the offsetTop chain, so transforms don't move it\n// (getBoundingClientRect includes the §4.4 reveal's 24px `translate` while a heading waits below the fold).\n// Not for elements inside a sticky frame (Section pinned); target the section around it instead.\nexport function pageTop(el){let y=0;for(let n=el;n;n=n.offsetParent)y+=n.offsetTop;return y;}// scrollToTarget: glide to getTop() (null = not on the page yet) with animatedScrollTo on ease.scroll, re-reading\n// the target every frame. ease.scroll, not ease.primary: primary's slow start left the page still for ~120ms after a\n// click (5% of the way at 100ms) and then raced (up to 580px a frame), which read as lag. With `settle` (a page that has just loaded), wait until the target has held still for\n// SETTLE_MS first: code components render at their 1200px default width before they measure, so on a phone\n// the page is about twice its real height for the first frames (/about, 2026-10-08: \"Hoe wij werken\" read\n// at 7011px, 3029px 40ms later), and a glide aimed then ran to the bottom of the page.\nconst SETTLE_MS=250;export const SECTION_GLIDE=\"wof:section-glide\";export function scrollToTarget(getTop,opts={}){if(typeof window===\"undefined\")return;const t0=performance.now();let last=null;let stillSince=t0;const begin=()=>{opts.onStart?.();window.dispatchEvent(new Event(SECTION_GLIDE))// Navigation keeps the bar shown, so every jump ends with it in view\n;animatedScrollTo(()=>Math.max(0,getTop()??window.scrollY),opts.durationSec??dur.medium,ease.scroll);};const wait=()=>{const top=getTop();const now=performance.now();if(top===null){if(now-t0<3e3)requestAnimationFrame(wait);return;}if(!opts.settle)return begin();if(last===null||Math.abs(top-last)>1){last=top;stillSince=now;}if(now-stillSince>=SETTLE_MS||now-t0>2500)return begin();requestAnimationFrame(wait);};wait();}// navBarHeight: how much of the top of the screen the site nav bar covers once it settles — the space it reserves in\n// the page (Navigation.tsx data-wof-nav), 0 while it is hidden on scroll or hasn't entered yet. Not the drawn bar:\n// that animates its height after a size change, while the page content moves at once, so a glide aimed at the\n// drawn bar landed 13–30px off for a section near the top of the page (2026-10-08).\nexport function navBarHeight(){if(typeof document===\"undefined\")return 0;const nav=document.querySelector(\"[data-wof-nav]\");return!nav||nav.hasAttribute(\"data-wof-nav-hidden\")?0:nav.offsetHeight;}// scrollToSection: every in-page section jump (§4.7c) — glide so the element's top edge (or, with `below`, its\n// bottom edge: \"scroll past this hero\") sits right under the nav bar.\nexport function scrollToSection(getEl,opts={}){scrollToTarget(()=>{const el=getEl();if(!el||!el.offsetParent)return null// not rendered yet, or hidden\n;return pageTop(el)+(opts.below?el.offsetHeight:0)-navBarHeight();},opts);}// ─── Reduced motion ───────────────────────────────────────────────────────────\nexport function prefersReducedMotion(){if(typeof window===\"undefined\")return false;return window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches;}// ─── Card & row interaction (MOTION_SYSTEM §4.6a, §4.7a) ──────────────────────\n//\n// One source for \"is this card active?\", so hover, keyboard and touch behave the same on every card:\n//   active  — mouse/pen hover, OR keyboard focus (:focus-visible) on the card, a link inside it, or the\n//             Framer link around it. Focus shows the hover state instead of a ring (2026-09-23 decision).\n//             Touch never sets it: a tap fires pointerenter too, which started the flood right before\n//             the page changed.\n//   pressed — pointer held down: scale × PRESS_SCALE, arrow nudge doubled. On touch it waits\n//             TOUCH_PRESS_DELAY so a scroll that starts on a card doesn't wobble it; a quick tap still\n//             gets a short press.\n//   side    — the half the pointer came in from; the flood sweeps in from there (floodStyle).\n//   wrapped — whether a Framer link already wraps the card (null until mounted). When it doesn't and the\n//             card has a URL, render <CardLink>: a real <a> over the card (keyboard, cmd-click, copy link).\n//             Decided after mount because a card inside a Framer link must never contain a second <a>.\n// Callers still skip transforms on the canvas and with reduced motion.\nconst TOUCH_PRESS_DELAY=60// ms\n;export function useCardInteraction(ref){const[hover,setHover]=useState(false);const[focus,setFocus]=useState(false);const[pressed,setPressed]=useState(false);const[side,setSide]=useState(\"left\");const[wrapped,setWrapped]=useState(null);const timer=useRef(undefined);const pending=useRef(false);useEffect(()=>{const el=ref.current;if(!el)return;const anchor=el.parentElement?el.parentElement.closest(\"a\"):null;setWrapped(!!anchor);const target=anchor||el;if(anchor)anchor.style.outline=\"none\"// the card's active state is the focus indicator\n;const onIn=e=>{let visible=true;try{visible=e.target.matches(\":focus-visible\");}catch{}if(visible){setSide(\"left\");setFocus(true);}};const onOut=()=>setFocus(false);// Back/forward cache restores React state as it was at the click — clear it\nconst onShow=e=>{if(e.persisted){setHover(false);setFocus(false);setPressed(false);}};target.addEventListener(\"focusin\",onIn);target.addEventListener(\"focusout\",onOut);window.addEventListener(\"pageshow\",onShow);return()=>{target.removeEventListener(\"focusin\",onIn);target.removeEventListener(\"focusout\",onOut);window.removeEventListener(\"pageshow\",onShow);clearTimeout(timer.current);};},[]);const release=()=>{clearTimeout(timer.current);pending.current=false;setPressed(false);};const handlers={onPointerEnter:e=>{if(e.pointerType===\"touch\")return;const r=e.currentTarget.getBoundingClientRect();setSide(e.clientX>r.left+r.width/2?\"right\":\"left\");setHover(true);},onPointerLeave:e=>{setHover(false);if(e.pointerType!==\"touch\")release()// touch \"leaves\" on every lift — keep the tap's short press\n;},onPointerDown:e=>{if(e.button!==0)return;clearTimeout(timer.current);if(e.pointerType!==\"touch\"){setPressed(true);return;}pending.current=true;timer.current=setTimeout(()=>{pending.current=false;setPressed(true);},TOUCH_PRESS_DELAY);},onPointerUp:e=>{if(e.pointerType===\"touch\"&&pending.current){// A tap shorter than the delay: show the press briefly anyway\nclearTimeout(timer.current);pending.current=false;setPressed(true);timer.current=setTimeout(()=>setPressed(false),dur.micro*1e3);return;}release();},onPointerCancel:()=>release()};return{active:hover||focus,pressed,side,wrapped,handlers};}// A real link over the whole card, for cards that aren't inside a Framer link (see `wrapped` above).\n// The card needs position: relative. Its own active state is the focus indicator, so no ring.\nexport function CardLink({href,label}){const external=/^https?:\\/\\//.test(href);return /*#__PURE__*/_jsx(\"a\",{href:href,\"aria-label\":label,target:external?\"_blank\":undefined,rel:external?\"noopener noreferrer\":undefined,style:{position:\"absolute\",inset:0,zIndex:3,borderRadius:\"inherit\",outline:\"none\",WebkitTapHighlightColor:\"transparent\"}});}// Mouse/trackpad available? False on phones and tablets. Hover-only content must be shown statically\n// when false (PROJECT_CONTEXT §14: no content that only a mouse can reveal). SSR assumes true.\nexport function useCanHover(){const[can,setCan]=useState(true);useEffect(()=>{if(typeof window===\"undefined\"||!window.matchMedia)return;const mq=window.matchMedia(\"(hover: hover) and (pointer: fine)\");const update=()=>setCan(mq.matches);update();mq.addEventListener?.(\"change\",update);return()=>mq.removeEventListener?.(\"change\",update);},[]);return can;}// The flood (PROJECT_CONTEXT §14): sweeps in from the side the pointer entered (dur.short, ease.spring — was\n// dur.medium until 2026-09-24, \"too slow\"), and on exit FADES out in step with the text colour (dur.short,\n// ease.inOut) — retracting it left half-reverted cream text over bare cream for ~150ms. The scale resets only\n// after the fade. The text colour must never lead the sweep (cream text on cream): give the card's text colour\n// transition the same `sec`. EventCard passes dur.micro (2026-09-24, \"still too slow\" — event cards only).\n// Reduced motion: opacity only, both ways.\nexport function floodStyle(on,side,noMotion,sec=dur.short){if(noMotion)return{opacity:on?1:0,transition:`opacity ${sec}s ${easeCss.inOut}`};return{transformOrigin:`${side} center`,transform:on?\"scaleX(1)\":\"scaleX(0)\",opacity:on?1:0,transition:on?`transform ${sec}s ${easeCss.spring}, opacity 0s`:`opacity ${sec}s ${easeCss.inOut}, transform 0s linear ${sec}s`};}const NUDGE_PX={internal:[4,0],external:[2,-2],down:[0,3],download:[0,2],up:[0,-3]};export function arrowNudge(dir,active,pressed=false){if(!active&&!pressed)return\"none\";const[x,y]=NUDGE_PX[dir];const k=pressed?2:1;return`translate(${x*k}px, ${y*k}px)`;}const revealSubs=new Map;let revealIO=null;let revealBatch=[];let revealFrame=0;let revealNextFree=0// seconds (performance.now) — the earliest start of the next reveal\n;function flushReveals(){revealFrame=0;const now=performance.now()/1e3;// Nothing starts while the page hero is still rising — checked at every flush, not only for content on screen at\n// mount: a hero that first renders in another layout (AboutHero on a phone, 2026-10-12) can move content into\n// view a moment later, and that content arrives here through the scroll observer.\nconst hold=now+heroRiseWait();revealNextFree=Math.max(revealNextFree,hold);const cap=hold+(stagger.maxDepth-1)*stagger.item;const rows=revealBatch.map(el=>({el,r:el.getBoundingClientRect()}));rows.sort((a,b)=>Math.round(a.r.top/8)-Math.round(b.r.top/8)||a.r.left-b.r.left);let t=Math.max(now,revealNextFree);for(const{el}of rows){const at=Math.min(t,cap);const sub=revealSubs.get(el);revealSubs.delete(el);revealIO?.unobserve(el);if(sub)sub(at-now);t=at+stagger.item;}revealNextFree=t;revealBatch=[];}function queueReveal(el){if(revealSubs.has(el)&&!revealBatch.includes(el))revealBatch.push(el);}function scheduleFlush(){if(revealBatch.length&&!revealFrame)revealFrame=requestAnimationFrame(flushReveals);}// The bottom 10% of the screen is excluded so content rises a little after it enters — but the last ~10% of\n// the PAGE can never get above that line (footer bottom bar on a tall screen). Once the page can't scroll any\n// further, everything still waiting that is on screen reveals, in the same order.\nfunction revealAtPageEnd(){if(!revealSubs.size)return;const root=document.documentElement;if(window.scrollY+window.innerHeight<root.scrollHeight-2)return;revealSubs.forEach((_,el)=>{const r=el.getBoundingClientRect();if(r.top<window.innerHeight&&r.bottom>0)queueReveal(el);});scheduleFlush();}// How long until the page hero's rise (heroRise, §4.3) has started its last item, plus one stagger step, so\n// content on screen at load follows the hero instead of leading it. 0 when there is no hero or it has played.\nfunction heroRiseWait(){let wait=0;document.querySelectorAll(\".wof-hero\").forEach(h=>{const d=parseFloat(getComputedStyle(h).getPropertyValue(\"--wof-d\"))||.4;const anim=typeof h.getAnimations===\"function\"?h.getAnimations()[0]:null;const elapsed=anim&&typeof anim.currentTime===\"number\"?anim.currentTime/1e3:0;wait=Math.max(wait,d+stagger.item-elapsed);});return Math.max(0,wait);}function watchReveal(el,sub,now=false){if(now){// On screen at load: no observer, straight into the queue (it sorts top → bottom with the others)\nrevealSubs.set(el,sub);revealBatch.push(el);scheduleFlush();return()=>{revealSubs.delete(el);revealBatch=revealBatch.filter(x=>x!==el);};}if(!revealIO){revealIO=new IntersectionObserver(entries=>{for(const e of entries)if(e.isIntersecting)queueReveal(e.target);scheduleFlush();},{threshold:0,rootMargin:\"0px 0px -10% 0px\"});window.addEventListener(\"scroll\",revealAtPageEnd,{passive:true});window.addEventListener(\"resize\",revealAtPageEnd,{passive:true});}revealSubs.set(el,sub);revealIO.observe(el);requestAnimationFrame(revealAtPageEnd)// a page too short to scroll at all\n;return()=>{revealSubs.delete(el);revealIO?.unobserve(el);revealBatch=revealBatch.filter(x=>x!==el);};}const REVEAL_Y=24// px (§4.4)\n;export const REVEAL_FAILSAFE_S=2.5// s — pending content fades in on its own if JS never runs (site head code keyframes)\n;export function useReveal(ref,transition,opts){const[state,setState]=useState(()=>RenderTarget.current()===RenderTarget.canvas?\"rest\":\"pending\");const[delay,setDelay]=useState(0);const reduced=useRef(false);useEffect(()=>{const el=ref.current;if(!el||typeof window===\"undefined\"||typeof IntersectionObserver===\"undefined\"||RenderTarget.current()===RenderTarget.canvas){setState(\"rest\");return;}const onScreen=el.getBoundingClientRect().top<window.innerHeight;// The failsafe already showed it (a very slow load): leave it as it is rather than hide it again\nif(onScreen&&parseFloat(getComputedStyle(el).opacity)>.5){setState(\"rest\");return;}reduced.current=prefersReducedMotion();setState(\"hidden\");let done;const play=d=>{setDelay(d);setState(\"in\");done=setTimeout(()=>setState(\"rest\"),(d+dur.medium)*1e3+50);};const canScroll=document.documentElement.scrollHeight>window.innerHeight+2;if(opts?.afterScroll&&onScreen&&!reduced.current&&canScroll&&window.scrollY<1){let stop=()=>window.removeEventListener(\"scroll\",go);function go(){window.removeEventListener(\"scroll\",go);stop=watchReveal(el,play);}window.addEventListener(\"scroll\",go,{passive:true});return()=>{stop();clearTimeout(done);};}const stop=watchReveal(el,play,onScreen);return()=>{stop();clearTimeout(done);};},[]);const own=transition?[transition]:[];if(state===\"pending\")return{opacity:0,animation:`wofRevealFailsafe ${dur.short}s ${easeCss.text} ${REVEAL_FAILSAFE_S}s forwards`,transition:own.join(\", \")||\"none\"};if(state===\"rest\")return transition?{transition}:{};if(state===\"hidden\")return{opacity:0,translate:reduced.current?undefined:`0 ${REVEAL_Y}px`,transition:own.join(\", \")||\"none\"};const parts=[`opacity ${dur.medium}s ${easeCss.text} ${delay}s`];if(!reduced.current)parts.push(`translate ${dur.medium}s ${easeCss.primary} ${delay}s`);return{opacity:1,translate:reduced.current?undefined:\"0 0\",transition:[...parts,...own].join(\", \")};}// ─── Hero rise on page load (MOTION_SYSTEM §4.3, 2026-10-06) ─────────────────────────────────\n//\n// Pure CSS, so it plays from the server-rendered HTML on first paint without waiting for JS (no flash of\n// visible-then-hidden text). Render <HeroRiseStyles /> once in the hero, then spread heroRise(i) on each\n// item in reading order: i = 0 → delay 0.4s, then stagger.item per item (§4.3). translate 40px → 0 + opacity,\n// dur.long, ease.primary (translate) + ease.text (opacity). Reduced motion: opacity only. Canvas: pass\n// `off` (no animation, so the canvas shows the final layout).\nconst HERO_CSS=`\n@keyframes wofHeroY { from { translate: 0 ${HERO_RISE_Y}px } to { translate: 0 0 } }\n@keyframes wofHeroO { from { opacity: 0 } to { opacity: 1 } }\n.wof-hero { animation: wofHeroY ${dur.long}s ${easeCss.primary} var(--wof-d, 0.4s) both, wofHeroO ${dur.long}s ${easeCss.text} var(--wof-d, 0.4s) both; }\n@media (prefers-reduced-motion: reduce) { .wof-hero { animation: wofHeroO ${dur.long}s ${easeCss.text} var(--wof-d, 0.4s) both; } }\n`;export function HeroRiseStyles(){return /*#__PURE__*/_jsx(\"style\",{children:HERO_CSS});}export function heroRise(index,off=false){if(off)return{};return{className:\"wof-hero\",style:{[\"--wof-d\"]:`${(.4+index*stagger.item).toFixed(2)}s`}};}// §4.4 rise for content that appears after a click (Meer laden, a filter change). Items past\n// stagger.maxDepth arrive together with the 4th. No-op with reduced motion.\nexport function revealIn(el,index=0){if(typeof el.animate!==\"function\"||prefersReducedMotion())return;el.animate([{opacity:0,transform:\"translateY(24px)\"},{opacity:1,transform:\"none\"}],{duration:dur.medium*1e3,easing:easeCss.primary,delay:Math.min(index,stagger.maxDepth-1)*stagger.item*1e3,fill:\"backwards\"});}export default function Motion(){return null;}\nexport const __FramerMetadata__ = {\"exports\":{\"useReveal\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"pageTop\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"floodStyle\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"scrollToTarget\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"animatedScrollTo\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"prefersReducedMotion\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"navBarHeight\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"heroTransition\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"easeCss\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useCardInteraction\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useInertialProgress\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ease\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"arrowNudge\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ArrowDir\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ICON_NOD_Y\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"scrollToSection\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HeroRiseStyles\":{\"type\":\"reactComponent\",\"name\":\"HeroRiseStyles\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"dur\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useCanHover\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"heroRise\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"EnterSide\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"cardBgTransition\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CardLink\":{\"type\":\"reactComponent\",\"name\":\"CardLink\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"useParallaxY\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"cardContentTransition\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SECTION_GLIDE\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"REVEAL_FAILSAFE_S\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"revealIn\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"PRESS_SCALE\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HERO_RISE_Y\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"stagger\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"revealTransition\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isAutoScrolling\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./motion.map","// Shared full-width section shell — the only place section padding is applied.\n// Spec: PROJECT_CONTEXT.md §1 (container), §2 (spacing), \"Section relationships\".\n//\n//   <Section tone=\"surface\">\n//       <SectionHeader heading=\"…\" body=\"…\" />\n//       {content}\n//   </Section>\n//\n// Direct children of <Section> are separated by headerGap (56 / 40 / 32).\n// Components render content only: no local hPad / vPad, no own ResizeObserver for spacing.\n// Two sections meeting with the same tone need a semantic.border hairline between them (borderBottom), or join:\n//   upper section join=\"below\" (bottom padding = headerGap), lower section join=\"above\" (top padding = 0).\n//\n// pinned: the section becomes a tall scroll runway (`runway` vh) with a sticky full-viewport frame; content is\n//   centred (pinAlign=\"center\") or fills the frame (pinAlign=\"fill\"). Section owns the scroll listener and shares\n//   `progress` (0 to 1) and the effective `pinned` flag through useSection(). It falls back to normal flow\n//   (pinned = false) on the canvas, with reduced motion, below 768px (unless pinOnMobile) and when the window\n//   is shorter than `minViewport`px. Components must render a complete static layout when pinned is false.\n//\n// pinFit=\"content\" (added 2026-09-24, home landing): the sticky frame is as tall as its content (not 100vh) and\n//   sticks at `stickyTop` px, which may be negative — the frame pins once part of it has scrolled off the top.\n//   `runway` is then the extra scroll (vh) after the pin; `progress` runs 0 to 1 over that extra scroll only.\n// toneBelow + splitAt: the background switches from `tone` to `toneBelow` at `splitAt` px from the section top\n//   (a hard edge, e.g. red hero → slate under the circle). Applies pinned and static. Ink still follows `tone`;\n//   content below the split reads surfaceInk(toneBelow) itself.\n// snapPoints (pinFit=\"content\" only): progress values (0–1) of the story's rest points. Inside the story one swipe,\n//   one wheel/trackpad gesture or one scroll key = one point (step paging, see the effect below); the page top is a\n//   rest point too.\n//\n// fullHeight (added 2026-10-04, coming soon page; approved exception to PROJECT_CONTEXT §9): the section is at least\n//   as tall as the screen (100svh) and its content is centred vertically. Top and bottom padding become the header\n//   gap (56 / 40 / 32): the centring gives the margin on a tall screen, the padding is only the minimum on a short one,\n//   so the content still fits a laptop screen. Static layout only (ignored when pinned).\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{createContext,useContext,useEffect,useRef,useState}from\"react\";import{RenderTarget,ControlType}from\"framer\";import{semantic,space,layout,typography,getSpacing,surfaceInk,ledeType}from\"https://framerusercontent.com/modules/HDAkrahb3ethcU2GAef2/DkF8oqFSecx6ZaRXcaSg/tokens.js\";import{prefersReducedMotion,animatedScrollTo,isAutoScrolling,dur}from\"https://framerusercontent.com/modules/YFy4SNb784n2qKl2hppy/colxGJTFY3MkaqyjCjL8/motion.js\";// Shared property control for any component that lets the canvas pick its surface (2026-09-23).\n// \"surfaceAlt\" is deliberately not offered — it is a deprecated alias of cream.\nexport function toneControl(defaultValue=\"surface\",title=\"Background\"){return{type:ControlType.Enum,title,options:[\"surface\",\"surfaceDark\",\"surfaceYellow\",\"surfaceRed\",\"surfaceEmber\"],optionTitles:[\"Cream\",\"Slate\",\"Yellow\",\"Red\",\"Ember\"],defaultValue,description:\"Text colours follow the surface (tokens.tsx surfaceInk). Red/ember: large text only.\"};}const SectionContext=/*#__PURE__*/createContext({...getSpacing(1200),tone:\"surface\",pinned:false,progress:0,vh:900});export function useSection(){return useContext(SectionContext);}// For full-width components that don't render <Section> (legacy own-padding sections): sets the surface\n// for descendants that read it through useSection() — e.g. InlineLink's per-surface hover.\nexport function ToneScope({tone,children}){const parent=useContext(SectionContext);return /*#__PURE__*/_jsx(SectionContext.Provider,{value:{...parent,tone},children:children});}export function Section({children,tone=\"surface\",join=\"none\",id,borderBottom=false,pinned=false,runway=300,pinAlign=\"center\",pinOnMobile=false,minViewport=720,progressBar=false,pinFit=\"viewport\",stickyTop=0,toneBelow,splitAt=0,snapPoints,fullHeight=false}){const ref=useRef(null);const[w,setW]=useState(1200);const[vh,setVh]=useState(900);const[reduced,setReduced]=useState(false);const[progress,setProgress]=useState(0);const[frameH,setFrameH]=useState(0);const frameRef=useRef(null);const isCanvas=RenderTarget.current()===RenderTarget.canvas;useEffect(()=>{const el=ref.current;if(!el||typeof ResizeObserver===\"undefined\")return;if(el.offsetWidth>0)setW(el.offsetWidth);setReduced(prefersReducedMotion());setVh(window.innerHeight);const ro=new ResizeObserver(([e])=>{if(e.contentRect.width>0)setW(e.contentRect.width);});ro.observe(el);// A phone's URL bar collapsing/expanding changes innerHeight by ~50–120px mid-scroll; ignore that\n// (same width, small height change) so pinned runways and snap points don't move under the finger.\nlet lastW=window.innerWidth;const onResize=()=>{const wNow=window.innerWidth;setVh(prev=>wNow===lastW&&Math.abs(window.innerHeight-prev)<160?prev:window.innerHeight);lastW=wNow;};window.addEventListener(\"resize\",onResize,{passive:true});return()=>{ro.disconnect();window.removeEventListener(\"resize\",onResize);};},[]);const s=getSpacing(w);const active=pinned&&!isCanvas&&!reduced&&(pinOnMobile||!s.isMobile)&&vh>=minViewport;const fitContent=active&&pinFit===\"content\";useEffect(()=>{const el=frameRef.current;if(!fitContent||!el||typeof ResizeObserver===\"undefined\")return;setFrameH(el.offsetHeight);const ro=new ResizeObserver(()=>setFrameH(el.offsetHeight));ro.observe(el);return()=>ro.disconnect();},[fitContent]);// Step paging (touch 2026-09-25; wheel, trackpad and keys 2026-09-26 — \"if I scroll fast it skips the whole\n// thing\"): inside the story one gesture moves exactly one point and glides there (dur.long, ease.primary), so a\n// fling can't skip points. Loose CSS proximity snap skipped several points per flick on phones. Rest points: the\n// page top, the pin start, then the middle of each later step. Past the last point the page scrolls natively\n// again; scrolling back up from just below (within one screen) steps onto the last point, and native momentum\n// from further down is stopped there too.\nconst snapKey=fitContent&&snapPoints&&snapPoints.length?snapPoints.join(\",\"):\"\";useEffect(()=>{if(!snapKey||typeof window===\"undefined\")return;const root=document.documentElement;const run=runway/100*vh;const points=()=>{const el=ref.current;if(!el)return[];const top=el.getBoundingClientRect().top+window.scrollY-stickyTop;return[0,...snapPoints.map(p=>Math.round(top+p*run))];};const glide=dur.long;let busy=false,busyTimer;let sx=0,sy=0,decided=\"none\";let lastY=window.scrollY;let queued=0// gestures that arrived during a glide: +n down, −n up (max 2)\n;const goTo=y=>{busy=true;animatedScrollTo(y,glide);if(busyTimer)clearTimeout(busyTimer);busyTimer=setTimeout(()=>{busy=false;lastY=window.scrollY;if(queued){const down=queued>0;queued-=down?1:-1;const t=stepTarget(down);if(t!==undefined)goTo(t);else queued=0;}},glide*1e3+80);};// The rest point one step on from the current position, or undefined when the page should scroll natively\nconst stepTarget=down=>{const P=points(),y=window.scrollY,last=P[P.length-1];if(y<=last+4)return down?P.find(p=>p>y+4):[...P].reverse().find(p=>p<y-4);if(!down&&y<last+vh)return last;return undefined;};// Wheel / trackpad: one gesture = one step (2026-09-28 rework — \"after number 1 it takes 3 scrolls\" had two\n// causes, both reproduced on the live site: a gentle scroll on a 120Hz Mac sends deltas under 2px, which never\n// triggered a step yet were blocked, so nothing moved; and a new flick landing on the previous flick's momentum\n// wasn't recognised, so it was swallowed).\n// - A gesture ends after WHEEL_GAP ms without wheel events. Its deltas add up: STEP_PX in total moves a point.\n// - A trackpad flick keeps sending momentum for 1–2s. That belongs to the gesture that made it and is swallowed.\n// - A new flick usually lands on that momentum (no pause), so it is recognised by what momentum can't do.\n//   Momentum only fades and never turns around; once this gesture's smoothed delta has faded (under 60% of its\n//   peak) for FADE_MS, a climb to 3× its lowest point is a new flick; so is beating the gesture's own peak, and\n//   any delta in the other direction. A slow drag's wobble never fades that long, so it can't skip a point.\n//   SETTLE keeps the finger movement right after a step from counting twice.\n// - Gestures that arrive during a glide queue (up to two) and run when it ends.\nconst WHEEL_GAP=180,STEP_PX=6,SETTLE=250,FADE_MS=180;let wheelT=0,acc=0,stepped=false,stepT=0,ema=0,peak=0,fadeT=0,low=Infinity,lastDown=true;const onWheel=e=>{if(e.ctrlKey||Math.abs(e.deltaX)>Math.abs(e.deltaY))return;// pinch-zoom / sideways\nconst now=performance.now(),mag=Math.abs(e.deltaY),down=e.deltaY>0;const gap=now-wheelT>WHEEL_GAP;wheelT=now;ema=gap?mag:ema*.5+mag*.5// smoothed: one merged (doubled) event can't fake a flick\n;let fresh=gap;if(stepped&&!gap){if(mag>=3&&down!==lastDown)fresh=true// momentum never turns around\n;else if(now-stepT>SETTLE&&fadeT&&(now-fadeT>=FADE_MS&&ema>=3&&ema>low*3||ema>=8&&ema>peak*1.2))fresh=true;if(!fresh){if(!fadeT){peak=Math.max(peak,ema);if(ema<peak*.6){fadeT=now;low=ema;}}else if(ema>=peak*.6)fadeT=0// climbed back: a wobble, not a fade\n;else low=Math.min(low,ema);}}if(mag>0)lastDown=down;if(fresh){stepped=false;acc=gap?0:STEP_PX;}// a recognised new flick steps at once\nif(stepped){e.preventDefault();return;}// the rest of a gesture that already moved one point\nconst target=busy?undefined:stepTarget(down);if(!busy&&target===undefined)return;// outside the story: the page scrolls natively\ne.preventDefault();acc+=mag;if(acc<STEP_PX)return;// not enough yet — a gentle scroll adds up\nstepped=true;stepT=now;peak=ema;fadeT=0;low=Infinity;if(busy){queued=Math.max(-2,Math.min(2,queued+(down?1:-1)));return;}goTo(target);};// Keys that scroll the page step too (not while typing in a field)\nconst onKey=e=>{const el=e.target;if(e.metaKey||e.ctrlKey||e.altKey||el&&(el.isContentEditable||/^(INPUT|TEXTAREA|SELECT)$/.test(el.tagName)))return;const down=e.key===\"ArrowDown\"||e.key===\"PageDown\"||e.key===\" \"&&!e.shiftKey;const up=e.key===\"ArrowUp\"||e.key===\"PageUp\"||e.key===\" \"&&e.shiftKey;if(!down&&!up)return;if(busy){e.preventDefault();return;}const target=stepTarget(down);if(target===undefined)return;e.preventDefault();goTo(target);};// Touch. iOS WebKit decides on the FIRST touchmove whether the page pans natively: if that one isn't cancelled\n// the pan starts and every later preventDefault is ignored (2026-09-27, \"on phone it still does not snap\" —\n// Chrome allows cancelling until its ~15px slop, so emulation never showed it). So a gesture is claimed on its\n// first move — inside the story always (the direction is read at 6px), from just below the story only when it\n// moves up — or left native for good. A swipe that can only go natively (down past the last point, up at the\n// page top) is never claimed.\nlet claimed=false;const onStart=e=>{const t=e.touches[0];sx=t.clientX;sy=t.clientY;decided=\"none\";claimed=false;};const onMove=e=>{if(busy){if(e.cancelable)e.preventDefault();return;}if(decided===\"native\")return;if(decided===\"page\"){if(e.cancelable)e.preventDefault();return;}if(e.touches.length>1){decided=\"native\";return;}// pinch-zoom\nconst t=e.touches[0];const dx=sx-t.clientX,dy=sy-t.clientY;if(!claimed){const P=points(),last=P[P.length-1];const inStory=window.scrollY<=last+4;const canPage=inStory?dy===0||stepTarget(dy>0)!==undefined:Math.abs(dy)>=Math.abs(dx)&&dy<0&&stepTarget(false)!==undefined;if(!canPage){decided=\"native\";return;}claimed=true;}if(e.cancelable)e.preventDefault();if(Math.abs(dx)<6&&Math.abs(dy)<6)return;// claimed: wait for a direction\nif(Math.abs(dx)>Math.abs(dy))return;// sideways: nothing to page\nconst target=stepTarget(dy>0);if(target===undefined)return;decided=\"page\";goTo(target);};// Backup for the first-move claim: while the page is inside the story, before the last point, the section itself\n// refuses native panning (touch-action is read when a touch starts). Not on the last point: from there a swipe\n// onward must scroll the page natively (the claim still takes a swipe back up). Pinch-zoom stays allowed where\n// the browser supports it.\nconst el=ref.current;const noPan=typeof CSS!==\"undefined\"&&CSS.supports&&CSS.supports(\"touch-action\",\"pinch-zoom\")?\"pinch-zoom\":\"none\";const setTouchAction=()=>{const P=points();if(el&&P.length)el.style.touchAction=window.scrollY<P[P.length-1]-4?noPan:\"\";};setTouchAction();// Native momentum from below the story: stop it on the last point instead of flying through the story.\nconst onScroll=()=>{const y=window.scrollY;if(!busy&&decided!==\"page\"&&!isAutoScrolling()){const P=points(),last=P[P.length-1];if(P.length>1&&lastY>last+4&&y<last-4){root.style.overflow=\"hidden\"// ends iOS momentum\n;window.scrollTo(0,last);requestAnimationFrame(()=>{root.style.overflow=\"\";});}}lastY=window.scrollY;setTouchAction();};window.addEventListener(\"wheel\",onWheel,{passive:false});window.addEventListener(\"keydown\",onKey);window.addEventListener(\"touchstart\",onStart,{passive:true});window.addEventListener(\"touchmove\",onMove,{passive:false});window.addEventListener(\"scroll\",onScroll,{passive:true});return()=>{if(busyTimer)clearTimeout(busyTimer);window.removeEventListener(\"wheel\",onWheel);window.removeEventListener(\"keydown\",onKey);window.removeEventListener(\"touchstart\",onStart);window.removeEventListener(\"touchmove\",onMove);window.removeEventListener(\"scroll\",onScroll);if(el)el.style.touchAction=\"\";};},[snapKey,stickyTop,runway,vh]);useEffect(()=>{if(!active){setProgress(0);return;}let raf=0;const update=()=>{const el=ref.current;if(!el)return;const top=el.getBoundingClientRect().top;// Same stable height as the runway and the snap points (a phone toolbar hiding must not shift the steps)\nconst v=fitContent?Math.max(0,Math.min(1,(stickyTop-top)/(runway/100*vh))):(()=>{const total=el.offsetHeight-window.innerHeight;return total<=0?0:Math.max(0,Math.min(1,-top/total));})();setProgress(prev=>Math.abs(prev-v)<.002?prev:v);};const onScroll=()=>{cancelAnimationFrame(raf);raf=requestAnimationFrame(update);};window.addEventListener(\"scroll\",onScroll,{passive:true});update();return()=>{window.removeEventListener(\"scroll\",onScroll);cancelAnimationFrame(raf);};},[active,fitContent,stickyTop,runway,vh]);const padY=fullHeight&&!active?s.headerGap:s.vPad;const top=join===\"above\"||join===\"both\"?\"0px\":padY;const bottom=join===\"below\"||join===\"both\"?s.headerGap:padY;const ink=surfaceInk(tone);const line=borderBottom?`1px solid ${ink.border}`:undefined;const value={...s,tone,pinned:active,progress,vh};const background=toneBelow?`linear-gradient(${semantic[tone]} 0 ${splitAt}px, ${semantic[toneBelow]} ${splitAt}px)`:semantic[tone];if(fitContent){return /*#__PURE__*/_jsx(SectionContext.Provider,{value:value,children:/*#__PURE__*/_jsx(\"div\",{ref:ref,id:id,style:{position:\"relative\",width:\"100%\",height:frameH?frameH+runway/100*vh:undefined,background,borderBottom:line,boxSizing:\"border-box\"},children:/*#__PURE__*/_jsxs(\"div\",{ref:frameRef,style:{position:\"sticky\",top:stickyTop,minHeight:vh-stickyTop,overflowX:\"clip\",boxSizing:\"border-box\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{maxWidth:layout.containerMax,margin:\"0 auto\",padding:`${top} ${s.hPad} ${bottom}`,boxSizing:\"border-box\",display:\"flex\",flexDirection:\"column\",gap:s.headerGap},children:children}),progressBar?/*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{position:\"absolute\",left:0,bottom:0,height:3,width:`${(progress*100).toFixed(1)}%`,backgroundColor:surfaceInk(toneBelow??tone).fill}}):null]})})});}if(active){return /*#__PURE__*/_jsx(SectionContext.Provider,{value:value,children:/*#__PURE__*/_jsx(\"div\",{ref:ref,id:id,style:{position:\"relative\",width:\"100%\",height:`${runway}vh`,background,borderBottom:line,boxSizing:\"border-box\"},children:/*#__PURE__*/_jsxs(\"div\",{style:{position:\"sticky\",top:0,height:\"100vh\",overflow:\"hidden\",boxSizing:\"border-box\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{maxWidth:layout.containerMax,margin:\"0 auto\",height:\"100%\",padding:`${s.vPad} ${s.hPad}`,boxSizing:\"border-box\",display:\"flex\",flexDirection:\"column\",justifyContent:pinAlign===\"center\"?\"center\":\"flex-start\",gap:s.headerGap},children:children}),progressBar?/*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{position:\"absolute\",left:0,top:0,height:3,width:`${(progress*100).toFixed(1)}%`,backgroundColor:ink.fill}}):null]})})});}return /*#__PURE__*/_jsx(SectionContext.Provider,{value:value,children:/*#__PURE__*/_jsx(\"div\",{ref:ref,id:id,style:{width:\"100%\",background,borderBottom:line,boxSizing:\"border-box\",...fullHeight?{minHeight:\"100svh\",display:\"flex\",flexDirection:\"column\"}:null},children:/*#__PURE__*/_jsx(\"div\",{style:{maxWidth:layout.containerMax,margin:\"0 auto\",padding:`${top} ${s.hPad} ${bottom}`,boxSizing:\"border-box\",display:\"flex\",flexDirection:\"column\",gap:s.headerGap,...fullHeight?{flex:\"1 0 auto\",width:\"100%\",justifyContent:\"center\"}:null},children:children})})});}// Layout only. `as` sets the HTML tag (semantics); the heading always uses the standard section scale\n// (typography.h2 / h2Mobile). A larger heading would be an explicit named variant, not a per-call size.\n// Animation is not handled here — motion is applied by the caller via motion.tsx.\nexport function SectionHeader({eyebrow,heading,body,as=\"h2\",accent=false,headingHref}){const s=useSection();// Colors come from surfaceInk (tokens.tsx): slate text on cream/yellow, cream text on slate/red/ember.\nconst ink=surfaceInk(s.tone);const headingType=s.isMobile?typography.h2Mobile:typography.h2;// Body under a heading steps up to the h4 scale on red/ember (large-text rule, tokens.tsx ledeType).\nconst bodyType=ledeType(s.tone,s.isMobile);const Heading=as;return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:space.gapStandard},children:[heading?/*#__PURE__*/_jsx(Heading,{style:{...headingType,color:accent?ink.accent:ink.heading,margin:0,maxWidth:layout.headingMax},children:headingHref?/*#__PURE__*/_jsx(\"a\",{href:headingHref,style:{color:\"inherit\",textDecoration:\"none\"},children:heading}):heading}):null,body?/*#__PURE__*/_jsx(\"p\",{style:{...bodyType,color:ink.text,margin:0,maxWidth:layout.bodyMax,whiteSpace:\"pre-line\"},children:body}):null]});}export default function SectionModule(){return null;}\nexport const __FramerMetadata__ = {\"exports\":{\"Section\":{\"type\":\"reactComponent\",\"name\":\"Section\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"SectionHeader\":{\"type\":\"reactComponent\",\"name\":\"SectionHeader\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"useSection\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"toneControl\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SectionTone\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ToneScope\":{\"type\":\"reactComponent\",\"name\":\"ToneScope\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"SectionJoin\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"A,kSAiFyJ,SAAgBwB,EAAW,EAAK,UAAU,CAAC,IAAMC,EAAGC,EAASC,GACosC,OAD3rCA,IAAO,cAAoB,CAC1P,KAAG,KAAK,GAAK,KAAKD,EAAS,WAAW,cAAcA,EAAS,WAAW,aAAaA,EAAS,WAAW,QAAQA,EAAS,WAAW,KAAKA,EAAS,WAAW,UAAUA,EAAS,kBAAkB,mBAAmB,GAAM,KAAKA,EAAS,gBAAgB,SAASA,EAAS,YAAY,UAAUA,EAAS,qBAAqB,OAAOE,EAAO,WAAW,aAAaA,EAAO,WAAW,KAAKA,EAAO,UAAU,QAAQF,EAAS,WAAW,OAAOE,EAAO,MAAM,EAAKD,IAAO,cAAcA,IAAO,eAAqB,CAAC,KAAG,KAAK,GAAK,KAAKD,EAAS,WAAW,cAAcA,EAAS,WAAW,aAAaA,EAAS,WAAW,QAAQA,EAAS,WAAW,KAAKA,EAAS,WAAW,UAAUA,EAAS,WAAW,mBAAmB,GAAK,KAAKA,EAAS,gBAAgB,SAASA,EAAS,YAAY,UAAUA,EAAS,qBAAqB,OAAOE,EAAO,WAAW,aAAaF,EAAS,WAAW,KAAKE,EAAO,UAAU,QAAQF,EAAS,WAAW,OAAOA,EAAS,UAAU,EAAKC,IAAO,gBAAsB,CAAC,KAAG,KAAK,GAAM,KAAKD,EAAS,YAAY,cAAcA,EAAS,cAAc,aAAaA,EAAS,cAAc,QAAQA,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