A square 1024x1024 digital painting in a realistic, slightly melancholic style. The central image is a solitary, weathered stone castle perched precariously on a windswept cliff overlooking a turbulent, grey sea. The sky is dramatic, with swirling dark clouds tinged with a faint, diffused light, suggesting either dawn or dusk. Scattered, hardy heather and grasses cling to the rocky ground around the castle. The overall mood is one of resilience, isolation, and a hint of faded grandeur. The color palette is dominated by cool tones: greys, deep blues, muted greens, and touches of earthy brown, with the faint light offering a subtle warmth. The composition should emphasize the vastness of the natural landscape and the enduring, yet vulnerable, presence of the castle. Focus on texture and atmospheric perspective.