:root {
    --bg: #08080a;
    --bg-warm: #0c0c0e;
    --bg-card: #111114;
    --bg-card-h: #17171b;
    --border: #1f1f26;
    --border-l: #2a2a33;
    --text: #9a96a6;
    --text-dim: #5e5b6a;
    --text-bright: #d0cdd8;
    --heading: #e0dce8;
    --accent: #7c6fbb;
    --accent-dim: #5a4f8a;
    --accent-soft: rgba(124,111,187,0.08);
    --accent-glow: rgba(124,111,187,0.12);
    --mono: #7c9a6e;
    --font-display: 'Cinzel', serif;
    --font-body: 'Crimson Pro', serif;
    --font-mono: 'IBM Plex Mono', monospace;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.75;
    font-size: 18px;
    font-weight: 300;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
}

::selection {
    background: var(--accent-dim);
    color: var(--heading);
}

/* ── NAV ── */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, rgba(8,8,10,0.97) 60%, transparent);
}

.nav-logo {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-logo:hover { color: var(--text); }
.nav-logo b { color: var(--text-bright); font-weight: 400; }

.nav-links {
    display: flex;
    gap: 1.8rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover { color: var(--accent); }

.nav-cta {
    padding: 0.5rem 1.2rem !important;
    border: 1px solid var(--border-l) !important;
    transition: all 0.3s !important;
}

.nav-cta:hover {
    border-color: var(--accent-dim) !important;
    color: var(--accent) !important;
    background: var(--accent-soft);
}

/* ── BUTTONS ── */
.btn {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.05em;
    text-decoration: none;
    padding: 0.75rem 1.8rem;
    border: 1px solid var(--border);
    color: var(--text);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.btn:hover {
    border-color: var(--accent-dim);
    color: var(--accent);
    background: var(--accent-soft);
}

.btn-primary {
    background: var(--accent-dim);
    border-color: var(--accent-dim);
    color: #e0dce8;
}

.btn-primary:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.btn svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ── SECTIONS ── */
section {
    padding: 5.5rem 2rem;
    max-width: 820px;
    margin: 0 auto;
}

.section-label {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.8rem;
}

section h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 400;
    color: var(--heading);
    letter-spacing: 0.04em;
    margin-bottom: 1.2rem;
    line-height: 1.3;
}

section p + p { margin-top: 0.9rem; }

.divider {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 2rem;
}

.divider-line {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border), transparent);
}

/* ── FOOTER ── */
footer {
    max-width: 820px;
    margin: 0 auto;
    padding: 2.5rem 2rem 3.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
}

.footer-l {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--text-dim);
}

.footer-r {
    display: flex;
    gap: 1.5rem;
}

.footer-r a {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-r a:hover { color: var(--accent); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.7; }
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s, transform 0.6s;
}

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

/* ── RESPONSIVE ── */
@media (max-width: 680px) {
    .nav-links { display: none; }
    footer { flex-direction: column; gap: 0.8rem; text-align: center; }
}
