Resilience Beyond the Grid Designing power infrastructure for reliability, flexibility, and transition