All tests pass and the workspace is clean. Here's what I fixed in this session to get the experience fully working:

## Bugs found & fixed

**Rail/commute correctness (the big ones):**
- **`findSeg` wrap bug** — the midnight-crossing segment test used `h < s.a` instead of `h < s.a + s.span - 24`, so late-night work segments wrongly claimed early-morning times. Fixed the upper bound.
- **`pt: home` vs `pt: home.pt`** — several home segments stored the `{th, r, pt}` wrapper instead of the point, producing `null` coords. Fixed all 11.
- **`makeEvening` stored `pt: spot`** (wrapper) instead of `spot.pt`. Fixed.
- **Boarding after the train passed** — `nextTrain` uses a pure orbital model, but `trainTheta` has a hold-event for train 2, and the wait could clamp to *after* the chosen train already left. Rewrote to a single `nextTrain` that (a) adds a 1.5 s boarding margin and (b) uses an event-aware numeric scan+bisect (`nextPassage2`) for train 2, so the passenger always boards the train that is actually at their platform.
- **Rail-hold geometry** — the story says "hold at the Forge station," but the event math parked train 2 at 258°. Recomputed `t0` so the hold angle is exactly **70° (the Forge station)**, keeping 21:11–21:41 and daily periodicity.
- **Schedule holes** — gaps appeared between "walking back" and work2, and between evening and sleep. Closed them so every hour is covered (no fallback fallbacks/teleports).

**Cross-module import break (would have crashed the page):**
- `world.js` imported `BAZAAR` and `BUILDINGS` from `data.js`, but both are exported from `residents.js`. Re-linked the imports. Verified every import resolves statically.

**Main.js / API:**
- `districts()` read stale `pops` (only updated in the frame loop) → now computes populations on demand from `posAt`.
- Removed a redundant ternary.

**Content consistency:**
- Fixed the approach caption timeline ("eight years" of hollowing to match 2141→2149 lore; "just after five" to match the clock; bazaar caption).
- Rail-hold note "29 minutes" → "30 minutes" (matches the actual 30-min hold).

## Verification
- `test/smoke.mjs` — **all pass** (population, job/district counts, full-day position finiteness, boundary continuity, passengers-on-train, train continuity + daily periodicity, determinism).
- Sandbox runtime tests with a faithful three.js/DOM stub: `buildWorld` + `update` across a full day and all event windows, barge schedule, train placement — **pass**.
- `main.js` module init + full `window.city` API (`state/seek/skip/setClock/play/districts/residents/follow/focus`), including **seek determinism** and **paused same-hour determinism** — **pass**.
- CDN pins (`three@0.160.0`, Google Fonts) verified live; all JS syntax-checked.

The three-part experience (72 s cinematic approach → 640-resident living city → integrated explanations) is complete, deterministic, and free of existing IP.
