Engaging with everything at once

I think a mistake you made, was allowing his army to kill yours piece by piece. Instead of having zealots tank and stalkers in the midline ready to pick off vikings and colossi frying bio, your stalkers were killed by the bio because they overextended and then your remaining army (which also got flanked) was toast.