it is really length that you are looking for - or run as in Rise/Run= slope
Here is a 7' x 5' space that gets it up and down - you need a reversing loop on each level - this is 169 inches of track for 4.2% slope rising 7 inches. Then, you could traverse both levels on stay on one level.
This all Gargraves wood tie
The wall tunnel would be just after the divergence of the turn-out - one switch on each level - this is a 4.2% slope - not out of hand
Adding length at 9 and 3 o'clock would push it away from the wall on the other side and reduce the slope.