In 1873, Josiah Willard Gibbs published an equation that would transform chemistry – yet barely anyone noticed at the time. The story of his phase rule is one of delayed recognition, mathematical abstraction and enduring scientific legacy