Effective field theory of gravitating continuum: solids, fluids, and aether unified