# Build the Low Ceiling 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 site for a fictional recording studio, Low Ceiling Studios in Nashville: two rooms, a tape machine from 1974, sixty dollars an hour, and an air conditioner that hums, so it goes off for every take and everybody sweats. The page is an etched copper plate under black wax. The visitor turns the AC off with a big wall switch, and from then on the take is rolling: a meter in the ceiling counts time and money, beads of sweat form on the screen, run down and bite copper lines into the plate, the ceiling sinks as it gets hotter, pictures of rust are etched as hatching, and at the end the air comes back on and the visitor gets a print of their own visit and a booking form.

Build everything yourself except the supporting files listed in section 2. Do not substitute a framework, a different font, a CSS library or a canvas library. Keep the copy exactly as written. Do not add analytics, trackers, external embeds or CDN links.

This prompt comes with a required pack of fonts, pictures and one supporting code module, `world.js`, which runs the room (phases, meter, ceiling, hum), draws the WebGL plate and runs the sweat. It is not a text-only prompt. You write the page markup, the styles and the chapter code from this specification.

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

## 1. Stack and project setup

- Plain static files: HTML, CSS and classic JavaScript. No framework, no bundler, no TypeScript, no Tailwind, no npm packages.
- No inline scripts and no inline event handlers. The page must run under a strict Content Security Policy (`script-src 'self'`), so the only scripts are the files `world.js` and `site.js`, both loaded with `defer` at the end of the body, in that order. The JSON-LD block in the head is data and may stay inline. Inline `style` attributes and the `<noscript><style>` block are fine.
- Serve the folder with any static file server, for example `python -m http.server 8080` or `npx --yes serve -l 8080 .`. Every URL is relative (`fonts/...`, `img/...`), so the site works from a domain root or any sub-folder. Never write a leading-slash URL.
- No network requests of any kind: no weather or time APIs. The booking form posts nowhere until the studio fills in its `data-endpoint`.

Finished project:

```text
index.html        (section 4, written by you)
site.css          (section 5, written by you)
site.js           (section 7, written by you)
world.js          (from the pack)
fonts/            (from the pack)
img/              (from the pack: five textures and the share picture)
licenses/         (from the pack, keep it)
README.md         (from the pack, keep it or merge it into yours)
```

## 2. Required files

Required pack, version 1:

- URL: https://sitepeel.dev/website-prompts/tape-room-studio/assets-v1.zip
- SHA-256: `4655c4d8a3129c38fceeab2ae816abd1d642ad2073d15ca6539da441989af7e4`
- Size: 614566 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 folder, use that copy. If you cannot download it, stop and ask the person to save the file into the project folder, 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 the project folder so that `world.js`, `fonts/`, `img/` and `licenses/` sit next to `index.html`, then delete the zip.

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

| File | SHA-256 |
|---|---|
| `README.md` | `8a84981ce322e0b5bd7e77cd6d0ee647e01aed5e4711e5d5bfca2f62bdbfbf88` |
| `fonts/krona-one.woff2` | `e9d1d62518ebf3f92580236ad105a2cb737f25ae3119d228c84af4d12790a12e` |
| `fonts/newsreader-latin-400-normal.woff2` | `e66067814f1c672d33a457e4f4d102c818b481420e2234cf685ebdbf2f443904` |
| `fonts/newsreader-latin-700-normal.woff2` | `8b5c3b65cbda1d79ed371d23df3ef1fe194e590558965cf9942042441480ec61` |
| `img/dry-ground.jpg` | `5d7b3b5a17f4257519f1103b04fdde773ae391ab795b4d63efae06ce580e8900` |
| `img/rust-flakes.jpg` | `ee20ca9faefc8646c52ba3335ac6b39f2c2ecd96a98ab6678e91385414aad8a5` |
| `img/rust-grain.jpg` | `672e26aae1fb15cc0f97dccdf47072169c593f0c081975fb09ca0f160288f261` |
| `img/share.jpg` | `0359e1b46e1fd44be6d51c56b771dce862d9482f94c6db79a1f4b22c6635f689` |
| `img/strings.jpg` | `add18ad4e2121ad47d9c8db3805c7a2377e375eb0b6b76fd6e306f42d9ab4c27` |
| `img/wet-cloth.jpg` | `86f91a38689f1c7ab4b3a7517a4720af00405e4b607610e6d8a44db63063f06d` |
| `licenses/OFL-KronaOne.txt` | `bc99cd932411179751bd52bbff94d27209b9cb70c56d712d60ed66b46f1ab927` |
| `licenses/OFL-Newsreader.txt` | `26028ec4e13b650065fa525a09532176f8a668b76ff849ea01c564a7480f91e7` |
| `licenses/PROVENANCE.md` | `5548c66079ae899b421906d991708c9aa7c1bd744deb4cd933a90790a1d643b0` |
| `world.js` | `fca4dc2c33214b2870c44dbb1316cf05aa900f43001be49a3830c5d0dcae7d2c` |

The zip also holds `SHA256SUMS.txt` with the same list.

`world.js` is supporting code, written for this project and supplied so the plate and the sweat look the same on every build. Do not rewrite or reformat it; the look depends on its exact numbers. Section 6 explains what it does and the `window.LC` interface your chapter code uses.

## 3. Rights and honesty

- Krona One and Newsreader are under the SIL Open Font License 1.1. Their licences are in `licenses/` and must stay with the font files. Do not rename or modify the fonts.
- The five texture pictures (rust, rust grain, corroded strings, wet cloth, dry ground) were generated with an image model for this project; the page says they are not photographs of the rooms. The share picture is a screenshot of the finished page. The hum is three oscillators in the browser, nothing recorded.
- Low Ceiling Studios and everything said about it are invented. The page deliberately has no gear list, no client names and no numbers it cannot stand behind. Keep it that way: no testimonials, artist logos, counts or awards.
- Before anyone publishes the site, replace the name, city, prices and copy, set the booking form's `data-endpoint` (or wire it to their own inbox), and remove the `noindex` tag.

## 4. Page markup

Create `index.html` exactly as below. It holds the structure, every hook the code needs and all of the copy. Notes:

- Each chapter's inline `--len` sets how many screen heights it lasts; `.pin` parts are sticky.
- Text with class `bite` is not drawn by the browser once WebGL runs: `world.js` bites it into the plate, revealed from the top. `data-reveal="full"` shows at once, `data-reveal="manual"` waits for `LC.setReveal`, and `data-bite="drip"`, `"pit"` or `"instant"` choose how the acid eats in.
- `.etch` elements are pictures etched as hatching: `data-src` (and `data-src2` to blend into a second picture), `data-soft` for strength, `data-hole` for a block of text kept clear, `data-knock` for a heading stopped out of the hatching.
- The booking form's `data-endpoint=""` is where the studio would post requests.

