*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 80px; }
body { margin: 0; min-height: 100vh; }
img, video { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
a { text-decoration: none; color: inherit; }
ul, ol { padding: 0; margin: 0; list-style: none; }

.skip-link { left: 0; top: 0; z-index: 9999; }

#site-header {
    background: transparent;
    transition: background 0.5s ease, box-shadow 0.5s ease;
}
#site-header.scrolled {
    background: rgba(10, 19, 43, 0.95);
    box-shadow: 0 1px 0 rgba(200, 164, 78, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

@keyframes scrollLine {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(200%); }
}
.animate-scroll-line {
    animation: scrollLine 1.5s ease-in-out infinite;
}

@media (max-width: 767px) {
    #mobile-menu {
        position: fixed;
        inset: 0;
        z-index: 30;
        background: rgba(6, 12, 26, 0.98);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.5rem;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s ease;
    }
    #mobile-menu.open {
        opacity: 1;
        pointer-events: all;
    }
    .mobile-link {
        font-family: 'Cormorant Garamond', Georgia, serif;
        font-size: 2rem;
        color: #fff;
        transition: color 0.3s ease;
    }
    .mobile-link:hover {
        color: #c8a44e;
    }
}

/* Subtle grain overlay on hero */
#top::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}
#top > * { position: relative; z-index: 2; }

/* Gold accent line between sections */
section + section::before {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #c8a44e, transparent);
    margin: 0 auto;
}
