Índigo Coffee
Sell the blue hour, not just the coffee.

- Problem
- Índigo Coffee roasts before dawn and sells that atmosphere, the blue hour, as much as the coffee. That hour had to come across in a four-page static site, with no backend and no product photo shoot.
- Design decision
- Make the scroll the sunrise. Instead of illustrating the blue hour, the page passes through it: the background travels through the brand's six colors from night to dawn as you scroll down, and the ink flips from paper to black when the background lightens.
- Technique
- A sunrise interpolated by scroll. A ramp function interpolates between six brand color stops based on scroll progress. It drives the background, the text color, the axes of the Fraunces variable font and a clock that moves from 04:00 to 06:45, labeled farm, blue hour and sunrise.
- Expected result
- The atmosphere is generated with CSS and canvas, not assets. The spinning coffee bag is a procedural 2D canvas, with no 3D library and no image sequence, so the site weighs what its photos weigh and nothing more.
Lighthouse · mobile
Lighthouse 13 on mobile, median of three runs · September 2026.
How it was made
A single scroll listener drives everything, throttled with requestAnimationFrame and an epsilon guard that discards redundant frames. The bag is drawn entirely in 2D canvas: the rotation angle works out the visible face, the lit edge's gradient uses its own light-temperature ramp, and the batch label only appears when the face is head-on. The nav and footer of all four pages are injected from a single array in layout.js, which also marks the active page. The form opens WhatsApp with the message pre-filled instead of relying on a backend. The tour photos are served in WebP with lazy loading and the videos don't download until they're close to the viewport: the initial load dropped from 11 MB to under 200 KB.