@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c&display=swap');

:root {
    --ink: #161614;
    --paper: #ffffff;
    --line: #cdcac2;
    --muted: #68665f;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Manrope, Arial, sans-serif;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

a {
    color: inherit;
    text-decoration: none;
}

main {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.site-header {
    height: 76px;
    padding: 0 3.2vw;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 5;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
}

.wordmark {
    font-weight: 700;
    font-size: 14px;
    letter-spacing: -0.04em;
}

.menu {
    margin-left: auto;
    display: flex;
    gap: 30px;
    font-size: 11px;
    letter-spacing: 0.06em;
}

.menu a {
    color: var(--muted);
}

.menu a:hover {
    color: var(--ink);
}

.menu .is-active {
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
}

.menu .lang-switch {
    margin-left: 8px;
    padding-left: 10px;
    border-left: 1px solid var(--line);
    font-size: 10px;
    letter-spacing: 0.1em;
    color: var(--muted);
}

.menu .lang-switch:hover {
    color: var(--ink);
}

.menu-toggle {
    display: none;
}

.intro {
    padding: 7vw 3.2vw 4vw 3.2vw;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.intro-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: max-content;
    max-width: 100%;
}

.eyebrow,
.section-heading p {
    font: 10px "DM Mono", monospace;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin: 0 0 28px;
}

h1 {
    font: 500 clamp(42px, 6.3vw, 92px) / 0.97 "M PLUS Rounded 1c", sans-serif;
    letter-spacing: -0.055em;
    margin: 0;
}

.intro h1 {
    font-size: clamp(24px, 3.4vw, 52px);
    white-space: nowrap;
}

.intro-copy {
    max-width: 62ch;
    line-height: 1.65;
    font-size: 14px;
    margin: 44px 0 0;
    color: #44423d;
}

.projects,
.prints {
    padding: 7vw 3.2vw;
    border-top: 1px solid var(--line);
}

.section-heading {
    display: grid;
    grid-template-columns: 20% 1fr;
    margin-bottom: 5vw;
}

.section-heading h2 {
    margin: 0;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.04em;
}

.process .section-heading,
.prints .section-heading {
    grid-template-columns: 1fr;
    margin-bottom: 3vw;
}

.process .section-heading h2,
.prints .section-heading h2 {
    font: 500 clamp(25px, 2.8vw, 42px) / 1 "M PLUS Rounded 1c", sans-serif;
    letter-spacing: -0.04em;
    white-space: nowrap;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3vw 2.2vw;
    align-items: start;
}

.project {
    display: block;
}

.project img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: saturate(0.58) contrast(0.94);
    transition: filter 0.35s ease, transform 0.6s ease;
}

.project:hover img {
    filter: none;
    transform: scale(1.015);
}

.project-meta {
    border-top: 1px solid var(--line);
    margin-top: 12px;
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    font-size: 11px;
}

.project-meta b {
    font-weight: 500;
}

.project-meta em {
    font-style: normal;
    color: var(--muted);
}

.prints-body {
    font-size: 14px;
    line-height: 1.65;
    color: #44423d;
    max-width: 620px;
    margin: 32px 0 0;
}

.prints-content .text-link {
    margin-top: 54px;
}

.prints {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.prints-content {
    width: 65%;
    margin-left: 20%;
}

.prints-lead {
    font: 500 clamp(28px, 3.4vw, 52px) / 1.08 "M PLUS Rounded 1c", sans-serif;
    letter-spacing: -0.04em;
    max-width: 860px;
    margin: 0 0 54px;
}

.text-link {
    display: inline-flex;
    border-bottom: 1px solid var(--ink);
    padding-bottom: 8px;
    gap: 40px;
    font: 10px "DM Mono", monospace;
    letter-spacing: 0.07em;
}

.text-link span {
    font-size: 15px;
    line-height: 8px;
}

.process {
    padding: 7vw 3.2vw;
    border-top: 1px solid var(--line);
}

.process-list {
    list-style: none;
    padding: 0;
    margin: 0 0 0 20%;
}

.process-list li {
    display: grid;
    grid-template-columns: 20% 1fr;
    padding: 30px 0 34px;
}

.process-list > li > span {
    font: 500 clamp(25px, 2.8vw, 42px) / 1 "M PLUS Rounded 1c", sans-serif;
    letter-spacing: -0.04em;
    color: var(--muted);
}

.process h3 {
    font: 500 clamp(25px, 2.8vw, 42px) / 1 "M PLUS Rounded 1c", sans-serif;
    letter-spacing: -0.04em;
    margin: 0 0 17px;
}

.process p {
    max-width: 620px;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
    color: #44423d;
}

.about {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    background: #242420;
    color: #f3f0e9;
}

.about img {
    width: 100%;
    min-height: 527px;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.05);
}

.about > div {
    padding: 10.2vw 9vw;
}

.about .eyebrow {
    color: #aaa69b;
}

.about h2 {
    margin: 0 0 28px;
    font: 500 clamp(40px, 5vw, 74px) / 0.98 "M PLUS Rounded 1c", sans-serif;
    letter-spacing: -0.05em;
}

.about div > p:not(.eyebrow) {
    font-size: 14px;
    line-height: 1.7;
    max-width: 370px;
    color: #d5d1c8;
    margin-bottom: 48px;
}

.about .text-link {
    border-color: #eeeae1;
}

.footer {
    height: 76px;
    padding: 0 3.2vw;
    display: flex;
    align-items: center;
    border-top: 1px solid var(--line);
    position: sticky;
    bottom: 0;
    z-index: 4;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
}

.footer > div {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font: 10px "DM Mono", monospace;
    color: var(--muted);
}

.footer > div a {
    color: var(--muted);
    letter-spacing: 0.06em;
}

.footer > div a:hover {
    color: var(--ink);
}

.gallery-page {
    padding: 0 3.2vw 9vw;
}

.gallery-category {
    padding-top: 2.4vw;
    margin-bottom: 2.1vw;
}

.gallery-category-title {
    font: 15px "DM Mono", monospace;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin: 0 0 3vw;
    font-weight: 400;
}

.gallery-intro {
    padding: 7vw 3.2vw 4vw;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-intro-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: max-content;
    max-width: 100%;
}

.gallery-intro h1 {
    font-size: clamp(24px, 3.4vw, 52px);
    white-space: nowrap;
    margin-bottom: 36px;
}

.gallery-intro p:last-child {
    max-width: 62ch;
    color: #44423d;
    font-size: 14px;
    line-height: 1.65;
    margin: 44px 0 0;
}

/* ── Pasek nawigacji kategorii ───────────────────────────────── */
.gallery-cat-nav {
    position: sticky;
    top: 0;              /* przykleja się do góry <main>, który jest kontenerem scrollującym */
    z-index: 4;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 8px;
    padding: 2.4vw 3.2vw 1.6vw;
    background: var(--paper); /* zakrywa treść scrollującą się pod nim */
}

.gallery-cat-btn {
    flex: 1;
    min-width: 0;
    padding: 0 10px;
    height: 36px;
    font-family: Manrope, Arial, sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: var(--ink);
    background: transparent;
    border: 1px solid var(--ink);
    border-radius: 999px;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: auto;
}

.gallery-cat-btn:hover {
    background: var(--ink);
    color: var(--paper);
}

.gallery-row {
    position: relative;
}

.gallery-row-btn {
    display: none;
    position: absolute;
    top: 0;
    bottom: 28px; /* nie nakrywa podpisu pod kafelkiem */
    width: 52px;
    border: none;
    cursor: pointer;
    font-size: 28px;
    color: var(--ink);
    z-index: 2;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.gallery-row-btn--prev {
    left: 0;
    background: linear-gradient(to right, rgba(255,255,255,0.92), rgba(255,255,255,0));
}

.gallery-row-btn--next {
    right: 0;
    background: linear-gradient(to left, rgba(255,255,255,0.92), rgba(255,255,255,0));
}

.gallery-row:has(.gallery-row-btn) .gallery-row-btn {
    display: flex;
}

.gallery-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 2.2vw;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}

.gallery-grid::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.gallery-card {
    flex: 0 0 calc(25% - 1.65vw); /* 4 kafelki w widoku */
    scroll-snap-align: start;
}

.gallery-card img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center top;
    filter: saturate(0.58) contrast(0.94);
    transition: filter 0.35s ease, transform 0.6s ease;
}

