.cv-language-switch {
    padding: 18px clamp(18px, 4vw, 48px) 0;
    text-align: right;
    background: #f7f5ef;
}

.cv-language-switch a {
    color: #234c63;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
}

.cv-language-switch a:hover {
    color: #b58a44;
}

.cv-page {
    --ink: #161a1d;
    --muted: #5e646b;
    --line: #d9ded9;
    --paper: #f7f5ef;
    --surface: #ffffff;
    --sage: #5f796c;
    --blue: #234c63;
    --gold: #b58a44;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.cv-hero {
    padding: 54px 0 76px;
    background: #f7f5ef;
    border-bottom: 1px solid var(--line);
}

.cv-kicker {
    margin: 0 0 12px;
    color: var(--sage);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.cv-title {
    max-width: 760px;
    margin: 0;
    font-size: clamp(3rem, 7vw, 5.6rem);
    line-height: 0.98;
    font-weight: 700;
    letter-spacing: 0;
}

.cv-subtitle {
    margin: 26px 0 0;
    color: #30363b;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    line-height: 1.45;
    font-weight: 600;
}

.cv-focus {
    max-width: 680px;
    margin: 10px 0 0;
    color: var(--muted);
    font-size: clamp(1.02rem, 1.6vw, 1.2rem);
    line-height: 1.7;
}

.cv-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.cv-hero-actions a,
.cv-download-button {
    min-width: 132px;
    padding: 0.78rem 1.05rem;
    border: 1px solid #161a1d;
    border-radius: 6px;
    color: #161a1d;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.cv-hero-actions a:first-child,
.cv-download-button {
    color: #ffffff;
    background: #161a1d;
}

.cv-hero-actions a:hover {
    color: #ffffff;
    background: #234c63;
    border-color: #234c63;
}

.cv-photo-col {
    display: flex;
    justify-content: flex-end;
}

.cv-photo-frame {
    width: min(100%, 330px);
    padding: 12px;
    background: #ffffff;
    border: 1px solid rgba(22, 26, 29, 0.08);
    border-radius: 8px;
    box-shadow: 0 22px 56px rgba(22, 26, 29, 0.1);
}

.cv-photo-frame img {
    display: block;
    width: 100%;
    border-radius: 6px;
}

.cv-body {
    padding-top: 78px;
    padding-bottom: 88px;
}

.cv-section {
    margin-bottom: 64px;
}

.cv-card-row {
    margin-top: 8px;
    margin-bottom: 34px;
}

.cv-card-row--lower {
    margin-top: 18px;
}

.cv-summary {
    max-width: 980px;
}

.cv-section-title {
    max-width: 900px;
    margin: 0 0 28px;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.08;
    font-weight: 650;
    letter-spacing: 0;
}

.cv-copy {
    column-count: 2;
    column-gap: 46px;
}

.cv-copy p {
    margin: 0 0 18px;
    break-inside: avoid;
    color: var(--muted);
    font-size: 1.04rem;
    line-height: 1.82;
}

.cv-timeline {
    display: grid;
    gap: 18px;
}

.cv-experience,
.cv-panel {
    background: var(--surface);
    border: 1px solid rgba(22, 26, 29, 0.09);
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(22, 26, 29, 0.06);
}

.cv-experience {
    padding: 28px 30px;
}

.cv-experience h3 {
    margin: 0 0 16px;
    color: #17242a;
    font-size: 1.22rem;
    line-height: 1.3;
    font-weight: 700;
}

.cv-experience ul,
.cv-panel ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 1.1rem;
}

.cv-experience li,
.cv-panel li {
    color: var(--muted);
    line-height: 1.65;
}

.cv-panel {
    height: 100%;
    padding: 32px;
}

.cv-card-row--lower .cv-panel {
    border-top: 4px solid rgba(181, 138, 68, 0.55);
}

.cv-panel-title {
    margin: 0 0 20px;
    font-size: 1.45rem;
    line-height: 1.25;
    font-weight: 650;
}

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

.cv-publication {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.cv-publication:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.cv-publication h3 {
    margin: 0;
    color: #17242a;
    font-size: 1rem;
    line-height: 1.48;
    font-weight: 700;
}

.cv-publication a {
    display: inline-block;
    margin-top: 6px;
    color: var(--blue);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    word-break: break-word;
}

.cv-publication a:hover {
    color: var(--gold);
}

.cv-download {
    padding: 0 0 72px;
    text-align: center;
    background: var(--paper);
}

@media (max-width: 991px) {
    .cv-photo-col {
        justify-content: flex-start;
    }

    .cv-photo-frame {
        width: 240px;
    }

    .cv-copy {
        column-count: 1;
    }
}

@media (max-width: 575px) {
    .cv-language-switch {
        padding: 14px 16px 0;
        text-align: left;
    }

    .cv-hero {
        padding: 42px 0 56px;
    }

    .cv-body {
        padding-top: 56px;
        padding-bottom: 60px;
    }

    .cv-section {
        margin-bottom: 46px;
    }

    .cv-hero-actions {
        width: 100%;
    }

    .cv-hero-actions a,
    .cv-download-button {
        width: 100%;
    }

    .cv-photo-frame {
        width: 190px;
    }

    .cv-experience,
    .cv-panel {
        padding: 24px;
    }
}
