The year is 2004. George W. Bush is president, Kelly Clarkson is coming through your headphones, everybody has a flip phone, and somewhere in the upholstered bowels of Catholic America a bunch of teenage girls are preparing to make a pact with the Devil. Naturally, they're members of a competitive dance troupe. What could possibly go wrong? The answer, as it turns out, is practically everything, and the resulting catastrophe is the sort of thing that makes you wonder whether the Almighty has been spending too much time watching Mean Girls.

Quinn Shephard's The Body is an eight-episode cocktail of Catholic school repression, supernatural insinuation, sexual panic, adolescent cruelty and turn-of-the-century pop-cultural detritus. It's got the hormones of Euphoria, the social bloodletting of Heathers, the religious fever dreams of Carrie, and the peculiar, queasy atmosphere of a sleepover where somebody's older brother has brought drugs and nobody can find the car keys. It is also, thank God, not another solemn exercise in prestige-television self-importance. This thing has a wicked streak, a taste for the grotesque and a genuine affection for the spectacularly stupid things human beings do when they're young, horny, frightened and desperate to be accepted.

The basic setup is deliciously poisonous. At an elite Catholic school, the Lions dance team rules the social ecosystem. Anya Butler (Kristina Bogic) and Elise Zakaria (Sara Boustany) are its queen bees, a pair of intimately connected best friends whose relationship has considerably more electricity than either is prepared to acknowledge. Grace Franklin (Sofia Wylie), a beautiful newcomer, auditions for the team, while Lisbeth Anderson (Geena Meszaros), an unsettling outsider with a background in religious extremism, circles the group like a stray cat that has just discovered the neighborhood is full of unattended tuna sandwiches.

At a Halloween party in an abandoned convent, the girls stage a mock Satanic initiation, offering Grace up as a sacrificial virgin. They give her drugs, perform their little ritual and proceed to discover that playing with the Devil is considerably less amusing when somebody winds up in a coma. Grace is subsequently found unconscious, and the girls begin to experience visions of her. What follows is an escalating epidemic of guilt, superstition, manipulation and collective insanity.

The question is whether something supernatural has actually happened or whether these kids are manufacturing miracles out of panic, repression and the desperate need to believe that their miserable little lives mean something. It's a terrific premise, and Shephard understands that the most frightening thing about mass hysteria isn't necessarily the possibility of demons. It's how easily ordinary people can be persuaded to behave like lunatics.

The real monster here, however, is not necessarily Satan. It's Lisbeth. Geena Meszaros gives the series its most fascinating and disturbing performance, playing a girl whose apparent vulnerability gradually reveals something considerably more calculating. She's the sort of person who can make you feel sorry for her while simultaneously checking whether your wallet is still in your pocket. Lisbeth has been raised in a Pentecostal religious environment, understands the mechanics of faith, and knows exactly how to exploit people's desire to believe. She doesn't need supernatural powers when she can get an entire roomful of teenagers to do her bidding with a little carefully applied spiritual suggestion.

Meszaros is terrific. There's something almost feline about her performance, a combination of wounded innocence, watchful intelligence and barely concealed malice. She can make a perfectly ordinary glance feel like an invitation to participate in a human sacrifice. The show wisely gives her room to become something more complicated than the standard weird-girl antagonist. Lisbeth wants acceptance, but she also wants power, and the distinction between those two desires becomes increasingly difficult to identify. She's a Carrie White who has discovered that sometimes the best revenge is to get everybody else to believe you're a saint.

Kristina Bogic's Anya is another welcome complication. She's a social predator, but not a particularly happy one. Her relationship with Elise is the emotional heart of the show, a messy, frustrating and frequently painful portrait of queer desire colliding with religious conditioning. Sara Boustany's Elise is equally good, conveying the particular exhaustion of loving somebody who keeps treating your feelings like an inconvenient scheduling conflict. Anya's insistence on maintaining her heterosexual credentials while pursuing an increasingly intimate relationship with Elise gives the series some of its most uncomfortable moments. Their situation is funny, sad and infuriating in precisely the proportions that make teenage relationships so combustible.

And then there's the religious business. Shephard has something genuinely interesting to say about the relationship between Catholicism, sexuality, shame and the female body. These girls have been raised in an environment that simultaneously sexualizes them and tells them their sexuality is dangerous. They're expected to be attractive but pure, desirable but untouched, obedient but socially dominant. The contradiction is practically a recipe for psychological combustion. When Grace becomes the apparent source of miracles, the girls find a new religious object around which to organize their anxieties and ambitions. The machinery of worship is still operating; they've simply changed the merchandise.

Nnamdi Asomugha's Father Franklin provides an important adult perspective, particularly as his own understanding of faith begins to buckle under the circumstances. His attempts to determine whether his daughter is possessed, spiritually gifted or simply the victim of an extraordinary medical crisis are among the more compelling elements of the larger mystery. But the series is ultimately much more interested in the teenagers than the adults, and that's probably the right decision. The grown-ups are trying to restore order. The kids are discovering that disorder is where all the interesting things happen.

