/* ── Base & Utilities ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

/* ── Scroll-reveal (progressive enhancement — content is visible by default) ── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(32px);
        transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal.delay-1 { transition-delay: 0.1s; }
    .reveal.delay-2 { transition-delay: 0.2s; }
    .reveal.delay-3 { transition-delay: 0.3s; }
}

/* ── Nav link underline on hover ── */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #d4a84b;
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}

/* ── Mobile link ── */
.mobile-link {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
}

/* ── Card hover lift ── */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* ── Hero background ── */
.hero-bg {
    will-change: transform;
}
.hero-overlay {
    background: linear-gradient(
        180deg,
        rgba(10, 15, 12, 0.55) 0%,
        rgba(10, 15, 12, 0.70) 50%,
        rgba(10, 15, 12, 0.88) 100%
    );
}

/* ── Header scroll state ── */
#site-header.scrolled {
    background: rgba(10, 15, 12, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}

/* ── Gold shimmer on section titles ── */
@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* ── Custom scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0a0f0c; }
::-webkit-scrollbar-thumb { background: #1d351e; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #294d2a; }

/* ── Selection color ── */
::selection {
    background: rgba(212, 168, 75, 0.3);
    color: #f5f0e8;
}
