/* ── Custom Properties ── */
:root {
    --gold-start: #d4a853;
    --gold-mid: #c49a3c;
    --gold-end: #a07828;
    --teal: #14b8a6;
    --teal-dark: #0d9488;
    --slate-950: #060b18;
    --slate-900: #0a0f1e;
    --slate-850: #0f172a;
}

/* ── Gold Gradient ── */
.bg-gold-gradient {
    background: linear-gradient(135deg, var(--gold-start) 0%, var(--gold-mid) 50%, var(--gold-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Gold Button ── */
.btn-gold {
    background: linear-gradient(135deg, var(--gold-start) 0%, var(--gold-mid) 100%);
    position: relative;
    overflow: hidden;
}
.btn-gold::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gold-mid) 0%, var(--gold-start) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.btn-gold:hover::before {
    opacity: 1;
}
.btn-gold span {
    position: relative;
    z-index: 1;
}

/* ── Outline Button ── */
.btn-outline {
    border: 1px solid rgba(148, 163, 184, 0.2);
    transition: all 0.3s ease;
}
.btn-outline:hover {
    border-color: rgba(20, 184, 166, 0.4);
    background: rgba(20, 184, 166, 0.05);
}

/* ── Section Eyebrow ── */
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal);
}
.section-eyebrow::before {
    content: '';
    display: block;
    width: 2rem;
    height: 1px;
    background: linear-gradient(90deg, var(--teal), transparent);
}

/* ── Section Title ── */
.section-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: #fff;
    line-height: 1.15;
}

/* ── Section Subtitle ── */
.section-subtitle {
    font-size: 1.05rem;
    color: #94a3b8;
    line-height: 1.7;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Service Card Glow ── */
.service-card {
    opacity: 0;
    transform: translateY(24px);
}
.service-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ── Hero Animations ── */
.hero-anim {
    opacity: 0;
    transform: translateY(20px);
    animation: heroReveal 0.8s ease forwards;
}
.hero-anim:nth-child(2) { animation-delay: 0.15s; }
.hero-anim:nth-child(3) { animation-delay: 0.3s; }
.hero-anim:nth-child(4) { animation-delay: 0.45s; }
.hero-anim:nth-child(5) { animation-delay: 0.6s; }

@keyframes heroReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Navbar ── */
#navbar.scrolled {
    background: rgba(6, 11, 24, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.06);
    box-shadow: 0 1px 40px rgba(0, 0, 0, 0.4);
}
#navbar.scrolled .nav-link {
    color: #94a3b8;
}
#navbar.scrolled .nav-link:hover {
    color: #fff;
}

/* ── Mobile Menu ── */
#mobileMenu.open {
    opacity: 1;
    pointer-events: all;
}
#mobileMenu .mobile-link {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s ease;
}
#mobileMenu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}
#mobileMenu.open .mobile-link:nth-child(1) { transition-delay: 0.05s; }
#mobileMenu.open .mobile-link:nth-child(2) { transition-delay: 0.1s; }
#mobileMenu.open .mobile-link:nth-child(3) { transition-delay: 0.15s; }
#mobileMenu.open .mobile-link:nth-child(4) { transition-delay: 0.2s; }
#mobileMenu.open .mobile-link:nth-child(5) { transition-delay: 0.25s; }

/* ── Hamburger Animation ── */
#menuToggle[aria-expanded="true"] #bar1 {
    transform: translateY(5px) rotate(45deg);
}
#menuToggle[aria-expanded="true"] #bar2 {
    opacity: 0;
}
#menuToggle[aria-expanded="true"] #bar3 {
    transform: translateY(-5px) rotate(-45deg);
}

/* ── Smooth Scroll ── */
html {
    scroll-behavior: smooth;
}

/* ── Selection ── */
::selection {
    background: rgba(20, 184, 166, 0.25);
    color: #fff;
}

/* ── Focus Visible ── */
:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 2px;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--slate-950);
}
::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.2);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(148, 163, 184, 0.35);
}

/* ── Responsive ── */
@media (max-width: 640px) {
    .section-title {
        font-size: 1.85rem;
    }
}
