/* ── Base ── */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    overflow-x: hidden;
}

::selection {
    background: #B8943D;
    color: #fff;
}

/* ── Gold accent line ── */
.gold-line {
    display: inline-block;
    width: 48px;
    height: 1px;
    background: #B8943D;
    margin-bottom: 1rem;
}

/* ── Nav ── */
.nav-link {
    position: relative;
    color: #0F2140;
    text-decoration: none;
    padding-bottom: 2px;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #B8943D;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #B8943D;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-text {
    color: #0F2140;
}

/* ── Mobile menu ── */
.mobile-link {
    color: #0F2140;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: #B8943D;
}

/* ── Scroll reveal ── */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #F8F7F4;
}

::-webkit-scrollbar-thumb {
    background: #C4C4C4;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #B8943D;
}

/* ── Focus ── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #B8943D;
    outline-offset: 2px;
}

/* ── Form ── */
input::placeholder,
textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}
