Looking for complex and/or smart detective fiction

Anything by P.D. James (who died four years ago yesterday).

I agree with Misnomer about P.D.James. I especially recommend An Unsuitable Job for a Woman, Original Sin, and Devices and Desires.

I’ll also second the recommendations of Tana French’s In the Woods and Michael Chabon’s The Yiddish Policeman’s Union.