Brown Butter & Steep Cream: Preheat oven to 375°F (190°C) and butter a 9x13 dish. Brown 4 tbsp butter in a saucepan (reserve 1 tbsp for crisping sage). Add cream, garlic, chopped sage, nutmeg, cayenne, salt, and pepper; simmer 3 mins.
Layer Gratin: Shingle half the sweet potato slices in dish, pour half the cream, scatter half the Gruyere and Parmesan. Repeat with remaining potatoes and cream.
Bake Covered: Cover tightly with foil and bake 40 mins until knife-tender.
Brown & Garnish: Uncover, top with remaining cheese, and bake 18–22 mins until golden. Crisp whole sage leaves 25 secs in reserved brown butter; rest gratin 12 mins and garnish with crispy sage and flaky salt.