

Done. The workspace contains a single `index.html` (739 lines, no build step) — everything is procedural, three.js 0.160.0 pinned from unpkg, Cinzel + EB Garamond from Google Fonts.

**What it does**

- **Cinematic tour (75 s, auto-starts)** — five chapters with keyframed, eased camera moves, letterbox bars, a vignette, and fading captions:
  1. *The Harbour of Alexandria* — slow dusk drift in from 800 m out over the sea
  2. *Three Tiers of Stone* — low pass along the square base, up through the octagon
  3. *The Flame* — close approach to the beacon as night falls and the beam starts sweeping
  4. *Every Ship Finds Its Way* — pull back over the channel with ships rounding the breakwaters
  5. *The Fall and the Legacy* — rise above it all into the starry night, then auto-switches to explore mode
- **The building** follows the common modern reconstruction (≈110 m): square base with buttresses/door, octagonal middle, cylindrical crown, colonnaded light room, dome and finial — plus Pharos island, mole/breakwaters, the harbour channel, galley ships, and gulls. Sky, sea (procedural waves with sun/beacon glitter), stars, moon and the rotating light beam are all shaders/canvas generated. A persistent note on the page states the layout is *one plausible reading* of Strabo/Pliny and modern studies, and the info panel repeats it per fact.
- **Explore mode** — OrbitControls (drag/zoom, clamped above the water), six pulsing golden markers (also raycastable against the building tiers themselves) opening an info panel, a "Replay the tour" button, and hints (Esc skips, R replays).
- **`window.wonder`** — `state()` / `seek(seconds)` / `skip()` exactly as specified. The camera is a pure function of tour time (spline-eased keyframes), and all animation (beacon, ships, water, sky) is driven by the tour clock, so `seek` is deterministic — verified: two seeks to t=30 from different modes agree to <0.1 m.

**Verified in headless Chrome** over a local server: tour runs and auto-enters explore; `seek` works mid-tour, from explore, and at the ends; `skip` works; pixel sampling of the GL buffer confirms the dusk→night lighting, tower silhouette, flame at 255, beam and stars; caption/letterbox/panel UI states all correct; zero console or JS errors.