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

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --text-color: #2d2d2d;
    --text-light: #6b7280;
    --bg-color: #f5f1e8;
    --bg-light: #ede8dd;
    --border-color: #d4c5b0;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

/* Navigation */
.navbar {
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
}

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

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--text-color);
}

.nav-link.active {
    color: var(--text-color);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Section */
.section {
    min-height: 100vh;
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-color);
}

/* Home Section */
.name {
    font-family: 'Dancing Script', cursive;
    font-size: 5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
    letter-spacing: 2px;
}

.profile-section {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: start;
}

.profile-image-container {
    position: relative;
}

.profile-image {
    width: 100%;
    height: auto;
    border: 1px solid var(--border-color);
    object-fit: cover;
}

.profile-placeholder {
    width: 100%;
    height: auto;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.work-info h2,
.bio h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.org-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.team-name {
    font-size: 1rem;
    color: var(--text-light);
}

.bio p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

/* Recent News */
.recent-news {
    margin-top: 4rem;
}

.recent-news h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.news-item {
    display: flex;
    gap: 1rem;
    color: var(--text-color);
}

.news-date {
    font-weight: 600;
    color: var(--text-color);
    min-width: 150px;
}

.news-text {
    color: var(--text-color);
    flex: 1;
}

/* Speaking Initiatives */
.speaking-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.speaking-item {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.speaking-entry {
    margin-bottom: 0.5rem;
}

.speaking-date {
    color: var(--text-color);
    margin-right: 1rem;
}

.speaking-event {
    color: var(--text-color);
    text-decoration: underline;
    margin-right: 1rem;
}

.speaking-event:hover {
    text-decoration: none;
}

.speaking-title {
    color: var(--text-color);
}

.speaking-slides {
    margin-top: 0.25rem;
}

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

.slides-link:hover {
    text-decoration: none;
}

.speaking-note {
    color: var(--text-color);
    font-style: italic;
    margin-top: 0.5rem;
    font-size: 0.95rem;
}

/* Publications */
.publications-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.publication-item {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.publication-title {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.publication-venue {
    color: var(--text-color);
    margin-bottom: 0.25rem;
    font-style: italic;
}

.publication-author {
    color: var(--text-color);
    font-size: 0.95rem;
}

/* Resume */
.resume-container {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.resume-pdf {
    width: 100%;
    height: 800px;
    border: 1px solid var(--border-color);
}

/* The Ship of Theseus */
.substack-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.substack-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.substack-link {
    font-size: 1.2rem;
    color: var(--text-color);
    text-decoration: underline;
}

.substack-link:hover {
    text-decoration: none;
}

/* Footer */
footer {
    background-color: var(--bg-light);
    padding: 2rem 0;
    text-align: center;
    color: var(--text-light);
    margin-top: 4rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
    }

    .name {
        font-size: 2.5rem;
    }

    .profile-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .profile-image-container {
        max-width: 250px;
        margin: 0 auto;
    }

    .news-item {
        flex-direction: column;
        gap: 0.5rem;
    }

    .news-date {
        min-width: auto;
    }

    .speaking-item {
        font-size: 1rem;
    }

    .container {
        padding: 1rem;
    }

    .section {
        padding: 2rem 0;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }

    .nav-menu {
        gap: 0.5rem;
    }

    .name {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .resume-pdf {
        height: 600px;
    }
}

