:root {
    --bg-color: #000000;
    --text-color: #cccccc;
    --heading-color: #ffffff;
    --accent-color: #ffffff;
    --secondary-text: #999999;
    --font-family: "Inter", sans-serif;
    --font-heading: "JetBrains Mono", monospace;
    --line-height: 1.6;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-family);
    line-height: var(--line-height);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

header {
    padding: 4rem 2rem;
    text-align: center;
    border-bottom: 1px solid #333;
}

.header-container {
    max-width: 800px;
    margin: 0 auto;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    background-color: #333; /* Placeholder color */
    filter: grayscale(100%);
    border: 2px solid #555;
}

h1, h2, h3, h4, h5, h6, .subtitle, nav a {
    font-family: var(--font-heading);
}

h1 {
    font-size: 2.5rem;
    margin: 0 0 0.5rem 0;
    color: var(--heading-color);
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--secondary-text);
    margin: 0;
    font-weight: 500;
}

.mission-statement {
    font-family: var(--font-heading);
    font-size: 0.95rem;
}

nav.jump-nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 1rem;
    background-color: #111;
    border-bottom: 1px solid #333;
    position: sticky;
    top: 0;
    z-index: 100;
    flex-wrap: wrap;
}

nav.jump-nav a {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.2s;
}

nav.jump-nav a:hover {
    color: #FFFFFF;
}

main {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

section {
    margin-bottom: 4rem;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #333;
    color: var(--heading-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-number {
    color: #666;
    margin-right: 0.5rem;
}

h3 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--heading-color);
}

ul {
    list-style-type: none;
    padding-left: 0;
}

li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
}

li::before {
    content: "■";
    position: absolute;
    left: 0;
    top: 0;
    color: #555;
    font-size: 0.8em;
    line-height: var(--line-height);
}

a {
    color: var(--accent-color);
    text-decoration: underline;
    text-decoration-color: #555;
    text-underline-offset: 4px;
    transition: text-decoration-color 0.2s, color 0.2s;
}

a:hover {
    color: #FFFFFF;
    text-decoration-color: #FFFFFF;
}

/* Resume Styling */
.career-item {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #222;
}

.career-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.career-item h3 {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.career-item .role {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--secondary-text);
    margin-top: 0;
    margin-bottom: 1rem;
}

.career-item ul {
    margin-top: 0.5rem;
}

.career-item li {
    font-size: 0.95rem;
    color: var(--text-color);
}

/* Projects/Publications Styling */
#projects ul li, #publications ul li {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

#projects strong {
    font-family: var(--font-heading);
    color: var(--heading-color);
}

footer {
    text-align: center;
    padding: 3rem 2rem;
    border-top: 1px solid #333;
    font-size: 0.85rem;
    color: #888;
}

footer p {
    margin: 0.5rem 0;
}

.author-link {
    text-decoration: none;
    color: var(--secondary-text);
}

.author-link:hover {
    color: var(--text-color);
    text-decoration: underline;
}

/* Fade-in animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Mobile Responsiveness */
@media (max-width: 600px) {
    header {
        padding: 3rem 1rem 2rem;
    }

    .profile-image {
        width: 120px;
        height: 120px;
    }

    header h1 {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .mission-statement {
        font-size: 0.9rem;
    }

    nav.jump-nav {
        gap: 1rem;
        padding: 1rem 0.5rem;
    }

    main {
        padding: 1.5rem 1rem;
    }

    section {
        margin-bottom: 3rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    li {
        font-size: 0.95rem;
    }
}
