A pillared-layer framework with high uptake and selective sorption of light hydrocarbons.