```html
<!doctype html>
<html lang="en" data-phase="hum">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="noindex">
<title>AC is on. Low Ceiling Studios, Nashville</title>
<meta name="description" content="Two rooms and a tape machine from 1974 in Nashville. Sixty dollars an hour. The air goes off for every take and everybody sweats.">
<meta name="theme-color" id="themeColor" content="#a9bcc3">
<meta property="og:title" content="Low Ceiling Studios. Nashville. Air off for takes.">
<meta property="og:description" content="Two rooms and a tape machine from 1974. Sixty dollars an hour. The air goes off for every take and everybody sweats.">
<meta property="og:type" content="website">
<meta property="og:image" content="img/share.jpg">
<meta name="twitter:card" content="summary_large_image">
<link rel="icon" id="favicon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' rx='3' fill='%2315110d'/%3E%3Crect x='11' y='4' width='10' height='24' fill='%23d98a55'/%3E%3Crect x='13' y='7' width='6' height='9' fill='%23ece6d9'/%3E%3C/svg%3E">
<link rel="preload" href="fonts/krona-one.woff2" as="font" type="font/woff2" crossorigin>
<link rel="stylesheet" href="site.css">
<script type="application/ld+json">{"@context":"https://schema.org","@type":"RecordingStudio","name":"Low Ceiling Studios","priceRange":"$60 per hour","address":{"@type":"PostalAddress","addressLocality":"Nashville","addressRegion":"TN","addressCountry":"US"}}</script>
<noscript><style>.pin{position:static;min-height:auto}.ch{min-height:auto;padding-block:12vh}.sw{display:none}</style></noscript>
</head>
<body>
<a class="skip" href="#book">Skip to booking</a>
<noscript><p class="noscript">The air could not be turned off, because this page needs JavaScript for that. Everything else is still here.</p></noscript>
<canvas id="plate" aria-hidden="true"></canvas>
<div class="ceiling" aria-hidden="true"></div>
<p class="meter" aria-hidden="true"><span id="meterTime">0:00</span> <span id="meterCost">$0.00</span></p>
<p class="vh" role="status" aria-live="polite" id="announce"></p>
<main>
<!-- chapter: the-hum -->
<section data-chapter="the-hum" class="ch" style="--len:1.5">
  <div class="pin hum-pin">
    <h1 class="d1 bite poster" data-reveal="full">Low <br>Ceiling <br>Studios</h1>
    <div class="hum-foot">
      <p class="hum-facts">A recording studio in Nashville.<br> We record bands and songwriters live to tape.</p>
      <p class="hum-detail">Two rooms, a tape machine from 1974, sixty dollars an hour.</p>
      <p class="hum-state">The AC is on. You can hear it.</p>
      <p class="hum-back" id="backAgain" hidden>Back again. You know where the switch is.</p>
      <div class="hum-tools">
        <button class="ink hear" id="hear" type="button" aria-pressed="false"><span class="snd" aria-hidden="true"><i></i><i></i><i></i></span><span id="hearLabel">Hear the room</span></button>
        <a class="cta" href="#book">Book a session</a>
      </div>
    </div>
  </div>
</section>

<!-- chapter: the-switch -->
<section data-chapter="the-switch" class="ch" style="--len:4.5" id="switchCh">
  <div class="pin sw-pin">
    <p class="sw-name" aria-hidden="true">Low Ceiling Studios</p>
    <button class="sw" id="ac" type="button" aria-pressed="false" aria-label="Air conditioning switch. Currently on. Press to switch off.">
      <span class="sw-plate">
        <i class="screw s1"></i><i class="screw s2"></i>
        <i class="pb p1"></i><i class="pb p2"></i><i class="pb p3"></i><i class="pb p4"></i><i class="pb p5"></i>
        <span class="sw-lab">AC</span>
        <span class="sw-word sw-on">On</span>
        <span class="sw-slot"><span class="sw-lever"></span></span>
        <span class="sw-word sw-off">Off</span>
      </span>
    </button>
    <p class="sw-cap" id="swCap">Kill the air before we roll.</p>
    <p class="d1 bite sw-rolling" id="rolling" data-reveal="manual">Rolling.</p>
  </div>
</section>

<!-- chapter: first-bead -->
<section data-chapter="first-bead" class="ch" style="--len:1.4">
  <div class="fb-wrap">
    <h2 class="d1 bite fb-head" data-bite="drip">It gets hot in here.</h2>
    <p class="note fb-note">The room hums when the air is on, so we shut it off for every take. Everybody sweats. That includes us.</p>
  </div>
</section>

<!-- chapter: sixty-cycles -->
<section data-chapter="sixty-cycles" class="ch" style="--len:2.5" id="cycles">
  <div class="pin sc-pin">
    <svg class="sc-wave" id="wave" aria-hidden="true" preserveAspectRatio="none"><path class="h3" id="wave3" fill="none"></path><path class="h2" id="wave2" fill="none"></path><path class="h1" id="wavePath" fill="none"></path></svg>
    <div class="sc-copy">
      <h2 class="d1 bite sc-head" data-bite="pit">That hum is a note.</h2>
      <div class="sc-side">
        <p class="note">Power in American walls cycles sixty times a second. A running compressor leaks that into the air, and a microphone picks it up. Sixty cycles sits between a B flat and a B. Once it is on the tape it is on the tape.</p>
        <button class="sc-hold" id="hold" type="button">Hold to run the compressor</button>
        <p class="small sc-cap" id="waveCap">One cycle, 16.7 thousandths of a second.</p>
      </div>
    </div>
  </div>
</section>

<!-- chapter: two-rooms -->
<section data-chapter="two-rooms" class="ch" style="--len:2" id="rooms">
  <div class="pin tr-pin">
    <h2 class="d2 bite tr-head">Two rooms.</h2>
    <div class="tr-doors" role="group" aria-label="Choose a room for your booking">
      <button class="tr-door" type="button" aria-pressed="false" data-room="This one">
        <svg aria-hidden="true" preserveAspectRatio="none" viewBox="0 0 1000 200"><rect x="3" y="3" width="994" height="194" pathLength="1"></rect></svg>
        <span class="tr-word">This one</span>
      </button>
      <button class="tr-door" type="button" aria-pressed="false" data-room="That one">
        <svg aria-hidden="true" preserveAspectRatio="none" viewBox="0 0 1000 200"><rect x="3" y="3" width="994" height="194" pathLength="1"></rect></svg>
        <span class="tr-word">That one</span>
      </button>
    </div>
    <div class="tr-foot">
      <p class="note">That is the whole choice. Tell us what you are bringing and we will say which.</p>
      <p class="small">We will tell you which when you book.</p>
    </div>
  </div>
</section>

<!-- chapter: rust-on-plastic -->
<section data-chapter="rust-on-plastic" class="ch" style="--len:3" id="rust">
  <div class="pin rp-pin">
    <div class="etch rp-etch" data-src="img/rust-flakes.jpg" data-src2="img/rust-grain.jpg" data-hole=".rp-copy" data-knock="#rpHead" role="img" aria-label="Etching of a rusted metal surface, up close."></div>
    <h2 class="d1 bite knock rp-head" id="rpHead">Tape is rust on plastic.</h2>
    <div class="rp-copy">
      <p class="note">Iron oxide, glued to a long strip. The machine here is from 1974, and that is all it does: move magnetism through rust.</p>
      <p class="rp-fact">A 2,500 foot reel runs about 33 minutes at 15 inches per second, and about half that at 30.</p>
      <p class="rp-fact">Not our tape. A close look at rust, which is what tape is. <span class="rp-size" id="rpSize">This is the size of your chorus.</span></p>
    </div>
  </div>
</section>

<!-- chapter: no-undo -->
<section data-chapter="no-undo" class="ch" style="--len:1.5">
  <div class="pin nu-pin">
    <h2 class="d1 bite nu-head" data-bite="instant">No undo.</h2>
    <div class="nu-row">
      <button class="nu-btn" id="undo" type="button"><span>Undo</span></button>
      <p class="nu-reply" id="undoReply" role="status" aria-live="polite"></p>
    </div>
  </div>
</section>

<!-- chapter: hands-that-eat-strings -->
<section data-chapter="hands-that-eat-strings" class="ch" style="--len:1.5">
  <div class="hs-grid">
    <div class="hs-text">
      <h2 class="d2 bite" data-bite="drip">Sweat is an acid bath.</h2>
      <p class="note">It is salt and acid and it goes straight onto nickel and steel. Some players kill a set of strings in a <span class="hs-week" tabindex="0">week<span class="hs-aside">, ask any bass player</span></span>. In this room everyone is one of those players for an afternoon.</p>
      <p class="note">Wipe them down between takes. There is a towel for that. Bring it.</p>
    </div>
    <div class="etch hs-strip" id="strip" data-src="img/strings.jpg" role="img" aria-label="Etching of a corroded metal surface."></div>
  </div>
</section>

<!-- chapter: dollar-a-minute -->
<section data-chapter="dollar-a-minute" class="ch" style="--len:1.3">
  <div class="dm-wrap">
    <h2 class="d1 bite dm-price" data-bite="pit">$60 an hour.</h2>
    <p class="d2 bite dm-sub" data-bite="drip">A dollar a minute.</p>
    <p class="note dm-note">Which makes a three minute song three dollars to play once. Here is your afternoon.</p>
    <form class="dm-receipt" id="calc" aria-label="Session cost calculator">
      <label class="dm-row"><span>Songs</span><input id="cSongs" type="range" min="1" max="14" value="4"><output for="cSongs"></output></label>
      <label class="dm-row"><span>Minutes each</span><input id="cMins" type="range" min="1" max="8" value="3"><output for="cMins"></output></label>
      <label class="dm-row"><span>Takes each</span><input id="cTakes" type="range" min="0" max="12" value="4"><output for="cTakes"></output></label>
      <p class="dm-line"><span>Playing time</span><span id="cTime"></span></p>
      <p class="dm-line dm-total"><span>Cost of the playing</span><span id="cCost" aria-live="polite"></span></p>
      <p class="dm-fine" id="cFine">That is only the time the tape is rolling. Setup and playback take however long they take. Ask when you book.</p>
      <a class="dm-book" href="#book">Book a session</a>
    </form>
  </div>
</section>

<!-- chapter: what-to-bring -->
<section data-chapter="what-to-bring" class="ch" style="--len:1.5" id="bring">
  <div class="etch wb-cloth" data-src="img/wet-cloth.jpg" data-soft=".7" role="img" aria-label="Etching of wet cloth."></div>
  <div class="pin wb-pin">
    <div class="wb-note dry">
      <span class="wb-tape" aria-hidden="true"></span>
      <h2 class="wb-head bite">Bring a second shirt.</h2>
      <ul class="wb-list">
        <li><label><input type="checkbox" data-k="water"><span>Water. More than that.</span></label></li>
        <li><label><input type="checkbox" data-k="towel"><span>A towel for your strings.</span></label></li>
        <li><label><input type="checkbox" data-k="strings"><span>Fresh strings if your hands eat them.</span></label></li>
        <li><label><input type="checkbox" data-k="songs"><span>Songs you can play tired. It is the fourth take that counts.</span></label></li>
      </ul>
      <p class="wb-done" id="wbDone" hidden>Good. That is the whole list.</p>
    </div>
  </div>
</section>

<!-- chapter: things-you-would-ask -->
<section data-chapter="things-you-would-ask" class="ch" style="--len:1.2" id="asks">
  <div class="ta-wrap">
    <h2 class="d2 bite ta-head" data-bite="pit">Things you would ask.</h2>
    <ul class="ta-list">
      <li style="--d:18vh"><details open><summary>Can the air stay on between takes?</summary><div class="ta-a"><p>Yes. It goes off when the tape rolls and comes back when somebody remembers.</p></div></details></li>
      <li style="--d:38vh"><details open><summary>Will I really sweat?</summary><div class="ta-a"><p>Yes.</p></div></details></li>
      <li style="--d:9vh"><details><summary>Is the hum that bad?</summary><div class="ta-a"><p>It is a note, and it is in your song whether you like the key or not.</p></div></details></li>
      <li style="--d:29vh"><details><summary>I have never recorded to tape. Is that a problem?</summary><div class="ta-a"><p>Say so when you book. The tape does not know.</p></div></details></li>
      <li style="--d:14vh"><details><summary>Can we leave the air on and fix the hum later?</summary><div class="ta-a"><p>Not on this tape.</p></div></details></li>
    </ul>
  </div>
</section>

<!-- chapter: ac-back-on -->
<section data-chapter="ac-back-on" class="ch" style="--len:2.5" id="back">
  <div class="pin ab-pin">
    <div class="etch ab-crack" data-src="img/dry-ground.jpg" data-soft=".7" data-hole=".ab-copy" role="img" aria-label="Etching of cracked, dried-out ground."></div>
    <div class="ab-edge" id="abEdge" aria-hidden="true"></div>
    <div class="ab-copy">
      <h2 class="d1 bite ab-head" data-bite="pit">That was the take.</h2>
      <p class="note ab-note">Somebody is walking to the thermostat.</p>
    </div>
  </div>
</section>

<!-- chapter: the-print -->
<section data-chapter="the-print" class="ch paper" style="--len:1" data-paper-start id="print">
  <div class="tp-sheet">
    <div class="tp-plate">
      <canvas id="printCv" role="img" aria-label="An ink print of the lines made during your visit."></canvas>
      <p class="tp-edition">1/1</p>
    </div>
    <div class="tp-side">
      <h2 class="tp-head">This is your visit.</h2>
      <p class="tp-body" id="printBody">Every line on it is a place you stopped or kept going. Where you lingered it bit deeper.</p>
      <dl class="tp-bill">
        <div><dt>Time in the room</dt><dd id="billTime">0:00</dd></div>
        <div><dt>Rate</dt><dd>A dollar a minute</dd></div>
        <div class="tp-total"><dt>Total</dt><dd id="billTotal">$0.00</dd></div>
      </dl>
      <p class="tp-fine">You do not owe us this. It is just what it would have been.</p>
      <button class="tp-save" id="saveBtn" type="button">Take the print with you</button>
    </div>
  </div>
</section>

<!-- chapter: take-the-room -->
<section data-chapter="take-the-room" class="ch paper" style="--len:1" id="book">
  <div class="tk-sheet">
    <h2 class="tk-head">Book the real one.</h2>
    <p class="tk-carry">Your visit came to <strong id="carry">$0.00</strong>. The real one is sixty dollars an hour.</p>
    <form id="bookForm" class="tk-form" novalidate data-endpoint="">
      <div class="tk-bar" aria-hidden="true"><span>Low Ceiling Studios</span><span>Track sheet</span><span>Air off for takes</span></div>
      <div class="tk-cell c-a"><b class="tk-n" aria-hidden="true">1</b><label for="fName">Your name</label><input id="fName" name="name" required autocomplete="name"><p class="tk-err" id="eName"></p></div>
      <div class="tk-cell c-b"><b class="tk-n" aria-hidden="true">2</b><label for="fReach">Email or phone</label><input id="fReach" name="reach" required autocomplete="email"><p class="tk-err" id="eReach"></p></div>
      <div class="tk-cell c-c"><b class="tk-n" aria-hidden="true">3</b><label for="fBring">What are you bringing?</label><textarea id="fBring" name="bring" rows="3" aria-describedby="hBring"></textarea><p class="tk-help" id="hBring">Band, songwriter, how many people, what instruments.</p></div>
      <div class="tk-cell c-d"><b class="tk-n" aria-hidden="true">4</b><label for="fRoom">Room</label><select id="fRoom" name="room"><option>Tell me which</option><option>This one</option><option>That one</option></select></div>
      <div class="tk-cell c-e"><b class="tk-n" aria-hidden="true">5</b><label for="fWhen">When do you want it?</label><input id="fWhen" name="when" autocomplete="off"></div>
      <div class="tk-cell c-f"><b class="tk-n" aria-hidden="true">6</b><label for="fHours">How many hours?</label><input id="fHours" name="hours" type="number" min="1" max="24" inputmode="numeric" value="4"><p class="tk-help" id="fPrice" aria-live="polite"></p></div>
      <button id="sendBtn" class="tk-send" type="submit"><span class="tk-slot" aria-hidden="true"><span class="tk-lever"></span></span><span id="sendLabel">Book it</span></button>
      <p class="tk-status" id="bookStatus" role="status" aria-live="polite"></p>
    </form>
  </div>
</section>
</main>
<footer data-chapter="the-door" class="door">
  <div class="door-slab">
    <p class="door-sign">Door stays shut during takes.</p>
    <p class="door-name">Low Ceiling Studios</p>
    <p class="door-place">Nashville, Tennessee</p>
    <p class="door-now" id="doorNow" hidden>Right now in Nashville it is <span id="doorTime"></span>.</p>
    <a class="door-book" href="#book">Book a session</a>
  </div>
  <div class="door-fine">
    <p>Set in Krona One and Newsreader. The hum is a sixty cycle oscillator in your browser, nothing recorded. The sweat is simulated, and the lines are yours.</p>
    <p>The etched pictures are rust and cloth. They are not photographs of our rooms. Left out on purpose: a gear list, a wall of names, and any number we could not stand behind.</p>
    <p class="door-copy">Low Ceiling Studios</p>
  </div>
</footer>
<script defer src="world.js"></script>
<script defer src="site.js"></script>
</body>
</html>
```