.gallery-card:hover img {
    filter: none;
    transform: scale(1.015);
}

.gallery-card > span {
    display: flex;
    flex-direction: column;
    align-items: baseline;
    padding-bottom: 11px;
    margin-top: 12px;
    border-bottom: 1px solid var(--line);
    font-size: 11px;
}

.gallery-card b {
    font-weight: 500;
    flex-shrink: 0;
}

.gallery-card em {
    font-style: normal;
    color: var(--muted);
    flex-shrink: 0;
}

.gallery-card-count {
    flex: 1;
    text-align: center;
    font-weight: 400;
    font-size: 11px;
    color: var(--muted);
}

.hardcopy-grid figcaption {
    text-align: center;
    font: 10px "DM Mono", monospace;
    color: var(--muted);
    margin-top: 7px;
    letter-spacing: 0.06em;
}

.project-page {
    padding: 0 3.2vw 10vw;
}

.project-viewer {
    position: relative;
    height: 79vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 48px 3.2vw 0;
}

/* ── przyciski nawigacji na stronach projektów ── */
.back-link {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 92px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    padding: 0 18px;
    height: 36px;
    border-radius: 999px;
    background: rgba(22, 22, 20, 0.4);
    color: var(--paper);
    font: 11px/1 "DM Mono", monospace;
    letter-spacing: 0.08em;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.back-link:hover {
    background: var(--ink);
}

.prev-project-link,
.next-project-link {
    position: absolute;
    top: 92px;
    z-index: 5;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(22, 22, 20, 0.4);
    color: var(--paper);
    font: 18px/1 Manrope, sans-serif;
    text-decoration: none;
    pointer-events: none;
    opacity: 0;
    transition: background 0.2s ease, opacity 0.2s ease;
}

.prev-project-link {
    left: 3.2vw;
}

.next-project-link {
    right: 3.2vw;
}

.prev-project-link.is-ready,
.next-project-link.is-ready {
    opacity: 1;
    pointer-events: auto;
}

.prev-project-link.is-ready:hover,
.next-project-link.is-ready:hover {
    background: var(--ink);
}

.prev-project-link.is-disabled,
.next-project-link.is-disabled {
    background: rgba(22, 22, 20, 0.15);
    pointer-events: none;
    cursor: default;
}

.prev-project-link.is-disabled:hover,
.next-project-link.is-disabled:hover {
    background: rgba(22, 22, 20, 0.15);
}

.project-viewer figure {
    margin: 0;
    width: 100%;
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 20px 0;
}

.project-viewer figure img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}

