pull out of the hat
📖 generalMeaning
To produce something unexpectedly or without prior indication.
Literal Meaning
To pull something out of a hat.
Example
“The CEO pulled a solution out of the hat during the crisis meeting.”