/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.7;
    color: #333;
    /* Soft, light blue-grey background for depth */
    background-color: #f0f4f8; 
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* --- Typography --- */
h1, h2, h3 {
    font-family: 'Merriweather', serif; /* Professional Serif */
    color: #2c3e50;
    margin-bottom: 15px;
}

a {
    color: #0056b3;
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: #003d80;
    text-decoration: underline;
}

/* --- Navigation Banner --- */
.site-header {
    background-color: #ffffff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    padding: 0 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-top: 5px solid #0056b3; /* Top accent bar */
}

.nav-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-name {
    font-family: 'Merriweather', serif;
    font-weight: 900;
    font-size: 1.3rem;
    color: #2c3e50;
    text-decoration: none;
}

.nav-name:hover {
    text-decoration: none;
    color: #0056b3;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: #666;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 22px 0; /* Full height clickable area */
    border-bottom: 3px solid transparent;
}

.nav-menu a:hover, .nav-menu a.active {
    color: #0056b3;
    text-decoration: none;
    border-bottom: 3px solid #0056b3;
}

/* --- Main Layout --- */
.main-content {
    flex: 1; /* Pushes footer down */
    max-width: 850px;
    width: 100%;
    margin: 40px auto;
    padding: 0 20px;
}

.card {
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    margin-bottom: 30px;
}

.page-title {
    font-size: 1.8rem;
    border-bottom: 2px solid #eef2f5;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

/* --- Profile/About Specifics --- */
.profile-layout {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.headshot-wrapper {
    flex-shrink: 0;
    text-align: center;
    position: relative;
    width: 180px;
}

.profile-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.download-cv-btn {
    display: block;
    margin-top: 15px;
    background-color: #0056b3;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0,86,179,0.3);
}

.download-cv-btn:hover {
    background-color: #004494;
    text-decoration: none;
    color: white;
}

.headshot-link:hover .profile-img {
    transform: scale(1.02);
}

.bio-text {
    font-size: 1.1rem;
    color: #444;
}

.bio-intro {
    font-size: 1.2rem;
    color: #2c3e50;
    font-weight: 400;
    margin-bottom: 20px;
}

.contact-grid {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 30px;
    font-size: 0.95rem;
    color: #666;
}

/* --- Listings (Reports, Media, Presentations) --- */
.entry-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f4f8;
}

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

.entry-link {
    font-size: 1.15rem;
    font-weight: 700;
    font-family: 'Merriweather', serif;
    display: block;
    margin-bottom: 5px;
    line-height: 1.4;
}

.entry-meta {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.tag {
    display: inline-block;
    background: #eef2f5;
    color: #555;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    font-weight: 600;
}

/* --- Footer --- */
.site-footer {
    text-align: center;
    padding: 30px 0;
    color: #8898aa;
    font-size: 0.9rem;
    border-top: 1px solid #e1e4e8;
    background-color: #f8fafc;
    margin-top: auto;
}

/* --- Mobile --- */
@media (max-width: 768px) {
    .profile-layout {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 15px;
    }
    
    .nav-menu {
        margin-top: 15px;
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .contact-grid {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }
}