It was a familiar scene in the modern marketing department: the clock ticking past midnight as creative teams huddled around endless dashboards and campaign drafts, recycling ideas and testing variations in the hope that something would finally catch fire with their target…