* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    color: #111;
    scroll-behavior: smooth;
}

body.menu-open {
    overflow: hidden;
}

/* =========================
   HEADER
   ========================= */

:root {
    --header-height: 88px;
}

.site-header {
    height: var(--header-height);

    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 42px;

    background: #fff;

    z-index: 100;

    transition:
        background-color 0.5s ease;
}

.site-header.header-hidden {
    background: transparent;
}

/* LOGO */

.site-logo {
    display: flex;
    align-items: center;

    transition:
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.5s ease;
}

.site-logo img {
    display: block;

    width: 190px;
    height: auto;
}

.site-header.header-hidden .site-logo {
    transform: translateY(-100px);
    opacity: 0;
}

/* =========================
   MENU OVERLAY
   ========================= */

.menu-overlay {
    position: fixed;
    inset: 0;

    z-index: 90;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fbf2f2;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.7s ease,
        visibility 0.7s ease;
}


.menu-overlay.open {
    opacity: 1;
    visibility: visible;
}


.menu-overlay-inner {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 18px;
}


.menu-link {
    color: #111;

    font-family: "Cormorant Garamond", serif;
    font-size: clamp(52px, 5vw, 78px);
    font-style: italic;
    font-weight: 300;

    line-height: 1;

    text-decoration: none;

    opacity: 0;
    transform: translateY(25px);

    transition:
        opacity 0.7s ease,
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}


/* menüpontok egymás után jelennek meg */

.menu-overlay.open .menu-link {
    opacity: 1;
    transform: translateY(0);
}


.menu-overlay.open .menu-link:nth-child(1) {
    transition-delay: 0.15s;
}

.menu-overlay.open .menu-link:nth-child(2) {
    transition-delay: 0.22s;
}

.menu-overlay.open .menu-link:nth-child(3) {
    transition-delay: 0.29s;
}

.menu-overlay.open .menu-link:nth-child(4) {
    transition-delay: 0.36s;
}


/* MENU */

.menu-button {

    position: fixed;
    top: 32px;
    right: 42px;
    z-index: 110;

    width: 30px;
    height: 24px;

    padding: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;

    gap: 5px;

    border: 0;
    background: transparent;

    cursor: pointer;
}

.menu-button span {
    display: block;

    width: 100%;
    height: 1.5px;

    background: #111;

    transition:
        transform 0.45s ease,
        opacity 0.3s ease;
}

/* Hamburger -> X */

.menu-button.open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}


.menu-button.open span:nth-child(2) {
    opacity: 0;
}


.menu-button.open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* =========================
   HERO
   ========================= */

.hero {
    position: relative;

    height: calc(100svh - var(--header-height));
    min-height: 500px;

    margin-top: var(--header-height);

    overflow: hidden;
    background: #111;
}


.hero-slides {
    position: absolute;
    inset: 0;
}


.hero-slide {
    position: absolute;
    inset: 0;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 1.8s ease,
        visibility 1.8s ease;

    z-index: 1;
}


.hero-slide.active {
    opacity: 1;
    visibility: visible;

    z-index: 2;
}


.hero-slide img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    display: block;
}


/* MOTTO */

/* =========================
   HERO MOTTO ANIMATION
   ========================= */

.hero-motto {
    position: absolute;

    top: 50%;
    left: 50%;

    opacity: 0;

    color: #fff;

    font-family: "Cormorant Garamond", serif;
    font-size: clamp(42px, 3.5vw, 64px);
    font-style: italic;
    font-weight: 500;
    line-height: 1;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7), 0 0 18px rgba(0, 0, 0, 0.35);

    white-space: nowrap;

    transition:
        opacity 1.5s ease,
        transform 1.8s cubic-bezier(0.22, 1, 0.36, 1);

    transition-delay: 0s;
}


/* 1, 3, 5 - alulról érkezik */

.hero-slide:nth-child(odd) .hero-motto {
    transform: translate(
        -50%,
        calc(-50% + 70px)
    );
}


/* 2, 4, 6 - felülről érkezik */

.hero-slide:nth-child(even) .hero-motto {
    transform: translate(
        -50%,
        calc(-50% - 70px)
    );
}


/* Aktív mottó */

.hero-slide.active .hero-motto {
    opacity: 1;

    transform: translate(-50%, -50%);

    transition-delay: 0.8s;
}


/* Távozó mottó */

.hero-slide.leaving .hero-motto {
    opacity: 0;

    transform: translate(-50%, -50%);

    transition:
        opacity 0.7s ease,
        transform 0s;

    transition-delay: 0s;
}
/* =========================
   HERO DOTS
   ========================= */

