@font-face {
    font-family: 'Manrope';
    src: url('../assets/fonts/manrope-latin-wght-normal.woff2') format('woff2');
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Manrope';
    src: url('../assets/fonts/manrope-latin-ext-wght-normal.woff2') format('woff2');
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
:root {
    color-scheme: dark;
    font-family: 'Manrope', sans-serif;
    --bg: #0b0c0d;
    --text: #e9e8e3;
    --muted: #a5a5a1;
    --accent: #bda16c;
    --divider: rgb(189 161 108 / 55%);
    --column-left: 40%;
    --column-right: 60%;
    --line: #27282a;
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 32px;
    --space-lg: 56px;
    --space-xl: 96px;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    background: var(--bg);
    color: var(--text);
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 48px;
}
body {
    margin: 0;
    min-width: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
}
a {
    color: inherit;
    text-decoration: none;
}
button, a {
    -webkit-tap-highlight-color: transparent;
}
a:focus-visible {
    outline: 1px solid var(--accent);
    outline-offset: 7px;
}
img {
    display: block;
    max-width: 100%;
}
p, h1, h2, h3, dl, dd {
    margin: 0;
}
ul, ol {
    list-style: none;
    padding: 0;
    margin: 0;
}
::selection {
    color: var(--bg);
    background: var(--accent);
}
.skip-link {
    position: fixed;
    top: 16px;
    left: 16px;
    padding: 12px 20px;
    background: var(--text);
    color: var(--bg);
    z-index: 10;
    transform: translateY(-150%);
}
.skip-link:focus {
    transform: translateY(0);
}
.page-loader {
    position: fixed;
    inset: 0 0 auto;
    height: 2px;
    z-index: 100;
    pointer-events: none;
    opacity: 0;
    transition: opacity 250ms ease 200ms;
}
.page-loader span {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 900ms cubic-bezier(.2, .7, .2, 1);
}
html.is-loading .page-loader {
    opacity: .75;
    transition-delay: 0ms;
    animation: loader-fallback 4s forwards;
}
html.is-loading .page-loader span {
    transform: scaleX(.82);
}
html.is-loaded .page-loader {
    animation: none;
}
html.is-loaded .page-loader span {
    transform: scaleX(1);
    transition-duration: 250ms;
}
@keyframes loader-fallback {
    0%, 85% {
        opacity: .75;
    }
    100% {
        opacity: 0;
    }
}
.page {
    overflow: clip;
}
.section-shell {
    width: min(1120px, calc(100% - 112px));
    margin-inline: auto;
}
h2 {
    font-size: clamp(32px, 3vw, 42px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.035em;
}
h3 {
    font-size: clamp(19px, 1.8vw, 22px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.015em;
}
.hero {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: clamp(800px, 100svh, 980px);
    overflow: hidden;
    background: var(--bg);
}
/* The image layers extend past the edges so small cursor movements never expose a seam. */
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}
.hero__grid {
    position: absolute;
    inset: -18px;
    width: calc(100% + 36px);
    height: calc(100% + 36px);
    max-width: none;
    object-fit: cover;
    opacity: .8;
}
.hero__lines {
    position: absolute;
    z-index: 4;
    inset: -24px;
    width: calc(100% + 48px);
    height: calc(100% + 48px);
    max-width: none;
    object-fit: cover;
    opacity: .27;
    pointer-events: none;
}
.hero-grid {
    position: relative;
    z-index: 2;
    width: min(1120px, calc(100% - 112px));
    min-height: clamp(800px, 100svh, 980px);
    margin-inline: auto;
    align-content: space-between;
}
.hero-visual {
    position: absolute;
    z-index: 3;
    left: -55px;
    top: 0;
    bottom: 0;
    width: 51%;
}
.portrait-mask {
    position: absolute;
    inset: 58px 0 auto;
    height: calc(100% - 206px);
    overflow: hidden;
    width: 100%;
}
.portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 16%;
    mask-image: linear-gradient(to bottom, #000 69%, transparent 100%);
    filter: grayscale(1) brightness(.84) contrast(1.08);
}
.hero-rule {
    position: absolute;
    z-index: 2;
    top: 74px;
    bottom: 154px;
    width: 1px;
    left: calc(var(--column-left) + 1px);
    background: var(--divider);
}
.hero-copy {
    position: relative;
    z-index: 2;
    width: var(--column-right);
    margin-left: var(--column-left);
    padding-left: 100px;
    padding-top: clamp(104px, 15vh, 150px);
}
.hero-greeting {
    font-size: clamp(14px, 1.2vw, 17px);
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.04em;
    color: var(--muted);
    margin-bottom: 28px;
}
.hero-name {
    font-size: clamp(52px, 7vw, 100px);
    font-weight: 600;
    line-height: .94;
    letter-spacing: -0.045em;
}
.hero-name > span {
    display: block;
}
.name-rule {
    width: 75px;
    height: 2px;
    background: var(--accent);
    margin-top: 29px;
    margin-bottom: 27px;
}
.hero-role {
    font-size: clamp(20px, 2vw, 27px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
.hero-role span, .hero-intro span {
    display: block;
}
.hero-disciplines {
    margin-top: 18px;
    color: var(--accent);
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 0.10em;
    font-weight: 600;
}
.hero-intro {
    margin-top: 27px;
    max-width: 480px;
    font-size: 16px;
    line-height: 1.65;
    font-weight: 400;
    color: #bbbcb7;
}
.portfolio-cta {
    margin-top: 32px;
    padding: 13px 19px;
    display: inline-flex;
    align-items: center;
    gap: 29px;
    border: 1px solid var(--accent);
    border-radius: 3px;
    color: var(--accent);
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    line-height: 1.6;
    letter-spacing: 0.06em;
    font-weight: 600;
    background-image: linear-gradient(rgb(189 161 108 / 12%), rgb(189 161 108 / 12%));
    background-repeat: no-repeat;
    background-size: 0 100%;
    transition: background-size 400ms cubic-bezier(.22, 1, .36, 1), border-color 350ms ease, color 350ms ease;
}
.portfolio-cta i {
    font-size: 20px;
    line-height: 1;
    transition: transform 400ms cubic-bezier(.22, 1, .36, 1);
}
.portfolio-cta:hover, .portfolio-cta:focus-visible {
    background-size: 100% 100%;
    border-color: #d2b982;
    color: #d2b982;
}
.portfolio-cta:hover i, .portfolio-cta:focus-visible i {
    transform: translateX(5px);
}
.hero-metrics {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-self: end;
    padding: 63px 7px 47px;
}
.hero-metrics dt {
    font-size: 38px;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
}
.hero-metrics dd {
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.5;
    color: #b4b5b1;
    font-weight: 400;
}
@media (min-width: 1024px) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .hero__grid, .hero__portrait, .hero__lines {
        will-change: transform;
    }
}
.details {
    position: relative;
    margin-top: 100px;
}
.profile-aside {
    position: relative;
    width: var(--column-left);
    padding: 0 62px 0 7px;
}
.profile-sticky {
    display: flow-root;
}
@media (min-width: 992px) {
    /* The stretched aside bounds sticky; its divider stays full-height. */
    .profile-sticky {
        position: sticky;
        top: min(clamp(80px, 10vh, 130px), calc(100vh - var(--profile-height, 0px) - 32px));
    }
}
.profile-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 1px;
    background: var(--divider);
}
.profile-aside h2 {
    margin-bottom: 26px;
}
.profile-aside p {
    margin-bottom: 16px;
    color: #bfc0bb;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
}
.specializations {
    margin-top: 58px;
}
.specializations ul {
    color: #bfc0bb;
    font-size: 16px;
    line-height: 1.65;
    font-weight: 400;
}
.specializations li {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
    transition: color 250ms ease, transform 250ms ease, border-color 250ms ease;
}
@media (hover: hover) and (pointer: fine) {
    .specializations li:hover {
        color: var(--text);
        transform: translateX(4px);
        border-color: rgb(189 161 108 / 28%);
    }
}
.specializations li i {
    flex: 0 0 17px;
    color: rgb(189 161 108 / 82%);
    font-size: 15px;
    text-align: center;
}
.details-content {
    width: var(--column-right);
    padding: 0 36px 0 84px;
    position: relative;
}
.timeline {
    margin-top: 32px;
    margin-left: 8px;
    border-left: 1px solid #646560;
}
.timeline-item {
    position: relative;
    padding-left: 30px;
    padding-bottom: 28px;
}
.timeline-item:last-child {
    padding-bottom: 0;
}
.timeline-item::before {
    content: '';
    position: absolute;
    top: 6px;
    left: -4px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #c0c1bd;
}
.timeline-item.is-visible::before {
    background: var(--accent);
}
.timeline-item::before {
    transition: background-color 400ms ease;
}
.timeline-dates {
    color: #acada7;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: 0.08em;
}
.timeline h3 {
    margin-top: 9px;
}
.timeline-role {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--muted);
    font-weight: 400;
}
.experience-points {
    margin-top: 14px;
    padding-left: 18px;
    list-style: disc;
    color: #bfc0bb;
    font-size: 16px;
    line-height: 1.65;
    font-weight: 400;
}
.experience-points li {
    margin-top: 8px;
    padding-left: 2px;
}
.skills {
    margin-top: 76px;
}
.skills-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    margin-top: 24px;
    color: #bfc0bb;
    font-size: 16px;
    line-height: 1.65;
    font-weight: 400;
}
.skills-list li {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
}
.skills-list li > i {
    color: rgb(189 161 108 / 82%);
    font-size: 16px;
    line-height: inherit;
}
.tools {
    margin-top: 76px;
}
.tool-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 44px;
    row-gap: 38px;
    margin-top: 18px;
}
.tool-group h3 {
    margin-bottom: 10px;
    color: var(--accent);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0;
}
.tool-row {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    min-width: 0;
    padding: 5px 0;
    border-bottom: 1px solid rgb(255 255 255 / 7%);
    transition: transform 250ms ease;
}
.tool-row img, .tool-mark {
    width: 22px;
    height: 22px;
}
.tool-row img {
    object-fit: contain;
    /*filter: grayscale(1) brightness(1.35);*/
    opacity: 1;
    transition: filter 250ms ease, opacity 250ms ease;
}
.tool-mark {
    display: grid;
    place-items: center;
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.035em;
}
.tool-name {
    min-width: 0;
    color: rgb(255 255 255 / 72%);
    font-size: 13px;
    line-height: 1.35;
    transition: color 250ms ease;
}
.tool-meta {
    color: rgb(255 255 255 / 28%);
    font-size: 9px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: .1em;
    text-align: right;
    text-transform: uppercase;
    transition: color 250ms ease;
}
@media (hover: hover) {
    .tool-row:hover {
        transform: translateX(5px);
    }
    .tool-row:hover .tool-name {
        color: #fff;
    }
    .tool-row:hover .tool-meta {
        color: var(--accent);
    }
    .tool-row:hover img {
        filter: grayscale(1) brightness(1.55) drop-shadow(0 0 4px rgb(189 161 108 / 35%));
        opacity: 1;
    }
}
.details-download {
    margin-top: 49px;
}
.download-link {
    margin-top: 0;
    gap: 28px;
    min-height: 44px;
}
.download-link i {
    color: inherit;
    font-size: 18px;
}
.download-link:hover i, .download-link:focus-visible i {
    transform: translateY(3px);
}
.projects {
    margin-top: 145px;
    padding-inline: 64px;
}
.section-kicker {
    margin-bottom: 9px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.project-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(32px, 4vw, 60px);
    margin-top: 38px;
}
.project-item {
    min-width: 0;
    padding: 36px 0;
    border-top: 1px solid rgb(255 255 255 / 10%);
}
.project-item:nth-last-child(-n + 2) { border-bottom: 1px solid rgb(255 255 255 / 10%); }
.project-row {
    display: block;
    height: 100%;
}
.project-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    height: 100%;
}
.project-meta { display: flex; align-items: baseline; gap: 12px; }
.project-number { flex: none; color: var(--accent); font-size: 11px; font-weight: 600; letter-spacing: .08em; }
.project-copy .project-separator {
    color: var(--accent);
}
.project-copy .project-client {
    margin: 0;
    color: var(--accent);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.75;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: .85;
}
.project-copy .project-title {
    margin-top: 12px;
    font-size: clamp(21px, 1.8vw, 26px);
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -0.02em;
}
.project-copy .project-description {
    margin-top: 20px;
    color: #bfc0bb;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
}
.project-arrow {
    margin-top: 24px;
    color: #aaa696;
    transition: transform 350ms ease;
    font-size: 21px;
}
.project-row:hover .project-arrow {
    transform: translateX(4px);
}
.project-row:focus-visible .project-arrow {
    transform: translateX(4px);
}
.additional {
    margin-top: 114px;
    padding-inline: 64px;
}
.additional > .row {
    border-top: 1px solid var(--line);
    padding-top: 45px;
}
.work-process {
    width: var(--column-left);
    padding-right: 58px;
}
.work-process ol {
    margin-top: 24px;
}
.work-process li {
    display: flex;
    gap: 18px;
    padding: 17px 0;
    border-top: 1px solid var(--line);
}
.work-process li > span {
    color: var(--accent);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
}
.work-process p, .achievement p {
    margin-top: 10px;
    color: #bfc0bb;
    font-size: 16px;
    line-height: 1.65;
    font-weight: 400;
}
.achievement {
    position: relative;
    width: var(--column-right);
    padding-left: 48px;
}
.achievement-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 1px;
    background: var(--divider);
}
.achievement h3 {
    margin-top: 26px;
    color: var(--accent);
}
.conferences {
    margin-top: 104px;
    padding-inline: 64px;
}
.conferences-intro {
    max-width: 720px;
    margin-top: 22px;
    color: #bfc0bb;
    font-size: 16px;
    line-height: 1.65;
}
.conference-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 39px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.conference-item {
    min-width: 0;
    padding: 27px 22px 26px;
}
.conference-item:first-child { padding-left: 0; }
.conference-item:not(:last-child) { border-right: 1px solid var(--line); }
.conference-logo {
    display: flex;
    align-items: center;
    height: 44px;
    margin-bottom: 12px;
}
.conference-logo-name {
    margin-left: 12px;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -.025em;
    white-space: nowrap;
}
.conference-logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: min(100%, 162px);
    max-height: 40px;
    object-fit: contain;
}
.conference-category {
    min-height: 36px;
    margin-top: 8px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}
