Gravar-mail: Network homeostasis and state dynamics of neocortical sleep