:root {
    --resume-bg: #e8edf4;
    --resume-paper: #ffffff;
    --resume-ink: #111827;
    --resume-muted: #74777f;
    --resume-rule: #b5b5b5;
    --resume-sidebar: #455e83;
    --resume-sidebar-deep: #314969;
    --resume-sidebar-rule: #8ba2c0;
    --resume-sidebar-label: #a7c8e8;
    --resume-accent: #0d5f91;
    --resume-accent-soft: #e9f3fb;
    --resume-shadow: 0 28px 80px rgb(15 23 42 / 18%);
    --font-body: "Segoe UI", Arial, sans-serif;
    --font-display: Georgia, "Times New Roman", serif;
    --text-xs: 0.83rem;
    --text-sm: 0.9rem;
    --text-body: 1rem;
    --text-body-lg: 1.05rem;
    --text-card-title: 1.08rem;
    --text-section-title: 2.15rem;
    --text-hero-name: 3.65rem;
    --text-hero-contact: 1.3rem;
    --text-hero-title: 1.16rem;
    --weight-title: 800;
    --weight-subtitle: 650;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    background: var(--resume-bg);
    color: var(--resume-ink);
    font-family: var(--font-body);
    letter-spacing: 0;
}

a {
    color: inherit;
}

a:focus-visible {
    outline: 3px solid #9ed8ff;
    outline-offset: 4px;
}

button {
    font: inherit;
}

.resume-stage {
    min-height: 100vh;
    padding: 28px;
    background: var(--resume-bg);
}

.resume-stage--pdf {
    min-height: 0;
    padding: 0;
    background: #ffffff;
}

.resume-actions {
    width: min(100%, 1200px);
    margin: 0 auto 14px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    position: sticky;
    top: 12px;
    z-index: 10;
}

.resume-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid rgb(255 255 255 / 70%);
    border-radius: 8px;
    background: rgb(15 38 69 / 92%);
    color: #ffffff;
    box-shadow: 0 12px 30px rgb(15 23 42 / 18%);
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
}

.resume-action:hover {
    background: #0d5f91;
    color: #ffffff;
    text-decoration: none;
}

.resume-action:disabled {
    cursor: progress;
    opacity: 0.68;
}

.resume-action svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.resume-document {
    width: min(100%, 1200px);
    margin: 0 auto;
    overflow: hidden;
    background: var(--resume-paper);
    border: 1px solid #d2dae7;
    box-shadow: var(--resume-shadow);
}

.resume-document--pdf {
    width: 100%;
    max-width: none;
    border: 0;
    box-shadow: none;
    overflow: visible;
}

.resume-loading {
    min-height: 320px;
    display: grid;
    grid-template-rows: auto auto auto;
    gap: 14px;
    place-items: center;
    color: var(--resume-muted);
    font-size: 1.1rem;
}

.resume-loading__mark {
    width: 46px;
    height: 46px;
    border: 4px solid #c7d3e3;
    border-top-color: var(--resume-accent);
    border-radius: 50%;
    animation: resume-spin 0.9s linear infinite;
}

.resume-loading__bar {
    width: min(260px, 70vw);
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #d8e2ef;
}

.resume-loading__bar::before {
    content: "";
    display: block;
    width: 42%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #0d5f91, #69b9e9);
    animation: resume-load-bar 1.25s ease-in-out infinite;
}

.resume-hero {
    min-height: 330px;
    position: relative;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    align-items: center;
    padding: 54px 74px 54px 72px;
    border-bottom: 6px solid #4f7bb8;
    background-image:
        linear-gradient(90deg, rgb(12 32 64 / var(--resume-hero-overlay-start-opacity, 0.92)), rgb(14 48 86 / var(--resume-hero-overlay-end-opacity, 0.78))),
        var(--resume-hero-image);
    background-position: center;
    background-size: cover;
    color: #ffffff;
}

.resume-hero::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: rgb(255 255 255 / 80%);
}

.resume-hero__portrait-wrap {
    position: relative;
    z-index: 2;
    align-self: end;
    transform: translateY(78px);
}

