Text this: A unified electromagnetic framework for light absorption: beyond the Bouguer–Beer–Lambert law