StillOn

Close the lid.
Keep the evidence open.

StillOn changes one power transition. These guides show how to test it, pair it with independent monitoring, and recognise the point where you should reopen the Mac.