@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --bg: #ffffff;
    --text: #37352f;
    --text-muted: #787774;
    --border: #ededeb;
    --accent: #2383e2;
    --container-width: 800px;
    /* Focused reading width */
}

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

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 80px 0;
}

/* Typography */
h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.5rem;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: 0.2s ease;
}

a:hover {
    text-decoration: underline;
}

/* Navigation */
nav {
    padding: 40px 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--text);
    text-decoration: none;
}

/* Hero */
.hero {
    padding-top: 40px;
}

.hero p {
    font-size: 1.5rem;
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.4;
}

/* Projects - Organized List */
.project-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.project-item {
    display: flex;
    flex-direction: column;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.project-header h3 {
    margin: 0;
}

.project-link {
    font-size: 0.85rem;
    font-weight: 500;
}

.project-desc {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    background: #f7f6f3;
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid var(--border);
}

/* Experience */
.experience-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.experience-item {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 2rem;
}

.exp-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.exp-role {
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

.exp-company {
    color: var(--text-muted);
    font-size: 0.95rem;
    display: block;
    margin-bottom: 1rem;
}

.experience-item ul {
    list-style: none;
}

.experience-item li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.experience-item li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--text-muted);
}

/* Expertise Grid */
.expertise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.expertise-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.expertise-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Footer */
footer {
    padding: 60px 0;
    border-top: 1px solid var(--border);
    margin-top: 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

    .experience-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .container {
        padding: 0 1.5rem;
    }
}