Press the tofu for 15 minutes to remove excess moisture, then cut into 1-inch cubes.
Season tofu cubes with sea salt and black pepper.
Heat coconut oil in a large non-stick skillet over medium-high heat.
Add tofu to the skillet and sear until all sides are golden brown and crispy.
Remove tofu from the pan and set aside.
In the same pan, add minced garlic, grated ginger, and red curry paste, sautéing for 1 minute until fragrant.
Pour in the coconut milk and tamari, stirring to combine the curry paste into a smooth sauce.
Add the shelled edamame and simmer for 3 minutes.
Stir in the baby spinach until just wilted.
Return the seared tofu to the pan, toss to coat in the sauce, and finish with fresh lime juice.