As Ukraine’s defenses struggle to keep up with Russia’s technological advances, its capital is fast becoming a frontline city.