Synthesis of ent-ketorfanol via a C-H alkenylation/torquoselective 6π electrocyclization cascade.