The Hamptons Realty Group, a fixture on Main Street in Amagansett since 1984, rolled up its signature red awning and vacated the space it has long occupied this week. The firm is still very much alive and prospering, said its owner Htun Han, but the pandemic has changed the way it is doing business.