Strong-coupling theory of heavy-fermion criticality