BUILD REQUEST - PL-099 Giza - 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-099-giza.html. ===== BEGIN SPEC ===== PL-099 — Giza: Chambers of Light & Stonework Sandbox (Egypt) — Hard WHAT THIS TESTS: Solid-versus-void voxel interiors, constrained stone transport and reversible excavation. 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 Create an ochre desert plateau containing the Great Pyramid and a distinct Sphinx with lion body, extended paws, human-headed silhouette and striped headdress built from cubes. Target pyramid height 48 units and square base 76 units; omit any claim of surveyed scale. Preserve four triangular stepped faces, sharp summit and a pale casing remnant as an explicitly illustrative overlay. Include weathered limestone ledges, sand ripples, a causeway, distant smaller pyramid silhouettes, the Sphinx enclosure and deep cutaway bedrock strata. Populate paths with visitors and a separate interpretive work yard; do not depict modern people as ancient workers. Keep every rear face complete and the Sphinx readable in profile. THREE INTERACTIVE MECHANISMS 1. Lantern Chamber Explorer: move a section plane through the pyramid, removing actual masonry cubes to expose a descending passage, ascending passage, tall gallery and two chamber volumes. Their arrangement is a simplified interpretive diagram, not an archaeological survey. Show passages as connected empty spaces with voxel stair treads and a moving lamp carrier; use clear section colors and entrance labels. The lamp must travel a connected route rather than cross solid stone. Reversing the section restores the original solid shell. 2. Stonework Sandbox: at a separate work yard, drag a ramp incline and press Haul. A block on a cubic sledge follows the ramp under a labeled simplified force/friction model. Display slope and modeled force from the current geometry; the same pull strength must fail on a sufficiently steep setting and succeed on a gentler one. Block motion is integrated, clamped at contacts and cannot teleport to the summit. Explain that this is not proof of a historical construction technique. Count deliveries only when the moving sledge crosses the destination plane and stops. 3. Desert Light Sweep: manually rotate the sun, watch the pyramid and Sphinx cast changing real shadows, then send a visible lantern procession down the causeway at dusk. Lanterns remain attached to carriers. A shadow comparison mode freezes geometry while changing only sun azimuth; no invented alignment or supernatural claim. LANDMARK CHECKLIST AND INDEPENDENT TESTS Inspect all four faces and Sphinx profile. Ray-sample the opened gallery to demonstrate actual unobstructed passage, and observe the lamp carrier at >=20 path samples with clearance from retained masonry. Observe sledge positions over time at two ramp angles: verify endpoint crossings, no penetration beyond 0.1 units, and count reconciliation. Restore sectioning and compare >=200 cube transforms and active counts. Capture two sun angles with visibly different shadow directions. Add 360 terrain completeness, night, controls, batching, finite matrices 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.