Accessibility settings

Changes apply right away and are remembered in this browser. Until you choose otherwise, motion follows your device's setting.

Motion
Text size
Reading

Apti Corporate Website (hiapti.com)

Apti builds emotionally engaging, experiential training, and its corporate site, hiapti.com, is a real looker. The catch? It arrived as one long homepage built by an outside agency on a commercial theme and page builder, and every change meant digging through layers of nested elements and raw HTML. I rebuilt it as a custom WordPress theme and block library, grew it into a full multi-page site, and after a dedicated speed pass it scored a perfect 100 in all four Google PageSpeed categories, on desktop and mobile.

The site changed hands in November 2026 and has been updated since. Some of what is described here, such as the brand timeline, is no longer on the live site.

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.

What I built

Rebuilt in layers, not in one leap

I started with the single-page design, rebuilt as a custom theme so nothing broke and it was easier to edit and maintain. Then came the blog and its SEO, a full multi-page site, the block library, and a series of performance and accessibility passes. Doing it in layers meant the site stayed live and measurable the whole time.

  • WordPress
  • Git
  • Project Management

A block library that doubles as a design system

I rebuilt the site as a custom WordPress theme with 16 Gutenberg blocks and a few editor extensions. Every section of the original design became a reusable, guard-railed block, so non-developers could build brand-new pages that still looked unmistakably Apti.

  • WordPress
  • Gutenberg
  • JavaScript

Cards that stack themselves

Those shrinking, stacking cards were a tag team. The sticking was pure CSS (position: sticky), so each card pinned in place without any JavaScript at all. The shrinking was JavaScript, scaling each card based on scroll position as the next one slid over it. Letting CSS handle the part it’s great at kept the script small and the scrolling smooth.

  • CSS
  • JavaScript
  • Sass

Carousels that fit the space

Every carousel on the site ran on Slick, set up to fit whatever room it had. Carousels worked out how many slides fit the current width, hid their arrows when everything already fit, and rebuilt themselves when the window resized. The awards and customer logos scrolled as continuous marquees in opposite directions, and case-study sliders only switched on at 800px and below, where the content stopped fitting side by side.

  • JavaScript
  • jQuery
  • Responsive Web Design

A brand timeline I’m still proud of

Later in the project I added an animated brand timeline to the About page as one more block in the library: six circles marking key years and events along a horizontal line. It was never part of the original site, and it has since come off the live site, so the screenshot in the gallery at the top of this page is the only record of it.

  • CSS
  • JavaScript

Only load what you need

Scripts and styles loaded per block and per page, only when they were needed. The single biggest win was loading a hefty third-party SDK on demand instead of up front, which wiped about 2.7 seconds of main-thread blocking off the homepage. An automatic WebP pipeline with responsive sizes for each component kept images nice and small too. Later, swapping a third-party form embed for a local form, with Cloudflare Turnstile guarding it, took another round of scripts off every page.

  • Performance Metrics
  • Image Optimization
  • Google PageSpeed

An accessibility audit with a paper trail

In November 2025 I ran a Section 508 audit as a test matrix: 62 checks, each with a result and, for every failure, a note and a fix. The failures were specific and fixable, like a video that wasn’t keyboard accessible, a decorative canvas with no accessible name, and a skip link that opened a new tab. The audit turned “is it accessible?” into a checklist with a status beside every item.

  • Accessibility
  • Section 508
  • WCAG

Retiring a bad idea

The original site hid the visitor’s own cursor and replaced it with two animated dots that tracked the mouse on every frame. I kept losing the cursor myself while browsing, and it cost performance every moment the page was open. I made the case for retiring it on accessibility and performance grounds. There was no clever way to do it better, because the idea itself was the problem.

  • Accessibility
  • Performance Metrics
  • JavaScript

Moving the old domain’s URLs across

The company’s old domain had years of pages and blog posts. I wrote a redirect strategy first, in August 2025, then put 254 permanent redirects in place that September, 183 of them to the blog, so links and search traffic found the right new page. Titles, meta tags, a 404 page and the headers search engines read got the same attention.

  • Redirect Strategy
  • SEO

A security policy that actually ships

Marketing sites collect third-party scripts like fridge magnets. I hand-rolled a nonce-based Content-Security-Policy and HSTS header covering 15+ integrations, and sorted out a caching plugin that was sneaking in its own conflicting security headers.

  • Content Security Policy
  • Security Audits

Marketing tools as tidy plugins

The ABM and analytics tools (6sense, ZoomInfo, RB2B, LinkedIn Insight) each lived in a small custom plugin that only switched on in production. There was also a custom blog subscription built on Mailchimp’s Marketing and Transactional APIs, including a Composer-level patch to get their SDK working on PHP 8.

  • Marketing Tech/ABM
  • Mailchimp API
  • PHP

A workflow worth copying

Git-based deploys to WP Engine, a DDEV local setup with a custom “pull production” command, and a Grunt/Sass build. It worked well enough that it became the template for the company’s other marketing sites.

  • DDEV
  • Git
  • Grunt
  • Sass

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.

Google PageSpeed Insights report for https://hiapti.com/ from September 29, 2026, Mobile tab: 100 for Performance, Accessibility, Best Practices and SEO.
Mobile: 100 in every category
The same PageSpeed Insights report from September 29, 2026, Desktop tab: 100 for Performance, Accessibility, Best Practices and SEO.
Desktop: 100 in every category

Google PageSpeed Insights, a single run on September 29, 2026.

Looking back

Measure before changing anything, log every run, and fix the biggest cost first. Removing one heavy script mattered more than a week of small tweaks.

Stack & skills

  • WordPress
  • Gutenberg
  • PHP
  • Three.js
  • Sass
  • Grunt
  • WP Engine
  • DDEV
  • CSS
  • Slick
  • NitroPack
  • Semrush
  • Cloudflare Turnstile
  • JavaScript
  • WebGL
  • Google PageSpeed
  • Performance Metrics
  • Accessibility
  • Content Security Policy
  • Image Optimization
  • Mailchimp API
  • Marketing Tech/ABM
  • Section 508
  • WCAG
  • Redirect Strategy