When created with the utmost skill, films and books that jump back and forth in time and rely on seemingly unrelated storylines emerge as special, luminous works that stay with you once those distinct narratives and overarching themes coalesce and crescendo near the end. It can produce something quite profound, but it is tricky storytelling to pull off. If done poorly it becomes a frustrating, tangled mess that’s more exhausting than entertaining.

“La Bola Negra” is one that gets it right and ties everything together with the grace and precision of an Alvin Ailey dancer. It unites three potent storylines, but to divulge key plot points or to say how they fit together would not only spoil the experience but ultimately muffle the storytelling punch of this magnificent epic from Javier Calvo and Javier Ambrossi. Collectively known as Los Javis, their “La Bola Negra” is a monumental queer-themed masterpiece that shakes you to your very core. In summarizing the film, it is best to remain vague. So let’s just say that it is set in Spain and cycles through the lives of four gay men. In so doing, it reflects that country’s evolution through the eyes of ostracized gay men who played essential roles in history even if some wished to overlook that.

One narrative strand follows the tender relationship that develops between somewhat naive Sebastian (music artist Guitarricadelafuente, in a shattering feature debut) with the mysterious and handsome Rafael (Miguel Bernardeau), a wounded enigma that Sebastian — a member of the Nationalist fascist army — willingly guards in a hospital. That storyline is set in 1937, during the thick of the Spanish Civil War. Another narrative set in 1932 follows artistic 20-year-old Carlos (Milo Quifes), who is deemed unworthy despite all his gifts and merits, and is rejected from being part of a club in a casino. No one says it’s because he is gay, but it’s evident why he’s not embraced. The other storyline takes place in 2017 with historian Alberto (Carlos González) digging into his ancestry where he makes a startling discovery.

Peppered into these men’s lives is the presence of three distinctive female characters — troops performer Nené Romero (Penélope Cruz, giving the audience some show showstopping musical numbers), Alberto’s harried mom Teresa (Lola Dueñas) and illuminating historian and scholar Isabelle (Glenn Close). They are partly the bonding agents to the film’s themes. At a time when LGBTQ roles in history continue to be threatened, “La Bola Negra” steps in to lift up the voices of those whose major contributions have influenced and paved the way for so many future generations to follow. It’s also just a marvelous film.

Contact Randy Myers at soitsrandy@gmail.com.

‘LA BOLA NEGRA’

4 stars out of 4

Rating: R (violence, bloody images, graphic nudity, sexual content, language)

Starring: Guitarricadelafuente, Miguel Bernardeau, Carlos González, Milo Quifes, Lola Dueñas, Penélope Cruz, Glenn Close

Directors: Javier Calvo, Javier Ambrossi

Running time: 2 hours, 39 minutes

When & where: 35 mm screenings start Oct. 29 at Rialto Cinemas Cerrito and Oct. 30 at the Smith Rafael Film Center, San Rafael; film opens wide Nov. 5 at Oakland’s Grand Lake Theater; Nov. 6 at the Cinemark Century Downtown Pleasant Hill, Cinemark Century Downtown Redwood City and the Landmark Opera Plaza Cinema in San Francisco. Available for streaming Dec. 2 on Netflix.