Ravuconazole inhibits the fungal enzyme lanosterol 14α-demethylase (CYP51), blocking the synthesis of ergosterol, an essential component of fungal cell membranes. This leads to disruption of membrane integrity, increased permeability, and fungal cell death.