Lapis, the cursed son of a hunchback and a dwarf, lives in a world divided into 12 independent mine states ruled by a higher class called the Habits. The Habits use the enslaved lower class, the Spars, as their labour power in the mines. However, an ancient prophecy foretells that there will be a chosen one who'll overthrow the ruling class and bring fortune back to the land. Wheels of destiny are set into motion when proud and bumptious lord Diamond, who is a member of the Habits, cruelly kills Lapis’ parents and thus leaves the young man in a craving for vengeance. Lapis, however, won’t have his retribution with an easy cost as by his curse he is turn into a woman, Lazuli, who eventually falls in love with Diamond.