Preheat your oven to 425°F and line a baking sheet with parchment paper. Slice the zucchini, yellow squash, and bell pepper into half-inch pieces—thick enough to hold their shape but thin enough to roast through in 30 minutes. I always cut everything the same size because pieces that match cook evenly, which sounds obvious but changes everything about texture consistency.
Toss your chopped vegetables with the red onion, garlic, olive oil, oregano, and red pepper flakes in a large bowl. Season generously with salt and pepper—this is your moment to taste and adjust because the vegetables won't absorb seasoning as it roasts. Spread the mixture across your prepared baking sheet in a single layer without crowding, because steam traps flavor instead of roasting it away.
Roast for 25-30 minutes, stirring only once at the 15-minute mark. I confess I used to stir constantly and wondered why my vegetables stayed pale and soft—now I know better. Watch for the edges to turn golden brown and slightly charred; that's when the real flavor emerges.
While the vegetables roast, bring a large pot of salted water to a rolling boil. The water should taste like the sea because this is your only opportunity to season the pasta itself. Toast the pine nuts in a dry skillet over medium heat for 3-4 minutes, shaking frequently until fragrant and golden, then set aside on a plate.
Cook the linguine according to package directions until just tender, then reserve 1 cup of pasta water before draining. The starch in this water acts as edible glue, helping the sauce coat each strand evenly—this is why elegant summer pasta with roasted vegetables comes together so smoothly at the end.
Combine the roasted vegetables with the hot pasta in a large bowl, then add the lemon juice and toss gently. Pour in 1/2 cup of reserved pasta water and let everything sit for one minute while the heat softens the vegetables slightly and helps the flavors marry. Add more pasta water if needed to reach your preferred consistency.
Fold in the fresh basil and toasted pine nuts at the very last second, then divide among four bowls. Top each serving with grated parmesan and a light drizzle of olive oil, letting the cheese catch the residual heat from the pasta.