Charles Stross is mostly a SciFi writer, but he has a couple sorta-fantasy series that might be more up your street.
The Merchant Princes (starting with
The Family Trade) is multiple world/alternative history fantasy/sci-fi (he sold it as fantasy then justified the magic with advanced technology once the contract was signed). The series suffers a bit because of the way it was sold; he wrote a doorstop and was told to split it into 300 page chunks for publication. It's six books in and he's just finished the first two stories of the trilogy. But it does sound a bit like you asked for in the OP.
The Laundry Series (starting with
The Atrocity Archives) is... weird. I've mentioned it here before because it seems a good fit to the average DF player's mindset. The best description is Lovecraftian-spy-techno-thrillers, with a heavy dose of major geek. They follow a computer scientist/necromancer/tech support British civil servant/spy in a world where sufficiently advanced mathematics is literally magical. For values of magical that let you summon up
things that find humans crunchy, or at least fun to ride around wearing. Very funny, often in a very dark way, more often in a very geeky way. The first book has Nazis and Muslim terrorists. The second is an in-universe Bond parody. The third.. well, things are starting to go to shit. There are three short stories available free online, each set after one of the published novels.
Concrete Jungle set after the first,
Down on the Farm after the second and
Overtime after the third. Some spoilers for the previous novels in each, but they give you a good taste of the universe.
If you want something nastier, Richard Morgan is good. I've not read his fantasy, but it's been winning awards and had a similar mission statement to his early Sci Fi.
Altered Carbon was Noir applied to a cyberpunk dystopia. Cue lots of explicitly graphic and extreme violence and sex (fortunately the most extreme sex is mostly implied given how few things are off limits in this world), along with a nicely rich political plot.
The Steel Remains set out to do the same thing for fantasy.
The authors description;“If you had to – really had to – kill someone, which way would you rather they made you do it? With a pistol, or with an axe?
Exactly. So welcome to the brutal world of Ringil Angeleyes, scarred hero of Gallows Gap and death-wish-furious, semi-retired warrior aristocrat. I’ve been talking a good fight about fantasy noir for a while – now I’m putting my money where my mouth is. The Steel Remains is a grubby, blood-spattered trawl through exactly how unpleasant it might be to actually have to live in the average fantasy universe. Can you do noir in a fantasy landscape? You can certainly try…”