Cognitive foundations of visual engagement in digital environments