/* =========================================================================
   Synestrology — Shared Base Styles
   Fonts, CSS variables, and navigation
   ========================================================================= */

/* --- Cormorant Garamond (Body / UI Labels) --- */

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('/static/fonts/CormorantGaramond-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('/static/fonts/CormorantGaramond-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('/static/fonts/CormorantGaramond-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('/static/fonts/CormorantGaramond-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('/static/fonts/CormorantGaramond-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* --- Design Tokens --- */

:root {
    /* Colors */
    --foundation: #1A1418;
    --primary: #4A0E0E;
    --secondary: #8B7355;
    --accent: #B87333;
    --text-primary: #E8E4DF;
    --text-secondary: #9A8F97;
    --divider: rgba(139, 115, 85, 0.3);

    /* Typography */
    --font-display: 'Bodoni Moda', Georgia, 'Times New Roman', serif;
    --font-body: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
}

/* --- Sticky Navigation --- */

.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    transition: background 0.4s ease;
}

.sticky-nav.scrolled {
    background: rgba(26, 20, 24, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.sticky-nav .nav-wordmark {
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.sticky-nav .nav-wordmark:hover {
    color: var(--text-primary);
}

.sticky-nav .nav-links {
    display: flex;
    gap: 24px;
}

.sticky-nav .nav-links a {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 11px;
    color: var(--text-secondary);
    text-decoration: none;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

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

/* --- Mobile Navigation --- */

@media (max-width: 768px) {
    .sticky-nav {
        padding: 10px 16px;
    }
    .sticky-nav .nav-wordmark {
        font-size: 10px;
        letter-spacing: 2px;
    }
    .sticky-nav .nav-links {
        gap: 12px;
    }
    .sticky-nav .nav-links a {
        font-size: 10px;
        letter-spacing: 1px;
    }
    .sticky-nav .nav-links a .nav-full {
        display: none;
    }
    .sticky-nav .nav-links a .nav-short {
        display: inline;
    }
}

/* Hide short label on desktop */
.sticky-nav .nav-links a .nav-short {
    display: none;
}