.resume-hero__portrait {
    width: 220px;
    height: 220px;
    display: block;
    object-fit: cover;
    border: 4px solid rgb(255 255 255 / 65%);
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 18px 40px rgb(0 0 0 / 35%);
}

.resume-hero__content {
    position: relative;
    z-index: 1;
    width: 100%;
    min-width: 0;
    max-width: none;
    text-align: center;
}

.resume-hero h1 {
    margin: 0 0 8px;
    font-family: var(--resume-hero-name-font-family, var(--font-display));
    font-size: var(--resume-hero-name-font-size, var(--text-hero-name));
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: 0;
    white-space: nowrap;
}

.resume-hero h1:focus,
.section-heading h2:focus {
    outline: none;
}

.resume-hero__contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 0.65rem;
    margin: 0 0 12px;
    font-size: var(--resume-hero-contact-font-size, var(--text-hero-contact));
    font-weight: 700;
    line-height: 1.25;
}

.resume-hero__contact a {
    text-decoration: none;
}

.resume-hero__contact a:hover {
    text-decoration: underline;
}

.resume-hero__title {
    margin: 0;
    font-size: var(--resume-hero-title-font-size, var(--text-hero-title));
    font-weight: var(--weight-title);
    line-height: 1.35;
}

.resume-grid {
    display: grid;
    grid-template-columns: 382px minmax(0, 1fr);
    align-items: stretch;
}

.resume-sidebar {
    min-height: 100%;
    padding: 106px 28px 56px;
    background: linear-gradient(180deg, var(--resume-sidebar), var(--resume-sidebar-deep));
    color: #ffffff;
}

.sidebar-section {
    margin: 0 0 24px;
}

.sidebar-section:last-child {
    margin-bottom: 0;
}

.sidebar-section h2 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 1.48rem;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: 0;
}

.sidebar-section dl {
    margin: 0;
}

.sidebar-row {
    display: grid;
    grid-template-columns: minmax(90px, 0.86fr) minmax(0, 1.4fr);
    gap: 12px;
    align-items: center;
    min-height: 40px;
    padding: 8px 4px;
    border-top: 2px solid var(--resume-sidebar-rule);
}

.sidebar-row:last-child {
    border-bottom: 2px solid var(--resume-sidebar-rule);
}

.sidebar-row dt {
    color: var(--resume-sidebar-label);
    font-size: var(--text-sm);
    font-weight: var(--weight-title);
    line-height: 1.25;
}

.sidebar-row dd {
    margin: 0;
    color: #ffffff;
    font-size: var(--text-sm);
    font-weight: var(--weight-title);
    line-height: 1.25;
    text-align: right;
    overflow-wrap: anywhere;
}

.sidebar-row dd a {
    color: inherit;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.sidebar-row dd a:hover {
    text-decoration: underline;
}

.sidebar-section__close {
    margin-top: 8px;
    color: #ffffff;
    font-size: 1.45rem;
    font-weight: 300;
    line-height: 1;
}

.resume-content {
    padding: 8px 60px 64px;
    background: #ffffff;
}

.resume-section {
    margin: 0 0 30px;
}

.resume-section:last-child {
    margin-bottom: 0;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 22px;
    margin: 0 0 14px;
    border-bottom: 6px solid var(--resume-rule);
}

.section-heading__dot {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    border-radius: 50%;
    background: #000000;
}

.section-heading h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: var(--text-section-title);
    font-weight: 400;
    line-height: 1.16;
    letter-spacing: 0;
}

.section-copy {
    padding-left: 10px;
}

.section-copy p {
    margin: 0 0 16px;
    font-size: var(--text-body-lg);
    line-height: 1.55;
    text-align: justify;
}

.section-copy p:last-child {
    margin-bottom: 0;
}

.timeline-list {
    display: grid;
    gap: 10px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 210px 34px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-height: 64px;
}

.timeline-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 58px;
    color: #1d2b44;
    text-align: center;
}

.timeline-brand img {
    max-width: 170px;
    max-height: 58px;
    object-fit: contain;
}

.timeline-brand small {
    color: #1f2937;
    font-size: var(--text-xs);
}

.timeline-separator {
    color: #858585;
    font-size: 1.2rem;
    text-align: center;
}

