/* Skyline section — clouds, atmosphere, copy. PNG crop lives in index.css. */

#skyline .sky-copy {
    color: #1e3a5f;
}

html.theme-dark #skyline .sky-copy {
    color: #1e3a5f;
}

#skyline .sky-copy__gold {
    color: #9a6b1a;
}

html.theme-dark #skyline .sky-copy__gold {
    color: #9a6b1a;
}

#skyline .sky-scroll-hint {
    animation: skyHintBounce 2.4s ease-in-out infinite;
}

@keyframes skyHintBounce {
    0%, 100% { transform: translateY(0); opacity: 0.55; }
    50% { transform: translateY(6px); opacity: 1; }
}

#skyline .amb--2,
#skyline .amb--4 {
    animation-name: skyDriftB;
}

@keyframes skyDriftB {
    from { transform: translateX(120vw); }
    to { transform: translateX(-40vw); }
}

#skyline .cloud {
    filter: drop-shadow(0 1.6em 2.8em rgba(60, 90, 140, 0.18)) blur(0.2px);
    transition: filter 0.3s ease;
}

html.theme-dark #skyline .cloud {
    filter: drop-shadow(0 1.6em 2.8em rgba(60, 90, 140, 0.18)) blur(0.2px);
}

#skyline .cloud--g,
#skyline .cloud--h {
    filter: blur(2px) drop-shadow(0 1.2em 2em rgba(60, 90, 140, 0.12));
    opacity: 0.82;
}

#skyline .cloud--bottom {
    filter: drop-shadow(0 0.6em 1.4em rgba(60, 90, 140, 0.12));
}

html.theme-dark #skyline .cloud--bottom {
    filter: drop-shadow(0 0.6em 1.4em rgba(60, 90, 140, 0.12));
}

#skyline .sky-atmos {
    animation: skySunPulse 12s ease-in-out infinite alternate;
}

@keyframes skySunPulse {
    from { opacity: 0.85; }
    to { opacity: 1; }
}

#skyline .sky-rays {
    background:
        radial-gradient(ellipse 80% 55% at 50% -5%, rgba(255, 248, 220, 0.45), transparent 68%),
        radial-gradient(ellipse 40% 30% at 30% 10%, rgba(255, 255, 255, 0.2), transparent 70%),
        radial-gradient(ellipse 40% 30% at 70% 12%, rgba(255, 255, 255, 0.16), transparent 70%);
}

html.theme-dark #skyline .sky-rays {
    background:
        radial-gradient(ellipse 80% 55% at 50% -5%, rgba(255, 248, 220, 0.45), transparent 68%),
        radial-gradient(ellipse 40% 30% at 30% 10%, rgba(255, 255, 255, 0.2), transparent 70%),
        radial-gradient(ellipse 40% 30% at 70% 12%, rgba(255, 255, 255, 0.16), transparent 70%);
}

body.no-motion #skyline .sky-scroll-hint,
body.no-motion #skyline .sky-atmos {
    animation: none;
}

@media (prefers-reduced-motion: reduce) {
    #skyline .sky-scroll-hint,
    #skyline .sky-atmos,
    #skyline .amb {
        animation: none !important;
    }
}

@media (max-width: 899px) {
    #skyline .sky-copy {
        padding-top: clamp(1.1rem, 4.8vh, 2.4rem);
    }
    #skyline .sky-copy p:last-of-type {
        max-width: 18rem;
        font-size: 0.8125rem;
        line-height: 1.55;
    }
    #skyline .sky-haze { height: 42%; }
}
