How a cyberattack and job cuts did nearly $300 million in damage to this food company’s value