Plume formation and resonant bifurcations in porous-media convection