/* ── Reset & Base ─────────────────────────────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #1c1c1c;
    color: #e8e8e8;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── Container ────────────────────────────────────── */
.container {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Typography ───────────────────────────────────── */
a {
    color: inherit;
    text-decoration: none;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6b6b6b;
    margin-bottom: 24px;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 32px;
    color: #f0f0f0;
}

/* ── Header ───────────────────────────────────────── */
header {
    padding: 80px 0 48px;
    border-bottom: 1px solid #2a2a2a;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #f5f5f5;
    margin-bottom: 8px;
}

header .title-role {
    font-size: 1.125rem;
    font-weight: 400;
    color: #9c9c9c;
    margin-bottom: 16px;
}

.header-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.875rem;
    color: #7a7a7a;
}

.header-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.header-links a:hover {
    color: #e0e0e0;
}

.header-links svg {
    flex-shrink: 0;
}
#location-icon {
    vertical-align: middle;
}

/* ── About ────────────────────────────────────────── */
#about {
    padding: 64px 0;
    border-bottom: 1px solid #2a2a2a;
}

#about p {
    font-size: 1rem;
    color: #c8c8c8;
    max-width: 680px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.skill-tag {
    display: inline-block;
    padding: 4px 14px;
    font-size: 0.8125rem;
    font-weight: 500;
    border: 1px solid #333;
    border-radius: 100px;
    color: #c0c0c0;
    transition: border-color 0.2s, color 0.2s;
}

.skill-tag:hover {
    border-color: #555;
    color: #f0f0f0;
}

/* ── Experience ───────────────────────────────────── */
#experience {
    padding: 64px 0;
    border-bottom: 1px solid #2a2a2a;
}

.experience-item {
    margin-bottom: 40px;
}

.experience-item:last-child {
    margin-bottom: 0;
}

.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-bottom: 4px;
}

.exp-company {
    font-size: 1.125rem;
    font-weight: 600;
    color: #f0f0f0;
}

.exp-date {
    font-size: 0.8125rem;
    font-weight: 400;
    color: #6b6b6b;
    white-space: nowrap;
}

.exp-title {
    font-size: 0.9375rem;
    font-weight: 400;
    color: #9c9c9c;
    margin-bottom: 4px;
}

.exp-location {
    font-size: 0.8125rem;
    color: #6b6b6b;
    margin-bottom: 12px;
}

.exp-description {
    font-size: 0.9375rem;
    color: #b8b8b8;
    line-height: 1.7;
}

.exp-description ul {
    list-style: none;
    margin-top: 15px;
    margin-left: 20px;
    padding: 0;
}

.exp-description li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 6px;
}

.exp-description li::before {
    content: "–";
    position: absolute;
    left: 0;
    color: #555;
}

.exp-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

/* ── Projects ─────────────────────────────────────── */
#projects {
    padding: 64px 0;
    border-bottom: 1px solid #2a2a2a;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.project-card {
    display: block;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 24px;
    transition: border-color 0.2s, background-color 0.2s;
    cursor: pointer;
}

.project-card:hover {
    border-color: #3a3a3a;
    background-color: #222;
}

.project-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    /* background: #2a2a2a; */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    font-weight: 600;
    /* color: #b0b0b0; */
    margin-bottom: 16px;
    flex-shrink: 0;
    overflow: hidden;
}

.project-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.project-name {
    font-size: 1rem;
    font-weight: 600;
    color: #f0f0f0;
    margin-bottom: 8px;
}

.project-description {
    font-size: 0.875rem;
    color: #a8a8a8;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.project-tag {
    font-size: 0.6875rem;
    font-weight: 500;
    padding: 2px 10px;
    border-radius: 100px;
    background: #252525;
    color: #8a8a8a;
}

/* ── Education ────────────────────────────────────── */
#education {
    padding: 64px 0;
}

.education-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-bottom: 32px;
}

.education-item:last-child {
    margin-bottom: 0;
}

.edu-left {
    flex: 1;
    min-width: 200px;
}

.edu-school {
    font-size: 1.0625rem;
    font-weight: 600;
    color: #f0f0f0;
}

.edu-degree {
    font-size: 0.9375rem;
    color: #9c9c9c;
    margin-top: 2px;
}

.edu-date {
    font-size: 0.8125rem;
    color: #6b6b6b;
    white-space: nowrap;
}

.edu-note {
    font-size: 0.8125rem;
    color: #7a7a7a;
    margin-top: 6px;
}

/* ── Footer ───────────────────────────────────────── */
footer {
    padding: 32px 0 48px;
    border-top: 1px solid #2a2a2a;
    text-align: center;
}

footer p {
    font-size: 0.8125rem;
    color: #555;
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 600px) {
    header {
        padding: 48px 0 32px;
    }

    header h1 {
        font-size: 1.75rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .exp-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .education-item {
        flex-direction: column;
        align-items: flex-start;
    }
}
