Sitepeel

About this prompt

Files, steps and what happens on the site

What happens on the site

Ringset, a desktop app that runs coding agents side by side, set in a tunnel of brown rock and amber light. Your pointer is the torch on the rock face. Scroll, and a cutterhead breaks through and turns, then concrete rings line the bore while a ring counter in the header climbs. The app’s screen sits in the wall, a toll board says you pay your agents, and you switch agent tabs to change the sign-in command. You press an Open PR button, pass an empty driver’s cab and come out into daylight with the install commands.

About this site

A one-page site for a made-up app that runs AI coding agents side by side. Your pointer is a torch, scrolling drives a tunnel boring machine through five 3D scenes, and the page ends by breaking through into daylight.

  • Software
  • 3D scenes
  • Scroll story
  • Dark

What the prompt covers

  • Every section of the page, with all of its text
  • Type, sizes and colors
  • Desktop and phone layouts
  • How each 3D scene plays as you scroll
  • The torch, tabs, copy buttons and other interactions
  • Setup, and how to show the finished site

How to use it

  1. Add the files

    Download the required files and unzip them in a new project folder.

  2. Paste the prompt

    Copy the prompt into your AI coding tool and let it build the site.

  3. Compare the result

    Open what your AI tool made next to the live preview of Ringset, and ask it to fix what differs.

Tested with

Tool
Claude Code
Model
Claude Opus 5.5 (high effort)
Built from
Prompt and required files (3D engine and scene code included), without the starter code
Date
2026-11-14

The clean build matched the live preview: same text and section heights at desktop and phone sizes, no errors. Two fixes found after it (heading timing, cutterhead lettering) are in the prompt and files. Checked in Chromium.

What you get

This is a prompt plus the files it depends on. The prompt alone is not enough.

  • Prompt

    Markdown, 78 KB

    The full brief to give your AI coding tool.

    Download prompt
  • Required files

    ZIP, 1.8 MB

    The 3D engine and scene code, pictures, fonts and licence details. The prompt builds the page around them.

    Download files
  • Starter code (optional)

    ZIP, 1.8 MB

    The complete editable site. This is optional starter code, not a prompt-only build.

    Download starter code

See the list of files

Good to know

  • Free to copy and download. No account needed.
  • Use it for your own sites and for client sites. Please don’t resell or share the prompt or its files as they are.
  • AI tools and models build differently, so the result can differ from the preview.
  • The names, projects and contact details are made up. Replace them with your own before you publish.

The prompt

Show the prompt942 lines
# Build the Ringset website

You are working in an AI coding tool. Build this website in the current project from the specification below. It is a one-page product site for **Ringset**, a fictional free desktop app that runs several AI coding agents side by side, each on its own git branch, with a checkpoint after every turn. The page tells that story as a walk through a dark railway tunnel with a torch: the visitor's pointer is the torch, scrolling drives a tunnel boring machine forward, every scene change closes like a ring of concrete locking into place, and the page ends by breaking through into daylight. Dark warm concrete, one warm torch colour, a condensed heavy display face and a book serif.

What you build and what is supplied:

- You write the page yourself from sections 4 to 8: `index.html`, `site.css`, `js/guard.js`, `js/scene-words.js` and `js/page.js`. Keep the copy exactly as written. Do not add analytics, trackers, external embeds, CDN links or web fonts from other hosts.
- The WebGL scenes are supplied, not written by you. The required files (section 2) contain the **Sitepeel Engine** (the WebGL stage that runs the scroll film) and **`js/world.js`**, the Ringset scene code: the stage settings, the torch light and the five painted rooms. Do not rewrite them; the look depends on their exact shader numbers. Section 9 explains what they do so you can wire and check them.
- This is therefore a prompt plus required files, not a text-only prompt. An editable copy of the whole finished site also exists as an optional starter (section 2); only use it if the person asks you to.

Results differ between AI tools and models. Follow the specification closely, and report honestly what you built and tested.

## 1. Stack and project setup

- A static site: plain HTML, one CSS file and native ES modules. No framework, no bundler, no npm packages, no TypeScript, no Tailwind.
- Every path is relative (no leading slash), so the site works at a domain root and in any sub-folder.
- The page must run under a strict Content Security Policy: `script-src 'self'` (no inline `<script>` code at all, no inline import map), `font-src 'self'`, `img-src 'self' data: blob:`, `connect-src 'self' blob: data:`. Inline `<style>` is allowed. The engine files already import three.js by relative path, so no import map is needed.
- To view it, serve the project folder with any static server (for example `npx serve .` or `python -m http.server 8000`). Modules do not load from `file://`.

Finished project:

```text
index.html                   (section 4, you write it)
site.css                     (section 5, you write it)
favicon.svg, share.jpg       (from the required files)
js/
  guard.js                   (section 6, you write it)
  scene-words.js             (section 7, you write it)
  page.js                    (section 8, you write it)
  world.js                   (from the required files: the scenes)
vendor/stage/                (from the required files: the Sitepeel Engine, three.js in lib/)
img/                         (from the required files)
fonts/                       (from the required files)
licenses/                    (from the required files)
```

## 2. Required files

Required pack, version 1:

- URL: https://sitepeel.dev/website-prompts/ringset/assets-v1.zip
- SHA-256: `5e25752d8f4fa6d700b357d0f6746fd2b9cdbc22a89799317a2ca17cf9786dc1`
- Size: 1847193 bytes

Download it with your tool's web fetch, `curl -fL -o assets-v1.zip <URL>` or `Invoke-WebRequest`. If `assets-v1.zip` is already in the project root, use that copy. If you cannot download it, stop and ask the person to save the file into the project root, then continue. Check the SHA-256 (`shasum -a 256`, `sha256sum` or `certutil -hashfile assets-v1.zip SHA256`) and stop if it differs. Unzip it into a temporary folder, copy `vendor/`, `js/`, `img/`, `fonts/`, `licenses/`, `favicon.svg` and `share.jpg` into the project root keeping their folders, then delete the temporary folder and the zip.

Files in the pack (path, SHA-256):

