If you are trying to create a front-end filter based on the taxonomy term portfolio categories, then this documentation should help you with it.
For the layout you can also check this documentation.
I would like the search to only focus on a certain category of portfolios. For example, I have an “Agency” category. I would like there to be only “Agency” portfolios in the search results.