A potpourri of seemingly generic tropes finds renewed life in a cleverly layered investigation that keeps reinventing itself until its final reveal