:root {
    --bg-color: #ffffff;
    --text-color: #111111;
    --text-muted: #4e4e4e;
    --text-light: #888888;
    --link-color: #111111;
    --link-hover: #555555;
    --border-color: #ececec;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #111111;
        --text-color: #eeeeee;
        --text-muted: #a1a1a1;
        --text-light: #777777;
        --link-color: #ffffff;
        --link-hover: #cccccc;
        --border-color: #333333;
    }
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-family);
    line-height: 1.6;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--link-color);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

a:hover {
    color: var(--link-hover);
    text-decoration-color: var(--link-hover);
}

strong {
    font-weight: 600;
}

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

.section {
    margin-bottom: 56px;
}

/* Header / Hero */
.hero .profile-img {
    width: 110px;
    height: 110px;
    border-radius: 0;
    object-fit: cover;
    margin-left: 20px;
    flex-shrink: 0;
}

.hero h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.hero .subtitle {
    font-size: 16px;
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 12px;
}

.hero .links {
    font-size: 14px;
    margin-bottom: 24px;
    color: var(--text-muted);
}

.hero .links a {
    text-decoration: none;
    margin: 0 4px;
}
.hero .links a:first-child { margin-left: 0; }
.hero .links a:last-child { margin-right: 0; }

.hero .bio {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}
.hero .bio a { color: var(--text-muted); }

/* Sections */
h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

/* Base Lists and Items */
.achievement-list {
    list-style: none;
}

.achievement-list li {
    display: flex;
    align-items: baseline;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.5;
}

.achievement-list .year {
    font-weight: 500;
    color: var(--text-color);
    min-width: 70px;
    flex-shrink: 0;
}

.item {
    margin-bottom: 28px;
}

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

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 2px;
}

.item-company, .item-title {
    font-weight: 600;
    text-decoration: none;
    color: var(--link-color);
    font-size: 16px;
}

.item-company:hover {
    text-decoration: underline;
}

.item-role {
    font-weight: 500;
    color: var(--text-color);
    font-size: 15px;
}
.item-role.title {
    font-weight: 600;
    font-size: 16px;
}

.item-date {
    font-size: 14px;
    color: var(--text-light);
}

.item-stack {
    font-size: 12px;
    color: var(--text-light);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    background-color: rgba(128, 128, 128, 0.08);
    padding: 2px 6px;
    border-radius: 4px;
}

.item-text {
    font-size: 15px;
    color: var(--text-muted);
    margin-top: 4px;
    line-height: 1.5;
}
.text-normal {
    color: var(--text-color);
    margin-top: 2px;
}

.item-meta {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 2px;
}

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

.skills-list li {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.skills-list li strong {
    color: var(--text-color);
    font-weight: 500;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    margin-top: 48px;
    font-size: 14px;
    color: var(--text-light);
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.footer a {
    text-decoration: none;
    color: var(--text-light);
}
.footer a:hover {
    color: var(--text-color);
}

/* Responsive */
@media (max-width: 600px) {
    .container {
        padding: 50px 20px;
    }
    
    .achievement-list li {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .achievement-list .year {
        margin-bottom: 2px;
    }
    
    .item-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .item-date, .item-stack {
        margin-top: 2px;
    }
}