.hero-dots {
    position: absolute;

    bottom: 18px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;
    align-items: center;

    gap: 6px;

    z-index: 20;
}


.hero-dot {
    width: 7px;
    height: 7px;

    margin: 0;
    padding: 0;

    border: 1px solid white;
    border-radius: 50%;

    background: transparent;

    cursor: pointer;

    transition:
        background-color 0.4s ease,
        transform 0.4s ease;
}


.hero-dot.active {
    background: white;
}


.hero-dot:hover {
    transform: scale(1.25);
}

/* =========================
   PHILOSOPHY
   ========================= */

.philosophy {
    background: #fff;
    color: #111;
}

.philosophy-inner {
    width: min(100% - 80px, 1400px);

    margin: 0 auto;

    padding:
        clamp(110px, 9vw, 155px)
        0
        clamp(105px, 8vw, 145px);

    text-align: center;
}


/* MAIN STATEMENT */

.philosophy-title {
    margin: 0;

    font-family: "Cormorant Garamond", serif;
    font-size: clamp(40px, 3.25vw, 56px);
    font-style: italic;
    font-weight: 400;

    line-height: 1.12;

    letter-spacing: -0.01em;
}


/* QUOTE */

.philosophy-quote {
    margin-top: clamp(75px, 6.5vw, 110px);
}

.philosophy-quote blockquote {
    margin: 0;

    font-family: "Cormorant Garamond", serif;
    font-size: clamp(24px, 1.65vw, 31px);
    font-style: italic;
    font-weight: 400;

    line-height: 1.15;
}


/* AUTHOR */

.philosophy-author {
    margin:
        25px
        0
        0;

    font-family: "Inter", sans-serif;
    font-size: 17px;
    font-weight: 400;

    line-height: 1;

    letter-spacing: 0.08em;
}


/* BOTTOM TEXT */

.philosophy-text {
    margin:
        clamp(85px, 7vw, 120px)
        auto
        0;

    max-width: 1050px;

    font-family: "Inter", sans-serif;
    font-size: 22px;
    font-weight: 400;

    line-height: 1.45;

    letter-spacing: 0.035em;
}

/* =========================
   ABOUT PREVIEW
   ========================= */

.about-preview {
    background: #fbf2f2;
}


.about-preview-inner {
    width: calc(100% - 160px);
    max-width: 1400px;

    min-height: 620px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: 700px 430px;

    justify-content: space-between;
    align-items: center;

    padding: 80px 0;
}


/* TEXT */

.about-preview-content {
    max-width: 700px;
}


.about-preview-title {
    margin:
        0
        0
        26px;

    font-family: "Cormorant Garamond", serif;

    font-size: clamp(42px, 3.2vw, 58px);

    font-style: italic;
    font-weight: 300;

    line-height: 1;
}


.about-preview-text {
    margin: 0;

    font-family: "Inter", sans-serif;

    font-size: 18px;
    font-weight: 400;

    line-height: 1.7;
}


/* READ MORE */

.text-link {
    display: inline-block;

    margin-top: 24px;

    color: #111;

    font-family: "Inter", sans-serif;

    font-size: 16px;
    font-weight: 400;

    letter-spacing: 0.04em;

    text-decoration: underline;
    text-underline-offset: 3px;
}


/* PORTRAIT */

.about-preview-image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 50%;
}


.about-preview-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}


/* =========================
   PROJECTS PREVIEW
   ========================= */

.projects-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;

    min-height: 720px;

    background: #fff;
}


/* IMAGE */

.projects-preview-image {
    position: relative;

    min-width: 0;
    overflow: hidden;
}

.projects-preview-image img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;
}


/* CONTENT */

.projects-preview-content {
    display: flex;
    align-items: center;

    padding:
        80px
        clamp(70px, 7vw, 130px);
}


.projects-preview-text {
    width: 100%;
    max-width: 590px;
}


.projects-preview-title {
    margin:
        0
        0
        28px;

    font-family: "Cormorant Garamond", serif;

    font-size: clamp(42px, 3.2vw, 58px);

    font-style: italic;
    font-weight: 300;

    line-height: 1;
}


.projects-preview-text p {
    margin: 0;

    font-family: "Inter", sans-serif;

    font-size: 18px;
    font-weight: 400;

    line-height: 1.7;
}


/* =========================
   FOOTER
   ========================= */

.site-footer {
    min-height: 120px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 60px 24px;

    background: #fbf2f2;
}


