Sequence by Adrian Dawson. Time travel doesn't appear until about halfway but it turns the entire book on its head. Amazing book. 300 pages of setup and then 250 pages of cascading amazingness. You can get it as an ebook and I can't recommend it highly enough.