The growth of online platforms has reshaped how specialty coffee reaches businesses and consumers worldwide.