Wine and beer did not go away, yet the European mind had been pried loose from alcohol’s grip, freeing it for the new kinds of thinking that caffeine helped to foster. You can argue what came first, but the kind of magical thinking that alcohol sponsored in the medieval mind began in the seventeenth century to yield to a new spirit of rationalism and, a bit later, Enlightenment thinking.