.conference-rule {
    display: block;
    width: 28px;
    height: 1px;
    margin: 22px 0 15px;
    background: var(--accent);
}
.conference-attendance {
    color: #bfc0bb;
    font-size: 12px;
    line-height: 1.5;
    white-space: nowrap;
}
.conference-attendance strong {
    color: var(--accent);
    font-size: 16px;
    font-weight: 600;
}
.training-block {
    margin-top: 37px;
}
.training-block h3 {
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.training-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 16px;
}
.training-list li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    min-width: 0;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}
.training-list strong {
    font-size: 15px;
    font-weight: 600;
}
.training-list p {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}
.training-certificate {
    align-self: start;
    flex: none;
    color: var(--accent);
    font-size: 11px;
    white-space: nowrap;
}
.training-certificate:hover { color: var(--text); }
.clients {
    margin-top: 92px;
    padding: 32px 64px 0;
    border-top: 1px solid var(--line);
}
.clients p {
    max-width: 780px;
    margin-top: 24px;
    color: #bfc0bb;
    font-size: 16px;
    line-height: 1.65;
}
.contact {
    padding: clamp(80px, 9vw, 136px) 64px 40px;
}
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 132px;
    gap: clamp(32px, 4vw, 64px);
    align-items: end;
}
.contact-main { min-width: 0; }
.contact-title {
    margin: 0;
    color: var(--accent);
    font-size: clamp(32px, 4vw, 50px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -.035em;
}
.contact-details {
    display: grid;
    grid-template-columns: max-content max-content 1fr;
    gap: 28px;
    margin-top: 64px;
}
.contact-detail { min-width: 0; }
.contact-label {
    display: block;
    margin-bottom: 12px;
    color: var(--accent);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .12em;
    line-height: 1.5;
}
.contact-link {
    position: relative;
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    padding-block: 8px;
    color: var(--text);
    transition: color 350ms ease;
}
.contact-details .contact-link {
    font-size: clamp(17px, 1.45vw, 21px);
    font-weight: 500;
    letter-spacing: -.025em;
    overflow-wrap: anywhere;
}
.contact-link::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 3px;
    left: 0;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 350ms ease;
}
.contact-link:hover, .contact-link:focus-visible, .qr-link:hover, .qr-link:focus-visible {
    color: var(--accent);
}
.contact-link:hover::after, .contact-link:focus-visible::after { transform: scaleX(1); }
.qr-link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 8px;
    transition: color 350ms ease;
}
.qr-link img {
    width: 104px;
    height: 104px;
    margin-bottom: 20px;
    image-rendering: pixelated;
}
.qr-link .contact-label { margin-bottom: 5px; font-size: 9px; }
.qr-address { font-size: 12px; white-space: nowrap; }
.qr-address span { margin-left: 8px; color: var(--accent); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-top: 72px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.12);
    color: var(--muted);
    font-size: 12px;
}
.footer-bottom .contact-link { color: inherit; }
.footer-bottom .contact-link:hover, .footer-bottom .contact-link:focus-visible { color: var(--accent); }
.footer-top {
    border: 0;
    background: none;
    font: inherit;
    letter-spacing: inherit;
    cursor: pointer;
}
.footer-top span { margin-left: 10px; }
.footer-top:focus-visible { outline: 1px solid var(--accent); outline-offset: 7px; }
@media (min-width: 768px) and (max-width: 1199px) {
    .contact-layout { grid-template-columns: minmax(0, 1fr) 116px; gap: 28px; }
    .contact-details { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1000;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--divider);
    background: var(--bg);
    color: var(--accent);
    font-size: 19px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 250ms ease, visibility 250ms ease, transform 250ms ease;
}
.back-to-top.is-visible {
    opacity: .8;
    visibility: visible;
    pointer-events: auto;
}
.back-to-top:hover,
.back-to-top:focus-visible {
    opacity: 1;
    transform: translateY(-2px);
}
@media (min-width: 1200px) {
    .hero-intro, .profile-aside p, .specializations ul, .experience-points, .skills-list, .project-copy .project-description, .work-process p, .achievement p, .conferences-intro, .clients p {
        font-size: 17px;
    }
}
@media (min-width: 768px) and (max-width: 1199px) {
    .conference-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .conference-item:nth-child(2) { border-right: 0; }
    .conference-item:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
    .conference-item:nth-child(3) { padding-left: 0; }
}
@media (max-width: 1159px) {
    .tool-groups {
        grid-template-columns: 1fr;
        row-gap: 26px;
    }
}
@media (max-width: 1000px) and (min-width: 768px) {
    .section-shell {
        width: calc(100% - 72px);
    }
    .hero, .hero-grid {
        min-height: 800px;
    }
    .hero-grid {
        width: calc(100% - 72px);
    }
    .hero-copy {
        padding-left: 45px;
    }
    .portrait-mask {
        height: 600px;
    }
    .profile-aside {
        padding-right: 35px;
    }
    .details-content {
        padding-left: 45px;
        padding-right: 0;
    }
    .projects, .additional, .conferences, .clients, .contact {
        padding-inline: 0;
    }
    .contact { padding-bottom: 88px; }
}
@media (max-width: 991px) {
    /* Only the career section stacks at this breakpoint. */
    .details .profile-aside {
        width: 100%;
        border-bottom: 1px solid var(--divider);
        padding: 0 0 32px;
        margin-bottom: 46px;
    }
    .profile-divider {
        display: none;
    }
    .details .details-content {
        width: 100%;
        padding: 0;
    }
}
@media (max-width: 767px) {
    html {
        scroll-padding-top: 28px;
    }
    .section-shell {
        width: calc(100% - 48px);
    }
    .hero {
        min-height: 0;
    }
    .hero-grid {
        width: calc(100% - 48px);
        min-height: 0;
        padding-bottom: 46px;
    }
    .hero__grid {
        object-position: 26% center;
        opacity: .56;
    }
    .hero__lines {
        object-position: 21% center;
        opacity: .16;
    }
    .hero-visual {
        position: relative;
        width: calc(100% + 48px);
        height: 369px;
        left: -24px;
        flex-shrink: 0;
    }
    .portrait-mask {
        height: 400px;
        width: 100%;
        inset: 0;
    }
    .portrait {
        object-position: 50% 22%;
        mask-image: linear-gradient(to bottom, #000 67%, transparent 100%);
    }
    .hero-rule {
        left: auto;
        right: 5px;
        top: 90px;
        height: 213px;
        bottom: auto;
    }
    .hero-copy {
        width: 100%;
        margin-left: 0;
        padding: 13px 0 0;
    }
    .hero-greeting {
        margin-bottom: 19px;
    }
    .name-rule {
        margin-top: 23px;
        margin-bottom: 23px;
        width: 54px;
    }
    .hero-disciplines {
        margin-top: 16px;
        font-size: 11px;
    }
    .hero-intro {
        margin-top: 23px;
    }
    .portfolio-cta {
        margin-top: 26px;
        gap: 24px;
        padding: 12px 16px;
    }
    .hero-metrics {
        padding: 48px 0 0;
        gap: 14px;
    }
    .hero-metrics dt {
        font-size: 32px;
    }
    .hero-metrics dd {
        font-size: 9px;
        margin-top: 8px;
    }
    .details {
        display: block;
        margin-top: 83px;
    }
    .specializations {
        margin-top: 32px;
    }
    .timeline {
        margin-top: 27px;
    }
    .timeline-item {
        padding-left: 24px;
        padding-bottom: 25px;
    }
    .timeline-role {
        font-size: 11px;
    }
    .skills {
        margin-top: 56px;
    }
    .skills-list {
        grid-template-columns: 1fr;
    }
    .tools {
        margin-top: 56px;
    }
    .tool-groups {
        row-gap: 26px;
    }
    .details-download {
        margin-top: 33px;
    }
    .download-link {
        gap: 24px;
    }
    .projects {
        padding: 0;
        margin-top: 76px;
    }
    .project-list {
        grid-template-columns: minmax(0, 1fr);
        margin-top: 25px;
    }
    .project-item { padding: 31px 0; }
    .project-item:nth-last-child(2) { border-bottom: 0; }
    .project-copy .project-client { font-size: 10px; }
    .project-copy .project-description { margin-top: 15px; }
    .project-arrow { margin-top: 18px; font-size: 18px; }
    .additional {
        padding: 0;
        margin-top: 77px;
    }
    .additional > .row {
        padding-top: 28px;
    }
    .work-process {
        width: 100%;
        padding: 0;
    }
    .achievement {
        width: 100%;
        margin-top: 38px;
        padding: 28px 0 0;
        border-top: 1px solid var(--divider);
    }
    .achievement-divider {
        display: none;
    }
    .conferences {
        margin-top: 76px;
        padding: 0;
    }
    .conferences-intro { margin-top: 18px; }
    .conference-list {
        grid-template-columns: 1fr;
        margin-top: 27px;
    }
    .conference-item {
        padding: 20px 0;
        border-right: 0 !important;
        border-bottom: 1px solid var(--line);
    }
    .conference-item:last-child { border-bottom: 0; }
    .conference-category { min-height: 0; }
    .conference-rule { margin: 16px 0 11px; }
    .training-block { margin-top: 30px; }
    .training-list { grid-template-columns: 1fr; gap: 18px; }
    .clients {
        margin-top: 65px;
        padding: 26px 0 0;
    }
    .contact {
        /* Reserve a clear bottom corner for the fixed return button. */
        padding: 80px 0 88px;
    }
    .back-to-top {
        width: 40px;
        height: 40px;
        right: 16px;
        bottom: max(16px, env(safe-area-inset-bottom));
    }
    .contact-layout { grid-template-columns: minmax(0, 1fr); gap: 44px; }
    .contact-title { font-size: clamp(30px, 9vw, 40px); }
    .contact-details { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 38px; }
    .contact-details .contact-link { font-size: 21px; }
    .contact-label { margin-bottom: 3px; }
    .qr-link { justify-self: start; }
    .qr-link img { width: 88px; height: 88px; margin-bottom: 16px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; margin-top: 44px; gap: 10px; }

}
@media (max-width: 360px) {
    .hero-metrics dd {
        font-size: 8px;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .page-loader {
        display: none;
    }
    .hero__grid, .hero__portrait, .hero__lines {
        transform: none !important;
    }
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* =========================================
   WYBRANE MARKI I KLIENCI
   ========================================= */

.clients-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;

  gap: 22px 28px;

  width: 100%;
  max-width: 100%;

  margin: 0 auto;
  padding: 16px 0 10px;
margin-top: 20px;
  box-sizing: border-box;
}

/* pojedynczy logotyp */
.clients-logos img {
  display: block;

  height: 40px;
  width: auto;
  max-width: 120px;

  object-fit: contain;

  flex: 0 0 auto;

  opacity: 0.88;

  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

/* hover */
.clients-logos img:hover {
  opacity: 1;
  transform: translateY(-2px);
}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 992px) {

  .clients-logos {
    gap: 20px 24px;
    padding: 14px 0 8px;
  }

  .clients-logos img {
    height: 23px;
    max-width: 115px;
  }

}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 768px) {

  .clients-logos {
    justify-content: center;

    gap: 18px 22px;

    padding: 12px 8px 8px;
  }

  .clients-logos img {
    height: 21px;
    max-width: 105px;
  }

}


/* =========================================
   SMALL MOBILE
   ========================================= */

@media (max-width: 480px) {

  .clients-logos {
    gap: 16px 18px;

    padding-left: 4px;
    padding-right: 4px;
  }

  .clients-logos img {
    height: 19px;
    max-width: 95px;
  }

}


/* =========================================
   VERY SMALL MOBILE
   ========================================= */

@media (max-width: 360px) {

  .clients-logos {
    gap: 14px 16px;
  }

  .clients-logos img {
    height: 18px;
    max-width: 90px;
  }

}

/* Progressive motion: the original layout remains the no-JS/reduced-motion fallback. */
.portrait-scroll, .portrait-reveal { width: 100%; height: 100%; }
.portrait-reveal { overflow: hidden; }
.reveal-word-mask { overflow: hidden; overflow: clip; }
.cta-roll { position: relative; display: inline-block; overflow: hidden; vertical-align: middle; }
.cta-roll-original, .cta-roll-copy { display: block; }
.cta-roll-copy { position: absolute; inset: 0; }
@media (min-width: 1100px) and (min-height: 700px) and (prefers-reduced-motion: no-preference) {
    .projects--horizontal { overflow: hidden; padding-block: 12px; }
    .projects--horizontal .project-list {
        position: relative;
        display: flex;
        gap: clamp(40px, 5vw, 72px);
        perspective: 1400px;
        padding: 0 8px;
    }
    .projects--horizontal .project-item {
        flex: 0 0 72%;
        border-bottom: 1px solid rgb(255 255 255 / 10%);
        transform-origin: center;
    }
    .projects--horizontal .project-title { max-width: 26ch; }
    .projects--horizontal .project-description { max-width: 52ch; }
    .projects--horizontal .project-arrow { margin-top: auto; padding-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
    .portrait-scroll, .portrait-reveal { transform: none !important; clip-path: none !important; }
}
