If my UW GPA has a slightly downward trend, but there is a strong upward trend in course rigor, would that make up for it?
Depends on the magnitude. One B? Probably not the end of the world.
If you really want to be a HYPSM kid, then yes, it will. All the serious applicants will have either perfect grades with an upward trend in course rigor, or upward trends in both rigor and grades.