Researchers are probing cocoa’s confections to better understand flavor, crystals and bloom