:root {
    --page: #eef3f4;
    --surface: #ffffff;
    --surface-soft: #f5f8f8;
    --ink: #142a36;
    --muted: #5c6d75;
    --faint: #5f727a;
    --border: #dce5e7;
    --hero: #0b2633;
    --hero-deep: #071d28;
    --hero-ink: #f7fbfb;
    --hero-muted: #c4d4d8;
    --accent: #64dbc2;
    --accent-strong: #087a69;
    --accent-soft: #e3f7f2;
    --accent-ring: rgba(100, 219, 194, 0.28);
    --shadow: 0 22px 55px rgba(24, 52, 62, 0.09);
    --shadow-soft: 0 12px 30px rgba(24, 52, 62, 0.07);
    --radius: 22px;
    --radius-large: 30px;
    --page-width: 1180px;
}

:root[data-theme="dark"] {
    --page: #07151c;
    --surface: #0e222c;
    --surface-soft: #112a35;
    --ink: #ecf5f5;
    --muted: #adbec3;
    --faint: #82979e;
    --border: #213c47;
    --hero: #0a202b;
    --hero-deep: #061821;
    --hero-ink: #f7fbfb;
    --hero-muted: #b8cdd1;
    --accent: #67dec5;
    --accent-strong: #82e6d1;
    --accent-soft: #123b3a;
    --accent-ring: rgba(103, 222, 197, 0.22);
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
    --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.15);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) {
        --page: #07151c;
        --surface: #0e222c;
        --surface-soft: #112a35;
        --ink: #ecf5f5;
        --muted: #adbec3;
        --faint: #82979e;
        --border: #213c47;
        --hero: #0a202b;
        --hero-deep: #061821;
        --hero-ink: #f7fbfb;
        --hero-muted: #b8cdd1;
        --accent: #67dec5;
        --accent-strong: #82e6d1;
        --accent-soft: #123b3a;
        --accent-ring: rgba(103, 222, 197, 0.22);
        --shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
        --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.15);
    }
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 28px;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--page);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    transition: background-color 180ms ease, color 180ms ease;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    font: inherit;
}

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}

img,
svg {
    display: block;
}

img {
    max-width: 100%;
}

::selection {
    background: var(--accent);
    color: #082229;
}

:focus-visible {
    outline: 3px solid var(--accent-strong);
    outline-offset: 4px;
}

.site-header :focus-visible {
    outline-color: var(--accent);
}

.page-shell {
    width: min(var(--page-width), calc(100% - 48px));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    z-index: 100;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--surface);
    color: var(--ink);
    font-weight: 700;
    transform: translateY(-180%);
    transition: transform 150ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 22%, rgba(100, 219, 194, 0.14), transparent 25rem),
        linear-gradient(135deg, var(--hero-deep), var(--hero));
    color: var(--hero-ink);
    isolation: isolate;
}

.site-header::after {
    position: absolute;
    z-index: -1;
    right: -120px;
    bottom: -180px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    box-shadow:
        0 0 0 55px rgba(255, 255, 255, 0.018),
        0 0 0 110px rgba(255, 255, 255, 0.012);
    content: "";
}

.header-glow {
    position: absolute;
    z-index: -1;
    top: -180px;
    left: 9%;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: rgba(100, 219, 194, 0.08);
    filter: blur(20px);
}

