This is what I came up with using GIMP and G'MIC. I tried luminosity masks and curves to brighten the foreground without losing the darks, but nothing worked globally. I don't think there's any way to avoid making three separate layers, each masked for a different person, because each subject needs different adjustments. Value and RGB curves, lots of dodging and burning. And my secret weapon for emphasizing facial detail: run G'MIC Test-Photocomix-wild cartoonizer, set that layer to "darken only" and turn the opacity down until it doesn't look obvious. Sort of like taking an eyeliner pencil and drawing what you want to emphasize (can you tell I've done theatrical makeup?) While I was at it, I masked in a sky.
Because I was experimenting (which means I had no idea what I was doing) this is overbaked. I tried some sharpening and noise reduction, but probably shouldn't have. I went ahead and embraced the artificiality of the lighting, pretending the photographer had mongo big reflectors because there's no way this lighting could be natural. I tried toning down the halo on the left, but that looked
less natural given the bright backlight. Person on the left needs still more color correction -- I've seen tutorials about how to add sunglow, but how do you
remove it?
So many layers, and no time to go back and do it right. But maybe this helps...
