The evolutionary potential of influenza A virus hemagglutinin is highly constrained by epistatic interactions with neuraminidase.