.timeline-copy h3 {
    margin: 0;
    color: #101010;
    font-size: var(--text-body-lg);
    font-weight: var(--weight-subtitle);
    line-height: 1.35;
}

.timeline-copy p {
    margin: 3px 0 0;
    color: #898989;
    font-size: var(--text-sm);
    line-height: 1.25;
    text-align: right;
}

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

.experience-group {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    padding: 15px 16px;
    border: 1px solid #d9e1ec;
    border-radius: 8px;
    background: #ffffff;
}

.experience-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 74px;
    color: #1d2b44;
    text-align: center;
}

.experience-brand img {
    max-width: 168px;
    max-height: 62px;
    object-fit: contain;
}

.experience-brand small {
    color: #4b5563;
    font-size: 0.83rem;
}

.experience-group__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    gap: 16px;
    align-items: start;
}

.experience-group__header h3 {
    margin: 0;
    color: #0d1b2a;
    font-size: var(--text-card-title);
    font-weight: var(--weight-title);
    line-height: 1.3;
}

.experience-group__header span {
    color: var(--resume-muted);
    font-size: var(--text-sm);
    font-weight: var(--weight-title);
    white-space: nowrap;
}

.experience-roles {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}

.experience-role {
    position: relative;
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 10px;
}

.experience-role:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 17px;
    bottom: -13px;
    left: 5px;
    width: 2px;
    background: #c8d5e3;
}

.experience-role__marker {
    width: 12px;
    height: 12px;
    margin-top: 4px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    background: var(--resume-accent);
    box-shadow: 0 0 0 2px #b8d3e7;
    z-index: 1;
}

.experience-role h4 {
    margin: 0;
    color: #101010;
    font-size: var(--text-body-lg);
    font-weight: var(--weight-subtitle);
    line-height: 1.35;
}

.experience-role p {
    margin: 3px 0 0;
    color: #898989;
    font-size: var(--text-sm);
    line-height: 1.25;
}

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

.education-card {
    padding: 18px 20px;
    border: 1px solid #d9e1ec;
    border-radius: 8px;
    background: #ffffff;
}

.education-card__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    gap: 18px;
    align-items: start;
    padding-bottom: 12px;
    border-bottom: 1px solid #d7dee8;
}

.education-card__header h3 {
    margin: 0;
    color: #0d1b2a;
    font-size: var(--text-card-title);
    font-weight: var(--weight-title);
    line-height: 1.35;
}

.education-card__header span {
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--resume-accent-soft);
    color: var(--resume-accent);
    font-size: var(--text-xs);
    font-weight: var(--weight-title);
    white-space: nowrap;
}

.education-details {
    display: grid;
    gap: 8px;
    margin-top: 14px;
    padding-left: 16px;
    border-left: 4px solid var(--resume-accent);
}

.education-details p {
    margin: 0;
    color: #4b5563;
    font-size: var(--text-body);
    line-height: 1.4;
}

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

.certification-group {
    padding: 18px 20px;
    border: 1px solid #d9e1ec;
    border-radius: 8px;
    background: #ffffff;
}

.certification-group__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    gap: 18px;
    align-items: start;
    padding-bottom: 12px;
    border-bottom: 1px solid #d7dee8;
}

.certification-group__header h3 {
    margin: 0;
    color: #0d1b2a;
    font-size: var(--text-card-title);
    font-weight: var(--weight-title);
    line-height: 1.35;
}

.certification-group__header p {
    margin: 4px 0 0;
    color: var(--resume-muted);
    font-size: var(--text-sm);
    line-height: 1.4;
}

.certification-group__header span {
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--resume-accent-soft);
    color: var(--resume-accent);
    font-size: var(--text-xs);
    font-weight: var(--weight-title);
    white-space: nowrap;
}