.viewer-hit-zone {
    position: absolute;
    top: 10%;
    bottom: 72px;
    z-index: 2;
    width: 50%;
    border: 0;
    background: transparent;
    cursor: none;
}

.viewer-hit-zone.previous {
    left: 0;
}

.viewer-hit-zone.next {
    right: 0;
}

.project-cursor {
    position: absolute;
    z-index: 4;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--ink);
    border-radius: 50%;
    background: var(--paper);
    color: var(--ink);
    font: 18px/1 Manrope, sans-serif;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.7);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.project-viewer.show-cursor .project-cursor {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.project-viewer-meta {
    width: 100%;
    padding: 16px 3.2vw 24px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    font: 11px "DM Mono", monospace;
}

.project-viewer-meta > span:first-child {
    display: flex;
    gap: 25px;
}

.project-viewer-meta b {
    font-weight: 500;
}

.project-viewer-meta em {
    color: var(--muted);
    font-style: normal;
}

.hardcopy-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2.2vw;
}

.hardcopy-grid figure,
.hardcopy-grid figure.wide {
    margin: 0;
    cursor: pointer;
}

.hardcopy-grid img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.35s ease;
}

.hardcopy-grid figure:hover img {
    transform: scale(1.015);
}

.project-description {
    padding: 7vw 3.2vw 4vw;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.project-description-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: max-content;
    max-width: 100%;
}

