From Resonance to Selfhood: A Functional Specification for Substrate-Independent Self-Awareness | Synapse