They weigh thousands of tons, yet they glide across water with ease. Here’s how modern ships float, stop, and stay stable on the open sea.