Method in the Madness

An idiom meaning there's a hidden purpose or logical plan behind seemingly chaotic, strange, or illogical behaviour or actions. While things look crazy or disorganised on the surface, there's actually a good reason or a thought-out strategy.
"Though this be madness, yet there is method in't" — William Shakespeare, Hamlet
A space for ideas that make sense in the end