01 - Preheat the oven to 400°F. Lightly butter a medium gratin or baking dish and set aside.
02 - In a medium saucepan over medium heat, melt 2 tablespoons of butter. Add the finely chopped shallot and minced garlic, sautéing for 2 to 3 minutes until softened and fragrant.
03 - Pour in the heavy cream, whole milk, softened cream cheese, and Dijon mustard. Cook while stirring continuously until the cream cheese has fully melted and the mixture is smooth.
04 - Reduce the heat to low. Gradually add the shredded Gruyère and sharp cheddar cheese, stirring until completely melted and incorporated. Season with paprika, cayenne pepper, sea salt, and black pepper.
05 - Gently fold in the jumbo lump crab meat along with the chopped parsley and chives, taking care not to break apart the crab lumps. Remove the saucepan 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 on the center rack for 20 to 25 minutes, until the filling is hot and bubbly and the topping is a deep golden brown.
09 - Remove from the oven and let rest for 5 minutes before serving. Garnish with additional fresh parsley and chives if desired.