@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&family=Source+Sans+Pro:wght@300;400;600;700&display=swap');

:root {
    --bg-primary: #f7f6f2;
    --accent-primary: #01696f;
    --accent-dark: #014a4f;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #767676;
    --card-bg: #ffffff;
    --border-subtle: #e8e6df;
    --shadow-subtle: 0 4px 12px rgba(1, 105, 111, 0.05);
    --shadow-elevated: 0 12px 28px rgba(1, 105, 111, 0.08);
    --shadow-hover: 0 20px 40px rgba(1, 105, 111, 0.12);
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

h2 {
    font-size: 2.5rem;
    border-bottom: 2px solid var(--accent-primary);
    padding-bottom: 0.5rem;
    display: inline-block;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

a:hover {
    color: var(--accent-dark);
    border-bottom-color: var(--accent-dark);
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.site-header {
    background-color: var(--card-bg);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-subtle);
    border-bottom: 1px solid var(--border-subtle);
    backdrop-filter: blur(10px);
    background-color: rgba(247, 246, 242, 0.92);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--accent-primary);
    letter-spacing: -0.03em;
}

.logo span {
    color: var(--text-primary);
    font-weight: 600;
}

.nav-primary ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-primary a {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
    border-bottom: none;
    padding: 0.5rem 0;
    position: relative;
}

.nav-primary a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-primary);
    transition: width 0.3s ease;
}

.nav-primary a:hover::after,
.nav-primary a.active::after {
    width: 100%;
}

.hero {
    padding: 5rem 0 3rem;
    position: relative;
}

.hero-headline {
    font-size: 4rem;
    max-width: 900px;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
}

.hero-subhead {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-muted);
    max-width: 700px;
    margin-bottom: 2.5rem;
}

.btn-primary {
    display: inline-block;
    background-color: var(--accent-primary);
    color: white;
    padding: 1rem 2.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 0;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    box-shadow: var(--shadow-subtle);
}

.btn-primary:hover {
    background-color: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    color: white;
    border-bottom: none;
}

.section-title {
    text-align: center;
    margin: 4rem 0 3rem;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2.5rem;
    margin-bottom: 5rem;
}

.article-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-subtle);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-primary);
}

.card-image {
    height: 220px;
    width: 100%;
    object-fit: cover;
    display: block;
}

.card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-category {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-primary);
    margin-bottom: 0.75rem;
    display: block;
}

.card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    flex-grow: 1;
}

.card-excerpt {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.card-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-subtle);
    padding-top: 1.5rem;
    margin-top: auto;
    display: flex;
    justify-content: space-between;
}

.featured-article {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 3rem;
}

.featured-article .card-image {
    height: 100%;
    min-height: 400px;
}

.featured-article .card-content {
    padding: 3rem;
    justify-content: center;
}

.featured-article .card-title {
    font-size: 2.5rem;
}

.site-footer {
    background-color: var(--card-bg);
    padding: 3rem 0;
    margin-top: 4rem;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
    display: block;
}

.footer-copyright {
    font-size: 0.95rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    h1 {
        font-size: 2.75rem;
    }
    h2 {
        font-size: 2rem;
    }
    .hero-headline {
        font-size: 2.75rem;
    }
    .hero-subhead {
        font-size: 1.25rem;
    }
    .header-inner {
        flex-direction: column;
        gap: 1.5rem;
    }
    .nav-primary ul {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .featured-article {
        grid-template-columns: 1fr;
    }
    .featured-article .card-image {
        min-height: 250px;
    }
    .featured-article .card-title {
        font-size: 2rem;
    }
    .card-content {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.25rem;
    }
    h2 {
        font-size: 1.75rem;
    }
    .hero {
        padding: 3rem 0 2rem;
    }
    .hero-headline {
        font-size: 2.25rem;
    }
    .btn-primary {
        padding: 0.875rem 2rem;
        width: 100%;
        text-align: center;
    }
}