A 'EUREKA moment' in a Haworth cafe led to the creation of a fictional detective.