The mechanics of a PM deal are complex. Contracts are increasingly nuanced and bespoke, including caveats and clawbacks.