A Three-Layer Architecture of Gnosis: A Unifying Framework for Biological and Artificial Cognition | Synapse