:root {
    --bg: #faf9f6;
    --text: #2c2416;
    --text-muted: #6b5d4d;
    --accent: #8b5a2b;
    --border: rgba(0, 0, 0, 0.08);
}

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

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.page {
    max-width: 550px;
    margin: 0 auto;
    padding: 60px 24px 80px;
}

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

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.header-top h1 {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 2rem;
    font-weight: 500;
}

.age-display {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

.intro {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.links {
    display: flex;
    gap: 20px;
}

.links a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.links a:hover {
    color: var(--accent);
}

/* Projects */
.projects {
    margin-bottom: 24px;
}

.projects h2 {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 400;
    font-style: italic;
    color: var(--accent);
    margin-bottom: 16px;
}

.project-list {
    list-style: none;
}

.project-list li {
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.project-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.project-list a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    display: block;
    margin-bottom: 4px;
    transition: color 0.2s;
}

.project-list a:hover {
    color: var(--accent);
}

.project-list span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.projects-expanded {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.projects-expanded .project-list {
    margin-top: 0;
}

.projects-expanded .project-list li:first-child {
    padding-top: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.see-more {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.9rem;
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}

.see-more:hover {
    color: var(--text);
}

/* Responsive */
@media (max-width: 480px) {
    .page {
        padding: 40px 20px 60px;
    }

    .header-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .header-top h1 {
        font-size: 1.5rem;
    }

    .age-display {
        font-size: 0.9rem;
    }
}
