trick up one's sleeved

adj.

Drunk to the extent of producing a hidden solution whenever the company has almost agreed there is none.

Source: Wiktionary