/* Modern Design System - Based on index.html */
:root {
    --bg-color: #fafafa;
    --text-color: #1a1a1a;
    --text-muted: #666;
    --surface-color: #f0f0f0;
    --accent-color: #FF6B35;
    --border-color: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 250, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-decoration: none;
    color: var(--text-color);
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    transition: opacity 0.2s;
}

.nav-links a:hover {
    opacity: 0.6;
}

.logo {
    position: relative;
    z-index: 10001;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    position: relative;
    z-index: 10001;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-color);
    margin: 5px 0;
    transition: transform 0.3s, opacity 0.3s;
}

/* Mobile menu - fullscreen overlay approach */
.mobile-menu {
    display: none;
}

/* Typography */
h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 24px;
}

h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
}

p {
    color: var(--text-muted);
    max-width: 700px;
    margin-bottom: 16px;
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--text-color);
    color: white;
}

.btn-primary:hover {
    background: #333;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--text-color);
}

.btn-outline:hover {
    background: var(--text-color);
    color: white;
}

/* Sections */
section {
    padding: 100px 0;
}

section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 24px;
}

section h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
}

section p {
    color: var(--text-muted);
    max-width: 700px;
    margin-bottom: 16px;
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    text-align: center;
    margin-bottom: 64px;
}

/* Cards */
.card {
    background: var(--surface-color);
    padding: 24px;
    border: 1px solid transparent;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover {
    border-color: var(--text-color);
    transform: translateY(-4px);
}

.card-image-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    margin-bottom: 16px;
    background: var(--border-color);
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.4s ease, transform 0.4s ease;
}

.card:hover .card-image {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.card-meta {
    font-size: 0.875rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Subtle List (Publications) */
.subtle-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.subtle-item {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    transition: opacity 0.2s ease;
    display: block;
}

.subtle-item:last-child {
    border-bottom: none;
}

.subtle-item:hover {
    opacity: 0.7;
}

.subtle-title {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 4px;
    display: block;
}

.subtle-meta {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.6;
    display: block;
}

/* Bullet List (Media Mentions) */
.bullet-list {
    list-style-type: disc;
    padding-left: 20px;
    margin-top: 16px;
}

.bullet-list li {
    margin-bottom: 12px;
    color: var(--text-color);
    line-height: 1.5;
}

.bullet-list a {
    text-decoration: underline;
    text-underline-offset: 2px;
    color: var(--text-color);
    font-weight: 600;
}

.bullet-list a:hover {
    color: var(--accent-color);
}

/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    /* Hide the regular nav-links on mobile */
    .nav-links {
        display: none;
    }

    /* Mobile menu is a separate fullscreen element */
    .mobile-menu {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 10000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s, visibility 0.3s;
    }

    .mobile-menu.active {
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #fafafa;
    }

    .mobile-menu-links {
        position: relative;
        z-index: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
        gap: 40px;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mobile-menu-links a {
        font-size: 1.8rem;
        font-weight: 600;
        text-decoration: none;
        color: var(--text-color);
    }

    .mobile-menu-close {
        position: absolute;
        top: 20px;
        right: 24px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
        z-index: 10001;
        color: var(--text-color);
    }

    .mobile-menu-close:hover {
        opacity: 0.6;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    section {
        padding: 60px 0;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}