A protective film 50,000 times thinner than a human hair could be used to protect coral reefs from rising temperatures.