Stereoelectronic effects dictate molecular conformation and biological function of heterocyclic amides.