@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f4f5f7;
    --bg-dark: #121826;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-light: #f9fafb;
    --accent: #9b2226; /* Deep crimson */
    --accent-hover: #7a1b1e;
    --primary-blue: #1e3a8a; /* Deep navy */
    --border: #e5e7eb;
    --border-dark: #374151;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 600;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition);
}
a:hover {
    color: var(--accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
@media (min-width: 768px) {
    .container { padding: 0 3rem; }
}

/* Header */
.site-header {
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}
.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.logo span {
    color: var(--accent);
}
.nav-links {
    display: none;
}
@media (min-width: 1024px) {
    .nav-links {
        display: flex;
        gap: 2.5rem;
        list-style: none;
    }
    .nav-links a {
        color: var(--text-secondary);
        font-family: var(--font-body);
        font-size: 0.9rem;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }
    .nav-links a:hover {
        color: var(--accent);
    }
}
.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}
@media (min-width: 1024px) {
    .mobile-menu-btn { display: none; }
}

/* Mobile Menu */
.mobile-nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
.mobile-nav.active { display: block; }
.mobile-nav ul { list-style: none; }
.mobile-nav li { margin-bottom: 1rem; }
.mobile-nav a {
    display: block;
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* Sections */
section {
    padding: 4rem 0;
}
@media (min-width: 768px) {
    section { padding: 8rem 0; }
}
section.bg-secondary { background-color: var(--bg-secondary); }
section.bg-dark { background-color: var(--bg-dark); color: var(--text-light); }
section.bg-dark h1, section.bg-dark h2, section.bg-dark h3 { color: var(--text-light); }
section.bg-dark a:not(.btn) { color: #9ca3af; }

.section-header {
    margin-bottom: 3rem;
    max-width: 800px;
}
.section-header .kicker {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    display: block;
}
.section-header h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) {
    .section-header h2 { font-size: 3.5rem; }
}
.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* Hero */
.hero {
    padding: 5rem 0 3rem;
    min-height: 80vh;
    display: flex;
    align-items: center;
}
@media (min-width: 768px) {
    .hero { padding: 8rem 0 4rem; }
}
.hero-content {
    max-width: 800px;
}
.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
    .hero h1 { font-size: 4.5rem; }
}
.hero p.lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 650px;
}

/* Buttons */
.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}
.btn-primary {
    background-color: var(--primary-blue);
    color: #fff;
}
.btn-primary:hover {
    background-color: var(--text-primary);
    color: #fff;
}
.btn-outline {
    background-color: transparent;
    border-color: var(--text-primary);
    color: var(--text-primary);
}
.btn-outline:hover {
    background-color: var(--text-primary);
    color: #fff;
}

/* Custom Grids */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 3rem; }
    .grid-4 { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
}

/* Insight Cards */
.insight-card {
    border: 1px solid var(--border);
    background: var(--bg-primary);
    padding: 2.5rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.insight-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.05);
    border-color: var(--primary-blue);
    transform: translateY(-5px);
}
.insight-card .kicker {
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}
.insight-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.insight-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    flex-grow: 1;
}
.insight-card .read-more {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Data Callouts */
.data-callout {
    border-left: 4px solid var(--accent);
    padding-left: 2rem;
    margin: 3rem 0;
}
.data-callout .number {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 0.5rem;
}
.data-callout .label {
    font-size: 1.125rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* Footer */
.site-footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 5rem 0 2rem;
}
.site-footer h4 {
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}
.site-footer ul {
    list-style: none;
}
.site-footer li {
    margin-bottom: 0.75rem;
}
.site-footer a {
    color: #9ca3af;
}
.site-footer a:hover {
    color: #fff;
}
.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-dark);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.875rem;
    color: #9ca3af;
}
@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Article Layout Specifics */
.article-sidebar {
    grid-column: span 1;
}
.article-main {
    grid-column: span 1;
}
@media (min-width: 1024px) {
    .article-sidebar {
        grid-column: span 1;
        position: sticky;
        top: 100px;
        align-self: start;
    }
    .article-main {
        grid-column: span 2;
    }
}

.mobile-nav a { padding: 1rem 0; border-bottom: 1px solid var(--border); }
.mobile-nav li:last-child a { border-bottom: none; }


/* Generalist Utility Classes */
.card { background: var(--bg-primary); border: 1px solid var(--border); box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); }
.p-xl { padding: 3rem; }
@media (max-width: 768px) { .p-xl { padding: 1.5rem; } }
.text-xl { font-size: 2rem; }
.mb-md { margin-bottom: 1.5rem; }
.mb-sm { margin-bottom: 0.5rem; }
.block { display: block; }
.w-full { width: 100%; }
.form-input { padding: 0.75rem 1rem; border: 1px solid var(--border); background: var(--bg-primary); color: var(--text-primary); font-family: var(--font-body); }
.form-input:focus { outline: none; border-color: var(--primary-blue); }


.p-md { padding: 1.5rem; }
.bg-surface { background: var(--bg-secondary); }

