If you were to write a constitution for a high medieval kingdom in Europe, circa 1300, using concepts that could have been adopted in a country before the industrial revolution, what would it contain and how would power be balanced and succession work?