Sustainable and resilient building design