Help with Gimbal lock

Hello,
I have a 3rd camera that works similar to an orbital camera but differs slightly in that it looks at the cursor and follows the vehicle (the lookat is generated by projecting the cursor position into world space).
It is implemented using a virtual camera with a Framing Transposer and a Composer, the problem is that it gimbal locks when looking up or do wn (see example https://drive.google.com/file/d/1tMG16b7cyn6lOW9j0VY_XJwHc7HA76Pk/view?usp=sharing).

This is the inspector:

I have read several other threads that simply offer the advice “do not do this” but I’m asking on the off chance anyone has any ideas for how to make it work, because my artist greatly values the aesthetics that we can get from the cinemachine damping and zones.

You can use Framing Transposer for this use case. The problem is Composer: it doesn’t like looking straight up or down. You need to find a new strategy to rotate the camera. Try replacing it with CinemachineHardLookAt (not sure it will work for you, but it’s worth a try).

I might be able to offer more suggestions if I had some context about the use case. For example, is World Up of any significance? Would it be appropriate to have a context of travelling Up, so that Up always travels with the camera?