{"version":3,"file":"WorkGrid.2wwVMRkJ.mjs","names":["useRef","useState","FramerLib.useRouter","__esmMin","init_npm_react_18_3_1","init_ssg_sandbox_shims","window","_e","p","ce","de","init_framer_BpuvUAiZ","RenderTarget","useRouter","ControlType","addPropertyControls","WorkGrid","host","canvas","service","setService","props","readService","last","id","routed","router","v","active","all","fill","wanted","shown","services","w","s","rows","i","details","key","run","fontFamily","pad","CSS","sum","row","t","aspect","h","DESKTOP","PHONE","r","known","PROJECTS","pick","k","root","phone","cards","section","a","undo","on","ev","f","opt","grid","fitMargins","W","inL","inR","tall","m","ro","reduce","touchMode","refused","showAnim","c","im","hideAnim","warmed","warm","play","why","e","stop","toStart","near","io","es","raf","touchTick","playingTouch","tick","vh","fade","target","top","fin","clamp01","fout","now","best","bestD","d","shapeAspect","ASSETS","init_WorkGrid","init_jsx_runtime","x"],"sources":["https:/framerusercontent.com/modules/6U6yJ9MrwLb1haKDs5WA/LN2NSXKn7nH2fMlNHTJz/WorkGrid.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect,useRef,useState}from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import*as FramerLib from\"framer\";/**\n * WorkGrid: the work grid on Home and the Works page, as the masonry in Joey's\n * XD file (21 Nov 2026), built to its measured spec (framer-port/GRID-SPEC.md).\n *\n * - Two tiles a row, a portrait (4:5) and a landscape (1920:1360), one on each\n *   edge, alternating sides: XD's sizes and spacing, in XD units scaled to the\n *   grid's width (u = width / 3508): tiles 1360u tall, 500u apart.\n * - The grid's right edge is where the hero's text box ends; the left margin\n *   matches (Joey). Phones: one column, every tile a full-width 4:5 portrait\n *   (Joey, 22 Nov: \"for mobile I reckon the case study thumbs should all just\n *   be full width, despite staying as varying on desktop\", then \"make them\n *   all full width portraits\"). The portrait tiles show their own files; the\n *   others have a phone version (Phone still, video and fallback, 4:5): Folk\n *   (the couch photo), Dingo (the old grid's loop), P3 (the tote on the\n *   chair), Euflooria, Daily Yolk and Love Mother. The browser picks it from\n *   the window's width (picture and video sources), so nothing swaps after\n *   load. A project with only a phone video (Dingo) is still on desktop.\n * - Each tile rests on its still (Joey's start frame); tiles with a video play\n *   it on hover and go back to the still on leave. On touch screens the tile\n *   nearest the middle of the window plays. Never more than one at once. No\n *   glow on hover (Joey, 22 Nov).\n * - If a browser refuses to start the video (an iPhone in Low Power Mode, for\n *   one), the tile plays its Fallback animation instead: an animated WebP,\n *   since images aren't held to that rule. Joey, 22 Nov: the video on phones\n *   too, for its frame rate; the animation only as the fallback.\n * - Dark mode: the tiles fade in near the bottom of the window and out near\n *   the top. Light mode: no fade (Joey).\n * - Captions: Home, the name and the year(s); Works, the title, description\n *   and services, as its cards had them.\n * - Works page: \"Follow the Works filters\" reads ?service= (its filter\n *   buttons) and shows the projects with that service; with no filter it\n *   shows the projects marked \"In All\".\n *\n * Projects are edited in the properties panel (Projects). Framer's File and\n * Link controls drop the code's defaults, so any project without its own\n * still, video or link falls back to the known one by name. Link Text colour\n * to Primary so dark mode flips it. Set the layer's width to Fill (it must be\n * as wide as the page, like the hero) and its height to Fit.\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicWidth 1200\n */export default function WorkGrid(props){const host=useRef(null);const canvas=RenderTarget.current()===RenderTarget.canvas;const[service,setService]=useState(()=>props.filter?readService():null);// the Works page's filter buttons change ?service= without a reload\nuseEffect(()=>{if(!props.filter||canvas)return;let last=location.search;setService(readService());const id=setInterval(()=>{if(location.search!==last){last=location.search;setService(readService());}},200);return()=>clearInterval(id);},[props.filter,canvas]);// Framer's router holds the filter too (its CMS lists read\n// pathVariables.service); the address bar is the fallback\nlet routed=null;try{const router=typeof FramerLib.useRouter===\"function\"?FramerLib.useRouter():null;const v=router&&router.currentPathVariables&&router.currentPathVariables.service;routed=typeof v===\"string\"&&v.trim()?v.trim():null;}catch(e){}const active=props.filter?routed||service:null;const all=(props.projects||[]).map(fill);const wanted=active?active.toLowerCase():null;const shown=all.filter(w=>wanted?services(w).some(s=>s.toLowerCase()===wanted):w.inAll!==false);const rows=[];for(let i=0;i<shown.length;i+=2)rows.push(shown.slice(i,i+2));const details=props.caption===\"details\";const key=JSON.stringify(shown.map(w=>[w.link,w.still,w.motion,w.phoneMotion,w.phoneAnim]));useEffect(()=>{if(!host.current)return;return run(host.current,canvas);},[key,canvas]);const fontFamily=props.font&&props.font.fontFamily||'\"Union Regular\", Union, sans-serif';const pad={};if(props.spaceTop>=0)pad[\"--wg-top\"]=props.spaceTop+\"px\";if(props.spaceBottom>=0)pad[\"--wg-bottom\"]=props.spaceBottom+\"px\";// JSX here (not createElement): Framer only lists a file's component when\n// its default export returns JSX\nreturn /*#__PURE__*/_jsxs(\"section\",{ref:host,className:\"wg\",\"aria-label\":\"Selected work\",style:{...props.style,...pad,color:props.color,fontFamily,width:\"100%\"},children:[/*#__PURE__*/_jsx(\"style\",{children:CSS}),/*#__PURE__*/_jsx(\"div\",{className:\"wg-grid\",children:rows.map((row,r)=>{const sum=row.reduce((t,w)=>t+aspect(w),0);const h=row.length===2?Math.min(1360,3008/sum):1360;return /*#__PURE__*/_jsx(\"div\",{className:\"wg-row\"+(row.length===1?\" wg-solo\":\"\"),style:{\"--h\":h},children:row.map((w,i)=>/*#__PURE__*/_jsxs(\"a\",{className:\"wg-card \"+(w.shape===\"portrait\"?\"wg-p\":\"wg-l\")+(i===1?\" wg-r\":\"\"),href:w.link||undefined,style:{\"--a\":aspect(w)},\"data-start\":w.start||0,\"data-anim\":w.anim||undefined,\"data-anim-phone\":w.phoneAnim||undefined,\"data-video\":w.phoneMotion&&!w.motion?\"phone\":undefined,children:[/*#__PURE__*/_jsxs(\"div\",{className:\"wg-media\",children:[(w.motion||w.phoneMotion)&&!canvas?// the desktop video first, for widths it suits; a\n    // browser that can't tell plays it everywhere. A\n    // phone-only video has no source on desktop.\n    /*#__PURE__*/_jsxs(\"video\",{muted:true,loop:true,playsInline:true,preload:\"metadata\",poster:w.phoneStill?undefined:w.still||undefined,children:[w.motion&&w.phoneMotion?/*#__PURE__*/_jsx(\"source\",{media:DESKTOP,src:w.motion}):null,/*#__PURE__*/_jsx(\"source\",{media:w.motion?undefined:PHONE,src:w.phoneMotion||w.motion})]}):null,w.still?/*#__PURE__*/_jsxs(\"picture\",{children:[w.phoneStill?/*#__PURE__*/_jsx(\"source\",{media:PHONE,srcSet:w.phoneStill}):null,/*#__PURE__*/_jsx(\"img\",{className:\"wg-still\",src:w.still,alt:w.title,loading:r<2?\"eager\":\"lazy\",decoding:\"async\"})]}):null]}),details?/*#__PURE__*/_jsxs(\"div\",{className:\"wg-cap wg-cap-details\",children:[/*#__PURE__*/_jsx(\"h3\",{className:\"wg-title\",children:w.title}),w.description?/*#__PURE__*/_jsx(\"p\",{className:\"wg-desc\",children:w.description}):null,services(w).length?/*#__PURE__*/_jsx(\"div\",{className:\"wg-tags\",children:services(w).map(s=>/*#__PURE__*/_jsx(\"span\",{className:\"wg-tag\",children:s},s))}):null]}):/*#__PURE__*/_jsxs(\"div\",{className:\"wg-cap\",children:[/*#__PURE__*/_jsx(\"span\",{className:\"wg-name\",children:w.title}),/*#__PURE__*/_jsx(\"span\",{className:\"wg-meta\",children:w.years})]})]},w.link||w.title))},r);})})]});}function readService(){if(typeof location===\"undefined\")return null;const s=new URLSearchParams(location.search).get(\"service\");return s&&s.trim()?s.trim():null;}const services=w=>String(w.services||\"\").split(\",\").map(s=>s.trim()).filter(Boolean);const shapeAspect=s=>s===\"portrait\"?.8:s===\"six-five\"?1.2:1920/1360;const aspect=w=>shapeAspect(w.shape);// the phone layout's width (every tile 4:5); the same split decides which\n// media a tile loads\nconst PHONE=\"(max-width: 767px)\";const DESKTOP=\"(min-width: 768px)\";// a project from the panel, its gaps filled from the known one by name or link\nfunction fill(w){const known=PROJECTS.find(p=>w.link&&p.link===w.link||p.title===w.title)||{};const pick=k=>w[k]!==undefined&&w[k]!==null&&w[k]!==\"\"?w[k]:known[k];return{title:pick(\"title\")||\"\",years:pick(\"years\")||\"\",link:pick(\"link\")||\"\",shape:pick(\"shape\")||\"landscape\",still:pick(\"still\")||\"\",motion:pick(\"motion\")||\"\",anim:pick(\"anim\")||\"\",phoneStill:pick(\"phoneStill\")||\"\",phoneMotion:pick(\"phoneMotion\")||\"\",phoneAnim:pick(\"phoneAnim\")||\"\",start:pick(\"start\")||0,services:pick(\"services\")||\"\",description:pick(\"description\")||\"\",inAll:w.inAll===undefined?known.inAll:w.inAll};}// Joey's XD order (21 Nov 2026). The stills and videos were made from the\n// original files (Studio.Joje/Website thumbnails (grid)/, GRID-SPEC.md) and\n// uploaded to Framer. Daily Yolk and Love Mother only show under the Works\n// filters, as before, on their current cover videos. The phone versions (4:5)\n// are for the tiles that aren't portrait on desktop (Joey, 22 Nov, evening).\nconst ASSETS=\"https://framerusercontent.com/assets/\";const PROJECTS=[{title:\"Burly Gin\",years:\"2026\",link:\"/projects/burly-gin\",shape:\"portrait\",still:\"https://framerusercontent.com/images/Jsx8hpIvjhtlgeqz7D72j0OIBM.webp\",motion:\"\",services:\"Photography, Video, Social media curation, Creative direction\",description:\"Photography and video capturing the atmosphere of Burly Gin, a Gold Coast distillery and bar where craft cocktails meet vinyl culture.\",inAll:true},{title:\"Folk Wine Bar\",years:\"2026\",link:\"/projects/folk-wine-bar\",shape:\"landscape\",still:\"https://framerusercontent.com/images/x9G1OIyMnaKGQhyJDu4qQ16Bk4s.webp\",motion:\"\",phoneStill:\"https://framerusercontent.com/images/iKZsm995ODSaPMb5ENtWuJM0nc.webp\",services:\"Visual identity, Art direction\",description:\"A nostalgic identity for a contemporary wine bar, bringing together the warmth of home, the ritual of shared plates and the sound of vinyl.\",inAll:true},{title:\"Dingo Festival '26\",years:\"2026\",link:\"/projects/dingo-festival\",shape:\"landscape\",still:\"https://framerusercontent.com/images/nNEG48vYyVajdHIsEPv129d2o7w.webp\",motion:\"\",phoneStill:\"https://framerusercontent.com/images/m38v5fHRmbiwbD0EDYVeO3N20o.webp\",phoneMotion:ASSETS+\"9MOIAGPAzUFRa2bIFkcCsMpVCtc.mp4\",phoneAnim:\"https://framerusercontent.com/images/ssQfbTkGMNKXOezxsyb39Q3Gtk.webp\",services:\"UX/UI Design\",description:\"A pocket guide to four magic days of contemporary music and art throughout Bangalow, NSW.\",inAll:true},{title:\"Outer Bound\",years:\"2023 → 2025\",link:\"/projects/outer-bound\",shape:\"portrait\",still:\"https://framerusercontent.com/images/RfbhfeWRBLONmd5CX4pbMy7WMf4.webp\",motion:ASSETS+\"nM6vfeGTBP0RCIDPdk1ynrbWA.mp4\",anim:\"https://framerusercontent.com/images/l6w3rShUeGeGgCC1fZATdAZYTzU.webp\",services:\"Motion Graphics, Interactive Visuals, Event Curation, Print Design\",description:\"Records, coffee and late nights that reshaped the Gold Coast scene.\",inAll:true},{title:\"Ravewave\",years:\"2020 → 2024\",link:\"/projects/ravewave\",shape:\"portrait\",still:\"https://framerusercontent.com/images/iKMtEbOMlNHQyq4aQJuM3bhpzQ.webp\",motion:\"\",services:\"Poster Design, Motion Graphics, Interactive Visuals, Event Curation\",description:\"An underground music project bringing fresh sounds to the Gold Coast.\",inAll:true},{title:\"P3 Recovery\",years:\"2023 → 2025\",link:\"/projects/p3-recovery\",shape:\"landscape\",still:\"https://framerusercontent.com/images/gnhPkOimKXIpBLZxWCjvpLc9w4I.webp\",motion:\"\",phoneStill:\"https://framerusercontent.com/images/Smiy1aphHlzcpeZ8CgcpEYubCs.webp\",services:\"Apparel Design\",description:\"Eight performance focused affirmations to keep recovery moving forward.\",inAll:true},{title:\"Eufl☍ria\",years:\"2020 → 2023\",link:\"/projects/euflooria\",shape:\"landscape\",still:\"https://framerusercontent.com/images/9jRClUzN9PgWxdTL7WNs9ur0tU.webp\",motion:ASSETS+\"kHGOBNVzpBZylDexteEzIOimPJU.mp4\",anim:\"https://framerusercontent.com/images/FoKADf68wxjNkREJ6mCuEr6lKNQ.webp\",phoneStill:\"https://framerusercontent.com/images/i4PHMyMdPdEHoUpFopkoN0XdCg.webp\",phoneMotion:ASSETS+\"bsEwUEGnhMv4w8qiENK5Hsm6KNo.mp4\",phoneAnim:\"https://framerusercontent.com/images/gHfZVqpg6SO5UFTpz6af919G1s.webp\",services:\"Poster Design, Motion Graphics, Interactive Visuals, Event Curation\",description:\"An ethereal dance system built on prog, trance and dub techno with organic visuals.\",inAll:true},{title:\"Venus\",years:\"2025\",link:\"/projects/venus\",shape:\"portrait\",still:\"https://framerusercontent.com/images/8f7J6Kk1tlVAsWB65D9CV4IXI6Q.webp\",motion:ASSETS+\"laKsCncenMJBfY2Dw9VckxrIVI.mp4\",anim:\"https://framerusercontent.com/images/FAgVFTywXeKFGF2e29RgyYOKdts.webp\",services:\"Branding, Motion Graphics\",description:\"A perfume that exists between worlds, made for women who embrace being unforgettable.\",inAll:true},{title:\"The Zinc Club\",years:\"2025\",link:\"/projects/the-zinc-club\",shape:\"portrait\",still:\"https://framerusercontent.com/images/vczlRO5fezWV58KkPr6bATml44.webp\",motion:ASSETS+\"Z239t0xHQrUYYUULBpHedfI7FM.mp4\",anim:\"https://framerusercontent.com/images/lEQU4mJs5CtWxksL9dmYVhbMYcs.webp\",services:\"Branding, Motion Graphics\",description:\"A brand identity for health behind the scenes, essential and often unseen.\",inAll:true},{title:\"Daily Yolk\",years:\"2025\",link:\"/projects/daily-yolk\",shape:\"six-five\",still:\"https://framerusercontent.com/images/UizjjC9wHIq8m4yITXR250MaEI.webp\",motion:ASSETS+\"A80qJIu3zPQx3CU51zUS5ALIc.mp4\",anim:\"https://framerusercontent.com/images/333KQlbrgmVdRW8icgIu7C2YvQE.webp\",phoneStill:\"https://framerusercontent.com/images/7kDpaagEnbF3sRjit2v2YjBJPPs.webp\",phoneMotion:ASSETS+\"InmZoDADiaNr77Tu0j53SV6F55s.mp4\",phoneAnim:\"https://framerusercontent.com/images/9XP1rB4dF2oD8t9XggwUDdipig.webp\",services:\"Branding, Illustration\",description:\"An all day breakfast club made for slow mornings and good vibes.\",inAll:false},{title:\"Love Mother\",years:\"2022\",link:\"/projects/love-mother\",shape:\"six-five\",still:\"https://framerusercontent.com/images/eGN5UT1AaunW9uK9vmKLQ6jvVw.webp\",motion:ASSETS+\"yeFfIosUBzHpIyQ8Nfnj3WsFiGA.mp4\",anim:\"https://framerusercontent.com/images/fYGBAEi0qJLon2862uSBkh34X7A.webp\",phoneStill:\"https://framerusercontent.com/images/31B1cDsTGrvGLmGUrwEqXPczcI.webp\",phoneMotion:ASSETS+\"4K6UqC7ycQPLvMlE2Z59OqSe8sc.mp4\",phoneAnim:\"https://framerusercontent.com/images/4nuCQV6AJpArPsQW1yLPOh4HhpE.webp\",services:\"Branding, Illustration, Motion Graphics, UX/UI Design\",description:\"Sustainable gifting reimagined with seed paper you plant rather than toss.\",inAll:false}];WorkGrid.defaultProps={projects:PROJECTS,caption:\"years\",filter:false,spaceTop:-1,spaceBottom:-1,color:\"#401F14\"};addPropertyControls(WorkGrid,{projects:{type:ControlType.Array,title:\"Projects\",control:{type:ControlType.Object,controls:{title:{type:ControlType.String,title:\"Name\"},years:{type:ControlType.String,title:\"Year(s)\"},link:{type:ControlType.Link,title:\"Link\"},shape:{type:ControlType.Enum,title:\"Shape\",options:[\"portrait\",\"landscape\",\"six-five\"],optionTitles:[\"Portrait 4:5\",\"Landscape\",\"6:5\"]},still:{type:ControlType.File,title:\"Still\",allowedFileTypes:[\"webp\",\"jpg\",\"jpeg\",\"png\",\"avif\"]},motion:{type:ControlType.File,title:\"Video\",allowedFileTypes:[\"mp4\",\"webm\",\"mov\"]},anim:{type:ControlType.File,title:\"Fallback animation\",allowedFileTypes:[\"webp\",\"gif\",\"avif\"]},phoneStill:{type:ControlType.File,title:\"Phone still (4:5)\",allowedFileTypes:[\"webp\",\"jpg\",\"jpeg\",\"png\",\"avif\"]},phoneMotion:{type:ControlType.File,title:\"Phone video\",allowedFileTypes:[\"mp4\",\"webm\",\"mov\"]},phoneAnim:{type:ControlType.File,title:\"Phone fallback\",allowedFileTypes:[\"webp\",\"gif\",\"avif\"]},start:{type:ControlType.Number,title:\"Video start (s)\",min:0,max:60,step:.01,displayStepper:true},services:{type:ControlType.String,title:\"Services\"},description:{type:ControlType.String,title:\"Description\",displayTextArea:true},inAll:{type:ControlType.Boolean,title:\"In All\",defaultValue:true}}},defaultValue:PROJECTS},caption:{type:ControlType.Enum,title:\"Caption\",options:[\"years\",\"details\"],optionTitles:[\"Name and years (Home)\",\"Title, text, services (Works)\"]},filter:{type:ControlType.Boolean,title:\"Follow the Works filters\",defaultValue:false},spaceTop:{type:ControlType.Number,title:\"Space above\",min:-1,max:400,step:1,displayStepper:true,description:\"-1: the Home spacing\"},spaceBottom:{type:ControlType.Number,title:\"Space below\",min:-1,max:400,step:1,displayStepper:true,description:\"-1: the Home spacing\"},color:{type:ControlType.Color,title:\"Text\"},font:{type:ControlType.Font,title:\"Font\",controls:\"basic\",defaultFontType:\"sans-serif\"}});// Sizes in XD units (u = the grid's width / 3508), from GRID-SPEC.md. The\n// margin puts the grid's right edge where the hero's text box ends: the hero's\n// lead runs from 58.5% to 58.5% + 7.88em at clamp(30px, 3.9vw, 68px). Inside\n// a padded container (the Works page's Main) the margins are measured from\n// the window instead (fitMargins), so the grid lines up the same on every page.\nconst CSS=`\n.wg { container-type: inline-size; position: relative; box-sizing: border-box; }\n.wg-grid {\n  --m: max(16px, calc(41.5cqw - 7.88 * clamp(30px, 3.9cqw, 68px)));\n  --ml: var(--m); --mr: var(--m);\n  --u: calc((100cqw - var(--ml) - var(--mr)) / 3508);\n  --gap: calc(500 * var(--u));\n  --cap-gap: 8px;\n  --wg-auto: clamp(64px, calc(41.5px + 5.72cqw), 128px);\n  display: flex; flex-direction: column; row-gap: var(--gap);\n  padding: var(--wg-top, var(--wg-auto)) var(--mr) var(--wg-bottom, var(--wg-auto)) var(--ml);\n}\n@container (min-width: 1512px) {\n  .wg-grid { --wg-auto: calc(100cqw / 151.2 * 12.8); --cap-gap: calc(100cqw / 151.2 * 0.8); }\n  .wg-cap:not(.wg-cap-details) { font-size: 0.926cqw; }\n}\n.wg-row { display: flex; justify-content: space-between; align-items: flex-start; --H: calc(var(--h) * var(--u)); }\n.wg-row.wg-solo { justify-content: flex-start; }\n.wg-card { display: block; flex: none; width: calc(var(--a) * var(--H)); color: inherit; text-decoration: none; }\n.wg-media { position: relative; aspect-ratio: var(--a); overflow: hidden;\n  background: color-mix(in srgb, currentColor 6%, transparent); }\n.wg-media img, .wg-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;\n  transition: opacity .25s ease, transform .7s cubic-bezier(0, 0, .2, 1); }\n/* the video sits under the still, always showing, and the still fades off it\n   once it plays (a hidden video can be refused playback) */\n.wg-card.is-playing .wg-media .wg-still { opacity: 0; }\n.wg-media .wg-anim.is-out { opacity: 0; }\n.wg-card:hover .wg-media img, .wg-card:hover .wg-media video { transform: scale(1.05); }\n.wg-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 16px;\n  margin-top: var(--cap-gap); font-size: 14px; line-height: 1.3; letter-spacing: -0.01em; }\n.wg-meta { opacity: .5; text-align: right; white-space: nowrap; }\n.wg-cap-details { display: block; margin-top: 20px; }\n.wg-title { margin: 0; font: inherit; font-size: 14px; line-height: 1.4; letter-spacing: -0.04em; text-transform: uppercase; font-weight: 400; }\n.wg-desc { margin: 12px 0 0; font-size: 12px; line-height: 1.3; letter-spacing: -0.04em; }\n.wg-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }\n.wg-tag { font-size: 11px; line-height: 1.3; letter-spacing: -0.04em; padding: 5px 10px; border: 1px solid currentColor; border-radius: 50px; white-space: nowrap; }\n/* a tall window (a tablet held upright): the hero stacks its text with 16px\n   edges, so the grid does too */\n@media (max-aspect-ratio: 9/10) { .wg-grid { --m: 16px; } }\n/* phones: one column, every tile a full-width 4:5 portrait (Joey, 22 Nov);\n   data-wide: a padded container on a wider window keeps two, as Home does at\n   that width */\n@container (max-width: 767px) {\n  .wg-grid:not([data-wide]) { --m: 16px; --gap: max(40px, calc(500 * var(--u))); }\n  .wg-grid:not([data-wide]) .wg-row { flex-direction: column; row-gap: var(--gap); }\n  .wg-grid:not([data-wide]) .wg-card { width: 100%; }\n  .wg-grid:not([data-wide]) .wg-media { aspect-ratio: 4 / 5; }\n}\n@media (prefers-reduced-motion: reduce) { .wg-media img, .wg-media video { transition: none !important; } }\n`;const clamp01=x=>Math.min(1,Math.max(0,x));function run(section,canvas){const root=document.documentElement;// phones load the phone versions (picture and video sources), so their\n// fallback is the phone one too\nconst phone=matchMedia(PHONE).matches;const cards=[...section.querySelectorAll(\".wg-card\")].map(a=>({a,media:a.querySelector(\".wg-media\"),// a phone-only video (Dingo) has no source on desktop: a still there\n    v:a.dataset.video===\"phone\"&&!phone?null:a.querySelector(\"video\"),anim:phone&&a.dataset.animPhone||a.dataset.anim||\"\",animEl:null,wanted:false,start:parseFloat(a.dataset.start)||0,op:1,resetT:0}));const undo=[];const on=(t,ev,f,opt=undefined)=>{t.addEventListener(ev,f,opt);undo.push(()=>t.removeEventListener(ev,f,opt));};if(canvas)return()=>undo.forEach(f=>f());// Inside a padded container the grid is narrower than the window: measure\n// its margins from the window, as on Home, so the tiles land in the same\n// place on every page.\nconst grid=section.querySelector(\".wg-grid\");const fitMargins=()=>{const r=section.getBoundingClientRect();const W=document.documentElement.clientWidth;const inL=Math.max(0,r.left);const inR=Math.max(0,W-r.right);if(inL<1&&inR<1){grid.style.removeProperty(\"--ml\");grid.style.removeProperty(\"--mr\");grid.removeAttribute(\"data-wide\");return;}grid.toggleAttribute(\"data-wide\",W>=768&&r.width<768);const tall=innerWidth/innerHeight<.9;const m=W<768||tall?16:Math.max(16,.415*W-7.88*Math.min(68,Math.max(30,.039*W)));grid.style.setProperty(\"--ml\",Math.max(0,m-inL)+\"px\");grid.style.setProperty(\"--mr\",Math.max(0,m-inR)+\"px\");};fitMargins();const ro=new ResizeObserver(fitMargins);ro.observe(section);undo.push(()=>ro.disconnect());on(window,\"resize\",fitMargins);const reduce=matchMedia(\"(prefers-reduced-motion: reduce)\").matches;const touchMode=new URLSearchParams(location.search).has(\"touch\")||!matchMedia(\"(hover: hover) and (pointer: fine)\").matches;// A browser that refuses to start the video gets the Fallback animation\n// (an animated WebP) instead: iPhones refuse without a tap in some states\n// (Low Power Mode, which stopped the videos on Joey's phone, 22 Nov), and\n// images aren't held to that. Otherwise phones play the video too, for its\n// frame rate (Joey, 22 Nov). The image is added over the still while its\n// tile plays and removed after, so it starts from its first frame each time.\n// Once one video is refused the rest will be, so from then on the tiles go\n// straight to their animation.\nlet refused=false;const showAnim=c=>{if(c.animEl||!c.anim)return;const im=document.createElement(\"img\");im.className=\"wg-anim\";im.alt=\"\";im.setAttribute(\"aria-hidden\",\"true\");im.decoding=\"async\";im.src=c.anim;c.media.appendChild(im);c.animEl=im;};const hideAnim=c=>{const im=c.animEl;if(!im)return;c.animEl=null;im.classList.add(\"is-out\");// emptied, not just removed: browsers restart an animated image only\n// once nothing holds it, and a removed element still does until it's\n// collected\nsetTimeout(()=>{im.removeAttribute(\"src\");im.remove();},300);};// once videos are refused, each animation is fetched ahead while its tile\n// is within a screen of the window, so it starts the moment its tile\n// reaches the middle; let go once loaded (a held image wouldn't restart)\nconst warmed=new Set;const warm=c=>{if(!c.anim||warmed.has(c.anim))return;warmed.add(c.anim);const p=new Image;p.decoding=\"async\";p.onload=p.onerror=()=>{p.onload=p.onerror=null;p.removeAttribute(\"src\");};p.src=c.anim;};// at rest a tile is its still; the video under it shows once it plays\nconst play=c=>{if(reduce)return;c.wanted=true;if(!c.v||refused&&c.anim)return showAnim(c);clearTimeout(c.resetT);c.v.play().catch(e=>{const why=e&&e.name;// interrupted by a pause (the tile was left): nothing to do\nif(why===\"AbortError\")return;if(why===\"NotAllowedError\")refused=true;if(c.wanted)showAnim(c);});};const stop=c=>{c.wanted=false;hideAnim(c);if(!c.v)return;c.v.pause();c.a.classList.remove(\"is-playing\");clearTimeout(c.resetT);// back to the start once the still has faded back over it\nc.resetT=setTimeout(()=>{try{c.v.currentTime=c.start;}catch(e){}},300);};for(const c of cards){if(c.v){const toStart=()=>{if(c.start)try{c.v.currentTime=c.start;}catch(e){}};if(c.v.readyState>=1)toStart();else on(c.v,\"loadedmetadata\",toStart,{once:true});on(c.v,\"playing\",()=>{if(c.wanted)c.a.classList.add(\"is-playing\");});undo.push(()=>clearTimeout(c.resetT));}if(touchMode)continue;on(c.a,\"mouseenter\",()=>play(c));on(c.a,\"mouseleave\",()=>stop(c));}// only work while the section is near the window\nlet near=true;const io=new IntersectionObserver(es=>{near=es[0].isIntersecting;},{rootMargin:\"50% 0px\"});io.observe(section);undo.push(()=>io.disconnect());let raf=0;let touchTick=0;let playingTouch=null;const tick=now=>{raf=requestAnimationFrame(tick);if(!near)return;const vh=innerHeight;const fade=root.dataset.theme===\"dark\"&&!reduce;for(const c of cards){// the tile fade, dark mode only\nlet target=1;if(fade){const top=c.media.getBoundingClientRect().top;const fin=clamp01((.943*vh-top)/(.34*vh));const fout=clamp01((top+.383*vh)/(.508*vh));target=Math.min(fin,fout);}c.op+=(target-c.op)*(fade?.12:1);if(Math.abs(target-c.op)<.002)c.op=target;c.media.style.opacity=c.op.toFixed(3);}// touch screens: the tile nearest the middle of the window plays\nif(touchMode&&now-touchTick>250){touchTick=now;let best=null,bestD=Infinity;for(const c of cards){if(!c.v&&!c.anim)continue;const r=c.media.getBoundingClientRect();// within a screen of the window: load ahead, so it starts\n// straight away (the video, or once refused, the animation)\nif(r.top<2*vh&&r.bottom>-vh){if(refused){if(c.anim)warm(c);}else if(c.v&&c.v.preload!==\"auto\")c.v.preload=\"auto\";}if(r.bottom<0||r.top>vh)continue;const d=Math.abs(r.top+r.height/2-vh/2);if(d<bestD){bestD=d;best=c;}}if(best!==playingTouch){if(playingTouch)stop(playingTouch);playingTouch=best;if(best)play(best);}}};raf=requestAnimationFrame(tick);undo.push(()=>cancelAnimationFrame(raf));return()=>{for(const c of cards){if(c.v)c.v.pause();if(c.animEl)c.animEl.remove();}undo.forEach(f=>f());};}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"WorkGrid\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerIntrinsicWidth\":\"1200\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./WorkGrid.map"],"mappings":"A,mNA0CG,SAAwBgB,EAAS,EAAM,CAAC,IAAMC,EAAKjB,EAAO,IAAI,EAAQkB,EAAON,EAAa,QAAQ,IAAIA,EAAa,OAAY,CAACO,EAAQC,GAAYnB,MAAaoB,EAAM,OAAOC,EAAY,EAAE,IAAI,EACnMb,MAAc,CAAC,GAAG,CAACY,EAAM,QAAQH,EAAO,OAAO,IAAIK,EAAK,SAAS,OAAOH,EAAWE,EAAY,CAAC,EAAE,IAAME,EAAG,gBAAgB,CAAI,SAAS,SAASD,IAAM,EAAK,SAAS,OAAOH,EAAWE,EAAY,CAAC,EAAG,EAAE,GAAG,EAAE,UAAU,cAAcE,CAAE,CAAE,EAAE,CAACH,EAAM,OAAOH,CAAM,CAAC,EAEjQ,IAAIO,EAAO,KAAK,GAAG,CAAC,IAAMC,EAAO,OAAOxB,GAAsB,WAAWA,EAAoB,EAAE,KAAWyB,EAAED,GAAQA,EAAO,sBAAsBA,EAAO,qBAAqB,QAAQ,EAAO,OAAOC,GAAI,UAAUA,EAAE,KAAK,EAAEA,EAAE,KAAK,EAAE,IAAK,MAAS,CAAC,CAAC,IAAMC,EAAOP,EAAM,OAAOI,GAAQN,EAAQ,KAAWU,GAAKR,EAAM,UAAU,CAAC,EAAA,CAAG,IAAIS,CAAI,EAAQC,EAAOH,EAAOA,EAAO,YAAY,EAAE,KAAWI,EAAMH,EAAI,OAAO,GAAGE,EAAOE,EAASC,CAAC,CAAC,CAAC,KAAK,GAAGC,EAAE,YAAY,IAAIJ,CAAM,EAAEG,EAAE,QAAQ,EAAK,EAAQE,EAAK,CAAC,EAAE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