Improving indoor air quality may boost cognitive abilities as well as health. So how should buildings be designed to make us more productive?