(()=>{ const rng=seed=>()=>{seed=(seed*1664525+1013904223)>>>0;return seed/4294967296}; const jit=rng(31); const jitter=()=>`translate(0 ${((jit()-.5)*9).toFixed(1)}) rotate(${((jit()-.5)*7).toFixed(1)} 20 100) scale(1 ${(.94+jit()*.1).toFixed(3)})`; const BRUSH=window.brushTable({}); document.querySelectorAll(".team__brush").forEach((svg,n)=>{ let cx=0,h=""; [...svg.dataset.word].forEach((ch,i)=>{const g=BRUSH[ch],t=`translate(${cx} 0) ${jitter()}`;h+=``;cx+=g.w+16}); svg.setAttribute("viewBox",`-24 -6 ${cx-16+48} 118`);svg.setAttribute("role","img"); svg.innerHTML=`${h}`; }); const io=new IntersectionObserver(es=>es.forEach(e=>{if(e.isIntersecting){e.target.classList.add("team--play");io.unobserve(e.target)}}),{threshold:.3}); document.querySelectorAll("[data-team]").forEach(s=>io.observe(s)); })();