{"version":3,"file":"AwForm.CcZNtBUK.mjs","names":["useState","useRef","_Fragment","useEffect","useLayoutEffect"],"sources":["https:/framerusercontent.com/modules/fWX28JS9sf053uAncM8o/Vvry5eLvmg8ZKDNxsVkd/AwForm.js"],"sourcesContent":["// ===== AFTERWORD shared scaffold (design language «THE LAMP-LIT JOURNAL»: warm PAPER page (--aw-bone #F3EEE4) with exactly two INK bands (--aw-night #16130F), ink #1B1814; AMBER #E9B45A (--aw-brass) = a FILL under ink text (pill buttons, chips, bars) and marks on ink only — never amber text on paper; RUST #9E3B22 (--aw-pine) = the accent on paper (text via --aw-acc); Fraunces 400 display (-.035em) with Fraunces italic 300 accent words, Instrument Sans body, IBM Plex Mono labels; shapes: PILL buttons (amber face + ink arrow disc), pill chips, photo covers radius 6) (inlined by mk.py; each Framer code file must be self-contained) =====\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useEffect,useLayoutEffect,useRef,useState}from\"react\";import{addPropertyControls,ControlType,RenderTarget,useIsStaticRenderer}from\"framer\";const FONTS=\"https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..700;1,9..144,300..700&family=Instrument+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap\";// Token-safe alpha: Styles-bound colours arrive as var(--token-…) so hex-alpha breaks; color-mix keeps a palette flip working. Never 0% (hue drops) — floor at 0.4%.\nconst A=(c,a)=>`color-mix(in srgb, ${c} ${Math.max(.4,Math.round(a*1e3)/10)}%, transparent)`;const MIX=(a,b,t)=>`color-mix(in srgb, ${a} ${Math.round((1-t)*100)}%, ${b})`;const srcOf=(v,fallback)=>v&&typeof v===\"object\"&&v.src?String(v.src).split(\"?\")[0]:typeof v===\"string\"&&v.trim()?v.trim().split(\"?\")[0]:fallback;const T=(s,fb)=>s&&s.trim()?s.trim():fb;// ink or white text on a CMS brand colour (luminance test; the brand colour is data, not a palette token)\nconst onBrand=hex=>{const raw=String(hex||\"\");const q=raw.match(/rgba?\\(\\s*(\\d+)[\\s,]+(\\d+)[\\s,]+(\\d+)/i);const h6=raw.match(/#([0-9a-f]{6})\\b/i);const m=q?[0,q[1],q[2],q[3]]:h6?[0,h6[1].slice(0,2),h6[1].slice(2,4),h6[1].slice(4,6)]:raw.replace(\"#\",\"\").match(/^([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i);if(!m)return\"var(--aw-cloud)\";const[r,g,b]=[m[1],m[2],m[3]].map(x=>{const v=parseInt(x,q?10:16)/255;return v<=.03928?v/12.92:Math.pow((v+.055)/1.055,2.4);});const L=.2126*r+.7152*g+.0722*b;return L>.18?\"var(--aw-ink)\":\"var(--aw-cloud)\";};const cleanTel=s=>s.replace(/[^\\d+]/g,\"\");// Premium layout band (measured 09-13): container 1340 @1440 / 1520 @1920, body 16, button label 12–13.\nconst MAXW=\"clamp(1280px, 92vw, 1520px)\";// Responsive delivery: Framer's resizer serves any upload at ?scale-down-to=N (longest side). The query is stripped first so one file never downloads twice.\n// Responsive delivery. Framer uploads: the resizer serves ?scale-down-to=N. Unsplash stand-ins: ?w=N. The src is already the smallest width that covers the slot (a 52px avatar never pulls a 1600px photo), so a big image is never decoded for a small box — decode is what stalls scrolling.\nconst RS_W=[160,320,480,800,1200,1600];const rsTarget=sizes=>{const t=String(sizes||\"\").trim().split(\",\").pop()||\"\";const px=t.match(/(\\d+(?:\\.\\d+)?)px/);const vw=t.match(/(\\d+(?:\\.\\d+)?)vw/);const want=px?parseFloat(px[1])*2:vw?parseFloat(vw[1])/100*1600*1.25:1600;return RS_W.find(w=>w>=want)||1600;};// tall = height / width of a PORTRAIT picture (9:16 → 1.78). Framer's scale-down-to caps the LONG edge, so a 512 step of a 9:16 file is only 288 px wide: the w descriptors are divided by tall so the browser picks a step that is really wide enough.\n// Framer joins the `sizes` of the three breakpoint copies by prefixing each with its own media query; a sizes string that already holds media queries comes out broken\n// and the browser falls back to 100vw. So \"(max-width: A) x, (max-width: B) y, z\" (px or vw lengths, any order) is rewritten as ONE length that picks the same value at every width:\n// pick(A, x, rest) = max(min(x, calc((A + .5px - 100vw) * 9999)), min(rest, calc((100vw - A - .5px) * 9999))). Anything it cannot parse is passed through.\nconst rsSplit=sz=>{const out=[];let d=0,cur=\"\";for(const ch of String(sz||\"\")){if(ch===\"(\")d++;if(ch===\")\")d--;if(ch===\",\"&&d===0){out.push(cur.trim());cur=\"\";}else cur+=ch;}if(cur.trim())out.push(cur.trim());return out;};const rsSizes=sz=>{const parts=rsSplit(sz);if(parts.length<2)return sz;const steps=[];for(const p of parts.slice(0,-1)){const m=p.match(/^\\(max-width:\\s*(\\d+(?:\\.\\d+)?)px\\)\\s*(.+)$/);if(!m)return sz;steps.push([+m[1],m[2].trim()]);}let v=parts[parts.length-1];if(/^\\(/.test(v))return sz;for(let i=steps.length-1;i>=0;i--){const[bp,x]=steps[i];v=`max(min(${x}, calc((${bp+.5}px - 100vw) * 9999)), min(${v}, calc((100vw - ${bp+.5}px) * 9999)))`;}return v;};// The pixel size of every picture the template ships (file id → [w, h], from media/rs-dims.json by mk.py): the w descriptors are the REAL width of each step, so the browser picks a step that is really wide enough\n// and naturalWidth reads true. scale-down-to caps the LONG edge; a step at or above the long edge is the original (kept as ?scale-down-to=2048 so it stays one url). Unknown files (a buyer's own upload) fall back to `tall`.\nconst RS_DIM={\"jUqXCoJuW6z3eToumuUdUjZMJp8\":[1120,1400],\"O9Ge8M23Q3IT7g3Ru3zvmz3tvuw\":[1120,1400],\"9tXbynijNfJChQCsRnRVeVqsaRw\":[1120,1400],\"wHAAljW9eE7mgUUvCq2rnDbpkQ\":[1120,1400],\"ku7vxU9E9aXiRCaH3LFfuHCywoU\":[1120,1400],\"YhnkLZKVrwGExycby4BTp92YUg\":[880,1100],\"G9MVQ20OccjByWEYtv8vgpisHQ\":[824,1030],\"86qtPcfwb8EWcyU0dxfZlLai5k\":[824,1030],\"L2EdDEQ35NtKt6FT8jMsmPhnFM\":[706,882],\"cqhpO0IM4KWF17P9oDI0E7CBE\":[800,1e3],\"djCTeGfWm3Nd9MQkrCfWrNZWI\":[800,1e3],\"NiV9DF0kKFKIP2yq6Aiuw7pN14\":[800,1e3],\"hyV1bpWWS3zejoh47TWy3Ck\":[800,1e3],\"Jci3osro3XiW0LlE1IcjSfUb94\":[800,1e3],\"v6BghGDMAAyrXrdFPHmBPJetI\":[640,800],\"5V7Eg1O00oNW2kiWzZ1Mdbk6A0c\":[640,800],\"ajB86vudXrh9cVBZ6mhNbq0aRMA\":[640,800],\"DFMOkiuFBr9RaSnC37jbmTu0rV4\":[640,800],\"b84Nra8b8FbLcjJ1j2esvhFk\":[640,800],\"hy1gnUfqryN2IOrjKvSKpWEEU\":[640,800],\"pVFSAAwre2cCTwD7aUTqmnDbIE\":[1600,900],\"BPBZDKb0AWwvMXJIurWciyIC8eQ\":[1400,1050],\"zaAxE1S3ZK46mh1QBTSqC4E6U6o\":[1400,1050],\"OAynk1VZIRhuBSCCpTNIOHWHyM\":[1399,1050],\"goE4jd00dtn9VZmZWkAnTDupOw\":[1074,806],\"ANoLR9e52Rglv3QxYbbuYWbfvY\":[1400,1050],\"ru4elHSywoMVTYREt0NdZ4SFsg\":[1400,1050],\"0RcIF8afhnxXNOzZuime2gl9Bo\":[1399,1050],\"Dz2v6vzE2LtAgO9wfEcqxOUmA\":[1041,781]};// box = height / width of the drawn box (object-fit cover). When it is taller than the file, the HEIGHT decides how many file px are needed: sizes is scaled by box / (file h / w).\nconst RS=(u,sizes,tall=1,box=0)=>{const s=String(u||\"\");const b=s.split(\"?\")[0];const tl=Math.max(1,tall||1);if(/framerusercontent\\.com\\/images\\//.test(s)){const id=(b.match(/images\\/([A-Za-z0-9]+)/)||[])[1]||\"\";const dm=RS_DIM[id];if(dm){const[W,H]=dm;const L=Math.max(W,H);const st=[512,1024].filter(d=>d<L).map(d=>[d,Math.round(W*d/L)]).concat([[2048,Math.round(W*Math.min(1,2048/L))]]);const k=box>0?Math.round(Math.max(1,box*W/H)*100)/100:1;const want=rsTarget(sizes)*k;const pick=(st.find(x=>x[1]>=want)||st[st.length-1])[0];const sz=rsSizes(sizes);return{src:`${b}?scale-down-to=${pick}`,srcSet:st.map(([d,w])=>`${b}?scale-down-to=${d} ${w}w`).join(\", \"),sizes:k>1.02?`calc(${sz} * ${k})`:sz};}const w=rsTarget(sizes)*tl;const d=w<=512?512:w<=1024?1024:2048;const dw=n=>Math.round(n/tl);return{src:`${b}?scale-down-to=${d}`,srcSet:`${b}?scale-down-to=512 ${dw(512)}w, ${b}?scale-down-to=1024 ${dw(1024)}w, ${b}?scale-down-to=2048 ${dw(2048)}w`,sizes:rsSizes(sizes)};}if(/images\\.unsplash\\.com\\//.test(s)){const w=rsTarget(sizes);const q=n=>`${b}?w=${n}&q=70&fm=jpg&auto=format`;return{src:q(w),srcSet:RS_W.filter(n=>n<=Math.max(w*2,480)).map(n=>`${q(n)} ${n}w`).join(\", \"),sizes};}// Wikimedia Commons stand-ins from media/standins.json (thumb urls …/1280px-Name.jpg): only the standard thumb steps exist. A 1920px url (the hero photo) is passed through untouched.\nconst wm=s.match(/wikimedia\\.org\\/.*\\/(\\d+)px-/);if(wm&&+wm[1]<=1280){const w=rsTarget(sizes);const q=n=>b.replace(/\\/\\d+px-/,`/${n}px-`);const st=[500,960,1280].filter(n=>n<=+wm[1]);return{src:q(st.find(n=>n>=w)||st[st.length-1]),srcSet:st.map(n=>`${q(n)} ${n}w`).join(\", \"),sizes};}return{src:s};};// A Framer Font control stores a selector (GF;Family-700), not a CSS family — derive one, reject anything with ';'\nconst famOf=f=>{if(!f)return\"\";if(typeof f===\"string\")return f.includes(\";\")?\"\":f;if(f.fontFamily&&!String(f.fontFamily).includes(\";\"))return String(f.fontFamily);const sel=String(f.fontSelector||\"\");if(!sel)return\"\";const n=sel.split(\";\").pop()||\"\";return n.replace(/-(regular|italic|bold|\\d{3}(italic)?)$/i,\"\").replace(/-/g,\" \");};const wOf=(f,fb)=>{if(!f)return fb;if(f.fontWeight)return Number(f.fontWeight)||fb;const m=String(f.fontSelector||\"\").match(/-(\\d{3})/);return m?Number(m[1]):fb;};// famCss: Framer's Font `fontFamily` is ALREADY a stack — never wrap it in quotes (one fake family → fallback renders). A bare name gets quoted.\nconst famCss=f=>{const fa=famOf(f).replace(/\"/g,\"'\").trim();if(!fa)return\"\";return fa.includes(\",\")||fa.startsWith(\"'\")?fa:`'${fa}'`;};const stack=(custom,f,fb,tail)=>{const fam=custom?famCss(f):\"\";return`${fam?`${fam}, `:\"\"}${fb}, ${tail}`;};function useFonts(){useEffect(()=>{if(typeof document===\"undefined\"||document.getElementById(\"aw-fonts\"))return;const l=document.createElement(\"link\");l.id=\"aw-fonts\";l.rel=\"stylesheet\";l.href=FONTS;document.head.appendChild(l);},[]);}// live = client after hydration and not on the canvas. SSR and the first client render share the same markup.\n// TRUE on the Framer canvas AND in its export / thumbnail / screenshot renderers (anything that is not the running preview): no scroll and no hydration there, so every reveal / pinned stage must draw its FINAL state or the editor shows empty blocks.\nfunction useStill(){const isStatic=useIsStaticRenderer();let t=null;try{t=RenderTarget.current();}catch(e){}return isStatic||t!==null&&t!==RenderTarget.preview;}function useLive(){const isStatic=useIsStaticRenderer();const[live,setLive]=useState(false);useEffect(()=>{if(!isStatic&&RenderTarget.current()!==RenderTarget.canvas&&typeof window!==\"undefined\")setLive(true);},[isStatic]);return live;}// Width/height of the root + viewport height. SSR starts from the breakpoint hint (Framer renders the Tablet/Phone copies with the same code and no width).\nfunction useSize(root,hint){const ov=String(hint||\"\").toLowerCase();const[w,setW]=useState(ov===\"phone\"?390:ov===\"tablet\"?810:1440),[vh,setVh]=useState(ov===\"phone\"?844:ov===\"tablet\"?1080:900);useLayoutEffect(()=>{const el=root.current;if(!el)return;const ro=new ResizeObserver(([e])=>{const x=Math.round((e.borderBoxSize&&e.borderBoxSize[0]?e.borderBoxSize[0].inlineSize:0)||el.offsetWidth);if(x>0)setW(x);});ro.observe(el);const vv=()=>setVh(window.innerHeight);vv();const read=()=>{const x=Math.round(el.offsetWidth);if(x>0)setW(x);};const t1=window.setTimeout(read,150),t2=window.setTimeout(read,700),t3=window.setTimeout(read,1600);window.addEventListener(\"resize\",vv);window.addEventListener(\"load\",read);return()=>{ro.disconnect();window.clearTimeout(t1);window.clearTimeout(t2);window.clearTimeout(t3);window.removeEventListener(\"resize\",vv);window.removeEventListener(\"load\",read);};},[]);return{w,vh};}const useReduced=()=>{const[rm,setRm]=useState(false);useLayoutEffect(()=>{setRm(window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches);},[]);return rm;};// One shared rAF for every section. Each frame runs ALL reads first (layout reads: getBoundingClientRect, offsetHeight), then ALL writes (CSS vars, transforms).\n// Interleaving read → write → read made the browser recalc the whole page's style once per section per frame (layout thrashing: 20+ recalcs a frame).\nfunction onTick(fn,read,pre){if(typeof window===\"undefined\")return()=>{};const w=window;if(!w.__ovTick){w.__ovTick={pre:new Set,subs:new Set,reads:new Set,raf:0};const loop=t=>{const T=w.__ovTick;T.pre.forEach(r=>r(t));T.reads.forEach(r=>r(t));T.subs.forEach(s=>s(t));T.raf=requestAnimationFrame(loop);};w.__ovTick.raf=requestAnimationFrame(loop);}w.__ovTick.subs.add(fn);if(read)w.__ovTick.reads.add(read);if(pre)w.__ovTick.pre.add(pre);return()=>{w.__ovTick.subs.delete(fn);if(read)w.__ovTick.reads.delete(read);if(pre)w.__ovTick.pre.delete(pre);};}const clamp01=v=>Math.min(1,Math.max(0,v));const easeIO=t=>{const x=clamp01(t);return x<.5?4*x*x*x:1-Math.pow(-2*x+2,3)/2;};// AFTERWORD tokens (the 8 names are shared with every kit, only the values change): Paper(bone) #F3EEE4 · Ink #1B1814 · Accent(brass) = AMBER #E9B45A (a FILL under ink text: buttons, chips, bars; marks on the ink bands; never text on paper) · Signal(pine) = RUST #9E3B22 (the accent on paper; text uses --aw-acc) · Line(fog) #DDD5C6 · Muted(stone) #6B6459 · White(cloud) #FFFDF8 · Dark(night) #16130F (the ink bands).\nconst DEF={bone:\"#F3EEE4\",ink:\"#1B1814\",brass:\"#E9B45A\",pine:\"#9E3B22\",fog:\"#DDD5C6\",stone:\"#6B6459\",cloud:\"#FFFDF8\",night:\"#16130F\"};const colorsOf=p=>({bone:p.bone||DEF.bone,ink:p.ink||DEF.ink,brass:p.brass||DEF.brass,pine:p.pine||DEF.pine,fog:p.fog||DEF.fog,stone:p.stone||DEF.stone,cloud:p.cloud||DEF.cloud,night:p.night||DEF.night});// a Style-bound colour arrives as var(--token-…, #hex): let the browser resolve it to r,g,b for canvas drawing\nconst cssRgb=(el,col,fb)=>{if(!el||typeof window===\"undefined\")return fb;const p=document.createElement(\"i\");p.style.display=\"none\";p.style.color=col;el.appendChild(p);const v=getComputedStyle(p).color;p.remove();const m=v.match(/(\\d+(?:\\.\\d+)?),\\s*(\\d+(?:\\.\\d+)?),\\s*(\\d+(?:\\.\\d+)?)/);return m?`${Math.round(+m[1])},${Math.round(+m[2])},${Math.round(+m[3])}`:fb;};const cssVars=c=>({\"--aw-bone\":c.bone,\"--aw-ink\":c.ink,\"--aw-brass\":c.brass,\"--aw-pine\":c.pine,\"--aw-fog\":c.fog,\"--aw-stone\":c.stone,\"--aw-cloud\":c.cloud,\"--aw-night\":c.night});const COLOR_CONTROLS={bone:{type:ControlType.Color,title:\"Paper\",defaultValue:DEF.bone},ink:{type:ControlType.Color,title:\"Ink\",defaultValue:DEF.ink},brass:{type:ControlType.Color,title:\"Accent\",description:\"Amber: button faces, chips and bars under ink text; marks on the ink bands. Never amber text on paper\",defaultValue:DEF.brass},pine:{type:ControlType.Color,title:\"Signal\",description:\"Rust: the accent on paper (italic headline words, links, eyebrows)\",defaultValue:DEF.pine},fog:{type:ControlType.Color,title:\"Line\",defaultValue:DEF.fog},stone:{type:ControlType.Color,title:\"Muted\",defaultValue:DEF.stone},cloud:{type:ControlType.Color,title:\"White\",description:\"Slips, chips and the type on the ink bands\",defaultValue:DEF.cloud},night:{type:ControlType.Color,title:\"Dark\",defaultValue:DEF.night}};// ---- Fonts: Custom Fonts toggle → Font controls; off = Fraunces 400 / Instrument Sans / IBM Plex Mono (the italic accent words are Fraunces italic 300, --aw-font-a) ----\nconst FONT_CONTROLS={customFonts:{type:ControlType.Boolean,title:\"Custom Fonts\",description:\"Off = the site fonts (set once on the Header in the Site Layout). On = different fonts for this section only\",defaultValue:false},displayFont:{type:ControlType.Font,title:\"Display Font\",defaultFontType:\"sans-serif\",hidden:p=>!p.customFonts},bodyFont:{type:ControlType.Font,title:\"Body Font\",defaultFontType:\"sans-serif\",hidden:p=>!p.customFonts},monoFont:{type:ControlType.Font,title:\"Mono Font\",defaultFontType:\"monospace\",hidden:p=>!p.customFonts}};const NUMF=\"var(--aw-font-m, 'IBM Plex Mono'), ui-monospace, Menlo, monospace\";// Site-wide fonts: the Header (Site Layout, every page) writes --aw-font-d/b/m (+ weights) on :root when its Custom Fonts is on. A section uses them unless its own Custom Fonts is on.\nconst siteFontCss=p=>{if(!p||!p.customFonts)return\"\";const v=[];const put=(k,f,w)=>{const fam=famCss(f);if(fam){v.push(`--aw-font-${k}:${fam}`);v.push(`--aw-font-${k}w:${wOf(f,w)}`);}};put(\"d\",p.displayFont,400);put(\"b\",p.bodyFont,400);put(\"m\",p.monoFont,400);put(\"a\",p.accentFont,400);return v.length?`:root{${v.join(\";\")}}`:\"\";};function fontsOf(p){const on=!!p.customFonts;const D={fontFamily:stack(on,p.displayFont,\"var(--aw-font-d, 'Fraunces')\",\"'Helvetica Neue', Arial, sans-serif\"),fontWeight:on?wOf(p.displayFont,400):\"var(--aw-font-dw, 401)\",fontStyle:on&&p.displayFont&&p.displayFont.fontStyle?p.displayFont.fontStyle:\"normal\"};const B={fontFamily:stack(on,p.bodyFont,\"var(--aw-font-b, 'Instrument Sans')\",\"system-ui, -apple-system, Arial, sans-serif\"),fontWeight:on?wOf(p.bodyFont,400):\"var(--aw-font-bw, 400)\"};const M={fontFamily:stack(on,p.monoFont,\"var(--aw-font-m, 'IBM Plex Mono')\",\"ui-monospace, 'SF Mono', Menlo, monospace\"),fontWeight:on?wOf(p.monoFont,500):\"var(--aw-font-mw, 500)\"};return{D,B,M};}const BP_CONTROL={bpHint:{type:ControlType.Enum,title:\"Breakpoint Hint\",description:\"Set per breakpoint copy so the server render starts at the right width\",options:[\"auto\",\"desktop\",\"tablet\",\"phone\"],optionTitles:[\"Auto\",\"Desktop\",\"Tablet\",\"Phone\"],defaultValue:\"auto\",hidden:()=>true}};// In-page CTA jumps (\"#demo\", \"/#demo\"): scroll to the section when it is on this page, otherwise go to it on the home page.\nfunction jumpTo(e,href){try{const m=String(href||\"\").match(/^\\/?#([\\w-]+)$/);if(!m)return;const el=document.getElementById(m[1]);if(el){e.preventDefault();const W=window;const L=W.__ltLenis||W.__vcLenis||W.lenis;if(L&&L.scrollTo)L.scrollTo(el,{offset:-20});else el.scrollIntoView({behavior:\"smooth\",block:\"start\"});try{history.replaceState(null,\"\",\"#\"+m[1]);}catch(x){}}else if(href.startsWith(\"#\")){e.preventDefault();window.location.href=\"/\"+href;}}catch(x){}}// display text (section headlines, card h3): Fraunces 400, tight (-.035em). Head (.aw-hd) sets its *starred* words in Fraunces italic 300 (rust --aw-acc on paper, amber on ink); a body that writes its own h3 uses HD(D). With a section's Custom Fonts on, the picked font is used as is.\nconst HD=D=>({...D,letterSpacing:\"-.035em\",fontVariationSettings:'\"opsz\" 144'});// numbers in display type keep their columns (counters never jiggle)\nconst NUM={fontVariantNumeric:\"tabular-nums lining-nums\"};// ---- Button system: PILLS (= the hero's .awh-btn-p / .awh-btn-s). solid 54 px, quiet 46 px, label 14.5 / 600.\n// kinds: solid = the PRIMARY: an AMBER face (--aw-brass) + INK label with an INK round arrow disc (38 px) holding an amber arrow; hover / focus: on paper the face turns ink (cloud label, the disc turns amber with an ink arrow), on ink it turns cloud (ink label) — and the arrow slides out and back in · ghost = an outline pill (ink on paper, cloud on ink) that fills on hover (ink on paper, amber on ink) · quiet = a small ghost (46 px) · ink = alias of solid.\n// `aw-ony` (an old class for a yellow ground): still accepted, it changes nothing.\n// Defaults: solid → arrow · ghost / quiet → no arrow · NO lamp dot unless lamp is passed (the lamp takes the label colour). `sub` = a small second line above the label. Without href (or as=\"button\") it renders a <button>. Never restyle .aw-btn in a body: pick a kind.\nconst BtnArrow=()=>/*#__PURE__*/_jsx(\"svg\",{viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2.4\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M5 12h14M13 5l7 7-7 7\"})});const Btn=({href,label,kind=\"solid\",arrow,lamp,style,className,onClick,ariaLabel,cur,sub,as,state})=>{const aw=kind===\"ink\"?\"solid\":kind;const ar=arrow===undefined?aw===\"solid\":arrow;const lp=!!lamp;const inner=/*#__PURE__*/_jsxs(\"span\",{className:\"aw-btn-face\",children:[lp&&/*#__PURE__*/_jsx(\"i\",{className:\"aw-btn-lamp\",\"aria-hidden\":true}),/*#__PURE__*/_jsxs(\"span\",{className:\"aw-btn-l\",children:[sub?/*#__PURE__*/_jsx(\"span\",{className:\"aw-sub\",children:sub}):null,/*#__PURE__*/_jsx(\"span\",{className:\"aw-mark\",children:label})]}),ar&&/*#__PURE__*/_jsx(\"span\",{className:\"aw-btn-a\",\"aria-hidden\":true,children:/*#__PURE__*/_jsx(BtnArrow,{})})]});const cls=`aw-btn aw-${aw}${ar?\" aw-has-a\":\"\"}${sub?\" aw-two\":\"\"}${state===\"ok\"?\" is-ok\":\"\"}${className?\" \"+className:\"\"}`;if(as===\"button\"||!href)return /*#__PURE__*/_jsx(\"button\",{type:onClick?\"button\":\"submit\",className:cls,\"data-cur\":cur||\"go\",onClick:onClick,\"aria-label\":ariaLabel,style:style,children:inner});return /*#__PURE__*/_jsx(\"a\",{className:cls,\"data-cur\":cur||\"go\",href:href,target:/^https?:\\/\\//.test(href||\"\")?\"_blank\":undefined,rel:/^https?:\\/\\//.test(href||\"\")?\"noopener\":undefined,onClick:onClick||(e=>jumpTo(e,href)),\"aria-label\":ariaLabel,style:style,children:inner});};function useNearFocus(root,live){useEffect(()=>{if(!live||!root.current)return;const el=root.current;const f=e=>{const t=e.target;const sc=t.closest?.(\".aw-inring\");if(!sc)return;try{t.scrollIntoView({block:\"nearest\",inline:\"nearest\"});}catch(x){}};el.addEventListener(\"focusin\",f);return()=>el.removeEventListener(\"focusin\",f);},[live]);}// Roll — a rolling mono number: every digit is a 0–9 column that slides to its value; separators stay put. rm = no transition.\nconst Roll=({text,rm=false,cls})=>/*#__PURE__*/_jsx(\"span\",{className:`aw-roll${rm?\" is-rm\":\"\"}${cls?\" \"+cls:\"\"}`,\"aria-hidden\":true,children:String(text).split(\"\").map((ch,i)=>/\\d/.test(ch)?/*#__PURE__*/_jsx(\"span\",{className:\"aw-dg\",children:/*#__PURE__*/_jsx(\"span\",{className:\"aw-dg-c\",style:{[\"--d\"]:+ch},children:[0,1,2,3,4,5,6,7,8,9].map(d=>/*#__PURE__*/_jsx(\"i\",{children:d},d))})},i):/*#__PURE__*/_jsx(\"span\",{className:\"aw-sep\",children:ch},i))});const Count=({to,on,rm=false,ms=1400,cls,style})=>{const v=useCount(to,on,rm,ms);return /*#__PURE__*/_jsx(\"span\",{className:`aw-count aw-num${cls?\" \"+cls:\"\"}`,style:style,\"aria-label\":String(to||\"\"),children:/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":true,children:v})});};// Md — mini markdown for CMS bodies: blank line = paragraph, \"## \" = h3, \"- \" = list item, \"> \" = quote, **bold**. Never dangerouslySetInnerHTML.\nconst mdInline=t=>String(t).split(/\\*\\*([^*]+)\\*\\*/g).map((x,i)=>i%2?/*#__PURE__*/_jsx(\"strong\",{children:x},i):x);const Md=({text,D,cls})=>{const lines=String(text||\"\").split(/\\n+/).map(l=>l.trim()).filter(Boolean);const out=[];let list=[];const flush=()=>{if(list.length){out.push(/*#__PURE__*/_jsx(\"ul\",{children:list.map((x,i)=>/*#__PURE__*/_jsx(\"li\",{children:mdInline(x)},i))},\"u\"+out.length));list=[];}};lines.forEach(l=>{if(l.startsWith(\"- \")){list.push(l.slice(2));return;}flush();if(l.startsWith(\"## \"))out.push(/*#__PURE__*/_jsx(\"h3\",{style:D?HD(D):undefined,children:l.slice(3)},out.length));else if(l.startsWith(\"> \"))out.push(/*#__PURE__*/_jsx(\"blockquote\",{children:mdInline(l.slice(2))},out.length));else out.push(/*#__PURE__*/_jsx(\"p\",{children:mdInline(l)},out.length));});flush();return /*#__PURE__*/_jsx(\"div\",{className:`aw-md${cls?\" \"+cls:\"\"}`,children:out});};const Rule=({on,dir=\"x\",delay=0,rm=false,style,cls})=>/*#__PURE__*/_jsx(\"i\",{className:`aw-rule-${dir}${on?\" is-on\":\"\"}${rm?\" is-rm\":\"\"}${cls?\" \"+cls:\"\"}`,style:{[\"--dl\"]:`${delay}ms`,...style||{}},\"aria-hidden\":true});const IcoArrow=({s=15})=>/*#__PURE__*/_jsx(\"svg\",{width:s,height:s,viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",\"aria-hidden\":true,children:/*#__PURE__*/_jsx(\"path\",{d:\"M5 12h14M13 5l7 7-7 7\"})});const IcoCheck=({s=12})=>/*#__PURE__*/_jsx(\"svg\",{width:s,height:s,viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"3.2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",\"aria-hidden\":true,children:/*#__PURE__*/_jsx(\"path\",{d:\"M5 12.5l4.5 4.5L19 7.5\"})});const CSS_BASE=`\n:where(.mw){position:relative;z-index:10} .mw,.mw *{box-sizing:border-box;min-width:0} .aw-sr{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;padding:0!important;margin:-1px!important;border:0!important} :where(.mw) a{color:inherit} html,body{overflow-x:clip}\n/* focus: a 3px ink ring with a light band (reads on paper, on panels and over a picture); inside ink boxes (.aw-dark / .aw-dk) the ring is white */\n:where(a[href],button,input,select,textarea,summary,[tabindex]:not([tabindex=\"-1\"]),[role=\"button\"]):focus-visible{outline:3px solid var(--aw-ink,#15161C)!important;outline-offset:2px!important;box-shadow:0 0 0 2px var(--aw-cloud,#FFFFFF)!important}\n:where(.aw-dark,.aw-dk) :where(a[href],button,input,select,textarea,summary,[tabindex]:not([tabindex=\"-1\"])):focus-visible{outline-color:var(--aw-cloud,#FFFFFF)!important;box-shadow:0 0 0 2px var(--aw-night,#15161C)!important}\n:where(.aw-inring) :where(a[href],button,input,summary,[tabindex]):focus-visible,:where(a[href],button,input,summary,[tabindex]).aw-inring:focus-visible{outline:3px solid var(--aw-ink,#15161C)!important;outline-offset:-3px!important;box-shadow:inset 0 0 0 5px var(--aw-cloud,#FFFFFF)!important}\n:where(.mw) :focus-visible{outline:3px solid var(--aw-ink,#15161C);outline-offset:2px}\n/* Stage 7: a control that takes focus never lands under the fixed header */\n:where(.mw) :where(a[href],button,input,select,textarea,summary,[tabindex]){scroll-margin-top:116px}\n/* TEXT-SAFE values per ground. --aw-mut = muted text (AA on paper and deeper paper). --aw-acc = the accent as TEXT: on paper DEEP RUST = rust 88 % + ink (italic headline words, links, eyebrows, AA), on ink amber mixed with white. --aw-dot = small marks: rust on paper, amber on ink. The raw --aw-brass (AMBER #E9B45A) is a FILL under ink text (buttons, chips, bars) and marks on INK only; never text on paper. */\n.mw{--aw-bone2:color-mix(in srgb,var(--aw-bone) 90%,var(--aw-stone));--aw-mut:color-mix(in srgb,var(--aw-stone) 62%,var(--aw-ink));--aw-acc:color-mix(in srgb,var(--aw-pine) 88%,var(--aw-ink));--aw-ok:var(--aw-acc);--aw-dot:var(--aw-pine);--aw-hair:color-mix(in srgb,var(--aw-ink) 13%,transparent);--aw-hair2:color-mix(in srgb,var(--aw-ink) 24%,transparent)}\n.aw-dark,.mw.aw-dark,.mw .aw-dk{--aw-mut:color-mix(in srgb,var(--aw-stone) 36%,var(--aw-cloud));--aw-acc:color-mix(in srgb,var(--aw-brass) 78%,var(--aw-cloud));--aw-ok:color-mix(in srgb,var(--aw-brass) 70%,var(--aw-cloud));--aw-dot:var(--aw-brass);--aw-hair:color-mix(in srgb,var(--aw-cloud) 16%,transparent);--aw-hair2:color-mix(in srgb,var(--aw-cloud) 30%,transparent)}\n.mw.aw-dark .aw-lt,.mw .aw-dk .aw-lt{--aw-mut:color-mix(in srgb,var(--aw-stone) 62%,var(--aw-ink));--aw-acc:color-mix(in srgb,var(--aw-pine) 88%,var(--aw-ink));--aw-ok:var(--aw-acc);--aw-dot:var(--aw-pine);--aw-hair:color-mix(in srgb,var(--aw-ink) 13%,transparent);--aw-hair2:color-mix(in srgb,var(--aw-ink) 24%,transparent);color:var(--aw-ink)}\n/* section grounds: paper (default, --aw-bone, the whole page) \\xb7 aw-paper2 = deeper paper (--aw-bone2, a breath) \\xb7 aw-dark = INK (--aw-night: the two ink bands, the footer). */\n.aw-sec{background:var(--aw-bone);color:var(--aw-ink)} .aw-sec.aw-paper2{background:var(--aw-bone2)} .aw-sec.aw-dark{background:var(--aw-night);color:var(--aw-cloud)}\n/* ---- Buttons: PILLS, solid 54px / quiet 46px, label 14.5px / 600 (quiet 13.5) = the hero's .awh-btn-p / .awh-btn-s. Colours: --kf face \\xb7 --kl label \\xb7 --kh / --klh face / label on hover \\xb7 --kd / --ka the arrow disc / arrow \\xb7 --kdh / --kah on hover \\xb7 --kr / --krh edge (outline) / shadow. */\n.aw-btn{position:relative;display:inline-flex;height:54px;padding:0;border:0;border-radius:999px;background:none;text-decoration:none;white-space:nowrap;font:inherit;line-height:1;cursor:pointer;-webkit-appearance:none;appearance:none;color:var(--kl)!important;-webkit-tap-highlight-color:transparent;--lamp:currentColor}\n.aw-btn-face{position:relative;display:inline-flex;align-items:center;justify-content:space-between;gap:14px;width:100%;height:100%;padding:0 26px;border-radius:inherit;overflow:hidden;isolation:isolate;background:var(--kf);color:var(--kl);box-shadow:var(--kr,none);font-size:14.5px;font-weight:600;letter-spacing:.005em;transition:background .35s,color .35s,box-shadow .35s,transform .18s}\n.aw-btn:hover .aw-btn-face,.aw-btn:focus-visible .aw-btn-face{background:var(--kh);color:var(--klh);box-shadow:var(--krh,var(--kr,none))} .aw-btn:active .aw-btn-face{transform:scale(.97);transition-duration:.06s}\n.aw-btn-l{position:relative;z-index:1;display:inline-flex;flex-direction:column;justify-content:center;line-height:1.15} .aw-sub{display:block;font-size:10.5px;font-weight:500;letter-spacing:.04em;opacity:.78;margin-bottom:1px} .aw-mark{display:inline-block}\n/* the arrow disc: a 38 px round disc inside the right end (= the hero's .awh-btn-a); on hover / focus the arrow slides out to the right and comes back in from the left */\n.aw-btn.aw-has-a .aw-btn-face{padding:0 8px 0 26px}\n.aw-btn .aw-btn-a{position:relative;z-index:1;display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:50%;overflow:hidden;color:var(--ka);background:var(--kd);transition:background .35s,color .35s} .aw-btn:hover .aw-btn-a,.aw-btn:focus-visible .aw-btn-a{color:var(--kah,var(--ka));background:var(--kdh,var(--kd))} .aw-btn .aw-btn-a svg{display:block;width:14px;height:14px} .aw-btn:hover .aw-btn-a svg,.aw-btn:focus-visible .aw-btn-a svg{animation:aw-arr .6s cubic-bezier(.2,.8,.2,1)}\n@keyframes aw-arr{0%{transform:none}45%{transform:translateX(160%)}46%{transform:translateX(-160%)}100%{transform:none}}\n/* the lamp (opt-in, lamp={true}): a small round dot with a slow ping in the label colour */\n.aw-btn-lamp{position:relative;z-index:1;flex:none;width:8px;height:8px;border-radius:50%;background:var(--lamp)} .aw-btn-lamp::after{content:\"\";position:absolute;inset:-5px;border-radius:50%;border:1px solid var(--lamp);opacity:0;animation:aw-ping 2.6s ease-out infinite} @keyframes aw-ping{0%{opacity:.9;transform:scale(.5)}70%,100%{opacity:0;transform:scale(1.5)}}\n/* solid = THE PRIMARY: AMBER face + INK label (9.6:1) with an ink disc + amber arrow. On PAPER (and on a light .aw-lt panel inside an ink band) hover = INK face + cloud label, amber disc + ink arrow; on INK hover = CLOUD face + ink label, the disc stays ink (= the hero). */\n.aw-btn.aw-solid,.aw-dark .aw-btn.aw-solid,.mw .aw-dk .aw-btn.aw-solid,.mw.aw-dark .aw-lt .aw-btn.aw-solid,.mw .aw-dk .aw-lt .aw-btn.aw-solid{--kf:var(--aw-brass);--kl:var(--aw-ink);--kh:var(--aw-ink);--klh:var(--aw-cloud);--kd:var(--aw-ink);--ka:var(--aw-brass);--kdh:var(--aw-brass);--kah:var(--aw-ink);--kr:none;--krh:none}\n.aw-dark .aw-btn.aw-solid,.mw .aw-dk .aw-btn.aw-solid{--kh:var(--aw-cloud);--klh:var(--aw-ink);--kdh:var(--aw-ink);--kah:var(--aw-brass);--kr:0 12px 30px -14px color-mix(in srgb,#000 80%,transparent)} .mw.aw-dark .aw-lt .aw-btn.aw-solid,.mw .aw-dk .aw-lt .aw-btn.aw-solid{--kh:var(--aw-ink);--klh:var(--aw-cloud);--kdh:var(--aw-brass);--kah:var(--aw-ink);--kr:none}\n/* ghost / quiet: on PAPER a 1.5 px ink outline pill that fills ink (cloud label); on INK a 1.5 px cloud outline (55 %, = the hero's .awh-btn-s) that fills amber (ink label). With an arrow: on paper an ink disc + amber arrow (amber disc + ink arrow once filled), on ink an amber disc + ink arrow (ink disc + amber arrow once filled). */\n.aw-btn.aw-ghost,.aw-btn.aw-quiet{--kf:transparent;--kl:var(--aw-ink);--kh:var(--aw-ink);--klh:var(--aw-cloud);--kd:var(--aw-ink);--ka:var(--aw-brass);--kdh:var(--aw-brass);--kah:var(--aw-ink);--kr:inset 0 0 0 1.5px var(--aw-ink);--krh:inset 0 0 0 1.5px var(--aw-ink)}\n.aw-dark .aw-btn.aw-ghost,.mw .aw-dk .aw-btn.aw-ghost,.aw-dark .aw-btn.aw-quiet,.mw .aw-dk .aw-btn.aw-quiet{--kf:transparent;--kl:var(--aw-cloud);--kh:var(--aw-brass);--klh:var(--aw-ink);--kd:var(--aw-brass);--ka:var(--aw-ink);--kdh:var(--aw-ink);--kah:var(--aw-brass);--kr:inset 0 0 0 1.5px color-mix(in srgb,var(--aw-cloud) 55%,transparent);--krh:inset 0 0 0 1.5px var(--aw-brass)}\n.mw.aw-dark .aw-lt .aw-btn.aw-ghost,.mw .aw-dk .aw-lt .aw-btn.aw-ghost,.mw.aw-dark .aw-lt .aw-btn.aw-quiet,.mw .aw-dk .aw-lt .aw-btn.aw-quiet{--kf:transparent;--kl:var(--aw-ink);--kh:var(--aw-ink);--klh:var(--aw-cloud);--kd:var(--aw-ink);--ka:var(--aw-brass);--kdh:var(--aw-brass);--kah:var(--aw-ink);--kr:inset 0 0 0 1.5px var(--aw-ink);--krh:inset 0 0 0 1.5px var(--aw-ink)}\n.aw-btn.aw-ghost .aw-btn-face,.aw-btn.aw-quiet .aw-btn-face{justify-content:center;gap:10px} .aw-btn.aw-ghost.aw-has-a .aw-btn-face,.aw-btn.aw-quiet.aw-has-a .aw-btn-face{justify-content:space-between;gap:14px}\n.aw-btn.aw-quiet{height:46px} .aw-btn.aw-quiet .aw-btn-face{padding:0 20px;gap:9px;font-size:13.5px} .aw-btn.aw-quiet.aw-has-a .aw-btn-face{padding:0 6px 0 20px;gap:12px} .aw-btn.aw-quiet .aw-btn-a{width:34px;height:34px} .aw-btn.aw-quiet .aw-btn-a svg{width:13px;height:13px}\n/* .aw-ony (an old yellow-ground switch): carries no rules — a button under or with .aw-ony keeps its plain look for its ground. */\n.aw-btn:disabled,.aw-btn[aria-disabled=\"true\"]{opacity:.55;pointer-events:none}\n@media (max-width:600px),(hover:none){.mw .aw-btn{max-width:100%}}\n.mw button,.mw input,.mw select,.mw textarea{font-family:inherit}\n/* mono data lines + numbers */\n.aw-mono{font-size:11.5px;font-weight:500;letter-spacing:.09em;text-transform:uppercase;line-height:1.5;font-variant-numeric:tabular-nums} .aw-num{font-variant-numeric:tabular-nums lining-nums} .aw-lbl{font-size:11px;font-weight:500;letter-spacing:.1em;text-transform:uppercase;color:var(--aw-mut)}\n/* a live dot: a small round dot with a slow round ping — rust on paper, amber on ink (--aw-dot); .is-ok = steady, no ping */\n.aw-lit-dot{position:relative;display:inline-block;width:8px;height:8px;flex:none;border-radius:50%;background:var(--aw-dot)} .aw-lit-dot::after{content:\"\";position:absolute;inset:-4px;border-radius:50%;box-shadow:0 0 0 1.5px var(--aw-dot);opacity:0;animation:aw-glow 2.6s ease-out infinite} @keyframes aw-glow{0%{opacity:.7;transform:scale(.5)}100%{opacity:0;transform:scale(1.5)}} .aw-lit-dot.is-ok::after{animation:none}\n/* Plates: a plate over a photograph / on paper — 8px radius, hairline, a soft drop so it lifts off a picture; on ink grounds use .aw-plate.aw-dark = the ink-glass plate (veil + hairline). .aw-frame = a picture frame (20px radius, clips its image; deeper paper ground, ink ground on the ink bands, so an empty picture is a quiet box). CASCADE-ORDER LAW: every component re-injects this base CSS, so a LATER component's .aw-plate beats an earlier component's single-class rule: a component that overrides a base class on the same element uses 2+ classes (.awh-score.aw-plate{…}). */\n.aw-frame{position:relative;overflow:hidden;border-radius:20px;background:var(--aw-bone2)} .mw.aw-dark .aw-frame,.mw .aw-dk .aw-frame{background:color-mix(in srgb,var(--aw-night) 84%,var(--aw-stone))} .aw-frame>img{display:block;width:100%;height:100%;object-fit:cover}\n.aw-plate{position:relative;border-radius:8px;background:var(--aw-cloud);color:var(--aw-ink);box-shadow:inset 0 0 0 1px var(--aw-hair),0 1px 2px color-mix(in srgb,var(--aw-ink) 8%,transparent),0 10px 28px -12px color-mix(in srgb,var(--aw-ink) 28%,transparent)}\n.aw-plate.aw-dark,.mw .aw-dk{background:var(--aw-night);color:var(--aw-cloud)} .aw-plate.aw-dark{background:color-mix(in srgb,color-mix(in srgb,var(--aw-night) 90%,#000) 78%,transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--aw-cloud) 18%,transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}\n/* Chips: small mono PILL chips (topics, kinds, statuses, dates). Add the mono font with style={M}.\n   .aw-chip = hairline outline \\xb7 .is-amb = THE AMBER CHIP (ink on amber: \\xabnow\\xbb, the status) \\xb7 .is-plate = ink on white (over pictures / on ink) \\xb7 .is-ink = white on ink (flips to ink on white on ink grounds) \\xb7 .is-acc = accent text (AA) \\xb7 button.aw-chip / a.aw-chip = a filter / tab chip: hover fills ink (white on ink grounds), [aria-pressed=\"true\"] / .is-on = amber chip; it is 34 px high and its ::after stretches the hit area to 44 px */\n.aw-chip{display:inline-flex;align-items:center;gap:7px;height:26px;padding:0 12px;border:0;border-radius:999px;background:none;font-size:11px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;line-height:1;white-space:nowrap;text-decoration:none;box-shadow:inset 0 0 0 1px var(--aw-hair2);color:inherit} .aw-chip.is-acc{color:var(--aw-acc)} .aw-chip.is-ok{color:var(--aw-ok)}\n.aw-chip.is-amb,.aw-dark .aw-chip.is-amb,.mw .aw-dk .aw-chip.is-amb{background:var(--aw-brass);color:var(--aw-ink);box-shadow:none} .aw-chip.is-plate,.aw-dark .aw-chip.is-plate,.mw .aw-dk .aw-chip.is-plate{background:var(--aw-cloud);color:var(--aw-ink);box-shadow:none} .aw-chip.is-ink{background:var(--aw-ink);color:var(--aw-cloud);box-shadow:none} .aw-dark .aw-chip.is-ink,.mw .aw-dk .aw-chip.is-ink{background:var(--aw-cloud);color:var(--aw-ink)}\nbutton.aw-chip,a.aw-chip{position:relative;height:34px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background .3s,color .3s,box-shadow .3s} button.aw-chip::after,a.aw-chip::after{content:\"\";position:absolute;left:0;right:0;top:-5px;bottom:-5px} button.aw-chip:hover,a.aw-chip:hover{background:var(--aw-ink);color:var(--aw-cloud);box-shadow:none} .aw-dark button.aw-chip:hover,.mw .aw-dk button.aw-chip:hover,.aw-dark a.aw-chip:hover,.mw .aw-dk a.aw-chip:hover{background:var(--aw-cloud);color:var(--aw-ink)}\nbutton.aw-chip[aria-pressed=\"true\"],button.aw-chip.is-on,a.aw-chip.is-on,.aw-dark button.aw-chip[aria-pressed=\"true\"],.mw .aw-dk button.aw-chip[aria-pressed=\"true\"]{background:var(--aw-brass);color:var(--aw-ink);box-shadow:none}\n/* accent words as an inline mark INSIDE body copy (deep rust text on paper, amber text on ink — no plate) and the step number (\\xab01\\xbb, \\xabStep 02 / 03\\xbb; add style={M}) */\n.aw-amb{font-style:normal;color:var(--aw-acc)} .mw.aw-dark .aw-amb,.mw .aw-dk .aw-amb{color:var(--aw-brass)} .mw.aw-dark .aw-lt .aw-amb,.mw .aw-dk .aw-lt .aw-amb{color:var(--aw-acc)}\n.aw-stn{font-size:11px;font-weight:500;letter-spacing:.11em;text-transform:uppercase;line-height:1.4;font-variant-numeric:tabular-nums;color:var(--aw-mut)} .aw-stn b{font-weight:inherit;color:var(--aw-acc)}\n/* Roll */ .aw-roll{display:inline-flex;align-items:flex-start;white-space:nowrap;font-variant-numeric:tabular-nums} .aw-dg{display:inline-block;height:1em;overflow:hidden;vertical-align:top} .aw-dg-c{display:flex;flex-direction:column;transform:translateY(calc(var(--d) * -1em));transition:transform .55s cubic-bezier(.3,.9,.3,1)} .aw-dg-c i{display:block;height:1em;line-height:1em;font-style:normal} .aw-sep{display:inline-block;height:1em;line-height:1em} .aw-roll.is-rm .aw-dg-c,.mw[data-kb] .aw-dg-c{transition:none}\n/* Rules */ .aw-rule-x,.aw-rule-y{display:block;background:var(--aw-hair);transform-origin:0 0;transition:transform 1.1s cubic-bezier(.2,.8,.2,1) var(--dl,0ms)} .aw-rule-x{width:100%;height:1px;transform:scaleX(0)} .aw-rule-y{width:1px;height:100%;transform:scaleY(0)} .aw-rule-x.is-on{transform:scaleX(1)} .aw-rule-y.is-on{transform:scaleY(1)} .aw-rule-x.is-rm,.aw-rule-y.is-rm,.mw[data-kb] .aw-rule-x,.mw[data-kb] .aw-rule-y{transition:none}\n/* Count */ .aw-count{display:inline-block;white-space:nowrap}\n/* Md */ .aw-md{display:grid;gap:14px;font-size:16.5px;line-height:1.6} .aw-md p,.aw-md ul,.aw-md h3,.aw-md blockquote{margin:0} .aw-md h3{margin-top:14px;font-size:clamp(24px,2vw,30px);line-height:1.15} .aw-md ul{padding-left:1.1em;display:grid;gap:6px} .aw-md strong{font-weight:600} .aw-md blockquote{padding-left:16px;border-left:3px solid var(--aw-dot);font-size:1.1em}\n/* HEIGHT LAW: a block whose content swaps stacks all items in ONE grid cell so the tallest reserves the height */ .aw-swap{display:grid} .aw-swap>*{grid-area:1/1;min-width:0;opacity:0;visibility:hidden;transition:opacity .5s ease,visibility 0s linear .5s} .aw-swap>.is-on{opacity:1;visibility:visible;transition:opacity .5s ease}\n@media (prefers-reduced-motion:reduce){.aw-btn .aw-btn-a svg,.aw-btn-lamp::after,.aw-lit-dot::after{animation:none!important} .mw *,.sth *{animation-duration:.01ms!important;transition-duration:.01ms!important}}\n`;// ===== LEADLINE motion layer (composed by mk.py after _common) =====\n// One shared rAF (onTick). Sections write --sp (0 = top edge enters the viewport bottom → 1 = bottom edge leaves the top) and,\n// for tall pinned wrappers, --pp (0 = wrapper top hits the viewport top → 1 = wrapper bottom hits the viewport bottom). IO-gated.\nconst SCRUB_K=.18;// Decode a section's photos while it is still a screen and a half away, so the first frame it is on screen never waits for a decode.\nfunction usePre(el){try{const io=new IntersectionObserver(es=>{if(!es[0].isIntersecting)return;io.disconnect();el.querySelectorAll(\"img\").forEach(im=>{try{im.loading=\"eager\";im.decode().catch(()=>{});}catch(e){}});},{rootMargin:\"150% 0px 150% 0px\"});io.observe(el);}catch(e){}}function focusTo(el,frac){if(!el||typeof window===\"undefined\")return;if(window.innerWidth<810)return;const r=el.getBoundingClientRect();const vh=window.innerHeight;if(r.height<=vh*1.05)return;const y=r.top+window.scrollY+(r.height-vh)*Math.min(1,Math.max(0,frac));if(Math.abs(window.scrollY-y)<8)return;const w=window;if(w.__ltLenis)w.__ltLenis.scrollTo(y,{immediate:true,force:true});else window.scrollTo(0,y);}function useScrollVars(ref,live,rm,cb){useEffect(()=>{if(!live||rm||!ref.current)return;const el=ref.current;let vis=true,last=-9,cs=-1,cp=-1,settled=false;usePre(el);const io=new IntersectionObserver(es=>{vis=es[0].isIntersecting;},{rootMargin:\"25% 0px 25% 0px\"});io.observe(el);// eased scrub: the values glide toward the true scroll position (K per frame), so wheel steps never jump a pinned scene\nlet rt=0,rh=0,vh=1,fresh=false;const read=()=>{if(!vis&&settled){fresh=false;return;}const r=el.getBoundingClientRect();rt=r.top;rh=r.height;vh=window.innerHeight||1;fresh=true;};const off=onTick(()=>{if(!fresh)return;const sp=clamp01((vh-rt)/(vh+rh));const pp=rh>vh*1.05?clamp01(-rt/(rh-vh)):sp;if(cs<0){cs=sp;cp=pp;}else{cs+=(sp-cs)*SCRUB_K;cp+=(pp-cp)*SCRUB_K;if(Math.abs(sp-cs)<5e-4)cs=sp;if(Math.abs(pp-cp)<5e-4)cp=pp;}settled=cs===sp&&cp===pp;if(Math.abs(cs+cp-last)<3e-4)return;last=cs+cp;el.style.setProperty(\"--sp\",cs.toFixed(4));el.style.setProperty(\"--pp\",cp.toFixed(4));if(cb)cb(cs,cp);},read);return()=>{off();io.disconnect();};},[live,rm]);}// STAGE — false while the loader or the page-transition cover is on screen (html.aw-hold-*), so first-screen intros play AFTER the cover lifts, never under it. 9 s safety.\nfunction useStage(live){const[r,setR]=useState(false);useEffect(()=>{if(!live)return;const h=document.documentElement;const ok=()=>!/(^|\\s)aw-hold/.test(h.className);if(ok()){setR(true);return;}const mo=new MutationObserver(()=>{if(ok()){mo.disconnect();setR(true);}});mo.observe(h,{attributes:true,attributeFilter:[\"class\"]});const t=window.setTimeout(()=>{mo.disconnect();setR(true);},9e3);return()=>{mo.disconnect();window.clearTimeout(t);};},[live]);return r;}// true once the element has entered the viewport (stays true) — and only once the stage is clear. Reduced motion = true at once.\nfunction useOn(ref,live,rm,amount=.16){const[on,setOn]=useState(false);const still=useStill();const ready=useStage(live);useEffect(()=>{if(!live)return;if(rm){setOn(true);return;}if(!ready)return;const el=ref.current;if(!el)return;let off=()=>{};// keyboard focus: mark the section FIRST and flush styles, so the reveal that follows runs with instant transitions (a transition keeps the timing it started with)\nconst fin=e=>{try{if(e.target.matches(\":focus-visible\")){el.setAttribute(\"data-kb\",\"\");void el.offsetWidth;}}catch(x){}setOn(true);};const fout=e=>{if(!el.contains(e.relatedTarget))el.removeAttribute(\"data-kb\");};el.addEventListener(\"focusin\",fin);el.addEventListener(\"focusout\",fout);const io=new IntersectionObserver(es=>{for(const e of es)if(e.isIntersecting){io.disconnect();// IO ignores occlusion: under a curtain (Reveal) wait until about a quarter of it is uncovered\noff=onTick(()=>{const rev=el.closest(\".aw-rev.is-act\");const rv=rev?parseFloat(rev.style.getPropertyValue(\"--rv\")||\"0\"):1;if(rv>.24){setOn(true);off();}});}},{threshold:Math.min(amount,Math.max(.005,window.innerHeight*.3/Math.max(1,el.offsetHeight))),rootMargin:\"0px 0px -6% 0px\"});io.observe(el);return()=>{io.disconnect();off();el.removeEventListener(\"focusin\",fin);el.removeEventListener(\"focusout\",fout);};},[live,rm,ready]);return on||still;}// CURTAIN REVEAL — the section is pinned BEHIND the one above it and is uncovered as that one lifts away (the footer movement, for any section).\n// Wrapper = section + a spacer of T, pulled up by T (page length unchanged); the section is sticky for exactly T of scroll. T = min(section height, 100svh):\n// a tall section pins at the top, a short one sits on the bottom edge of the viewport. The section ABOVE needs a higher Layer (z-index).\nfunction Reveal({on,layer=9,style,children}){const live=useLive();const rm=useReduced();const wrap=useRef(null);const inner=useRef(null);const sp=useRef(null);const[h,setH]=useState(0);const[kb,setKb]=useState(false);// keyboard users get the footer as a normal section: a curtain taller than the screen hides its top row under the page above / the fixed header\nconst act=on&&live&&!rm&&h>0&&!kb;useEffect(()=>{if(!on||!live||rm||!inner.current)return;const el=inner.current;const m=()=>setH(el.offsetHeight);m();const ro=new ResizeObserver(m);ro.observe(el);return()=>ro.disconnect();},[on,live,rm]);useEffect(()=>{if(!act||!wrap.current)return;const el=wrap.current;let vis=true,last=-1;const io=new IntersectionObserver(es=>{vis=es[0].isIntersecting;},{rootMargin:\"30% 0px 30% 0px\"});io.observe(el);let cur=-1,T=0,vh=1,top=0,fresh=false;const read=()=>{if(!vis){fresh=false;return;}T=sp.current?sp.current.offsetHeight:0;vh=window.innerHeight;top=el.getBoundingClientRect().top;fresh=true;};const off=onTick(()=>{if(!fresh||!T)return;const rv=clamp01((vh-T-top)/T);if(cur<0||el.dataset.snap){cur=rv;delete el.dataset.snap;}else{cur+=(rv-cur)*SCRUB_K;if(Math.abs(rv-cur)<5e-4)cur=rv;}if(Math.abs(cur-last)<4e-4)return;last=cur;el.style.setProperty(\"--rv\",cur.toFixed(4));},read);return()=>{off();io.disconnect();};},[act]);return /*#__PURE__*/_jsxs(\"div\",{ref:wrap,className:`aw-rev${act?\" is-act\":\"\"}`,style:{...style||{},[\"--h\"]:`${h}px`,[\"--layer\"]:layer},onFocusCapture:e=>{if(!act||!wrap.current)return;try{if(e.target.matches(\":focus-visible\")){const t0=e.target;setKb(true);requestAnimationFrame(()=>requestAnimationFrame(()=>{try{t0.scrollIntoView({block:\"center\"});}catch(x){}}));return;}}catch(x){}const t=e.target;const w=window;const r=wrap.current.getBoundingClientRect();const T=sp.current?sp.current.offsetHeight:0;const y=Math.max(0,Math.min(document.documentElement.scrollHeight-window.innerHeight,r.top+window.scrollY-window.innerHeight+2*T));if(Math.abs(window.scrollY-y)>4){if(w.__ltLenis)w.__ltLenis.scrollTo(y,{immediate:true,force:true});else window.scrollTo(0,y);}wrap.current.dataset.snap=\"1\";requestAnimationFrame(()=>{try{const q=t.getBoundingClientRect();if(q.top<0||q.bottom>window.innerHeight)t.scrollIntoView({block:\"nearest\"});}catch(x){}});},children:[/*#__PURE__*/_jsx(\"div\",{ref:inner,className:\"aw-rev-in\",children:children}),/*#__PURE__*/_jsx(\"div\",{ref:sp,className:\"aw-rev-sp\",\"aria-hidden\":true})]});}const REVEAL_CONTROLS={reveal:{type:ControlType.Boolean,title:\"Reveal\",description:\"Curtain: this section waits behind the one above and is uncovered as that one lifts away\",enabledTitle:\"Curtain\",disabledTitle:\"Off\",defaultValue:true},layer:{type:ControlType.Number,title:\"Layer\",description:\"Stacking order. Must be LOWER than the section above (sections default to 10)\",min:0,max:20,step:1,displayStepper:true,defaultValue:9,hidden:p=>p.reveal===false}};const splitWords=s=>String(s||\"\").replace(/\\*([^*]+)\\*/g,(_m,g)=>g.trim().split(/\\s+/).map(w=>{const m=w.match(/^(.*?)([.,!?;:’']*)$/);return m&&m[1]?`*${m[1]}*${m[2]}`:w;}).join(\" \")).split(/\\s+/).filter(Boolean).map(t=>{const m=t.match(/^\\*(.+?)\\*([.,!?;:’']*)$/);return m?{t:m[1],tail:m[2],acc:true}:{t:t.replace(/\\*/g,\"\"),tail:\"\",acc:false};});const plainOf=s=>String(s||\"\").replace(/\\*/g,\"\").replace(/\\s*\\|\\s*/g,\" \").replace(/\\s+/g,\" \").trim();// Head — the section headline (Fraunces 400, -.035em, 1.02): its words rise out of masks. \"|\" forces a line break, *stars* around a phrase = the ACCENT WORDS: Fraunces ITALIC 300 (--aw-font-a), deep rust (--aw-acc) on paper, amber (--aw-brass) on ink — never a plate behind them.\nconst Head=({text,on,D,tag=\"h2\",size=\"clamp(40px,4.3vw,64px)\",lh=1.02,delay=0,step=55,style,className})=>{const Tag=tag;let k=0;if(!String(text||\"\").trim())return null;return /*#__PURE__*/_jsx(Tag,{className:`aw-hd${on?\" is-on\":\"\"}${tag===\"h1\"?\" is-ssr\":\"\"}${className?\" \"+className:\"\"}`,\"aria-label\":plainOf(text),style:{...HD(D),fontSize:size,lineHeight:lh,...style||{}},children:String(text).split(\"|\").map((line,li)=>/*#__PURE__*/_jsx(\"span\",{className:\"aw-hd-l\",\"aria-hidden\":true,children:splitWords(line).map((w,i,all)=>{const d=delay+k++*step;const jn=w.acc&&!!all[i+1]&&all[i+1].acc;const jp=w.acc&&i>0&&all[i-1].acc;return /*#__PURE__*/_jsxs(\"span\",{className:`aw-hd-w${w.acc?\" is-accw\":\"\"}`,children:[/*#__PURE__*/_jsx(\"span\",{className:`aw-hd-i${w.acc?\" is-acc\":\"\"}`,style:{transitionDelay:`${d}ms`,[\"--pd\"]:`${d+500}ms`,[\"--dl\"]:`${d}ms`},children:w.acc?/*#__PURE__*/_jsxs(\"span\",{className:`aw-it${jn?\" is-jn\":\"\"}${jp?\" is-jp\":\"\"}`,children:[w.t,w.tail]}):/*#__PURE__*/_jsxs(_Fragment,{children:[w.t,w.tail]})}),\" \"]},i);})},li))});};const Eyebrow=({text,on,M,delay=0,style})=>text&&String(text).trim()?/*#__PURE__*/_jsxs(\"p\",{className:`aw-eb${on?\" is-on\":\"\"}`,style:{...M,transitionDelay:`${delay}ms`,...style||{}},children:[/*#__PURE__*/_jsx(\"i\",{className:\"aw-lit-dot\",\"aria-hidden\":true}),text]}):null;// Lit — a photo box (radius 20 by default) with the responsive srcset; `on` adds .is-on for a body's own entry rule. Children (caption plates, share chips) sit above the picture. Photographs are never graded or dimmed.\nconst Lit=({src,alt=\"\",on,ratio=\"4/5\",radius=20,sizes=\"(max-width: 809px) 100vw, 50vw\",focus=\"50% 50%\",delay=0,hold=false,eager=false,className,style,children})=>{const im=RS(src,sizes);return /*#__PURE__*/_jsxs(\"span\",{className:`aw-dusk${on?\" is-on\":\"\"}${hold?\" is-hold\":\"\"}${className?\" \"+className:\"\"}`,style:{aspectRatio:ratio,borderRadius:radius,[\"--dd\"]:`${delay}ms`,...style||{}},children:[/*#__PURE__*/_jsx(\"img\",{src:im.src,srcSet:im.srcSet,sizes:im.sizes,alt:alt,loading:eager?\"eager\":\"lazy\",decoding:\"async\",draggable:false,style:{objectPosition:focus}}),children]});};// count-up for a stat (\"2,140\", \"91¢\", \"$184,200\", \"38\"): keeps prefix, suffix and thousands commas; SSR and reduced motion show the final value.\nfunction useCount(target,on,rm,ms=1400){const m=String(target||\"\").match(/^([^\\d-]*)(-?[\\d,]*\\.?\\d+)(.*)$/);const[v,setV]=useState(1);useEffect(()=>{if(!m||rm||!on){setV(1);return;}let raf=0,t0=0;setV(0);const step=t=>{if(!t0)t0=t;const k=clamp01((t-t0)/ms);setV(1-Math.pow(1-k,3));if(k<1)raf=requestAnimationFrame(step);};raf=requestAnimationFrame(step);return()=>cancelAnimationFrame(raf);},[on,rm,target]);if(!m)return String(target||\"\");const num=parseFloat(m[2].replace(/,/g,\"\"));const dec=(m[2].split(\".\")[1]||\"\").length;const cur=num*v;const txt=dec?cur.toFixed(dec):String(Math.round(cur));const withC=/,/.test(m[2])?txt.replace(/\\B(?=(\\d{3})+(?!\\d))/g,\",\"):txt;return m[1]+withC+m[3];}// one-shot rise for copy / rows\nconst rise=(on,d=0,y=22)=>({opacity:on?1:0,translate:on?\"0 0\":`0 ${y}px`,transition:`opacity .9s ease ${d}ms, translate 1s cubic-bezier(.2,.8,.2,1) ${d}ms`});// Image that UNMASKS through a shape as it enters, settles from a zoom, then drifts with scroll (needs --sp on an ancestor).\nconst SHAPES={up:[\"inset(100% 0 0 0)\",\"inset(0 0 0 0)\"],down:[\"inset(0 0 100% 0)\",\"inset(0 0 0 0)\"],left:[\"inset(0 100% 0 0)\",\"inset(0 0 0 0)\"],right:[\"inset(0 0 0 100%)\",\"inset(0 0 0 0)\"],diag:[\"polygon(0 100%,0 100%,0 100%,0 100%)\",\"polygon(0 -160%,260% 100%,0 100%,0 100%)\"],iris:[\"circle(0% at 50% 55%)\",\"circle(85% at 50% 55%)\"],slit:[\"inset(0 50% 0 50%)\",\"inset(0 0 0 0)\"]};const Um=({src,alt=\"\",on,shape=\"up\",ratio=\"4/5\",delay=0,par=1,focus=\"50% 40%\",radius=20,sizes=\"(max-width: 809px) 100vw, 50vw\",style,className,eager=false})=>{const sh=SHAPES[shape]||SHAPES.up;const im=RS(src,sizes);return /*#__PURE__*/_jsx(\"div\",{className:`aw-um${on?\" is-on\":\"\"}${className?\" \"+className:\"\"}`,style:{aspectRatio:ratio,borderRadius:radius,clipPath:on?sh[1]:sh[0],WebkitClipPath:on?sh[1]:sh[0],transitionDelay:`${delay}ms`,[\"--par\"]:par,...style||{}},children:/*#__PURE__*/_jsx(\"img\",{src:im.src,srcSet:im.srcSet,sizes:im.sizes,alt:alt,loading:eager?\"eager\":\"lazy\",decoding:\"async\",draggable:false,style:{objectPosition:focus,transitionDelay:`${delay}ms`}})});};const CSS_MOTION=`\n.mw[data-kb] *,.mw[data-kb] *::before,.mw[data-kb] *::after,.mw [data-kb],.mw [data-kb] *,.mw [data-kb] *::before,.mw [data-kb] *::after{transition:none!important}\n.aw-sec{position:relative;z-index:10;display:block;width:100%;--sp:.5;--pp:0}\n.aw-rev{position:relative;width:100%;--rv:1} .aw-rev-in{position:relative} .aw-rev-sp{height:0}\n.aw-rev.is-act{--rv:0;--t:min(var(--h),100vh);--t:min(var(--h),100svh);z-index:var(--layer,9);margin-top:calc(var(--t)*-1)}\n.aw-rev.is-act>.aw-rev-in{position:sticky;top:calc(100vh - var(--t));top:calc(100svh - var(--t))} .aw-rev.is-act>.aw-rev-sp{height:var(--t)}\n/* the lifting edge throws a shadow on the section beneath, and that section comes out of the dark as it is uncovered */\n.aw-rev.is-act>.aw-rev-in::before{content:\"\";position:absolute;z-index:40;left:0;right:0;top:0;height:120px;translate:0 calc((1 - var(--rv))*var(--t));background:linear-gradient(180deg,rgba(0,0,0,.2),rgba(0,0,0,0));opacity:min(1,calc(var(--rv)*(1 - var(--rv))*9));pointer-events:none}\n.aw-rev.is-act>.aw-rev-in::after{content:\"\";position:absolute;z-index:39;left:0;right:0;top:0;height:var(--t);background:#000;opacity:calc((1 - var(--rv))*.16);pointer-events:none}\n.aw-wrap{--pad:56px;width:100%;max-width:calc(${MAXW} + var(--pad)*2);margin:0 auto;padding-left:var(--pad);padding-right:var(--pad)}\n.aw-eb{display:inline-flex;align-items:center;gap:10px;width:max-content;max-width:100%;margin:0;padding:0;font-size:11.5px;font-weight:500;letter-spacing:.1em;text-transform:uppercase;line-height:1.5;color:var(--aw-acc);opacity:0;translate:0 10px;transition:opacity .8s ease,translate .9s cubic-bezier(.2,.8,.2,1)} .aw-eb.is-on{opacity:1;translate:0 0}\n/* the eyebrow mark = a 22 px rule in the text colour (= the hero's .awh-eb), whatever <i> a body puts first */\n.aw-eb>i,.aw-eb>i.aw-lit-dot{order:-1;flex:none;width:22px;height:1px;margin:0;border-radius:0;background:currentColor} .aw-eb>i::after,.aw-eb>i.aw-lit-dot::after{display:none}\n.mw .aw-eb{color:var(--aw-acc)} .mw.aw-dark .aw-eb,.mw .aw-dk .aw-eb{color:var(--aw-brass)} .mw.aw-dark .aw-lt .aw-eb,.mw .aw-dk .aw-lt .aw-eb{color:var(--aw-acc)}\n/* .aw-band (a coloured band from the old kit; Afterword has none): the eyebrow sits on a small ink tag */\n.aw-band .aw-eb{padding:6px 12px 6px 10px;border-radius:4px;background:var(--aw-ink);color:var(--aw-bone)} .aw-band .aw-eb .aw-lit-dot{background:var(--aw-brass)} .aw-band .aw-eb .aw-lit-dot::after{background:radial-gradient(circle,color-mix(in srgb,var(--aw-brass) 70%,transparent),transparent 70%)} .aw-band .aw-lt .aw-eb{padding:0;background:none;color:var(--aw-acc)}\n.aw-hd{margin:0;letter-spacing:-.035em;font-weight:401;font-stretch:normal;font-variation-settings:\"opsz\" 144;text-wrap:balance} .aw-hd-l{display:block}\n.aw-hd-w{display:inline-block;overflow:hidden;vertical-align:top;padding:.06em .04em .2em;margin:-.06em -.04em -.2em;white-space:pre} \n.aw-hd-i{position:relative;display:inline-block;translate:0 108%;transition:translate 1.05s cubic-bezier(.2,.85,.15,1)}\n.aw-hd.is-on .aw-hd-i{translate:0 0}\n/* page h1: rises by CSS from the server HTML (no wait for hydration); paused only while a loader / transition cover holds the page */\n@keyframes aw-hd-rise{from{translate:0 108%}to{translate:0 0}}\n.aw-hd.is-ssr .aw-hd-i{animation:aw-hd-rise .8s cubic-bezier(.2,.85,.15,1) var(--dl,0ms) both}\nhtml[class*=\"aw-hold\"] .aw-hd.is-ssr .aw-hd-i{animation-play-state:paused}\n/* the italic glyphs overhang their box (the \\xabf\\xbb reaches left and under the line, \\xabe\\xbb / \\xabf\\xbb lean right): the accent word's mask is wider and deeper, pulled back by the same negative margins so the line does not move */\n.aw-hd-w.is-accw{overflow:hidden;padding:.12em .26em .32em;margin:-.12em -.26em -.32em}\n/* the starred words: Fraunces ITALIC 300 — deep rust (--aw-acc) on paper and light panels, amber (--aw-brass) on ink. No plate. */\n.aw-it,.aw-it.is-jn,.aw-it.is-jp{position:relative;display:inline-block;padding:0;margin:0;border-radius:0;background:none;color:inherit;font-family:var(--aw-font-a,'Fraunces'),Georgia,'Times New Roman',serif;font-style:italic;font-weight:300;font-size:1em;letter-spacing:-.025em;color:var(--aw-acc)}\n.mw .aw-it{color:var(--aw-acc)} .mw.aw-dark .aw-it,.mw .aw-dk .aw-it{color:var(--aw-brass)} .mw.aw-dark .aw-lt .aw-it,.mw .aw-dk .aw-lt .aw-it{color:var(--aw-acc)}\n/* .aw-spark: an old mark, kept hidden so no body shows it */ .aw-spark{display:none}\n\n.aw-dusk{position:relative;display:block;overflow:hidden;background:var(--aw-bone2)} .mw.aw-dark .aw-dusk,.mw .aw-dk .aw-dusk{background:color-mix(in srgb,var(--aw-night) 84%,var(--aw-stone))} .aw-dusk>img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;user-select:none}\n.aw-um{position:relative;overflow:hidden;transition:clip-path 1.35s cubic-bezier(.7,0,.2,1);background:var(--aw-bone2)} .mw.aw-dark .aw-um,.mw .aw-dk .aw-um{background:color-mix(in srgb,var(--aw-night) 84%,var(--aw-stone))}\n.aw-um img{position:absolute;left:0;top:-9%;width:100%;height:118%;display:block;object-fit:cover;scale:1.04;translate:0 calc((var(--sp,.5) - .5)*var(--par,1)*-7%);transition:scale 1.9s cubic-bezier(.16,.84,.24,1);user-select:none}\n.aw-um.is-on img{scale:1}\n/* diagonal cuts: the section hangs over its neighbour and is cut on a slope (clip-path, so the neighbour shows through) */\n.aw-cut-t{margin-top:calc(var(--cut,7vw)*-1);clip-path:polygon(0 var(--cut,7vw),100% 0,100% 100%,0 100%);padding-top:var(--cut,7vw)}\n.aw-cut-b{margin-bottom:calc(var(--cut,7vw)*-1);padding-bottom:var(--cut,7vw)}\n.aw-cut-t.aw-cut-b{clip-path:polygon(0 var(--cut,7vw),100% 0,100% calc(100% - var(--cut,7vw)),0 100%)}\n.aw-cut-b:not(.aw-cut-t){clip-path:polygon(0 0,100% 0,100% calc(100% - var(--cut,7vw)),0 100%)}\n@media (max-width:1099px){.aw-wrap{--pad:40px}}\n@media (max-width:699px){.aw-wrap{--pad:20px}}\n@media (prefers-reduced-motion:reduce){.aw-hd-i{translate:0 0!important} .aw-hd.is-ssr .aw-hd-i{animation:none!important} .aw-um{clip-path:none!important} .aw-um img{scale:1!important;translate:0 0!important}}\n`;// ===== AFTERWORD inner-page kit (Stage 3; inlined by mk.py when a body uses PG_ or usePG). DARK CINEMATIC, like the approved home: THE PAGE TOP (an INK ground (--aw-night) with ONE soft\n// amber lamp glow from above and a fine grain ≤ .07, like the home hero; a mono breadcrumb; the mono eyebrow with an amber dot; the cloud h1 in Fraunces 400 rising line by line out of masks with\n// its *starred words* in Fraunces ITALIC 300 amber; a lead; the shared pill Btn; at the right a piece passed in as `aside` (AwPageHero draws it: photo / stack / letter); optional facts as mono\n// label / value cells on cloud hairlines), the PAPER SHEET (PG_Ticket / PG_Sheet: a #F3EEE4 sheet, radius 4, a deep soft shadow, lying on the ink — the form, the thank-you letter and the 404 slip\n// use it), form fields (ink on paper: hairline-boxed inputs 17 px, a rust focus ring; on ink without a sheet: cloud on a faint glass box, amber ring), pill chips (pressed = ink fill + paper text on\n// paper, amber on ink), an amber stamp, small helpers. Layout is CSS only (container `awpg` on the section root, class aw-cq): the server render is right at every width. The top's entrance is CSS\n// animation (plays without script, waits while the loader / page transition holds the page: html.aw-hold-*). Motion-kit cores carried here, re-tokened: KitText «lines» (PG_Head) · KitReveal rise\n// (awpg-a). CSS prefix awpg-. API names kept from the forked kit (PG_Ticket, PG_Lane, PG_Pin …) so every body compiles. =====\nconst PG_CTL={...COLOR_CONTROLS,...FONT_CONTROLS,...BP_CONTROL};// the hook every foundation body starts with\nfunction usePG(props,amount=.06){const c=colorsOf(props);const{D,B,M}=fontsOf(props);useFonts();const live=useLive();const rm=useReduced();const still=useStill();const root=useRef(null);const{w}=useSize(root,props.bpHint);const bp=w<700?\"p\":w<1100?\"t\":\"d\";const seen=useOn(root,live,rm,amount);const on=seen||still;const site=useSite();return{c,D,B,M,live,rm,still,root,on,site,w,bp,vars:{...cssVars(c),...B,...props.style||{}}};}// ground class from a «Ground» control: paper (default) | paper2 (deeper paper) | ink\nconst pgGround=g=>g===\"ink\"||g===\"dark\"||g===\"night\"?\" aw-dark\":g===\"paper2\"?\" aw-paper2\":\"\";const PG_GROUND={ground:{type:ControlType.Enum,title:\"Ground\",options:[\"paper\",\"paper2\"],optionTitles:[\"Paper\",\"Deeper paper\"],defaultValue:\"paper\"}};// every picture uploaded for this project (IDS.json media, filled by mk.py). A piece takes a picture control first, then a media KEY (mkplan.py sets it per route), then the fallback.\nconst PG_MEDIA={E1:\"https://framerusercontent.com/images/jUqXCoJuW6z3eToumuUdUjZMJp8.webp\",E2:\"https://framerusercontent.com/images/O9Ge8M23Q3IT7g3Ru3zvmz3tvuw.webp\",E3:\"https://framerusercontent.com/images/9tXbynijNfJChQCsRnRVeVqsaRw.webp\",E4:\"https://framerusercontent.com/images/wHAAljW9eE7mgUUvCq2rnDbpkQ.webp\",E5:\"https://framerusercontent.com/images/ku7vxU9E9aXiRCaH3LFfuHCywoU.webp\",AU1:\"https://framerusercontent.com/images/YhnkLZKVrwGExycby4BTp92YUg.webp\",E6:\"https://framerusercontent.com/images/G9MVQ20OccjByWEYtv8vgpisHQ.webp\",E7:\"https://framerusercontent.com/images/86qtPcfwb8EWcyU0dxfZlLai5k.webp\",E8:\"https://framerusercontent.com/images/L2EdDEQ35NtKt6FT8jMsmPhnFM.webp\",TP1:\"https://framerusercontent.com/images/cqhpO0IM4KWF17P9oDI0E7CBE.webp\",TP2:\"https://framerusercontent.com/images/djCTeGfWm3Nd9MQkrCfWrNZWI.webp\",TP3:\"https://framerusercontent.com/images/NiV9DF0kKFKIP2yq6Aiuw7pN14.webp\",TP4:\"https://framerusercontent.com/images/hyV1bpWWS3zejoh47TWy3Ck.webp\",TP5:\"https://framerusercontent.com/images/Jci3osro3XiW0LlE1IcjSfUb94.webp\",RV1:\"https://framerusercontent.com/images/v6BghGDMAAyrXrdFPHmBPJetI.webp\",RV2:\"https://framerusercontent.com/images/5V7Eg1O00oNW2kiWzZ1Mdbk6A0c.webp\",RV3:\"https://framerusercontent.com/images/ajB86vudXrh9cVBZ6mhNbq0aRMA.webp\",RV4:\"https://framerusercontent.com/images/DFMOkiuFBr9RaSnC37jbmTu0rV4.webp\",RV5:\"https://framerusercontent.com/images/b84Nra8b8FbLcjJ1j2esvhFk.webp\",RV6:\"https://framerusercontent.com/images/hy1gnUfqryN2IOrjKvSKpWEEU.webp\",FT1:\"https://framerusercontent.com/images/pVFSAAwre2cCTwD7aUTqmnDbIE.webp\",GL1:\"https://framerusercontent.com/images/BPBZDKb0AWwvMXJIurWciyIC8eQ.webp\",GL2:\"https://framerusercontent.com/images/zaAxE1S3ZK46mh1QBTSqC4E6U6o.webp\",GL3:\"https://framerusercontent.com/images/OAynk1VZIRhuBSCCpTNIOHWHyM.webp\",GL4:\"https://framerusercontent.com/images/goE4jd00dtn9VZmZWkAnTDupOw.webp\",GL5:\"https://framerusercontent.com/images/ANoLR9e52Rglv3QxYbbuYWbfvY.webp\",GL6:\"https://framerusercontent.com/images/ru4elHSywoMVTYREt0NdZ4SFsg.webp\",GL7:\"https://framerusercontent.com/images/0RcIF8afhnxXNOzZuime2gl9Bo.webp\",GL8:\"https://framerusercontent.com/images/Dz2v6vzE2LtAgO9wfEcqxOUmA.webp\"};const pgPic=(picture,key,fallback)=>srcOf(picture,PG_MEDIA[String(key||\"\").trim()]||fallback||PG_MEDIA.AX1||EMPTY_IMG);const pgPct=(v,fb)=>{const n=Number(v);return isFinite(n)?Math.max(0,Math.min(100,n)):fb;};const pg2=n=>(n<10?\"0\":\"\")+n;const pgFmt=n=>{const v=Number(n);return isFinite(v)?String(Math.max(0,Math.round(v))).replace(/\\B(?=(\\d{3})+(?!\\d))/g,\",\"):\"\";};// dollars in full («$12,400») and short («$1.5M», «$12K»)\nconst pgMoney=(n,cur=\"$\")=>{const v=Number(n);return isFinite(v)&&v>0?cur+pgFmt(v):\"\";};const pgShort=(n,cur=\"$\")=>{const v=Number(n);if(!isFinite(v)||v<=0)return\"\";return v>=1e6?cur+String(+(v/1e6).toFixed(2)).replace(/\\.0+$/,\"\")+\"M\":v>=1e3?cur+String(+(v/1e3).toFixed(1)).replace(/\\.0$/,\"\")+\"K\":cur+Math.round(v);};// \"4,200:Teams; 10 min:Set-up\" (value:label) or plain \"Free for 2 seats; No card\" → [{ v, l }]\nconst pgFacts=s=>listOf(s).map(x=>{const i=x.indexOf(\":\");return i<0?{v:x,l:\"\"}:{v:x.slice(0,i).trim(),l:x.slice(i+1).trim()};});// a small mark: an amber disc with an ink dot; `s` scales it\nconst PG_Mark=({s=1,cls=\"\"})=>/*#__PURE__*/_jsx(\"i\",{className:`awpg-mk${cls?\" \"+cls:\"\"}`,style:s!==1?{[\"--mk\"]:s}:undefined,\"aria-hidden\":true});// facts: a row of cells on hairlines, the mono label over its tabular value. `dot` is kept for the old signature (not drawn).\nconst PG_Facts=({facts,M,dot})=>{const f=pgFacts(facts);return f.length?/*#__PURE__*/_jsx(\"ul\",{className:\"awpg-facts\",style:{[\"--n\"]:f.length},children:f.map((x,i)=>/*#__PURE__*/_jsxs(\"li\",{style:{[\"--i\"]:i},children:[/*#__PURE__*/_jsx(\"span\",{style:M,children:x.l||\" \"}),/*#__PURE__*/_jsx(\"b\",{children:x.v})]},i))}):null;};// a small chip in the flow (a live dot + a mono line + a quieter note): PG_Pin keeps its old name and signature\nconst PG_Pin=({clock,event,M})=>clock||event?/*#__PURE__*/_jsx(\"p\",{className:\"awpg-pinrow\",children:/*#__PURE__*/_jsxs(\"span\",{className:\"awpg-pin is-flow\",children:[/*#__PURE__*/_jsx(\"i\",{className:\"awpg-dot\",\"aria-hidden\":true}),/*#__PURE__*/_jsxs(\"span\",{style:M,children:[/*#__PURE__*/_jsx(\"b\",{children:clock}),event?/*#__PURE__*/_jsx(\"em\",{children:event}):null]})]})}):null;// \"Label=/page; Label=/page\" or one per line → [{ l, h }]\nconst pgLinks=s=>String(s??\"\").split(/\\n|;/).map(x=>x.trim()).filter(Boolean).map(x=>{const i=x.indexOf(\"=\");return i<0?{l:x,h:\"\"}:{l:x.slice(0,i).trim(),h:x.slice(i+1).trim()};});// a breadcrumb line in mono with slashes: \"Home=/; Blog=/blog\" + the current page's name\nconst PG_Crumb=({trail,here,M})=>{const t=pgLinks(trail);if(!String(here||\"\").trim()&&t.length>1&&!t[t.length-1].h)here=t.pop().l;return t.length||here?/*#__PURE__*/_jsx(\"nav\",{className:\"awpg-crumb awpg-a\",\"aria-label\":[...t.map(x=>x.l),here].filter(Boolean).join(\" / \"),style:M,children:/*#__PURE__*/_jsxs(\"ol\",{children:[t.map((x,i)=>/*#__PURE__*/_jsx(\"li\",{children:x.h?/*#__PURE__*/_jsx(\"a\",{href:x.h,children:x.l}):/*#__PURE__*/_jsx(\"span\",{children:x.l})},i)),here?/*#__PURE__*/_jsx(\"li\",{\"aria-current\":\"page\",children:/*#__PURE__*/_jsx(\"span\",{children:here})}):null]})}):null;};// buttons = the shared pill Btn (amber face + ink arrow disc; ghost = outline). kind \"p\" = solid · \"g\" = ghost. Without href it is a <button>.\nconst PG_Btn=({href,label,kind=\"p\",small=false,type=\"button\",onClick,cls=\"\"})=>/*#__PURE__*/_jsx(Btn,{href:href||undefined,label:label,kind:small?\"quiet\":kind===\"g\"?\"ghost\":\"solid\",arrow:small&&kind!==\"g\"?true:undefined,className:cls||undefined,onClick:href||type!==\"submit\"?onClick:undefined});// the piece at the right leans a few pixels toward a fine pointer (ONE transform on one layer; nothing on touch or with reduced motion)\nconst pgLean=e=>{try{if(e.pointerType&&e.pointerType!==\"mouse\")return;const el=e.currentTarget;const p=el.querySelector(\".awpg-side>*\");if(!p)return;const r=el.getBoundingClientRect();const dx=(e.clientX-r.left)/r.width-.5,dy=(e.clientY-r.top)/r.height-.5;p.style.transform=`translate3d(${(dx*10).toFixed(1)}px,${(dy*8).toFixed(1)}px,0)`;}catch(x){}};const pgLeanOff=e=>{try{const p=e.currentTarget.querySelector(\".awpg-side>*\");if(p)p.style.transform=\"\";}catch(x){}};// KitText «lines»: \"|\" = a line; every line rises out of its own mask, one after another. *stars* = ITALIC SERIF words in the line's own colour. The plain text is the accessible name.\nconst PG_Head=({text,D,tag=\"h1\",delay=120,stagger=120,className=\"awpg-h1\"})=>{const Tag=tag;const lines=String(text||\"\").split(\"|\").map(s=>s.trim()).filter(Boolean);if(!lines.length)return null;return /*#__PURE__*/_jsx(Tag,{className:className,\"aria-label\":plainOf(text),style:HD(D),children:lines.map((aw,i)=>/*#__PURE__*/_jsx(\"span\",{className:\"awpg-hl\",\"aria-hidden\":true,children:/*#__PURE__*/_jsx(\"span\",{className:\"awpg-hi awpg-a\",style:{[\"--d\"]:`${delay+i*stagger}ms`},children:aw.split(/\\*([^*]+)\\*/g).map((x,j)=>j%2?/*#__PURE__*/_jsx(\"em\",{className:\"awpg-hm\",children:x},j):x)})},i))});};const pgLines=s=>Math.max(1,String(s||\"\").split(\"|\").filter(x=>x.trim()).length);// THE PAGE TOP. size \"tall\" | \"mid\" | \"short\". `meta` = a mono line under the lead (a post's kind · date · read). `children` = extra pieces under the lead. `aside` = the piece at the\n// right of the copy (under the copy below 1100 px). `facts` run along the bottom on hairlines. `bg` = a full-bleed photograph behind the copy under an ink veil (AwPageHero's row\n// mode: an essay cover); otherwise a photograph is a piece (AwPageHero's `photo`). `long` = a long title (a post): smaller type. It clears the fixed header itself and tells it the page starts\n// dark (data-aw-top).\nconst PG_Top=({k,size=\"mid\",bg,bgAlt=\"\",fx=50,fy=50,eyebrow,heading,lead,meta,b1,l1,b2,l2,facts,dot,crumb,here,aside,children,long=false,lean=true})=>{const has=s=>!!(s&&String(s).trim());const t=120+pgLines(heading)*120;const d=ms=>({[\"--d\"]:`${ms}ms`});const foot=has(b1)||has(b2);return /*#__PURE__*/_jsxs(\"div\",{className:`awpg-top aw-dk is-${size}${long?\" is-long\":\"\"}${k.still?\" is-still\":\"\"}${has(facts)?\" has-bar\":\"\"}${aside?\" has-aside\":\"\"}${bg?\" has-bg\":\"\"}`,\"data-aw-top\":\"dark\",onPointerMove:lean&&aside&&k.live&&!k.rm?pgLean:undefined,onPointerLeave:lean&&aside?pgLeanOff:undefined,children:[bg?/*#__PURE__*/_jsxs(\"span\",{className:\"awpg-bg\",\"aria-hidden\":bgAlt?undefined:true,children:[/*#__PURE__*/_jsx(\"img\",{src:bg.src||bg,srcSet:bg.srcSet,sizes:bg.sizes||\"100vw\",alt:bgAlt,width:1600,height:2e3,decoding:\"async\",...{fetchPriority:\"high\"},draggable:false,style:{objectPosition:`${fx}% ${fy}%`}}),/*#__PURE__*/_jsx(\"i\",{className:\"awpg-veil\"})]}):null,/*#__PURE__*/_jsx(\"i\",{className:\"awpg-glow\",\"aria-hidden\":true}),/*#__PURE__*/_jsx(\"i\",{className:\"awpg-grain\",\"aria-hidden\":true}),/*#__PURE__*/_jsxs(\"div\",{className:\"awpg-top-in\",children:[crumb||here?/*#__PURE__*/_jsx(PG_Crumb,{trail:crumb,here:here,M:k.M}):null,/*#__PURE__*/_jsxs(\"div\",{className:`awpg-light${aside?\" has-side\":\"\"}`,children:[/*#__PURE__*/_jsxs(\"div\",{className:\"awpg-copy\",children:[has(eyebrow)?/*#__PURE__*/_jsxs(\"p\",{className:\"awpg-eb awpg-a\",style:{...k.M,...d(60)},children:[/*#__PURE__*/_jsx(\"i\",{className:\"awpg-dot\",\"aria-hidden\":true}),String(eyebrow).trim()]}):null,/*#__PURE__*/_jsx(PG_Head,{text:heading,D:k.D}),has(lead)?/*#__PURE__*/_jsx(\"p\",{className:\"awpg-lead awpg-a\",style:d(t+80),children:lead}):null,has(meta)?/*#__PURE__*/_jsx(\"p\",{className:\"awpg-meta awpg-a\",style:{...k.M,...d(t+130)},children:meta}):null,children,foot?/*#__PURE__*/_jsxs(\"div\",{className:\"awpg-btns awpg-a\",style:d(t+190),children:[has(b1)?/*#__PURE__*/_jsx(Btn,{href:l1||k.site.book,label:b1}):null,has(b2)?/*#__PURE__*/_jsx(Btn,{href:l2||k.site.work,label:b2,kind:\"ghost\"}):null]}):null]}),aside?/*#__PURE__*/_jsx(\"div\",{className:\"awpg-side awpg-a\",style:d(t+120),children:aside}):null]}),has(facts)?/*#__PURE__*/_jsx(\"div\",{className:\"awpg-foot awpg-a\",style:d(t+260),children:/*#__PURE__*/_jsx(PG_Facts,{facts:facts,M:k.M,dot:dot})}):null]})]});};// THE PAPER SHEET (the form, the thank-you letter, the 404 slip): a #F3EEE4 sheet (radius 4, deep soft shadow) lying on the ink; `head` = the mono title on its top rule, `no` = the mono number at the right,\n// `a` = the body, `b` = a paper footer under a hairline (empty = none). Always whole: never clipped by a section edge. (PG_Ticket keeps its old name; PG_Sheet is the same piece.)\nconst PG_Ticket=({head,no,a,b,M,cls=\"\",as=\"div\",label,tkRef,...rest})=>{const Tag=as;const I=as===\"button\"?\"span\":\"div\";return /*#__PURE__*/_jsxs(Tag,{ref:tkRef,className:`awpg-tk aw-lt${cls?\" \"+cls:\"\"}`,\"aria-label\":label,...rest,children:[head||no?/*#__PURE__*/_jsxs(I,{className:\"awpg-tk-hd\",style:M,children:[/*#__PURE__*/_jsxs(I,{className:\"awpg-tk-dots\",\"aria-hidden\":true,children:[/*#__PURE__*/_jsx(\"i\",{}),/*#__PURE__*/_jsx(\"i\",{}),/*#__PURE__*/_jsx(\"i\",{})]}),/*#__PURE__*/_jsx(\"span\",{children:head}),no?/*#__PURE__*/_jsx(\"span\",{className:\"awpg-tk-no\",children:no}):null]}):null,/*#__PURE__*/_jsx(I,{className:\"awpg-tk-a\",children:a}),b?/*#__PURE__*/_jsx(I,{className:\"awpg-tk-b\",children:b}):null]});};const PG_Sheet=PG_Ticket;// two labelled figures joined by a rule with a mid label («Issue — — — Sunday»). PG_Lane keeps its old name and signature.\nconst PG_Lane=({from,to,fromLabel=\"From\",toLabel=\"To\",mid=\"\",D,M})=>/*#__PURE__*/_jsxs(\"span\",{className:\"awpg-lane\",children:[/*#__PURE__*/_jsxs(\"span\",{className:\"awpg-pl\",children:[/*#__PURE__*/_jsx(\"span\",{style:M,children:fromLabel}),/*#__PURE__*/_jsx(\"b\",{style:HD(D),children:String(from||\"\").trim()||\"–\"})]}),/*#__PURE__*/_jsxs(\"span\",{className:\"awpg-thr\",\"aria-hidden\":true,children:[/*#__PURE__*/_jsx(\"i\",{}),mid?/*#__PURE__*/_jsx(\"em\",{style:M,children:mid}):null]}),/*#__PURE__*/_jsxs(\"span\",{className:\"awpg-pl is-to\",children:[/*#__PURE__*/_jsx(\"span\",{style:M,children:toLabel}),/*#__PURE__*/_jsx(\"b\",{style:{...HD(D),fontVariantNumeric:\"tabular-nums\"},children:String(to||\"\").trim()||\"–\"})]})]});// mono label / value lines on hairlines (a letter's detail rows). rows = [{ l, v }]\nconst PG_Rows=({rows,M,cls=\"\"})=>rows&&rows.length?/*#__PURE__*/_jsx(\"span\",{className:`awpg-rows${cls?\" \"+cls:\"\"}`,children:rows.map((r,i)=>/*#__PURE__*/_jsxs(\"span\",{className:\"awpg-row\",children:[/*#__PURE__*/_jsx(\"span\",{style:M,children:r.l}),/*#__PURE__*/_jsx(\"b\",{children:r.v})]},i))}):null;// a STAGE STAMP: a tilted radius-4 mono label (two lines). `tone` \"ink\" | \"void\" (outline, rust on paper / amber on ink) | \"amber\" (amber fill)\nconst PG_Stamp=({text,sub=\"\",M,tone=\"ink\",cls=\"\"})=>String(text||\"\").trim()?/*#__PURE__*/_jsx(\"span\",{className:`awpg-stamp is-${tone===\"ink\"||tone===\"void\"?tone:\"amber\"}${cls?\" \"+cls:\"\"}`,style:M,\"aria-hidden\":true,children:/*#__PURE__*/_jsxs(\"span\",{children:[/*#__PURE__*/_jsx(\"b\",{children:text}),sub?/*#__PURE__*/_jsx(\"em\",{children:sub}):null]})}):null;// an italic serif line over a rule, with its mono label\nconst PG_Sig=({text,label=\"\",M,on=true})=>String(text||\"\").trim()?/*#__PURE__*/_jsxs(\"span\",{className:`awpg-sig${on?\" is-on\":\"\"}`,children:[/*#__PURE__*/_jsx(\"em\",{children:text}),label?/*#__PURE__*/_jsx(\"span\",{style:M,children:label}):null]}):null;// form fields (labels are visible, 16 px+ inputs so phones never zoom; the input sits INSIDE its label, so no id is needed). `n` = the step number shown before the label.\nconst PG_Field=({label,name,type=\"text\",value,onChange,required=false,placeholder=\"\",area=false,auto,n,M,mode,rows=4})=>/*#__PURE__*/_jsxs(\"label\",{className:\"awpg-f\",children:[/*#__PURE__*/_jsxs(\"span\",{style:M,children:[n?/*#__PURE__*/_jsx(\"b\",{\"aria-hidden\":true,children:pg2(n)}):null,label,required?\" *\":\"\"]}),area?/*#__PURE__*/_jsx(\"textarea\",{name:name,rows:rows,value:value,onChange:e=>onChange(e.target.value),placeholder:placeholder,required:required}):/*#__PURE__*/_jsx(\"input\",{name:name,type:type,inputMode:mode,value:value,onChange:e=>onChange(e.target.value),placeholder:placeholder,required:required,autoComplete:auto,autoCapitalize:type===\"email\"||mode===\"url\"?\"none\":undefined,spellCheck:type===\"email\"||mode===\"url\"?false:undefined})]});// chips = radius-10 keys (44 px); pills; the pressed one = ink fill + paper label on a sheet, amber fill + ink label on ink. `multi` = several can be pressed (value is then an array)\nconst PG_Chips=({label,options,value,onChange,n,M,name,multi=false})=>options.length?/*#__PURE__*/_jsxs(\"fieldset\",{className:\"awpg-chips\",children:[/*#__PURE__*/_jsxs(\"legend\",{style:M,children:[n?/*#__PURE__*/_jsx(\"b\",{\"aria-hidden\":true,children:pg2(n)}):null,label]}),/*#__PURE__*/_jsx(\"div\",{children:options.map(o=>{const on=multi?Array.isArray(value)&&value.indexOf(o)>=0:value===o;return /*#__PURE__*/_jsxs(\"button\",{type:\"button\",\"aria-pressed\":on,className:\"aw-chip awpg-pick\",style:M,onClick:()=>multi?onChange(on?value.filter(x=>x!==o):[...Array.isArray(value)?value:[],o]):onChange(on?\"\":o),children:[on?/*#__PURE__*/_jsx(IcoCheck,{s:11}):null,o]},o);})}),name?/*#__PURE__*/_jsx(\"input\",{type:\"hidden\",name:name,value:multi?(value||[]).join(\", \"):value||\"\"}):null]}):null;// what a form keeps for the thank-you page: sessionStorage \"aw-sent\" = { mode, name, team, time, topic, t }. \"aw-pitch\" is the old pre-fill key (kept for old callers; Afterword pre-fills from the url: ?email=).\nconst PG_PITCH=\"aw-pitch\",PG_SENT=\"aw-sent\",PG_WAIT=\"aw-pitch\",PG_QUOTE=\"aw-pitch\";const pgRead=key=>{try{const o=JSON.parse(window.sessionStorage.getItem(key)||\"{}\");return o&&typeof o===\"object\"&&!Array.isArray(o)?o:{};}catch(e){return{};}};const pgClean=s=>String(s||\"\").trim().replace(/\\s+/g,\" \").slice(0,120);// a url parameter (?email= / ?time= / ?name=), cleaned; \"\" on the server\nconst pgQuery=k=>{try{return pgClean(new URLSearchParams(window.location.search).get(k)||\"\");}catch(e){return\"\";}};const CSS_PG=`\n.aw-cq{container-type:inline-size;container-name:awpg}\n.awpg,.pg{position:relative;z-index:2}\n/* a small mark: an amber disc with an ink dot */\n.awpg-mk{--mk:1;flex:none;display:inline-grid;place-items:center;width:calc(20px*var(--mk));height:calc(20px*var(--mk));border-radius:50%;background:var(--aw-brass)} .awpg-mk::after{content:\"\";width:calc(6px*var(--mk));height:calc(6px*var(--mk));border-radius:50%;background:var(--aw-ink)}\n.awpg-dot{flex:none;display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--aw-brass);box-shadow:0 0 10px var(--aw-brass)}\n/* ---- THE PAGE TOP: ink, one soft amber lamp glow from above, a fine grain ---- */\n.awpg-top{--navh:80px;--pad:max(40px,calc((100cqw - 1680px)/2 + 40px));--aw:color-mix(in srgb,var(--aw-cloud) 16%,transparent);--af:var(--aw-font-a,'Fraunces'),Georgia,'Times New Roman',serif;--e:cubic-bezier(.2,.8,.2,1);--w:cubic-bezier(.76,0,.24,1);--awpg-h:clamp(54px,5.6cqw,96px);position:relative;display:flex;flex-direction:column;min-height:clamp(600px,72svh,760px);overflow:hidden;isolation:isolate;background:var(--aw-night);color:var(--aw-cloud)}\n.mw .awpg-top.aw-dk{background:var(--aw-night);color:var(--aw-cloud)}\n.awpg-top.is-tall{--awpg-h:clamp(60px,6.4cqw,112px);min-height:max(680px,min(100svh,960px))} .awpg-top.is-short{--awpg-h:clamp(48px,4.8cqw,80px);min-height:clamp(440px,52svh,560px)} .awpg-top.is-long{--awpg-h:clamp(40px,3.9cqw,64px)}\n.awpg-glow{position:absolute;z-index:-1;right:-6%;top:-38%;width:min(1200px,92cqw);aspect-ratio:1.1;border-radius:50%;background:radial-gradient(closest-side,color-mix(in srgb,var(--aw-brass) 24%,transparent),color-mix(in srgb,var(--aw-brass) 7%,transparent) 55%,transparent 78%);opacity:.8;pointer-events:none}\n.awpg-grain{position:absolute;z-index:1;inset:0;pointer-events:none;opacity:.07;mix-blend-mode:overlay;background-image:url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>\")}\n/* a full-bleed photograph behind the copy (row mode): the cover under an ink veil, darker at the left and the bottom where the words sit (AA measured on the darkest copy zone) */\n.awpg-bg{position:absolute;z-index:-2;inset:0;overflow:hidden;background:var(--aw-night)} .awpg-bg img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;animation:awpg-bg 1.6s var(--e) both} @keyframes awpg-bg{from{opacity:0;scale:1.04}to{opacity:1;scale:1}}\n.awpg-bg .awpg-veil{position:absolute;inset:0;background:linear-gradient(90deg,color-mix(in srgb,var(--aw-night,#16130F) 90%,transparent) 0%,color-mix(in srgb,var(--aw-night,#16130F) 78%,transparent) 45%,color-mix(in srgb,var(--aw-night,#16130F) 42%,transparent) 100%),linear-gradient(0deg,color-mix(in srgb,var(--aw-night,#16130F) 92%,transparent) 0%,color-mix(in srgb,var(--aw-night,#16130F) 0%,transparent) 55%),linear-gradient(180deg,color-mix(in srgb,var(--aw-night,#16130F) 88%,transparent) 0%,color-mix(in srgb,var(--aw-night,#16130F) 60%,transparent) 16%,color-mix(in srgb,var(--aw-night,#16130F) 0%,transparent) 34%)}\nhtml[class*=\"aw-hold\"] .awpg-bg img{animation-play-state:paused} .awpg-top.is-still .awpg-bg img{animation:none}\n/* every piece of the top comes in once, by CSS animation; --d = its delay. Held while the loader / page transition covers the page. */\n.awpg-a{animation:awpg-up 1s var(--e) both;animation-delay:var(--d,0ms)} @keyframes awpg-up{from{opacity:0;translate:0 22px}to{opacity:1;translate:0 0}}\nhtml[class*=\"aw-hold\"] .awpg-top .awpg-a{animation-play-state:paused}\n.awpg-top.is-still .awpg-a{animation:none!important}\n.awpg-top-in{position:relative;z-index:3;flex:1;display:flex;flex-direction:column;gap:clamp(26px,3cqw,44px);padding:calc(var(--navh) + 14px) var(--pad) clamp(30px,3.2cqw,52px)}\n/* the breadcrumb: mono, slashes between */\n.awpg-crumb{display:block;align-self:flex-start;max-width:100%} .awpg-crumb ol{display:flex;flex-wrap:wrap;align-items:center;margin:0;padding:0;list-style:none;font-size:11px;line-height:1.4;letter-spacing:.1em;text-transform:uppercase}\n.awpg-crumb li{display:inline-flex;align-items:center} .awpg-crumb li+li::before{content:\"/\";margin:0 10px;color:color-mix(in srgb,var(--aw-cloud) 50%,transparent)} .awpg-crumb a,.awpg-crumb span{display:inline-flex;align-items:center;min-height:44px;color:color-mix(in srgb,var(--aw-cloud) 80%,transparent);text-decoration:none} .awpg-crumb li[aria-current] span{color:var(--aw-cloud)}\n.mw .awpg-crumb a{min-width:44px;justify-content:center;color:color-mix(in srgb,var(--aw-cloud) 80%,transparent);background:linear-gradient(var(--aw-brass),var(--aw-brass)) 0 calc(100% - 8px)/0 1.5px no-repeat;transition:background-size .4s var(--e),color .3s} .mw .awpg-crumb a:hover,.mw .awpg-crumb a:focus-visible{background-size:100% 1.5px;color:var(--aw-cloud)}\n/* the copy at the left, the product piece at the right; vertically centred in the open room */\n.awpg-light{position:relative;flex:1;display:grid;grid-template-columns:minmax(0,1fr);align-items:center;gap:clamp(28px,4.4cqw,80px)} .awpg-light.has-side{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}\n.awpg-copy{display:flex;flex-direction:column;align-items:flex-start;gap:clamp(14px,1.5cqw,22px);min-width:0;max-width:min(100%,1080px)}\n.awpg-eb{display:inline-flex;align-items:center;gap:10px;margin:0 0 2px;font-size:11.5px;line-height:1.35;letter-spacing:.08em;text-transform:uppercase;color:var(--aw-brass)}\n.mw .awpg-h1{margin:0;max-width:100%;font-size:var(--awpg-h);font-weight:401;font-stretch:normal;font-variation-settings:'opsz' 144;line-height:.98;letter-spacing:-.04em!important;color:var(--aw-cloud)}\n.awpg-hl{display:block;overflow:hidden;padding:.08em .12em .2em;margin:-.08em -.12em -.2em}\n.awpg-hi{display:block;text-wrap:balance;animation-name:awpg-line;animation-duration:1.1s;animation-timing-function:var(--w)} @keyframes awpg-line{from{translate:0 116%}to{translate:0 0}}\n/* the starred words: Fraunces italic 300, amber on ink (rust on a paper sheet) */\n.awpg-hm{font-family:var(--aw-font-a,'Fraunces'),Georgia,'Times New Roman',serif;font-style:italic;font-weight:300;letter-spacing:-.03em;color:var(--aw-brass)} .aw-lt .awpg-hm{color:var(--aw-acc)}\n.awpg-lead{margin:0;max-width:33em;font-size:18px;line-height:1.5;color:color-mix(in srgb,var(--aw-cloud) 80%,transparent);text-wrap:pretty}\n.awpg-meta{margin:0;font-size:11.5px;line-height:1.4;letter-spacing:.1em;text-transform:uppercase;color:var(--aw-cloud)}\n.awpg-side{display:grid;justify-items:end;min-width:0} .awpg-side>*{transition:transform .9s var(--e)}\n.awpg-btns{display:flex;flex-wrap:wrap;gap:10px;margin-top:clamp(6px,.8cqw,12px)}\n/* THE FACTS: mono labels over tabular values, cells on hairlines */\n.awpg-foot{position:relative}\n.awpg-facts{display:grid;grid-template-columns:repeat(var(--n,3),minmax(0,1fr));margin:0;padding:0;list-style:none;color:var(--aw-cloud);border-top:1px solid var(--aw)}\n.awpg-facts li{display:flex;flex-direction:column;justify-content:flex-start;gap:7px;min-width:0;padding:16px 22px 0 0} .awpg-facts li+li{padding-left:22px;border-left:1px solid var(--aw)}\n.awpg-facts span{display:block;font-size:11px;line-height:1.3;letter-spacing:.1em;text-transform:uppercase;color:color-mix(in srgb,var(--aw-cloud) 72%,transparent)} .awpg-facts b{display:block;font-family:var(--aw-font-d,'Fraunces'),Georgia,serif;font-size:clamp(22px,2cqw,30px);font-weight:401;letter-spacing:-.03em;line-height:1.15;font-variant-numeric:tabular-nums;text-wrap:balance}\n/* ---- THE PAPER SHEET: paper lying on the ink ---- */\n.awpg-tk{position:relative;display:flex;flex-direction:column;width:100%;margin:0;padding:0;border:0;border-radius:4px;background:var(--aw-bone);color:var(--aw-ink);text-align:left;font:inherit;box-shadow:0 1px 0 color-mix(in srgb,#fff 40%,transparent) inset,0 2px 6px rgba(0,0,0,.35),0 50px 90px -40px rgba(0,0,0,.9)}\n.awpg-tk::before{content:\"\";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(170deg,color-mix(in srgb,#fff 22%,transparent),transparent 40%)}\n.awpg-tk-a,.awpg-tk-b{position:relative;display:block;color:var(--aw-ink)}\n.awpg-tk-a{padding:clamp(26px,2.6cqw,40px) clamp(24px,2.8cqw,44px) clamp(28px,2.8cqw,40px)}\n.awpg-tk-b{padding:20px clamp(24px,2.8cqw,44px) 24px;border-top:1px dashed color-mix(in srgb,var(--aw-ink) 24%,transparent)}\n.awpg-tk-hd{display:flex;align-items:center;gap:14px;min-height:46px;margin:0 clamp(24px,2.8cqw,44px);padding:16px 0 0;border-bottom:1px solid var(--aw-hair2);font-size:11px;line-height:1.3;letter-spacing:.1em;text-transform:uppercase;color:var(--aw-mut)} .awpg-tk-hd>span:first-of-type{min-width:0;color:var(--aw-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}\n.awpg-tk-dots{display:none}\n.awpg-tk-no{margin-left:auto;min-width:0;color:var(--aw-mut);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}\n/* two labelled figures joined by a rule */\n.awpg-lane{display:grid;grid-template-columns:auto minmax(28px,1fr) auto;align-items:end;gap:0 14px}\n.awpg-pl{display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-width:0;margin:0} .awpg-pl.is-to{align-items:flex-end;text-align:right}\n.awpg-pl span{font-size:11px;line-height:1.3;letter-spacing:.1em;text-transform:uppercase;color:var(--aw-mut)} .awpg-pl b{font-family:var(--aw-font-d,'Fraunces'),Georgia,serif;font-size:clamp(24px,2.4cqw,34px);font-weight:401;line-height:1;letter-spacing:-.03em;color:var(--aw-ink);white-space:nowrap}\n.awpg-thr{position:relative;display:block;height:1em;margin-bottom:6px} .awpg-thr i{position:absolute;left:0;right:0;bottom:0;border-top:1.5px solid var(--aw-hair2)} .awpg-thr em{position:absolute;left:50%;bottom:8px;translate:-50% 0;font-style:normal;font-size:10.5px;line-height:1;letter-spacing:.1em;text-transform:uppercase;white-space:nowrap;color:var(--aw-mut)}\n/* mono label / value lines on hairlines */\n.awpg-rows{display:grid;gap:0} .awpg-row{display:flex;align-items:baseline;justify-content:space-between;gap:16px;min-height:44px;padding:11px 0;border-bottom:1px solid var(--aw-hair)} .awpg-row>span{flex:none;font-size:11px;line-height:1.4;letter-spacing:.1em;text-transform:uppercase;color:var(--aw-mut)} .awpg-row b{min-width:0;font-size:16px;font-weight:600;line-height:1.35;text-align:right;color:var(--aw-ink);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}\n/* the stage stamp */\n.awpg-stamp{display:inline-grid;place-items:center;flex:none;padding:10px 16px;border-radius:4px;background:var(--aw-ink);color:var(--aw-cloud);rotate:-8deg;box-shadow:inset 0 0 0 1.5px var(--aw-brass)} .awpg-stamp>span{display:grid;justify-items:center;gap:3px;text-align:center} .awpg-stamp b{font-weight:600;font-size:15px;line-height:1.1;letter-spacing:.16em;text-transform:uppercase} .awpg-stamp em{font-style:normal;font-size:9.5px;line-height:1.2;letter-spacing:.12em;text-transform:uppercase;opacity:.82}\n.awpg-stamp.is-void{background:transparent;color:var(--aw-acc);box-shadow:inset 0 0 0 2.5px var(--aw-acc)} .awpg-stamp.is-amber{background:var(--aw-brass);color:var(--aw-ink)}\n/* an italic serif line over a rule (one clip wipe when it arrives) */\n.awpg-sig{display:inline-flex;flex-direction:column;gap:6px;min-width:0} .awpg-sig em{display:block;padding:0 14px 4px 2px;border-bottom:1.5px solid var(--aw-ink);font-family:var(--aw-font-a,'Fraunces'),Georgia,serif;font-style:italic;font-weight:401;font-size:clamp(26px,2.4cqw,34px);line-height:1.1;color:var(--aw-ink);white-space:nowrap;clip-path:inset(0 100% 0 0);transition:clip-path 1.1s cubic-bezier(.6,0,.2,1) .5s} .awpg-sig.is-on em{clip-path:inset(0 0 0 0)} .awpg-sig>span{font-size:10.5px;line-height:1.3;letter-spacing:.1em;text-transform:uppercase;color:var(--aw-mut)}\n/* ---- pieces for the sections of the foundation pages ---- */\n.awpg-lbl,.pg-lbl{margin:0;font-size:11px;font-weight:500;letter-spacing:.1em;text-transform:uppercase;color:var(--aw-mut)}\n.awpg-form.aw-plate{display:grid;gap:22px;margin:0;padding:clamp(20px,2.4cqw,36px);border-radius:4px}\n/* fields: on a paper sheet = ink on paper, hairline-boxed (radius 4), 17 px, a rust ring on focus; on ink without a sheet = cloud on a faint glass box, an amber ring */\n.awpg-f{display:block;min-width:0} .awpg-f>span,.awpg-chips legend{display:flex;align-items:center;gap:10px;margin:0 0 8px;padding:0;font-size:11px;line-height:1.4;letter-spacing:.1em;text-transform:uppercase;color:var(--aw-mut)} .awpg-f>span b,.awpg-chips legend b{font-weight:inherit;color:var(--aw-acc);font-variant-numeric:tabular-nums} .awpg-chips legend{margin-bottom:10px}\n.mw .awpg-f input,.mw .awpg-f textarea{box-sizing:border-box;display:block;width:100%;min-height:52px;margin:0;padding:12px 14px;border:0;border-radius:4px;background:color-mix(in srgb,#fff 55%,var(--aw-bone));color:var(--aw-ink);caret-color:var(--aw-pine);font:inherit;font-size:17px;font-weight:500;line-height:1.4;box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--aw-ink) 20%,transparent);resize:vertical;-webkit-appearance:none;appearance:none;outline:0;transition:box-shadow .25s,background .25s}\n.mw .awpg-f textarea{min-height:120px;font-weight:401;line-height:1.5}\n.mw .awpg-f input::placeholder,.mw .awpg-f textarea::placeholder{color:var(--aw-mut);font-weight:401;opacity:1} .mw .awpg-f input:hover,.mw .awpg-f textarea:hover{box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--aw-ink) 46%,transparent)}\n.mw .awpg-f input:focus,.mw .awpg-f textarea:focus{box-shadow:inset 0 0 0 2px var(--aw-pine),0 0 0 4px color-mix(in srgb,var(--aw-pine) 18%,transparent)}\n.mw .awpg-f input:-webkit-autofill{-webkit-text-fill-color:var(--aw-ink);transition:background-color 99999s}\n.mw.aw-dark .awpg-f input,.mw.aw-dark .awpg-f textarea{background:color-mix(in srgb,var(--aw-cloud) 6%,transparent);color:var(--aw-cloud);caret-color:var(--aw-brass);box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--aw-cloud) 30%,transparent)} .mw.aw-dark .awpg-f input:hover,.mw.aw-dark .awpg-f textarea:hover{box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--aw-cloud) 60%,transparent)} .mw.aw-dark .awpg-f input:focus,.mw.aw-dark .awpg-f textarea:focus{box-shadow:inset 0 0 0 2px var(--aw-brass),0 0 0 4px color-mix(in srgb,var(--aw-brass) 22%,transparent)} .mw.aw-dark .awpg-f input:-webkit-autofill{-webkit-text-fill-color:var(--aw-cloud)}\n.mw.aw-dark .aw-lt .awpg-f input,.mw.aw-dark .aw-lt .awpg-f textarea{background:color-mix(in srgb,#fff 55%,var(--aw-bone));color:var(--aw-ink);caret-color:var(--aw-pine);box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--aw-ink) 20%,transparent)} .mw.aw-dark .aw-lt .awpg-f input:hover,.mw.aw-dark .aw-lt .awpg-f textarea:hover{box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--aw-ink) 46%,transparent)} .mw.aw-dark .aw-lt .awpg-f input:focus,.mw.aw-dark .aw-lt .awpg-f textarea:focus{box-shadow:inset 0 0 0 2px var(--aw-pine),0 0 0 4px color-mix(in srgb,var(--aw-pine) 18%,transparent)} .mw.aw-dark .aw-lt .awpg-f input:-webkit-autofill{-webkit-text-fill-color:var(--aw-ink)}\n.awpg-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 22px}\n.awpg-chips{margin:0;padding:0;border:0;min-width:0} .awpg-chips>div{display:flex;flex-wrap:wrap;gap:8px}\n.mw .awpg-chips .awpg-pick.aw-chip{height:auto;min-height:44px;padding:6px 18px;border-radius:999px;font-size:12px;line-height:1.25;white-space:normal;text-align:left;color:var(--aw-cloud);background:transparent;box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--aw-cloud) 40%,transparent)} .mw .awpg-chips .awpg-pick.aw-chip:hover{background:transparent;color:var(--aw-cloud);box-shadow:inset 0 0 0 1.5px var(--aw-brass)} .mw .awpg-chips .awpg-pick.aw-chip[aria-pressed=\"true\"]{background:var(--aw-brass);color:var(--aw-ink);box-shadow:none}\n.mw .aw-lt .awpg-chips .awpg-pick.aw-chip{color:var(--aw-ink);background:transparent;box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--aw-ink) 28%,transparent)} .mw .aw-lt .awpg-chips .awpg-pick.aw-chip:hover{color:var(--aw-ink);background:color-mix(in srgb,var(--aw-ink) 6%,transparent);box-shadow:inset 0 0 0 1.5px var(--aw-ink)} .mw .aw-lt .awpg-chips .awpg-pick.aw-chip[aria-pressed=\"true\"]{background:var(--aw-ink);color:var(--aw-bone);box-shadow:none}\n.awpg-form-foot{display:flex;flex-wrap:wrap;align-items:center;gap:14px 22px;padding-top:22px;border-top:1px solid var(--aw-hair)} .awpg-form-foot p{flex:1 1 220px;margin:0;font-size:14px;line-height:1.45;color:var(--aw-mut)}\n@container awpg (max-width:1099px){ .awpg-top{--pad:40px;--awpg-h:clamp(52px,8.2cqw,88px)} .awpg-top.is-tall{--awpg-h:clamp(54px,9cqw,96px)} .awpg-top.is-short{--awpg-h:clamp(46px,7.2cqw,76px)} .awpg-top.is-long{--awpg-h:clamp(38px,5.4cqw,56px)} .awpg-light.has-side{grid-template-columns:minmax(0,1fr)} .awpg-side{justify-items:start} .awpg-top{min-height:0} .awpg-top.is-tall{min-height:0} .awpg-top.is-short{min-height:0} }\n@container awpg (max-width:699px){ .awpg-top{--navh:68px;--pad:20px;--awpg-h:clamp(38px,11.4cqw,62px)} .awpg-top.is-tall{--awpg-h:clamp(40px,12.4cqw,68px)} .awpg-top.is-short{--awpg-h:clamp(36px,10.6cqw,56px)} .awpg-top.is-long{--awpg-h:clamp(29px,8.2cqw,42px)} .awpg-top-in{padding-top:calc(var(--navh) + 8px)}\n  .awpg-top .awpg-bg img{filter:brightness(.8)}\n  .awpg-lead{font-size:16.5px;color:var(--aw-cloud)} .awpg-eb{font-size:10.5px;letter-spacing:.06em} .awpg-crumb ol{font-size:10.5px;letter-spacing:.08em} .mw .awpg-crumb a,.awpg-crumb span{min-height:44px} .awpg-crumb a{min-width:44px;justify-content:center}\n  .awpg-btns{flex-direction:column;gap:8px;width:100%} .mw .awpg-btns .aw-btn{width:100%}\n  .awpg-facts{grid-template-columns:repeat(2,minmax(0,1fr))} .awpg-facts li{padding:12px 12px 10px 0} .awpg-facts li+li{padding-left:0;border-left:0} .awpg-facts li:nth-child(even){padding-left:14px;border-left:1px solid var(--aw)} .awpg-facts li:nth-child(n+3){border-top:1px solid var(--aw)} .awpg-facts li:last-child:nth-child(odd){grid-column:1 / -1} .awpg-facts b{font-size:19px}\n  .awpg-tk-a{padding:22px 20px 24px} .awpg-tk-b{padding:18px 20px 20px} .awpg-tk-hd{padding:0 14px} .awpg-pl b{font-size:clamp(22px,7.4cqw,30px)}\n  .awpg-two{grid-template-columns:minmax(0,1fr)} .awpg-form.aw-plate{gap:18px;padding:18px} .mw .awpg-form-foot .aw-btn{width:100%} }\n@container awpg (max-width:349px){ .awpg-top{--pad:16px} .awpg-tk-a{padding:20px 16px 22px} .awpg-tk-b{padding:16px 16px 18px} .awpg-lane{gap:0 8px} }\n@media (prefers-reduced-motion:reduce){ .awpg-a,.awpg-bg img{animation:none!important} .awpg-side>*{transition:none!important;transform:none!important} .awpg-sig em{clip-path:none!important;transition:none!important} .awpg-crumb a,.awpg-pick,.awpg-f input,.awpg-f textarea{transition:none!important} }\n`;const SEED={site:[{\"slug\":\"site\",\"f1\":\"Afterword\",\"f2\":\"Editorial Journal\",\"f3\":\"Essays, notes and a Sunday letter on books, cities and the quiet work of paying attention.\",\"f4\":\"hello@afterword.blog\",\"f5\":\"/subscribe\",\"f6\":\"/journal\",\"f7\":\"A journal by Mara Lin \\xb7 Issue 48\",\"f8\":\"12,400 readers \\xb7 every Sunday \\xb7 free\",\"f9\":\"/journal\",\"img\":\"https://framerusercontent.com/images/YhnkLZKVrwGExycby4BTp92YUg.webp\",\"f10\":\"Mara Lin, smiling, in a black turtleneck by a window\"}],topics:[{\"slug\":\"essays\",\"f1\":\"Essays\",\"f2\":\"Long pieces on attention, memory and the ordinary day.\",\"img\":\"https://framerusercontent.com/images/cqhpO0IM4KWF17P9oDI0E7CBE.webp\",\"n1\":\"1\"},{\"slug\":\"travel\",\"f1\":\"Travel\",\"f2\":\"Cities walked slowly, mostly in bad weather.\",\"img\":\"https://framerusercontent.com/images/djCTeGfWm3Nd9MQkrCfWrNZWI.webp\",\"n1\":\"2\"},{\"slug\":\"notes\",\"f1\":\"Notes\",\"f2\":\"Short things written down before they got away.\",\"img\":\"https://framerusercontent.com/images/NiV9DF0kKFKIP2yq6Aiuw7pN14.webp\",\"n1\":\"3\"},{\"slug\":\"craft\",\"f1\":\"Craft\",\"f2\":\"How the writing gets done, and why it sometimes does not.\",\"img\":\"https://framerusercontent.com/images/hyV1bpWWS3zejoh47TWy3Ck.webp\",\"n1\":\"4\"},{\"slug\":\"letters\",\"f1\":\"Letters\",\"f2\":\"Letters to people, places and the person I was.\",\"img\":\"https://framerusercontent.com/images/Jci3osro3XiW0LlE1IcjSfUb94.webp\",\"n1\":\"5\"}]};const SW_BUILD=\"AwForm@cms1\";// An override control wins only when it holds real text; empty (or a single space) inherits from the CMS.\nconst pick=(o,fb)=>o!==undefined&&o!==null&&String(o).trim()?String(o).trim():fb;const imgOf=(r,k=\"img\")=>String(r&&r[k]||\"\").split(\"?\")[0];// A cleared CMS image draws this quiet placeholder — never a stock photo, and list positions stay aligned with their rows.\nconst EMPTY_IMG=\"data:image/svg+xml;utf8,\"+encodeURIComponent(\"<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 500' preserveAspectRatio='xMidYMid slice'><rect width='400' height='500' fill='#E7E3D8'/><rect x='120' y='170' width='160' height='160' rx='4' fill='none' stroke='#9A9C92' stroke-width='1.5'/><rect x='100' y='150' width='200' height='200' rx='6' fill='none' stroke='#C6C2B4' stroke-width='1' stroke-dasharray='2 6'/></svg>\");const imgOr=(r,k=\"img\")=>imgOf(r,k)||EMPTY_IMG;const cmsNum=(r,k,fb=0)=>{const v=parseFloat(String((r&&r[k])??\"\"));return isFinite(v)?v:fb;};const useIso=typeof window===\"undefined\"?useEffect:useLayoutEffect;function readCMS(kind){if(typeof document===\"undefined\")return null;if(!document.querySelector('[data-aw-row=\"bridge\"]'))return null;const seen=new Set;const out=[];document.querySelectorAll(`[data-aw-row=\"${kind}\"]`).forEach(el=>{const o={};for(const a of Array.from(el.attributes))if(a.name.startsWith(\"data-\"))o[a.name.slice(5)]=a.value;const key=o.slug||JSON.stringify(o);if(seen.has(key))return;seen.add(key);out.push(o);});return out.sort((a,b)=>(parseFloat(a.n1)||0)-(parseFloat(b.n1)||0));}function useCMS(kind,fallback){const[rows,setRows]=useState(fallback);const sig=useRef(\"\");useIso(()=>{let n=0,t=0,ok=0;try{const w=window;if(!w.__ltCms||typeof w.__ltCms!==\"object\")w.__ltCms={};w.__ltCms[SW_BUILD]=1;}catch(e){}const pull=()=>{const r=readCMS(kind);if(!r)return false;const s=JSON.stringify(r);if(s!==sig.current){sig.current=s;setRows(r);}return true;};const mo=new MutationObserver(()=>{if(pull()){ok++;if(ok>2)mo.disconnect();}});mo.observe(document.body,{childList:true,subtree:true});if(pull())ok++;const poll=()=>{if(n++<30){pull();t=window.setTimeout(poll,150);}};t=window.setTimeout(poll,150);return()=>{mo.disconnect();window.clearTimeout(t);};},[kind]);return rows;}// Row counts in headings: {companies} {sectors} {partners} {rounds} {posts} {reviews} {faq} = the live number of rows as digits ({portfolio} {team} {stages} {writing} work too); a capital first letter ({Companies}) = the number as a word (One … Twelve, digits above that); {companies:word} = the same word in lower case. Server render = the shipped counts.\nconst CMS_COUNT_FB={\"posts\":8,\"topics\":5,\"notes\":6,\"books\":5,\"issues\":6,\"reviews\":6,\"faq\":7};const CMS_NWORDS=\"Zero;One;Two;Three;Four;Five;Six;Seven;Eight;Nine;Ten;Eleven;Twelve\";function useCounts(extra){const[c,setC]=useState(CMS_COUNT_FB);const sig=useRef(\"\");useIso(()=>{let n=0,t=0;const pull=()=>{const o={};let any=false;for(const k of Object.keys(CMS_COUNT_FB)){const r=readCMS(k);if(r){o[k]=r.length;any=true;}else o[k]=CMS_COUNT_FB[k];}if(!any)return;const s=JSON.stringify(o);if(s!==sig.current){sig.current=s;setC(o);}};pull();const poll=()=>{if(n++<12){pull();t=window.setTimeout(poll,250);}};t=window.setTimeout(poll,250);return()=>window.clearTimeout(t);},[]);return extra?{...c,...extra}:c;}const CMS_ALIAS={essays:\"posts\",journal:\"posts\",blog:\"posts\"};const countText=(s,c,words=CMS_NWORDS)=>{const W=String(words||CMS_NWORDS).split(\";\").map(x=>x.trim());return String(s==null?\"\":s).replace(/\\{([A-Za-z]+)(:word)?\\}/g,(m,k,lw)=>{const lk=String(k).toLowerCase();const n=c[lk]??c[CMS_ALIAS[lk]];if(typeof n!==\"number\")return m;const cap=k[0]!==k[0].toLowerCase();return lw&&W[n]?W[n].toLowerCase():cap&&W[n]?W[n]:String(n);});};// The one-row Site collection holds every site-wide fact. A section's \"… Override\" control only replaces it on that one section.\n// Site: f1 Name (Kindling) · f2 Descriptor · f3 Tagline · f4 Email · f5 Book Link = the PITCH link (/pitch) · f6 Work Link = the PORTFOLIO link (/portfolio) · f7 Eyebrow · f8 Proof Line · f9 Services Link (= /portfolio) · img Picture (the hero office at night H1, also social / about) · f10 Picture Alt\nfunction useSite(){const r=useCMS(\"site\",SEED.site||[]);const s=r[0]||(SEED.site||[])[0]||{};const g=k=>String(s[k]??\"\").trim();const im=k=>String(s[k]||\"\").split(\"?\")[0];return{name:g(\"f1\"),descriptor:g(\"f2\"),tagline:g(\"f3\"),email:g(\"f4\"),book:g(\"f5\")||\"/signup\",work:g(\"f6\")||\"/product\",eyebrow:g(\"f7\"),proof:g(\"f8\"),services:g(\"f9\")||\"/product\",picture:im(\"img\"),pictureAlt:g(\"f10\")};}// ---- Row readers (slots are fixed: see seed.py). Every reader takes an undefined row and returns empty strings, never throws.\nconst S_=(r,k)=>String(r&&r[k]||\"\").trim();const numOf=(v,fb=0)=>{const n=parseFloat(String(v??\"\").replace(/[^\\d.-]/g,\"\"));return isFinite(n)?n:fb;};const listOf=s=>String(s||\"\").split(\";\").map(x=>x.trim()).filter(Boolean);const linkList=s=>String(s||\"\").split(\",\").map(x=>x.trim()).filter(Boolean).map(x=>{const i=x.indexOf(\":\");return{l:i<0?x:x.slice(0,i).trim(),h:i<0?\"/\":x.slice(i+1).trim()};});const bySlug=(rows,slug)=>{const k=String(slug||\"\").trim();return k?rows.find(r=>r.slug===k):undefined;};// Rounds (kind \"rounds\") — the stages on the hero cheque: f1 Stage («Seed») · f2 Smallest Cheque · f3 Largest Cheque · f4 Usual Cheque (plain dollars) · f5 Ownership (% at the usual cheque) · f6 Decision («14 days») · f7 Terms · n1 Order → no page\nconst roundOf=r=>{const min=Math.max(0,numOf(S_(r,\"f2\")));const max=Math.max(min,numOf(S_(r,\"f3\"),min));const usual=Math.min(max,Math.max(min,numOf(S_(r,\"f4\"),min)));return{slug:S_(r,\"slug\"),name:S_(r,\"f1\"),min,max,usual,own:Math.max(.1,Math.min(100,numOf(S_(r,\"f5\"),10))),days:S_(r,\"f6\"),terms:S_(r,\"f7\")};};// Companies (kind \"companies\") — the portfolio: f1 Name · f2 Sector · f3 Line · f4 Body (mini markdown) · f5 Entry («Seed 2021») · f6 Now («Series B · $48M») · f7 First Cheque («$1.2M») · f8 Founder · f9 Stage (the filter word: Pre-seed / Seed / Series A / Exited) · f10 Team («4 → 112») · img Picture (the FOUNDER's portrait) · n1 Order → /portfolio/:slug\n// Leads (kind \"leads\") — the contacts on the hero: f1 Name · f2 Company · f3 Role · f4 Deal (plain dollars) · f5 Stage · f6 Chance (% to close) · f7 Events («When:What; …», the last = now) · f8 Next Step · img Picture (portrait) · n1 Order → no page\nconst leadOf=r=>({slug:S_(r,\"slug\"),name:S_(r,\"f1\"),company:S_(r,\"f2\"),role:S_(r,\"f3\"),deal:Math.max(0,numOf(S_(r,\"f4\"))),stage:S_(r,\"f5\"),chance:Math.max(0,Math.min(100,numOf(S_(r,\"f6\")))),events:listOf(S_(r,\"f7\")).map(x=>{const i=x.indexOf(\":\");return i<0?{when:\"\",what:x}:{when:x.slice(0,i).trim(),what:x.slice(i+1).trim()};}),next:S_(r,\"f8\"),img:imgOr(r)});// Deals (kind \"deals\") — the homepage board: f1 Name (the contact) · f2 Company · f3 Value (plain dollars) · f4 Stage (the column) · f5 Owner · f6 Note · img Picture · n1 Order\nconst dealOf=r=>({slug:S_(r,\"slug\"),name:S_(r,\"f1\"),company:S_(r,\"f2\"),value:Math.max(0,numOf(S_(r,\"f3\"))),stage:S_(r,\"f4\"),owner:S_(r,\"f5\"),note:S_(r,\"f6\"),img:imgOr(r)});// Features (kind \"features\"): f1 Name · f2 Line · f3 Body · f4 Kind (tracking · reminders · timeline · reports · mobile · import = which live piece the tile draws) · f5 Stat · n1 Order\nconst featureOf=r=>({slug:S_(r,\"slug\"),name:S_(r,\"f1\"),line:S_(r,\"f2\"),body:S_(r,\"f3\"),kind:S_(r,\"f4\"),stat:S_(r,\"f5\")});// Plans (kind \"plans\"): f1 Name · f2 Line · f3 Monthly · f4 Yearly (per seat per month, plain numbers) · f5 Points (a; b → points[]) · f6 Featured («yes») · f7 Button · n1 Order\nconst planOf=r=>({slug:S_(r,\"slug\"),name:S_(r,\"f1\"),line:S_(r,\"f2\"),monthly:Math.max(0,numOf(S_(r,\"f3\"))),yearly:Math.max(0,numOf(S_(r,\"f4\"))),points:listOf(S_(r,\"f5\")),featured:/^(yes|true|1)$/i.test(S_(r,\"f6\")),button:S_(r,\"f7\")});const companyOf=r=>({slug:S_(r,\"slug\"),name:S_(r,\"f1\"),sector:S_(r,\"f2\"),line:S_(r,\"f3\"),body:S_(r,\"f4\"),entry:S_(r,\"f5\"),now:S_(r,\"f6\"),cheque:S_(r,\"f7\"),founder:S_(r,\"f8\"),stage:S_(r,\"f9\"),team:S_(r,\"f10\"),img:imgOr(r)});// Sectors (kind \"sectors\") — what we back: f1 Name · f2 Line · f3 Body · f4 Stat («19 companies») · f5 Companies (a; b → companies[]) · img Picture · n1 Order → no page\nconst sectorOf=r=>({slug:S_(r,\"slug\"),name:S_(r,\"f1\"),line:S_(r,\"f2\"),body:S_(r,\"f3\"),stat:S_(r,\"f4\"),companies:listOf(S_(r,\"f5\")),img:imgOr(r)});// Partners (kind \"partners\") — the team: f1 Name · f2 Role · f3 Focus · f4 Bio · f5 Cheques («31 first cheques») · f6 Ask (what to pitch this partner) · img Picture (portrait) · n1 Order → no page\nconst partnerOf=r=>({slug:S_(r,\"slug\"),name:S_(r,\"f1\"),role:S_(r,\"f2\"),focus:S_(r,\"f3\"),bio:S_(r,\"f4\"),cheques:S_(r,\"f5\"),ask:S_(r,\"f6\"),img:imgOr(r)});// Reviews: f1 Quote · f2 Person · f3 Role · f4 Company · img Picture (portrait) · n1 Order\n// Topics (kind \"topics\"): f1 Name (= an essay Kind) · f2 Line · img Picture · n1 Order\nconst topicOf=r=>({slug:S_(r,\"slug\"),name:S_(r,\"f1\"),line:S_(r,\"f2\"),img:imgOr(r)});// Notes (kind \"notes\"): f1 Text · f2 Date · f3 Place · n1 Order\nconst noteOf=r=>({slug:S_(r,\"slug\"),text:S_(r,\"f1\"),date:S_(r,\"f2\"),place:S_(r,\"f3\")});// Books (kind \"books\"): f1 Title · f2 Author · f3 Note · f4 Colour (spine hex) · f5 Status (Reading / Finished / Next) · n1 Order\nconst bookOf=r=>{const col=S_(r,\"f4\");return{slug:S_(r,\"slug\"),title:S_(r,\"f1\"),author:S_(r,\"f2\"),note:S_(r,\"f3\"),colour:/^#[0-9a-f]{3,8}$/i.test(col)?col:\"#6B6459\",status:S_(r,\"f5\")};};// Issues (kind \"issues\"): f1 Number · f2 Title · f3 Date · f4 Line · n1 Order\nconst issueOf=r=>({slug:S_(r,\"slug\"),num:S_(r,\"f1\"),title:S_(r,\"f2\"),date:S_(r,\"f3\"),line:S_(r,\"f4\")});const reviewOf=r=>({slug:S_(r,\"slug\"),quote:S_(r,\"f1\"),person:S_(r,\"f2\"),role:S_(r,\"f3\"),company:S_(r,\"f4\"),img:imgOr(r)});// Posts: f1 Title · f2 Kind (Guide / Customs / Report) · f3 Line · f4 Body (mini markdown, see Md) · img Picture · f5 Date · f6 Read · n1 Order → /insights/:slug\nconst postOf=r=>({slug:S_(r,\"slug\"),title:S_(r,\"f1\"),kind:S_(r,\"f2\"),line:S_(r,\"f3\"),body:S_(r,\"f4\"),img:imgOr(r),date:S_(r,\"f5\"),read:S_(r,\"f6\")});// Faq: f1 Question · f2 Answer · n1 Order\nconst faqOf=r=>({slug:S_(r,\"slug\"),q:S_(r,\"f1\"),a:S_(r,\"f2\")});// ---- A seeded generator (mulberry32) so the server and the first client render draw the SAME shape.\nconst mulberry=a=>()=>{a|=0;a=a+1831565813|0;let t=Math.imul(a^a>>>15,1|a);t=t+Math.imul(t^t>>>7,61|t)^t;return((t^t>>>14)>>>0)/4294967296;};// The row a CMS detail page is about: the bound Slug control wins (server render included), else the last URL segment, else the first row.\nfunction useRow(kind,fallback,slug){const rows=useCMS(kind,fallback);const[path,setPath]=useState(\"\");useEffect(()=>{try{setPath(decodeURIComponent(window.location.pathname.split(\"/\").filter(Boolean).pop()||\"\"));}catch(e){}},[]);const want=String(slug||\"\").trim()||path;const row=rows.find(r=>r.slug===want)||rows[0]||{};return{row,rows};}// ===== AwForm =====\n// ---- THE FORM (prefix awfm; /subscribe and /contact). NO h1 and no top of its own: AwPageHero (short) sits above it. INK ground with one amber lamp glow + grain; the form IS a PAPER SHEET\n// lying on the dark (bone #F3EEE4, radius 4, a slight rotation, a deep soft shadow), headed like a letter (mono «Afterword · The Sunday letter» + issue number). «Mode» picks which form it is:\n// · SUBSCRIBE = e-mail (PRE-FILLED from ?email= — every subscribe field on the site writes it), first name, «What would you like to read?» topic chips from the Topics collection (multi-select,\n//               real toggle buttons with aria-pressed), the frequency line «One letter every Sunday», a consent line, submit → /thanks?name=<first name>.\n// · CONTACT   = name, e-mail, reason chips [A question · A guest essay · Speaking · Something else] (one), the message, submit → /thanks?name=<first name>.\n// Real labels, inline validation (aria-invalid + a message under the field, the first wrong field gets focus). It keeps { mode, name, topics | reason, t } in sessionStorage «aw-sent» for the\n// thank-you page. NEVER a network call by default. «Send to» (formAction Link): when set, the form does a NATIVE POST there (named inputs; chips as hidden inputs) and that service takes over.\n// Without script the form is a plain GET to the thank-you page (name in the address). Left of the sheet on the ink: h2 (Fraunces, amber italic starred words), a line, the site e-mail, a proof line.\n// Motion-kit cores: KitText (shared Head) · KitReveal rise (awfm-r, `on || still`). Reduced motion = no rise, no tilt animation. ----\nconst AWFM_W=[\"E-mail\",\"First name\",\"What would you like to read?\",\"Your name\",\"Why are you writing?\",\"Your message\",\"Please write a real e-mail address.\",\"Please tell us your name.\",\"Please write a few words.\",\"Or write directly\",\"Sending…\",\"pick any\"];const awfmWords=s=>{const g=String(s??\"\").split(\";\");return AWFM_W.map((d,i)=>(g[i]||\"\").trim()||d);};const awfmMailOk=s=>/^[^\\s@]+@[^\\s@]+\\.[^\\s@]{2,}$/.test(String(s||\"\").trim());/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicWidth 1440\n */export default function AwForm(props){const{mode=\"subscribe\",heading=\"\",text=\"\",proof=\"\",sheetHead=\"\",sheetNo=\"\",submit=\"\",frequency=\"One letter every Sunday \\xb7 free\",consent=\"\",reasons=\"A question; A guest essay; Speaking; Something else\",thanks=\"/thanks\",formAction=\"\",words=\"\"}=props;const k=usePG(props,.04);const W=awfmWords(words);const M=mode===\"contact\"?\"contact\":\"subscribe\";const DEF={subscribe:{h:\"One letter,|*every Sunday.*\",t:\"An essay, three notes from the week and what I'm reading. Free, written by hand, and you can leave any time with one click.\",p:\"12,400 readers \\xb7 every Sunday \\xb7 free\",s:\"Afterword \\xb7 The Sunday letter\",n:\"No. 49\",b:\"Send me the letters\",c:\"By subscribing you agree to get one e-mail a week. Your address is never shared or sold.\"},contact:{h:\"Write to me,|*I read everything.*\",t:\"Questions about an essay, a guest essay idea or an invitation to speak. I answer every letter myself, usually within a week.\",p:\"Replies within a week \\xb7 no newsletters added\",s:\"Afterword \\xb7 A letter to Mara\",n:\"Reply by post\",b:\"Send the letter\",c:\"Your message goes to my inbox only. Nothing is added to the newsletter unless you ask.\"}}[M];const topicRows=useCMS(\"topics\",SEED.topics||[]);const TOP=topicRows.map(r=>topicOf(r).name).filter(Boolean);const RS=listOf(reasons);const[v,setV]=useState({email:\"\",name:\"\",msg:\"\",picks:[],reason:\"\"});const[err,setErr]=useState({});const[busy,setBusy]=useState(false);const formRef=useRef(null);useEffect(()=>{if(!k.live)return;const em=pgQuery(\"email\"),tp=pgQuery(\"topic\"),nm=pgQuery(\"name\");setV(o=>({...o,...em?{email:em}:{},...nm?{name:nm}:{},...M===\"subscribe\"&&tp?{picks:TOP.filter(x=>x.toLowerCase()===tp.toLowerCase())}:{}}));},[k.live,M]);const set=key=>e=>{const x=e.target.value;setV(o=>({...o,[key]:x}));if(err[key])setErr(o=>({...o,[key]:\"\"}));};const toggle=t=>setV(o=>({...o,picks:o.picks.includes(t)?o.picks.filter(x=>x!==t):[...o.picks,t]}));const first=String(v.name||\"\").replace(/[<>{}*|]/g,\"\").trim().split(/\\s+/)[0]||\"\";const act=String(formAction||\"\").trim();const send=e=>{const er={};if(M===\"contact\"&&!pgClean(v.name))er.name=W[7];if(!awfmMailOk(v.email))er.email=W[6];if(M!==\"contact\"&&!pgClean(v.name))er.name=W[7];if(M===\"contact\"&&String(v.msg||\"\").trim().length<2)er.msg=W[8];setErr(er);if(Object.keys(er).length){e.preventDefault();try{const id=Object.keys(er)[0];const el=formRef.current&&formRef.current.querySelector(`[data-f=\"${id}\"]`);if(el)el.focus();}catch(x){}return;}const keep=M===\"subscribe\"?{mode:\"subscribe\",name:pgClean(v.name),topics:v.picks.join(\", \"),t:Date.now()}:{mode:\"contact\",name:pgClean(v.name),reason:v.reason,t:Date.now()};try{window.sessionStorage.setItem(PG_SENT,JSON.stringify(keep));}catch(x){}if(act){setBusy(true);return;}// native POST to the buyer's form service\ne.preventDefault();if(busy)return;setBusy(true);const to=String(thanks||\"/thanks\");try{window.location.assign(to+(first?(to.indexOf(\"?\")<0?\"?\":\"&\")+\"name=\"+encodeURIComponent(first.slice(0,40)):\"\"));}catch(x){}};const mail=k.site.email?`mailto:${k.site.email}`:\"\";const label=T(submit,DEF.b);const ON=k.on?\" is-on\":\"\";const fld=(key,lab,inp)=>/*#__PURE__*/_jsxs(\"div\",{className:`awfm-f${err[key]?\" is-bad\":\"\"}`,children:[/*#__PURE__*/_jsx(\"label\",{htmlFor:`awfm-${M}-${key}`,style:k.M,children:lab}),inp,err[key]?/*#__PURE__*/_jsx(\"p\",{className:\"awfm-err\",id:`awfm-${M}-${key}-e`,role:\"alert\",children:err[key]}):null]});const ip=key=>({id:`awfm-${M}-${key}`,\"data-f\":key,\"aria-invalid\":err[key]?true:undefined,\"aria-describedby\":err[key]?`awfm-${M}-${key}-e`:undefined});return /*#__PURE__*/_jsxs(\"section\",{ref:k.root,className:`mw aw-sec aw-dark aw-cq awfm is-${M}${ON}`,\"data-aw-top\":\"dark\",\"data-mode\":M,\"data-awfm\":M,\"data-bp\":props.bpHint,style:k.vars,children:[/*#__PURE__*/_jsx(\"link\",{rel:\"stylesheet\",href:FONTS}),/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:CSS_BASE+CSS_MOTION+CSS_PG+AWFM_CSS}}),/*#__PURE__*/_jsx(\"i\",{className:\"awfm-glow\",\"aria-hidden\":true}),/*#__PURE__*/_jsx(\"i\",{className:\"awfm-grain\",\"aria-hidden\":true}),/*#__PURE__*/_jsxs(\"div\",{className:\"awfm-in\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"awfm-copy\",children:[/*#__PURE__*/_jsx(Head,{text:T(heading,DEF.h),on:k.on,D:k.D,tag:\"h2\",className:\"awfm-h\"}),T(text,DEF.t)?/*#__PURE__*/_jsx(\"p\",{className:\"awfm-t awfm-r\",style:{[\"--d\"]:\"200ms\"},children:T(text,DEF.t)}):null,mail?/*#__PURE__*/_jsxs(\"p\",{className:\"awfm-mail awfm-r\",style:{[\"--d\"]:\"280ms\"},children:[/*#__PURE__*/_jsx(\"span\",{style:k.M,children:W[9]}),/*#__PURE__*/_jsx(\"a\",{href:mail,children:k.site.email})]}):null,T(proof,DEF.p)?/*#__PURE__*/_jsxs(\"p\",{className:\"awfm-proof awfm-r\",style:{...k.M,[\"--d\"]:\"340ms\"},children:[/*#__PURE__*/_jsx(\"i\",{\"aria-hidden\":true}),T(proof,DEF.p)]}):null]}),/*#__PURE__*/_jsx(\"div\",{className:\"awfm-sheetw awfm-r\",style:{[\"--d\"]:\"160ms\"},children:/*#__PURE__*/_jsxs(\"form\",{ref:formRef,className:\"awfm-sheet aw-lt\",action:act||String(thanks||\"/thanks\"),method:act?\"post\":\"get\",onSubmit:send,noValidate:true,\"data-form\":M,children:[/*#__PURE__*/_jsxs(\"p\",{className:\"awfm-sh\",style:k.M,children:[/*#__PURE__*/_jsx(\"span\",{children:T(sheetHead,DEF.s)}),/*#__PURE__*/_jsx(\"span\",{children:T(sheetNo,DEF.n)})]}),M===\"subscribe\"?/*#__PURE__*/_jsxs(_Fragment,{children:[fld(\"email\",W[0],/*#__PURE__*/_jsx(\"input\",{...ip(\"email\"),name:\"email\",type:\"email\",value:v.email,onChange:set(\"email\"),autoComplete:\"email\",inputMode:\"email\",autoCapitalize:\"none\",spellCheck:false,placeholder:\"you@example.com\"})),fld(\"name\",W[1],/*#__PURE__*/_jsx(\"input\",{...ip(\"name\"),name:\"name\",type:\"text\",value:v.name,onChange:set(\"name\"),autoComplete:\"given-name\"})),TOP.length?/*#__PURE__*/_jsxs(\"fieldset\",{className:\"awfm-chips\",children:[/*#__PURE__*/_jsxs(\"legend\",{style:k.M,children:[W[2],\" \",/*#__PURE__*/_jsxs(\"em\",{children:[\"(\",W[11],\")\"]})]}),/*#__PURE__*/_jsx(\"div\",{className:\"awfm-row\",children:TOP.map(t=>/*#__PURE__*/_jsx(\"button\",{type:\"button\",className:`awfm-pick${v.picks.includes(t)?\" is-on\":\"\"}`,\"aria-pressed\":v.picks.includes(t),onClick:()=>toggle(t),children:t},t))}),/*#__PURE__*/_jsx(\"input\",{type:\"hidden\",name:\"topics\",value:v.picks.join(\", \")})]}):null,String(frequency||\"\").trim()?/*#__PURE__*/_jsxs(\"p\",{className:\"awfm-freq\",style:k.M,children:[/*#__PURE__*/_jsx(\"i\",{\"aria-hidden\":true}),frequency]}):null]}):/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsxs(\"div\",{className:\"awfm-two\",children:[fld(\"name\",W[3],/*#__PURE__*/_jsx(\"input\",{...ip(\"name\"),name:\"name\",type:\"text\",value:v.name,onChange:set(\"name\"),autoComplete:\"name\"})),fld(\"email\",W[0],/*#__PURE__*/_jsx(\"input\",{...ip(\"email\"),name:\"email\",type:\"email\",value:v.email,onChange:set(\"email\"),autoComplete:\"email\",inputMode:\"email\",autoCapitalize:\"none\",spellCheck:false,placeholder:\"you@example.com\"}))]}),RS.length?/*#__PURE__*/_jsxs(\"fieldset\",{className:\"awfm-chips\",children:[/*#__PURE__*/_jsx(\"legend\",{style:k.M,children:W[4]}),/*#__PURE__*/_jsx(\"div\",{className:\"awfm-row\",children:RS.map(t=>/*#__PURE__*/_jsx(\"button\",{type:\"button\",className:`awfm-pick${v.reason===t?\" is-on\":\"\"}`,\"aria-pressed\":v.reason===t,onClick:()=>setV(o=>({...o,reason:o.reason===t?\"\":t})),children:t},t))}),/*#__PURE__*/_jsx(\"input\",{type:\"hidden\",name:\"reason\",value:v.reason})]}):null,fld(\"msg\",W[5],/*#__PURE__*/_jsx(\"textarea\",{...ip(\"msg\"),name:\"message\",rows:5,value:v.msg,onChange:set(\"msg\")}))]}),T(consent,DEF.c)?/*#__PURE__*/_jsx(\"p\",{className:\"awfm-consent\",children:T(consent,DEF.c)}):null,/*#__PURE__*/_jsx(\"div\",{className:\"awfm-ft\",children:/*#__PURE__*/_jsx(Btn,{label:busy?W[10]:label,className:\"awfm-send\"})})]})})]})]});}const AWFM_CSS=`\n.awfm{position:relative;overflow:hidden;--e:cubic-bezier(.2,.8,.2,1)} .awfm-in{--pad:max(56px,calc((100cqw - 1520px)/2))}\n.awfm-glow{position:absolute;left:-10%;top:-20%;width:70%;height:80%;background:radial-gradient(closest-side,color-mix(in srgb,var(--aw-brass) 14%,transparent),transparent);pointer-events:none}\n.awfm-grain{position:absolute;inset:0;opacity:.06;pointer-events:none;background-image:url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>\")}\n.awfm-in{position:relative;display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(32px,6cqw,110px);align-items:start;padding:clamp(56px,6cqw,110px) var(--pad) clamp(88px,8cqw,150px)}\n.awfm-copy{display:flex;flex-direction:column;align-items:flex-start;gap:22px;min-width:0;padding-top:12px}\n.mw .awfm-h.aw-hd{margin:0;color:var(--aw-cloud)}\n.awfm-t{margin:0;max-width:30em;font-size:17.5px;line-height:1.6;color:var(--aw-mut)}\n.awfm-mail{display:grid;gap:4px;margin:0} .awfm-mail span{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--aw-mut)} .awfm-mail a{display:inline-flex;align-items:center;min-height:44px;font-family:var(--aw-font-d,Fraunces),serif;font-style:italic;font-size:clamp(22px,2cqw,28px);color:var(--aw-brass);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:6px;overflow-wrap:anywhere}\n.awfm-proof{display:flex;align-items:center;gap:10px;margin:0;font-size:11.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--aw-mut)} .awfm-proof i{width:7px;height:7px;border-radius:50%;background:var(--aw-brass)}\n.awfm-sheetw{min-width:0}\n.awfm-sheet{position:relative;display:grid;gap:24px;margin:0;padding:clamp(28px,3.4cqw,52px);border-radius:4px;background:var(--aw-bone);color:var(--aw-ink);transform:rotate(-.6deg);box-shadow:0 2px 0 color-mix(in srgb,#000 20%,transparent),0 40px 80px -30px color-mix(in srgb,#000 85%,transparent),0 18px 36px -18px color-mix(in srgb,#000 70%,transparent)}\n.awfm-sheet::before{content:\"\";position:absolute;inset:0;border-radius:4px;pointer-events:none;background:linear-gradient(180deg,color-mix(in srgb,#fff 30%,transparent),transparent 30%)}\n.awfm-sh{display:flex;justify-content:space-between;gap:16px;margin:0;padding-bottom:16px;border-bottom:1px solid var(--aw-hair2);font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--aw-mut)}\n.awfm-two{display:grid;grid-template-columns:1fr 1fr;gap:24px}\n.awfm-f{display:grid;gap:6px;min-width:0}\n.awfm-f label,.awfm-chips legend{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--aw-mut)} .awfm-chips legend em{font-style:normal;text-transform:none;letter-spacing:.02em}\n.awfm-f input,.awfm-f textarea{box-sizing:border-box;width:100%;min-height:48px;padding:10px 2px;border:0;border-bottom:1.5px solid color-mix(in srgb,var(--aw-ink) 42%,transparent);border-radius:0;background:transparent;color:var(--aw-ink);font:inherit;font-size:18px;line-height:1.4;outline:none;transition:border-color .25s}\n.awfm-f textarea{resize:vertical;min-height:120px;border:1.5px solid color-mix(in srgb,var(--aw-ink) 30%,transparent);border-radius:4px;padding:12px 14px;background:color-mix(in srgb,#fff 35%,transparent)}\n.awfm-f input::placeholder{color:color-mix(in srgb,var(--aw-ink) 52%,transparent)}\n.awfm-f input:focus-visible,.awfm-f textarea:focus-visible{border-color:var(--aw-ink)}\n.awfm-f.is-bad input,.awfm-f.is-bad textarea{border-color:var(--aw-acc)}\n.awfm-err{margin:2px 0 0;font-size:14px;line-height:1.4;color:var(--aw-acc)}\n.awfm-chips{margin:0;padding:0;border:0;min-width:0} .awfm-chips legend{padding:0;margin-bottom:12px}\n.awfm-row{display:flex;flex-wrap:wrap;gap:10px}\n.awfm-pick{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border:0;border-radius:999px;background:transparent;color:var(--aw-ink);font:inherit;font-size:15.5px;cursor:pointer;box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--aw-ink) 34%,transparent);transition:background .25s,box-shadow .25s,transform .25s var(--e)}\n.awfm-pick:hover{box-shadow:inset 0 0 0 1.5px var(--aw-ink)} .awfm-pick.is-on{background:var(--aw-brass);box-shadow:inset 0 0 0 1.5px var(--aw-ink)} .awfm-pick.is-on::before{content:\"✓\";margin-right:8px;font-size:13px}\n.awfm-freq{display:flex;align-items:center;gap:10px;margin:0;font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--aw-ink)} .awfm-freq i{width:22px;height:1.5px;background:var(--aw-ink)}\n.awfm-consent{margin:0;font-size:14px;line-height:1.5;color:var(--aw-mut)}\n.awfm-ft{display:flex;justify-content:flex-start;padding-top:4px}\n.awfm-r{opacity:0;transform:translate3d(0,22px,0);transition:opacity .8s var(--e),transform .9s var(--e);transition-delay:var(--d,0ms)}\n.awfm.is-on .awfm-r{opacity:1;transform:none}\n@container (max-width:1099px){ .awfm-in{grid-template-columns:1fr;gap:44px} }\n@container (max-width:699px){ .awfm-in{--pad:20px;padding:40px var(--pad) 96px} .awfm-two{grid-template-columns:1fr} .awfm-sheet{transform:rotate(-.4deg);padding:26px 20px} .awfm-sh{flex-direction:column;gap:4px} .awfm-ft .aw-btn{width:100%} }\n@media (prefers-reduced-motion:reduce){ .awfm-r{transition:none;opacity:1;transform:none} .awfm-pick{transition:none} }\n`;addPropertyControls(AwForm,{...PG_CTL,mode:{type:ControlType.Enum,title:\"Mode\",description:\"Subscribe (every subscribe field on the site sends ?email=) or Contact\",options:[\"subscribe\",\"contact\"],optionTitles:[\"Subscribe\",\"Contact\"],defaultValue:\"subscribe\"},heading:{type:ControlType.String,title:\"Heading\",description:\"| = a new line, *stars* = amber italic. Empty = the mode's own heading\",defaultValue:\"\",displayTextArea:true},text:{type:ControlType.String,title:\"Text\",description:\"Empty = the mode's own text\",defaultValue:\"\",displayTextArea:true},proof:{type:ControlType.String,title:\"Proof line\",description:\"Empty = the mode's own line\",defaultValue:\"\"},sheetHead:{type:ControlType.String,title:\"Sheet head\",description:\"The mono line at the top of the paper. Empty = the mode's own\",defaultValue:\"\"},sheetNo:{type:ControlType.String,title:\"Sheet number\",description:\"The mono line at the right of the sheet head. Empty = the mode's own\",defaultValue:\"\"},frequency:{type:ControlType.String,title:\"Frequency\",description:\"Subscribe: the line under the topics. Type a space to hide it\",defaultValue:\"One letter every Sunday \\xb7 free\",hidden:p=>p.mode===\"contact\"},reasons:{type:ControlType.String,title:\"Reasons\",description:\"Contact: the reason chips, separated by ;\",defaultValue:\"A question; A guest essay; Speaking; Something else\",hidden:p=>p.mode!==\"contact\"},consent:{type:ControlType.String,title:\"Consent line\",description:\"Empty = the mode's own line\",defaultValue:\"\",displayTextArea:true},submit:{type:ControlType.String,title:\"Button\",description:\"Empty = the mode's own label\",defaultValue:\"\"},thanks:{type:ControlType.Link,title:\"Thank-you page\",defaultValue:\"/thanks\"},formAction:{type:ControlType.Link,title:\"Send to\",description:\"Your form service URL (Formspree, Basin, ConvertKit …). Empty = nothing is sent: the visitor goes to the thank-you page. Set = the form POSTs there (fields: email, name, topics / reason, message).\"},words:{type:ControlType.String,title:\"Small words\",description:\"; separated: \"+AWFM_W.join(\"; \"),defaultValue:\"\",displayTextArea:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"AwForm\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"1440\",\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./AwForm.map"],"mappings":"yOAgBmP,SAAS,GAAU,CAAC,MAAc,CAAC,GAAG,OAAO,SAAW,KAAa,SAAS,eAAe,UAAU,EAAE,OAAO,IAAM,EAAE,SAAS,cAAc,MAAM,EAAE,EAAE,GAAG,WAAW,EAAE,IAAI,aAAa,EAAE,KAAK,EAAM,SAAS,KAAK,YAAY,CAAC,CAAE,EAAE,CAAC,CAAC,CAAE,CAE7d,SAAS,GAAU,CAAC,IAAM,EAAS,EAAoB,EAAM,EAAE,KAAK,GAAG,CAAC,EAAE,EAAa,QAAQ,CAAE,MAAS,CAAC,CAAC,OAAO,GAAU,IAAI,MAAM,IAAI,EAAa,OAAQ,CAAC,SAAS,IAAS,CAAC,IAAM,EAAS,EAAoB,EA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