Plants can reshape a key protein to survive heat and cold, helping photosynthesis continue as temperatures swing.