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

:root {
    --background: 0 0% 100%;
    --foreground: 222.2 84% 4.9%;
    --card: 0 0% 100%;
    --card-foreground: 222.2 84% 4.9%;
    --border: 214.3 31.8% 91.4%;
    --muted: 210 40% 96.1%;
    --muted-foreground: 215.4 16.3% 46.9%;
    --accent: 210 40% 96.1%;
    --accent-foreground: 222.2 47.4% 11.2%;
    --radius: 0.5rem;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 42rem;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.title {
    font-size: 2.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.subheadline {
    font-size: 1rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 2rem;
    font-weight: 400;
}

.section {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: hsl(var(--muted-foreground));
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    padding: 1rem;
    transition: all 0.2s;
}

.card:hover {
    border-color: hsl(var(--border));
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}

.projects-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.projects-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.projects-list a {
    color: hsl(var(--foreground));
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.2s;
}

.projects-list a:hover {
    color: hsl(var(--foreground));
    text-decoration: underline;
    text-underline-offset: 4px;
}

.project-note {
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
    font-weight: 400;
}

.project-note a {
    color: hsl(var(--muted-foreground));
    text-decoration: underline;
    text-underline-offset: 2px;
}

.project-note a:hover {
    color: hsl(var(--foreground));
}

.contact {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: hsl(var(--muted));
    border: 1px solid hsl(var(--border));
    border-radius: calc(var(--radius) - 2px);
    color: hsl(var(--foreground));
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
}

.contact-item:hover {
    background: hsl(var(--accent));
    border-color: hsl(var(--border));
    color: hsl(var(--accent-foreground));
}

.contact-item i {
    font-size: 0.875rem;
    width: 1rem;
    text-align: center;
}

.location {
    margin-top: 3rem;
    text-align: center;
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
}

@media (max-width: 640px) {
    .container {
        padding: 1.5rem 1rem;
    }
    
    .title {
        font-size: 1.875rem;
    }
    
    .subheadline {
        font-size: 0.9375rem;
    }
    
    .section-title {
        font-size: 0.8125rem;
    }
    
    .projects-list li {
        flex-wrap: wrap;
    }
    
    .contact {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .contact-item {
        width: 100%;
        justify-content: center;
    }
}