The 2004 setting is more than just an excuse to parade flip phones, low-rise jeans, velour tracksuits and aggressively nostalgic pop music. The soundtrack, with its mixture of No Doubt, Ciara, DMX and Kelly Clarkson, helps establish a particular cultural atmosphere, when teenage social life was conducted through gossip, instant messaging, whispered conversations and the occasional humiliating public spectacle. There is something liberating about revisiting an era before every social disaster could be documented, uploaded and permanently preserved. These girls have to manufacture their own mythology, and they're doing a spectacularly irresponsible job of it.

The dance sequences are another unexpected strength. Choreography becomes a form of social control, a way of establishing hierarchies and expressing desires that the characters cannot articulate in ordinary conversation. The girls' physical intimacy is constantly at odds with the religious rules governing their lives. The body is simultaneously their instrument of expression, their source of shame and the battlefield on which everybody else's moral anxieties are being fought. It's a smart conceit, and Shephard generally handles it with more subtlety than the lurid premise might suggest.

There are, unfortunately, some problems. The eight-episode structure occasionally feels like an elaborate way of stretching a very good six-episode story into eight hours. Certain relationships and subplots appear to be introduced with considerable enthusiasm, only to drift away before achieving much dramatic significance. The show sometimes mistakes adding another layer of mystery for actually advancing the story. And while the ambiguity surrounding Grace's condition is initially compelling, the series occasionally seems so enamored of its own uncertainty that it becomes reluctant to provide the audience with a satisfying sense of forward movement.

The horror is also a little less ferocious than the material promises. There are unsettling images, moments of genuine psychological disturbance and some terrific atmosphere, but anyone expecting a relentless supernatural bloodbath should adjust their expectations. This is less a conventional possession story than an examination of the social conditions that make people susceptible to believing in possession. The real scares come from watching ordinary people rationalize increasingly outrageous behavior.

The cinematography can be frustratingly murky, particularly during nighttime sequences, when the show sometimes appears to have confused atmospheric darkness with the actual absence of sufficient lighting. And the tonal shifts don't always work. At times the series wants to be a vicious black comedy; at others, a serious psychological examination of religious oppression; and occasionally it wanders into the kind of heightened teen melodrama where everybody appears to be auditioning for a particularly depraved school production of The Crucible.

What makes The Body particularly enjoyable is that it understands something about teenage girls that a lot of television seems afraid to acknowledge: they can be simultaneously vulnerable and vicious, compassionate and cruel, desperately insecure and astonishingly manipulative. They can love one another with an intensity that would make Romeo and Juliet look like casual acquaintances, then destroy each other over a perceived social slight. Religion, sex, friendship and popularity become interchangeable currencies in a world where everybody is trying to acquire a little more power and nobody has the slightest idea what to do with it.

There's a faint but persistent sense that Shephard is working toward something more ambitious than an entertaining supernatural soap opera. She's interested in the way communities manufacture saints and monsters, how shame becomes a means of controlling people, and how easily the desire for belonging can be transformed into a hunger for domination. Those are substantial subjects, and the series is at its best when it allows them to emerge naturally from the behavior of its characters rather than stopping everything to underline the point.

I also appreciate that The Body doesn't seem especially interested in making its characters likable. These are frequently obnoxious, selfish, sexually confused, morally compromised young people. Good. The world has enough television teenagers who behave like precocious thirty-five-year-old therapists. These girls are a mess. They make terrible decisions, lie to their friends, misuse their bodies, misuse each other and occasionally appear to be conducting a group experiment in how quickly an ordinary afternoon can become a felony. That's what makes them entertaining.

By the end, the series has established itself as an appealingly diseased hybrid of coming-of-age drama, religious nightmare and social satire. It doesn't quite achieve the savage brilliance of Heathers, the disturbing psychological depth of Heavenly Creatures or the anarchic exuberance of Jennifer's Body. But it has its own identity, and Meszaros in particular suggests that Shephard has discovered a performer capable of making the entire enterprise considerably more dangerous.

There's a lot of potential here, and the unresolved questions surrounding Grace and Lisbeth leave plenty of room for another season. Whether the supernatural elements will eventually become more explicit is almost beside the point. The more interesting possibility is that the show will continue exploring the ways people manufacture the supernatural out of their own psychological wreckage.

The Catholic Church has spent centuries worrying about the corruption of the flesh. The Body suggests that the flesh has been keeping its own score, and that the girls have finally decided to collect.

Is it a masterpiece? No. Is it occasionally overextended, tonally erratic and more interested in provoking than fully developing its ideas? Absolutely. But there's a genuine charge running through this thing, a dirty little electrical current of sex, resentment, religious lunacy and adolescent desperation. It has a great central performance, a terrific sense of period, and enough wickedness to keep the whole enterprise from becoming another antiseptic streaming-service exercise in tasteful misery.

Most importantly, it has the guts to be a little offensive, a little ridiculous and a whole lot of fun.

And if there's one thing I've learned from watching The Body, it's that when a group of Catholic schoolgirls starts seeing visions, you should probably stop asking questions and get the hell out of the convent.