Design according to the Oxford English Dictionary is
I. A mental plan.>
1. a. A plan or scheme conceived in the mind and intended for subsequent execution; the preliminary conception of an idea that is to be carried into effect by action; a project.
b. ‘A scheme formed to the detriment of another’ (J.); a plan or purpose of attack upon or on.