/* --- RESET & BASICS --- */
:root {
    --bg-color: #ffffff;
    --text-primary: #111111;
    --text-secondary: #666666;
    --text-tertiary: #999999;
    --accent: #000000;
    --border-color: #eaeaea;
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --spacing-unit: 1.5rem;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    padding: 4rem 2rem;
}
a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    transition: border-color 0.2s;
}
a:hover {
    border-bottom: 1px solid var(--text-primary);
}

/* --- LAYOUT --- */
.container {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2.5fr; /* Sidebar vs Content ratio */
    gap: 4rem;
}

/* --- SIDEBAR (Profile info) --- */
.profile-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.avatar {
    width: 80px;
    height: 80px;
    background-color: #f0f0f0; /* Placeholder color */
    border-radius: 50%;
    overflow: hidden;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
h1 {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}
.bio {
    color: var(--text-secondary);
    font-size: 0.95rem;
}
.contact-links {
    list-style: none;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.contact-links li a {
    color: var(--text-secondary);
}

/* --- MAIN CONTENT (Experience) --- */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}
section h2 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-tertiary);
    margin-bottom: 2rem;
    font-weight: 500;
}

/* --- EXPERIENCE ITEMS --- */
.experience-item {
    margin-bottom: 2.5rem;
    display: grid;
    grid-template-columns: 100px 1fr; /* Date on left, content on right */
    gap: 1rem;
}
.date {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    font-variant-numeric: tabular-nums;
}
.role-details h3 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}
.role-details .company {
    color: var(--text-secondary);
}
.role-details .company-location {
    margin-top: 0.15rem;
    color: var(--text-tertiary);
    font-size: 0.9rem;
}
.role-details p {
    margin-top: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* --- PROJECTS GRID --- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}
.project-card {
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 8px;
    transition: transform 0.2s;
}

.project-card:hover {
    transform: translateY(-2px);
}
.project-card h3 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.project-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .experience-item {
        grid-template-columns: 1fr; /* Stack date on top of role */
        gap: 0.25rem;
    }
    body {
        padding: 2rem 1.5rem;
    }
}

