Function of Beauty is a startup that formulates custom shampoos and conditioners for consumers. Its CEO and co-founder Zahir Dossa, originally from Canada, pads around their new office, a minimalist duplex flooded with light in Manhattan’s Soho neighborhood. Random bottles of shampoos and conditioners in pastel colors dot the long, central table and tumble out of cardboard boxes.