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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #1a1a1a;
    background: #fafafa;
    -webkit-font-smoothing: antialiased;
}

/* Side Navigation */
.side-nav {
    position: fixed;
    top: 80px;
    right: 48px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: right;
}

.side-nav a {
    font-size: 14px;
    color: #999;
    text-decoration: none;
    transition: color 0.2s;
}

.side-nav a:hover {
    color: #666;
}

.side-nav a.active {
    color: #1a1a1a;
    font-weight: 500;
}

.container {
    max-width: 640px;
    margin: 0 auto;
    padding: 80px 24px;
}

/* Header */
header {
    margin-bottom: 48px;
}

.profile-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 24px;
    filter: grayscale(10%);
}

h1 {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.tagline {
    color: #666;
    font-size: 15px;
    letter-spacing: 0.5px;
}

/* Sections - hide by default, show when active */
.section {
    display: none;
}

.section.active {
    display: block;
}

/* Bio */
.bio {
    margin-bottom: 48px;
}

.bio p {
    margin-bottom: 16px;
    color: #333;
}

.bio p:first-child {
    font-size: 19px;
    font-weight: 500;
    color: #1a1a1a;
    letter-spacing: -0.3px;
}

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

.footnote {
    font-size: 11px;
    font-style: italic;
    color: #888;
    margin-top: 24px;
}

/* Sections */
section {
    margin-bottom: 48px;
}

h2 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 24px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

/* Projects */
.project {
    margin-bottom: 28px;
}

.project:last-child {
    margin-bottom: 0;
}

.project h3 {
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 4px;
}

.project h3 a {
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 1px solid #ccc;
    transition: border-color 0.2s;
}

.project h3 a:hover {
    border-color: #1a1a1a;
}

.project-meta {
    font-size: 13px;
    color: #888;
    margin-bottom: 6px;
}

.project p:last-child {
    color: #555;
    font-size: 15px;
}

.project-highlight {
    margin-top: 10px;
    font-size: 14px;
    color: #444;
    padding: 12px 16px;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-left: 3px solid #1a1a1a;
    border-radius: 0 4px 4px 0;
}

.highlight-metric {
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: -0.2px;
}

/* Study */
.study-item h3 {
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 4px;
}

.study-item h3 a {
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 1px solid #ccc;
    transition: border-color 0.2s;
}

.study-item h3 a:hover {
    border-color: #1a1a1a;
}

.study-meta {
    font-size: 13px;
    color: #888;
    margin-bottom: 8px;
}

.study-item p {
    color: #555;
    font-size: 15px;
    margin-bottom: 16px;
}

.study-photos {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.study-photos img {
    width: calc(33.333% - 8px);
    height: 140px;
    object-fit: cover;
    border-radius: 4px;
    filter: grayscale(10%);
}

/* Blog */
.coming-soon {
    font-size: 14px;
    color: #888;
    font-style: italic;
}

/* Reading */
.reading-list {
    display: grid;
    gap: 24px;
}

.reading-group h3 {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    margin-bottom: 8px;
}

.reading-group ul {
    list-style: none;
}

.reading-group li {
    font-size: 15px;
    color: #333;
    padding: 4px 0;
}

.reading-group em {
    font-style: italic;
}

/* Footer */
footer {
    padding-top: 32px;
    border-top: 1px solid #eee;
}

.location {
    font-size: 14px;
    color: #888;
    margin-bottom: 16px;
}

.links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.links a {
    font-size: 14px;
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 1px solid #ddd;
    transition: border-color 0.2s;
}

.links a:hover {
    border-color: #1a1a1a;
}

/* Responsive */
@media (max-width: 900px) {
    .side-nav {
        position: static;
        flex-direction: row;
        justify-content: center;
        gap: 24px;
        margin-bottom: 32px;
        padding: 16px 24px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 48px 20px;
    }

    h1 {
        font-size: 24px;
    }

    .profile-photo {
        width: 100px;
        height: 100px;
    }

    .side-nav {
        flex-wrap: wrap;
        gap: 16px;
    }
}