## 5. Styles

Create `site.css` exactly as below. Notes on the parts that matter most:

- Colour tokens: `--asphaltum #15110d` (the wax), `--bite #d98a55` (bright copper), `--oxide #6a3419`, `--verdigris #5f8f7c`, `--salt #ece6d9` (text and paper), `--freon #a9bcc3` (the cold of the air conditioning). Type: Krona One for the bitten display words, Newsreader for everything else.
- `html[data-phase]` is `hum` (AC on), `take` (rolling) or `done` (AC back on); the switch, the meter and several captions change with it. `--ceil` (set by `world.js`) is how far the ceiling bar has dropped.
- `html.still` (reduced motion) and `html.no-gl` (no WebGL) show the bitten words as plain copper text and hide the plate canvas.
- `html[data-paper]` is set while the print chapter is on screen; the last two chapters are on paper.
- `--safe` is the lowest the ceiling ever gets (`44px + min(92px, 10svh)`): pinned headings and centred pins keep their tops below it so the ceiling never covers them.
- Under 720px wide the layout becomes one column, the wave runs vertically and the track sheet stacks. A block for tablets (721 to 1000px wide) stacks the first screen's buttons under the lead, widens the switch and gives the sixty-cycles copy, the receipt and the door footer room. A block for screens 360px wide and narrower tightens the sixty-cycles chapter and the packing list. A block for landscape phones (`max-height: 500px` and landscape) lets the ceiling and meter sink only 70% as far, sets the poster on two lines (the `<br>`s are hidden, which is why each word in the heading ends with a space), puts `Rolling.` beside the switch and the packing list in two columns.

