/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-ink: #0a0a0a;
    --color-slate: #2d3142;
    --color-stone: #4a4e69;
    --color-sand: #c9ada7;
    --color-cream: #f8f4f1;
    --color-pearl: #fafaf9;
    --color-bronze: #8b7355;
    --color-gold: #a89074;
}

body {
    font-family: 'Crimson Pro', 'Georgia', serif;
    line-height: 1.75;
    color: var(--color-slate);
    background-color: var(--color-pearl);
    font-size: 18px;
    font-weight: 400;
}

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

/* Header */
header {
    background-color: var(--color-pearl);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 40px 0;
    position: relative;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.logo h1 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 38px;
    font-weight: 600;
    color: var(--color-ink);
    margin-bottom: 6px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.tagline {
    font-family: 'Crimson Pro', serif;
    font-size: 14px;
    color: var(--color-stone);
    font-weight: 400;
    letter-spacing: 0.02em;
    font-style: italic;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 48px;
    align-items: baseline;
}

nav a {
    text-decoration: none;
    color: var(--color-slate);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.01em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-bronze);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

nav a:hover {
    color: var(--color-bronze);
}

nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(to bottom, var(--color-cream) 0%, var(--color-pearl) 100%);
    color: var(--color-ink);
    padding: 140px 0 160px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.04), transparent);
}

.hero .container {
    position: relative;
    max-width: 1100px;
}

.hero h2 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 76px;
    font-weight: 500;
    margin-bottom: 32px;
    letter-spacing: -0.03em;
    line-height: 1.1;
    max-width: 900px;
    text-align: left;
}

.hero p {
    font-size: 22px;
    line-height: 1.6;
    color: var(--color-stone);
    max-width: 680px;
    text-align: left;
    font-weight: 400;
    margin-left: 120px;
}

/* Featured Section */
.featured {
    padding: 120px 0;
    background-color: var(--color-pearl);
    position: relative;
}

.featured h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 52px;
    font-weight: 500;
    margin-bottom: 80px;
    letter-spacing: -0.02em;
    color: var(--color-ink);
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background-color: rgba(0, 0, 0, 0.06);
}

.article-card {
    background: var(--color-cream);
    padding: 56px 48px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 115, 85, 0.03), transparent);
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.article-card:hover {
    background: var(--color-pearl);
    transform: scale(1.02);
    z-index: 1;
}

.article-card:hover::before {
    opacity: 1;
}

.article-category {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-bronze);
    font-weight: 500;
    margin-bottom: 20px;
    font-family: 'Crimson Pro', serif;
}

.article-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.article-card h3 a {
    text-decoration: none;
    color: var(--color-ink);
    transition: color 0.3s ease;
}

.article-card h3 a:hover {
    color: var(--color-bronze);
}

.article-card p {
    font-size: 17px;
    color: var(--color-stone);
    line-height: 1.7;
    margin-bottom: 24px;
}

.article-meta {
    font-size: 14px;
    color: var(--color-sand);
    font-style: italic;
}

/* Articles Section */
.articles-section {
    padding: 120px 0;
    background-color: var(--color-cream);
}

.articles-section > .container > h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 52px;
    font-weight: 500;
    margin-bottom: 100px;
    letter-spacing: -0.02em;
    color: var(--color-ink);
}

.category-section {
    margin-bottom: 100px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 80px;
    align-items: start;
}

.category-section h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 500;
    color: var(--color-slate);
    letter-spacing: -0.01em;
    position: sticky;
    top: 40px;
}

.article-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.article-item {
    padding: 32px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

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

.article-item:hover {
    padding-left: 24px;
    background: rgba(255, 255, 255, 0.4);
}

.article-item h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 12px;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.article-item h4 a {
    text-decoration: none;
    color: var(--color-ink);
    transition: color 0.3s ease;
}

.article-item h4 a:hover {
    color: var(--color-bronze);
}

.article-item p {
    font-size: 16px;
    color: var(--color-stone);
    line-height: 1.6;
}

/* Profiles Section */
.profiles-section {
    padding: 120px 0;
    background-color: var(--color-pearl);
}

.profiles-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 52px;
    font-weight: 500;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    color: var(--color-ink);
}

.section-intro {
    font-size: 20px;
    color: var(--color-stone);
    margin-bottom: 80px;
    font-style: italic;
}

.profiles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background-color: rgba(0, 0, 0, 0.06);
}

.profile-card {
    background: white;
    padding: 40px 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.profile-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 32px;
    right: 32px;
    height: 2px;
    background: var(--color-bronze);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-card:hover {
    background: var(--color-cream);
    transform: translateY(-4px);
}

.profile-card:hover::after {
    transform: scaleX(1);
}

.profile-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 12px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.profile-card h3 a {
    text-decoration: none;
    color: var(--color-ink);
    transition: color 0.3s ease;
}

.profile-card h3 a:hover {
    color: var(--color-bronze);
}

.profile-card .location {
    font-size: 13px;
    color: var(--color-sand);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.profile-card p {
    font-size: 16px;
    color: var(--color-stone);
    line-height: 1.6;
}

/* About Section */
.about-section {
    padding: 140px 0;
    background-color: var(--color-cream);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0,0,0,0.1), transparent);
}

