Substrate recognition reduces side-chain flexibility for conserved hydrophobic residues in human Pin1.