.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;

    color: #111;
    text-decoration: none;
}


.footer-logo img {
    display: block;

    width: 240px;
    height: auto;
}


.footer-tagline {
    margin-top: 7px;

    font-family: "Inter", sans-serif;
    font-size: 7px;
    font-weight: 400;

    line-height: 1;

    letter-spacing: 0.18em;
}


/* =========================
   PROJECTS PAGE
   ========================= */

.projects-page {
    padding-top: var(--header-height);
    background: #fff;
}


/* INTRO */

.projects-intro {
    width: min(100% - 80px, 1100px);

    margin: 0 auto;

    padding:
        75px
        0
        85px;

    text-align: center;
}


.projects-page-title {
    margin: 0 0 40px;

    font-family: "Cormorant Garamond", serif;
    font-size: 58px;
    font-style: italic;
    font-weight: 300;

    line-height: 1;
}


.projects-page-intro {
    max-width: 950px;

    margin: 0 auto;

    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-weight: 400;

    line-height: 1.65;
}

/* =========================
   PROJECTS GRID
   ========================= */

.projects-grid {
    display: grid;
    grid-template-columns: minmax(0, 507fr) minmax(0, 599fr);
    gap: clamp(24px, 3.8vw, 52px);
    width: calc(100% - 80px);
    margin: 0 auto;
    padding-bottom: 40px;
}

.projects-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: clamp(24px, 2.5vw, 36px);
    min-width: 0;
}

.project-card {
    position: relative;
    display: block;
    flex: 0 0 auto;
    width: 100%;
    color: #fff;
    text-decoration: none;
}

.project-card img {
    display: block;
    width: 100%;
    height: auto;
}


/* PROJECT TITLE */

.project-card-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 90%;
    text-align: center;
    color: #fff;
}


.project-card-title span {
    display: block;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(26px, 2.1vw, 38px);
    font-style: italic;
    font-weight: 400;
    line-height: 1.05;
}


.project-card-title small {
    display: block;
    margin-top: 5px;
    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.project-psychologist .project-card-title span {
    font-size: clamp(22px, 1.8vw, 32px);
}



/* =========================
   PROJECT DETAIL
   ========================= */

.project-detail {
    padding-top: var(--header-height);
    background: #fff;
}


.project-detail-intro {
    width: min(100% - 80px, 1100px);
    margin: 0 auto;
    padding:
        65px
        0
        75px;

    text-align: center;
}


.project-detail-title {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(38px, 3vw, 58px);
    font-style: italic;
    font-weight: 300;

    line-height: 1.05;
}


.project-detail-description {
    max-width: 900px;
    margin:
        35px
        auto
        0;

    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-weight: 400;

    line-height: 1.65;
}


/* =========================
   PROJECT GALLERY
   ========================= */

.project-gallery {
    width: 100%;
}


.project-gallery-full {
    width: 100%;
    margin-bottom: 28px;
}


.project-gallery-full img {
    display: block;
    width: 100%;
    height: auto;
}


/* TWO IMAGES */

.project-gallery-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    /* width: calc(100% - 80px);
    margin:
        0
        auto
        28px; */
    width: 100%;
    margin-bottom: 28px;
}


.project-gallery-half {
    min-width: 0;
}


.project-gallery-half img {
    display: block;
    width: 100%;
    height: auto;
}

.project-gallery-wide-crop {
    width: 100%;
    margin-bottom: 28px;
}


.project-gallery-wide-crop img {
    display: block;
    width: 100%;
    height: auto;
}


.project-gallery > :last-child {
    margin-bottom: 28px;
}



















/* =========================
   MOBILE
   ========================= */

