what have other owners of that same intake setup done? I’m sure you can find examples online somewhere. Ther just might be an easy solution you haven’t though of yet
Instead of foam, why not attach a “rubber flap” to the hood, that is positioned such that it will land directly in front or behind the RAISS box. That should create enough of a seal to keep the cold air aspect of the intake working.
I think if you used Door Edge Guards (the stuff you buy at pep boys that protects the edges of your door)
that would work fine. Plus its only like 5 bucks for 5 ft of it. We used this on whiteys 240 when making a hole bigger for the intercooler piping. Just to give it that smooth look.