﻿:root {
    --paper: #fcfaf6;
    --surface: #ffffff;
    --ink: #141c24;
    --muted: #56616d;
    --line: rgba(20, 28, 36, 0.12);
    --teal: #0f766e;
    --shadow: 0 22px 60px rgba(20, 28, 36, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    background:
        radial-gradient(circle at top left, rgba(15, 118, 110, 0.1), transparent 24%),
        linear-gradient(180deg, #f5efe5 0%, #fcfaf6 100%);
    color: var(--ink);
    font-family: "Manrope", "Segoe UI", sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 32px 20px 64px;
}

a {
    color: inherit;
}

.resume-page {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 28px;
    box-shadow: var(--shadow);
    margin: 0 auto;
    max-width: 980px;
    padding: 42px;
}

.resume-hero {
    align-items: start;
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 24px;
    justify-content: space-between;
    padding-bottom: 28px;
}

.resume-kicker {
    color: var(--teal);
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.resume-hero h1,
.resume-block h2 {
    font-family: "Fraunces", Georgia, serif;
}

.resume-hero h1 {
    font-size: clamp(2.6rem, 7vw, 4.2rem);
    line-height: 0.98;
    margin: 0;
}

.resume-subtitle {
    color: var(--muted);
    margin: 18px 0 0;
    max-width: 62ch;
}

.resume-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: end;
}

.resume-actions a {
    background: rgba(20, 28, 36, 0.05);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-weight: 800;
    min-height: 46px;
    padding: 11px 18px;
    text-decoration: none;
}

.resume-updated {
    color: var(--muted);
    flex-basis: 100%;
    font-size: 0.92rem;
    font-weight: 800;
    text-align: right;
}

.resume-block {
    padding-top: 28px;
}

.resume-topline {
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    gap: 14px 22px;
}

.resume-topline a {
    color: var(--ink);
    font-weight: 700;
}

.resume-block h2 {
    font-size: 1.7rem;
    line-height: 1.1;
    margin: 0 0 14px;
}

.resume-block p,
.resume-block li {
    color: var(--muted);
}

.resume-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.resume-block ul {
    margin: 0;
    padding-left: 18px;
}

.snapshot-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.snapshot-grid div,
.experience-list article {
    background: rgba(20, 28, 36, 0.03);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 18px;
}

.snapshot-grid span {
    color: var(--teal);
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.snapshot-grid p,
.experience-head p {
    margin: 0;
}

.experience-list {
    display: grid;
    gap: 16px;
}

.experience-head {
    align-items: baseline;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 10px;
}

.experience-head h3 {
    margin: 0;
}

@media (max-width: 760px) {
    .resume-page {
        padding: 28px;
    }

    .resume-hero,
    .resume-grid,
    .snapshot-grid,
    .experience-head {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .resume-actions {
        justify-content: start;
    }

    .resume-updated {
        text-align: left;
    }
}

@media print {
    body {
        background: #ffffff;
        padding: 0;
    }

    .resume-page {
        border: none;
        box-shadow: none;
        max-width: none;
        padding: 0;
    }

    .resume-actions {
        display: none;
    }
}