.project-description h2 {
    margin: 0 0 2.5vw;
    font: 500 clamp(24px, 3.4vw, 52px) / 0.97 "M PLUS Rounded 1c", sans-serif;
    letter-spacing: -0.05em;
    white-space: nowrap;
}

.project-copy {
    width: 80vw;
    max-width: 100%;
    column-count: 3;
    column-gap: 3vw;
    font-size: 14px;
    line-height: 1.72;
    color: #393834;
}

.project-copy p {
    margin: 0 0 23px;
    break-inside: avoid;
}

.project-sources-title {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #393834;
    margin: 32px 0 12px;
    column-span: all;
    break-after: avoid;
}

.project-sources-sub {
    font-size: 12px;
    font-weight: 600;
    color: #393834;
    margin: 18px 0 6px;
    break-after: avoid;
}

.project-copy .project-sources-title ~ p,
.project-copy .project-sources-sub ~ p {
    font-size: 12px;
    line-height: 1.6;
    color: #6b6b66;
    margin: 0 0 8px;
    break-inside: avoid;
}

.exhibition-info-block {
    margin-top: 20px;
    column-span: all;
}

.project-copy .exhibition-info-line {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    color: #393834;
    margin: 0;
}

.exhibition-info-line a {
    color: #393834;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.exhibition-info-line a:hover {
    color: var(--muted);
}

.project-copy a[href^="http"] {
    color: #6b6b66;
    text-decoration: underline;
    text-underline-offset: 2px;
    word-break: break-all;
}

.project-copy a[href^="http"]:hover {
    color: #393834;
}

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #767676;
    color: white;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.lightbox.is-open {
    display: flex;
}

.lightbox::backdrop {
    background: rgba(0, 0, 0, 0.88);
}

.lb-inner {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 92vw;
    max-height: 92vh;
}

.lb-inner img {
    display: block;
    max-width: 100%;
    max-height: calc(92vh - 36px);
    width: auto;
    height: auto;
}

.lb-inner p {
    margin: 0;
    padding: 8px 0 0;
    font: 10px "DM Mono", monospace;
    color: #aaa69b;
    letter-spacing: 0.06em;
}

.close {
    position: fixed;
    right: 20px;
    top: 16px;
    color: white;
    border: 0;
    background: transparent;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
}

.lb-prev,
.lb-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: white;
    font-size: 28px;
    line-height: 1;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: border-color 0.15s ease;
}

.lb-prev:hover,
.lb-next:hover {
    border-color: white;
}

.lb-prev {
    left: 16px;
}

.lb-next {
    right: 16px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

/* ─── Wystawy — lista ─────────────────────────────────────────────────────── */

.exhibitions-page {
    padding: 0 3.2vw 9vw;
}

.exhibitions-intro {
    padding: 3.2vw 0 1.6vw;
}

.exhibition-row {
    display: flex;
    align-items: center;
    gap: 2.4vw;
    padding: 2.4vw 0;
    border-top: 1px solid var(--rule);
}

.exhibition-row:last-child {
    border-bottom: 1px solid var(--rule);
}

.exhibition-thumb {
    flex: 0 0 auto;
    width: 198px;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    display: block;
}

.exhibition-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: filter 0.3s;
    filter: saturate(0.58) contrast(0.94);
}

.exhibition-thumb:hover img {
    filter: none;
}

.exhibition-info {
    flex: 1;
    min-width: 0;
}

.exhibition-title {
    display: block;
    font-size: 17px;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    margin-bottom: 6px;
    line-height: 1.3;
}

.exhibition-title:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.exhibition-date {
    font-size: 13px;
    color: var(--muted);
    margin: 0 0 4px;
}

.exhibition-location {
    font-size: 13px;
    color: var(--muted);
    margin: 0 0 10px;
}

.exhibition-abstract {
    font-size: 14px;
    line-height: 1.65;
    color: var(--ink);
    margin: 0;
    max-width: 680px;
}

