How Physics Shapes Safe Demolition and City Design