I believe that this is the "Short Version" of Tamariz's Escorial-76 which appears in the out of print book Sonata. I can tell you that this isn't self-working or mathematical. Other than that, we don't reveal magic methods here on the forum.
I'm glad that you enjoyed the performance of one of the greats in card magic. Enjoy the gift of impossibility that Juan has given you. As you progress as a magician, you will come to understand the multiple methods used by Juan Tamariz to create a wonderful experience.