.topbar {
    display: flex;
    min-height: 78px;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wordmark {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--hero-ink);
    font-weight: 760;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.wordmark-mark {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
}

.topbar-actions,
.nav-links {
    display: flex;
    align-items: center;
}

.topbar-actions {
    gap: 24px;
}

.nav-links {
    gap: 28px;
}

.nav-links a {
    color: var(--hero-muted);
    font-size: 0.9rem;
    font-weight: 650;
    text-decoration: none;
    transition: color 150ms ease;
}

.nav-links a:hover {
    color: var(--hero-ink);
}

.theme-toggle {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    color: var(--hero-ink);
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 700;
    transition: background-color 150ms ease, border-color 150ms ease;
}

.theme-toggle:hover {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
}

.theme-icon {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.theme-icon-sun,
:root[data-theme="dark"] .theme-icon-moon {
    display: none;
}

:root[data-theme="dark"] .theme-icon-sun {
    display: block;
}

.hero {
    display: grid;
    min-height: 550px;
    grid-template-columns: minmax(0, 1.48fr) minmax(300px, 0.72fr);
    align-items: center;
    gap: clamp(48px, 8vw, 104px);
    padding-block: 64px 82px;
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.eyebrow,
.section-kicker {
    margin: 0;
    color: var(--accent-strong);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero .eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent);
}

.status-dot {
    position: relative;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 6px var(--accent-ring);
}

.hero h1 {
    max-width: 760px;
    margin: 24px 0 22px;
    font-size: clamp(3rem, 6vw, 5.2rem);
    font-weight: 480;
    letter-spacing: -0.06em;
    line-height: 0.98;
}

.hero h1 strong {
    color: var(--accent);
    font-weight: 760;
}

.hero-summary {
    max-width: 690px;
    margin: 0;
    color: var(--hero-muted);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.65;
}

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

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 18px;
    border: 1px solid transparent;
    border-radius: 14px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 750;
    line-height: 1;
    text-decoration: none;
    transition: transform 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

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

.button svg,
.contact-list svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.button-primary {
    background: var(--accent);
    color: #09262b;
    box-shadow: 0 12px 28px rgba(100, 219, 194, 0.16);
}

.button-primary:hover {
    background: #7ce5cf;
}

.button-secondary {
    border-color: rgba(255, 255, 255, 0.17);
    background: rgba(255, 255, 255, 0.06);
    color: var(--hero-ink);
}

.button-secondary:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.contact-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.contact-list a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--hero-muted);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 150ms ease;
}

.contact-list a:hover {
    color: var(--hero-ink);
}

.contact-list.print-contact-list {
    display: none;
}

.hero-visual {
    position: relative;
    z-index: 1;
    justify-self: center;
}

.portrait-frame {
    position: relative;
    width: clamp(265px, 28vw, 345px);
    aspect-ratio: 1;
    border: 10px solid rgba(255, 255, 255, 0.1);
    border-radius: 38% 62% 45% 55% / 52% 43% 57% 48%;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(100, 219, 194, 0.12));
    box-shadow: 0 35px 75px rgba(0, 0, 0, 0.23);
    transform: rotate(2deg);
}

.portrait-frame picture {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
}

.portrait-frame img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
    object-position: center;
    transform: rotate(-2deg);
}

.portrait-orbit {
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(100, 219, 194, 0.28);
    border-radius: 50%;
}

.portrait-orbit-one {
    inset: -27px 16px 16px -27px;
}

.portrait-orbit-two {
    inset: 30px -38px -25px 42px;
    border-color: rgba(255, 255, 255, 0.09);
}

.experience-pill {
    position: absolute;
    right: -38px;
    bottom: 28px;
    display: flex;
    min-width: 156px;
    flex-direction: column;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 16px;
    background: rgba(7, 29, 40, 0.86);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(14px);
}

.experience-pill strong {
    color: var(--accent);
    font-size: 1.05rem;
}

.experience-pill span {
    color: var(--hero-muted);
    font-size: 0.76rem;
}

.social-links {
    position: absolute;
    bottom: -18px;
    left: -28px;
    display: flex;
    gap: 8px;
}

.social-links a {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 13px;
    background: rgba(7, 29, 40, 0.82);
    color: var(--hero-ink);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
    transition: transform 150ms ease, color 150ms ease, border-color 150ms ease;
}

.social-links a:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-3px);
}

.social-links svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.resume-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(310px, 0.78fr);
    align-items: start;
    gap: 26px;
    padding-block: 64px 80px;
}

.content-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-large);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.experience-section {
    padding: clamp(28px, 4.2vw, 52px);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
}

.section-heading > p {
    max-width: 440px;
    margin: 0;
    color: var(--muted);
    font-size: 0.94rem;
}

.section-heading h2,
.expertise-card > h2,
.additional-card > h2 {
    margin: 4px 0 0;
    font-size: clamp(1.85rem, 3vw, 2.35rem);
    letter-spacing: -0.04em;
    line-height: 1.15;
}

.section-heading.compact {
    display: block;
}

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

.timeline {
    position: relative;
    margin-top: 48px;
}

.timeline::before {
    position: absolute;
    top: 30px;
    bottom: 32px;
    left: 7px;
    width: 2px;
    background: var(--border);
    content: "";
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 22px;
    padding: 0 0 46px 38px;
}

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

.timeline-marker {
    position: absolute;
    z-index: 2;
    top: 28px;
    left: 0;
    width: 16px;
    height: 16px;
    border: 4px solid var(--surface);
    border-radius: 50%;
    background: var(--faint);
    box-shadow: 0 0 0 2px var(--border);
}