```css
/* world/world.css */
@font-face { font-family: "Krona One"; src: url(fonts/krona-one.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url(fonts/newsreader-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url(fonts/newsreader-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Krona Fallback"; src: local("Arial Black"), local("Arial"); size-adjust: 104%; ascent-override: 92%; descent-override: 22%; }

:root {
  --asphaltum: #15110d; --bite: #d98a55; --oxide: #6a3419; --verdigris: #5f8f7c; --salt: #ece6d9; --freon: #a9bcc3;
  --display: "Krona One", "Krona Fallback", sans-serif; --body: "Newsreader", Georgia, serif;
  --drop: cubic-bezier(.55, 0, .85, .35); --land: cubic-bezier(.2, .9, .25, 1);
  --ceil: 0px;
  /* the lowest the ceiling gets (world.js: 44px once the take starts, plus up to min(92px, 10% of the window) with the heat); pinned words stay below it */
  --safe: calc(44px + min(92px, 10svh));
}
* { box-sizing: border-box; margin: 0; }
html { background: var(--asphaltum); color: var(--salt); font-family: var(--body); font-size: 19px; line-height: 1.5; font-synthesis: none; scrollbar-color: var(--bite) var(--asphaltum); -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html::-webkit-scrollbar { width: 11px; } html::-webkit-scrollbar-track { background: var(--asphaltum); } html::-webkit-scrollbar-thumb { background: var(--oxide); border: 2px solid var(--asphaltum); } html::-webkit-scrollbar-thumb:hover { background: var(--bite); }
body { overflow-x: clip; background: var(--asphaltum); }
main { position: relative; z-index: 2; }
::selection { background: var(--bite); color: var(--asphaltum); }
:focus-visible { outline: 2px solid var(--salt); outline-offset: 3px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

#plate { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
.still-plate { position: absolute; left: 0; top: 0; width: 100%; z-index: 1; pointer-events: none; }
.ceiling { position: fixed; left: 0; right: 0; top: -100vh; height: 100vh; z-index: 8; background: #0d0a08; border-bottom: 1px solid rgba(169, 188, 195, .16); box-shadow: 0 22px 44px 8px rgba(0, 0, 0, .75); transform: translate3d(0, var(--ceil), 0); pointer-events: none; }
.meter { position: fixed; right: 18px; top: -38px; transform: translate3d(0, var(--ceil), 0); z-index: 9; font-family: var(--display); font-variant-numeric: tabular-nums; font-size: clamp(1rem, 1.7vw, 1.6rem); color: var(--salt); letter-spacing: -.02em; opacity: 0; transition: opacity .3s linear; pointer-events: none; }
.meter span + span { margin-left: .9em; color: var(--bite); }
html[data-phase="take"] .meter, html[data-phase="done"] .meter { opacity: 1; }
.meter.blot { filter: blur(2.5px); }
.skip { position: fixed; left: 12px; top: -80px; z-index: 20; background: var(--salt); color: var(--asphaltum); padding: 10px 14px; }
.skip:focus { top: 12px; }
.noscript { position: relative; z-index: 3; padding: 16px; background: var(--salt); color: var(--asphaltum); }

/* Chapters are long stretches of one take. Pinned content stays at arm's length while the plate moves. */
.ch { position: relative; min-height: calc(var(--len, 1) * 100svh); }
.pin { position: sticky; top: 0; min-height: 100svh; }
.d1, .d2 { font-family: var(--display); font-weight: 400; color: var(--bite); letter-spacing: -.03em; line-height: .96; text-wrap: balance; }
.d1 { font-size: clamp(2.9rem, 11vw, 13rem); }
.d2 { font-size: clamp(2.3rem, 7.2vw, 8rem); }
.bite .w { display: inline-block; white-space: pre; }
html.gl-on .bite { color: transparent; }
.note { max-width: 34em; font-size: clamp(1.02rem, 1.25vw, 1.3rem); line-height: 1.5; color: var(--salt); text-wrap: pretty; }
.small { font-size: .82rem; line-height: 1.4; color: var(--freon); }
.ink { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 2px; color: var(--salt); text-decoration: underline; text-decoration-color: var(--bite); text-decoration-thickness: 2px; text-underline-offset: .32em; transition: text-decoration-color .15s linear, transform .12s var(--land); }
.ink:hover { text-decoration-color: var(--salt); } .ink:active { transform: translateY(1px); }

html.still .bite, html.no-gl .bite { color: var(--bite); }
html.still #plate, html.no-gl #plate { display: none; }
.door { position: relative; z-index: 3; background: #0e0b08; color: var(--salt); padding: clamp(40px, 7vw, 100px) clamp(18px, 6vw, 90px) 120px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 24em); gap: 48px; align-items: end; }
.door-slab { border: 1px solid var(--oxide); padding: clamp(28px, 4vw, 56px); min-height: 70svh; display: flex; flex-direction: column; justify-content: flex-end; background: var(--asphaltum); }
.door-sign { font-family: var(--display); color: var(--bite); font-size: clamp(1.2rem, 2.4vw, 2rem); letter-spacing: -.02em; line-height: 1.1; margin-bottom: auto; max-width: 13em; }
.door-name { font-family: var(--display); font-size: clamp(1.4rem, 4.2vw, 3.6rem); letter-spacing: -.03em; line-height: 1; }
.door-place, .door-now { margin-top: .5em; font-size: 1.02rem; }
.door-book { display: inline-flex; align-items: center; min-height: 44px; margin-top: 1em; color: var(--bite); text-underline-offset: .3em; }
.door-book:hover { color: var(--salt); }
.door-fine p { font-size: .85rem; line-height: 1.5; color: var(--freon); margin-bottom: 1em; }
.door-copy { color: var(--salt) !important; }
@media (max-width: 720px) { .door { grid-template-columns: 1fr; } .door-slab { min-height: 60svh; } }
@media print { #plate, .ceiling, .meter, .sw, .skip { display: none !important; } html, body, .door { background: #fff; color: #111; } .bite, .d1, .d2 { color: #111 !important; } .ch { min-height: auto; } .pin { position: static; min-height: auto; } }


/* chapter: the-hum */
.hum-pin { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; padding: clamp(28px, 6vh, 64px) clamp(18px, 3.6vw, 60px) clamp(26px, 5vh, 48px); }
.poster { font-size: min(19vw, 22svh); line-height: .93; letter-spacing: -.04em; }
.hum-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 40px; align-items: end; }
.hum-facts { font-size: clamp(1.3rem, 2.25vw, 2.2rem); line-height: 1.18; max-width: 26em; grid-column: 1; color: var(--salt); }
.hum-detail { grid-column: 1; font-size: clamp(1.05rem, 1.45vw, 1.45rem); line-height: 1.3; color: var(--salt); }
.hum-state { grid-column: 1; color: var(--freon); font-size: clamp(1rem, 1.3vw, 1.3rem); }
.hum-back { grid-column: 1; color: var(--bite); font-size: 1rem; }
.hum-tools { grid-column: 2; grid-row: 1 / span 4; display: flex; align-items: center; gap: 28px; }
/* The one solid button on the first screen: a copper plate with a pressed edge, like the wall switch. */
.cta { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 10px 24px; background: var(--bite); color: var(--asphaltum); font-family: var(--display); font-size: clamp(.95rem, 1.15vw, 1.1rem); letter-spacing: -.02em; text-decoration: none; border-radius: 2px; box-shadow: inset 0 -3px 0 var(--oxide); transition: background .12s linear, transform .1s var(--land), box-shadow .1s var(--land); }
.cta:hover { background: #e6a06f; }
.cta:active { transform: translateY(2px); box-shadow: inset 0 -1px 0 var(--oxide); }
/* Hear the room: three level bars say it makes a sound; they move only while the hum is audible. */
.hear { gap: 10px; }
.snd { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.snd i { display: block; width: 3px; height: 40%; background: var(--bite); transform-origin: bottom; }
.snd i:nth-child(2) { height: 75%; } .snd i:nth-child(3) { height: 100%; }
.hear[aria-pressed="true"] .snd i { animation: snd 1s steps(6) infinite; }
.hear[aria-pressed="true"] .snd i:nth-child(2) { animation-delay: -.33s; } .hear[aria-pressed="true"] .snd i:nth-child(3) { animation-delay: -.66s; }
@keyframes snd { 50% { transform: scaleY(.45); } }
html.still .hear[aria-pressed="true"] .snd i { animation: none; }
html[data-phase="hum"] .shake { will-change: transform; }
@media (max-width: 720px) {
  .hum-foot { grid-template-columns: 1fr; } .hum-tools { grid-column: 1; grid-row: auto; flex-wrap: wrap; gap: 8px 24px; margin-top: 6px; }
  .poster { font-size: 18vw; } /* 20vw cut the last s of Studios at 390 */
}


/* chapter: the-switch */
.sw-pin { position: sticky; display: grid; grid-template-rows: auto 1fr; justify-items: center; align-items: start; padding: max(clamp(50px, 7vh, 66px), calc(var(--ceil) + 14px)) 16px 0; height: 100svh; overflow: hidden; }
.sw-name { font-family: var(--display); color: var(--bite); font-size: clamp(.9rem, 1.5vw, 1.4rem); letter-spacing: -.02em; }
.sw { perspective: 900px; padding: 0; margin-top: clamp(8px, 1.6vh, 18px); }
.sw-plate { position: relative; display: grid; justify-items: center; align-content: center; gap: .3em; width: min(clamp(200px, 26vw, 340px), 40svh); aspect-ratio: 5 / 8; font-size: min(clamp(14px, 1.8vw, 24px), 2.7svh); transform-origin: 50% 40%; background: radial-gradient(ellipse 36% 22% at 50% 52%, rgba(21,17,13,.46), transparent 100%), repeating-linear-gradient(91deg, rgba(236,230,217,.055) 0 1px, rgba(21,17,13,.06) 1px 2px, transparent 2px 4px), linear-gradient(158deg, #a59d8b 0%, #726c60 46%, #4a463c 100%); color: var(--asphaltum); border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(21,17,13,.4), inset 0 2px 0 rgba(236,230,217,.5), inset 0 -3px 0 rgba(21,17,13,.42), 0 4px 0 #14110d, 0 30px 60px rgba(0,0,0,.8); }
.sw:hover .sw-lever { filter: brightness(1.08); }
.sw:active .sw-plate { filter: brightness(.92); }
.screw { position: absolute; left: 50%; width: 1.05em; height: 1.05em; margin-left: -.525em; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #d6cfbe, #55514a 72%); box-shadow: inset 0 0 0 1px rgba(21,17,13,.55), 0 1px 0 rgba(236,230,217,.35); }
.screw::after { content: ""; position: absolute; left: 6%; right: 6%; top: 44%; height: 12%; background: #1d1a14; }
.s1 { top: .8em; } .s1::after { transform: rotate(38deg); } .s2 { bottom: .8em; } .s2::after { transform: rotate(-71deg); }
.pb { position: absolute; width: var(--z, .5em); height: calc(var(--z, .5em) * 1.25); border-radius: 50% 50% 50% 50% / 42% 42% 58% 58%; background: radial-gradient(circle at 42% 26%, rgba(255,250,238,.95) 0 7%, rgba(236,230,217,.22) 16%, rgba(21,17,13,.1) 62%, rgba(21,17,13,.42) 100%); opacity: 0; transition: opacity .8s linear; }
html[data-phase="take"] .pb { opacity: 1; }
.p1 { left: 18%; top: 24%; --z: .55em; transition-delay: 2.2s; } .p2 { left: 74%; top: 34%; --z: .4em; transition-delay: 3s; } .p3 { left: 22%; top: 68%; --z: .8em; transition-delay: 2.6s; } .p4 { left: 70%; top: 74%; --z: .6em; transition-delay: 1.9s; } .p5 { left: 48%; top: 90%; --z: .35em; transition-delay: 3.4s; }
.sw-lab { font-family: var(--display); font-size: 2.1em; letter-spacing: -.02em; line-height: 1; color: var(--asphaltum); }
.sw-word { font-size: 1.15em; font-weight: 700; color: rgba(21,17,13,.26); line-height: 1.2; }
html[data-phase="hum"] .sw-on, html[data-phase="done"] .sw-on { color: var(--asphaltum); }
html[data-phase="take"] .sw-off { color: var(--asphaltum); }
.sw-slot { display: block; position: relative; width: 4.4em; height: 7.8em; background: #120f0b; border-radius: 4px; box-shadow: inset 0 3px 9px #000, 0 1px 0 rgba(236,230,217,.3); transform-style: preserve-3d; }
/* The lever really travels: up against the top of the slot for on, down against the bottom for off. */
.sw-lever { position: absolute; left: .7em; right: .7em; top: .45em; height: 3.6em; background: linear-gradient(180deg, #f1ebdf, #b8b09f 60%, #8e8675); border-radius: 3px; transform-origin: 50% 50%; transform: translate3d(0, 0, 1em) rotateX(24deg); transition: transform 140ms var(--drop); box-shadow: 0 .55em .8em rgba(0,0,0,.7); }
html[data-phase="hum"] .sw:hover .sw-lever { transform: translate3d(0, .2em, 1em) rotateX(20deg); }
html[data-phase="take"] .sw-lever { transform: translate3d(0, 3.3em, 1em) rotateX(-24deg); background: linear-gradient(0deg, #f1ebdf, #b8b09f 60%, #8e8675); box-shadow: 0 -.4em .8em rgba(0,0,0,.7); }
.sw-cap { position: absolute; left: clamp(18px, 6vw, 100px); top: 40%; max-width: 9em; font-size: clamp(1.25rem, 2.5vw, 2.3rem); line-height: 1.12; color: var(--salt); }
.sw-rolling { position: absolute; left: 0; right: 0; bottom: 2.5vh; text-align: center; font-size: clamp(3.2rem, 13vw, 16rem); line-height: 1; }
html.still .sw-rolling, html.no-gl .sw-rolling { visibility: hidden; } html.still[data-phase="take"] .sw-rolling, html.no-gl[data-phase="take"] .sw-rolling { visibility: visible; }
@media (max-width: 720px) { .ch#switchCh { --len: 3 !important; } .sw-plate { width: min(62vw, 40svh); font-size: min(4.4vw, 2.7svh); } .sw-cap { position: static; grid-row: 2; text-align: center; max-width: none; margin-top: 8px; font-size: 1.15rem; } .sw-pin { grid-template-rows: auto auto auto 1fr; } }


/* chapter: first-bead */
.fb-wrap { padding: 26vh clamp(18px, 3.6vw, 60px) 7vh; display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 3fr); gap: 40px; align-items: end; }
.fb-head { font-size: clamp(3rem, 12.5vw, 15rem); line-height: .92; max-width: 7em; }
.fb-note { padding-bottom: .4em; }
@media (max-width: 720px) { .fb-wrap { grid-template-columns: 1fr; padding-top: 34vh; } .fb-head { font-size: 19vw; } }


/* chapter: sixty-cycles */
.sc-pin { display: flex; flex-direction: column; justify-content: flex-end; padding: 0 clamp(18px, 3.6vw, 60px) clamp(24px, 5vh, 52px); overflow: hidden; }
.sc-wave { position: absolute; left: 0; top: 4vh; width: 100%; height: 56vh; }
.sc-wave path { vector-effect: non-scaling-stroke; }
.sc-wave .h1 { stroke: var(--bite); stroke-width: 5; filter: drop-shadow(0 3px 0 var(--oxide)); }
.sc-wave .h2 { stroke: var(--oxide); stroke-width: 3; } .sc-wave .h3 { stroke: var(--verdigris); stroke-width: 1.6; }
.sc-copy { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 18px 40px; align-items: end; }
.sc-head { font-size: clamp(2.8rem, 8.4vw, 10rem); }
.sc-side { display: grid; gap: 12px; }
.sc-hold { justify-self: start; min-height: 62px; padding: 12px 26px; background: var(--oxide); color: var(--salt); border-radius: 2px; font-size: 1.15rem; font-weight: 700; touch-action: none; user-select: none; transition: background .12s linear, transform .1s var(--land); }
.sc-hold:hover { background: #80411f; }
.sc-hold:active, .sc-hold[data-on] { background: var(--bite); color: var(--asphaltum); transform: translateY(1px); }
.sc-cap { min-height: 1.4em; }
html.still .sc-hold, html.no-gl .sc-hold { display: none; }
@media (max-width: 720px) {
  .sc-wave { left: auto; right: 0; top: 0; width: 36vw; height: 100%; }
  .sc-copy { grid-template-columns: 1fr; padding-right: 30vw; } .sc-head { font-size: 13vw; } /* the wave swings about 30vw wide: the words stay clear of it */
  .sc-hold { justify-self: stretch; width: calc(100% + 30vw); }
}


/* chapter: two-rooms */
.tr-pin { display: flex; flex-direction: column; justify-content: center; gap: clamp(14px, 3vh, 28px); padding: max(clamp(40px, 10vh, 90px), calc(var(--safe) + 10px)) clamp(18px, 3.6vw, 60px) 40px; }
.tr-doors { display: grid; gap: clamp(10px, 2.2vh, 20px); }
.tr-door { position: relative; display: block; width: 100%; height: clamp(84px, 21vh, 190px); overflow: hidden; text-align: left; }
.tr-door svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tr-door rect { fill: none; stroke: var(--bite); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--draw, 0)); } /* the chapter code sizes the viewBox to the door in pixels, so the frame closes and the stroke stays 2px */
.tr-word { position: absolute; left: .18em; top: calc(50% - .52em); font-family: var(--display); font-size: min(13.5vw, 17svh, 13rem); line-height: 1; letter-spacing: -.04em; color: var(--salt); white-space: nowrap; transition: color .15s linear, transform .12s var(--land); }
.tr-door:hover .tr-word { color: var(--bite); }
.tr-door:active .tr-word { transform: translateY(3px); }
.tr-door[aria-pressed="true"] .tr-word { color: var(--bite); }
.tr-doors:has([aria-pressed="true"]) .tr-door[aria-pressed="false"] .tr-word { color: #5b5346; }
.tr-foot { display: flex; justify-content: space-between; align-items: end; gap: 28px; flex-wrap: wrap; }
@media (max-width: 720px) { .tr-word { font-size: min(15.5vw, 15svh); } }


/* chapter: rust-on-plastic */
.rp-pin { overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; }
.rp-etch { position: absolute; inset: 0; }
.rp-head { position: relative; padding: max(clamp(40px, 9vh, 90px), calc(var(--safe) + 10px)) clamp(18px, 3.6vw, 60px) 0; font-size: clamp(3rem, 10.6vw, 13rem); line-height: .92; }
.rp-copy { position: relative; width: 100%; padding: 26px clamp(18px, 3.6vw, 60px) 30px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3fr); gap: 16px 40px; align-items: start; }
.rp-fact { font-size: 1rem; line-height: 1.4; color: var(--salt); }
.rp-size { display: block; color: var(--bite); margin-top: .5em; opacity: 0; transition: opacity .3s linear; }
.rp-size.on { opacity: 1; }
html.still .rp-size, html.no-gl .rp-size { opacity: 1; }
html.still .rp-copy, html.no-gl .rp-copy, html.still .rp-head, html.no-gl .rp-head { background: var(--asphaltum); }
@media (max-width: 720px) { .rp-head { font-size: 15vw; } .rp-copy { grid-template-columns: 1fr; padding-bottom: 54px; } }


/* chapter: no-undo */
.nu-pin { display: flex; flex-direction: column; justify-content: center; gap: 28px; padding: var(--safe) clamp(18px, 3.6vw, 60px) 0; }
.nu-head { font-size: clamp(3.4rem, 16.2vw, 22rem); line-height: .9; white-space: nowrap; padding-bottom: .14em; } /* Krona One sits below its tight line box: room so the Undo button never touches the letters */
.nu-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.nu-btn { position: relative; min-height: 96px; min-width: 240px; padding: 14px 42px; background: var(--bite); color: var(--asphaltum); font-family: var(--display); font-size: clamp(1.5rem, 3vw, 3rem); letter-spacing: -.03em; border-radius: 2px; transition: transform .1s var(--land), background .12s linear; }
.nu-btn::after { content: ""; position: absolute; right: 0; bottom: 0; border-style: solid; border-width: 0 0 16px 16px; border-color: transparent transparent var(--asphaltum) transparent; }
.nu-btn:hover { background: #e6a06f; }
.nu-btn:active { transform: translateY(2px); }
.nu-btn[data-spent] { background: var(--oxide); color: var(--salt); }
.nu-reply { font-size: clamp(1.1rem, 2vw, 1.8rem); color: var(--salt); min-height: 1.4em; }
@media (max-width: 720px) { .nu-head { white-space: normal; font-size: 23vw; } .nu-btn { width: 100%; } }


/* chapter: hands-that-eat-strings */
.hs-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(24px, 5vw, 80px); padding: 10vh clamp(18px, 3.6vw, 60px) 10vh; align-items: start; }
.hs-text { display: grid; gap: 22px; padding-top: 18vh; position: sticky; top: 8vh; }
.hs-strip { height: 130vh; border-left: 3px solid var(--bite); }
.hs-week { border-bottom: 1px dashed var(--bite); cursor: help; padding: 11px 2px; margin: -11px -2px; }
.hs-aside { display: inline-block; max-width: 0; overflow: hidden; vertical-align: bottom; white-space: nowrap; color: var(--bite); transition: max-width .3s var(--land); }
.hs-week:hover .hs-aside, .hs-week:focus .hs-aside { max-width: 12em; }
@media (max-width: 720px) { .hs-grid { grid-template-columns: 1fr; padding-top: 8vh; } .hs-strip { order: -1; height: 34vh; border-left: 0; border-top: 3px solid var(--bite); } .hs-text { position: static; padding-top: 0; } }


/* chapter: dollar-a-minute */
.dm-wrap { padding: 14vh clamp(18px, 3.6vw, 60px) 12vh; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 20px 48px; }
.dm-price { grid-column: 1 / -1; font-size: clamp(3.4rem, 15vw, 20rem); line-height: .92; }
.dm-sub { grid-column: 1; align-self: start; margin-top: .12em; }
.dm-note { grid-column: 1; align-self: start; }
.dm-receipt { grid-column: 2; grid-row: 2 / span 3; background: var(--salt); color: var(--asphaltum); padding: 26px 26px 54px; font-variant-numeric: tabular-nums; display: grid; gap: 12px; clip-path: polygon(0 0, 100% 0, 100% 97%, 93% 99%, 86% 96.8%, 78% 99.5%, 70% 97%, 60% 100%, 51% 97.2%, 41% 99.6%, 30% 96.9%, 21% 99.4%, 12% 97%, 5% 100%, 0 97.5%); }
.dm-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; font-size: 1rem; }
.dm-row input { grid-column: 1 / -1; width: 100%; height: 34px; accent-color: var(--asphaltum); cursor: grab; }
.dm-row input:active { cursor: grabbing; }
.dm-row input:focus-visible { outline: 2px solid var(--asphaltum); }
.dm-row output { grid-row: 1; grid-column: 2; font-weight: 700; } /* the value sits beside its label, not under the slider */
.dm-line { display: flex; justify-content: space-between; border-top: 1px solid rgba(21,17,13,.3); padding-top: 8px; }
.dm-total { font-weight: 700; font-size: 1.32rem; }
.dm-total span:last-child { font-family: var(--display); font-weight: 400; color: var(--asphaltum); }
.dm-fine { font-size: .82rem; line-height: 1.35; color: #4a4237; }
.dm-book { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--asphaltum); text-underline-offset: .25em; }
.dm-book:hover { color: #3f6a59; }
@media (max-width: 720px) { .dm-wrap { grid-template-columns: 1fr; } .dm-price { font-size: 21vw; } .dm-receipt, .dm-sub, .dm-note { grid-column: 1; grid-row: auto; } .dm-row input { height: 44px; } }


/* chapter: what-to-bring */
.wb-cloth { position: absolute; inset: 0; }
.wb-pin { display: grid; place-items: center; padding: var(--safe) 16px 16px; }
.wb-note { position: relative; width: min(100%, 460px); background: var(--salt); color: var(--asphaltum); padding: 34px 28px 26px; transform: rotate(-1.1deg); box-shadow: 0 16px 34px rgba(0,0,0,.55); }
.wb-tape { position: absolute; left: 50%; top: -14px; width: 110px; height: 28px; margin-left: -55px; transform: rotate(2deg); background: linear-gradient(95deg, rgba(169,188,195,.6), rgba(236,230,217,.72)); }
.wb-head { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.05; letter-spacing: -.03em; margin-bottom: 14px; color: var(--asphaltum); }
html.gl-on .wb-head { color: var(--asphaltum); }
.wb-list { list-style: none; padding: 0; display: grid; gap: 2px; }
.wb-list label { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; padding: 10px 0; min-height: 52px; cursor: pointer; }
.wb-list input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--asphaltum); }
.wb-list input:checked + span { text-decoration: line-through; text-decoration-color: var(--bite); text-decoration-thickness: 2px; }
.wb-done { color: var(--asphaltum); font-weight: 700; margin-top: 8px; }


/* chapter: things-you-would-ask */
.ta-wrap { padding: 10vh clamp(18px, 3.6vw, 60px) 12vh; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(28px, 5vw, 80px); align-items: start; }
.ta-head { position: sticky; top: max(12vh, calc(var(--safe) + 16px)); font-size: clamp(2.6rem, 7.4vw, 9rem); }
.ta-list { list-style: none; padding: 0; }
/* One run of sweat down the page, with a bead at every question. Open ones are wet. */
.ta-list li { position: relative; padding: 0 0 clamp(20px, 4vh, 40px) clamp(30px, 3vw, 46px); }
.ta-list li::before { content: ""; position: absolute; left: 6px; top: 0; bottom: 0; width: 3px; background: var(--bite); transform: scaleY(var(--s, 0)); transform-origin: top; }
.ta-list li::after { content: ""; position: absolute; left: -1px; top: .55em; width: 17px; height: 17px; border-radius: 50%; background: var(--asphaltum); border: 2px solid var(--bite); transition: background .15s linear; }
.ta-list li:has(details[open])::after { background: var(--bite); }
.ta-list summary { display: block; cursor: pointer; min-height: 44px; font-size: clamp(1.45rem, 3vw, 3.1rem); font-weight: 700; line-height: 1.08; list-style: none; transition: color .12s linear; }
.ta-list summary::-webkit-details-marker { display: none; }
.ta-list summary:hover { color: var(--bite); }
.ta-a { padding-top: 8px; font-size: clamp(1.1rem, 1.6vw, 1.55rem); line-height: 1.3; color: var(--freon); animation: ta-drop 320ms var(--land); }
@keyframes ta-drop { from { transform: translate3d(0, -14px, 0); opacity: 0; } }
@media (max-width: 720px) { .ta-wrap { grid-template-columns: 1fr; padding-top: 6vh; } .ta-head { position: static; font-size: 15vw; } }
@media (prefers-reduced-motion: reduce) { .ta-a { animation: none; } }


/* chapter: ac-back-on */
.ab-pin { display: grid; place-items: center; overflow: hidden; }
.ab-crack { position: absolute; inset: 0; }
.ab-edge { position: absolute; inset: 0; border: 1px solid var(--freon); box-shadow: 0 0 0 100vmax #090705; transform: scale(var(--edge, 1.08)); }
.ab-copy { position: relative; width: 100%; padding: 6vh 16px; display: grid; justify-items: center; gap: 18px; text-align: center; }
.ab-head { font-size: clamp(2.8rem, 10.4vw, 12rem); line-height: .96; max-width: 9em; }
.ab-note { color: var(--freon); font-size: clamp(1.2rem, 2vw, 2rem); }
html.still .ab-copy, html.no-gl .ab-copy { background: var(--asphaltum); }
@media (max-width: 720px) { .ab-head { font-size: 17vw; } }


/* chapter: the-print */
.paper { background: var(--salt); color: var(--asphaltum); z-index: 3; }
.paper::before { content: ""; position: absolute; left: 0; right: 0; top: -26px; height: 28px; background: var(--salt); clip-path: polygon(0 100%, 0 42%, 7% 62%, 14% 26%, 23% 58%, 31% 18%, 42% 54%, 50% 30%, 61% 66%, 70% 22%, 78% 56%, 88% 28%, 95% 60%, 100% 34%, 100% 100%); }
.tp-sheet { min-height: 100svh; padding: clamp(36px, 7vh, 72px) clamp(18px, 5vw, 80px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.tp-plate { position: relative; border: 1px solid rgba(21,17,13,.22); box-shadow: inset 2px 2px 3px rgba(21,17,13,.14), inset -2px -2px 3px rgba(255,255,255,.6); padding: 14px; }
#printCv { display: block; width: 100%; height: auto; background: var(--salt); }
.tp-edition { position: absolute; right: 12px; bottom: 4px; font-size: .8rem; color: #5b5346; }
.tp-side { position: sticky; top: max(8vh, 64px); display: grid; gap: 18px; }
.tp-head { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 4.2vw, 4.2rem); line-height: 1; letter-spacing: -.03em; color: var(--asphaltum); }
.tp-body { font-size: 1.08rem; max-width: 26em; }
.tp-bill { font-variant-numeric: tabular-nums; }
.tp-bill > div { display: flex; justify-content: space-between; gap: 18px; padding: 8px 0; border-bottom: 1px solid rgba(21,17,13,.26); }
.tp-total { font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 3.6vw, 3.6rem); letter-spacing: -.03em; align-items: baseline; }
.tp-total dt { font-size: .5em; }
.tp-fine { font-size: .86rem; color: #4a4237; }
.tp-save { justify-self: start; min-height: 48px; padding: 10px 18px; border: 1px solid var(--asphaltum); border-radius: 2px; transition: background .12s linear, color .12s linear, transform .1s var(--land); }
.tp-save:hover { background: var(--asphaltum); color: var(--salt); }
.tp-save:active { transform: translateY(1px); }
.paper :focus-visible { outline-color: var(--asphaltum); }
@media (max-width: 720px) { .tp-sheet { grid-template-columns: 1fr; } .tp-side { position: static; } .tp-save { justify-self: stretch; } }


/* chapter: take-the-room */
.tk-sheet { padding: max(6vh, 64px) clamp(18px, 4vw, 64px) 12vh; min-height: 100svh; }
.tk-head { font-family: var(--display); font-weight: 400; font-size: clamp(2.6rem, 10.4vw, 13rem); line-height: .94; letter-spacing: -.045em; color: var(--asphaltum); }
.tk-carry { font-size: clamp(1.2rem, 2vw, 2rem); margin: 22px 0 30px; font-variant-numeric: tabular-nums; }
/* A tape track sheet: ruled in ink, every field a numbered track. */
.tk-form { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); border: 2.5px solid var(--asphaltum); caret-color: var(--asphaltum); }
.tk-bar { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 18px; padding: 10px 14px; background: var(--asphaltum); color: var(--salt); font-family: var(--display); font-size: clamp(.72rem, 1.05vw, 1rem); letter-spacing: -.01em; }
.tk-cell { position: relative; display: grid; align-content: start; gap: 2px; padding: 12px 14px 8px 46px; min-height: 128px; border-right: 1.5px solid var(--asphaltum); border-top: 1.5px solid var(--asphaltum); transition: background .12s linear; }
.tk-cell:hover { background: rgba(95,143,124,.12); }
.tk-cell:focus-within { background: rgba(95,143,124,.24); }
.c-a { grid-column: span 5; } .c-b { grid-column: span 7; border-right: 0; } .c-c { grid-column: 1 / -1; border-right: 0; } .c-d { grid-column: span 4; } .c-e { grid-column: span 5; } .c-f { grid-column: span 3; border-right: 0; }
.tk-n { position: absolute; left: 14px; top: 10px; font-family: var(--display); font-weight: 400; font-size: 1.15rem; color: var(--asphaltum); }
.tk-cell label { font-size: 1rem; font-weight: 700; color: var(--asphaltum); }
.tk-cell input, .tk-cell textarea, .tk-cell select { width: 100%; font: inherit; font-size: clamp(20px, 2vw, 28px); background: transparent; border: 0; border-bottom: 1px solid rgba(21,17,13,.3); color: var(--asphaltum); min-height: 48px; padding: 6px 0; resize: vertical; border-radius: 0; }
.tk-cell input:focus-visible, .tk-cell textarea:focus-visible, .tk-cell select:focus-visible { outline: 0; border-bottom: 3px solid var(--asphaltum); }
.tk-help, .tk-err { font-size: .86rem; min-height: 1.3em; color: #4a4237; } .tk-err { color: #8a2d12; font-weight: 700; }
.tk-send { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 26px; min-height: clamp(110px, 18vh, 170px); padding: 14px 26px; background: var(--asphaltum); color: var(--bite); font-family: var(--display); font-size: clamp(2rem, 6vw, 6.4rem); letter-spacing: -.04em; border-top: 2.5px solid var(--asphaltum); transition: background .12s linear; }
.tk-send:hover { background: #2a221a; color: var(--salt); } .tk-send:active { background: #000; }
.tk-slot { display: inline-block; flex: none; width: 1.05em; height: 1.65em; background: #120f0b; border-radius: 4px; padding: .1em; perspective: 300px; box-shadow: inset 0 2px 6px #000; }
.tk-lever { display: block; width: 100%; height: 100%; background: linear-gradient(180deg, var(--salt), #a69f8f); border-radius: 3px; transform: rotateX(32deg); transition: transform 160ms var(--drop); }
.tk-send[data-state="sending"] .tk-lever { transform: rotateX(0deg); }
.tk-send[data-state="done"] .tk-lever { transform: rotateX(-32deg); }
.tk-status { grid-column: 1 / -1; font-size: 1.1rem; padding: 0 14px; }
.tk-status:not(:empty) { padding: 12px 14px; border-top: 1.5px solid var(--asphaltum); }
@media (max-width: 720px) { .c-a, .c-b, .c-c, .c-d, .c-e, .c-f { grid-column: 1 / -1; border-right: 0; } .tk-head { font-size: 15vw; } .tk-cell { min-height: 112px; } }


/* tablets (721 to 1000 wide): the side columns were too narrow (the lead in short lines beside the buttons, the receipt
   one word per line, the door sign in a 180px slab) */
@media (min-width: 721px) and (max-width: 1000px) {
  .hum-foot { grid-template-columns: 1fr; } .hum-tools { grid-column: 1; grid-row: auto; margin-top: 8px; }
  .sw-plate { width: min(34vw, 40svh); font-size: min(2.4vw, 2.7svh); }
  .sc-copy { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .dm-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .door { grid-template-columns: 1fr; } .door-slab { min-height: 56svh; }
}

/* small phones (320 wide): the sixty-cycles copy is too long for the narrow column beside the wave */
@media (max-width: 360px) {
  .sc-wave { width: 26vw; } .sc-copy { padding-right: 18vw; } .sc-hold { width: calc(100% + 18vw); }
  .sc-head { font-size: 12vw; } .sc-side .note { font-size: .95rem; line-height: 1.4; }
  .wb-note { padding: 28px 20px 20px; } .wb-list label { min-height: 44px; padding: 7px 0; }
}

/* landscape phones: a 390px tall window. The ceiling sinks 30% less, the poster sits on two lines, the switch and
   "Rolling." stand side by side, the packing list goes into two columns. */
@media (max-height: 500px) and (orientation: landscape) {
  :root { --safe: calc((44px + min(92px, 10svh)) * .7); }
  .ceiling { transform: translate3d(0, calc(var(--ceil) * .7), 0); }
  .meter { top: -28px; font-size: 1rem; transform: translate3d(0, calc(var(--ceil) * .7), 0); }
  .hum-pin { padding-block: 22px 16px; } .poster br { display: none; } .poster { font-size: min(9vw, 17svh); }
  .hum-facts { font-size: 1.25rem; } .hum-detail { font-size: 1rem; }
  .sw-pin { padding-top: max(18px, calc(var(--ceil) * .7 + 10px)); } .sw-plate { width: min(160px, 52svh); font-size: min(14px, 2.9svh); }
  .sw-rolling { left: auto; right: 4vw; top: 40%; bottom: auto; text-align: right; font-size: 16svh; }
  .sc-wave { top: var(--safe); height: 24svh; } .sc-copy { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); } .sc-head { font-size: 7vw; } .sc-side { gap: 8px; } .sc-side .note { font-size: .9rem; line-height: 1.35; } .sc-hold { min-height: 46px; }
  .rp-head { font-size: 8vw; } .rp-copy { padding-block: 14px 18px; } .rp-fact, .rp-copy .note { font-size: .9rem; line-height: 1.35; }
  .tr-door { height: clamp(64px, 24svh, 120px); }
  .nu-btn { min-height: 64px; } .nu-head { font-size: 13vw; }
  .wb-note { width: min(100%, 720px); padding: 26px 24px 16px; } .wb-list { grid-template-columns: 1fr 1fr; column-gap: 22px; } .wb-list label { min-height: 44px; padding: 6px 0; } .wb-head { margin-bottom: 6px; }
  .tp-side { top: 64px; }
  .door-slab { min-height: auto; } .door-sign { margin-bottom: 1.4em; }
  .tk-head { font-size: 7vw; } .tk-carry { margin: 10px 0 16px; } /* Book a session lands with the first field on screen */
}
```

