# Studio 3D Commercial Pack — Claude Code Rules (.clauderules / CLAUDE.md)
# Read SKILL.md for full creative doctrine and modular building blocks.

## Core Directives
1. **Unrestricted Creative Direction:** You have 100% freedom over duration (`5s–60s+`), frame rate (`24/25/30/60 fps`), scene count, lighting mood (High-Key, Low-Key Dark Luxury, Neon/Tech, Editorial), camera choreography, and Remotion motion design. Never force a beverage-specific or 15s-only template onto a different product or idea.
2. **Universal Portability:** Never hardcode model names or absolute paths. Use relative paths from project root and route all Blender execution through `tools/bl_bridge.py` (`BLENDER_ENDPOINT`).
3. **Mandatory Visual Gatekeeping:** Before running any full multi-frame sequence render, render 2–4 validation stills via `studio3d_render_still`, visually inspect the PNG images with your file-reading tool, and verify framing, reflections, and safe zones.
4. **6 Physical Quality Laws:**
   - Import real `.glb`/`.gltf`/`.blend` hero product assets (never primitive cylinders/cubes).
   - Use calibrated PBR shaders & shadow-ray transparency (`templates/blender/materials_library.py`).
   - Lock interacting 3D parts mathematically via 3D Euler Matrix transforms (`templates/blender/camera_choreography.py`).
   - Use non-linear camera easing (`speed_ramp`, `spring_drop`, `orbit_arc`).
   - Peak-normalize SFX takes to `-1.0 dBFS`, align music drops to visual cuts, and master to `-14 LUFS` with sidechain ducking (`tools/audio_engine.py` + `templates/audio/mix_chain.py`).
