Soraya Akhlaghi and fox in A Fox Under a Pink Moon (Kino Lorber)

Making a movie based on cellphone footage is often a gimmick, but in this gripping documentary, we follow 16-year-old Soraya Akhlaghi, an Afghan whose five-year saga of attempting to leave Iran and join her mother in Austria has been filmed for posterity on her own smartphone. (The credits include “Filmed #withGalaxy.”)

While waiting to “play games,” which is what migrants ironically call their attempts to cross borders illegally, Soraya works as a housekeeper in Tehran, where she lives with her older husband, Ali, who physically abuses her. One of the most heartbreaking moments occurs when she matter-of-factly describes being hit as a part of everyday life while revealing her latest bruises to the camera in an almost defiant manner.

What helps Soraya survive her abused and isolated life is her precocious talent for painting, illustrating, and sculpting. These displays of colorful flights of fancy, whether drawn or molded—and which feature recurring, metaphorical figures like a sullen, silent clown, a loyal fox, and a protective pink moon—vividly underline her hopes and dreams of a better future, however far away it might be at the moment.

For five years, Soraya recorded her interactions with Ali (whose face is blurred), her repeated attempts to gain freedom by trying to evade Turkish authorities on her trek to Western Europe, and her own creative endeavors. (As an Afghan born in Iran and stateless, she is unable to leave legally because of a catch-22 situation regarding obtaining a passport or a visa.) The footage has been cannily blended by co-directors Mehrdad Oskouei and Akhlaghi with video calls to each other, along with beautifully rendered animation in which Soraya’s artworks literally come to life, providing an illuminating visualization of her often fractured but hopeful state of mind.

Politics is always at the edge of the frame, unsurprisingly in a film about desperate migrants trying to evade a state apparatus focused on stopping them. There’s also the matter of Afghanistan—her ancestral home, though one Soraya has never lived in or even visited—a country that, during the course of the documentary, has become even more restricted by the Taliban regaining control after the U.S. military leaves. As news footage captures Afghans failing to hold on for dear life to the last U.S. military plane leaving—circles identify those who fall off as the plane takes off—Soraya personally identifies with them, drawing her own American plane that will, in her fertile mind, do the job of saving her fellow Afghans that the real planes were unable to.

Watch Soraya’s physical, emotional, and artistic journey and root for her to succeed. Her stamina, maturity, and resilience will remain in the memory after the end titles disclose what ultimately happens to her.