Lego is officially the world’s most profitable toy company, finally topping Mattel this quarter. For the ninth year in a row, the company has broken its own sales records. But how did a Danish company, headquartered in a small town of barely 6,000 people, become such a superstar? Partly, it’s a question of materials. Lego, though it has since branched out into digital products and even movies, has long relied on simple, cheap plastic. The Guardian notes that its raw material costs only a dollar per kilogram, but its sets, which are nothing more than molded and dyed plastic, sell for more than $75 per kilogram. But there’s more to it than that. Anyone who was surprised that The Lego Moviebecame a critical and commercial smash probably hasn’t been paying attention to Lego lately; that quirky but non-pandering sense of humor, self-referential fun, and sense of innocence but not simplicity have been hallmarks of Lego’s media work for years now, from games right up to the movie. “The brightly imagined Lego Movie is a wickedly smart and funny free-for-all, and sassy enough to shoot well-aimed darts at corporate branding,” wrote Rolling Stone‘s Peter Travers in a review. This all boils down to having a singular vision of the brand; Mattel, the Microsoft to Lego’s Apple, makes pretty much anything it can, from Hot Wheels to Barbies to WWE figurines to something called Monster High. It’s not necessarily a bad strategy; Mattel tries anything, some of it works, some of it doesn’t. But it makes for a different kind of company. When you buy Lego, you know what you’re getting; there’s a tone, a level of quality, a certain message that remains consistent. When you buy Mattel, there’s none of that; you’re not buying a Mattel product, you’re buying a Barbie or Hot Wheels or whatever else. The message is clear when you go to Mattel’s site: The first thing you see is a message that reads, “Find great deals on all your favorite brands!” With Lego, there’s only one brand: Lego.