Architecture and ecology