How cyanobacteria use a flexible protein to protect themselves from sunlight—and what it could mean for crops and solar tech.