html { scroll-behavior: smooth; }
body { min-height: 100vh; overflow-x: hidden; }
::selection { background: #e8ca7a; color: #07111f; }

#siteHeader.scrolled {
    background: rgba(7,17,31,.86);
    border-color: rgba(255,255,255,.08);
    backdrop-filter: blur(24px) saturate(170%);
    box-shadow: 0 16px 45px rgba(0,0,0,.18);
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
    display: block;
    width: 18px;
    height: 1.5px;
    background: #fff;
    content: "";
    transition: .25s ease;
}
.menu-lines::before { transform: translateY(-6px); }
.menu-lines::after { transform: translateY(4px); }

.hero-slide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 1.15s ease;
}
.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}
.hero-slide .hero-bg {
    transform: scale(1.035);
    transition: transform 7s ease;
}
.hero-slide.active .hero-bg { transform: scale(1.10); }
.hero-copy > * {
    opacity: 0;
    transform: translateY(18px);
    transition: .7s ease;
}
.hero-slide.active .hero-copy > * {
    opacity: 1;
    transform: translateY(0);
}
.hero-slide.active .hero-copy > *:nth-child(2) { transition-delay: .10s; }
.hero-slide.active .hero-copy > *:nth-child(3) { transition-delay: .20s; }
.hero-slide.active .hero-copy > *:nth-child(4) { transition-delay: .30s; }

.glass-card {
    background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
    border: 1px solid rgba(255,255,255,.10);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 80px rgba(0,0,0,.20);
}
.glass-card:hover {
    border-color: rgba(232,202,122,.30);
    transform: translateY(-4px);
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.page-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}
.page-hero::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    background:
        linear-gradient(90deg, rgba(7,17,31,.96), rgba(7,17,31,.65) 55%, rgba(7,17,31,.86)),
        radial-gradient(circle at 80% 20%, rgba(213,173,79,.16), transparent 35%);
}

.article-body h2 {
    margin-top: 2.2rem;
    margin-bottom: .8rem;
    font-family: "Playfair Display", serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: white;
}
.article-body p {
    color: #cbd5e1;
    line-height: 1.9;
    margin-bottom: 1rem;
}

input, textarea { outline: none; }
input:focus, textarea:focus {
    border-color: rgba(232,202,122,.7) !important;
    box-shadow: 0 0 0 3px rgba(232,202,122,.09);
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
