Every night along a stretch of beach in the Philippines, volunteers walk for miles in the dark, watching for something ancient and quiet: a sea turtle coming ashore to lay her eggs. In San Vicente, a municipality on Palawan Island, that nightly patrol has become a lifeline for one of the ocean's most threatened species.

Olive ridley sea turtles have been returning to these beaches for thousands of years to nest. But their journeys today are more dangerous than ever. Stray dogs prowl the shores. Tourists disturb the sand. And increasingly severe storms and high tides wash eggs away before they can hatch.

So the villagers stepped in.

The NGO Large Marine Vertebrates Research Institute Philippines, known as LAMAVE, partnered with local residents to patrol the beaches and protect turtle nests. In Santo Niño village alone, volunteers cover more than 8 kilometers (5 miles) of shoreline every night, working in five shifts from dusk until dawn.

When a nesting turtle arrives, patrollers stand guard to keep dogs away while she digs her nest and deposits her eggs. Once she's finished, they measure her shell and take photographs before she returns to the sea. Those images help researchers recognize her if she comes back in future years, like reuniting with an old friend.

Then comes the tricky part: moving the eggs to safer ground. Left on the open beach, researchers say nearly every nest gets destroyed by dogs or flooding. The eggs are relocated to protected hatcheries, where volunteers check on them every few hours. Two months later, tiny baby turtles begin digging their way out of the sand.

The effort is paying off. LAMAVE's hatcheries achieve a hatching success rate of roughly 75 percent. On untouched beaches where predators don't interfere, that number can reach 80 percent or higher, so the volunteers are coming impressively close to what nature does on its own.

Not long ago, Jerald Mahusay was a child who saw turtle eggs as toys. Now he serves as a patrol leader and research assistant, teaching others how to protect the turtles he once disturbed. "In the end, even though she's dead, at least her babies survive," said LAMAVE researcher Klara Simon, describing how the team sometimes finds nesting mothers killed by dogs but still saves their eggs.

The team also works directly with the community to manage free-roaming dogs, even building enclosures for pets that might otherwise snack on eggs. Project leader Kalei Suza emphasizes that egg relocation is a temporary fix for problems humans created. "We still want the turtles to nest in their regular, natural place where they want to nest, because mama knows best," Suza said. The long-term goal is for the community to take full ownership of turtle protection, so the beaches can stay wild and safe on their own.

That future is not yet certain. Tourism is rising fast in San Vicente. Major developers have bought large tracts of land nearby, with plans for beachfront resorts covering hundreds of hectares. How those developments affect the turtles remains to be seen. But for now, the night patrols continue, villagers walking quietly along the sand, keeping watch over eggs that will one day become turtles of their own.