Caffeine has a complicated relationship with productivity. Drink a cup of coffee before work, and you’ll feel ready to face the day. Drink another when you sit down at your desk, and you’ll think faster and work harder. But drink a third or fourth before lunch, and you might trade…