Reinventing meditation from first principles