This site is an Astro project that produces static HTML. There is no client framework or router. Small scripts update the Lisbon clock and move the project strip when you press its arrows; CSS handles the image reveals and responsive layout. Geist is bundled locally through Fontsource.
The Constraint Came First
I had a previous version with a WebGL fluid canvas, a GSAP intro sequence, a preloader and scroll choreography. It was fun to build and I deleted all of it.
Motion is not the same thing as craft. A site that makes you wait through an entrance animation before showing you a paragraph has decided its own cleverness matters more than your time. The interactions I kept help you browse the work: images reveal on hover, other cards dim, and the strip scrolls with its arrows. On touch devices the images are visible from the start.
Content Is Data, Not Markup
Everything you can read on this site lives in src/content/ as YAML and Markdown. The schemas that describe it live in src/content.config.ts, written with Zod, and Astro validates the content against them at build time.
This matters more than it sounds. A missing field, a mistyped date, a URL that is not a URL — the build fails, loudly, on my machine. The alternative is finding out from a blank space on a page someone else is looking at.
It also caught a real bug. getCollection() returns entries sorted by id, not in the order they appear in the file. My education section was rendering alphabetically instead of reverse-chronologically, and it looked plausible enough that I nearly missed it. Every collection whose sequence carries meaning now declares an explicit order.
One Theme
The page is white, with near-black Geist type and light grey rules. A fluid split hero introduces the page; longer text sits beside a small section label. The homepage, case studies, writing and CV share these tokens and components. There is no dark mode or theme script.
Small Scripts, Native Navigation
The project strip uses native horizontal scrolling and CSS scroll snap. Its arrow buttons scroll by 80% of the strip width. Hover and keyboard focus reveal images through CSS, without a pointer-tracking loop. Reduced-motion preferences disable transitions and smooth scrolling.
The Lisbon clock refreshes every 30 seconds using the Europe/Lisbon time zone. Links between pages load ordinary static documents. Without JavaScript, the content and links remain available, and the project strip can still be scrolled.
What I Would Tell You to Steal
Put your content in files with a schema. Let the build fail. Ship less JavaScript than you think you need, and then ship less than that.