## 6. The supplied world module

`world.js` is four classic scripts in one file. It creates `window.LC` and does the following on its own:

- **Phases.** `LC.phase` starts as `hum`. `LC.throw(source)` (only from `hum`) switches to `take`: sets `html[data-phase="take"]`, title `Rolling. Low Ceiling Studios`, the favicon lever down, theme colour `#15110d`, silences the hum, plays a clack, announces `The air is off.` and emits `throw` with the source (`hand` or `auto`). `LC.finish()` switches to `done` (throwing first if needed): title `AC back on. Low Ceiling Studios`, theme colour `#a9bcc3`, a faint hum if sound is on, announces `The air is back on.` and emits `finish`. Any click on an in-page `#` link during `hum` throws the switch automatically. Ctrl or Cmd + Z outside fields emits `undo-key`.
- **Meter and ceiling.** During the take `LC.elapsed` counts seconds; `#meterTime` shows `m:ss` and `#meterCost` a dollar a minute, counted in whole seconds. `LC.heat` (0 to 1) grows with time (full at 240 s) or with how far down the page the visitor is. The ceiling bar drops 44px when the take starts and further with the heat (up to 92px or 10% of the screen height). After 90 s idle the meter blots once.
- **Hum.** `LC.audio()` creates the sound (three oscillators at 60, 120 and 180 Hz, silent until asked). `LC.hum(level, seconds)` ramps the volume. `LC.soundOn` is your flag for whether the visitor turned sound on.
- **Plate.** One WebGL2 canvas `#plate` draws the wax, the bitten copper, the `.bite` words, the `.etch` pictures and the beads of sweat. Every bead that runs bites a permanent line, logged in `LC.log`. While the AC hums the whole plate shimmers sideways (at under half strength on screens under 720px wide or 500px tall). Without WebGL it adds `html.no-gl`; under reduced motion it adds `html.still`; either way it draws one still plate of dry lines.
- **Sweat.** From 5.4 s after the switch, beads appear (more as it gets hotter or when the visitor stops scrolling), never above a column of `.note` or `.dry` text, hang, grow, let go and run down. When the phase is `done` they shrink away.
- **Door.** The footer line `#doorNow` shows the current time in Nashville (`America/Chicago`), updated every 30 s.
- **Remembering.** `LC.back` is `true` when the visitor has been here before.

