Exhibit
A plaster-and-slate gallery page that opens on a full-viewport scene of layered partition walls, a ghost word and a salon hang of framed pictures on wires, then hangs every post, project and pattern as a lit frame with a placard.
Paste this into an agent to rebuild the whole page from scratch.
Build a personal blog page as a contemporary gallery. It opens on a full-viewport scene made of flat planes at different depths (an outlined ghost word on the back wall, two partition walls, a hung group of framed pictures, the title block and a floor) that drift apart with the pointer and part as the page scrolls. Below it every article, project and pattern hangs as a framed, lit piece with a small placard, on walls that alternate between two plaster tones. The two things that make it work are the single `--depth` number that drives all the parallax and the one frame-plus-placard component used for every kind of content; keep the rest quiet, with no gradients on surfaces, no backdrop blur and no rounded cards.
Lay content out in a wrap of `min(1240px, 100%)` with a gutter of `clamp(16px, 4vw, 48px)`. Sections are walls with `clamp(72px, 10vw, 128px)` of vertical padding; every second wall takes the alternate tone plus an inset seam shadow (`inset 0 26px 30px -30px` top and bottom) and each carries a huge outlined room numeral (`01`, `02`…) in its top right corner at `clamp(8rem, 20vw, 18rem)`, drawn with a 1.5px text stroke and transparent fill. A wall head is a small uppercase label, a heading and an optional link on the right. Card grids are three equal columns with gaps of `clamp(48px, 6vw, 72px)` by `clamp(24px, 3.4vw, 48px)` (two and four column variants exist), and in the staggered variant every even piece gets `margin-top: 36px` so the row reads as a hang, not a table. Calls to action are full-width painted accent walls in the brand slate with a white button.
Use system fonts only: `-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif` for everything people read and `ui-monospace, 'SF Mono', Menlo, Consolas, monospace` for chips, code and typographic plates. Body text is 17px at 1.6 line height and article prose is 18px at 1.7, capped at 40rem. The scene headline is `clamp(2.5rem, 5.4vw, 4.75rem)` at weight 750 with `-0.04em` tracking and 1.02 line height; wall headings are `clamp(1.9rem, 3.6vw, 3rem)`. Only labels, dates, chips and captions drop to 13px, set uppercase with `0.1em` to `0.14em` tracking; descriptions on placards stay at body size.
The daylight theme is plaster and slate with one brass accent: walls `#f0f0ec` and `#e5e7e5`, partitions and mats `#fbfbf9`, floor `#d4d8d9` to `#c3c9cc`, ink `#121a24`, body text `#2b3746`, muted `#55616f`, action and accent wall `#364f6a` (hover `#4a6d8c`), brass `#80530e` for labels and focus rings, and `#d9a04a` for lamp light. The evening theme, set with `data-theme="dark"` on the root and chosen from the stored preference or `prefers-color-scheme`, turns the walls to `#0f151c` and `#141c25`, surfaces and partitions to `#1a242f`, frames to `#0a0f15` with `#293644` mats, text to `#e9eef4` and `#c0cad6`, actions to `#94b5d8` and brass to `#e8b96f`. Shadows are two layers of ink at 12% and 28% (black at 35% and 60% in the evening). Wrap every storage read and write in try/catch so the toggle still works where storage is blocked.
The navigation is a fixed opaque pill 16px from the top, centred, with a 1px border and a soft drop shadow: a square framed `Aj` mark and wordmark, six links with 44px targets, and a round theme button. Each link has a 3px brass bar under it with a 10px glow that sits at `opacity: 0` and `scale: 0.3 1` and switches on over 260ms for the link whose section is in view; work that out on scroll by taking the last section whose top has passed 40% of the viewport height. Below 860px the links move into a disclosure sheet under the pill and the bar becomes a lit left edge.
Build the opening scene as a grid container of `min-height: 100svh` with `overflow: clip` and a vertical wall gradient, padded `128px` top and `108px` bottom. Give every plane a class that sets `--depth`: the ghost word `-0.7`, the right partition `0.3`, the left partition `0.65`, the main picture `1.15`, and the title block, placard and floor `1.7`. One rule turns depth into pointer travel, `translate: calc(var(--pointer-x, 0) * var(--depth) * -18px) calc(var(--pointer-y, 0) * var(--depth) * -12px)` with a 320ms ease-out transition, where a script writes `--pointer-x` and `--pointer-y` from -1 to 1 on `pointermove` (throttled with `requestAnimationFrame`, fine pointers only). One keyframe turns it into scroll travel: `to { transform: translate3d(0, calc(var(--depth) * -120px), 0) scale(calc(1 + var(--depth) * 0.04)) }`, run with `animation-timeline: scroll(root block)` and `animation-range: 0 100svh`. Put that inside `@supports (animation-timeline: scroll())` inside a `prefers-reduced-motion: no-preference` query, and define only the end state so the resting layout is the fallback; a browser without scroll timelines shows the composed scene, static. The stage is a two-column grid of `5fr 7fr`: title, lede, three stat figures and actions on the left, and on the right a salon hang of three columns `1fr 2.5fr 1fr`, a large portrait flanked by four small framed pictures that link to the sections, the right pair pushed down by 18%. Hang each column's top frame from two 1px wires at 22% and 78% of its width running up out of the scene. Later sections can open with the same scene (a second one for projects, and a stacked single-column version at `min(1040px, 100%)` for an article with its banner hung under the title); give those their own `view-timeline` and run the same keyframe over `exit 0%` to `exit 100%` so they part as they leave.
The frame is one component: a 10px border in ink as the moulding, 14px of mat padding, an inset 1px lip and an inner shadow, and a cast shadow of `0 22px 30px -14px`. A slim variant uses 6px and 6px, a grand one 14px and `clamp(12px, 2vw, 26px)`. Card frames hold a fixed 3:2 opening (2.38:1 for banner art) with `object-fit: contain`, so the mat absorbs odd ratios and nothing is cropped. Work without an image gets a typographic plate: a keyword in bold mono on slate with a 24px grid of faint white lines; pattern cards get a small abstract SVG study on dark slate with one brass mark. Above each frame draw a picture light, a 6px bar 34% wide, and a radial cone of warm light over the top of the frame whose opacity is a `--lamp-level` variable: 0 in daylight, 0.75 in the evening, and 1 on hover or focus, when the frame also lifts 5px and its shadow deepens. The placard replaces the card body: a white panel with a 1px border, offset 12% from the left so it sits low and to one side, holding an eyebrow (collection in brass, date), a 20px bold title, a body-size description and optional mono chips.
After the home walls (three featured posts, a row of four with plates, the accent wall), follow with a featured project as a grand frame beside a large statement and a figures table whose hairlines are a 1px grid gap; a writing wall with pill filters that hide pieces by collection; a staggered fiction series where unpublished parts are plates; five numbered principle cards on a six-column grid (three spanning two, two spanning three); and three plain panels beside a small framed photo. The article treatment is a numbered guide strip of in-page links with a scroll-spy brass underline, then prose with a slate callout, figures hung in lit frames with a small `Fig. 1` label at the lower right, block quotes as white panels with a large brass quote mark, and a 4px brass reading-progress bar fixed at the top that grows on a view timeline of the article and is absent outside it. The pattern treatment is a tabbed panel (Preview, HTML, CSS, JavaScript, Prompt) with a copy button, showing a hairline stat strip whose tiles also work as `aria-pressed` filters for a list, then a library wall with a search field, category pills, a sort select, a live count and an empty state. Close with three panels (links, projects, newsletter form) and a four-column footer.
Motion is short and tied to the hang. On load the scene's frames drop onto their wires from 46px above with a -1.4 degree tilt over 620ms on `cubic-bezier(0.25, 1.35, 0.45, 1)`, staggered 60 to 260ms, while the title rises 18px over 420ms; use `animation-fill-mode: backwards` so everything is visible if the animation never runs. A diagonal shaft of light drifts across the back wall over 16 seconds, alternating. Pieces rise 54px and scale from 0.955 as they enter on a `view()` timeline over `entry 0%` to `entry 70%`, and the room numerals drift from 70px to -90px across `cover`; all of it sits behind the same `@supports` and motion queries. Under `prefers-reduced-motion: reduce` remove the pointer translate, the scroll effects and smooth scrolling. At 1080px the grids drop to two columns and the panel rows to one; at 860px the scene stacks with the portrait above the four small frames in two columns and the wires hidden; at 640px everything is a single column, the stagger is removed and the placard offset shrinks to 6%. Nothing may scroll sideways at 400px. Do not add tilt, blur or more than the one brass accent, and do not let the parallax offsets grow past these values; the planes should separate, not swim.
One self-contained file: markup, styles and scripts together.
Loading the page source…
Combines the home page's salon-hang scene and walls with one signature section from each other page: the projects scene and featured project, the writing wall with its collection filter, the fiction series, the proverbs and Beyond Code panels, the article treatment (stacked scene, guide strip, framed figures, reading progress) and the pattern panes and library. The design rests on one depth value per plane driving both pointer and scroll parallax, and on one frame, picture-light and placard component used for every kind of work.
Sections, top to bottom
- Salon hang home scene
- 01 Start here: three posts
- 02 Digital Garden row with typographic plates
- Work with me accent wall
- Projects scene: Things I've Built
- 03 Featured project: UI Pattern Library
- 04 Open source hang
- 05 Writing wall with collection filter
- 06 I, AI short stories
- 07 Five proverbs
- 08 Beyond code
- Article scene with hung banner
- Article guide strip
- Article prose with framed figures
- 09 Pattern panes with live stat strip
- 10 Pattern library with search and filters
- Connect, projects and newsletter panels
- Footer
- Type
- System sans: -apple-system, BlinkMacSystemFont, Segoe UI (headings, body, labels) · System mono: ui-monospace, SF Mono, Menlo (chips, code, plates)
- Themes
- light+dark
- Palette
#f0f0ec#e5e7e5#121a24#364f6a#4a6d8c#94b5d8#80530e#e8b96f#0f151c#1a242f