I have a trouble deciphering the meaning of the following sentence, from a C.A. Smith story (the description is of people living in an ancient world):
The people were steeped in the crepuscular gloom of antiquity; and were wise with all manner of accumulated lore; and were subtle in the practise of strange refinements, of erudite perversities, of all that can shroud with artful opulence and grace and variety the bare uncouth cadaver of life, or hide from mortal vision the leering skull of death.
1."strange refinements" - I assumed this refers to "cultivation" (cultivated ways of behavior), but dictionaries state in that sense "refinement" is only uncountable. Is the meaning different here, then?
2."erudite perversities" - I cannot figure out the meaning here. The meaning could be that the people there are perversely erudite (having all the knowledge they accumulated), but then I guess the wording would be different.