:root {
    --color-primary: #1a1a1a;
    --color-secondary: #2c2c2c;
    --color-accent: #c17d11;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-bg: #fafaf8;
    --color-bg-alt: #f5f5f3;
    --color-border: #e0e0dc;
    --font-display: 'Crimson Pro', Georgia, serif;
    --font-body: 'Work Sans', -apple-system, sans-serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.08);
}

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

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Header */
.site-header {
    background: var(--color-primary);
    color: white;
    padding: 3rem 0 2rem;
    margin-bottom: 4rem;
    position: relative;
}

.site-header::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    right: 0;
    height: 1rem;
    background: linear-gradient(180deg, rgba(26,26,26,0.05) 0%, transparent 100%);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.brand {
    flex: 1;
}

.site-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    letter-spacing: -0.02em;
}

.site-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.tagline {
    font-size: 0.875rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.main-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    position: relative;
    padding-bottom: 0.25rem;
}

.nav-link:hover,
.nav-link.active {
    opacity: 1;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-accent);
}

.social-links {
    display: flex;
    gap: 1.25rem;
}

.social-links a {
    color: white;
    opacity: 0.7;
    transition: all 0.2s ease;
}

.social-links a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* Intro Section */
.intro-section {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.intro-heading {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.intro-text {
    font-size: 1.125rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* Posts Grid */
.posts-grid {
    display: grid;
    gap: 3rem;
    margin-bottom: 5rem;
}

.post-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--color-border);
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.post-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.post-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: var(--color-bg-alt);
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-content {
    padding: 2rem;
}

.post-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.post-excerpt {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: var(--color-text-light);
    flex-wrap: wrap;
}

.post-author {
    font-weight: 500;
    color: var(--color-accent);
}

/* Newsletter Section */
.newsletter-section {
    margin-bottom: 5rem;
}

.newsletter-card {
    background: var(--color-primary);
    color: white;
    padding: 3rem 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.newsletter-heading {
    font-family: var(--font-display);
    font-size: 1.875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.newsletter-text {
    font-size: 1.05rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.newsletter-input {
    flex: 1;
    min-width: 250px;
    padding: 0.875rem 1.25rem;
    border: 2px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    color: white;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.newsletter-input::placeholder {
    color: rgba(255,255,255,0.6);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(255,255,255,0.15);
}

.newsletter-button {
    padding: 0.875rem 2rem;
    background: var(--color-accent);
    color: white;
    border: none;
    border-radius: 6px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.newsletter-button:hover {
    background: #d4881a;
    transform: translateY(-2px);
}

/* Footer */
.site-footer {
    background: var(--color-secondary);
    color: rgba(255,255,255,0.7);
    padding: 2rem 0;
    text-align: center;
    font-size: 0.875rem;
    margin-top: 4rem;
}

/* About Page Specific */
.about-hero {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: start;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.about-content h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.about-text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

/* Post Page Specific */
.post-header {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.post-header h1 {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.post-header .post-meta {
    justify-content: center;
    margin-bottom: 2rem;
}

.post-featured-image {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 3rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.post-body {
    max-width: 740px;
    margin: 0 auto;
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--color-text);
}

.post-body h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 2.5rem 0 1.25rem;
    letter-spacing: -0.01em;
}

.post-body h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 2rem 0 1rem;
}

.post-body h5 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 1.75rem 0 0.875rem;
}

.post-body p {
    margin-bottom: 1.5rem;
}

.post-body img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
}

.post-body ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.post-body li {
    margin-bottom: 0.75rem;
}

.post-body strong {
    font-weight: 600;
    color: var(--color-primary);
}

.post-body hr {
    border: none;
    border-top: 2px solid var(--color-border);
    margin: 3rem 0;
}

/* Comments Section */
.comments-section {
    max-width: 740px;
    margin: 4rem auto 0;
    padding-top: 3rem;
    border-top: 2px solid var(--color-border);
}

.comments-section h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.comment {
    background: var(--color-bg-alt);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.comment-author {
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.comment-date {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-bottom: 0.75rem;
}

.comment-text {
    line-height: 1.7;
}

/* Related Posts */
.related-posts {
    max-width: 1000px;
    margin: 5rem auto 0;
    padding-top: 3rem;
    border-top: 2px solid var(--color-border);
}

.related-posts h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.related-post-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.related-post-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-content {
    padding: 1.25rem;
}

.related-post-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .header-content {
        flex-direction: column;
    }

    .site-title {
        font-size: 2rem;
    }

    .intro-heading {
        font-size: 1.75rem;
    }

    .post-title {
        font-size: 1.5rem;
    }

    .post-image {
        height: 220px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-input {
        min-width: 100%;
    }

    .about-hero {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-content h2 {
        font-size: 2rem;
    }

    .post-header h1 {
        font-size: 2rem;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}
