:root {
    --bg-color: #ffffff;
    --text-color: #000000;
    --accent-color: #000000;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', Courier, monospace;
    --spacing-unit: 1.5rem;
    --max-width: 680px;
}

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

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

.container {
    max-width: var(--max-width);
    margin: 4rem auto;
}

/* Typography & "Raw" Elements */
h1, h2, h3 {
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text-color);
}

.name {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.tagline {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 3rem;
}

.cursor {
    display: inline-block;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

.section-title {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    margin-top: 3rem;
    border-bottom: 1px solid #000;
    padding-bottom: 0.5rem;
    display: inline-block;
}

/* Bio */
.bio {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

/* Experience */
.job-item {
    margin-bottom: 2.5rem;
    padding-left: 1rem;
    border-left: 2px solid #000;
    transition: transform 0.2s ease;
}

.job-item:hover {
    transform: translateX(5px);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    margin-bottom: 0.25rem;
}

.company {
    font-size: 1.1rem;
    margin-right: 1rem;
}

.role {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    background: #000;
    color: #fff;
    padding: 2px 6px;
    border-radius: 2px;
}

.job-meta {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 0.75rem;
}

.job-desc {
    font-size: 0.95rem;
    color: #333;
}

/* Footer & Contact */
.footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.email-container {
    margin-bottom: 1rem;
    font-family: var(--font-mono);
    cursor: pointer;
}

#email-placeholder {
    border-bottom: 1px dashed #000;
}

#email-placeholder.revealed {
    border-bottom: none;
}

#email-placeholder a {
    color: #000;
    text-decoration: none;
    font-weight: 600;
}

.social-links a {
    display: inline-block;
    margin-right: 1.5rem;
    color: #000;
    text-decoration: none;
    font-weight: 500;
    position: relative;
}

.social-links a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #000;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.social-links a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.copyright {
    margin-top: 3rem;
    font-size: 0.75rem;
    color: #888;
    font-family: var(--font-mono);
}

.highlight {
    color: #000;
    font-weight: 600;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    .name {
        font-size: 2rem;
    }
    
    .job-header {
        flex-direction: column;
    }
    
    .role {
        margin-top: 0.25rem;
    }
    
    .container {
        margin: 2rem auto;
    }
}

/* Print Styles */
@media print {
    body {
        background: #fff;
        color: #000;
    }
    
    .cursor, .social-links, #email-placeholder {
        display: none;
    }
    
    .job-item {
        border-left: 1px solid #000;
        break-inside: avoid;
    }
}

/* Company Links */
.company a {
    color: var(--text-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-bottom-color 0.2s ease;
}

.company a:hover {
    border-bottom-color: var(--text-color);
}
