BUILD REQUEST - PL-101 Great Wall - please build this now I'm sending you this as my request: please build the one-file HTML app described below. Start now and do the whole build in your answer to this message. - This is a build job, not a document to summarize, review or discuss. Don't ask me anything first: if a detail is unclear, pick the most sensible option and keep going. - The spec is everything between the BEGIN SPEC and END SPEC lines. Follow all of it exactly. - If your tool can create files, also save the finished file as PL-101-great-wall.html. ===== BEGIN SPEC ===== PL-101 — Great Wall: Ridgewalker & Lantern Relay (China) — Hard WHAT THIS TESTS: Terrain-conforming masonry, stair-grounded agents and line-of-sight signal propagation. Build a detailed, interactive 360° voxel landmark diorama in Three.js. Make it beautiful, legible and genuinely explorable, not a static postcard. ARCHITECTURE AND ISLAND Build a dramatic mountain-section Great Wall diorama spanning three ridges and two saddles. Use a winding wall centerline at least 150 scene units long with six watchtowers at varied heights, crenellated parapets, narrow arrow openings, traversable stair runs and vaulted tower passages. Stone-grey lower courses, warm brick upperwork and dark roof details contrast with autumn pine slopes and exposed rock. The wall must genuinely climb the terrain: foundations touch the mountain rather than float above a painted hill. Include shear rock faces, miniature valleys, footpaths, a tiny visitor entrance and stratified island sides. Make the route readable from both flanks; no identical repeated tower boxes hiding unfinished backs. The setting is an artistic mountain composite, not a named section surveyed to scale. THREE INTERACTIVE MECHANISMS 1. Ridgewalker: select a cubic visitor and click Walk End-to-End. Feet follow the actual stepped wall deck, with knee bends on risers, short pauses at tower landings and no shortcuts across valleys. Render a dotted cubic route guide when requested. A Follow Walker camera maintains clear framing without jumping through roofs. Closing one tower gate makes the walker stop safely at the preceding landing; reopening resumes from that location rather than resetting. 2. Lantern Relay: send an amber pulse between tower signal stations. A receiving tower activates only after a visible relay marker reaches it and the stations have line of sight. A movable demonstration screen can block one link; downstream stations must remain unlit until the screen is lowered and Retry is pressed. This is an interpretive communication game, not a claim about historical relay technology or exact signal timing. Count successful deliveries on receipt, never when Send is clicked. 3. Mountain Section Reveal: a terrain peel slider moves selected mountain strata sideways to expose the wall's stepped foundations and drainage openings while keeping the wall intact. Freeze walkers during the reveal with an explanation. Return terrain exactly to its initial matrices, with no new randomly regenerated slopes. Rain toggle sends blue cubic droplets into visible channels and exits, not through the wall deck. LANDMARK CHECKLIST AND INDEPENDENT TESTS Sample >=40 deck positions and foundations against rendered terrain to establish support and slope changes. Track a walker across >=30 stair treads: foot/deck gap <=0.15 units, no gate crossing while closed, continuous resumption. With a screen blocking link three, observe only preceding towers activate; after Retry observe ordered receipt at all six and reconcile relay counts. Sample terrain restore error <=0.01 units. Inspect rain egress and both wall flanks visually. Include night, phone layout, main-camera draw calls, finite transforms and console checks. BUILD CONTRACT Deliver ONE index.html: inline CSS/JS, pinned public-CDN Three.js and OrbitControls via import map, data favicon; no external models/images/fonts/audio. All visible world geometry, water, figures and effects use equal-edge BoxGeometry instances; no smooth hidden silhouettes. Allow different coherent cube grids. Batch with InstancedMesh; target 18,000–65,000 cubes, <=80 measured main-camera draw calls excluding shadow passes. HTML labels allowed. Dimensions are design targets, not surveys. Label uncertain reconstructions and simplified physics interpretive; invent no history. FINISH AND CONTROLS Finish terrain sides and underside. Provide mouse orbit/wheel, touch orbit/pinch, smooth Auto 360 Tour, Reset, pause, mute and reduced motion; manual input stops touring. Bright Day/Golden/Night preserves readable surfaces, warm lamps and real shadows. Animate >=12 grounded cubic figures. Collapsible controls: >=44px targets, >=14px text, keyboard support, contrast >=4.5:1. At 390x844 collapsed HUD occupies <=25% of screen and avoids landmark center. Procedural Web Audio unlocks after first input and follows actual events. HONEST TESTING Seed 360; clamp dt to 0.05s, DPR <=2, pause hidden, resize cleanly. Expose read-only window.__sim snapshots: seed, phase, landmarks, instance count, counters, timings. Separate actions on window.__controls. Counters reflect visible events only. ?test=1 independently samples instance matrices times mesh.matrixWorld across frames, including hidden/removed instances and failed trajectories. Never compare counters with their own logs or commanded targets. Reconcile observed events; log measured PASS/FAIL to console.info and window.__testResults. Check finite matrices, reset determinism and zero console errors. Screenshots—not booleans—prove recognition. WORK LOOP AND OUTPUT Build, test, fix, retest with tools. Capture 1280x720 and 390x844 at three azimuths, main reveal and night; inspect console and touch layout. Aim 60fps desktop/30fps actual mobile; report hardware/timings. Desktop phone emulation proves layout only. Mark unrun checks UNMEASURED. Chat-only fallback: T2 zero-code checklist audit, then T3 one corrected complete file, never invented results. Same prompt for every model. Output ONE complete HTML code block plus the landmark checklist and common checks with measured PASS/FAIL/UNMEASURED. No snippets. ===== END SPEC ===== Now build it. Reply with ONE complete HTML file in ONE code block.