Procter & Gamble began taking a closer look at its Tide brand two years ago, searching for ways to reinvigorate the longtime laundry-room mainstay.