The Taliban's swift takeover of Afghanistan after US withdrawal exposed the fragility of a twenty-year nation-building project.