/* Shared styles: CSS variables, nav, footer */

:root {
    --font-display: 'Lexend', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
    --bg: #FAFAF8;
    --bg-alt: #F4F2ED;
    --bg-deep: #EDEAE3;
    --white: #FFFFFF;
    --navy: #1D3557;
    --navy-light: #2A4A70;
    --gold: #B8904A;
    --gold-faint: rgba(184,144,74,0.12);
    --ink: #1C1C1E;
    --ink-2: #636366;
    --ink-3: #AEAEB2;
    --border: rgba(0,0,0,0.07);
    --border-dark: rgba(0,0,0,0.13);
    --shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.12);
    --r: 10px;
}

*, *::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(--ink);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
}

/* ─── NAV ─── */

.site-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    background: rgba(250,250,248,0.88);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--ink);
    text-decoration: none;
}

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

.nav-links a {
    padding: 0.375rem 0.875rem;
    font-size: 0.875rem;
    color: var(--ink-2);
    text-decoration: none;
    border-radius: 100px;
    transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
    color: var(--ink);
    background: var(--bg-alt);
}

.nav-links .nav-partner {
    padding: 0.375rem 0.875rem;
    background: var(--navy);
    color: white;
    border-radius: 100px;
    font-weight: 500;
    transition: background 0.2s;
}

.nav-links .nav-partner:hover {
    background: var(--navy-light);
    color: white;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 210;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
    margin: 4px 0;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 56px; left: 0; right: 0;
        flex-direction: column;
        background: rgba(250,250,248,0.97);
        -webkit-backdrop-filter: saturate(180%) blur(20px);
        backdrop-filter: saturate(180%) blur(20px);
        border-bottom: 1px solid var(--border);
        padding: 0.5rem 1.5rem 1rem;
        gap: 0;
    }
    .nav-links.open { display: flex; }
    .nav-links li { width: 100%; }
    .nav-links a { display: block; padding: 0.75rem 0.5rem; border-radius: 8px; }
    .nav-links .nav-partner { text-align: center; margin-top: 0.25rem; border-radius: 8px; }
    .nav-links .nav-text-hidden { display: none; }
}

/* ─── FOOTER ─── */

.site-footer {
    background: var(--ink);
    padding: 3rem 2rem;
}

.footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-name {
    font-size: 0.9375rem;
    font-weight: 300;
    color: rgba(255,255,255,0.5);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.footer-links a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.35);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover { color: rgba(255,255,255,0.7); }
