A self-sustained rural economy driven by value-added agriculture and adapative to climate change