Mesoporous silica/polymer hybrid materials catalyze a two-step acid and base cascade reaction. Catalyst design emphasizes compartmentalization of incompatible Lewis base and Brønsted acid catalysts by tuning polymer chain length and silica pore diameter.meter.