The interface your chapter code uses:

| Member | What it is |
|---|---|
| `LC.phase`, `LC.throw(source)`, `LC.finish()` | As above |
| `LC.on(name, fn)`, `LC.emit(name, arg)` | Events: `throw`, `finish`, `undo-key`, and `room` (yours) |
| `LC.frames` | Array of functions `(seconds, dt)` called every frame; push into it |
| `LC.still`, `LC.gl` | Reduced motion; WebGL running |
| `LC.y`, `LC.vh`, `LC.vw` | Scroll position and window size |
| `LC.idle` | Seconds since the visitor last scrolled |
| `LC.prog(el)` | 0 when el's top reaches the top of the window, 1 when its bottom reaches the bottom |
| `LC.clamp(v, a = 0, b = 1)` | Clamp |
| `LC.time(s)`, `LC.money(s)` | `m:ss` and `$0.00` (a dollar a minute, whole seconds) |
| `LC.elapsed` | Seconds of the take so far |
| `LC.audio()`, `LC.hum(level, seconds)`, `LC.soundOn` | Sound |
| `LC.say(text)` | Writes into the polite status `#announce` |
| `LC.title(text)` | Sets the tab title |
| `LC.setReveal(el, v)` | Reveals a `data-reveal="manual"` bitten word, 0 to 1 |
| `LC.spawnBead(x, pageY, { r, hang })` | Adds a bead at screen x and page y with radius r that hangs for `hang` seconds; returns it (`{ x, y, r, hang, last, stopAt }`) or null when full |
| `LC.log` | `{ data, STRIDE, n }`: every bitten point (x, page y, radius, time, depth) |
| `LC.back`, `LC.room` | Returning visitor; the chosen room (yours) |

