Architecture is increasingly drawing on neuroscience to understand how we perceive and interact with spaces.