A broken escalator and an empty shelf gave a former investor his first clue. A decade later, the more revealing story is how Eric Kinariwala learned to build a company as carefully as a product.

A behavioral scientist became an operator, then spent nearly two decades making an unglamorous promise work: the right pet medication, from the veterinarian, delivered to the right doorstep.