The history of the trade
The paper lot: draw a number, read your year, tie it to the branch.
Drawing lots to settle a question is older than Japan's written record: the Kojiki and Nihon Shoki describe the practice of uk- (to divine by lot) in the age of the gods. The mechanism was always the same — a number, a stick, a slip — and the point was to let the answer come from somewhere other than the interested party.
Omikuji as a commercial temple practice is documented from the Kamakura period and spread widely in the Edo period, when pilgrimage became a mass activity. A hundred-lot set is common; the ranks run from dai-kichi (great blessing) through kichi and shō-kichi to kyo (misfortune) and dai-kyo. The proportion of good to bad is a design decision made by the shrine, not a property of fate.
The custom of tying a bad lot to a pine or a rack on the shrine grounds is a way of leaving the fortune with the deity rather than carrying it home. Good lots are usually kept. The gesture is the whole theology of the practice: the paper is not the future, it is a conversation about it.
This site's Omikuji keeps the hundred-lot structure and the rank vocabulary, and models the distribution explicitly — the faint and surge bands are calibrated so that the extreme lots stay rare. That is the modern half: the tradition supplies the words, the calibration supplies the honesty.
This page separates what is documented from what is traditional and what is modern practice. Where the record is thin it says so; nothing here is cited that does not exist.