@media (max-width: 768px) {

    :root {
        --header-height: 68px;
    }

    .site-header {
        padding: 0 20px;
    }

    .site-logo img {
        width: 135px;
    }

    .menu-button {
        top: 24px;
        right: 20px;

        width: 24px;
        height: 20px;

        gap: 4px;
    }

    .hero {
        min-height: 0;
    }

    .hero-motto {
        width: calc(100% - 40px);

        font-size: clamp(36px, 11vw, 52px);

        text-align: center;
        white-space: normal;
    }

    .hero-dots {
        bottom: 16px;
    }


    .menu-overlay-inner {
        gap: 16px;
    }


    .menu-link {
        font-size: clamp(48px, 15vw, 64px);
    }

    /* PHILOSOPHY */

    .philosophy-inner {
        width: 100%;

        padding:
            75px
            24px
            80px;
    }

    .philosophy-title {
        font-size: 34px;

        line-height: 1.08;
    }

    .philosophy-quote {
        margin-top: 65px;
    }

    .philosophy-quote blockquote {
        font-size: 22px;

        line-height: 1.15;
    }

    .philosophy-author {
        margin-top: 20px;

        font-size: 9px;

        letter-spacing: 0.08em;
    }

    .philosophy-text {
        margin-top: 70px;

        max-width: 500px;

        font-size: 13px;

        line-height: 1.55;

        letter-spacing: 0.025em;
    }

    .desktop-break {
        display: none;
    }

    /* ABOUT PREVIEW */

    .about-preview-inner {
        width: 100%;
        min-height: 0;

        grid-template-columns: 1fr;

        gap: 55px;

        padding:
            70px
            24px
            75px;
    }


    /* PROJECTS PAGE */

    .projects-intro {
        width: 100%;

        padding:
            60px
            24px
            65px;
    }


    .projects-page-title {
        margin-bottom: 30px;

        font-size: 40px;
    }


    .projects-page-intro {
        font-size: 13px;
        line-height: 1.6;
    }


    /* PROJECTS PAGE - MOBILE */

    .projects-grid {
        width: calc(100% - 32px);
        display: flex;
        flex-direction: column;

        gap: 12px;

        padding-bottom: 12px;
    }


    .projects-column {
        display: contents;
    }

    .project-card {
        width: 100%;
    }

    .project-clt { order: 1; }
    .project-airbnb { order: 2; }
    .project-psychologist { order: 3; }
    .project-brussels { order: 4; }
    .project-fashion { order: 5; }
    .project-budapest { order: 6; }
    .project-hungary { order: 7; }


    .project-card-title span {
        font-size: 30px;
    }


    .project-card-title small {
        font-size: 10px;
    }

    .about-preview-content {
        max-width: none;
    }


    .about-preview-title {
        margin-bottom: 22px;

        font-size: 42px;
    }


    .about-preview-text {
        font-size: 13px;

        line-height: 1.65;
    }


    .text-link {
        margin-top: 22px;

        font-size: 11px;
    }


    .about-preview-image {
        width: min(72vw, 300px);

        justify-self: center;
    }

    /* PROJECTS PREVIEW */

    .projects-preview {
        display: flex;
        flex-direction: column;

        min-height: 0;
    }


    .projects-preview-image {
        width: 100%;
        height: 65svh;
        min-height: 430px;
        max-height: 620px;
    }


    .projects-preview-image img {
        position: absolute;

        object-position: center;
    }


    .projects-preview-content {
        padding:
            70px
            24px
            75px;
    }


    .projects-preview-text {
        max-width: none;
    }


    .projects-preview-title {
        margin-bottom: 22px;

        font-size: 42px;
    }


    .projects-preview-text p {
        font-size: 13px;

        line-height: 1.65;
    }

    /* PROJECT DETAIL */

    .project-detail-intro {
        width: 100%;

        padding:
            55px
            24px
            60px;
    }


    .project-detail-title {
        font-size: 36px;
    }


    .project-detail-description {
        margin-top: 28px;

        font-size: 13px;
        line-height: 1.6;
    }


    /* PROJECT GALLERY */

    .project-gallery-full {
        margin-bottom: 12px;
    }


    .project-gallery-two {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 12px;
    }

    .project-gallery-wide-crop {
        margin-bottom: 12px;
    }

    .project-gallery-half {
        height: auto;
    }


    .project-gallery-half img {
        width: 100%;
        height: auto;
        object-fit: initial;
    }


    .project-gallery > :last-child {
        margin-bottom: 12px;
    }

    /* FOOTER */

    .site-footer {
        min-height: 190px;

        padding:
            50px
            24px;
    }


    .footer-logo img {
        width: 150px;
    }


    .footer-tagline {
        margin-top: 6px;

        font-size: 6px;

        letter-spacing: 0.16em;
    }

}

@media (prefers-reduced-motion: reduce) {

    .site-header,
    .hero-slide,
    .hero-motto,
    .hero-dot {
        transition: none;
    }

}


