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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #000;
    color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.container {
    max-width: 620px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    padding-top: 40px;
    padding-bottom: 16px;
}

.header-row {
    display: flex;
    align-items: baseline;
    gap: 16px;
    flex-wrap: wrap;
}

.header-row h1 {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.header-row h1 a {
    color: #fff;
    text-decoration: none;
}

.header-nav {
    display: flex;
    gap: 12px;
}

.header-nav a {
    font-size: 0.875rem;
    font-weight: 400;
    color: #666;
    text-decoration: none;
    transition: color 0.15s;
}

.header-nav a:hover {
    color: #fff;
}

hr.divider {
    border: none;
    border-top: 1px solid #222;
    margin: 0;
}

main {
    padding-top: 36px;
    padding-bottom: 48px;
}

/* --- Home --- */

.bio {
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.7;
    color: #999;
    letter-spacing: -0.01em;
}

.bio a {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: #444;
    text-underline-offset: 3px;
    transition: text-decoration-color 0.15s;
}

.bio a:hover {
    text-decoration-color: #fff;
}

.links {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.links a {
    font-size: 0.85rem;
    font-weight: 400;
    color: #666;
    text-decoration: none;
    transition: color 0.15s;
}

.links a:hover {
    color: #fff;
}

/* --- Work --- */

.project {
    margin-bottom: 28px;
}

.project-header {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.project-header h2 {
    font-size: 0.95rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: -0.01em;
}

.project-header a {
    font-size: 0.8rem;
    font-weight: 400;
    color: #666;
    text-decoration: none;
    transition: color 0.15s;
}

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

.project p {
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.65;
    color: #888;
}

/* --- Experience --- */

.role {
    margin-bottom: 32px;
}

.role h2 {
    font-size: 0.95rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: -0.01em;
    margin-bottom: 2px;
}

.role .meta {
    font-size: 0.8rem;
    font-weight: 400;
    color: #666;
    margin-bottom: 8px;
}

.role ul {
    list-style: none;
    padding: 0;
}

.role li {
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.6;
    color: #888;
    padding-left: 14px;
    position: relative;
    margin-bottom: 3px;
}

.role li::before {
    content: '\2013';
    position: absolute;
    left: 0;
    color: #444;
}

/* --- Photography placeholder --- */

.photo-message {
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.7;
    color: #666;
}

/* --- Mobile --- */

@media (max-width: 480px) {
    header {
        padding-top: 28px;
        padding-bottom: 12px;
    }

    .header-row {
        gap: 12px;
    }

    .header-row h1 {
        font-size: 0.95rem;
    }

    .header-nav a {
        font-size: 0.8rem;
    }

    main {
        padding-top: 28px;
        padding-bottom: 40px;
    }

    .bio,
    .photo-message {
        font-size: 0.9rem;
    }
}
