For nearly two decades, Ernst & Young executive Beth Brooke navigated the office like it was a minefield, dodging water-cooler chatter for fear that someone might corner her with a personal question.

Her colleagues whispered that she was a "loner," she said, scarred from her divorce or perhaps just reclusive by nature.

But Ms. Brooke was growing...