Three different jobs that share a building
BUYER - diligence on what you are taking on, documented specifically enough to negotiate against.
SELLER - the same assessment run earlier, to find what a buyer will find while there is time to address or disclose it.
ENVIRONMENTAL - what an ordinary building inspection does not cover: air quality, moisture, and suspect materials in a building of an age that suggests them.

