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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    background: #040705;
    color: #e5e7eb;
}

/* ── Hero Gradient ── */
.hero-gradient {
    background:
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(36,82,38,0.6) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 20% 60%, rgba(20,50,22,0.5) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 60%, rgba(15,40,18,0.5) 0%, transparent 60%),
        linear-gradient(180deg, #0a120b 0%, #040705 100%);
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}
.hero-orb-1 { background: radial-gradient(circle, rgba(84,119,62,0.6), transparent 70%); }
.hero-orb-2 { background: radial-gradient(circle, rgba(201,168,76,0.3), transparent 70%); }
.hero-orb-3 { background: radial-gradient(circle, rgba(48,72,35,0.4), transparent 70%); }

/* ── Header ── */
#site-header {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}
#site-header.scrolled {
    background: rgba(4,7,5,0.85);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}

/* ── Mobile Menu ── */
#mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
}

/* ── Service Cards ── */
.service-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 1.25rem;
    padding: 1.25rem;
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}
.service-card:hover {
    border-color: rgba(201,168,76,0.25);
    box-shadow: 0 8px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(201,168,76,0.1);
    transform: translateY(-4px);
}

/* ── Scroll Reveal (progressive enhancement) ── */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ── Custom Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #040705; }
::-webkit-scrollbar-thumb { background: #1f2f17; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #304823; }

/* ── Selection ── */
::selection { background: rgba(201,168,76,0.3); color: #f0f0e8; }

/* ── Focus Visible ── */
:focus-visible {
    outline: 2px solid rgba(201,168,76,0.6);
    outline-offset: 2px;
}

/* ── Select arrow ── */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

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