How to Change Page Title for Product Page

I’d like to add a product’s designer as part of the title on the product page.

I tried changing app/design/frontend///Magento_Theme/templates/html/title.phtml and added a sample designer name under it, and it appeared on the product page. However, it also appeared on other pages, such as “About us”, and I don’t know how to dynamically give it the name of the product’s designer (a product attribute).

I figure that title.phtml gets its title from $block->getPageHeading(), which is in vendor/magento/module-theme/Block/Html/Title.php, which also gets its title from somewhere else, so how do I make it so this method also returns a product attribute of my choice?