Thinking with portals