When careers moved indoors, beards were seen as a reflection of one’s manliness.