From empires to engineers – how Muslims abandoned their civilization