Getting ready for a new deck above a sloping yard
https://waveoutdoorsdesign190.dovetailscope.com/posts/your-site-notes-for-a-sunken-backyard-that-collects-water
Take time at the beginning and the rest goes easier. Sort out how high the deck needs to sit above the grade before choosing finishes. Then the rest of the plan can fall into place