
        /* ========================================
           DESIGN SYSTEM - CSS Custom Properties
           ======================================== */
        :root {
            --color-primary: #42766b;
            --color-primary-dark: #345e56;
            --color-primary-darker: #2a4d47;
            --color-primary-light: #5a9488;
            --color-primary-lightest: #e8f0ee;
            --color-primary-ghost: #f4f8f7;

            --color-accent: #c9a96e;
            --color-accent-light: #dfc9a0;
            --color-accent-dark: #b08e4a;

            --color-bg: #faf9f7;
            --color-bg-alt: #f3f1ed;
            --color-bg-dark: #2c3e3a;
            --color-bg-darker: #1e2d2a;

            --color-text: #2c3e3a;
            --color-text-light: #5a6b66;
            --color-text-lighter: #7d8b87;
            --color-text-inverse: #faf9f7;

            --color-border: #ddd8d0;
            --color-border-light: #eae6e0;

            --color-white: #ffffff;
            --color-black: #1a1a1a;

            --font-serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;
            --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

            --text-xs: 0.75rem;
            --text-sm: 0.875rem;
            --text-base: 1rem;
            --text-lg: 1.125rem;
            --text-xl: 1.25rem;
            --text-2xl: 1.5rem;
            --text-3xl: 1.875rem;
            --text-4xl: 2.25rem;
            --text-5xl: 3rem;

            --space-1: 0.25rem;
            --space-2: 0.5rem;
            --space-3: 0.75rem;
            --space-4: 1rem;
            --space-5: 1.25rem;
            --space-6: 1.5rem;
            --space-8: 2rem;
            --space-10: 2.5rem;
            --space-12: 3rem;
            --space-16: 4rem;
            --space-20: 5rem;
            --space-24: 6rem;

            --max-width: 1200px;
            --max-width-narrow: 800px;
            --nav-height: 72px;

            --radius-sm: 4px;
            --radius-md: 8px;
            --radius-lg: 12px;
            --radius-xl: 20px;
            --radius-full: 9999px;

            --shadow-sm: 0 1px 3px rgba(44, 62, 58, 0.06);
            --shadow-md: 0 4px 12px rgba(44, 62, 58, 0.08);
            --shadow-lg: 0 8px 30px rgba(44, 62, 58, 0.1);
            --shadow-xl: 0 16px 50px rgba(44, 62, 58, 0.12);

            --transition-fast: 150ms ease;
            --transition-base: 250ms ease;
            --transition-slow: 400ms ease;
        }

        /* ========================================
           RESET & BASE
           ======================================== */
        *, *::before, *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            -webkit-text-size-adjust: 100%;
            scroll-padding-top: var(--nav-height);
        }

        body {
            font-family: var(--font-sans);
            font-size: var(--text-base);
            line-height: 1.7;
            color: var(--color-text);
            background-color: var(--color-bg);
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            overflow-x: hidden;
        }

        h1, h2, h3, h4, h5, h6 {
            font-family: var(--font-serif);
            line-height: 1.2;
            letter-spacing: -0.01em;
            color: var(--color-text);
        }

        h1 { font-size: var(--text-5xl); }
        h2 { font-size: var(--text-4xl); }
        h3 { font-size: var(--text-2xl); }
        h4 { font-size: var(--text-xl); }

        p { margin-bottom: var(--space-4); }
        p:last-child { margin-bottom: 0; }

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

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

        ul, ol { list-style: none; }

        /* ========================================
           UTILITY CLASSES
           ======================================== */
        .container {
            width: 100%;
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 var(--space-6);
        }

        .container--narrow {
            max-width: var(--max-width-narrow);
        }

        /* ========================================
           BUTTONS
           ======================================== */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: var(--space-2);
            font-family: var(--font-sans);
            font-size: var(--text-sm);
            font-weight: 600;
            padding: var(--space-3) var(--space-8);
            border-radius: var(--radius-full);
            border: 2px solid transparent;
            cursor: pointer;
            transition: all var(--transition-base);
            text-decoration: none;
            line-height: 1.5;
            white-space: nowrap;
        }

        .btn--primary {
            background-color: var(--color-primary);
            color: var(--color-white);
            border-color: var(--color-primary);
        }
        .btn--primary:hover {
            background-color: var(--color-primary-dark);
            border-color: var(--color-primary-dark);
            color: var(--color-white);
            transform: translateY(-1px);
            box-shadow: var(--shadow-md);
        }

        .btn--outline {
            background-color: transparent;
            color: var(--color-primary);
            border-color: var(--color-primary);
        }
        .btn--outline:hover {
            background-color: var(--color-primary);
            color: var(--color-white);
            transform: translateY(-1px);
        }

        /* ========================================
           ANIMATIONS
           ======================================== */
        .fade-in {
            opacity: 0;
            transform: translateY(24px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .stagger-1 { transition-delay: 0.1s; }
        .stagger-2 { transition-delay: 0.2s; }
        .stagger-3 { transition-delay: 0.3s; }

        /* ========================================
           NAVIGATION
           ======================================== */
        .nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background-color: rgba(250, 249, 247, 0.92);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid transparent;
            transition: all var(--transition-base);
            height: var(--nav-height);
        }

        .nav.scrolled {
            border-bottom-color: var(--color-border-light);
            box-shadow: var(--shadow-sm);
        }

        .nav__inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 100%;
        }

        .nav__brand {
            font-family: var(--font-serif);
            font-size: var(--text-xl);
            color: var(--color-primary-dark);
            text-decoration: none;
            letter-spacing: -0.02em;
            display: flex;
            align-items: center;
            gap: var(--space-2);
        }

        .nav__brand-icon {
            width: 32px;
            height: 32px;
            background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
            border-radius: var(--radius-md);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: var(--text-sm);
            font-weight: 700;
            font-family: var(--font-serif);
        }

        .nav__links {
            display: flex;
            align-items: center;
            gap: var(--space-8);
        }

        .nav__link {
            font-size: var(--text-sm);
            font-weight: 500;
            color: var(--color-text-light);
            text-decoration: none;
            transition: color var(--transition-fast);
            position: relative;
        }

        .nav__link::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--color-primary);
            transition: width var(--transition-base);
        }

        .nav__link:hover { color: var(--color-primary); }
        .nav__link:hover::after { width: 100%; }

        .nav__link--active {
            color: var(--color-primary);
            font-weight: 600;
        }
        .nav__link--active::after {
            width: 100%;
        }

        .nav__cta {
            margin-left: var(--space-4);
        }

        .nav__toggle {
            display: none;
            flex-direction: column;
            gap: 5px;
            background: none;
            border: none;
            cursor: pointer;
            padding: var(--space-2);
            z-index: 1001;
        }

        .nav__toggle span {
            display: block;
            width: 24px;
            height: 2px;
            background-color: var(--color-text);
            transition: all var(--transition-base);
            border-radius: 2px;
        }

        .nav__toggle.active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }
        .nav__toggle.active span:nth-child(2) {
            opacity: 0;
        }
        .nav__toggle.active span:nth-child(3) {
            transform: rotate(-45deg) translate(5px, -5px);
        }

        /* ========================================
           BLOG HERO
           ======================================== */
        .blog-hero {
            padding-top: calc(var(--nav-height) + var(--space-20));
            padding-bottom: var(--space-16);
            background: linear-gradient(160deg, var(--color-bg) 0%, var(--color-primary-ghost) 40%, var(--color-primary-lightest) 100%);
            position: relative;
            overflow: hidden;
        }

        .blog-hero__shapes {
            position: absolute;
            inset: 0;
            overflow: hidden;
            pointer-events: none;
        }

        .blog-hero__shape {
            position: absolute;
            border-radius: 50%;
            opacity: 0.05;
        }

        .blog-hero__shape--1 {
            width: 500px;
            height: 500px;
            background: var(--color-primary);
            top: -200px;
            right: -150px;
        }

        .blog-hero__shape--2 {
            width: 300px;
            height: 300px;
            background: var(--color-accent);
            bottom: -80px;
            left: -80px;
        }

        .blog-hero__content {
            position: relative;
            z-index: 1;
            text-align: center;
            max-width: 700px;
            margin: 0 auto;
        }

        .blog-hero__label {
            font-family: var(--font-sans);
            font-size: var(--text-sm);
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.12em;
            color: var(--color-primary);
            margin-bottom: var(--space-4);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: var(--space-3);
        }

        .blog-hero__label::before {
            content: '';
            display: block;
            width: 32px;
            height: 2px;
            background-color: var(--color-primary);
        }

        .blog-hero__label::after {
            content: '';
            display: block;
            width: 32px;
            height: 2px;
            background-color: var(--color-primary);
        }

        .blog-hero__title {
            font-size: clamp(2.25rem, 5vw, 3.5rem);
            line-height: 1.1;
            margin-bottom: var(--space-6);
            color: var(--color-bg-darker);
        }

        .blog-hero__subtitle {
            font-size: var(--text-lg);
            color: var(--color-text-light);
            line-height: 1.8;
        }

        .divider {
            width: 60px;
            height: 3px;
            background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
            border-radius: var(--radius-full);
            margin: var(--space-6) auto;
        }

        /* ========================================
           BLOG LISTING
           ======================================== */
        .blog-listing {
            padding: var(--space-24) 0;
        }

        .blog-posts {
            display: flex;
            flex-direction: column;
            gap: var(--space-16);
        }

        /* ========================================
           BLOG POST CARD (Full Article)
           ======================================== */
        .post {
            background: var(--color-white);
            border-radius: var(--radius-xl);
            border: 1px solid var(--color-border-light);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: box-shadow var(--transition-base);
        }

        .post:hover {
            box-shadow: var(--shadow-md);
        }

        .post__header {
            background: linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-primary-darker) 100%);
            padding: var(--space-10) var(--space-10) var(--space-8);
            position: relative;
            overflow: hidden;
        }

        .post__header-shape {
            position: absolute;
            border-radius: 50%;
            opacity: 0.06;
            background: var(--color-white);
        }

        .post__header-shape--1 {
            width: 300px;
            height: 300px;
            top: -150px;
            right: -50px;
        }

        .post__header-shape--2 {
            width: 150px;
            height: 150px;
            bottom: -60px;
            left: 20%;
        }

        .post__meta {
            display: flex;
            align-items: center;
            gap: var(--space-4);
            margin-bottom: var(--space-4);
            position: relative;
            z-index: 1;
        }

        .post__category {
            font-family: var(--font-sans);
            font-size: var(--text-xs);
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--color-accent);
            background: rgba(201, 169, 110, 0.15);
            padding: var(--space-1) var(--space-3);
            border-radius: var(--radius-full);
        }

        .post__date {
            font-size: var(--text-sm);
            color: rgba(250, 249, 247, 0.5);
        }

        .post__read-time {
            font-size: var(--text-sm);
            color: rgba(250, 249, 247, 0.5);
        }

        .post__title {
            font-size: clamp(1.5rem, 3vw, 2.25rem);
            color: var(--color-text-inverse);
            line-height: 1.2;
            position: relative;
            z-index: 1;
        }

        .post__body {
            padding: var(--space-10);
        }

        .post__content {
            max-width: 760px;
        }

        .post__content p {
            font-size: var(--text-base);
            line-height: 1.85;
            color: var(--color-text);
            margin-bottom: var(--space-6);
        }

        .post__content h3 {
            font-size: var(--text-xl);
            margin-top: var(--space-10);
            margin-bottom: var(--space-4);
            color: var(--color-primary-dark);
        }

        .post__content blockquote {
            font-family: var(--font-serif);
            font-size: var(--text-xl);
            font-style: italic;
            color: var(--color-primary-dark);
            line-height: 1.5;
            padding: var(--space-6) var(--space-8);
            border-left: 3px solid var(--color-accent);
            background: var(--color-primary-ghost);
            border-radius: 0 var(--radius-md) var(--radius-md) 0;
            margin: var(--space-8) 0;
        }

        .post__content ul {
            margin: var(--space-4) 0 var(--space-6);
            padding-left: var(--space-6);
        }

        .post__content ul li {
            position: relative;
            padding-left: var(--space-6);
            margin-bottom: var(--space-3);
            line-height: 1.7;
            color: var(--color-text);
        }

        .post__content ul li::before {
            content: '';
            position: absolute;
            left: 0;
            top: 10px;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--color-primary-light);
        }

        .post__footer {
            padding: 0 var(--space-10) var(--space-10);
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .post__author {
            display: flex;
            align-items: center;
            gap: var(--space-3);
        }

        .post__author-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--color-white);
            font-family: var(--font-serif);
            font-size: var(--text-sm);
            font-weight: 700;
        }

        .post__author-name {
            font-weight: 600;
            font-size: var(--text-sm);
            color: var(--color-text);
        }

        .post__author-title {
            font-size: var(--text-xs);
            color: var(--color-text-lighter);
        }

        .post__tags {
            display: flex;
            gap: var(--space-2);
            flex-wrap: wrap;
        }

        .post__tag {
            font-size: var(--text-xs);
            font-weight: 500;
            color: var(--color-primary);
            background: var(--color-primary-lightest);
            padding: var(--space-1) var(--space-3);
            border-radius: var(--radius-full);
        }

        /* ========================================
           CTA SECTION
           ======================================== */
        .blog-cta {
            background: linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-primary-darker) 100%);
            padding: var(--space-20) 0;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .blog-cta__shape {
            position: absolute;
            border-radius: 50%;
            opacity: 0.05;
            background: var(--color-white);
        }

        .blog-cta__shape--1 {
            width: 400px;
            height: 400px;
            top: -200px;
            left: -100px;
        }

        .blog-cta__shape--2 {
            width: 250px;
            height: 250px;
            bottom: -100px;
            right: -50px;
        }

        .blog-cta__content {
            position: relative;
            z-index: 1;
            max-width: 600px;
            margin: 0 auto;
        }

        .blog-cta__title {
            color: var(--color-text-inverse);
            margin-bottom: var(--space-4);
        }

        .blog-cta__text {
            color: rgba(250, 249, 247, 0.75);
            font-size: var(--text-lg);
            margin-bottom: var(--space-8);
        }

        .blog-cta__buttons {
            display: flex;
            gap: var(--space-4);
            justify-content: center;
            flex-wrap: wrap;
        }

        .btn--outline-light {
            background-color: transparent;
            color: var(--color-white);
            border-color: rgba(255,255,255,0.4);
        }
        .btn--outline-light:hover {
            background-color: var(--color-white);
            color: var(--color-primary-dark);
            border-color: var(--color-white);
        }

        .btn--accent {
            background-color: var(--color-accent);
            color: var(--color-bg-darker);
            border-color: var(--color-accent);
        }
        .btn--accent:hover {
            background-color: var(--color-accent-dark);
            border-color: var(--color-accent-dark);
            transform: translateY(-1px);
            box-shadow: var(--shadow-md);
        }

        /* ========================================
           FOOTER
           ======================================== */
        .footer {
            background-color: var(--color-bg-darker);
            color: rgba(250, 249, 247, 0.6);
            padding: var(--space-16) 0 var(--space-8);
        }

        .footer__grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: var(--space-12);
            margin-bottom: var(--space-12);
        }

        .footer__brand {
            font-family: var(--font-serif);
            font-size: var(--text-xl);
            color: var(--color-text-inverse);
            margin-bottom: var(--space-4);
        }

        .footer__description {
            font-size: var(--text-sm);
            line-height: 1.7;
            max-width: 300px;
        }

        .footer__col-title {
            font-family: var(--font-sans);
            font-size: var(--text-sm);
            font-weight: 600;
            color: var(--color-text-inverse);
            text-transform: uppercase;
            letter-spacing: 0.08em;
            margin-bottom: var(--space-4);
        }

        .footer__links {
            display: flex;
            flex-direction: column;
            gap: var(--space-3);
        }

        .footer__link {
            font-size: var(--text-sm);
            color: rgba(250, 249, 247, 0.5);
            text-decoration: none;
            transition: color var(--transition-fast);
        }
        .footer__link:hover {
            color: var(--color-text-inverse);
        }

        .footer__divider {
            height: 1px;
            background: rgba(255,255,255,0.08);
            margin-bottom: var(--space-6);
        }

        .footer__bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: var(--text-xs);
        }

        .footer__social {
            display: flex;
            gap: var(--space-4);
        }

        .footer__social-link {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: rgba(255,255,255,0.06);
            display: flex;
            align-items: center;
            justify-content: center;
            color: rgba(250, 249, 247, 0.5);
            text-decoration: none;
            transition: all var(--transition-fast);
        }

        .footer__social-link:hover {
            background: var(--color-primary);
            color: var(--color-white);
        }

        /* Mobile menu overlay */
        .nav__overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.3);
            z-index: 998;
        }

        .nav__overlay.open {
            display: block;
        }

        /* ========================================
           RESPONSIVE DESIGN
           ======================================== */
        @media (max-width: 1024px) {
            .footer__grid {
                grid-template-columns: 1fr 1fr;
            }
        }

        @media (max-width: 768px) {
            :root {
                --nav-height: 64px;
            }

            h1 { font-size: var(--text-4xl); }
            h2 { font-size: var(--text-3xl); }

            .nav__links {
                position: fixed;
                top: 0;
                right: -100%;
                width: 280px;
                height: 100vh;
                background: var(--color-white);
                flex-direction: column;
                padding: calc(var(--nav-height) + var(--space-8)) var(--space-8) var(--space-8);
                gap: var(--space-6);
                box-shadow: var(--shadow-xl);
                transition: right var(--transition-slow);
                z-index: 999;
            }

            .nav__links.open {
                right: 0;
            }

            .nav__toggle {
                display: flex;
            }

            .nav__cta {
                margin-left: 0;
            }

            .post__header {
                padding: var(--space-8) var(--space-6) var(--space-6);
            }

            .post__body {
                padding: var(--space-8) var(--space-6);
            }

            .post__footer {
                padding: 0 var(--space-6) var(--space-8);
                flex-direction: column;
                align-items: flex-start;
                gap: var(--space-4);
            }

            .post__meta {
                flex-wrap: wrap;
                gap: var(--space-2);
            }

            .footer__grid {
                grid-template-columns: 1fr;
                gap: var(--space-8);
            }

            .footer__bottom {
                flex-direction: column;
                gap: var(--space-4);
                text-align: center;
            }
        }

        @media (max-width: 480px) {
            .container {
                padding: 0 var(--space-4);
            }

            .post__header {
                padding: var(--space-6) var(--space-4) var(--space-5);
            }

            .post__body {
                padding: var(--space-6) var(--space-4);
            }

            .post__footer {
                padding: 0 var(--space-4) var(--space-6);
            }

            .post__content blockquote {
                padding: var(--space-4) var(--space-5);
                font-size: var(--text-lg);
            }

            .blog-cta__buttons {
                flex-direction: column;
                align-items: center;
            }
        }
    
/* New detail pages reuse the existing blog design. */
.post__content h2 { font-size: var(--text-xl); margin-top: var(--space-10); margin-bottom: var(--space-4); color: var(--color-primary-dark); }
.post__content a { text-decoration: underline; text-underline-offset: 3px; }
.author-portrait { width: 193.5px; max-width: 100%; height: auto; border-radius: var(--radius-xl); margin-bottom: var(--space-6); }