## 7. Chapter code

Create `site.js`. One block per chapter, in page order, each an immediately invoked function `(function () { ... })();` preceded by `/* chapter: <name> */`, starting with `const LC = window.LC` where needed. All copy below is exact.

### the-hum

All elements matching `.hum-facts, .sw-name` get class `shake`. If `LC.back`, un-hide `#backAgain`. The button `#hear` holds three level bars and a label `#hearLabel`; only the label's text ever changes (never set the button's own text, or the bars are lost). On click: if `LC.audio()` returns nothing, the label becomes `No sound on this browser`; otherwise resume the audio, flip `LC.soundOn`, set `aria-pressed` on the button, set the label to `Room is audible` or `Hear the room`, and during the hum set `LC.hum(LC.soundOn ? .12 : 0, .3)`. Nothing makes a sound before the visitor presses something: never create the audio on load or on scroll. Unless reduced, every frame during the hum move those shaking lines by one random horizontal offset, `(random - .5) * 1.4` px on screens under 720px and `* 2.4` otherwise (the AC is rattling them). On `throw`, clear their transforms.

### the-switch

Write this block exactly (the timing of the silence and the first bead is the point of the page):

```js
const LC = window.LC, btn = document.getElementById('ac'), cap = document.getElementById('swCap'), ch = document.getElementById('switchCh'), rolling = document.getElementById('rolling'), plate = btn.querySelector('.sw-plate');
btn.addEventListener('click', () => {
  if (LC.phase === 'hum') { LC.audio(); LC.throw('hand'); }
  else if (LC.phase === 'take') cap.textContent = 'Not during a take.';
});
let thrownProg = 0, bead = null, stage = 0, sinceThrow = 0, held = 0;
const beadR = () => Math.min(82, LC.vw * .17);
LC.frames.push((T, dt) => {
  const p = LC.prog(ch);
  if (LC.phase === 'hum') {
    if (p > .42) LC.throw('auto');
    if (!LC.still) { const walk = .62 + .38 * LC.clamp(p / .42), j = (Math.random() - .5) * 1.8; plate.style.transform = `translate3d(${j.toFixed(2)}px,0,0) scale(${walk.toFixed(3)})`; }
    return;
  }
  if (!LC.gl || LC.still || stage === 4) return;
  sinceThrow += dt;
  const moved = p - thrownProg;
  // Silence holds 1.4 seconds, unless the visitor scrolls on. Then one bead gathers on the bottom edge of the switch.
  if (stage === 0 && (sinceThrow > 1.4 || moved > .1)) { stage = 1; held = 0; bead = LC.spawnBead(LC.vw / 2, LC.y + LC.vh * .7, { r: .5, hang: 1e6 }); }
  if (stage >= 1 && stage < 3 && bead) {
    const k = LC.clamp(Math.max((sinceThrow - 1.4) / 2.2, (moved - .05) / .3)), pr = plate.getBoundingClientRect();
    bead.r = beadR() * k * k + .5; bead.x = pr.left + pr.width / 2; bead.y = LC.y + pr.bottom + bead.r * .55; bead.last = bead.y;
    LC.setReveal(rolling, LC.clamp((k - .65) / .35));
    if (k >= 1) { stage = 2; held += dt; if (held > .5 || moved > .4) { stage = 3; bead.hang = 0; const land = document.querySelector('[data-chapter="first-bead"]'); bead.stopAt = land.getBoundingClientRect().top + LC.y + LC.vh * .3; } }
  }
  if (stage === 3) { LC.setReveal(rolling, 1); stage = 4; }
});
LC.on('throw', source => {
  btn.setAttribute('aria-pressed', 'true'); btn.setAttribute('aria-label', 'Air conditioning switch. Off for the take.');
  plate.style.transform = 'none'; thrownProg = LC.prog(ch);
  if (source === 'auto') cap.textContent = 'Somebody got it.';
  if (LC.still || !LC.gl) { rolling.style.visibility = 'visible'; cap.textContent = source === 'auto' ? 'Somebody got it.' : 'Off.'; }
});
```

What the visitor sees: the switch plate walks closer and rattles; clicking it (or scrolling past 42% of the chapter, then `Somebody got it.`) throws the lever down, the room goes silent, one big bead gathers under the switch while `Rolling.` is bitten in, then it lets go and runs down into the next chapter.

### first-bead

