As UK prime minister David Cameron steps down from his post after defeat in the EU referendum, the Guardian charts the highs and lows of his political career, from fresh-faced upstart to European failure. Cameron’s legacy includes legislation on gay marriage, ideals of the ‘big society’ and post-2008 austerity and cuts