Steam has (and has had for a while) an offline mode, but it doesn't work reliably for some. If you go through the release notes for the Steam client over the past few years, you can see instances of Valve "fixing" offline mode.
You also have to be online to download, install and launch a game for the first time.