How a polar bear walks on a fragmented ice pack in a wavy sea.