A balance of work, play and meticulous design breathes life into the offices of beauty’s buzziest brands.