Atef Al-Buhaisi, 6, once dreamed of a career building houses. Now, all he craves is to return to school.
In Israel's war with Hamas, Atef's home has been bombed, his teacher killed and his school in Nuseirat turned into a refuge for displaced people.
He lives in a cramped tent with his family in Deir al-Balah in central Gaza, where he sleeps clinging to his grandmother and fears walking alone even during the day.
Since the war erupted October 7, all of Gaza's schools have closed — leaving hundreds of thousands of students like Atef without formal schooling or a safe place to spend their days.
Aid groups are scrambling to keep children off the streets and their minds focused on something other than the war, as heavy fighting continues across the enclave and has expanded into the southern city of Rafah and intensified in the north.
“What we’ve lost most is the future of our children and their education,” said Irada Ismael, Atef’s grandmother.
"Houses and walls are rebuilt, money can be earned again ... but how do I compensate for (his) education?”
Gaza faces a humanitarian crisis, with the head of the U.N.'s World Food Program determining a “full-blown famine” is already underway in the north.
More than 35,000 Palestinians have been killed in the war, according to the Gaza Health Ministry, which does not distinguish between civilians and combatants in its figures.
About 80% of Gaza’s population has been driven from homes. Much of Gaza is damaged or destroyed, including nearly 90% of school buildings, according to aid group estimates.
Children are among the most severely affected, with the U.N. estimating some 19,000 children have been orphaned and nearly a third under the age of two face acute malnutrition.
In emergencies, education takes a back seat to safety, health and sanitation, say education experts, but the consequences are lasting.
Before the war, Gaza was home to more than 625,000 students and some 20,000 teachers in its highly literate population, according to the U.N.
In other conflicts, aid groups can create safe spaces for children in neighbouring countries — for example, Poland for shelter and schooling during the war in Ukraine.
That's not possible in Gaza, a densely populated enclave locked between the sea, Israel and Egypt.
Since October 7, Palestinians from Gaza haven't been allowed to cross into Israel. Egypt has let a small number of Palestinians leave.
“They’re unable to flee, and they remain in an area that continues to be battered," said Tess Ingram, of UNICEF.
"It's very hard to provide them with certain services such as mental health and psychosocial support or, you know, consistent education and learning.”
Aid groups hope classes will resume by September. But even if a cease-fire is brokered, much of Gaza must be cleared of mines, and rebuilding schools could take years.
In the interim, aid groups are providing recreational activities — games, drawing, drama, art — not for a curriculum-based education but to keep children engaged and in a routine, in an effort for normalcy.
Even then, advocates say, attention often turns to the war — Atef's grandmother sees him draw pictures only of tents, planes and missiles.
Finding free space is among the biggest challenges. Some volunteers use the outdoors, make do inside tents where people live, or find a room in homes still standing.
It took volunteer teachers more than two months to clear one room in a school in Deir al-Balah to give ad hoc classes to children.
Getting simple supplies such as soccer balls and stationery into Gaza can also take months, groups report.
This month, UNICEF had planned to erect at least 50 tents for some 6,000 children from preschool to grade 12 for play-based numbers and literacy learning in Rafah.
But UNICEF says those plans could be disrupted by Israel's operation there.
Lack of schooling can take a psychological toll — it disrupts daily life and, compounded with conflict, makes children more prone to anxiety and nervousness, said Jesus Miguel Perez Cazorla, a mental health expert with the International Committee of the Red Cross.
Children in conflicts are also at increased risk of forced labour, sexual violence, trafficking and recruitment by gangs and armed groups, experts warn.
Palestinians say they've seen more children take to Gaza's streets since the war, trying to earn money for their families.
Some parents try to find small ways to teach their children, scrounging for notebooks and pens and insisting they learn something as small as a new word each day.
But many find the kids are too distracted, with the world around them at war.
Sabreen al-Khatib, a mother whose family was displaced to Deir al-Balah from Gaza City, said it's particularly hard for the many who've seen relatives die.
"When you speak in front of children," al-Khatib said, What do you think they are thinking? Will (they) think about education? Or will (they) be thinking about how (they) might die?”
Also Watch | Why Israel's ground offensive in Rafah crosses a 'red line'?