The Hidden Rule: Heat’s Path of Least Resistance and Light’s Optimal Routes