Intelligent clothing for extreme weather