/* About: crop both horizontal edges equally; keep the full image on mobile. */
.about-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100svh;
    padding-top: var(--header-height);
}
.about-layout > .site-footer { flex-shrink: 0; }
.about-page {
    display: grid;
    flex: 1;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr);
    align-items: stretch;
}
.about-path-image { position: relative; min-width: 0; }
.about-path-image img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.about-path-content {
    align-self: center;
    padding: clamp(28px, 3vw, 56px);
    font-size: 18px;
    line-height: 1.5;
}
.about-path-content h1 {
    margin: 0 0 32px;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(42px, 4vw, 58px);
    font-style: italic;
    font-weight: 300;
    line-height: 1.05;
}
.about-path-content p { margin: 0 0 24px; }
.about-path-content p:last-child { margin-bottom: 0; }
@media (max-width: 1000px) {
    .about-page { grid-template-columns: minmax(0, 1fr); }
    .about-path-image img { position: static; height: auto; object-fit: contain; }
    .about-path-content { padding: 36px 24px 44px; font-size: 16px; }
    .about-path-content h1 { margin-bottom: 28px; }
}

/* Contact: the photograph is anchored at the top, cropping its lower edge. */
.contact-layout {
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100svh;
    padding-top: var(--header-height);
}
.contact-page {
    position: relative;
    flex: 1 0 120px;
    min-height: 120px;
}
.contact-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}
.contact-footer {
    flex-shrink: 0;
    background: #fff;
    display: grid;
    grid-template-columns: 1.45fr .9fr 1.2fr .6fr;
    gap: 32px;
    padding: 32px max(40px, calc((100vw - 1144px) / 2));
    min-height: 164px;
    font-size: 18px;
    line-height: 1.6;
}
.contact-footer .footer-logo { align-items: flex-start; }
.contact-footer .footer-logo img { width: 220px; max-width: 100%; }
.contact-identity h1, .contact-identity p { margin: 0; font-size: inherit; }
.contact-identity h1 { font-weight: 600; }
.contact-details { font-style: normal; }
.contact-details, .contact-socials { display: grid; gap: 2px; }
.contact-details a, .contact-socials > * {
    display: flex;
    align-items: center;
    gap: 9px;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
    min-height: 30px;
}
.contact-details a:hover, .contact-socials a:hover { text-decoration: underline; }
.contact-icon { width: 28px; height: 28px; flex: 0 0 28px; }
@media (min-width: 769px) and (max-width: 1200px) {
    .contact-footer { grid-template-columns: 1fr 1fr; padding: 32px 40px; }
}
@media (max-width: 768px) {
    .contact-footer { grid-template-columns: 1fr; gap: 24px; padding: 32px 24px 40px; font-size: 16px; }
    .contact-footer .footer-logo img { width: 190px; }
    .contact-details a, .contact-socials > * { min-height: 44px; }
}

/* PDF compositions: scoped to the six reference-based project galleries. */
.project-gallery--pdf {
    --gallery-gap: 28px;
    display: grid;
    gap: var(--gallery-gap);
    padding-bottom: var(--gallery-gap);
}

.project-gallery--pdf > .project-gallery-page {
    display: grid;
    gap: var(--gallery-gap);
    min-width: 0;
    margin: 0;
}

.project-gallery-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: var(--gallery-gap);
    min-width: 0;
}

.project-gallery-row--two {
    grid-template-columns: var(--gallery-columns, repeat(2, minmax(0, 1fr)));
}

@media (min-width: 769px) {
    .project-gallery-two,
    .project-gallery-row--two {
        align-items: end;
    }
}

@media (min-width: 601px) and (max-width: 768px) {
    .project-gallery-row--two {
        align-items: end;
    }
}

.project-gallery-row img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-width: 0;
}

/* Visible image widths measured on the corresponding PDF pages. */
.project-gallery-row--pdf-2 {
    --gallery-columns: 273.8fr 273.3fr;
}

.project-gallery-row--pdf-5 {
    --gallery-columns: 250.53fr 308.11fr;
}

.project-gallery-row--pdf-7 {
    --gallery-columns: 293.7fr 264fr;
}

.project-gallery-row--pdf-9 {
    --gallery-columns: 272.3fr 268.5fr;
}

.project-gallery-row--pdf-11 {
    --gallery-columns: 271.5fr 283.5fr;
}

.project-gallery-row--pdf-13 {
    --gallery-columns: 273.8fr 273.8fr;
}

.project-gallery-row--pdf-16 {
    --gallery-columns: 279fr 275.3fr;
}

.project-gallery-row--pdf-17 {
    --gallery-columns: 283.5fr 287.2fr;
}

.project-gallery-row--pdf-19 {
    --gallery-columns: 278.3fr 264.6fr;
}

@media (max-width: 600px) {
    .project-gallery--pdf {
        --gallery-gap: 12px;
    }

    .project-gallery-row--two {
        grid-template-columns: minmax(0, 1fr);
    }
}
