/* Résumé page-specific styles. Loaded after site.css (tokens, nav, footer, buttons). */

.identity {
    padding-top: 56px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.identity__header {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
}

.identity__photo {
    width: 96px;
    height: 96px;
    flex: none;
    border-radius: 8px;
    border: 1px solid var(--line);
    object-fit: cover;
    background: var(--tag-bg);
}

.identity__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 4px;
}

.identity__name {
    margin: 0;
    font-weight: 900;
    font-size: clamp(2rem, 3vw + 1rem, 2.75rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.identity__title {
    margin: 2px 0 0;
    font-weight: 600;
    font-style: italic;
    font-size: 20px;
    color: var(--accent);
}

.identity__subtitle {
    margin: 0;
    font-size: 15px;
    color: var(--muted);
}

.identity__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.identity__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    color: var(--muted);
}

.identity__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.identity__meta-item svg {
    flex: none;
}

.identity__stack {
    font-size: 14px;
    line-height: 1.6;
    color: var(--ink-soft);
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.identity__stack-label {
    font-weight: 700;
    color: var(--ink);
}

/* Generic content section (summary, experience, education, highlights) */

.resume-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.resume-section:last-of-type {
    padding-bottom: 88px;
}

.resume-section__body {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink-soft);
    max-width: 760px;
}

/* Core Skills grid */

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.skill-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
}

.skill-card__title {
    margin: 0;
    font-weight: 800;
    font-size: 16px;
}

.skill-card__desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--ink-soft);
}

/* Experience list */

.experience-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.experience-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.experience-item__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.experience-item__role {
    font-weight: 800;
    font-size: 20px;
    line-height: 1.3;
}

.experience-item__meta {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.experience-item__location {
    font-size: 14px;
    color: var(--muted);
}

.experience-item__duration {
    font-size: 13px;
    line-height: 1.4;
    color: var(--muted);
    white-space: nowrap;
}

.bullet-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bullet-list li {
    position: relative;
    padding-left: 20px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink-soft);
}

.bullet-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 1px;
}

/* Education */

.education-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.education-item__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.education-item__degree {
    margin: 0;
    font-weight: 800;
    font-size: 18px;
}

.education-item__year {
    font-size: 13px;
    color: var(--muted);
    white-space: nowrap;
}

.education-item__university {
    margin: 0;
    font-size: 15px;
    color: var(--muted);
}

/* Responsive */

@media (max-width: 900px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .identity {
        padding-top: 40px;
    }

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

    .experience-item__role {
        font-size: 18px;
    }
}
