/* ─── Base & Utilities ─── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* ─── Navigation link underline animation ─── */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: #c9a227;
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}

/* ─── Mobile link ─── */
.mobile-link {
    display: block;
}

/* ─── Gold shimmer accent line ─── */
.gold-line {
    height: 2px;
    width: 60px;
    background: linear-gradient(90deg, #c9a227, transparent);
    border-radius: 2px;
}

/* ─── Custom scrollbar ─── */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0c0a08;
}
::-webkit-scrollbar-thumb {
    background: #1d381d;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #264a26;
}

/* ─── Selection color ─── */
::selection {
    background: rgba(201, 162, 39, 0.3);
    color: #f0f5f0;
}

/* ─── Focus visible ─── */
:focus-visible {
    outline: 2px solid #c9a227;
    outline-offset: 2px;
}

/* ─── Image lazy-load placeholder ─── */
img[loading="lazy"] {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}
