A Unified Framework for Emergent Particle Structure, Cosmology, and Gravitational Phenomena