renaming files 7 subfolders deep

So i have hundreds of files nested deep inside of subfolders I need renamed based on one of its parents folder.
SSS/
render/
ACT01/
ACT01_SQ0010/
ACT01_SQ0010_SH0010/
render/
CHAR01_lighting_compositing_primary_4f410e60-a941-4083-a00c-c49ce9cb5b2c/
v7/
sss/
sss.1001.exr
sss.1002.exr
...
I need to rename each file "sss.1001.exr" to "ACT01_SQ0010_SH0010-SSS.1001.exr"
FROM THIS
https://share.cleanshot.com/k7NT4WNH
TO THIS
https://share.cleanshot.com/bj37cWk8
Each ACT has a series of SEQUENCES and each SEQ has a series of shots
So this rule would have to recursively go down to the bottom-most subfolder in each of shots, and rename the files with the name of the shot as a prefix.
i hope this makes sense.
any help would be much appreciated.
SSS/
render/
ACT01/
ACT01_SQ0010/
ACT01_SQ0010_SH0010/
render/
CHAR01_lighting_compositing_primary_4f410e60-a941-4083-a00c-c49ce9cb5b2c/
v7/
sss/
sss.1001.exr
sss.1002.exr
...
I need to rename each file "sss.1001.exr" to "ACT01_SQ0010_SH0010-SSS.1001.exr"
FROM THIS
https://share.cleanshot.com/k7NT4WNH
TO THIS
https://share.cleanshot.com/bj37cWk8
Each ACT has a series of SEQUENCES and each SEQ has a series of shots
So this rule would have to recursively go down to the bottom-most subfolder in each of shots, and rename the files with the name of the shot as a prefix.
i hope this makes sense.
any help would be much appreciated.