loading
← Back to Projects
Studio Website / Design & Development

WebRift

I designed my studio site from scratch, with no framework and no page builder. Plain HTML, CSS and vanilla JavaScript with GSAP animations and custom interactions, rendered to static pages by a small build script. The design and the code are mine.

Role
Design & Code
Type
Static Site
Framework
None
Live
View Live Site →
01

The Build

The site for my own studio, so it had to do two jobs at once: sell the work, and be the work. A brochure built on a framework I would have to keep upgrading proves nothing.

The pages are written as JavaScript modules and rendered to static HTML by one short script, scripts/build.mjs. The libraries (GSAP, ScrollTrigger, Lenis, Lottie) are served from the site itself, not from a CDN. No bundler and no framework.

Source
Page modulescontent and layout written in JavaScript, one module per page group
CSScustom properties, layered by concern
Browser JavaScriptplain scripts, nothing to bundle
Runtime
One rAF clockGSAP ticker drives Lenis, Lenis updates ScrollTrigger
Deploy
Static filesthe built HTML is committed and served as it is
Self-hosted librariesGSAP, ScrollTrigger, Lenis, Lottie; nothing from a CDN
One build scriptCI rebuilds it and fails if the committed output differs
02

Engineering Decisions

01

A small build script, not a framework

Constraint

A studio site I alone maintain, and will still be editing years from now between client projects.

Decision

Pages are JavaScript modules in src/, rendered to plain HTML by one short script. The output is committed, so what is in the repository is exactly what the browser runs. No bundler, no framework.

Trade-off

The build script is one more thing to keep working, and the committed HTML has to match the source. In exchange there is no framework to upgrade and no runtime dependency graph, and every library is a pinned copy served from the site.

02

Motion that gets out of the way

Constraint

The site is scroll-driven throughout. For anyone with vestibular sensitivity that is not a flourish, it is a reason to close the tab.

Decision

Every animation sits behind a reduced-motion check in both the stylesheet and the script. Those users land on the finished state immediately rather than on a half-played animation.

Trade-off

Two paths to keep in step, and it is genuinely easy to add an effect and forget the guard. The alternative is a site that excludes people, which is not a trade I was willing to make.

03

One clock for scroll and animation

Constraint

Smooth scrolling takes ownership of the scroll position, while the animation library reads that position to drive timelines. Left alone, they disagree.

Decision

A single animation frame loop: the GSAP ticker drives Lenis, and Lenis reports back to ScrollTrigger. One source of timing for the whole page.

Trade-off

The two libraries are now coupled, so upgrading either means re-testing the handshake. Two independent frame loops produce drift that only shows up on slow devices and is miserable to debug.

03

Stack

Markup
HTML5
Styling
CSS3
Logic
Vanilla JavaScript
Animation
GSAP + ScrollTrigger
Scroll
Lenis
Fonts
Google Fonts
Methodology
BEM + CSS Variables
Responsive
Mobile-First