Toast the pine nuts. Tip 40 g of pine nuts into a dry frying pan over medium heat. Toast for 2 to 3 minutes, shaking the pan often, until they are golden and smell nutty. Tip them onto a plate to cool at once. They burn fast, and they keep cooking in the hot pan if you leave them there.
Start the pasta. Bring a large pot of water to a rolling boil. Add 1 tablespoon of fine sea salt. Add the penne and cook for 1 minute less than the packet says. Stir once at the start so the pasta does not stick. The pasta will finish cooking in the sauce.
Make the pesto. While the pasta cooks, put the basil, cooled pine nuts, parmesan, garlic, lemon juice, and 1/2 teaspoon of salt into the food processor. Pulse 8 to 10 times until it forms a coarse, bright green paste. Scrape down the sides once. With the motor on low, drizzle in the olive oil in a slow stream over 30 seconds. Stop when the pesto is smooth but still has a little texture. Do not over-process it. A pesto with some texture tastes better than a perfectly smooth one.
Save the pasta water. Just before the pasta is ready, scoop out about 250 ml of the hot pasta water into a mug. This starchy water is the secret of the sauce. Drain the pasta, but do not rinse it. Rinsing washes off the starch that helps the sauce cling.
Loosen the pesto. Tip the pesto into a large bowl. Add 125 ml of the hot pasta water, a splash at a time, and stir until the pesto turns silky and slightly runny. It should look a little too thin in the bowl. It will thicken as soon as it meets the pasta. This step is the whole trick. Never heat pesto in a pan. Warm water is the only heat it should ever meet.
Toss the pasta and sauce. Add the drained penne to the bowl with the loosened pesto. Toss hard with tongs for 1 to 2 minutes, lifting and turning so every piece is coated. Add more pasta water a splash at a time if the sauce feels tight. Taste and season with salt and black pepper.
Serve at once. Divide the pasta between warm bowls. Top each bowl with extra shaved parmesan, a drizzle of olive oil, and a few fresh basil leaves. Serve right away, while the sauce is still glossy and the pasta is hot.