I also point people to the Mac mini line whenever they talk about price. The new M4 at ~$700 is a steal, but they have been affordable since the m1 refresh. Real “bang for your buck” computer IMO
Memory (both system and GPU) is usually best thing to future proof a computer at buy time, especially as it's not user-replaceable anymore.
You also don’t have to get the base model. You can stay under $1000 while increasing to 24gb of ram.