/* Basic reset and typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: #000000;
    min-height: 100vh;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #000000;
    font-size: 16px;
    min-height: 100vh;
}

/* Container for centered content */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Header styling */
header {
    margin-bottom: 40px;
    padding-bottom: 20px;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 25px;
}

.headshot {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid #333333;
}

.header-text {
    flex: 1;
}

.header-text h1 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.header-text .age {
    font-size: 0.95rem;
    color: #bbbbbb;
    margin: 5px 0 0 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, sans-serif;
    font-weight: 400;
}

#age-display {
    color: #e0e0e0;
    font-weight: 500;
    font-family: 'Courier New', Monaco, monospace;
}

/* Main content */
main {
    margin-bottom: 50px;
}

section {
    margin-bottom: 40px;
}

h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 15px;
    color: #ffffff;
    border-bottom: 1px solid #333333;
    padding-bottom: 5px;
}

h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 20px 0 10px 0;
    color: #ffffff;
}

p {
    margin-bottom: 15px;
    color: #eeeeee;
}

/* Links */
a {
    color: #ffffff;
    text-decoration: underline;
}

a:hover {
    color: #cccccc;
}

/* Lists */
ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

li {
    margin-bottom: 8px;
    color: #eeeeee;
}

/* Publications */
.publication {
    margin-bottom: 25px;
    padding-left: 0;
}

.publication strong {
    color: #ffffff;
}

.publication em {
    color: #cccccc;
}

.publication a {
    font-size: 0.9rem;
    margin: 0 2px;
}

/* Projects */
.project {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #111111;
    border-radius: 8px;
    border: 1px solid #222222;
    transition: border-color 0.3s ease;
}

.project:hover {
    border-color: #333333;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.project-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.project-header h3 a {
    color: #ffffff;
    text-decoration: none;
}

.project-header h3 a:hover {
    color: #cccccc;
}

.project-stats {
    display: flex;
    gap: 15px;
    font-size: 0.9rem;
}

.stat {
    color: #888888;
    font-family: 'Courier New', Monaco, monospace;
}

.project-description {
    color: #eeeeee;
    line-height: 1.5;
    margin: 12px 0;
}

.project-links {
    margin-top: 12px;
}

.project-links a {
    font-size: 0.9rem;
    margin: 0 2px;
}

/* Footer */
footer {
    border-top: 1px solid #333333;
    padding-top: 20px;
    text-align: center;
    color: #888888;
    font-size: 0.9rem;
}

/* Blog placeholder styles */
.blog-placeholder {
    text-align: center;
    padding: 40px 20px;
    position: relative;
}

.blog-empty-text {
    font-size: 1.2rem;
    color: #888888;
    margin-bottom: 20px;
    font-style: italic;
    transition: all 0.3s ease;
}

.blog-empty-text:hover {
    color: #aaaaaa;
    transform: scale(1.05);
}

/* Responsive design */
@media (max-width: 600px) {
    .container {
        padding: 20px 15px;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .headshot {
        width: 100px;
        height: 100px;
    }
    
    .header-text h1 {
        font-size: 1.8rem;
    }
}

/* Print styles for academic printing */
@media print {
    body {
        background-color: white;
        color: black;
    }
    
    header, section {
        border-color: #000000;
    }
    
    a {
        color: black;
    }
}