| File | SHA-256 |
|---|---|
| `README.md` | `4bf6bbe0ab73aa894a22ece6200438df76d7e0437f91b0c04a61f06037a5b6dc` |
| `favicon.svg` | `a1e24039969b6bb0fb810df536e06c1c9820cd66edb2a09df23da2cba4913fb9` |
| `fonts/OFL-BricolageGrotesque.txt` | `923f4ddf0fd39f9b7794ab0df7332f3d95dc43e8ad7ec2289d6d9e8491177f51` |
| `fonts/OFL-Fraunces.txt` | `cd3384cafac6f2bddc3955273958a2e029f97027c8037ac539ef5744a77b579e` |
| `fonts/bricolage-grotesque-latin-standard-normal.woff2` | `a756882d8a7802ebd4663b4544a62ebedafc7227c1c159ab95eea61393af3f8e` |
| `fonts/fraunces-latin-full-normal.woff2` | `7e744849028e2219e2aa1bc467dc4032980dc4487c9c3da3010081cd72d3b103` |
| `img/app-desktop.webp` | `bc1b6985e00eb6fbceac850a91ed24daefb015dd1f0ee15dfe85b8c5bcb3199c` |
| `img/cistern.jpg` | `b1189d5b1c083d0e85b90582e61836171728ca4e5f19be511df1ee7028854ee3` |
| `img/corridor.depth.png` | `eaedbc719b7db992acf60c4d20bd4d31cd574ea588eed447e66ae5e367b2da7b` |
| `img/corridor.jpg` | `bf5764a5ab2e9c59e06d9a2931376c1673ee1ea5169bf8d345d95a888f773a04` |
| `img/daylight.depth.png` | `eb1f6fb6147c8d24e893e9346fd424d70362042a38cb8e50ee950fbc3d8990fe` |
| `img/daylight.jpg` | `e6584dc7d3bf4e5ed5153c14ab4dfe094faa018e39f0d24c73a3717bff9cfe72` |
| `img/openings.depth.png` | `5f6ffbae6dab1f10b72a9b1afd5b45c5d17937e9ae96f1ac675ce147a56d8358` |
| `img/openings.jpg` | `d7db823119cb9017b2ad2e46aa14ca2a3dd5d5280a77a3a45a24190c80aae70f` |
| `js/world.js` | `4588e240383be2f2c465abeb308c3e68a05ccd76054c0f3b3e35c77da690b6de` |
| `licenses/ENGINE-LICENSE.md` | `df7c604a3194fa981b076655848b9c6992c4a923263f0a011d88d2c88fd94c97` |
| `licenses/OFL-BricolageGrotesque.txt` | `923f4ddf0fd39f9b7794ab0df7332f3d95dc43e8ad7ec2289d6d9e8491177f51` |
| `licenses/OFL-Fraunces.txt` | `cd3384cafac6f2bddc3955273958a2e029f97027c8037ac539ef5744a77b579e` |
| `licenses/PROVENANCE.md` | `4d046a6a545e618d0ac44aaf2b37334977ff9f0cd385ed4340da6fcdb5ac6813` |
| `licenses/THIRD-PARTY.md` | `7bc47069c3259f6836c576a04423428784eb4773e485653d5b5f1738a97bc2f6` |
| `licenses/THREE-LICENSE.txt` | `8b378ebe60e2fe500158cb0ac71cb5e8b7d92953c2abcc63a0eb90499653b5bc` |
| `share.jpg` | `0a096121f71c859f71273c88ec33b29115ccf72a2833d091ff099e07afdb6c68` |
| `vendor/stage/core/chapters.js` | `3f143525ba00c99aacb795f0e2b4d2a1bc04b47c0d23986641e0ef6150dbacf6` |
| `vendor/stage/core/clock.js` | `9057cb1ff8da24b7e598be4fac415833ecdb2f0e977ec0ad4edbee5b83bdf07f` |
| `vendor/stage/core/mirror.js` | `4e2bb3394ee7c8a5b4a1b305ffa421ae4d463317ce1d2d6a37fe5a3be6c9bdb5` |
| `vendor/stage/core/pointer.js` | `b304c216dacc3bb99a4e6c84998e9015ab6d53171f5cf34a04e37c901f26c647` |
| `vendor/stage/core/quality.js` | `089c92c1ce2f3c218be1cc990e08bc95834a68edc511f2316ba3a25ac6a1d78a` |
| `vendor/stage/core/scroll.js` | `bf13ae4eb6a982179573a25e028ccc6a6d2109adb5f4e91f43c41293167dc738` |
| `vendor/stage/core/signals.js` | `2ba1a8c0f774f57013171501f8bf1ffc9e1f3803d85b19d967fae7bca783b1e8` |
| `vendor/stage/debug/panel.js` | `31379957b6f214546ce93222dc50ae8f07a461e48c262e10ee21f05303063db8` |
| `vendor/stage/field/field.js` | `4a42bc2c860bed1d1a02b8c5b825b968e972867271d499a920e06c68d110391f` |
| `vendor/stage/field/index.js` | `4cec48fc49168794ab0712f6b185a080a640b32ce3e2bac8438e2bb4b0689a6b` |
| `vendor/stage/field/memory.js` | `998c38b328618ee37437fde4d3c32ff5fe49d52ae502b512b3928046b9333f40` |
| `vendor/stage/field/pick.js` | `c1dc87933befcb59e009f45d75bca79d8f071bd8f7ed7b29a08aa0a7ec63e307` |
| `vendor/stage/field/readers.js` | `b477a84bb9cfb6e7d5661f810a82c76219161237553c57bf425dcf2bcca0d181` |
| `vendor/stage/field/springs.js` | `479a85485edfd929f1d5073b53a757dc5f57c666ab1520a4b207226488a49aef` |
| `vendor/stage/joins/band-stack.js` | `3864370974e15f9fa51e40abde5376e90cdc4c630a994c8f914bf5dd03a8f2ae` |
| `vendor/stage/joins/block-mask.js` | `5c6b2c27b77b68e4742fbf894bb2a140b844819bd71aa1d9a4890dc5d0d0bacd` |
| `vendor/stage/joins/cloud-cover.js` | `60dacc2e4c20164086e0a493801b9a338353f37229a6792c30f252ee3eb6c311` |
| `vendor/stage/joins/curtain.js` | `f5f6e43636132c52141a1b8f780e0cb192c82dc5326e285828848eb2a4893934` |
| `vendor/stage/joins/define.js` | `ce673f4286135ba5b65f39ca024777c5a909050ca3339c199a8496d164aad133` |
| `vendor/stage/joins/disc-grid.js` | `e34012dc1fb52fc76b89fbda538a1aac3b677cf497bf131b23add3b92c4a53aa` |
| `vendor/stage/joins/dom.css` | `9d367ba8df738fc46d74eeb1e7e196d57fa3214925e67558f6ea08e19125a34a` |
| `vendor/stage/joins/dom.js` | `4d1ebc06a8bcbf58f7aec5bb29ae9db7070f46badaff08447a548672e6a711ea` |
| `vendor/stage/joins/edge.js` | `6ba2caa88fff8c2b6a2c3d1fc48d298ee2e362e7d88a40e72fe87e6605854299` |
| `vendor/stage/joins/fade-through-colour.js` | `660b53ae161b90c8e68a1a660a72ebdbd1a3a5f5f687fa705c5c58cbf4bc298d` |
| `vendor/stage/joins/index.js` | `4c274a70605a3f2da0ba4cb182bb98e2f7b7bbe4f24a822883eec7610805a32a` |
| `vendor/stage/joins/ink-bleed.js` | `f35814b9a5f3ec1eca137235cab696eca3fa3e80322cfe88824c484b8340983f` |
| `vendor/stage/joins/lens.js` | `27ec9ab40bda991e56bc4754ba7e05a2a3a66bc96515cfd3ea9b8cdcc4d16a8c` |
| `vendor/stage/joins/lines-then-colour.js` | `8b991921eaf62f504d02401a482d74328bd173e3540ff5b4fae06dbf4012f082` |
| `vendor/stage/joins/mix-texture.js` | `38389679571ff1909e1b7ab6685875d31b9b9d38d2e44517de8c2a8f27d6b8d9` |
| `vendor/stage/joins/noise-wash.js` | `fbcb32a6ae97ded171f89845305dc6665fd38b20ab38cbe135d39cc04c15bd00` |
| `vendor/stage/joins/paper-tear.js` | `31e64549e32091e71f251a1afd20d5cb97805d3c711e0382ec990bc356a93207` |
| `vendor/stage/joins/ring-burst.js` | `e5bb0e2aad82c83cb3ce2c069fbef1d034cd7eafd29769909bd172fd3524f48d` |
| `vendor/stage/joins/shutter.js` | `c9f71c5db071d89e5a684cad80fd077ad36a6c56b931d8a9ec2cc9cc05a11f8b` |
| `vendor/stage/joins/slanted-cut.js` | `14f1645dced138230f6780c63be95b0569c362b6949591b4b21968e8045b7935` |
| `vendor/stage/joins/wave-sweep.js` | `7fd596f53dd3b26716620dfbb4532be81cf41e1c6ccf85b3073ad1070c71b885` |
| `vendor/stage/lib/THREE-LICENSE.txt` | `8b378ebe60e2fe500158cb0ac71cb5e8b7d92953c2abcc63a0eb90499653b5bc` |
| `vendor/stage/lib/three.module.min.js` | `b025879456a18f92a0c22782af9aa88d1627f15a7f1ec71a5ffbaf20b584fbac` |
| `vendor/stage/materials/clay.js` | `09f95b837282b34c484ada731aab8881e24347fd1dddc08ef39010b3e906590c` |
| `vendor/stage/materials/env.js` | `0dc327cbec5c56429971462a10d7f994f6b778d279175567f210508efab9a273` |
| `vendor/stage/materials/fog.js` | `d1709153f0842893a94f0bbd4297d7ba16cd290e38b752a1606dc1821f42d3e6` |
| `vendor/stage/materials/gate.js` | `28000b76d4f61c80070ddeff98b58f7dd2575a51bc7208f3179e93881b112089` |
| `vendor/stage/materials/glass.js` | `513134dfb955193aea4c2a010a5862648ef70f1fc540a61ddf640a6aa0df2580` |
| `vendor/stage/materials/ground.js` | `cae2c4203144c163de026478b4f6697b195d4e03b8f6a515979b81ea1dbaf5d3` |
| `vendor/stage/materials/index.js` | `a309f880c543e6403e360851d61b689d8ed38360536a7635dd8dc4b3c418ae2e` |
| `vendor/stage/materials/lit.js` | `09427aa3c9bb1219ed7b01c3604f227b8c8b9e39a8a434b896539f41d73b4a50` |
| `vendor/stage/materials/masks.js` | `d68e8ece8dc2c9aa8d1a0e77923712533159def8201ac8aa4a9e6bc1abab1967` |
| `vendor/stage/materials/painted.js` | `97ed10c5d023c7649bf2f4c93f9d1b6ebdee6bcbd7acd4d679899233ac93a844` |
| `vendor/stage/materials/print.js` | `12bf3adc4a2b96b40b5ab2421ea1970332e49d76c2fc4091dd4cb2143c3c73f6` |
| `vendor/stage/materials/shared.js` | `d8bc52690505a3d60716fbe3de0a09c4b4190f81db2ba18b7b47c113cc6fe443` |
| `vendor/stage/materials/sphere.js` | `9b23b70051ef15646d4644c523f2a97e7910f3c2daf94d3d0d5955d31c6abfb8` |
| `vendor/stage/materials/surfaces.js` | `dd4b14cd90202b83e5f36c7e899352ec8fa0fa68c002fe99e689f5f0b275dfc8` |
| `vendor/stage/particles/dissolve-glsl.js` | `6e71aab14a60f103ee18d6c9258bd0c67a3c753c5c5305b5b5545458fb6963fc` |
| `vendor/stage/particles/dissolve.js` | `c101d9619c551dd9304d0c05028638bb1c1e5a05187898a3af3730124d076cac` |
| `vendor/stage/particles/index.js` | `fb6388b6cb4a449e5844d51dedfeb39ba18771f36063d51558cb2333f16f7684` |
| `vendor/stage/particles/morph.js` | `d9d8e81dccd40bf880b2084381150f79a87b270b1eb4199f24879f54607004ea` |
| `vendor/stage/particles/points.js` | `beb78e3833cbfc9c33ad431ff3a8aaf31e2e24fab1f4fabb2b67947b17587a68` |
| `vendor/stage/particles/shapes.js` | `43624e6d747d74e01f80e83bc8dacdd842ee898c661dfd690d5df0dcda321e27` |
| `vendor/stage/particles/shared.js` | `949ff7ac0294fc3f68494f19ef71050cca3ca0a86cf48fef11a9a4fd68494878` |
| `vendor/stage/particles/sim.js` | `d1e6def8bfe4fd46f8fa37a1bfae9b0b77934d8216b0b2c8a398f5447f4f7074` |
| `vendor/stage/particles/swarm.js` | `03c1f64915dbaa52d9033d6291ea41f20f9710472b715d73ed2f8024e5c4cf80` |
| `vendor/stage/pictures/depth.js` | `46c90fffdff13f6afc1fe1e6481b944a6875f90454485dbc2ebd7896e7705f26` |
| `vendor/stage/pictures/index.js` | `84701e59eb59f496537dc3070bd0568694a27131079594fec675f058609f66f6` |
| `vendor/stage/pictures/layers.js` | `ee67d18207d6233712b0909dcc0b85ee86896dca7ab905e7af621abbe04dd973` |
| `vendor/stage/pictures/lens.js` | `b31a4581f819689ce8918078cfc2a04daa982d3552a42763401712d8cea5194c` |
| `vendor/stage/pictures/light.js` | `b296fc8788a9d0f1530a39d4ac230adea1f7787190d91bf250f5a8251590b7b7` |
| `vendor/stage/pictures/plane.js` | `cfd674302f4c1d256a108b7f5a034898932e3f7eef7d4967b37e1c6e4fc215a5` |
| `vendor/stage/pictures/portrait.js` | `0b21c1978f1ba077de4c2f5aebedc346106b56260b0eeba44f8dedc189adfa73` |
| `vendor/stage/pictures/relief.js` | `fa3035f8514e3b8e98fe376801de73b9466e24d7c1c5b8c432efd610180a3337` |
| `vendor/stage/pictures/reveals.js` | `9845205fe6627e67245356022ca4d8c82113241de8d4dcb7e9191c1ebaa2b079` |
| `vendor/stage/pictures/shared.js` | `79f9701914969d9c77e32fc55568b681d257171d2b0296d68a8ff58a54bd3955` |
| `vendor/stage/pictures/video.js` | `73edf83df46b5345364cf9af8d9863122b45663a4576fd5e7c3f423dbc5bec9c` |
| `vendor/stage/render/bloom.js` | `167edc3bd9c453ed622ed9f784c931b590c6de463e5862504435fde13ae01922` |
| `vendor/stage/render/blue-noise-data.js` | `af1abe6e966b3f3b7ff90cbe97ec6c8114db07da99d28c546902c2f337150a70` |
| `vendor/stage/render/chunks.js` | `805e53b7b54149dc4b9ced47fce11d47df047f41f7117c152b854e6e40c668fb` |
| `vendor/stage/render/loader.js` | `9b899b802f6460c01c1302716ff027e7cec1db3dd7ce054ade34b27f76b50a63` |
| `vendor/stage/render/noise.js` | `6d031993bc9347b557b0512260f2bc9afab207c187f7f7a19953ce64559227ee` |
| `vendor/stage/render/pipeline.js` | `eaa640abf0becab85fe7c8ea069d6a5842b796d1e6fe99e14fb3aceb82d44f6c` |
| `vendor/stage/stage.css` | `d49345e4b165fbb8de8c93f4e7317a8aa70a1d3d0581d95dfc203a7d45469191` |
| `vendor/stage/stage.js` | `2e670f6358ddfed94327809141eaac1d269b077520e426826319f7a826a798e2` |
| `vendor/stage/text/index.js` | `f8bc2999dbab01d5ca3e6bf3770abfd4146158bcdd6c0939655e288d2a96e4b8` |
| `vendor/stage/text/reveals.js` | `72b57c409c96062a99e08e6d8acbffd1e7d666d6e259a9cb5a977cfff339c197` |
| `vendor/stage/text/split.js` | `f7fc842b75230cb3bdd26b7546c32a911625d47b0e6cbbfc27a5fd43d2515b4b` |
| `vendor/stage/text/toTexture.js` | `46d0081871678d5a64b080ef62dd551d460ce89a6cedca0093df3eb7942996e0` |

What the supplied code is:

- `vendor/stage/stage.js` and its folders: the Sitepeel Engine. One fixed WebGL2 canvas behind the normal HTML page; rooms are three.js scenes; chapters are `<section data-chapter>` elements; one smoothed scroll position drives everything; the engine also reveals headings, adds picture effects and joins rooms with a transition. three.js r187 is in `vendor/stage/lib/` with its MIT licence.
- `js/world.js`: creates the stage (palette, motion curves, the ring join, the torch, the film finish) and registers the five rooms `face`, `bore`, `drives`, `cab` and `portal`. It imports `js/scene-words.js` (you write it, section 7) for the words painted inside the scenes and the two font names. It exports `stage`, `joins`, `setRackSelection(index)` and `pressDrives()`.

Optional starter, not needed for this build: https://sitepeel.dev/website-prompts/ringset/starter-v1.zip is an editable copy of the finished site, labelled as such. If you use it, say so in your final message, and do not describe the result as built from this prompt.

## 3. Rights and honesty

- Bricolage Grotesque and Fraunces are under the SIL Open Font License 1.1. Their licences are in `fonts/` and must stay with the font files. Do not rename or modify the files.
- three.js is MIT. The Sitepeel Engine and `js/world.js` may be used and changed in websites built from this prompt; see `licenses/ENGINE-LICENSE.md`.
- The photographs were generated for this demo, the app screen is made up, and Ringset, its agents (Kestrel, Marlin, Heron, Tern, Puffin, Wren), its commands and its links (on the reserved `.example` domain) are fictional. The page carries `noindex`. Anyone publishing it should replace the name, copy and links and remove `noindex`.

## 4. Page markup: `index.html`

Write this file exactly. The long inline `<style>` in the head is the loading picture (a code-drawn SVG of concentric rings) shown while the stage starts; keep it byte for byte. Each `<section data-chapter="…">` is one chapter of the film, in this order. `data-text`, `data-stage`, `data-depth`, `data-lens` and `data-join` attributes are read by the engine (section 9).

