It’s the middle of the night. Your body is still, your breathing slow. While you dream of forgotten high school exams and flying through cityscapes, something remarkable is happening in your brain.