Running the headless Chrome WebGL and `window.city` API verification suite now; will inspect the test results and rendered screenshots as soon as it finishes.
Re-running the headless Chrome WebGL and `window.city` verification suite after refining the asteroid silhouette, camera approach trajectories, and resident deck anchoring.
Built **Larkspur (Anchor-07)**, a self-contained WebGL experience of an orbital city anchored to a captured metallic-silicate moonlet (**The Sinker**) inside the inner ring gap 420,000 km above the banded gas giant **Ophir**.

### What Was Built

1. **The Approach (`src/approach.js`)**
   - A 68-second, 6-chapter deterministic cinematic sequence (`I. The Banded Deep` through `VI. Larkspur, Anchor-07`) that starts automatically on page load, uses shifting lenses (`30°` telephoto compression to `52°` flybys), letterbox framing, captions, and transitions seamlessly into the Living City on completion (or immediately via **Skip Approach** / `Space`).
   - Seeking to any timestamp via `window.city.seek(seconds)` renders the exact deterministic camera, caption, hero skiff, and sunlight angle for that second.

2. **The Living City (`src/simulation.js`, `src/scene.js`)**
   - **600 individual residents** rendered via `THREE.InstancedMesh` across three staggered shifts (`240` Day Shift, `160` Swing Shift, `100` Night Watch, `100` Civic/Market/Youth & Elders), each with a unique name, role, home (`510` in Lantern Ward, `50` in Meridian Lofts, `40` in Solarium Dorms), workplace, and 24-hour schedule.
   - **Diurnal & Transit Simulation**: Purely deterministic evaluation of `clock` (`[0, 24)`), driving orbital sunlight and Ophir's night eclipse, heliostat mirror tracking, Conservatory magenta grow-lamps at night, Lantern Ward window/lantern illumination, Foundry crucible pours, Wellspring radiator heat, 8 Mag-Tram loop pods, 2 Core Lift cars, 9 cargo cableway buckets, and 4 scheduled ice-harvester skiffs.
   - **Controls**: Play/pause, speed selector (`0.5×`, `1×` = 3 minutes per day, `3×`, `8×`), 24-hour time scrubber, orbit/zoom, click-to-select any district or individual resident in 3D, and resident follow camera.

3. **How It Works (`src/lore.js`, `src/main.js`)**
   - **7 Disjoint Districts**: `spire` (Heliostat Crown), `dock` (Shearwater Berth), `conservatory` (Solarium Terraces), `agora` (Meridian Agora), `foundry` (The Iron Reef), `lanterns` (Lantern Ward), and `wellspring` (Meltwater Core).
   - **6 Systemic Briefings**: Interactive **District** & **City Systems** drawer covering spatial anatomy, the 600-person three-shift society, the 9-seat Sortition Council & Hydrologist veto, the Litre-Credit (`Lk`) economy (`120 Lk/week` dividend, `18–34 Lk/day` shift pay, item prices), closed-loop life support (`48.0 MW` D-He³ fusion, `14.0 t/day` ice intake, `96.4%` water recovery, `68%/32%` O₂ split, and failure-mode fallbacks), and Mag-Tram / Core Lift / cableway transit.

4. **Procedural Soundscape & Music (`src/audio.js`)**
   - Web Audio API synthesizer (algorithmic convolver reverb, evolving D Lydian/Dorian harmonic pads, crystalline chimes, fusion hum, and district-reactive ambience) unlocked only after the user's first click or key press, with a visible **Sound / Mute** toggle in both modes.

### Files Created
- [index.html](experiments/2026-11-20-space-city/runs/antigravity-hydrogen/workspace/index.html)
- [styles.css](experiments/2026-11-20-space-city/runs/antigravity-hydrogen/workspace/styles.css)
- [src/lore.js](experiments/2026-11-20-space-city/runs/antigravity-hydrogen/workspace/src/lore.js)
- [src/simulation.js](experiments/2026-11-20-space-city/runs/antigravity-hydrogen/workspace/src/simulation.js)
- [src/approach.js](experiments/2026-11-20-space-city/runs/antigravity-hydrogen/workspace/src/approach.js)
- [src/scene.js](experiments/2026-11-20-space-city/runs/antigravity-hydrogen/workspace/src/scene.js)
- [src/audio.js](experiments/2026-11-20-space-city/runs/antigravity-hydrogen/workspace/src/audio.js)
- [src/main.js](experiments/2026-11-20-space-city/runs/antigravity-hydrogen/workspace/src/main.js)
- Pinned local `three@0.170.0` module & addons under `lib/` (`lib/three.module.min.js`, `lib/addons/...`).

### Verification
- Verified in headless Google Chrome (`157.0.8103.51`) with WebGL enabled over a local HTTP server via CDP:
  - `0` console errors and `0` runtime exceptions.
  - `window.city.state()`, `seek()`, `skip()`, `setClock()`, `play()`, `districts()`, `residents()`, `focus()`, and `follow()` all passed: `duration === 68`, `districtCount === 7`, `residentCount === 600`, `totalPop === 600`, `s29_deterministic === true`, `clockDeterministic === true`, and `allValidRes === true`.
  - Visually inspected rendered screenshots across Approach (5s and 29s), Living City Day (`13:30`) and Night (`23:00`), District Focus (`conservatory`), and Resident Follow (`res-001`).

To view locally, serve the workspace directory over HTTP (e.g. `python3 -m http.server 8000`) and open `http://localhost:8000/`.
