Vertical farming, and controlled environment agriculture more generally, holds the promise of environmental sustainability. But rising energy costs and challenging economic conditions are straining the sector. Can technology help overcome obstacles to success?