*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1.0625rem;
    line-height: 1.6;
    color: #1a1a1a;
    background: #fafafa;
}

.page {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 2.5rem 1.25rem 3rem;
}

.intro {
    text-align: center;
    margin-bottom: 3rem;
}

.intro__avatar {
    display: block;
    width: 140px;
    height: 140px;
    margin: 0 auto 1.15rem;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #e8eaed;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.intro h1 {
    margin: 0 0 1rem;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #111;
}

.intro__bio {
    margin: 0 auto;
    max-width: 38em;
    color: #3d3d3d;
    font-size: 1rem;
    line-height: 1.65;
}

.intro__social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1.25rem;
}

.intro__social-link {
    display: inline-block;
    line-height: 0;
    text-decoration: none;
}

.intro__social-link img {
    display: block;
    height: 40px;
    width: auto;
    object-fit: contain;
}

.intro__social-link:hover {
    opacity: 0.82;
}

/* Resume-style experience */
.resume {
    text-align: left;
}

.resume + .resume {
    margin-top: 2.5rem;
}

.resume h2 {
    margin: 0 0 1.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #111;
    border-bottom: 2px solid #111;
    padding-bottom: 0.35rem;
}

.company {
    margin-bottom: 2rem;
}

.company:last-child {
    margin-bottom: 0;
}

.company__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    margin-bottom: 0.25rem;
}

.company__name {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #111;
}

.company__years {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #6b7280;
    white-space: nowrap;
}

.role {
    margin-top: 1.15rem;
    margin-left: 0.15rem;
    padding-left: 1rem;
    border-left: 2px solid #e5e7eb;
}

.role:first-of-type {
    margin-top: 0.85rem;
}

.role--compact {
    margin-top: 0.5rem;
}

.role--compact:first-of-type {
    margin-top: 0.65rem;
}

.role--compact .role__title {
    margin-bottom: 0;
}

.role__title {
    margin: 0 0 0.35rem;
    font-weight: 600;
    font-size: 0.98rem;
    color: #1f2937;
}

.role__loc {
    margin: 0 0 0.35rem;
    font-size: 0.8125rem;
    color: #6b7280;
}

.role__text {
    margin: 0 0 0.35rem;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: #374151;
}

.role__skills {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #6b7280;
}
