Twisty sci-fi that's as heartfelt as it is profound.