The prompt
Build a marvellous WebGL experience: deep space, a majestic space carrier jumping in, and then the whole ship taken apart and explained.
It has two parts:
1. **The arrival**, a cinematic sequence that starts by itself when the page opens and runs for about 45 to 90 seconds. Deep space first, then the carrier jumps in. Make the viewer feel its sheer scale and the cold dread of deep space, with the camera angles, lenses, reveals, light and pacing of a film, not a slideshow. Short on-screen captions are welcome. A visible control lets the viewer skip it at any time, and when it ends the page moves on to the dissection by itself.
2. **The dissection**, a deep tech explanation of the carrier. Take it apart (cutaways, exploded views, x-ray, whatever shows it best) and explain its whole tech:
- how the ship is structured
- where the crew lives and works
- how the engines and the hyperdrive work
- its weapon systems
- the launch channels for its fighters
- the role it plays in a fictional future human space fleet
The viewer can orbit and zoom, pick any part to learn about it, and replay the arrival.
This is science fiction: invent the ship, its fleet and its lore. Make the technology interesting and internally consistent rather than vague, and keep the design, names and story your own, not taken from an existing film, game or book.
Sound is part of the experience: music and sound effects made in code. It starts only after the viewer's first click or key press, and there is a visible way to mute it.
For testing, the page must expose this:
```js
window.carrier = {
state(), // { mode, time, duration, chapter, caption, focus, ship: { visible }, camera: { position: [x, y, z], target: [x, y, z], fov } }
seek(seconds), // jump to this point in the arrival (switching back to it if needed); the view reflects it on the next frame
skip(), // end the arrival and go to the dissection
parts(), // the parts the dissection explains: [{ id, name, center: [x, y, z], size: [x, y, z] }]
focus(id) // go to the dissection if needed, then show and explain this part
}
```
- `mode`: `"arrival"` or `"dissection"`.
- `time`, `duration`: seconds into the arrival, and its length.
- `chapter`, `caption`: the current chapter's title and the caption text on screen (empty string when none is shown).
- `focus`: the `id` of the part being explained, or `null`.
- `ship.visible`: whether the carrier has arrived in the scene yet.
- `camera`: world coordinates in metres, y up; `fov` is the vertical field of view in degrees.
- `parts()`: each part's axis-aligned bounding box in world metres, where it is in the scene right now (after any exploding or cutting away).
- The arrival runs on its own clock, so `seek` always gives the same view for the same time.
Constraints:
- `index.html` in this folder is the entry point. It will be served from a local web server and opened in a recent Chrome.
- No build step, no npm install. Load three.js (or any library) from a CDN with a pinned version, or put a copy in this folder.
- Everything visual and audible is made in code: no downloaded 3D models, textures, images or audio files. Web fonts from a CDN are fine.