Determined for her 7-year-old son to attend school despite a life-threatening sensitivity to sunlight, Nadia El-Rami stuck a deal with the school’s director: Mustapha would be allowed in the classroom, but only if he studies inside a cardboard box.Mustapha Redouane happily accepted the arrangement. He knew his mother’s idea would silence the school’s worries about his condition, a rare genetic disorder called xeroderma pigmentosum, or XP, which can make sun rays and other sources of ultraviolet light extremely damaging to the skin and eyes. The disorder is more common in North Africa than much of the world. “I hate the sun anyways. It gives me blisters,” he said, sitting on his mother’s lap, his face covered with the dark brown freckles that the school director considered a distraction to other students.Now 8, Mustapha has already had 11 operations to remove cancerous growths on his skin. His family is among thousands around the world struggling with XP, and increasingly sharing advice and seeking new treatments. In Morocco, families are also fighting for recognition, government help — and the simple right to go to school.Xeroderma pigmentosum, or XP, is a rare genetic disorder, which can make sun rays and other sources of ultraviolet light extremely damaging to the skin and eyesThe disorder affects about 1 in 10,000 people in North Africa — more than 10 times the rate in Europe and about 100 times the rate in the US, according to Dr. Kenneth Kraemer, who researches XP at the US National Institutes of Health. Because the disorder is inherited, XP is more common in populations where marriage between relatives is high, Kraemer said. Affected children inherit two copies of a mutated gene, one from each parent. A 2016 Moroccan government study estimates about 15 percent of marriages are between family members.Living in a country where the sun shines year-round makes them more susceptible to skin cancers that can be caused by the disorder, said Fatima El-Fatouikai, pediatric dermatology specialist at the Ibn Rochd University Hospital in Casablanca.Without protection, few XP patients in Morocco live beyond their teenage years, El-Fatouikai said. It is particularly challenging in developing countries, where an awareness of the disorder and access to treatments are scarce, and in poor, rural communities where people spend more time outside.Outside of El-Fatoikai’s office, families coming from all around Morocco sit in a waiting room eager for their names to be called. There is a rumor about a new XP treatment.The truth is, she says, “We only have prevention as a possible treatment. These children … have to avoid even minimum sun exposure.” The main prevention measures: Avoiding the sun and wearing protective clothing, face shields and sunscreen.Fatimazehra Belloucy, 25, has dealt with skin cancer and other problems because of XP.“If only people made it easier. Their words hurt. I feel entirely alienated,” she said, describing how she faces scared looks and hateful comments as she passes by. Her family limits interactions with her, fearful that the disease is contagious.“No one would take care of me, so I had to do it myself,” said Belloucy, who received her high school diploma and is now enrolled in university. She hopes to land work helping with the disease.