/* Critical above-the-fold — LCP mobile (hero visible sans polices web) */
:root {
    --black: #090e1b;
    --gold: #d4a843;
    --gold-light: #e8c26a;
    --purple-light: #a78bfa;
    --gray: #a8b3c7;
    --gray-light: #d1d5db;
    --white: #fff;
    --border: rgba(255, 255, 255, 0.07);
    --nav-h: 80px;
    --r: 6px;
    --font-serif: Georgia, 'Times New Roman', serif;
    --font-sans: system-ui, -apple-system, 'Segoe UI', sans-serif;
    --hero-bg: url('https://images.pexels.com/photos/574077/pexels-photo-574077.jpeg?auto=compress&cs=tinysrgb&w=1920&h=1080&dpr=1');
}

@media (max-width: 767px) {
    :root { --nav-h: 64px; }
}

html { -webkit-text-size-adjust: 100%; }
*, *::before, *::after { box-sizing: border-box; }
body {
    margin: 0;
    background: var(--black);
    color: var(--white);
    font-family: var(--font-sans);
    line-height: 1.65;
    overflow-x: clip;
}

html.fonts-loaded {
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', system-ui, sans-serif;
}

.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 10000;
    padding: 0.75rem 1rem;
    background: var(--gold);
    color: var(--black);
    font-weight: 600;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.cursor, .cursor-follower { display: none; }
@media (pointer: fine) {
    .cursor, .cursor-follower { display: block; }
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-h);
    z-index: 1000;
    padding: 0 clamp(1rem, 4vw, 2rem);
}
.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.logo-img {
    height: 78px;
    width: auto;
    max-width: 190px;
    object-fit: contain;
    background: transparent;
    border-radius: 0;
}
@media (max-width: 767px) {
    .logo-img { height: 54px; max-width: 160px; }
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-h) + 2rem) clamp(1rem, 4vw, 2rem) 3rem;
    background: var(--black);
    overflow: hidden;
}
#particles-canvas { display: none; }
@media (min-width: 768px) {
    #particles-canvas {
        display: block;
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }
}
.hero-bg-img, .hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
@media (max-width: 767px) {
    .hero-bg-img {
        background:
            linear-gradient(180deg, rgba(9, 14, 27, 0.72) 0%, rgba(9, 14, 27, 0.88) 55%, var(--black) 100%),
            radial-gradient(ellipse 90% 70% at 50% 0%, rgba(124, 58, 237, 0.22) 0%, transparent 55%),
            radial-gradient(ellipse 50% 40% at 85% 90%, rgba(212, 168, 67, 0.1) 0%, transparent 50%),
            var(--black);
    }
}
@media (min-width: 768px) {
    .hero-bg-img {
        background:
            linear-gradient(180deg, rgba(9, 14, 27, 0.72) 0%, rgba(9, 14, 27, 0.88) 55%, var(--black) 100%),
            radial-gradient(ellipse 90% 70% at 50% 0%, rgba(124, 58, 237, 0.22) 0%, transparent 55%),
            radial-gradient(ellipse 50% 40% at 85% 90%, rgba(212, 168, 67, 0.1) 0%, transparent 50%),
            var(--hero-bg) center center / cover no-repeat,
            var(--black);
    }
}
.hero-overlay {
    background:
        radial-gradient(ellipse 80% 60% at 50% -10%, rgba(124, 58, 237, 0.18) 0%, transparent 60%),
        linear-gradient(to bottom, transparent 50%, var(--black) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 920px;
    margin: 0 auto;
    width: 100%;
}

.hero-badge,
.hero-title,
.hero-title em,
.hero-subtitle,
.hero-actions,
.hero-stats,
.page-hero .sr {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(124, 58, 237, 0.15);
    border: 1px solid rgba(124, 58, 237, 0.35);
    border-radius: 100px;
    padding: 0.4rem 1rem 0.4rem 0.7rem;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--purple-light);
    margin-bottom: 1.75rem;
}
.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.08;
    margin: 0 0 1.5rem;
    color: var(--white);
}
.hero-title em {
    font-style: italic;
    color: var(--gold);
}
.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--gray);
    max-width: 640px;
    margin: 0 auto 2rem;
    line-height: 1.85;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    border-radius: var(--r);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
}
.btn-gold {
    background: var(--gold);
    color: var(--black);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--gold-border, rgba(212, 168, 67, 0.22));
}
.btn-lg { padding: 1rem 1.75rem; font-size: 0.85rem; }

.page-hero {
    position: relative;
    padding: calc(var(--nav-h) + 2.5rem) clamp(1rem, 4vw, 2rem) 2.5rem;
    background: var(--dark);
    overflow: hidden;
    text-align: center;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
}
@media (max-width: 767px) {
    .page-hero::before {
        background:
            linear-gradient(180deg, rgba(9, 14, 27, 0.78) 0%, rgba(9, 14, 27, 0.92) 100%),
            radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
    }
}
@media (min-width: 768px) {
    .page-hero::before {
        background:
            linear-gradient(180deg, rgba(9, 14, 27, 0.78) 0%, rgba(9, 14, 27, 0.92) 100%),
            radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124, 58, 237, 0.15) 0%, transparent 70%),
            var(--hero-bg) center center / cover no-repeat;
    }
}
.page-hero-glow {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(124, 58, 237, 0.18) 0%, transparent 70%);
}
.page-hero-content {
    position: relative;
    z-index: 2;
}
.page-hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 6vw, 4.2rem);
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 1rem;
    color: var(--white);
}
.page-hero-title em { font-style: italic; color: var(--gold); }
.page-hero-desc {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.85;
    max-width: 600px;
    margin: 0 auto;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
}
.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
}
@media (max-width: 767px) {
    .menu-toggle { display: flex; }
    .nav-links { display: none; }
    .sr {
        opacity: 1 !important;
        transform: none !important;
    }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }
    .hero-actions .btn { width: 100%; }
    .hero-badge-dot { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
    .sr, .hero-badge, .hero-title, .hero-subtitle, .hero-actions, .hero-stats {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
}
