At the cusp of waking