.about-section .container {
    max-width: 900px;
}

.about-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
    font-weight: 500;
    margin-bottom: 48px;
    letter-spacing: -0.02em;
    color: var(--color-ink);
}

.about-section p {
    font-size: 20px;
    color: var(--color-slate);
    line-height: 1.8;
    margin-bottom: 28px;
}

.about-section p:first-of-type {
    font-size: 24px;
    color: var(--color-ink);
}

/* Footer */
footer {
    background-color: var(--color-ink);
    color: var(--color-sand);
    padding: 60px 0;
    text-align: center;
}

footer p {
    font-size: 14px;
    letter-spacing: 0.05em;
    font-weight: 400;
}

/* Article Pages */
.article-header {
    padding: 100px 0 60px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background-color: var(--color-cream);
}

.article-header .category {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-bronze);
    font-weight: 500;
    margin-bottom: 28px;
}

.article-header h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 64px;
    font-weight: 500;
    line-height: 1.15;
    margin-bottom: 32px;
    max-width: 1000px;
    letter-spacing: -0.02em;
    color: var(--color-ink);
}

.article-header .meta {
    font-size: 15px;
    color: var(--color-sand);
    font-style: italic;
}

.article-content {
    padding: 80px 0 120px;
    max-width: 780px;
    margin: 0 auto;
}

.article-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 38px;
    font-weight: 500;
    margin: 64px 0 28px 0;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--color-ink);
}

.article-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 500;
    margin: 48px 0 20px 0;
    line-height: 1.4;
    letter-spacing: -0.01em;
    color: var(--color-slate);
}

.article-content p {
    font-size: 19px;
    line-height: 1.8;
    color: var(--color-slate);
    margin-bottom: 28px;
}

.article-content ul, .article-content ol {
    margin: 32px 0;
    padding-left: 40px;
}

.article-content li {
    font-size: 19px;
    line-height: 1.8;
    margin-bottom: 16px;
    color: var(--color-slate);
}

.article-content strong {
    font-weight: 600;
    color: var(--color-ink);
}

/* Profile Pages */
.profile-header {
    padding: 100px 0 60px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background-color: var(--color-cream);
}

.profile-header h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 56px;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    color: var(--color-ink);
}

.profile-header .location {
    font-size: 14px;
    color: var(--color-sand);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 500;
}

.profile-header .tagline {
    font-size: 22px;
    color: var(--color-slate);
    line-height: 1.6;
    max-width: 800px;
}

.profile-content {
    padding: 80px 0 120px;
    max-width: 900px;
    margin: 0 auto;
}

.profile-section {
    margin-bottom: 64px;
}

.profile-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 28px;
    letter-spacing: -0.01em;
    color: var(--color-ink);
}

.profile-section p {
    font-size: 19px;
    line-height: 1.8;
    color: var(--color-slate);
    margin-bottom: 24px;
}

.profile-section ul {
    margin: 28px 0;
    padding-left: 40px;
}

.profile-section li {
    font-size: 19px;
    line-height: 1.8;
    margin-bottom: 16px;
    color: var(--color-slate);
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }

    .category-section {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .category-section h3 {
        position: static;
    }

    .profiles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }

    header {
        padding: 24px 0;
    }

    header .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .logo h1 {
        font-size: 28px;
    }

    nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 24px;
    }

    .hero {
        padding: 80px 0 100px;
    }

    .hero h2 {
        font-size: 42px;
    }

    .hero p {
        font-size: 18px;
        margin-left: 0;
        max-width: 100%;
    }

    .featured {
        padding: 80px 0;
    }

    .featured h2 {
        font-size: 36px;
        margin-bottom: 48px;
    }

    .article-card {
        padding: 36px 28px;
    }

    .articles-section {
        padding: 80px 0;
    }

    .articles-section > .container > h2 {
        font-size: 36px;
        margin-bottom: 60px;
    }

    .profiles-section {
        padding: 80px 0;
    }

    .profiles-section h2 {
        font-size: 36px;
    }

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

    .about-section {
        padding: 80px 0;
    }

    .about-section h2 {
        font-size: 36px;
    }

    .about-section p {
        font-size: 18px;
    }

    .about-section p:first-of-type {
        font-size: 20px;
    }

    .article-header {
        padding: 60px 0 40px 0;
    }

    .article-header h1 {
        font-size: 40px;
    }

    .article-content {
        padding: 60px 0 80px;
    }

    .profile-header {
        padding: 60px 0 40px 0;
    }

    .profile-header h1 {
        font-size: 36px;
    }

    .profile-content {
        padding: 60px 0 80px;
    }
}
