As mentioned, the Giant Revolt, do it all geo, brilliant dropbar, good carbon seatpost, the rest not so, get the best hydraulic braking you can buy, a good group (ie Ultegra pref. Di2) add:
1. wheelset with the lightest (and wide! min. 25 mm inner) 29er mtb rims possible, go tubeless, go for supple and (very) light 2.0 (back) to 2.2 (front) tires – do road, gravel and mtb. I usually start of with an hour of on road on 2.0 bar, do gravel at 1.7 bar and offroad/single trail on 1.4 bar. 3 times fun in one trip, 3 stops though.
2. same wheelset but mount Compass Barlow Pass 38 mm and you have a racebike of some sorts (but indeed, as mentioned, be very careful in those fast hairpins) add mudguards for commuting.
3. get 27.5″ wheelset and mount 2.25″ mtb tires – do technical mtb and single track like it’s the 1980s all over – maybe my next project.
The Revolt is an older design, so do use thru bolts, esp. with lots of offroad, but proper thru axle would be nicer.
The real problem is getting your cockpit right for road and single trail and everything in between, plus you might need a dropperpost with many tiny 2 mm drops and ups to make it all work. 🙂