.timeline-item.current .timeline-marker {
    background: var(--accent-strong);
    box-shadow: 0 0 0 2px var(--accent-strong), 0 0 0 7px var(--accent-ring);
}

.job-logo {
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    padding: 13px;
    border: 1px solid var(--border);
    border-radius: 19px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.job-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.job-logo-globant {
    padding: 4px;
    overflow: hidden;
}

.job-logo-globant img {
    border-radius: 14px;
    object-fit: cover;
}

.job-logo-square {
    padding: 17px;
}

.job-logo-tall {
    padding: 12px 19px;
}

.job-content {
    min-width: 0;
    padding-top: 2px;
}

.job-heading {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 22px;
}

.job-company {
    margin: 0 0 3px;
    color: var(--accent-strong);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.025em;
}

.job-company a,
.education-list a {
    text-decoration: none;
}

.job-company a:hover,
.education-list a:hover {
    text-decoration: underline;
}

.job-heading h3 {
    margin: 0;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.job-date {
    flex: 0 0 auto;
    margin: 0;
    padding: 5px 10px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 750;
    line-height: 1.3;
    white-space: nowrap;
}

.current .job-date {
    border-color: transparent;
    background: var(--accent-soft);
    color: var(--accent-strong);
}

.job-content > p {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 17px 0 0;
    padding: 0;
    list-style: none;
}

.tag-list li {
    padding: 5px 9px;
    border-radius: 8px;
    background: var(--surface-soft);
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.25;
}

.sidebar {
    display: grid;
    gap: 26px;
}

.expertise-card,
.additional-card,
.education-card,
.projects-card {
    padding: 30px;
}

.expertise-card > h2,
.additional-card > h2 {
    font-size: 1.65rem;
}

.additional-role {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.additional-role h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.35;
}

.additional-role a {
    display: inline-block;
    margin-top: 3px;
    color: var(--accent-strong);
    font-size: 0.73rem;
    font-weight: 750;
    line-height: 1.4;
    text-decoration: none;
}

.additional-role a:hover {
    text-decoration: underline;
}

.additional-role div > p:last-child {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.55;
}

.additional-logo {
    padding: 7px 13px;
}

.additional-logo-tomis {
    overflow: hidden;
    padding: 3px;
}

.additional-logo-mensa {
    padding: 5px;
}

.skill-group {
    padding: 19px 0;
    border-bottom: 1px solid var(--border);
}

.skill-group:first-of-type {
    margin-top: 10px;
}

.skill-group:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.skill-group h3 {
    margin: 0 0 5px;
    font-size: 0.78rem;
    letter-spacing: 0.025em;
}

.skill-group p {
    margin: 0;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.6;
}

.education-list {
    display: grid;
    gap: 0;
    margin: 25px 0 0;
    padding: 0;
    list-style: none;
}

.education-list li {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    padding: 20px 0;
    border-top: 1px solid var(--border);
}

.education-list li:last-child {
    padding-bottom: 0;
}

.education-logo {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: #ffffff;
}

.education-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.education-date {
    margin: 0 0 3px;
    color: var(--faint);
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.education-list h3 {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.35;
}

.education-list div > p:not(.education-date) {
    margin: 4px 0 7px;
    color: var(--muted);
    font-size: 0.79rem;
    line-height: 1.45;
}

.education-list a {
    color: var(--accent-strong);
    font-size: 0.73rem;
    font-weight: 750;
    line-height: 1.4;
}

.project-list {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.project {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 13px;
    border: 1px solid var(--border);
    border-radius: 16px;
    color: var(--ink);
    text-decoration: none;
    transition: border-color 150ms ease, background-color 150ms ease, transform 150ms ease;
}

.project:hover {
    border-color: var(--accent-strong);
    background: var(--surface-soft);
    transform: translateY(-2px);
}

.project-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent-strong);
}

.project-icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.project-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.project-copy strong {
    font-size: 0.9rem;
}

.project-copy small {
    overflow: hidden;
    color: var(--muted);
    font-size: 0.73rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.project-arrow {
    color: var(--faint);
}

.site-footer {
    border-top: 1px solid var(--border);
    background: var(--surface);
}

.footer-inner {
    display: flex;
    min-height: 92px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: var(--muted);
    font-size: 0.8rem;
}

.footer-inner p {
    margin: 0;
}

.footer-inner a {
    color: var(--accent-strong);
    font-weight: 750;
    text-decoration: none;
}

.footer-inner a:hover {
    text-decoration: underline;
}

@media (max-width: 1020px) {
    .hero {
        grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
        gap: 42px;
    }

    .experience-pill {
        right: -20px;
    }

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

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

}

@media (max-width: 760px) {
    .page-shell {
        width: min(100% - 32px, var(--page-width));
    }

    .topbar {
        min-height: 70px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 64px;
        padding-block: 64px 88px;
    }

    .hero h1 {
        max-width: 640px;
        font-size: clamp(2.8rem, 13vw, 4.4rem);
    }

    .hero-visual {
        margin-right: 16px;
    }

    .portrait-frame {
        width: min(330px, 76vw);
    }

    .resume-layout {
        padding-block: 40px 56px;
    }

    .section-heading {
        display: block;
    }

    .section-heading > p {
        margin-top: 14px;
    }

    .job-heading {
        display: block;
    }

    .job-date {
        display: inline-block;
        margin-top: 10px;
    }

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

}

@media (max-width: 540px) {
    .page-shell {
        width: min(100% - 24px, var(--page-width));
    }

    .wordmark-name,
    .theme-label {
        display: none;
    }

    .theme-toggle {
        width: 40px;
        justify-content: center;
        padding-inline: 0;
    }

    .hero {
        gap: 54px;
        padding-block: 52px 76px;
    }

    .hero h1 {
        margin-top: 20px;
        font-size: clamp(2.45rem, 13vw, 3.6rem);
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .button {
        width: 100%;
    }

    .contact-list {
        display: grid;
        gap: 12px;
    }

    .hero-visual {
        margin-right: 5px;
    }

    .experience-pill {
        right: -4px;
        bottom: 12px;
    }

    .social-links {
        bottom: -25px;
        left: -5px;
    }

    .content-card {
        border-radius: var(--radius);
    }

    .experience-section,
    .expertise-card,
    .additional-card,
    .education-card,
    .projects-card {
        padding: 24px;
    }

    .timeline {
        margin-top: 38px;
    }

    .timeline-item {
        grid-template-columns: 54px minmax(0, 1fr);
        gap: 12px 14px;
        padding-left: 26px;
    }

    .job-content {
        display: contents;
    }

    .job-heading {
        grid-column: 2;
        grid-row: 1;
    }

    .job-content > p,
    .tag-list {
        grid-column: 1 / -1;
    }

    .job-content > p {
        margin-top: 0;
    }

    .tag-list {
        margin-top: -3px;
    }

    .timeline::before {
        left: 5px;
    }

    .timeline-marker {
        top: 22px;
        left: -1px;
        width: 14px;
        height: 14px;
    }

    .job-logo {
        width: 54px;
        height: 54px;
        padding: 10px;
        border-radius: 16px;
    }

    .job-logo-square {
        padding: 14px;
    }

    .job-logo-globant {
        padding: 3px;
    }

    .job-logo-globant img {
        border-radius: 11px;
    }

    .job-logo-tall {
        padding: 9px 15px;
    }

    .job-heading h3 {
        font-size: 1.05rem;
    }

    .tag-list {
        gap: 5px;
    }

    .footer-inner {
        min-height: 112px;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

@media print {
    @page {
        size: A4;
        margin: 10mm;
    }

    :root,
    :root[data-theme="dark"] {
        --page: #ffffff;
        --surface: #ffffff;
        --surface-soft: #f4f7f7;
        --ink: #122832;
        --muted: #455961;
        --faint: #6a7a80;
        --border: #d8e0e2;
        --hero-ink: #122832;
        --hero-muted: #455961;
        --accent: #0b7567;
        --accent-strong: #0b7567;
        --accent-soft: #edf7f5;
        --shadow: none;
        --shadow-soft: none;
    }

    html {
        font-size: 10pt;
    }

    body {
        background: #ffffff;
        color: var(--ink);
        line-height: 1.45;
    }

    .page-shell {
        width: 100%;
    }

    .site-header {
        overflow: visible;
        background: #ffffff;
        color: var(--ink);
    }

    .site-header::after,
    .header-glow,
    .skip-link,
    .topbar,
    .hero-actions,
    .social-links,
    .portrait-orbit,
    .experience-pill,
    .site-footer,
    .tag-list {
        display: none !important;
    }

    .hero {
        display: grid;
        min-height: 0;
        grid-template-columns: 1fr 30mm;
        gap: 8mm;
        padding: 0 0 6mm;
        border-bottom: 1px solid var(--border);
    }

    .hero .eyebrow {
        color: var(--accent-strong);
    }

    .status-dot {
        background: var(--accent-strong);
        box-shadow: none;
    }

    .hero h1 {
        margin: 3mm 0 2.5mm;
        color: var(--ink);
        font-size: 25pt;
        line-height: 1;
    }

    .hero h1 strong {
        color: var(--accent-strong);
    }

    .hero-summary {
        max-width: none;
        color: var(--muted);
        font-size: 9.5pt;
        line-height: 1.45;
    }

    .contact-list {
        gap: 5mm;
        margin-top: 3mm;
    }

    .contact-list.print-contact-list {
        display: flex;
    }

    .contact-list a {
        color: var(--muted);
        font-size: 8.5pt;
    }

    .portrait-frame {
        width: 30mm;
        border: 1.5mm solid #eef3f3;
        box-shadow: none;
    }

    .resume-layout {
        display: block;
        padding: 6mm 0 0;
    }

    .content-card {
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .experience-section,
    .expertise-card,
    .additional-card,
    .education-card,
    .projects-card {
        padding: 0;
    }

    .section-heading > p {
        font-size: 8pt;
    }

    .section-heading h2,
    .expertise-card > h2,
    .additional-card > h2,
    .section-heading.compact h2 {
        font-size: 16pt;
    }

    .timeline {
        margin-top: 5mm;
    }

    .timeline::before {
        left: 1.5mm;
    }

    .timeline-item {
        grid-template-columns: 12mm minmax(0, 1fr);
        gap: 4mm;
        padding: 0 0 2.5mm 7mm;
        break-inside: avoid;
    }

    .timeline-item:nth-child(7) {
        padding-top: 5mm;
        break-before: page;
    }

    .timeline-item:nth-child(7) .timeline-marker {
        top: 9mm;
    }

    .timeline-marker {
        top: 4mm;
        left: 0;
        width: 3mm;
        height: 3mm;
        border-width: 0.7mm;
    }

    .job-logo {
        width: 12mm;
        height: 12mm;
        padding: 2mm;
        border-radius: 2.5mm;
    }

    .job-logo-square {
        padding: 2.7mm;
    }

    .job-logo-globant {
        padding: 0.7mm;
    }

    .job-logo-globant img {
        border-radius: 1.8mm;
    }

    .job-heading h3 {
        font-size: 10pt;
    }

    .job-company {
        font-size: 7.5pt;
    }

    .job-date {
        padding: 1mm 2mm;
        font-size: 6.8pt;
    }

    .job-content > p {
        margin-top: 1.5mm;
        font-size: 8pt;
        line-height: 1.42;
    }

    .sidebar {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 4mm;
        margin-top: 4mm;
        padding-top: 4mm;
        border-top: 1px solid var(--border);
    }

    .expertise-card {
        grid-column: 1;
        grid-row: 1;
    }

    .additional-card {
        grid-column: 2 / -1;
        grid-row: 1;
    }

    .education-card {
        grid-column: 1 / 3;
        grid-row: 2;
    }

    .projects-card {
        grid-column: 3;
        grid-row: 2;
    }

    .skill-group {
        padding: 2mm 0;
    }

    .additional-role {
        margin-top: 2mm;
        padding-top: 2mm;
    }

    .additional-role div > p:last-child {
        margin-top: 1.5mm;
        font-size: 7.5pt;
        line-height: 1.35;
    }

    .skill-group p,
    .education-list div > p:not(.education-date) {
        font-size: 7.5pt;
    }

    .education-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 3mm;
        margin-top: 3mm;
    }

    .education-list li {
        grid-template-columns: 8mm 1fr;
        gap: 2mm;
        padding: 1mm 0;
        break-inside: avoid;
    }

    .education-logo {
        width: 8mm;
        height: 8mm;
        padding: 1mm;
    }

    .additional-logo-tomis {
        padding: 0.5mm;
    }

    .additional-logo-mensa {
        padding: 0.7mm;
    }

    .education-list h3 {
        font-size: 9.2pt;
    }

    .education-list .education-date {
        font-size: 6.5pt;
    }

    .education-list div > p:not(.education-date) {
        font-size: 7.2pt;
        line-height: 1.3;
    }

    .education-list a {
        font-size: 7pt;
        line-height: 1.25;
    }

    .project-list {
        grid-template-columns: 1fr;
        margin-top: 3mm;
    }

    .project {
        padding: 2mm;
        break-inside: avoid;
    }

    .project-copy small {
        overflow: visible;
        text-overflow: clip;
        white-space: normal;
    }
}
