:root {
    --primary: #1a1a1a;
    --secondary: #4a4a4a;
    --accent: #0066cc;
    --background: #fafafa;
    --card-bg: #ffffff;
    --border: #e0e0e0;
}

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

body {
    font-family: 'Crimson Pro', serif;
    background: var(--background);
    color: var(--primary);
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    border-bottom: 1px solid var(--border);
    background: var(--card-bg);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
}

.logo-text h1 {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--primary);
}

.logo-text a {
    text-decoration: none;
    color: var(--primary);
}

.logo-image {
    height: 50px;
    width: auto;
}

/* Hero Section */
.hero {
    padding: 1.5rem 0 2rem;
    border-bottom: 1px solid var(--border);
}

.hero-content {
    max-width: 900px;
}

.hero-tagline {
    font-size: 0.95rem;
    color: var(--secondary);
    line-height: 1.6;
}

.hero-tagline a {
    color: var(--accent);
    text-decoration: none;
}

.hero-tagline a:hover {
    text-decoration: underline;
}

/* Article Grid */
.articles-section {
    padding: 3rem 0 6rem;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Article content bullet points and lists */
article ul, article ol {
    margin: 1.2rem 0 1.8rem 1.8rem;
    line-height: 2;
}

article li {
    margin-bottom: 1rem;
    color: #2a2a2a;
    font-size: 1.15rem;
}

article p {
    margin-bottom: 1.3rem;
    color: #2a2a2a;
}

article strong {
    font-weight: 600;
    color: #1a1a1a;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.article-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    animation: fadeIn 0.6s ease backwards;
    text-decoration: none;
    color: var(--primary);
    display: block;
}

.article-card:nth-child(1) { animation-delay: 0.1s; }
.article-card:nth-child(2) { animation-delay: 0.2s; }
.article-card:nth-child(3) { animation-delay: 0.3s; }
.article-card:nth-child(4) { animation-delay: 0.4s; }
.article-card:nth-child(5) { animation-delay: 0.5s; }
.article-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article-card:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.article-viz {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
    background: var(--background);
}

.article-viz img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
    padding: 1.5rem;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    color: var(--secondary);
}

.article-category {
    background: var(--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.article-title {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.article-summary {
    font-size: 0.95rem;
    color: var(--secondary);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.article-commentary {
    font-size: 0.9rem;
    color: var(--primary);
    font-style: italic;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 3rem 0;
    background: var(--card-bg);
    text-align: center;
}

.footer-content {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    color: var(--secondary);
}

/* Responsive */
@media (max-width: 1024px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }

    .header-content {
        padding: 1.5rem 0;
    }
    
    .logo-text h1 {
        font-size: 1.5rem;
    }
    
    .logo-image {
        height: 40px;
    }

    .hero-tagline {
        font-size: 1rem;
    }
}
