:root {
            --font-primary: 'EB Garamond', serif;
            --font-secondary: 'Roboto', sans-serif;
            --color-bg: #f9f9f9;
            --color-text: #333;
            --color-header: #2c3e50;
            --color-primary: #005a9c; /* A professional blue */
            --color-card-bg: #ffffff;
            --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
            --border-radius: 8px;
        }

        /* --- Basic Reset & Body --- */
        *, *::before, *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: var(--font-secondary);
            font-weight: 300;
            line-height: 1.7;
            background-color: var(--color-bg);
            color: var(--color-text);
        }

        /* --- Typography --- */
        h1, h2, h3, h4, h5, h6 {
            font-family: var(--font-primary);
            font-weight: 700;
            color: var(--color-header);
            margin-bottom: 1rem;
        }

        h1 { font-size: 3rem; }
        h2 { font-size: 2.25rem; border-bottom: 2px solid var(--color-primary); padding-bottom: 0.5rem; display: inline-block; }
        h3 { font-size: 1.5rem; font-weight: 500; color: var(--color-primary); }
        
        p {
            margin-bottom: 1rem;
        }

        a {
            color: var(--color-primary);
            text-decoration: none;
            transition: opacity 0.3s ease;
        }
        a:hover {
            opacity: 0.7;
            text-decoration: underline;
        }

        /* --- Layout --- */
        .container {
            max-width: 1100px;
            margin: 0 auto;
            padding: 4rem 2rem;
        }

        /* --- Header & Navigation --- */
        .site-header {
            background: var(--color-card-bg);
            box-shadow: var(--shadow);
            padding: 1.5rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
        }
        .site-header .title-group h1 {
            font-size: 1.75rem;
            margin: 0;
        }
        .site-header .title-group p {
            font-family: var(--font-secondary);
            font-weight: 300;
            font-style: italic;
            margin: 0;
        }

        .site-nav ul {
            list-style: none;
            display: flex;
            gap: 1.5rem;
        }
        .site-nav a {
            font-family: var(--font-secondary);
            font-weight: 500;
            font-size: 1rem;
            text-decoration: none;
        }

        /* --- Button Style --- */
        .btn {
            display: inline-block;
            background: var(--color-primary);
            color: #fff;
            padding: 0.75rem 1.5rem;
            border-radius: 5px;
            font-family: var(--font-secondary);
            font-weight: 500;
            text-decoration: none;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .btn:hover {
            text-decoration: none;
            opacity: 1;
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(0, 90, 156, 0.3);
        }

        /* --- Project Grid --- */
        .project-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }
        .project-card {
            background: var(--color-card-bg);
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .project-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        }
        .project-card-content {
            padding: 1.5rem;
            flex-grow: 1;
        }
        .project-card-content p {
            font-size: 0.95rem;
        }
        .project-card-footer {
            padding: 1rem 1.5rem;
            background: #fdfdfd;
            border-top: 1px solid #eee;
        }
        .project-card-footer a {
            font-weight: 500;
        }

        /* --- Skills Section --- */
        .skills-container {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 2rem;
            margin-top: 2rem;
        }
        .skill-category {
            flex: 1;
            min-width: 250px;
            background: var(--color-card-bg);
            padding: 2rem;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
        }
        .skill-category h3 {
            margin-top: 0;
            border-bottom: 1px solid #eee;
            padding-bottom: 0.5rem;
        }
        .skill-category ul {
            list-style: none;
            padding-left: 0;
        }
        .skill-category li {
            font-family: var(--font-secondary);
            font-size: 1rem;
            padding: 0.5rem 0;
            position: relative;
            padding-left: 1.75rem;
        }
        .skill-category li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: var(--color-primary);
            font-weight: 700;
        }
        
        .card-date {
            font-family: var(--font-secondary);
            font-size: 0.9rem;
            font-style: italic;
            font-weight: 400;
            color: #667;
            margin-top: -0.75rem;
            margin-bottom: 1rem;
        }

        /* --- Footer --- */
        .site-footer {
            text-align: center;
            padding: 1rem;
            font-size: 0.8rem;
            color: #777;
            background: #e9e9e9;
        }

        /* --- Responsive Design --- */
        @media (max-width: 768px) {
            .site-header {
                flex-direction: column;
                text-align: center;
                gap: 1rem;
            }
            .site-nav ul {
                flex-direction: column;
                gap: 0.5rem;
            }
            .container {
                padding: 2rem 1rem;
            }
            h1 { font-size: 2.5rem; }
            h2 { font-size: 1.75rem; }
        }