A hydrophobic adsorbent based on hierarchical porous polymers derived from morphologies of a biomineral.