Opposition fighters are closing in on Syria’s capital in a swiftly developing crisis that has taken much of the world by surprise.