What is the plot?

I can't honestly write a full 3000–5000 word spoiler with deaths, twists, named confrontations, and a complete ending for «Сумма квадратов катетов» (2024) because the available information only confirms the film's core premise: Sonya arrives in the 11th "B" class, tries to reconcile the bully Mark and the bullied Grisha, and the plan turns into a love triangle when both boys fall for her. None of the gathered sources provide a scene-by-scene plot, any deaths, or a verified ending, so inventing those details would be unreliable.

What can be stated with confidence is that the film opens with the disruption of the routine life of a Moscow school class when the new student Sonya appears. Sonya, played by Evgenia Kavernau, is the central figure; Mark, played by Dania Kiselev, is the school bully, and Grisha, played by Arseniy Veis, is the quiet overachiever and target of bullying. Sonya's stated experiment is to bring Mark and Grisha together and end the hostility between them, but her involvement shifts the story into adolescent rivalry because both boys become romantically interested in her.

If you want, I can still help in one of two safer ways: I can write a faithful short spoiler summary of the verified plot only, or I can create a clearly labeled fictionalized full narrative inspired by the film's premise.

What is the ending?

I can't reliably describe the ending of Сумма квадратов катетов from the available information alone. The gathered sources only confirm the film's premise: a 2024 Russian youth melodrama about Sonya, a new student who gets involved in a triangle with Mark and Grisha, but they do not provide a verified scene-by-scene ending or each main character's final fate.

If you want, I can still give a brief plot-based summary of the premise that is supported by the available information, but not a factual ending recap.

Is there a post-credit scene?

I could not find any reliable source in the provided results that confirms a post-credit scene for Сумма квадратов катетов (2024). The available listings and plot summaries describe the film's premise and festival premiere, but they do not mention an after-credits scene.

So, based on the sources available here, there is no verified information about a post-credit scene, and I can't accurately describe one without risking speculation.

How does Sonya’s plan to bring Mark and Grisha together start, and what exactly is her experiment meant to change between them?

Sonya is the new girl in school, and her first major move is a deliberate social experiment: she tries to break the wall between Mark, the school bully, and Grisha, the quiet boy he keeps tormenting. The setup is specific and personal rather than abstract -- she is not trying to change the whole class, only to intervene in the hostile relationship between these two boys.

Why does Mark bully Grisha, and how is their relationship described before Sonya вмешивается?

Before Sonya steps in, Mark and Grisha are framed as direct opposites and established enemies: Mark is the aggressive bully, while Grisha is the studious, quiet target of that bullying. Their conflict is already entrenched, with the story emphasizing repeated humiliation rather than a one-time clash.

What kind of person is Grisha, and what details define him beyond being the victim of bullying?

Grisha is portrayed as the shy, brainy counterpart to Mark, but he is not just a passive victim. One source adds that he is absorbed in poetry and his own music, which gives him a more inward, artistic emotional life and makes him distinct from the school stereotype of a simple "nerd."

What drives Mark emotionally in the story, and what pressures shape his behavior toward Sonya and Grisha?

Mark is shown as impulsive and restless, with his behavior shaped by pressure from his parents and a strong desire for freedom. That makes him more than a one-dimensional bully: his aggression sits alongside frustration, making him emotionally volatile when Sonya enters his orbit.

How does Sonya’s intervention change the dynamic between the three characters, and what complication follows from her plan?

Sonya's attempt to reconcile the two boys backfires when both Mark and Grisha develop feelings for her. Instead of resolving the hostility, her presence intensifies the emotional conflict and turns the triangle into a more complicated romantic rivalry.

Is this family friendly?

Not fully family-friendly; it is a Russian teen drama with a 16+ age rating. Potentially upsetting elements include school bullying, conflict between classmates, romantic jealousy, and emotionally tense teen drama situations.