```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Ringset: one desktop app for all your coding agents</title>
  <meta name="description" content="Ringset runs the coding agents you already use side by side, each on its own branch, with a checkpoint after every turn. A demo site for a fictional product.">
  <meta name="robots" content="noindex">
  <meta name="theme-color" content="#0e0d0b">
  <meta property="og:title" content="Ringset: one desktop app for all your coding agents">
  <meta property="og:description" content="Run the coding agents you already use side by side, each on its own branch, with a checkpoint after every turn.">
  <meta property="og:type" content="website">
  <meta property="og:image" content="share.jpg">
  <meta name="twitter:card" content="summary_large_image">
  <noscript><style>html{background:#0e0d0b}</style></noscript>
  <link rel="icon" type="image/svg+xml" href="favicon.svg">
  <style>html.stage-guard{background:#0e0d0b}html.stage-guard body{opacity:0}html::before{content:"";position:fixed;inset:0;z-index:5;pointer-events:none;opacity:0;transition:opacity .8s linear;background:#0e0d0b url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 1000' preserveAspectRatio='xMidYMid slice'><path fill='none' stroke='%23857e6e' stroke-width='2' d='M927 500L933 509L927 518L925 527L927 536L922 545L918 552L916 562L912 570L905 577L901 584L894 591L888 598L879 601L872 607L866 614L858 618L848 618L841 625L831 626L823 631L814 631L804 627L795 630L786 632L777 629L768 627L760 624L750 623L742 619L735 612L728 607L719 604L714 596L708 589L701 583L695 576L691 568L683 562L681 553L676 545L672 537L676 526L673 518L670 509L670 500L671 491L673 482L670 472L678 465L679 456L682 448L684 438L687 430L695 424L702 418L707 410L714 405L721 398L728 393L736 388L743 383L751 379L760 378L768 371L777 372L786 368L795 369L805 369L814 371L823 372L832 373L841 373L848 380L858 382L864 389L873 392L879 398L886 404L893 410L901 415L907 422L908 433L917 438L916 448L922 456L923 465L924 474L932 481L928 491L931 500ZM1013 500L1014 515L1014 530L1008 544L1010 560L1005 574L999 589L992 602L985 615L975 627L963 637L952 647L943 658L931 667L918 675L908 687L893 692L881 701L866 704L852 710L837 710L823 716L807 713L793 714L777 717L763 709L748 709L735 701L718 702L705 694L691 689L682 675L666 672L658 658L643 652L635 638L625 627L619 613L612 600L605 587L598 574L596 558L588 545L586 530L584 515L585 500L589 485L590 470L587 455L596 441L597 426L601 411L613 401L615 385L624 372L633 360L643 348L655 339L668 331L681 323L692 312L705 304L720 301L734 297L748 292L762 286L777 286L793 286L808 284L823 285L837 289L852 290L866 296L880 303L894 308L909 311L922 319L933 330L946 338L957 349L963 363L975 373L980 387L990 399L997 412L1004 426L1010 440L1010 455L1011 470L1014 485L1013 500ZM1111 500L1109 522L1107 543L1103 564L1100 586L1090 606L1085 627L1071 644L1062 664L1051 682L1036 698L1024 716L1006 729L990 743L974 758L955 768L935 776L917 789L896 797L876 804L854 808L833 810L811 813L789 806L767 810L746 806L725 802L703 797L685 784L665 776L646 766L628 755L611 742L595 728L576 716L560 701L551 681L539 663L528 645L516 627L510 605L502 585L493 565L494 543L490 522L488 500L491 478L494 457L500 436L504 415L507 393L514 373L528 356L535 334L549 318L565 302L578 286L592 269L611 258L628 245L646 233L664 220L684 212L704 205L724 196L747 198L768 192L789 191L811 194L832 195L854 195L874 202L895 207L917 210L937 220L956 230L973 243L992 254L1010 267L1025 283L1038 300L1051 317L1062 336L1073 355L1083 374L1091 394L1098 414L1105 435L1108 457L1110 478L1112 500ZM1223 500L1221 529L1219 559L1210 587L1204 616L1198 645L1187 672L1170 697L1154 721L1139 746L1124 772L1103 793L1082 813L1061 833L1036 850L1009 862L983 876L958 891L929 897L902 910L873 916L844 919L815 921L785 920L756 917L727 916L698 908L669 902L643 888L615 879L590 863L566 848L543 829L519 813L499 790L476 772L458 748L445 722L428 698L414 672L408 643L398 615L386 588L388 558L384 529L381 500L384 471L383 441L386 412L398 385L407 357L413 328L428 302L446 279L462 255L478 229L500 211L518 186L541 169L564 150L591 139L616 124L642 109L669 98L698 92L727 86L756 80L785 79L815 79L844 82L872 89L901 96L930 100L957 112L984 122L1009 138L1034 153L1059 168L1082 187L1104 207L1120 231L1142 251L1154 279L1172 302L1183 329L1197 356L1205 384L1213 412L1213 442L1222 470L1220 500ZM874 349L942 272L1043 219L1117 148L1144 99L1239 24L1263 -21L1297 -136L1368 -235L1393 -290L1393 -373L1395 -429L1386 -512L1369 -559L1333 -596L1283 -662L1246 -758M607 487L487 466L375 417L298 364L261 319L170 271L105 225L45 179L1 146L-48 132L-120 123L-216 136M895 595L948 697L1031 764L1098 802L1167 886L1279 940L1374 957L1421 962L1525 944M804 348L825 280L843 214L849 99L886 7L928 -100L996 -186L1092 -262L1152 -295L1220 -316L1278 -315L1370 -283L1437 -235L1508 -149L1564 -120L1610 -111L1716 -82M656 352L627 297L592 223L547 148L521 65L487 -13L426 -94L399 -157L345 -233L279 -334L245 -396L208 -478L181 -565L146 -616L87 -658L3 -735L-46 -794M705 636L690 683L670 755L678 850L692 931L749 1027L796 1078L850 1107L905 1133L984 1179M805 299L840 206L841 111L867 -2L903 -119L917 -243L901 -294L848 -395L836 -497L831 -561L826 -668L790 -772L775 -862M950 452L1036 444L1136 445L1184 453L1300 496L1378 557L1425 599L1485 666L1518 700M923 357L976 267L1049 213L1101 182L1160 126L1193 90L1271 16L1317 -7L1393 -62L1447 -108L1479 -147L1522 -214L1576 -280L1628 -340L1715 -418L1792 -445L1916 -450L1993 -442M707 403L603 361L538 359L477 348L420 349L352 334L252 301L142 314L39 287L-1 255L-46 238M972 482L1083 472L1191 483L1242 465L1344 441L1400 402L1482 335L1565 286L1644 197L1732 161L1788 150M911 407L979 368L1085 304L1158 253L1206 230L1250 189L1315 158L1403 159L1482 131L1525 117L1631 85L1689 64M971 576L1082 586L1193 546L1308 529L1408 530L1471 550L1545 588L1600 589L1646 572L1698 554L1759 513L1818 486L1898 422M800 309L781 244L763 169L750 93L737 -22L752 -98L762 -220L796 -335L803 -457L846 -550L892 -635L937 -674L996 -728L1089 -777L1178 -807L1228 -854L1305 -900M976 538L1094 510L1182 503L1297 532L1337 561L1386 617L1413 662L1442 703L1496 756L1558 799L1634 812L1743 822L1788 841L1874 870L1924 895L2001 903L2065 883L2124 874M1006 459L1075 421L1139 400L1204 374L1257 346L1295 296L1362 226L1402 112L1401 59L1417 -39L1447 -126L1480 -163L1507 -214L1533 -280M840 627L875 744L924 815L950 864L961 962L951 1082L936 1137L924 1217L926 1273L940 1381M680 351L650 269L597 218L560 128L540 18L512 -85L478 -166L412 -227L329 -251L256 -273L171 -271L88 -244L51 -215L-31 -178L-143 -161L-247 -161L-320 -184M936 409L964 365L973 319L999 223L999 178L959 86L960 -30L995 -145L1038 -223L1067 -264L1106 -338L1149 -413M644 396L593 345L572 304L497 240L470 185L422 146L345 124L259 85L153 46L41 54L-36 33L-98 26L-148 13L-246 7M958 588L1075 597L1167 582L1265 519L1324 490L1392 464L1466 438L1576 445L1678 499L1745 504L1832 512L1921 488L1989 453L2093 410L2140 383L2184 337L2224 226L2276 143M868 382L911 346L965 295L1050 248L1098 243L1201 196L1295 184L1371 146L1462 94L1523 69L1562 33L1643 -55L1729 -125L1837 -159L1908 -166M720 319L681 231L660 141L603 41L584 -17L561 -69L554 -131L527 -242L522 -346L482 -437L476 -481L481 -558L472 -604L435 -677L433 -770L438 -817M670 572L628 621L578 666L524 685L430 746L332 822L301 859L235 902L144 977L59 1032L-7 1061L-110 1068L-186 1111L-236 1178L-286 1267L-308 1308L-402 1379L-481 1413M650 403L605 349L543 246L507 148L500 47L514 -4L537 -78L574 -123L629 -166L694 -215L742 -300L752 -381L741 -428L696 -507L658 -612M837 630L910 721L942 804L938 927L918 983L872 1056L817 1091L762 1105L685 1091L638 1083L553 1089L440 1072M674 627L587 715L522 764L464 808L431 842L381 896L314 982L241 1072L219 1132L180 1185L130 1246L65 1302L30 1344L-18 1414L-58 1450L-109 1475L-186 1481M652 400L616 373L519 307L431 253L390 228L320 188L273 123L231 77L161 40L110 -4L85 -60L16 -153L-44 -256M904 318L929 238L934 133L946 59L984 -24L1022 -57L1113 -95L1180 -116L1282 -156L1375 -150L1483 -135L1574 -146L1688 -174M718 306L699 197L646 112L621 16L586 -27L532 -101L483 -128L423 -192L343 -238L306 -266L255 -309'/></svg>") center/cover no-repeat}html.stage-guard::before,html.stage-loading::before{opacity:1}</style>
  <script src="js/guard.js"></script>
  <link rel="preload" href="fonts/bricolage-grotesque-latin-standard-normal.woff2" as="font" type="font/woff2" crossorigin>
  <link rel="preload" href="fonts/fraunces-latin-full-normal.woff2" as="font" type="font/woff2" crossorigin>
  <link rel="stylesheet" href="vendor/stage/stage.css">
  <link rel="stylesheet" href="vendor/stage/joins/dom.css">
  <link rel="stylesheet" href="site.css">
</head>
<body>
  <noscript><p class="noscript-note">The torch needs JavaScript. Every word and every install command is still on this page.</p></noscript>
  <a class="skip" href="#every-way-out">Skip to the install commands</a>
  <header class="site-head">
    <a class="site-mark" href="#the-rock-face" data-travel-to="the-rock-face" aria-label="Ringset, back to the top">Ringset</a>
    <div class="site-ring" aria-hidden="true">Ring <span data-ring-count>0000</span></div>
    <a class="site-get" href="#every-way-out" data-travel-to="every-way-out" data-download-short>Download</a>
  </header>
  <main>
<section data-chapter="the-rock-face" id="the-rock-face" class="rf">
  <div class="rf-inner">
    <p class="rf-mark" aria-hidden="true">Ringset</p>
    <div class="rf-text">
      <h1 class="rf-h1">One desktop app for all your coding agents.</h1>
      <p class="rf-sub">Run the agents you already pay for side by side, each on its own branch, with a checkpoint after every turn. Free and open source.</p>
      <div class="rf-acts">
        <a class="btn-cast" href="#every-way-out" data-travel-to="every-way-out" data-download>Download Ringset</a>
        <a class="btn-plain" href="https://ringset.example/source">Read the source</a>
      </div>
      <p class="rf-hint"><span class="hint-mouse">Your pointer is the torch. Scroll to dig in.</span><span class="hint-touch">Tap to aim the torch. Scroll to dig in.</span></p>
    </div>
  </div>
</section>

<section data-chapter="the-cutterhead" id="the-cutterhead" class="ch">
  <div class="ch-card">
    <h2 class="ch-h" data-text="bar" data-text-by="lines" data-text-scrub>One head. Whichever cutters you fit.</h2>
    <ul class="ch-names">
      <li>Kestrel</li><li>Marlin</li><li>Heron</li><li>Tern</li><li>Puffin</li><li>Wren</li>
    </ul>
    <p>Ringset drives the command-line agents you already have. A small local server wraps each one, and you steer them from the desktop app, a browser or your phone.</p>
    <div class="cast-frame"><img class="ch-spoil" data-stage="depth" data-depth="img/corridor.depth.png" src="img/corridor.jpg" width="800" height="448" alt="A concrete corridor of square frames receding under skylights."></div>
  </div>
</section>

<section data-chapter="one-stroke-one-ring" id="one-stroke-one-ring" class="os">
  <div class="os-text">
    <h2 class="os-h" data-text="bar" data-text-by="lines" data-text-scrub>One stroke, one ring.</h2>
    <p>A tunnel boring machine cuts one stroke, then stops. It builds a ring of concrete behind itself, and pushes off that ring to cut the next.</p>
    <p>Ringset works the same way. Every turn an agent takes ends with a checkpoint, so you can see exactly what changed and step back to any point.</p>
    <p class="os-back">Scroll back. Every ring is where you left it.</p>
  </div>
</section>

<section data-chapter="picture-in-the-wall" id="picture-in-the-wall" class="pw">
  <figure class="pw-fig" tabindex="0" aria-label="The Ringset app">
    <img data-stage="picture" data-lens="off" src="img/app-desktop.webp" width="2880" height="1800" alt="The Ringset desktop app: threads grouped by project and branch on the left, one thread running four helper agents in the middle, and its checkpoints on the right.">
  </figure>
  <div class="pw-cap">
    <h2 class="pw-h" data-text="bar" data-text-by="lines" data-text-scrub>Hold your light on the wall.</h2>
    <p>One thread, four helper agents, each reporting on its own, and every checkpoint listed on the right.</p>
  </div>
</section>

<section data-chapter="the-tariff-board" id="the-tariff-board" class="tb" data-join="sheet">
  <div data-join-body class="tb-body">
    <div class="tb-board">
      <i class="tb-bolt" aria-hidden="true"></i><i class="tb-bolt" aria-hidden="true"></i><i class="tb-bolt" aria-hidden="true"></i><i class="tb-bolt" aria-hidden="true"></i>
      <h2 class="tb-h">Tolls on this tunnel</h2>
      <table class="tb-table">
        <tbody>
          <tr><th scope="row">App</th><td>Free</td></tr>
          <tr><th scope="row">Source</th><td>Open, MIT licence</td></tr>
          <tr><th scope="row">Tokens resold</th><td>None</td></tr>
          <tr><th scope="row">Your keys</th><td>Stay on your machine</td></tr>
          <tr><th scope="row">Usage caps</th><td>None</td></tr>
          <tr><th scope="row">Model</th><td>Yours, and you can switch mid-thread</td></tr>
        </tbody>
      </table>
      <p class="tb-foot">You pay your agents, not us.</p>
    </div>
  </div>
</section>

<section data-chapter="cutter-change" id="cutter-change" class="cc">
  <div class="cc-box">
    <h2 class="cc-h" data-text="bar" data-text-by="lines" data-text-scrub>Switch models mid-thread.</h2>
    <p>Sign in to at least one agent before you start.</p>
    <div class="cc-tabs" role="tablist" aria-label="Agents">
      <button role="tab" id="t-kestrel" aria-controls="p-kestrel" aria-selected="true" tabindex="0" class="cc-tab">Kestrel</button>
      <button role="tab" id="t-marlin" aria-controls="p-marlin" aria-selected="false" tabindex="-1" class="cc-tab">Marlin</button>
      <button role="tab" id="t-heron" aria-controls="p-heron" aria-selected="false" tabindex="-1" class="cc-tab">Heron</button>
      <button role="tab" id="t-tern" aria-controls="p-tern" aria-selected="false" tabindex="-1" class="cc-tab">Tern</button>
      <button role="tab" id="t-puffin" aria-controls="p-puffin" aria-selected="false" tabindex="-1" class="cc-tab">Puffin</button>
      <button role="tab" id="t-wren" aria-controls="p-wren" aria-selected="false" tabindex="-1" class="cc-tab">Wren</button>
      <button role="tab" id="t-local" aria-controls="p-local" aria-selected="false" tabindex="-1" class="cc-tab">Local</button>
    </div>
    <div class="cc-panels">
      <div id="p-kestrel" role="tabpanel" aria-labelledby="t-kestrel" class="cc-panel"><p>Install the Kestrel CLI, then:</p><div class="cmd"><code>kestrel login</code><button type="button" data-copy class="cmd-btn">Copy</button></div></div>
      <div id="p-marlin" role="tabpanel" aria-labelledby="t-marlin" class="cc-panel" hidden><p>Install the Marlin CLI, then:</p><div class="cmd"><code>marlin auth login</code><button type="button" data-copy class="cmd-btn">Copy</button></div></div>
      <div id="p-heron" role="tabpanel" aria-labelledby="t-heron" class="cc-panel" hidden><p>Install the Heron CLI, then:</p><div class="cmd"><code>heron login</code><button type="button" data-copy class="cmd-btn">Copy</button></div></div>
      <div id="p-tern" role="tabpanel" aria-labelledby="t-tern" class="cc-panel" hidden><p>Install the Tern CLI, then:</p><div class="cmd"><code>tern login</code><button type="button" data-copy class="cmd-btn">Copy</button></div></div>
      <div id="p-puffin" role="tabpanel" aria-labelledby="t-puffin" class="cc-panel" hidden><p>Install Puffin, then:</p><div class="cmd"><code>puffin auth login</code><button type="button" data-copy class="cmd-btn">Copy</button></div></div>
      <div id="p-wren" role="tabpanel" aria-labelledby="t-wren" class="cc-panel" hidden><p>No CLI needed. Turn Wren on in Settings, then choose Sign in.</p></div>
      <div id="p-local" role="tabpanel" aria-labelledby="t-local" class="cc-panel" hidden><p>Run a model on your own machine, then point Ringset at it:</p><div class="cmd"><code>ringset add-model --port 8080</code><button type="button" data-copy class="cmd-btn">Copy</button></div></div>
    </div>
  </div>
</section>

<section data-chapter="sprayed-on-the-wall" id="sprayed-on-the-wall" class="sw">
  <div class="sw-text">
    <h2 class="sw-h" data-text="bar" data-text-by="lines" data-text-scrub>Sprayed on the wall.</h2>
    <p>From <code>HOUSE-RULES.md</code>, which every agent working on Ringset reads first.</p>
    <ul class="sw-list">
      <li>Never kill a process by name.</li>
      <li><code>~/.ringset/data</code> is your real Ringset database. Never point a test server at it, never open it for writing, never clean it up.</li>
      <li>No animations that repaint forever; they keep the graphics card busy for nothing.</li>
    </ul>
    <p class="sw-readme">And from the readme: <strong>Ringset is young. Expect rough edges.</strong></p>
    <p class="sw-aside">This page does keep repainting. It breaks that rule on purpose, and it stops when you stop looking at it.</p>
  </div>
  <div class="cast-frame"><img class="sw-pic" data-stage="picture" src="img/cistern.jpg" width="800" height="1067" alt="Concrete arches receding over still water in an underground cistern."></div>
</section>

<section data-chapter="six-drives" id="six-drives" class="sd">
  <div class="sd-text">
    <h2 class="sd-h" data-text="bar" data-text-by="lines" data-text-scrub>Six drives, side by side.</h2>
    <p>Every agent thread works on its own branch, so no two agents ever cut into the same files.</p>
    <ul class="sd-list">
      <li>Stay in your current checkout</li>
      <li>Start a new worktree</li>
      <li>Return to the previous worktree</li>
    </ul>
  </div>
  <div class="cast-frame"><img class="sd-pic" data-stage="relief" data-depth="img/openings.depth.png" src="img/openings.jpg" width="800" height="800" alt="Round openings cast in rows into a concrete wall."></div>
</section>

<section data-chapter="one-button" id="one-button" class="ob">
  <div class="ob-center">
    <button type="button" class="ob-btn" aria-label="Open PR. A demonstration, this button does nothing." data-demo-pr>Open PR</button>
  </div>
  <div class="ob-text">
    <h2 class="ob-h">One button to commit, push and open a pull request.</h2>
    <ul class="ob-list">
      <li>Pull request titles and descriptions written for you</li>
      <li>Review every change line by line before you push</li>
      <li>Draft, stack and amend pull requests</li>
    </ul>
  </div>
</section>

<section data-chapter="the-empty-cab" id="the-empty-cab" class="ec">
  <div class="ec-text">
    <h2 class="ec-h" data-text="bar" data-text-by="lines" data-text-scrub>Nobody is driving.</h2>
    <p>Most of Ringset is now written by Ringset, often steered from a phone.</p>
    <p>Run <code>ringset up</code>, pair your phone and leave the seat empty. It works over your home network, a private VPN or SSH.</p>
    <p class="ec-stores"><a class="btn-plain" href="https://ringset.example/ios">iPhone app</a><a class="btn-plain" href="https://ringset.example/android">Android app</a></p>
  </div>
</section>

<section data-chapter="breakthrough" id="breakthrough" class="bt">
  <div class="bt-core">
    <h2 class="bt-head">Your agents deserve better than a terminal.</h2>
    <p class="bt-sub">Ringset is free, open source and fast.</p>
    <a class="btn-cast bt-get" href="#every-way-out" data-travel-to="every-way-out" data-download>Download Ringset</a>
    <p class="bt-small">Version 1.0 for Windows, macOS and Linux. <a href="#every-way-out" data-travel-to="every-way-out">Other ways in</a></p>
  </div>
</section>

<section data-chapter="every-way-out" id="every-way-out" class="ew">
  <div class="ew-text">
    <h2 class="ew-h" data-text="bar" data-text-by="lines" data-text-scrub>Every way out.</h2>
    <div class="ew-tabs" role="tablist" aria-label="Operating system">
      <button role="tab" id="os-windows" aria-controls="pos-windows" aria-selected="true" tabindex="0" class="ew-tab">Windows</button>
      <button role="tab" id="os-mac" aria-controls="pos-mac" aria-selected="false" tabindex="-1" class="ew-tab">macOS</button>
      <button role="tab" id="os-linux" aria-controls="pos-linux" aria-selected="false" tabindex="-1" class="ew-tab">Linux</button>
      <button role="tab" id="os-any" aria-controls="pos-any" aria-selected="false" tabindex="-1" class="ew-tab">Any OS</button>
    </div>
    <div id="pos-windows" role="tabpanel" aria-labelledby="os-windows" class="ew-panel">
      <p><a href="https://ringset.example/download/windows">Windows 10 and 11 installer (.exe)</a></p>
      <div class="cmd"><code>winget install Ringset.Ringset</code><button type="button" data-copy class="cmd-btn">Copy</button></div>
      <div class="cmd"><code>scoop install ringset</code><button type="button" data-copy class="cmd-btn">Copy</button></div>
      <div class="cmd"><code>irm https://ringset.example/install.ps1 | iex</code><button type="button" data-copy class="cmd-btn">Copy</button></div>
    </div>
    <div id="pos-mac" role="tabpanel" aria-labelledby="os-mac" class="ew-panel" hidden>
      <p><a href="https://ringset.example/download/mac">Apple silicon and Intel builds (.dmg)</a></p>
      <div class="cmd"><code>brew install --cask ringset</code><button type="button" data-copy class="cmd-btn">Copy</button></div>
    </div>
    <div id="pos-linux" role="tabpanel" aria-labelledby="os-linux" class="ew-panel" hidden>
      <p><a href="https://ringset.example/download/linux">.deb and AppImage for x86_64 and ARM</a></p>
      <div class="cmd"><code>sudo apt install ./ringset-*.deb</code><button type="button" data-copy class="cmd-btn">Copy</button></div>
      <div class="cmd"><code>yay -S ringset-bin</code><button type="button" data-copy class="cmd-btn">Copy</button></div>
      <div class="cmd"><code>nix profile install nixpkgs#ringset</code><button type="button" data-copy class="cmd-btn">Copy</button></div>
    </div>
    <div id="pos-any" role="tabpanel" aria-labelledby="os-any" class="ew-panel" hidden>
      <div class="cmd"><code>curl -fsSL https://ringset.example/install.sh | sh</code><button type="button" data-copy class="cmd-btn">Copy</button></div>
      <div class="cmd"><code>npx ringset@latest</code><button type="button" data-copy class="cmd-btn">Copy</button></div>
      <div class="cmd"><code>npx ringset@nightly</code><button type="button" data-copy class="cmd-btn">Copy</button></div>
      <p>Or use it in your browser at <a href="https://app.ringset.example">app.ringset.example</a>.</p>
    </div>
    <p class="ew-note">Then sign in to at least one coding agent, and start your first thread.</p>
  </div>
  <div class="cast-ew"><img class="ew-pic" data-stage="depth" data-depth="img/daylight.depth.png" src="img/daylight.jpg" width="800" height="800" alt="Looking up a curved concrete shaft to a round opening of daylight."></div>
</section>

<footer data-chapter="builders-plate" id="builders-plate" class="bp">
  <div class="bp-plate">
    <i class="bp-rivet" aria-hidden="true"></i><i class="bp-rivet" aria-hidden="true"></i><i class="bp-rivet" aria-hidden="true"></i><i class="bp-rivet" aria-hidden="true"></i>
    <p class="bp-name">Ringset</p>
    <p class="bp-made">One desktop app for all your coding agents. MIT licensed.</p>
    <p class="bp-links">
      <a href="https://ringset.example/download">Download</a>
      <a href="https://ringset.example/source">Source</a>
      <a href="https://ringset.example/releases">Releases</a>
      <a href="https://ringset.example/community">Community</a>
    </p>
    <p class="bp-note">Ringset, its agents and its commands are made up for this demo. The tunnelling is real: a shield tunnel boring machine cuts one stroke, sets a ring of concrete segments and pushes off it to cut the next. Pictures generated for this page. Set in Bricolage Grotesque and Fraunces.</p>
    <p class="bp-back"><a href="#the-rock-face" data-travel-to="the-rock-face">Scroll back to the rock if you left your torch.</a></p>
  </div>
</footer>
  </main>
  <div class="sr-live" aria-live="polite" data-live></div>
<script type="module" src="js/page.js"></script>
</body>
</html>
```

