Haven't you moved on from the coupe life already with the Mazdaspeed 3? Don't think you want another hatch unless you trade the Mazda in on something to get AWD.
If you are considering a BRZ that would not help you financially. So I believe that is out. Better off keeping the Z in that scenario.
You can get a Z33 but depending how much you have to play with right off the bat would dictate how much modding you get done with boost etc. You could go Z32 or Z31 if you can find one clean enough in your price range to begin a build on.
I think your best option if you can't keep the current Z is to sell it and wait and save up for something new. Next gen Mustang/Camaro. Wait and see what Nissan does with the next Z. My