In Marrakech’s medina, carved cedar doors open onto tiled courtyards while cumin smoke rises from the food stalls around Jemaa el-Fnaa.