Before setting foot on the trail, match your footwear to the terrain.