## 5. Styles: `site.css`

Write this file exactly. Tokens are at the top. The engine sets `--stage-paper`, `--stage-ink`, `--stage-accent`, `--stage-curve` and `--stage-d1` from the palette in `world.js`, `--p` on the round button's chapter (its progress, 0 to 1), and the classes `stage-on` (WebGL running), `stage-guard`/`stage-loading` (loading) and `is-daylight` (after the breakthrough) on `<html>`. Phone layout below 720px, small phone below 500px.

```css
/* Fonts: Bricolage Grotesque (display, drawn at its narrowest width and heaviest weight) and Fraunces (body). Both SIL OFL 1.1, licences in fonts/. */
@font-face { font-family: 'Bricolage Display'; src: url('fonts/bricolage-grotesque-latin-standard-normal.woff2') format('woff2'); font-weight: 800; font-stretch: 75%; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('fonts/fraunces-latin-full-normal.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
/* chapter: the-rock-face */
:root {
  --stone: #2b2823;
  --air: #14120f;
  --daylight: #d8e6ea;
  --char: #14120f;
  --display: 'Bricolage Display', 'Arial Narrow', sans-serif;
  --body: 'Fraunces', Georgia, serif;
  --code: ui-monospace, 'Cascadia Code', Menlo, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  color-scheme: dark;
}
html { background: var(--stage-paper, #0e0d0b); scrollbar-color: #4a463f #0e0d0b; scrollbar-width: thin; }
body { margin: 0; color: var(--stage-ink, #e9e2d2); font-family: var(--body); font-size: clamp(18px, 1.25vw, 21px); line-height: 1.5; font-synthesis: none; -webkit-font-smoothing: antialiased; overflow-x: clip; }
::selection { background: var(--stage-ink, #e9e2d2); color: var(--stage-paper, #0e0d0b); }
* { box-sizing: border-box; caret-color: var(--stage-accent, #f2c77e); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; text-wrap: balance; letter-spacing: -.01em; line-height: 1.02; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
code { font-family: var(--code); font-size: .92em; }
a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
a, button { touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--stage-accent, #f2c77e); outline-offset: 3px; }

section[data-chapter] { position: relative; }
html:not(.stage-on) section[data-chapter] { background: var(--stage-paper, #0e0d0b); }

.skip { position: fixed; left: var(--gutter); top: -80px; z-index: 40; padding: 10px 16px; background: var(--stage-ink); color: var(--stage-paper); transition: transform var(--stage-d1) var(--stage-curve); }
.skip:focus-visible { transform: translateY(100px); }
.sr-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.site-head { position: fixed; inset: 0 0 auto; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--gutter); pointer-events: none; }
.site-head a { pointer-events: auto; }
.site-mark, .site-get, .site-ring { background: #14120f; padding: 0 12px; box-shadow: inset 0 1px 0 rgba(255, 246, 228, .18); border-radius: 2px; color: var(--stage-ink); min-height: 44px; display: inline-flex; align-items: center; }
.site-mark { font-family: var(--display); font-weight: 700; font-size: 22px; text-decoration: none; }
.site-ring { font-size: 14px; font-variant-numeric: tabular-nums; gap: .4em; }
.site-get { font-family: var(--display); font-weight: 700; font-size: 17px; text-underline-offset: .22em; }
.noscript-note { padding: 14px var(--gutter); background: var(--stage-ink, #e9e2d2); color: #0e0d0b; }
html.is-daylight { color-scheme: light; }
html.is-daylight .site-ring { opacity: 0; transition: opacity var(--stage-d1) var(--stage-curve); }
@media (max-width: 720px) { .site-ring { display: none; } }

/* Cast steel button: a plate with a chamfer, the same stuff as the machine. */
.btn-cast { --steel-top: #d8d1c2; --steel-low: #8f897c; position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: 14px 30px 15px; font-family: var(--display); font-weight: 700; font-size: clamp(20px, 1.7vw, 25px); line-height: 1; letter-spacing: 0; color: #15130f; text-decoration: none; background: linear-gradient(176deg, var(--steel-top), var(--steel-low) 72%); box-shadow: inset 0 1px 0 rgba(255, 252, 240, .85), inset 0 -2px 0 rgba(30, 26, 20, .38), 0 2px 0 #1f1c17, 0 7px 16px rgba(5, 4, 3, .55); border: 0; border-radius: 2px; cursor: pointer; transition: transform var(--stage-d1) var(--stage-curve), box-shadow var(--stage-d1) var(--stage-curve); }
.btn-cast:hover { --steel-top: #f2ead8; --steel-low: #a59e8f; transform: translateY(-1px); }
.btn-cast:active { transform: translateY(2px); box-shadow: inset 0 1px 0 rgba(255, 252, 240, .5), inset 0 -1px 0 rgba(30, 26, 20, .3), 0 0 0 #1f1c17, 0 2px 5px rgba(5, 4, 3, .5); }
.btn-plain { font-family: var(--display); font-weight: 700; font-size: clamp(18px, 1.4vw, 22px); min-height: 44px; min-width: 44px; justify-content: center; display: inline-flex; align-items: center; text-underline-offset: .22em; }

@media (prefers-reduced-motion: reduce) { .btn-cast, .site-head, .skip { transition: none; } }
@media print { .stage-shell, .site-head, .skip { display: none !important; } body { background: #fff; color: #000; } section[data-chapter] { min-height: 0 !important; background: none !important; } }

.rf [data-pin], .rf-inner { height: 100svh; }
.rf-inner { position: relative; padding: 80px var(--gutter) clamp(24px, 4vh, 44px); display: flex; flex-direction: column; justify-content: flex-end; }
.rf-mark { position: absolute; left: var(--gutter); top: clamp(70px, 9vh, 96px); margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(82px, 20vw, 330px); line-height: .82; letter-spacing: -.03em; color: var(--stage-ink); text-shadow: -1px -1px 0 rgba(255, 248, 230, .55), 2px 3px 0 #0a0908; }
.rf-text { margin-left: auto; width: min(100%, 560px); display: flex; flex-direction: column; gap: 16px; }
.rf-h1 { font-size: clamp(30px, 3.5vw, 54px); }
.rf-sub { max-width: 46ch; }
.rf-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-top: 4px; }
.rf-hint { font-size: 14px; color: color-mix(in srgb, var(--stage-accent) 84%, var(--stage-ink)); }
.hint-touch { display: none; }
@media (hover: none) { .hint-mouse { display: none; } .hint-touch { display: inline; } }
@media (max-width: 720px) {
  .rf-mark { font-size: 25vw; top: 76px; }
  .rf-text { width: 100%; gap: 12px; }
  .rf-h1 { font-size: 30px; }
  .rf-sub { font-size: 17px; }
}


/* chapter: the-cutterhead */
.ch { padding: 18vh var(--gutter) 40vh; display: flex; }
.ch-card { width: min(100%, 430px); display: flex; flex-direction: column; gap: 16px; }
.ch-h { font-size: clamp(30px, 3.4vw, 50px); }
.ch-names { display: flex; flex-wrap: wrap; gap: 4px 14px; font-family: var(--display); font-weight: 700; font-size: clamp(18px, 1.4vw, 22px); color: var(--stage-accent); }
.ch-spoil { width: 100%; height: auto; aspect-ratio: 1 / 0.62; object-fit: cover; margin-top: 6px; }
@media (max-width: 720px) { .ch { padding: 14vh var(--gutter) 30vh; } .ch-spoil { aspect-ratio: 1 / .58; } }

.cast-frame { border: 10px solid #3a362f; border-top-color: #4d483f; border-bottom-color: #26231e; box-shadow: 0 14px 28px rgba(5, 4, 3, .65); border-radius: 2px; }
.cast-frame img { display: block; width: 100%; height: auto; }

.ch-card { background: rgba(20, 18, 15, .82); padding: 18px 22px; box-shadow: inset 0 2px 0 rgba(255, 246, 228, .16); border-radius: 2px; }

.ch-card { align-self: flex-start; }


/* chapter: one-stroke-one-ring */
.os { display: flex; align-items: flex-end; min-height: 100svh; padding: 60vh var(--gutter) 10vh; }
.os-text { width: min(100%, 470px); display: flex; flex-direction: column; gap: 14px; }
.os-h { font-size: clamp(34px, 4.2vw, 66px); }
.os-back { font-family: var(--display); font-weight: 700; font-size: clamp(20px, 1.5vw, 24px); color: var(--stage-accent); }
@media (max-width: 720px) { .os { padding: 58vh var(--gutter) 8vh; } }

.os-text { background: rgba(20, 18, 15, .82); padding: 18px 22px; box-shadow: inset 0 2px 0 rgba(255, 246, 228, .16); border-radius: 2px; }


/* chapter: picture-in-the-wall */
.pw { padding: 10vh var(--gutter) 22vh; display: flex; flex-direction: column; gap: 22px; }
.pw-fig { margin: 0; width: min(100%, 1120px); align-self: flex-end; }
.pw-fig { border: 10px solid #3a362f; border-top-color: #4d483f; border-bottom-color: #26231e; box-shadow: 0 14px 28px rgba(5, 4, 3, .65); border-radius: 2px; }
.pw-fig img { display: block; width: 100%; height: auto; }
.pw-fig:focus-visible img { filter: none; }
.pw-cap { width: min(100%, 520px); display: flex; flex-direction: column; gap: 8px; }
.pw-h { font-size: clamp(30px, 3.2vw, 48px); }
.pw-credit { font-size: 15px; color: color-mix(in srgb, var(--stage-ink) 68%, transparent); }

.pw-cap { background: rgba(20, 18, 15, .82); padding: 18px 22px; box-shadow: inset 0 2px 0 rgba(255, 246, 228, .16); border-radius: 2px; }


/* chapter: the-tariff-board */
/* A painted notice bolted to the segment. Concrete comes from a tiled noise so no card edge shows. */
.tb { --join-ground: transparent; --concrete: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='360'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='4' seed='9'/%3E%3CfeColorMatrix values='0 0 0 0 .84 0 0 0 0 .8 0 0 0 0 .72 0 0 0 .5 -.08'/%3E%3C/filter%3E%3Crect width='360' height='360' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E"); }
.tb-body { padding: clamp(40px, 9vh, 90px) var(--gutter); display: grid; place-items: center; min-height: 100svh; }
.tb-board { position: relative; width: min(100%, 880px); padding: clamp(32px, 6vh, 62px) clamp(24px, 5vw, 62px); background: var(--concrete), linear-gradient(177deg, #4a463d, #38342c 70%, #423e35); color: var(--stage-ink); box-shadow: inset 0 3px 0 rgba(255, 246, 228, .16), inset 0 -4px 0 rgba(10, 9, 7, .55), 0 18px 40px rgba(5, 4, 3, .7); border-radius: 2px; }
.tb-bolt { position: absolute; width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #d9d0bd, #4b463d 60%); box-shadow: 0 1px 2px rgba(5, 4, 3, .8); }
.tb-bolt:nth-child(1) { left: 14px; top: 14px; } .tb-bolt:nth-child(2) { right: 14px; top: 14px; } .tb-bolt:nth-child(3) { left: 14px; bottom: 14px; } .tb-bolt:nth-child(4) { right: 14px; bottom: 14px; }
.tb-h { font-size: clamp(38px, 6.4vw, 96px); max-width: 12ch; margin-bottom: clamp(20px, 4vh, 44px); }
.tb-table { width: 100%; border-collapse: collapse; font-size: clamp(18px, 1.6vw, 24px); }
.tb-table th { text-align: left; font-weight: 400; padding: 13px 16px 13px 0; }
.tb-table td { text-align: right; font-family: var(--display); font-weight: 700; padding: 13px 0; font-variant-numeric: tabular-nums; }
.tb-table tr { border-bottom: 3px solid rgba(233, 226, 210, .34); transition: border-color var(--stage-d1) var(--stage-curve); }
@media (hover: hover) and (pointer: fine) { .tb-table tr:hover { border-bottom-color: var(--stage-accent); } }
.tb-foot { margin-top: 24px; font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2vw, 30px); color: var(--stage-accent); }
@media (max-width: 500px) { .tb-table td { font-size: 17px; max-width: 12ch; } }


/* chapter: cutter-change */
.cc { padding: 20vh var(--gutter) 34vh; display: flex; justify-content: flex-start; }
.cc-box { width: min(100%, 620px); display: flex; flex-direction: column; gap: 14px; }
.cc-h { font-size: clamp(34px, 4vw, 62px); }
.cc-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.cc-tab { min-height: 46px; min-width: 46px; padding: 8px 14px; font-family: var(--display); font-weight: 700; font-size: 17px; background: #2b2823; color: var(--stage-ink); border: 0; border-radius: 2px; box-shadow: inset 0 1px 0 rgba(255, 246, 228, .16); cursor: pointer; transition: background-color var(--stage-d1) var(--stage-curve), color var(--stage-d1) var(--stage-curve); }
.cc-tab:hover { background: #3d3932; }
.cc-tab[aria-selected="true"] { background: var(--stage-ink); color: var(--stage-paper); }
.cc-tab:active { transform: translateY(1px); }
.cc-panel { display: flex; flex-direction: column; gap: 8px; }
.cc-panel[hidden] { display: none; }
.cmd { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; background: #171512; border-top: 2px solid rgba(233, 226, 210, .22); }
.cmd code { flex: 1; font-size: clamp(16px, 1.5vw, 21px); overflow-wrap: anywhere; }
.cmd-btn { min-height: 44px; min-width: 76px; padding: 8px 12px; background: transparent; color: var(--stage-accent); border: 2px solid currentColor; border-radius: 2px; font-family: var(--display); font-weight: 700; font-size: 15px; cursor: pointer; transition: background-color var(--stage-d1) var(--stage-curve), color var(--stage-d1) var(--stage-curve); }
.cmd-btn:hover { background: var(--stage-accent); color: var(--stage-paper); }
.cmd-btn:active { transform: translateY(1px); }

.cc-box { background: rgba(20, 18, 15, .82); padding: 18px 22px; box-shadow: inset 0 2px 0 rgba(255, 246, 228, .16); border-radius: 2px; }

.cc-box { align-self: flex-start; }


/* chapter: sprayed-on-the-wall */
.sw { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 40px; padding: 30vh var(--gutter) 16vh; }
.sw-text { width: min(100%, 560px); display: flex; flex-direction: column; gap: 14px; }
.sw-h { font-size: clamp(34px, 4.2vw, 66px); }
.sw-list { display: flex; flex-direction: column; gap: 12px; padding-left: 16px; border-left: 3px solid rgba(233, 226, 210, .4); }
.sw-readme strong { font-family: var(--display); font-weight: 700; }
.sw-aside { font-size: 16px; color: color-mix(in srgb, var(--stage-ink) 68%, transparent); }
.sw-pic { width: 100%; height: auto; }
.sw .cast-frame { width: min(320px, 40vw); }
@media (max-width: 720px) { .sw .cast-frame { width: 62%; margin-left: auto; } }

.cast-frame { border: 10px solid #3a362f; border-top-color: #4d483f; border-bottom-color: #26231e; box-shadow: 0 14px 28px rgba(5, 4, 3, .65); border-radius: 2px; }
.cast-frame img { display: block; width: 100%; height: auto; }

.sw-text { background: rgba(20, 18, 15, .82); padding: 18px 22px; box-shadow: inset 0 2px 0 rgba(255, 246, 228, .16); border-radius: 2px; }


/* chapter: six-drives */
.sd { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 30px; padding: 56vh var(--gutter) 12vh; }
.sd-text { width: min(100%, 520px); display: flex; flex-direction: column; gap: 12px; }
.sd-h { font-size: clamp(34px, 4.2vw, 66px); }
.sd-list { display: flex; flex-direction: column; font-family: var(--display); font-weight: 700; font-size: clamp(19px, 1.5vw, 23px); }
.sd-list li { padding: 10px 0; border-top: 2px solid rgba(233, 226, 210, .3); }
.sd-pic { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.sd .cast-frame { width: min(300px, 34vw); }
@media (max-width: 720px) { .sd { padding-top: 40vh; } .sd .cast-frame { width: 58%; margin-left: auto; } }

.cast-frame { border: 10px solid #3a362f; border-top-color: #4d483f; border-bottom-color: #26231e; box-shadow: 0 14px 28px rgba(5, 4, 3, .65); border-radius: 2px; }
.cast-frame img { display: block; width: 100%; height: auto; }

.sd-text { background: rgba(20, 18, 15, .82); padding: 18px 22px; box-shadow: inset 0 2px 0 rgba(255, 246, 228, .16); border-radius: 2px; }


/* chapter: one-button */
.ob { position: relative; min-height: 140svh; }
.ob-center { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; pointer-events: none; }
.ob-btn { pointer-events: auto; width: min(38vh, 300px); aspect-ratio: 1; border-radius: 50%; border: 0; background: radial-gradient(circle at 42% 30%, #e6dfd0, #a39d8e 68%, #7f7a6d); box-shadow: inset 0 2px 0 rgba(255, 252, 240, .8), inset 0 -4px 0 rgba(30, 26, 20, .4), 0 6px 18px rgba(5, 4, 3, .7); color: #15130f; font-family: var(--display); font-weight: 700; font-size: clamp(26px, 4vh, 40px); line-height: 1.05; cursor: pointer; padding: 18px; opacity: clamp(0, calc((var(--p, 0) - 0.2) * 7), 1); transition: transform var(--stage-d1) var(--stage-curve); }
html:not(.stage-on) .ob-btn { opacity: 1; background: #b4ae9f; }
.ob-btn:hover { transform: translateY(-1px); }
.ob-btn:active { transform: translateY(3px); }
.ob-btn:focus-visible { outline-offset: 6px; }
.ob-text { position: absolute; right: var(--gutter); bottom: 8vh; width: min(100% - 2 * var(--gutter), 420px); display: flex; flex-direction: column; gap: 10px; }
.ob-h { font-size: clamp(30px, 3.4vw, 52px); }
.ob-list { display: flex; flex-direction: column; gap: 4px; }
@media (max-width: 720px) { .ob-text { left: var(--gutter); right: var(--gutter); width: auto; bottom: 6vh; } .ob-h { font-size: 24px; } .ob-list { font-size: 16px; } }

.ob-text { background: rgba(20, 18, 15, .82); padding: 18px 22px; box-shadow: inset 0 2px 0 rgba(255, 246, 228, .16); border-radius: 2px; }


/* chapter: the-empty-cab */
.ec { padding: 12vh var(--gutter) 46vh; display: flex; justify-content: flex-end; }
.ec-text { width: min(100%, 500px); display: flex; flex-direction: column; gap: 12px; }
.ec-h { font-size: clamp(40px, 5.4vw, 86px); }
.ec-stores { display: flex; gap: 22px; }
.ec-text { background: rgba(20, 18, 15, .78); padding: 18px 22px; box-shadow: inset 0 2px 0 rgba(255, 246, 228, .16); border-radius: 2px; }
@media (max-width: 720px) { .ec { padding: 54vh var(--gutter) 10vh; } }

.ec-text { align-self: flex-start; }


/* chapter: breakthrough */
.bt [data-pin] { display: grid; place-items: center; height: 100svh; }
.bt-core { display: flex; flex-direction: column; align-items: center; text-align: center; gap: clamp(8px, 1.5vh, 14px); padding: 0 var(--gutter); }
html:not(.stage-on) .bt-core { min-height: 100svh; justify-content: center; }
.bt-head { font-size: clamp(28px, 4.5vh, 48px); max-width: 15ch; color: var(--stage-ink); }
.bt-sub { font-size: clamp(16px, 2vh, 19px); max-width: 26ch; color: color-mix(in srgb, var(--stage-ink) 78%, transparent); }
.bt-get { margin-top: clamp(2px, .8vh, 10px); }
.bt-small { font-size: 13px; max-width: 30ch; line-height: 1.3; color: color-mix(in srgb, var(--stage-ink) 72%, transparent); }
.bt-small a { min-height: 44px; display: inline-flex; align-items: center; }
html.stage-on .bt-core > * { opacity: clamp(0, calc((var(--p, 0) - 0.14) * 9), 1); }
html.stage-on .bt-small { opacity: clamp(0, calc((var(--p, 0) - 0.26) * 8), 1); }
@media (max-width: 500px) {
  .bt-head { font-size: 22px; max-width: 12ch; }
  .bt-core { gap: 4px; }
  .bt-sub { font-size: 13px; max-width: 20ch; line-height: 1.25; }
  .bt-get { min-height: 46px; font-size: 16px; padding: 8px 14px 9px; }
  .bt-small { font-size: 12px; max-width: 18ch; line-height: 1.2; }
}


/* chapter: every-way-out */
.ew { color: var(--char); padding: 14vh var(--gutter) 6vh; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 40px; }
html:not(.stage-on) .ew { background: var(--daylight); }
.ew-text { width: min(100%, 680px); display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 4vh, 40px) clamp(20px, 4vw, 44px); background: linear-gradient(177deg, #eef1ee, #dbe1df); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .85), inset 0 -3px 0 rgba(20, 18, 15, .22), 0 14px 32px rgba(20, 18, 15, .32); border-radius: 2px; }
.ew-h { font-size: clamp(50px, 8vw, 132px); line-height: .9; }
.ew-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.ew-tab { min-height: 46px; padding: 8px 15px; font-family: var(--display); font-weight: 700; font-size: 17px; background: rgba(20, 18, 15, .08); color: var(--char); border: 0; border-radius: 2px; cursor: pointer; transition: background-color var(--stage-d1) var(--stage-curve), color var(--stage-d1) var(--stage-curve); }
.ew-tab:hover { background: rgba(20, 18, 15, .16); }
.ew-tab[aria-selected="true"] { background: var(--char); color: var(--daylight); }
.ew-tab:focus-visible, .ew .cmd-btn:focus-visible, .ew a:focus-visible { outline-color: var(--char); }
.ew-panel { display: flex; flex-direction: column; gap: 8px; }
.ew-panel[hidden] { display: none; }
.ew .cmd { background: rgba(20, 18, 15, .06); border-top-color: rgba(20, 18, 15, .4); }
.ew .cmd-btn { color: var(--char); }
.ew .cmd-btn:hover { background: var(--char); color: var(--daylight); }
.ew-note { font-size: 16px; }
.ew-panel a { display: inline-flex; align-items: center; min-height: 44px; }
.ew-pic { width: min(380px, 34vw); height: auto; aspect-ratio: 1; object-fit: cover; }
.cast-ew { border: 12px solid #b5bcb9; border-top-color: #d7dddb; border-bottom-color: #8d9491; box-shadow: 0 12px 26px rgba(20, 18, 15, .3); border-radius: 2px; }
@media (max-width: 720px) { .ew-pic { width: 70%; } }


/* chapter: builders-plate */
.bp { min-height: 100svh; display: grid; place-items: center; padding: 8vh var(--gutter); color: var(--char); }
html:not(.stage-on) .bp { background: var(--daylight); }
.bp-plate { position: relative; width: min(100%, 720px); padding: clamp(34px, 6vh, 58px) clamp(26px, 5vw, 56px); display: flex; flex-direction: column; gap: 12px; background: linear-gradient(174deg, #b7b1a2, #8e897c 62%, #a29c8e); box-shadow: inset 0 2px 0 rgba(255, 250, 238, .75), inset 0 -3px 0 rgba(26, 23, 18, .45), 0 3px 0 #3a3630, 0 12px 26px rgba(20, 18, 15, .28); border-radius: 2px; }
.bp-rivet { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #efe7d6, #5f5a50 62%); box-shadow: 0 1px 0 rgba(255, 250, 238, .7); }
.bp-rivet:nth-child(1) { left: 12px; top: 12px; } .bp-rivet:nth-child(2) { right: 12px; top: 12px; } .bp-rivet:nth-child(3) { left: 12px; bottom: 12px; } .bp-rivet:nth-child(4) { right: 12px; bottom: 12px; }
.bp-name { font-family: var(--display); font-weight: 700; font-size: clamp(54px, 9vw, 112px); line-height: .9; letter-spacing: -.02em; text-shadow: 0 1px 0 rgba(255, 250, 238, .55); }
.bp-made { font-family: var(--display); font-weight: 700; font-size: clamp(19px, 1.7vw, 24px); }
.bp-links { display: flex; flex-wrap: wrap; gap: 4px 22px; font-family: var(--display); font-weight: 700; font-size: 19px; }
.bp-links a { min-height: 44px; display: inline-flex; align-items: center; text-underline-offset: .22em; }
.bp-plate a:focus-visible { outline-color: var(--char); }
.bp-note { font-size: 16px; }
.bp-back a { min-height: 44px; display: inline-flex; align-items: center; font-size: 17px; }
```