Every frame during the take with WebGL: when the visitor has been idle for 8 s or more and `.fb-head` is on screen (top above 70% of the window, bottom below 0), spawn one bead once at a random point along the first 20 to 80% of the heading's width, 20% down its height, with `{ r: 9, hang: 1.6 }`. Reset that once-flag as soon as the visitor scrolls again (idle under 8).

### sixty-cycles

The hum dies away as you scroll; holding the button brings it back. State: `amp = .9`, `vel = 0`, `on = false`, `heldFor = 0`.

- `set(v)`: when turning on, reset `heldFor`, set `data-on` on `#hold`, text `Running`, resume audio and `LC.hum(.13, .08)`. When turning off after having been on: remove `data-on`, text `Off again`, `#waveCap` back to `One cycle, 16.7 thousandths of a second.`, `LC.hum(0, .18)`, and 1.6 s later, if still off, text `Hold to run the compressor`.
- Pointer down on `#hold` captures the pointer and turns on; pointer up, cancel and lost capture turn off. Space or Enter (not repeats, prevent default) turns on; releasing them turns off.
- `draw(p)`: three harmonics `[multiple, gain]` = `[1, 1]`, `[2, .42]`, `[3, .16]` go into `#wavePath`, `#wave2` and `#wave3`. On screens under 720px the SVG is 200 x 1000 and the wave runs vertically, otherwise 1000 x 200. Cycles across the width `c = 7 - 6p`, 260 segments; each point's offset is `sin(s * c * multiple * 2π) * amp * gain * 92` from the centre line. Set the `viewBox` to match.
- Draw once with `p = .2`. Every frame while the chapter is on screen: under reduced motion just `draw(.2)`; otherwise the target is 1 when on, else `max(.03, .9 * (1 - p * 1.15))`; spring `vel += (target - amp) * dt * 90; vel *= .0018 ** dt; amp += vel * dt;` while on, count `heldFor` and after 10 s set `#waveCap` to `Your bass player is now in the wrong key.`; then `draw(p)` with `p = LC.prog(chapter)`.

### two-rooms

The two `.tr-door` buttons act as one optional choice: clicking toggles that door's `aria-pressed` and sets the other to `false`; `LC.room` becomes its `data-room` or `''`, and `LC.emit('room', LC.room)`.

The outline is drawn in the door's own pixels so that its dash (`pathLength="1"`) is the real perimeter and the frame closes: a `fit()` function, run at load and on every `resize`, sets each door's `svg` `viewBox` to `0 0 <clientWidth> <clientHeight>` and its `rect` to `x = 1.5`, `y = 1.5`, `width = clientWidth - 3`, `height = clientHeight - 3` (skip a door whose width is 0). Under reduced motion set `--draw: 1` on both; otherwise every frame while on screen `seen = clamp((vh - top) / (vh * 1.15))` and door i gets `--draw = clamp(seen * 2 - i * .55)` (three decimals), which draws its outline.

### rust-on-plastic

Every frame while on screen, with `p = LC.prog(chapter)`: set `etch._zoom = 1 + p * p * 6.5` and `etch._mix = clamp((p - .3) / .55)` on the chapter's `.etch` (the plate reads these: the picture zooms in and blends into the second picture), and toggle class `on` on `#rpSize` when `p > .78`.

Also define `LC.stillEtch(el, src)` for when WebGL is missing, and on `load`, if `!LC.gl`, call it for every `.etch` with its `data-src`: load the image, draw it 640px wide on a canvas, and for each pixel compute luminance `L = (.3r + .6g + .1b) / 255`; the pixel is a copper line (`217, 138, 85`) when `abs(((x * .95 + y * .31) / 5 % 1) - .5) * 2 < L ** .85 * .86`, otherwise wax (`21, 17, 13`); then set the element's background to that canvas as a PNG data URL, centred, `cover`.

### no-undo

Clicking `#undo` writes the next line into `#undoReply`: `It is from 1974.`, then `Still from 1974.`, then `You can do another take. It is about three dollars.` (which stays); after the third press set `data-spent` on the button. On `undo-key` write `Nice try with the keyboard.`

### hands-that-eat-strings

`release(x, y)`: during the take with WebGL, spawn a bead at screen x and page y with `{ r: 5 + random * 5, hang: 0 }`. Mouse movement over `#strip` (not touch) releases one at the pointer at most every 180 ms; pointer down releases one. Every frame during the take while the strip is on screen, with probability .06 release one at a random x across the strip, within 50px below its visible top.

### dollar-a-minute

The receipt form `#calc` never submits (prevent the default on submit). Ranges `#cSongs` (1 to 14), `#cMins` (1 to 8), `#cTakes` (0 to 12). `update()` on input and at load: `total = songs * minutes * takes` minutes; each range's following `output` shows its value, and its `aria-valuetext` is `<n> songs`, `<n> minutes each`, `<n> takes each`; `#cTime` shows `H h MM m`; `#cCost` types the new price `$<total>` one character every 90 ms (starting empty, only when it changed); `#cFine` reads `Zero takes is cheap. It is also not a record.` at zero takes, otherwise its original text.

### what-to-bring

The four checkboxes in `.wb-list` are restored from and saved to `localStorage` key `lc-bring` as a JSON array of their `data-k` values (try/catch). `#wbDone` shows only when all four are checked.

### things-you-would-ask

Under reduced motion set `--s: 1` on every `li`; otherwise every frame while on screen `k = clamp((vh - top) / (height * .5))` and item i gets `--s = clamp(k * 1.5 - i * .1)` (three decimals). When every `details` is open, set the title to `Five questions, zero of them dumb.`

### ac-back-on

Every frame: if the phase is not `done` and the chapter's top is above 40% of the window, `LC.finish()`. Unless reduced, set `--edge` on `#abEdge` to `1.08 - LC.prog(chapter) * .2` (four decimals): for the first time the camera steps back from the plate.

### the-print

When the chapter comes into view (IntersectionObserver with `rootMargin: '-10% 0px -40% 0px'`), toggle `html[data-paper]` with its visibility, and on entering: `LC.finish()`, fill the bill, and print once.

- Bill: `#billTime` = `LC.time(LC.elapsed)`, `#billTotal` = `LC.money(LC.elapsed)`; with WebGL and fewer than 300 logged points, `#printBody` reads `Almost nothing bit. You went through fast.`; the canvas `aria-label` becomes `An ink print of your visit, which lasted <time> and would have cost <money>.`
- Layout: the canvas `#printCv` is 900 px wide and `900 * clamp(pageTopOfThisChapter / vw / 8, 1.05, 1.5)` high, filled with `#ece6d9`.
- Without WebGL or with an empty log: draw 140 example lines in `#15110d` (seeded random, seed 11, multiply by 16807 modulo 2147483647): each starts at a random point, runs 80 to 500 px down in 7 px steps with a sideways `sin(d * .03 + i) * 2.5` wobble, line width .4 to 2.6, round caps; then write `An example plate. Motion was off for this visit.` in `20px Newsreader, serif` at (18, height - 18).
- Otherwise: draw every logged point as a filled `#15110d` circle at `x * 900 / vw`, `y * height / pageTop`, radius `max(1, radius * scale * 1.25 * depth)`, revealed progressively over 1.8 s with `requestAnimationFrame`.
- `#saveBtn` downloads the canvas as `low-ceiling-print.png` and then reads `It is yours`.

### take-the-room

- Required fields: `#fName` and `#fReach`, errors in `#eName` and `#eReach`: `We need something here to get back to you.` (set `aria-invalid` and point `aria-describedby` at the error). Check on blur once a field has a value or has been marked.
- `#fHours` updates `#fPrice`: `<h> hour(s) at $60 is $<h * 60>.` (`hour` when 1).
- On `room`, set `#fRoom` to the room or `Tell me which`. `#carry` shows `LC.money(LC.elapsed)` at load and on `finish`. When the form comes into view, `LC.finish()` and refresh `#carry`.
- Submit (prevent default): if a required field is empty, focus the first invalid one. Otherwise `data-state="sending"` on `#sendBtn`, `#sendLabel` `Sending…`. With a `data-endpoint`, POST the form fields as JSON there; success says `Got it. Bring a second shirt.` Without one, copy this summary to the clipboard and say `This copy of the site is not connected to an inbox yet. Your request has been copied to your clipboard.`:

```text
Booking request for Low Ceiling Studios
Name: <name>
Reach me: <reach>
Bringing: <bring>
Room: <room>
When: <when>
Hours: <hours>
```

  On success set `data-state="done"` and `Booked it`. On failure reset the state and label (`Book it`) and say `That did not go through. Nothing was sent. Try again in a minute.` with an endpoint, or `This copy of the site is not connected to an inbox yet, and your browser would not let us copy the request. Nothing was sent.` without.

## 8. Interactions to confirm by hand

1. First screen: `Low Ceiling Studios` bitten in copper, the lead `A recording studio in Nashville.` / `We record bands and songwriters live to tape.`, the detail line, `The AC is on. You can hear it.`, `Hear the room` with its three small bars, and the solid copper `Book a session` button. The lead and the small studio name over the switch rattle.
2. `Hear the room` plays a low hum after the click, never before; its bars move only while the hum is audible. Scrolling the whole page without pressing anything makes no sound.
3. The AC switch: clicking it throws the lever, the meter appears in the ceiling, a big bead forms under the switch, `Rolling.` is bitten in, and the bead runs down.
4. Keep scrolling: sweat beads run and leave copper lines, the ceiling sinks, the meter counts.
5. Holding `Hold to run the compressor` brings the wave back up and hums.
6. The rust picture is etched as hatching and zooms in; `No undo.` answers three times.
7. The price receipt recalculates; the bring list is remembered.
8. `That was the take.`: the air comes back on, the beads dry up.
9. The print shows the lines of this visit with its time and cost; `Take the print with you` downloads it. The booking form validates and copies the request when no endpoint is set.

## 9. Verify, then show the result

Serve the folder (section 1) and open it. Check desktop near 1440 x 900 and phone widths near 390 and 320 for horizontal overflow, missing files, console errors and any request to another domain. Scroll the whole page once at each size; with a browser tool, check the interactions in section 8. If WebGL is unavailable where you test, say so: the page then shows plain copper words and a still plate.

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/tape-room-studio/preview/.