.certification-items {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.certification-item {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 18px;
    padding-left: 16px;
    border-left: 4px solid var(--resume-accent);
}

.certification-badge {
    width: 96px;
    height: 96px;
    display: grid;
    place-items: center;
    align-self: start;
    overflow: hidden;
    border: 1px solid #d9e1ec;
    border-radius: 8px;
    background: #ffffff;
}

.certification-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.certification-copy {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
}

.certification-topline {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    gap: 28px;
    align-items: start;
}

.certification-item h4 {
    margin: 0;
    color: #101010;
    font-size: var(--text-body-lg);
    font-weight: var(--weight-title);
    line-height: 1.35;
}

.certification-heading p {
    margin: 3px 0 0;
    color: #4b5563;
    font-size: var(--text-sm);
    line-height: 1.35;
}

.certification-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    color: var(--resume-muted);
    font-size: var(--text-sm);
    font-weight: var(--weight-title);
    line-height: 1.3;
    text-align: right;
    white-space: nowrap;
}

.certification-meta small {
    color: var(--resume-muted);
    font-size: var(--text-xs);
}

.certification-meta a {
    color: var(--resume-accent);
    font-weight: var(--weight-title);
    text-decoration: none;
}

.certification-meta a:hover {
    text-decoration: underline;
}

.certification-item ul {
    margin: 0;
    padding-left: 1.2rem;
}

.certification-item li {
    margin: 0 0 4px;
    line-height: 1.4;
}

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

.skill-card {
    padding: 18px 20px;
    border: 1px solid #d9e1ec;
    border-radius: 8px;
    background: #ffffff;
}

.skill-card__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    gap: 18px;
    align-items: start;
    padding-bottom: 12px;
    border-bottom: 1px solid #d7dee8;
}

.skill-card__header h3 {
    margin: 0;
    color: #0d1b2a;
    font-size: var(--text-card-title);
    font-weight: var(--weight-title);
    line-height: 1.35;
}

.skill-card__header span {
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--resume-accent-soft);
    color: var(--resume-accent);
    font-size: var(--text-xs);
    font-weight: var(--weight-title);
    white-space: nowrap;
}

.skill-items,
.project-highlights,
.project-detail-group ul {
    margin: 0;
    padding-left: 1.2rem;
}

.skill-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 7px 28px;
    margin-top: 14px;
    padding-left: 1.45rem;
    border-left: 4px solid var(--resume-accent);
}

.skill-items li,
.project-highlights li,
.project-detail-group li {
    margin: 0 0 4px;
    line-height: 1.4;
}

.skill-items li {
    color: #4b5563;
}

.project-list {
    display: grid;
    gap: 18px;
}

.project-card {
    padding: 18px 20px 18px 22px;
    border-left: 5px solid var(--resume-accent);
    border-radius: 8px;
    background: #f8fafc;
}

.project-card__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    gap: 18px;
    align-items: start;
    margin-bottom: 10px;
}

.project-card h3 {
    margin: 0;
    color: #0d1b2a;
    font-size: var(--text-card-title);
    font-weight: var(--weight-title);
    line-height: 1.35;
}

.project-card__header p {
    margin: 3px 0 0;
    color: var(--resume-muted);
    font-size: var(--text-sm);
    line-height: 1.35;
}

.project-card__header span {
    color: var(--resume-muted);
    font-size: var(--text-sm);
    font-weight: var(--weight-title);
    white-space: nowrap;
}

.project-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #d7dee8;
}

.project-detail-group h4 {
    margin: 0 0 6px;
    color: var(--resume-accent);
    font-size: var(--text-sm);
    font-weight: var(--weight-title);
    line-height: 1.3;
}

@media (prefers-reduced-motion: no-preference) {
    .animate-in {
        opacity: 0;
        animation: resume-entry 0.62s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
        animation-delay: var(--entry-delay, 0ms);
    }

    .resume-hero__portrait {
        animation: portrait-settle 0.72s cubic-bezier(0.2, 0.8, 0.2, 1) both;
        animation-delay: 120ms;
    }

    .hover-lift {
        transition:
            transform 180ms ease,
            background-color 180ms ease,
            box-shadow 180ms ease;
    }

    .hover-lift:hover {
        transform: translateY(-2px);
    }

    .timeline-item:hover,
    .education-card:hover,
    .skill-card:hover,
    .certification-group:hover,
    .experience-group:hover {
        border-radius: 8px;
        background: var(--resume-accent-soft);
    }

    .project-card:hover {
        box-shadow: 0 16px 34px rgb(13 95 145 / 14%);
    }
}