## 6. Loading guard: `js/guard.js`

Loaded as a classic script in the head (inline scripts are not allowed). Write it exactly:

```js
// Runs in the head before the page paints: hides the page behind the loading picture until the
// WebGL stage is ready (the engine removes these classes), with an 8 second safety net.
(function (d) { d.classList.add('stage-guard'); setTimeout(function () { d.classList.remove('stage-guard', 'stage-loading'); }, 8000); })(document.documentElement);
```

## 7. Words inside the scenes: `js/scene-words.js`

`world.js` imports this module. Write it exactly:

```js
// Words painted inside the WebGL scenes, and the two font families the scenes draw with.
// Change them here to rebrand the demo; the scenes read them once at start.
export const FONT = { display: 'Bricolage Display', body: 'Fraunces' };

export const WORDS = {
  // Stamped on the six spokes of the cutterhead in the first scene, clockwise from the top.
  cutters: ['Kestrel', 'Marlin', 'Heron', 'Tern', 'Puffin', 'Wren'],
  // Cast in the hub at the centre of the cutterhead.
  headMark: 'RS',
  // Spare cutters on the rack in the tunnel wall: one per tab in "Switch models mid-thread".
  rackSize: 7,
  // Stencilled along the tunnel wall, one block per row (1 to 3 lines each, upper case).
  stencils: [
    ['NEVER KILL', 'BY NAME'],
    ['KEEP TESTS OFF', 'YOUR REAL', 'DATABASE'],
    ['NO ENDLESS', 'REPAINTING', 'ANIMATIONS'],
    ['EXPECT ROUGH EDGES'],
  ],
  // The builder's plate on the cab wall: three upper-case lines, then a small source line.
  plate: ['MOST OF RINGSET IS', 'NOW WRITTEN BY RINGSET,', 'OFTEN STEERED FROM A PHONE.'],
  plateSource: 'HOUSE-RULES.md',
  // The word on the phone screen in the empty cab.
  phone: 'ringset up',
};
```

