Revealing the blueprint of photosynthesis