Gold climbs towards 3-month peak as equity rout sparks safe-haven rush