## 8. Page script: `js/page.js`

The module the page loads. It imports the stage from `world.js`, adds the page behaviour that is not the film, registers the thirteen chapters with their scroll lengths, then starts the stage. Write it exactly:

```js
// Ringset demo: everything on the page that is not the WebGL film. Download labels, travel links,
// copy buttons, tabs, the ring counter, the chapter list and their pacing, then the start.
import { stage, joins, setRackSelection, pressDrives } from './world.js';

const TITLE = document.title;
// Page behaviour that is not the film: download labels, travel links, tabs, copy buttons.
const root = document.documentElement;
const ua = (navigator.userAgentData && navigator.userAgentData.platform || navigator.platform || navigator.userAgent || '').toLowerCase();
const uaFull = navigator.userAgent.toLowerCase();
const osKey = /android|iphone|ipad/.test(uaFull) ? 'mobile' : /mac/.test(ua) ? 'mac' : /win/.test(ua) ? 'windows' : /linux/.test(ua) ? 'linux' : 'other';
const osName = { mac: 'macOS', windows: 'Windows', linux: 'Linux' }[osKey];
document.querySelectorAll('[data-download]').forEach((a) => { if (osName) a.textContent = `Download for ${osName}`; });

document.addEventListener('click', (e) => {
  const link = e.target.closest('[data-travel-to]');
  if (!link) return;
  const id = link.getAttribute('data-travel-to');
  if (!stage.chapters.get(id)) return;
  e.preventDefault();
  stage.goTo(id, { duration: 1.2 });
});

const live = document.querySelector('[data-live]');
function say(words) { if (live) live.textContent = words; }

document.addEventListener('click', async (e) => {
  const btn = e.target.closest('[data-copy]');
  if (!btn) return;
  const code = btn.parentElement.querySelector('code');
  const words = code ? code.textContent : '';
  const reset = btn.textContent;
  try {
    await navigator.clipboard.writeText(words);
    btn.textContent = 'Copied';
    say('Copied to clipboard.');
  } catch (err) {
    const range = document.createRange();
    range.selectNodeContents(code);
    const sel = window.getSelection();
    sel.removeAllRanges(); sel.addRange(range);
    btn.textContent = 'Select and copy';
    say('Copy was refused. The command is selected, press copy on your keyboard.');
  }
  setTimeout(() => { btn.textContent = reset === 'Copied' || reset === 'Select and copy' ? 'Copy' : reset; }, 2000);
});

// One tablist script for the cutter rack and the install list.
const tabListeners = [];
function tabs(list, onChange) {
  const tabEls = [...list.querySelectorAll('[role=tab]')];
  const choose = (tab, focus) => {
    tabEls.forEach((t) => {
      const on = t === tab;
      t.setAttribute('aria-selected', String(on));
      t.tabIndex = on ? 0 : -1;
      const panel = document.getElementById(t.getAttribute('aria-controls'));
      if (panel) panel.hidden = !on;
    });
    if (focus) tab.focus();
    onChange && onChange(tabEls.indexOf(tab), tab);
  };
  list.addEventListener('click', (e) => { const t = e.target.closest('[role=tab]'); if (t) choose(t); });
  list.addEventListener('keydown', (e) => {
    const i = tabEls.indexOf(document.activeElement);
    if (i < 0) return;
    let n = null;
    if (e.key === 'ArrowRight' || e.key === 'ArrowDown') n = (i + 1) % tabEls.length;
    if (e.key === 'ArrowLeft' || e.key === 'ArrowUp') n = (i - 1 + tabEls.length) % tabEls.length;
    if (e.key === 'Home') n = 0;
    if (e.key === 'End') n = tabEls.length - 1;
    if (n !== null) { e.preventDefault(); choose(tabEls[n], true); }
  });
  return { choose: (i) => choose(tabEls[i]) };
}

const ringCount = document.querySelector('[data-ring-count]');
stage.onFrame(() => {
  if (!ringCount) return;
  const n = String(Math.floor(stage.scroll.y / 95)).padStart(4, '0');
  if (ringCount.textContent !== n) ringCount.textContent = n;
}, { rate: 10 });

document.addEventListener('visibilitychange', () => {
  document.title = document.hidden ? 'Your torch is still on' : TITLE;
});



// the-rock-face
stage.chapter('the-rock-face', { room: 'face', length: 1.6, pin: true, still: 0.4 });


// the-cutterhead
stage.chapter('the-cutterhead', { room: 'face', length: 2.2, still: 0.45 });


// one-stroke-one-ring
stage.chapter('one-stroke-one-ring', { room: 'bore', length: 2.2, still: 0.9 });


// picture-in-the-wall
stage.chapter('picture-in-the-wall', { room: 'bore', length: 1.6, still: 0.5 });


// the-tariff-board
stage.chapter('the-tariff-board', { room: null, still: 0.5 });
joins.dom(stage);


// cutter-change
stage.chapter('cutter-change', { room: 'bore', length: 1.6, still: 0.5 });
tabs(document.querySelector('.cc-tabs'), (i) => setRackSelection(i));


// sprayed-on-the-wall
stage.chapter('sprayed-on-the-wall', { room: 'bore', length: 2, still: 0.3 });


// six-drives
stage.chapter('six-drives', { room: 'drives', length: 2, still: 0.25 });


// one-button
stage.chapter('one-button', { room: 'drives', length: 1.4, still: 0.85 });
const prBtn = document.querySelector('[data-demo-pr]');
prBtn?.addEventListener('click', () => {
  prBtn.textContent = 'This one is only for show.';
  prBtn.style.fontSize = 'clamp(16px, 2.3vh, 22px)';
  say('This button is a demonstration and does nothing.');
  pressDrives();
});


// the-empty-cab
stage.chapter('the-empty-cab', { room: 'cab', length: 2, still: 0.5 });


// breakthrough
stage.chapter('breakthrough', { room: 'portal', length: 3.5, pin: true, still: 0.55 });


// every-way-out
stage.chapter('every-way-out', { room: 'portal', still: 0.7 });
const osTabs = tabs(document.querySelector('.ew-tabs'));
if (osKey === 'mac') osTabs.choose(1);
else if (osKey === 'linux') osTabs.choose(2);
else if (osKey === 'other' || osKey === 'mobile') osTabs.choose(3);


// builders-plate
stage.chapter('builders-plate', { room: 'portal', length: 1.3, still: 0.8 });


stage.start();
```

