Today the US boasts more than 2,000 breweries - up from barely 50 in 1980.

It's a remarkable turnaround for a nation whose beer was recently widely written off by consumers around the world as insufferably naff.

"Five or six years ago, if you were abroad and said you were an American brewer people would look the other way - they thought it was all yellow, fizzy water like Budweiser, Miller and Coors," says Jim Caruso, CEO of Flying Dog, an award-winning microbrewery in Frederick, Maryland.

The rise of beer cocktails

Beer has been used in food for a long time, but we're now seeing the rise of the beer cocktail. It's a natural progression.

Beer is really versatile. It works well with aged spirits, like rums and whisky. You can create treacle and caramel flavours. It can also be mixed with vermouth and served in a martini glass.

One bar in London serves nothing but beer cocktails. Popularity is growing in other parts of the world as well.

The trick is to not think of it as just beer, but to think of it as an ingredient.

Known for their potent, hoppy flavours and high alcohol percentages, and often comprising unusual ingredients like chilli and chocolate, American craft beers have inspired a host of imitators, especially in the UK.

British firms like Darkstar, Meantime and Marble have all manufactured drinks influenced more by California and Colorado than Cornwall or Coventry.

These do not always qualify as "real ales" - a term popularised by British beer lovers when they launched the Campaign for Real Ale (Camra) a generation ago in rebellion against the prevalence of mass-produced carbonated beers.

According to Camra, beer should be left to ferment "live" in casks.

Craft beer, by contrast, is often produced in kegs - a technique which makes traditionalists shudder.

It's a reaction that enthusiasts for the new wave of American-inspired beers are happy to provoke. Indeed, they are often keen to dissociate themselves from Camra's beard-and-cardigan image.

While Camra has held its annual Great British Beer Festival since 1975, February 2013 saw London's first Craft Beer Rising - an event complete with modish DJs and trendy pop-up restaurants stalls, dedicated to the upstart movement.

"It's a more exciting product," says Neil Taylor of the Scottish brewery-cum-pub-chain BrewDog. "It doesn't taste like anything else. People who are willing to push themselves are going to get more out of it.

"The establishment in the US is bottled lagers; here it's lagers and real ales."

While overall beer sales in the US fell by 1.3% in 2011, the craft brewing industry grew 13% by volume and 15% by sales in the same period, according to the Brewers' Association.

Image caption
US beer is no longer indelibly associated with mass-produced bottled lager

It could be argued that the country's beer landscape is reverting to how it was before it was swamped by fizzy canned or bottled lager.

Waves of immigration from Scandinavia, Germany, the UK and Ireland meant the US had a thriving, diverse beer industry by the early 20th Century.

There's a sense of whimsy about it, and of rebellion, pushing boundariesMelissa Cole, Beer expert

The introduction of Prohibition in 1920 put 1,500 breweries out of business overnight, however, and the industry struggled to recover after the "noble experiment" ended in 1933. For the most part it was only large corporations which had the capital to re-invest in beer production.

Years before the US beers inspired a flowering of British brewers, beers in the UK had a decisive influence on the US craft revival of the 1970s.

Jack McAuliffe, often heralded as the father of American craft beer, was inspired to start the New Albion Brewing Company in San Francisco after he fell in love with ales and stouts while working in Scotland.

But while the British real ale movement of the same era harked back to a bygone age, American brewers of the same era were associated from its outset with the west coast counterculture, according to Maureen Ogle, author of Ambitious Brew: The Story of American Beer.

Until home brewing was legalised in the US in 1979, enthusiasts considered themselves vaguely subversive. The alternative press would publish articles describing how to produce bathtub hooch in the same tone as it might have discussed pot-smoking.

Like much else from the same era, that which was once rebellious was quickly assimilated in the pursuit of profit.

As a result, the first microbreweries emerged in places like California's Bay Area, Portland, Oregon and Boulder, Colorado - all "bastions of hippy capitalism", Ogle says, which also attracted the equally iconoclastic technology industry.

Indeed, such was the crossover that Apple founders Steve Jobs and Steve Wozniak belonged to a group of hackers and hobbyists called the Homebrew Computer Club.

Unlike the big manufacturers of bottled lagers, however, the early craft beer makers were not interested in mass appeal or in consolidating costs and tended to trumpet their iconoclastic credentials in opposition to the mainstream big lager brewers.

Flying Dog advertises its status as the favoured drink of the celebrated radical journalist Hunter S Thompson, and a 2012 study found a positive correlation between the concentration of microbreweries in a state and its likelihood to vote for Barack Obama.

Image caption
No less a figure than Barack Obama has joined the craft beer bandwagon

Perhaps as a result, in the same year Obama became the first president to release a home-brew recipe for "White House Honey Ale".

And just as hipsters in Williamsburg or Whitechapel can be identified by their vintage attire and avant-garde record collections, craft beer's blend of retro authenticity and bold experimentalism appeals to the same demographic, believes Cole.

"There's a sense of whimsy about it, and of rebellion, pushing boundaries," she adds.

Those whose hackles are raised by urban would-be trendsetters might dismiss it as a fad. But traditionalists claim to be unruffled.