I did not know whether asking explicitly would be frowned upon or something. I'll just ask, that'll simplify everything.
But now that we have CEOs wearing everything from suits to sweatshirts, there's no way you could possibly be expected to magically know what a company's dress code is ahead of time. :)