Get User info from another CPT in a Query Loop

I’ve got an ACF CPT called Departments. Each department has a ACF User filed for Department Head and another multiple select User field for Staff. There’s a ACF CPT that I’m using to add some custom data to the basic WP Users dashboard like Job Title, Location, etc.

I’ve been trying to set up a page that I can deploy on different departments as a Depratment Staff Page. It’ll have. Department Head card at the top, and then smaller Staff cards for all the people listed in that Staff ACF field for the given department.

I was able to get a custom built Bricks Element made with Claude 3.5 that worked well, but I wanted to be able to do it on my own so I could control what the layout looked like with more control, and just so I could know how it worked. I’ve had a devil of a time, though trying to get a Query Loop that will look at the Department, locate the Department Head field, and pull that information. Does anyone have some information on how I might can pull that off. I’m not PHP or Java pro, but I can talk at the AI well enough to usually get things done, but in this case we seem to just be going around in circles, so some human help would be greatly appreciated.