Dice the onion, celery, and carrots into 1/2-inch pieces, mince the garlic and set it aside separately, and cut the scrubbed potatoes into 3/4-inch cubes, leaving the skins on.
Pat the cod dry, cut it into 2-inch chunks, remove any pin bones with tweezers, sprinkle with 1/4 teaspoon salt, then cover and refrigerate until needed.
Heat the olive oil in a Dutch oven over medium heat, then cook the onion, celery, and carrots with 3/4 teaspoon salt for 7 to 8 minutes until softened, stirring often.
Add the garlic and stir for about 1 minute until fragrant, without letting it brown.
Push the vegetables to the sides, add the tomato paste, smoked paprika, thyme, black pepper, and red pepper flakes, and stir for about 2 minutes until the paste darkens and smells rich.
Pour in the white wine and scrape up the browned bits from the bottom, letting it bubble for about 2 minutes until reduced by half.
Add the diced tomatoes with their juices, fish stock, clam juice, potatoes, and bay leaves, then bring to a boil, reduce to medium-low, and simmer covered with the lid ajar for 15 to 18 minutes until the potatoes are fork tender.
Nestle the cod chunks into the gently simmering broth in a single layer, cover, and cook for 5 to 7 minutes until the fish is opaque, flakes easily, and reaches 145°F.
Remove the bay leaves, drizzle in the lemon juice, season to taste, and stir in the parsley before ladling into warm bowls.