01 - Preheat the oven to 400°F. Butter a medium gratin or baking dish and set aside.
02 - In a medium saucepan over medium heat, melt 2 tbsp butter. Add the finely chopped shallot and minced garlic, sautéing for 2 to 3 minutes until soft and fragrant.
03 - Stir in the heavy cream, whole milk, cream cheese, and Dijon mustard. Continue cooking and stirring until the cream cheese has fully melted and the mixture is smooth.
04 - Reduce heat to low. Gradually add the shredded Gruyère and sharp cheddar cheese, stirring constantly until completely melted and incorporated. Season with paprika, cayenne pepper, sea salt, and black pepper.
05 - Gently fold in the jumbo lump crab meat, chopped parsley, and chives, taking care not to break apart the crab lumps. Remove from heat.
06 - Spoon the crab mixture evenly into the prepared gratin dish, spreading it into an even layer.
07 - In a small bowl, combine the panko breadcrumbs, melted butter, and grated Parmesan cheese. Sprinkle the mixture evenly over the surface of the crab filling.
08 - Bake for 20 to 25 minutes until the filling is hot and bubbly and the topping is a deep golden brown.
09 - Allow the gratin to rest for 5 minutes before serving. Garnish with additional chopped parsley and chives if desired.