Chapter options used above: `room` is the scene the chapter plays in (`null` for a DOM-only chapter); `length` is the chapter's height in screens (its section gets that `min-height`, or that exact height when pinned); `pin: true` holds the section on screen while its scene plays through; `still` is the moment of the scene shown when the visitor prefers reduced motion (the engine then shows each chapter at that one frame instead of scrubbing). `joins.dom(stage)` turns `data-join="sheet"` on the tariff board into a sheet that slides over the film.

## 9. The film, scene by scene

Everything in this section is done by the supplied `world.js` and the engine once sections 4 to 8 are in place. Use it to check your build.

Whole-page behaviour:

- **Torch.** A warm pool of light follows the pointer over every scene (radius about 42% of the screen height, 70% of that on portrait screens; warm colour rgb(1, 0.86, 0.62)), with a slight flicker. Where the torch has just passed, the surface stays faintly warm for about a second. Outside it, scenes sit at about 16% brightness. On touch screens the torch goes where the visitor taps.
- **Ring join.** Each time the chapter's room changes, the old scene closes like a ring of concrete segments locking into place: grey joints and bolt pockets, a thin warm rim, a small zoom.
- **Finish.** Fine grain, a light vignette, a hint of colour fringe at the edges and soft bloom on bright parts.
- **Headings.** Every heading with `data-text="bar" data-text-scrub` reveals line by line with the scroll: a bar wipes across each line, then leaves and shows the words, as the heading rises from 90% to 40% of the window height. Scrolling back reverses it.
- **Pictures.** `data-stage="depth"` pictures move in depth with the pointer using their depth map; `data-stage="relief"` renders as a lit relief; `data-stage="picture"` sits in the film as a framed print; the app screen (`data-lens="off"`) is shown as a dull engraving in the wall that takes on true colour only inside the torch.
- **Header.** Fixed, three small dark tiles: the Ringset mark (travels to the top), a ring counter "Ring 0000" that counts up as you scroll (scroll position divided by 95 pixels, four digits), and Download (travels to the install section). Travel links glide over 1.2 seconds.
- **Scroll.** Smoothed; scrolling back returns every scene exactly as it was.

Chapters, in order (length in screens):

1. **the-rock-face**, room `face`, 1.6, pinned. A black rock face of jagged plates with pale specks drifting across it. The word "Ringset" in the display face fills the top left (up to 330px). Bottom right: the headline "One desktop app for all your coding agents.", the line under it, a cast-steel "Download Ringset" button (it reads "Download for Windows", "Download for macOS" or "Download for Linux" on those systems) and a "Read the source" link, and the hint "Your pointer is the torch. Scroll to dig in." (touch: "Tap to aim the torch. …"). Scrolling pushes the cutterhead up behind the rock and makes it tremble.
2. **the-cutterhead**, room `face`, 2.2. The cutterhead breaks through the rock and turns towards you until it fills the screen: a steel wheel with six spokes stamped Kestrel, Marlin, Heron, Tern, Puffin and Wren, cutting discs along each spoke and "RS" cast in the hub. A text card shows the headline, the six agent names in the accent colour, a paragraph and the corridor photograph.
3. **one-stroke-one-ring**, room `bore`, 2.2. Inside a concrete-lined tunnel with rails on the floor. The camera moves forward in five strokes; at the end of each stroke six segments are set one after another to complete a ring, and the ring being built glows in the accent colour. Ring numbers are cast into the upper left of each ring. Text card on the left.
4. **picture-in-the-wall**, room `bore`, 1.6. The camera turns towards the wall where the Ringset app screen is set in; the torch dims slightly so the screen reads as an engraving until the light is held on it. Caption card bottom left.
5. **the-tariff-board**, no room. A bolted steel board ("Tolls on this tunnel", six rows, the accent line "You pay your agents, not us.") slides over the film as a sheet.
6. **cutter-change**, room `bore`, 1.6. The camera sweeps past a rack of seven spare cutting discs on the right wall. The box holds seven agent tabs; choosing a tab (click or arrow keys, Home and End) springs the matching disc on the rack larger and brighter, and shows that agent's sign-in command with a Copy button.
7. **sprayed-on-the-wall**, room `bore`, 2. A long fast run down the tunnel, weaving left and right past four stencilled warnings sprayed on alternating walls (NEVER KILL BY NAME; KEEP TESTS OFF YOUR REAL DATABASE; NO ENDLESS REPAINTING ANIMATIONS; EXPECT ROUGH EDGES). Text card with the house rules and the cistern photograph.
8. **six-drives**, room `drives`, 2. A rock wall with six round drives in two rows of three, lit by the torch; at the end the camera moves towards the middle one. Text card with three branch options and the relief of round openings.
9. **one-button**, room `drives`, 1.4. Inside the drive. A big round steel "Open PR" button fades in at the centre as the chapter plays; clicking it presses the button in the scene with a spring, changes its label to "This one is only for show." and announces that it is a demonstration. Text bottom right.
10. **the-empty-cab**, room `cab`, 2. A side view of the driver's cab: an empty seat facing the console, the builder's plate on the wall (MOST OF RINGSET IS / NOW WRITTEN BY RINGSET, / OFTEN STEERED FROM A PHONE. / HOUSE-RULES.md), and a phone on the console whose screen wakes and shows "ringset up" when the torch comes near it. The camera moves through four positions; light cracks through at the end. Text card on the right with two phone-app links.
11. **breakthrough**, room `portal`, 3.5, pinned. The rock wall cracks along its cells around the turning, growing cutterhead; daylight forces through the breaks and rock chunks (64 on desktop, 30 on phones) fly out and fall. The pointer steers the shafts of light. The headline, line, download button and small print sit in the black centre of the cutterhead. Near the end the page switches to daylight.
12. **every-way-out**, room `portal`. Daylight: a pale panel with four system tabs (Windows, macOS, Linux, Any OS; the visitor's system is chosen on load), install commands with Copy buttons, and the shaft-of-daylight photograph.
13. **builders-plate**, room `portal`, 1.3. The footer as a riveted brushed-metal plate: name, line, four links, the note that everything is made up, and a link back to the top.

Copy buttons copy the command next to them and show "Copied" for 2 seconds; if the clipboard is refused they select the command and show "Select and copy". Status messages go to the polite live region at the end of the body. When the tab is hidden the document title reads "Your torch is still on".

Without WebGL (or before it starts) the page is a readable dark page: the same sections and copy, pictures in plain frames.

## 10. Interactions to confirm by hand

1. First screen at 1440 x 900: "Ringset" large top left, headline, line, two buttons and the hint bottom right; the torch follows the pointer.
2. Scrolling plays the cutterhead, the tunnel strokes with rings being set, the app screen in the wall, the board sliding over, the cutter rack, the stencils, the six drives, the button, the cab, the breakthrough and daylight, in that order, and the ring counter climbs.
3. Each room change closes as a ring.
4. The agent tabs move the highlighted disc on the rack; arrow keys move between tabs.
5. The round button changes its label when clicked.
6. The phone in the cab wakes when the pointer comes near it.
7. Copy buttons work; the system tabs work; Download and the header links glide to their targets.
8. At 390 x 844: no sideways scrolling, cards fit the screen, the hero text sits under the big word.
9. With reduced motion on, each chapter holds one still frame and nothing scrubs.
10. The browser console shows no errors and no security-policy violations.

## 11. Verify, then show the result

Serve the folder, open it in a browser, scroll it end to end at desktop and phone sizes, and work through section 10. Finish by telling the person the local address, what you built and tested, the tool and model you are, and anything missing or different. Do not call the result pixel-identical to the demo at https://sitepeel.dev/website-prompts/ringset/preview/.

More website prompts