A systems approach to wildfire resilience