On the main part of my layout, where there are grades, the layout is open grid 1"x4" on 16" centres, with the track on cut-out 3/4" plywood roadbed. The roadbed is, in almost all locations, on risers, even if it’s level track.
For grades, the level portion is fixed in-place at the top and bottom of the grade (this applies for grades on both straight and/or curved track).
I then determine the mid-point of the grade (most are multiple curves and straight areas, too) then add a riser at that point and raise it to exactly one-half of the total rise, temporarily clamping the riser to an open grid member.
Next, I calculate the 1/4 and 3/4 points on the grade, and add (and clamp) risers at those points.
By that stage of the process, the 3/4" roadbed at both the bottom and top of the grade has very smoothly transitioned from flat, then into the grade, and at the top from the grade, and smoothly into the level track.
The next step is to add all of the intermediate risers, simply affixing the top ends to the underside of the plywood roadbed, and the bottoms to appropriate benchwork crossmembers, as, by this step, the heavy plywood is fairly stiff and unlikely to sag.
This photo shows the beginning of the longest grade on my layout, at left, just this side of the tall black water tower, and, at upper right, in the distance, the track approaching the partial upper level, 45’ from the beginning, and 15" higher…

Here are some views of the risers, all 1"x2"s with suitable pieces of scrap wood affixed, using screws, to the tops of the risers and to the roadbed…
