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

body {
    font-family: 'Space Mono', monospace;
    font-weight: 400;
    color: #E8E0D4;
    background: #141210;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

main {
    max-width: 620px;
    margin: 0 auto;
    padding: 6rem 1.5rem 4rem;
}

a {
    color: inherit;
}

/* Hero */

.hero {
    margin-bottom: 4rem;
}

.hero-content {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-top: 1.25rem;
}

.hero-text {
    flex: 1;
}

.hero-text .summary {
    margin-top: 0;
}

.avatar {
    width: 100px;
    height: 130px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

h1 {
    font-family: 'Syne', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.dot {
    color: #E09145;
}

.tagline {
    color: #E09145;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: lowercase;
    margin-top: 0.75rem;
}

.summary {
    color: #877E74;
    font-weight: 400;
    margin-top: 1.25rem;
    font-size: 0.88rem;
    line-height: 1.7;
}

.links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
    font-size: 0.82rem;
}

.links a {
    text-decoration: none;
    color: #5A5249;
    transition: color 0.2s;
    display: flex;
    padding: 6px;
    margin: -6px;
}

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

.tagline-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.langs {
    color: #3A352F;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
}

/* Sections */

h2 {
    font-family: 'Syne', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: lowercase;
    color: #E09145;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #2E2A26;
}

section + section {
    margin-top: 3.5rem;
}

/* Experience */

.exp {
    margin-bottom: 1.75rem;
}

.exp-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.exp-logo {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    flex-shrink: 0;
}

.exp-info {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex: 1;
}

.exp-info a {
    text-decoration: none;
    transition: color 0.2s;
}

.exp-info a:hover {
    color: #E09145;
}

.exp-info strong {
    font-weight: 700;
    font-size: 0.92rem;
}

.exp-role {
    font-size: 0.78rem;
    color: #5A5249;
    margin-left: 0.5rem;
    text-transform: lowercase;
}

.exp-focus {
    font-size: 0.75rem;
    color: #877E74;
    font-style: italic;
}

.exp-icons {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.4rem;
    margin-left: calc(28px + 0.75rem);
    font-size: 1.25rem;
    color: #5A5249;
}

.exp-icons i {
    transition: color 0.2s;
}

.exp-icons i:hover {
    color: #E09145;
}

/* Projects */

.project-line {
    font-size: 0.85rem;
    color: #877E74;
    line-height: 1.65;
    margin-bottom: 0.75rem;
}

.project-line a {
    color: #E8E0D4;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s;
}

.project-line a:hover {
    color: #E09145;
}

/* Entries */

.entry {
    margin-bottom: 1.75rem;
}

.entry-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
}

.entry-header strong {
    font-weight: 700;
    font-size: 0.92rem;
}

.entry-header a {
    text-decoration: none;
    transition: color 0.2s;
}

.entry-header a:hover {
    color: #E09145;
}

.date, .tags {
    font-size: 0.75rem;
    color: #5A5249;
    white-space: nowrap;
}

.company {
    font-size: 0.8rem;
    color: #E09145;
    margin-top: 0.15rem;
}

.entry p {
    color: #877E74;
    font-weight: 400;
    font-size: 0.85rem;
    margin-top: 0.4rem;
    line-height: 1.65;
}

/* Mobile */

@media (max-width: 480px) {
    main {
        padding: 3rem 1.25rem 3rem;
    }

    h1 {
        font-size: 2.4rem;
    }

    .tagline-row {
        flex-direction: column;
        gap: 0.25rem;
    }

    .hero-content {
        flex-direction: column-reverse;
        align-items: flex-start;
    }

    .avatar {
        width: 80px;
        height: 104px;
    }

    .exp-info {
        flex-direction: column;
        gap: 0.1rem;
    }

    .exp-icons {
        margin-left: calc(28px + 0.75rem);
    }
}

@media (max-width: 360px) {
    h1 {
        font-size: 1.9rem;
    }

    .tagline, h2 {
        font-size: 0.85rem;
    }
}

/* Footer */

footer {
    max-width: 620px;
    margin: 0 auto;
    padding: 3rem 1.5rem 2rem;
    font-size: 0.75rem;
    color: #5A5249;
}
