The puzzle as lens, not destination
In literary mystery, the puzzle is not what the book is about: it is the mechanism through which the book examines what it is actually about. The crime opens a window into a social world, a family history, a set of institutional failures, or a character's inner landscape that would not be accessible without the pressure of investigation. Designing the puzzle as lens means working backwards from what you want to illuminate: what crime, committed by whom, investigated by whom, would pull the most interesting version of this world into view? The mystery plot is the structural solution to the literary problem, and the two should be designed together rather than sequentially.