Got to the last stage and was waiting for the offer - I then found out the hiring manager had decided to listen to the ranting of a racist former colleague and didn't follow through with the offer. My references were consulted and had given excellent feedback.