@keyframes resume-entry {
    from {
        opacity: 0;
        transform: translateY(18px);
        filter: blur(3px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes portrait-settle {
    from {
        opacity: 0;
        transform: scale(0.94) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes resume-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes resume-load-bar {
    0% {
        transform: translateX(-110%);
    }

    50% {
        transform: translateX(65%);
    }

    100% {
        transform: translateX(250%);
    }
}

@media (max-width: 980px) {
    .resume-stage {
        padding: 16px;
    }

    .resume-hero {
        min-height: 0;
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 22px;
        padding: 34px 32px 38px;
    }

    .resume-hero__portrait-wrap {
        align-self: center;
        transform: none;
    }

    .resume-hero__portrait {
        width: 170px;
        height: 170px;
    }

    .resume-hero h1 {
        font-size: min(var(--resume-hero-name-font-size, 3.1rem), 3.1rem);
        white-space: normal;
        text-wrap: balance;
    }

    .resume-hero__contact {
        font-size: min(var(--resume-hero-contact-font-size, 1.15rem), 1.15rem);
    }

    .resume-hero__title {
        font-size: min(var(--resume-hero-title-font-size, 1.12rem), 1.12rem);
    }

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

    .resume-sidebar {
        padding: 32px;
    }

    .resume-content {
        padding: 34px 32px 48px;
    }

    .timeline-item {
        grid-template-columns: 160px 24px minmax(0, 1fr);
    }

    .experience-group {
        grid-template-columns: 150px minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    .resume-stage {
        padding: 0;
    }

    .resume-actions {
        margin: 0;
        padding: 10px;
        justify-content: stretch;
        background: rgb(232 237 244 / 94%);
    }

    .resume-action {
        flex: 1;
        justify-content: center;
        padding: 0 10px;
        font-size: 0.9rem;
    }

    .resume-document {
        border: 0;
        box-shadow: none;
    }

    .resume-hero {
        padding: 28px 22px 32px;
    }

    .resume-hero h1 {
        font-size: min(var(--resume-hero-name-font-size, 2.45rem), 2.45rem);
    }

    .resume-hero__contact {
        font-size: min(var(--resume-hero-contact-font-size, 1rem), 1rem);
    }

    .resume-sidebar,
    .resume-content {
        padding-right: 22px;
        padding-left: 22px;
    }

    .sidebar-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .sidebar-row dd {
        text-align: left;
    }

    .section-heading {
        gap: 14px;
    }

    .section-heading h2 {
        font-size: 1.85rem;
    }

    .section-copy {
        padding-left: 0;
    }

    .section-copy p {
        text-align: left;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 10px 0;
        border-bottom: 1px solid #e3e7ee;
    }

    .timeline-item:last-child {
        border-bottom: 0;
    }

    .timeline-brand {
        align-items: flex-start;
        min-height: 0;
        text-align: left;
    }

    .timeline-brand img {
        max-width: 180px;
    }

    .timeline-separator {
        display: none;
    }

    .timeline-copy p {
        text-align: left;
    }

    .experience-group,
    .experience-group__header {
        grid-template-columns: 1fr;
    }

    .experience-brand {
        align-items: flex-start;
        min-height: 0;
        text-align: left;
    }

    .experience-brand img {
        max-width: 180px;
    }

    .experience-group__header span {
        white-space: normal;
    }

    .education-card__header,
    .certification-group__header,
    .certification-item,
    .certification-copy,
    .certification-topline,
    .skill-card__header,
    .project-card__header,
    .project-detail-grid {
        grid-template-columns: 1fr;
    }

    .education-card__header span,
    .certification-group__header span,
    .skill-card__header span,
    .project-card__header span {
        padding-top: 0;
        white-space: normal;
    }

    .certification-meta {
        align-items: flex-start;
        text-align: left;
        white-space: normal;
    }

    .certification-item ul {
        grid-column: 1;
    }

    .skill-items {
        grid-template-columns: 1fr;
    }
}

@page {
    size: A4;
    margin: 0;
}

@media print {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        filter: none !important;
    }

    html,
    body {
        width: 1200px;
        margin: 0 !important;
        background: #ffffff;
    }

    .resume-stage {
        background: #ffffff;
    }

    body {
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }

    .animate-in,
    .resume-hero__portrait {
        opacity: 1 !important;
        transform: none !important;
    }

    .resume-actions {
        display: none !important;
    }

    .resume-stage {
        padding: 0;
        min-height: 0;
        width: 1200px;
    }

    .resume-document {
        width: 1200px;
        min-width: 1200px;
        max-width: 1200px;
        overflow: visible;
        border: 0;
        box-shadow: none;
    }

    .resume-hero {
        min-height: 330px;
        display: grid;
        grid-template-columns: 280px minmax(0, 1fr);
        align-items: center;
        justify-items: stretch;
        gap: 0;
        padding: 54px 74px 54px 72px;
    }

    .resume-hero__portrait-wrap {
        align-self: end;
        transform: translateY(78px) !important;
    }

    .resume-hero__portrait {
        width: 220px;
        height: 220px;
    }

    .resume-hero__content {
        text-align: center;
    }

    .resume-hero h1 {
        font-size: var(--resume-hero-name-font-size, var(--text-hero-name));
        line-height: 1.02;
        white-space: nowrap;
    }

    .resume-hero__contact {
        justify-content: center;
        margin-bottom: 12px;
        font-size: var(--resume-hero-contact-font-size, var(--text-hero-contact));
        line-height: 1.25;
    }

    .resume-hero__title {
        font-size: var(--resume-hero-title-font-size, var(--text-hero-title));
        line-height: 1.35;
    }

    .resume-grid {
        display: grid;
        grid-template-columns: 382px minmax(0, 1fr);
        align-items: stretch;
    }

    .resume-sidebar {
        padding: 106px 28px 56px;
    }

    .sidebar-section {
        margin-bottom: 24px;
    }

    .sidebar-section h2 {
        font-size: 1.48rem;
    }

    .sidebar-row {
        grid-template-columns: minmax(90px, 0.86fr) minmax(0, 1.4fr);
        gap: 12px;
        min-height: 40px;
        padding: 8px 4px;
    }

    .sidebar-row dt,
    .sidebar-row dd {
        font-size: var(--text-sm);
        line-height: 1.25;
    }

    .sidebar-row dd {
        text-align: right;
    }

    .sidebar-section__close {
        font-size: 1.45rem;
    }

    .resume-content {
        padding: 8px 60px 64px;
    }

    .section-heading {
        gap: 22px;
        margin-bottom: 14px;
        border-bottom-width: 6px;
    }

    .section-heading__dot {
        width: 10px;
        height: 10px;
        flex-basis: 10px;
    }

    .section-heading h2 {
        font-size: var(--text-section-title);
        line-height: 1.16;
    }

    .section-copy {
        padding-left: 10px;
    }

    .section-copy p {
        font-size: var(--text-body-lg);
        line-height: 1.55;
        text-align: justify;
    }

    .timeline-item {
        grid-template-columns: 210px 34px minmax(0, 1fr);
        gap: 10px;
        padding: 0;
        border-bottom: 0;
    }

    .timeline-brand {
        align-items: center;
        min-height: 58px;
        text-align: center;
    }

    .timeline-separator {
        display: block;
    }

    .timeline-copy p {
        text-align: right;
    }

    .experience-group {
        grid-template-columns: 190px minmax(0, 1fr);
        gap: 22px;
    }

    .experience-brand {
        align-items: center;
        min-height: 74px;
        text-align: center;
    }

    .experience-group__header {
        grid-template-columns: minmax(0, 1fr) max-content;
    }

    .education-card__header,
    .certification-group__header,
    .certification-item,
    .certification-topline,
    .skill-card__header,
    .project-card__header {
        grid-template-columns: minmax(0, 1fr) max-content;
    }

    .certification-item {
        grid-template-columns: 104px minmax(0, 1fr);
    }

    .certification-copy {
        grid-template-columns: 1fr;
    }

    .certification-meta {
        align-items: flex-end;
        text-align: right;
        white-space: nowrap;
    }

    .skill-items {
        grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    }

    .project-detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .resume-section {
        break-inside: auto;
    }

    .timeline-item,
    .experience-group,
    .education-card,
    .certification-group,
    .certification-item,
    .skill-card,
    .project-card {
        break-inside: avoid;
    }
}
