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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background-color: #1a1a1a;
    color: #e0e0e0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    text-align: center;
    max-width: 800px;
    width: 100%;
}

.name {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.summary {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    font-weight: 400;
    color: #b3b3b3;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.contact-toggle {
    background: none;
    border: none;
    color: #b3b3b3;
    font-size: inherit;
    font-weight: 400;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-color: rgba(179, 179, 179, 0.3);
    text-underline-offset: 3px;
    padding: 0;
    margin: 0;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.contact-toggle:hover {
    color: #ffffff;
    text-decoration-color: rgba(255, 255, 255, 0.5);
}

.contact-toggle:focus-visible {
    outline: 2px solid #5c5c5c;
    outline-offset: 3px;
    border-radius: 2px;
}

.contact-email {
    margin-left: 0.25rem;
    color: #e0e0e0;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.contact-email:not(.visible) {
    display: none;
}

.projects {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.project-link {
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    font-weight: 400;
    color: #b3b3b3;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
    padding: 0.5rem 0;
    letter-spacing: -0.01em;
}

.project-link:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

.project-link:active {
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .summary {
        margin-bottom: 2.5rem;
    }
    
    .projects {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .summary {
        margin-bottom: 2rem;
    }
    
    .projects {
        flex-direction: column;
        gap: 1rem;
    }
}