@media (max-width: 700px) {
    .site-header {
        height: 65px;
        padding: 0 20px;
    }

    .menu-toggle {
        display: flex;
        margin-left: auto;
        width: 30px;
        height: 30px;
        background: none;
        border: 0;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        padding: 0;
    }

    .menu-toggle i {
        display: block;
        width: 25px;
        height: 1px;
        background: var(--ink);
    }

    .menu {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 64px;
        background: var(--paper);
        padding: 24px 20px;
        flex-direction: column;
        gap: 18px;
        border-bottom: 1px solid var(--line);
    }

    .menu.open {
        display: flex;
    }

    .intro {
        padding: 150px 25px 65px;
    }

    .intro-copy {
        margin-top: 34px;
    }

    .projects,
    .prints,
    .process {
        padding: 65px 20px;
    }

    .section-heading {
        grid-template-columns: 25% 1fr;
        margin-bottom: 42px;
    }

    .project-grid {
        grid-template-columns: 1fr 1fr;
        gap: 45px 16px;
    }

    .project-meta {
        display: block;
        line-height: 1.7;
    }

    .project-meta em {
        display: block;
    }

    .prints {
        min-height: 0;
    }

    .prints-content {
        width: 100%;
        margin-left: 25%;
    }

    .process-list {
        margin-left: 25%;
    }

    .process-list li {
        grid-template-columns: 1fr;
        gap: 17px;
        padding: 25px 0;
    }

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

    .about img {
        min-height: 430px;
    }

    .about > div {
        padding: 70px 25px;
    }

    .gallery-cat-nav {
        display: none;   /* ukryj na mobile */
    }

    .gallery-page {
        padding: 0 20px 70px;
    }

    .gallery-intro {
        padding: 150px 25px 65px;
    }

    .gallery-grid {
        gap: 16px;
    }

    .gallery-card {
        flex: 0 0 calc(50% - 8px); /* 2 kafelki w widoku na mobile */
    }

    .gallery-card span {
        display: block;
        line-height: 1.7;
    }

    .gallery-card em {
        display: block;
        text-align: left;
    }

    .project-page {
        padding: 0 20px 70px;
    }

    .project-viewer {
        height: 100vh;
        padding: 48px 20px 0;
    }

    .back-link {
        top: 81px;
    }

    .prev-project-link {
        left: 20px;
        top: 81px;
    }

    .next-project-link {
        right: 20px;
        top: 81px;
    }

    .project-viewer figure {
        width: 100%;
        flex: 1;
        min-height: 0;
    }

    .viewer-hit-zone {
        top: 15%;
        bottom: 100px;
    }

    .project-cursor {
        display: none;
    }

    .project-viewer-meta {
        padding: 12px 20px 0;
    }

    .project-viewer-meta > span:first-child {
        display: block;
        line-height: 1.7;
    }

    .project-viewer-meta em {
        display: block;
    }

    .hardcopy-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .project-description {
        padding: 150px 25px 65px;
    }

    .project-description h2 {
        margin: 0 0 40px;
        white-space: normal;
    }

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

    .footer {
        height: 65px;
        padding: 0 20px;
    }

    .footer > div span:last-child {
        display: none;
    }

    .exhibition-row {
        flex-direction: column;
        gap: 16px;
    }

    .exhibition-thumb {
        width: 149px;
        aspect-ratio: 2 / 3;
    }

}

/* ─── Exhibition header (strona wystawy) ──────────────────────────────────── */

.exhibition-header-section {
    padding: 5vw 3.2vw 3vw;
}

.exhibition-header {
    display: flex;
    align-items: center;
    gap: 3.2vw;
    max-width: 100%;
}

.exhibition-header-thumb {
    flex: 0 0 auto;
    width: 257px;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    display: block;
}

.exhibition-header-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.58) contrast(0.94);
    transition: filter 0.3s;
}

.exhibition-header-thumb:hover img {
    filter: none;
}

.exhibition-header-info {
    flex: 1;
    min-width: 0;
}

.exhibition-header-info .project-copy {
    width: auto;
    max-width: 72vw;
    column-count: 2;
}

.gallery-skip {
    display: none;
}

@media (max-width: 700px) {
    .exhibition-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .exhibition-header-thumb {
        width: 194px;
    }

    .exhibition-header-info .project-copy {
        column-count: 1;
        max-width: 100%;
    }
}
