The challenge
The site told its story as you scrolled. There was a full-width hero, a 3D sphere that followed you down the page before locking into place, and content cards that shrank and stacked as you passed them. Visitors loved it. Editing it was another story. Much of the content lived in raw HTML blocks, every piece of text was buried under layers of nested page-builder elements, the animation code sat in a plugin as thousands of lines of custom CSS, and a custom cursor hid the visitor’s own pointer. The first Semrush audit after I took it over reported 80% site health, 12 errors and 97 warnings: missing meta tags and h1 tags, missing alt text, unminified code and old URLs returning 404.
The goal: turn it into something the team could maintain and edit, keep the look and the best of the motion, and fix what the audit found without paying for it in page speed.
A year later, keeping my eye on the ball (performance)
The homepage had carried a video highlight reel since September 2024, showing off the business and its plans to grow. In 2025 I went back to it. Video is about the heaviest thing you can put on a page, and the site was already softer on phones than I liked: mobile performance on the live site was as low as 37, and best practices as low as 57.
First, the video itself. At 1080p it pulled 218MB once it started playing. A first round of compression got that down to 20MB, and further compression got the final cut to about 3.3MB. Even at under 2% of its original size, there’s no reason to load it until the user requests it: the page showed a static poster, and the video was lazy-loaded when someone actually hit play. Then I tightened up the rest of the design to make room for the extra weight. I did all of it on the dev site and measured as I went: over about four weeks and 200+ PageSpeed runs across nine pages, mobile performance climbed from as low as 33 to as high as 100, and accessibility finished at 100 on every page.
The single biggest win wasn’t the video at all. The homepage’s 3D sphere was a Spline scene, loaded through Spline’s own viewer, and that viewer was quietly sinking the page. On August 22, just removing it took mobile performance on the dev site from 46 to 99 in a single run. So I rebuilt the sphere from scratch in Three.js/WebGL: it looked the same, loaded a fraction of the code, and calmed down for anyone with prefers-reduced-motion turned on.
The old sphere shipped Spline’s entire 2.1MB viewer (plus the scene file), and that viewer was built to pull extra runtime and WebAssembly modules from unpkg.com on demand, some of them several megabytes on their own. The rebuild was a 1.5KB script on top of the standard Three.js library: one well-cached request of about 166KB compressed from jsDelivr.
The deploy got the same treatment: a baseline that morning, a run right after the deploy, another after switching on NitroPack, a caching and optimization plugin, and a follow-up that afternoon to make sure it stuck. Mobile performance went from a morning low of 37 to as high as 100 that afternoon, with 100s for accessibility, best practices and SEO, and a clean sweep of 100s on desktop. Credit where it’s due: NitroPack did the heavy lifting on mobile. Even with the new video on board, the homepage came out of it better and faster than it went in.
It held up afterward. A PageSpeed run on September 29, 2026 came back with a perfect 100 in all four categories on both mobile and desktop (screenshots below). Mobile performance still wobbled a few points between runs, which was just how Lighthouse worked. NitroPack has been paused since the site changed hands, so a run today may differ.