Design - what's it all about?

There seems to be little consensus on the definition of design and what it entails.  In my mind design is the act of adapting “X” to a specific criteria. In that sense “X” can be a product, service, experience – physical, digital, visual etc.