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

:root {
    --majolica: #B2B292;
    --majolica-dark: #005a56;
    --majolica-light: #00a693;
    --cream: #f5f1e8;
    --warm-white: #fefdfb;
    --charcoal: #2d2d2d;
    --gray: #6b6b6b;
    --shadow: rgba(0, 122, 116, 0.15);
}

body {
    font-family: 'Crimson Text', 'Georgia', serif;
    line-height: 1.7;
    color: var(--charcoal);
    background-color: var(--cream);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.navbar {
    background-color: var(--warm-white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--majolica);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--majolica);
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-logo:hover {
    color: var(--majolica-dark);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    font-family: 'Cormorant Garamond', serif;
    color: var(--gray);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--majolica);
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
    flex: 1;
}

.hero {
    margin-bottom: 4rem;
}

.hero-content {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 3rem;
    align-items: start;
}

.intro {
    min-width: 0;
}

.headshot-container {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--majolica);
    box-shadow: 0 4px 12px var(--shadow);
}

.headshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.intro h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.75rem;
    color: var(--majolica);
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.tagline {
    font-size: 1.15rem;
    color: var(--gray);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.bio {
    color: var(--charcoal);
    font-size: 1.05rem;
    line-height: 1.8;
}

.contact-section {
    background-color: var(--warm-white);
    padding: 3rem;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-top: 3px solid var(--majolica);
}

.contact-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: var(--majolica);
    margin-bottom: 2rem;
    font-weight: 400;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #d4d4d4;
    border-radius: 1px;
    font-size: 1rem;
    font-family: 'Crimson Text', serif;
    background-color: #ffffff;
    color: var(--charcoal);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--majolica);
}

.btn {
    padding: 0.875rem 2rem;
    background-color: var(--majolica);
    color: #ffffff;
    border: none;
    border-radius: 1px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.05rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: flex-start;
}

.btn:hover {
    background-color: var(--majolica-dark);
}

.page-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.75rem;
    color: var(--majolica);
    margin-bottom: 3rem;
    font-weight: 400;
    text-align: center;
}

.cv-container {
    max-width: 800px;
}

.cv-section {
    margin-bottom: 3.5rem;
}

.cv-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: var(--majolica);
    margin-bottom: 1.5rem;
    font-weight: 400;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--majolica);
}

.cv-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
}

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

.cv-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.cv-item h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: var(--charcoal);
    font-weight: 500;
}

.date {
    color: var(--gray);
    font-size: 0.95rem;
    font-style: italic;
}

.company {
    color: var(--majolica-light);
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
}

.description {
    color: var(--charcoal);
    line-height: 1.7;
}

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

.skill-category h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: var(--majolica);
    margin-bottom: 1rem;
    font-weight: 500;
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    color: var(--charcoal);
    padding: 0.4rem 0;
    position: relative;
    padding-left: 1.2rem;
}

.skill-category li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--majolica);
}

.blog-post {
    background-color: var(--warm-white);
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--majolica);
    transition: box-shadow 0.3s ease;
}

.blog-post:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.post-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: var(--majolica);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.post-meta {
    color: var(--gray);
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.post-content {
    color: var(--charcoal);
    line-height: 1.8;
}

.post-content p {
    margin-bottom: 1rem;
}

.post-content p:last-child {
    margin-bottom: 0;
}

footer {
    background-color: var(--warm-white);
    border-top: 1px solid var(--majolica);
    padding: 2rem;
    text-align: center;
    color: var(--gray);
    font-size: 0.95rem;
    margin-top: auto;
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .headshot-container {
        margin: 0 auto;
        width: 200px;
        height: 200px;
    }

    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        gap: 1.5rem;
    }

    .intro h1 {
        font-size: 2.25rem;
    }

    .contact-section {
        padding: 2rem;
    }

    .cv-header {
        flex-direction: column;
        gap: 0.5rem;
    }

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

    .page-title {
        font-size: 2.25rem;
    }
}
