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

:root {
    --bg: #fafafa;
    --text: #1a1a1a;
    --text-muted: #666;
    --accent: #000;
    --border: #1a1a1a;
}

html {
    font-size: 16px;
}

body {
    font-family: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", "Lucida Console", Monaco, monospace;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

main {
    max-width: 640px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Header */
header {
    margin-bottom: 4rem;
    text-align: center;
}

.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.bio {
    font-size: 0.9rem;
    max-width: 480px;
    margin: 0 auto 1rem;
    color: var(--text);
}

.status {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Sections */
section {
    margin-bottom: 3rem;
}

h2 {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border);
}

.content-block {
    padding-left: 0;
}

.content-block p {
    font-size: 0.9rem;
    color: var(--text);
}

/* Services */
.service {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #ddd;
}

.service:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.service .label {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.25rem;
}

.service .title {
    font-weight: 700;
    font-size: 1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.service p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Experience List */
.exp-list {
    list-style: none;
}

.exp-list li {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    padding-left: 0;
}

.exp-label {
    display: inline-block;
    font-weight: 700;
    min-width: 100px;
    color: var(--text);
}

/* Project List */
.project-list {
    list-style: none;
}

.project-list li {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.project-list a {
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 1px solid var(--border);
}

.project-list a:hover {
    background: var(--text);
    color: var(--bg);
}

/* Tech List */
.tech-list {
    font-size: 0.85rem;
    color: var(--text-muted);
    word-spacing: 0.1em;
}

/* Book List */
.book-list {
    list-style: none;
    column-count: 2;
    column-gap: 2rem;
}

.book-list li {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    break-inside: avoid;
}

.book-list a {
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid #ccc;
}

.book-list a:hover {
    border-color: var(--text);
}

/* Links */
.links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
}

.links a {
    font-size: 0.85rem;
    color: var(--text);
    text-decoration: none;
    transition: background 0.1s, color 0.1s;
}

.links a:hover {
    background: var(--text);
    color: var(--bg);
}

/* Footer */
footer {
    margin-top: 4rem;
    text-align: center;
}

.divider {
    font-size: 0.75rem;
    color: #ccc;
    margin-bottom: 1rem;
}

footer p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Mobile */
@media (max-width: 600px) {
    main {
        padding: 2rem 1.5rem;
    }

    .ascii-art {
        font-size: 0.6rem;
    }

    .book-list {
        column-count: 1;
    }

    .exp-label {
        display: block;
        min-width: auto;
        margin-bottom: 0.25rem;
    }

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

/* Selection */
::selection {
    background: var(--text);
    color: var(--bg);
}
