/* Aevon site chrome — matches index.html header & footer (no interior sections) */

:root {
    --bg: #060608;
    --bg-2: #0b0b0f;
    --bg-3: #111118;
    --border: rgba(255, 255, 255, 0.07);
    --border-hover: rgba(255, 255, 255, 0.18);
    --text: #ede9e0;
    --text-muted: #6e6e78;
    --text-dim: #3a3a44;
    --accent: #c8f576;
    --accent-2: #7af0c8;
    --accent-glow: rgba(200, 245, 118, 0.18);
    --font-display: "Cormorant Garamond", Georgia, serif;
    --font-body: "Outfit", system-ui, sans-serif;
    --radius: 4px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

body.aevon-page {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.aevon-page a {
    text-decoration: none;
    color: inherit;
}

body.aevon-page::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='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
    opacity: 0.022;
    pointer-events: none;
    z-index: 9999;
}

.aevon-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

@media (max-width: 768px) {
    .aevon-container {
        padding: 0 1.5rem;
    }
}

.announcement {
    background: linear-gradient(90deg, var(--bg-2), #0f160a, var(--bg-2));
    border-bottom: 1px solid var(--border);
    padding: 0.65rem 0;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    text-align: center;
    letter-spacing: 0.04em;
}

.announcement span {
    color: var(--accent);
    margin: 0 0.35rem;
}

.nav-wrap {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(6, 6, 8, 0.85);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--border);
}

nav.aevon-topnav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 2rem;
}

.nav-logo {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.75rem;
    letter-spacing: -0.01em;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.nav-logo .logo-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    display: inline-block;
    margin-bottom: 2px;
    animation: aevon-pulse-dot 2.5s ease-in-out infinite;
}

@keyframes aevon-pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.7); }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-muted);
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius);
    transition: color var(--transition), background var(--transition);
    letter-spacing: 0.01em;
}

.nav-links a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
}

.nav-links a.is-active {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.aevon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.4rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    text-decoration: none;
}

.aevon-btn-ghost {
    color: var(--text-muted);
    border-color: var(--border);
    background: transparent;
}

.aevon-btn-ghost:hover {
    color: var(--text);
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.04);
}

.aevon-btn-accent {
    color: var(--bg);
    background: var(--accent);
    border-color: var(--accent);
    font-weight: 600;
}

.aevon-btn-accent:hover {
    background: #d8ff88;
    border-color: #d8ff88;
    box-shadow: 0 0 24px var(--accent-glow);
    color: var(--bg);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--text);
    transition: all var(--transition);
}

@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }
    .nav-toggle {
        display: flex;
    }
    .nav-cta .aevon-btn-ghost {
        display: none;
    }
}

.nav-drawer {
    display: none;
    flex-direction: column;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}

.nav-drawer.open {
    display: flex;
}

.nav-drawer a {
    padding: 0.85rem 2.5rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    transition: color var(--transition);
}

.nav-drawer a:last-child {
    border-bottom: none;
}

.nav-drawer a:hover {
    color: var(--text);
}

/* Footer — index.html */
body.aevon-page footer.aevon-site-footer {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
}

.footer-main {
    padding: 5rem 0 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text);
}

.footer-logo .logo-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.footer-tagline {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.65;
    max-width: 280px;
    font-weight: 300;
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: all var(--transition);
}

.social-link:hover {
    border-color: var(--border-hover);
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
}

.footer-col h4 {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 1.25rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color var(--transition);
    font-weight: 300;
}

.footer-links a:hover {
    color: var(--text);
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    font-size: 0.8rem;
    color: var(--text-dim);
    transition: color var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem 2rem;
    }
}

@media (max-width: 560px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

.research-main {
    position: relative;
    z-index: 1;
}
