/* =========================================================
   BRANDS / MARKI
========================================================= */

.brands-page {
    --brands-black: #0b0b0b;
    --brands-paper: #f2eee7;
    --brands-line: rgba(0,0,0,.15);

    width: 100%;
    overflow: hidden;

    background: var(--brands-paper);
    color: #111;
}


/* ---------------------------------------------------------
   COMMON
--------------------------------------------------------- */

.brands-kicker {
    margin: 0 0 17px;

    font-size: 9px;
    line-height: 1.4;

    letter-spacing: .18em;
    text-transform: uppercase;
}

.brands-kicker--light {
    color: rgba(255,255,255,.68);
}

.brands-rule {
    display: block;

    width: 32px;
    height: 1px;

    margin: 26px 0;

    background: rgba(255,255,255,.7);
}

.brands-link {
    display: inline-flex;

    align-items: center;
    gap: 20px;

    margin-top: 27px;

    color: #111 !important;

    font-size: 9px;
    line-height: 1;

    letter-spacing: .08em;
    text-transform: uppercase;
}

.brands-link span {
    font-size: 18px;
}

.brands-link--light {
    color: #fff !important;
}


/* ---------------------------------------------------------
   HERO
--------------------------------------------------------- */

.brands-hero {
    width: 100%;
    min-height: 740px;

    position: relative;

    display: flex;
    align-items: center;

    box-sizing: border-box;

    padding:
        150px
        var(--pad)
        80px;

    background-color: #151515;

    background-size: cover;
    background-position: center;

    color: #fff;

    overflow: hidden;
}

.brands-hero__content {
    width: 50%;

    position: relative;
    z-index: 3;
}

.brands-hero h1 {
    margin: 0;

    font-family: var(--serif);

    font-size:
        clamp(
            72px,
            8vw,
            142px
        );

    font-weight: 400;

    line-height: .88;

    letter-spacing: -.045em;

    color: #fff !important;
}

.brands-hero__lead {
    max-width: 360px;

    margin: 30px 0 0;

    font-size: 15px;
    line-height: 1.6;

    color: rgba(255,255,255,.80);
}

.brands-hero__meta {
    position: absolute;

    z-index: 3;

    top: 195px;
    right: var(--pad);

    width: 140px;

    display: flex;
    flex-direction: column;

    gap: 32px;
}

.brands-hero__meta > div {
    display: flex;
    flex-direction: column;
}

.brands-hero__meta span {
    margin-bottom: 5px;

    font-size: 9px;

    color: rgba(255,255,255,.46);
}

.brands-hero__meta strong {
    font-size: 10px;
    font-weight: 500;

    letter-spacing: .08em;
}

.brands-hero__meta strong::after {
    content: "";

    display: block;

    width: 23px;
    height: 1px;

    margin-top: 10px;

    background: rgba(255,255,255,.56);
}


/* ---------------------------------------------------------
   TABS
--------------------------------------------------------- */

.brands-tabs {
    min-height: 68px;

    display: grid;

    grid-template-columns:
        repeat(4,1fr);

    padding:
        0
        var(--pad);

    background: var(--brands-paper);

    border-bottom:
        1px solid
        var(--brands-line);
}

.brands-tabs a {
    position: relative;

    display: flex;

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

    color: #666;

    font-size: 9px;

    letter-spacing: .08em;
    text-transform: uppercase;

    border-right:
        1px solid
        rgba(0,0,0,.12);
}

.brands-tabs a:first-child {
    border-left:
        1px solid
        rgba(0,0,0,.12);
}

.brands-tabs a:hover,
.brands-tabs a.is-active {
    color: #111;
}

.brands-tabs a.is-active::after {
    content: "";

    position: absolute;

    left: 25%;
    right: 25%;
    bottom: 0;

    height: 1px;

    background: #111;
}


/* ---------------------------------------------------------
   MONOCHROME
--------------------------------------------------------- */

.brands-featured {
    display: grid;

    grid-template-columns:
        30%
        70%;

    grid-template-rows:
        minmax(520px,auto)
        220px;

    border-bottom:
        1px solid
        var(--brands-line);
}

.brands-featured__copy {
    grid-row:
        1 / 3;

    padding:
        70px
        55px
        55px
        var(--pad);

    display: flex;

    flex-direction: column;

    justify-content: center;
}

.brands-featured__copy h2 {
    margin: 0;

    font-family: var(--serif);

    font-size:
        clamp(
            48px,
            4.5vw,
            78px
        );

    font-weight: 400;

    line-height: .9;

    letter-spacing: -.04em;
}

.brands-featured__type {
    margin: 25px 0 0;

    font-size: 8px;

    letter-spacing: .12em;

    color: #666;
}

.brands-featured__description {
    max-width: 350px;

    margin: 28px 0 0;

    font-size: 12px;
    line-height: 1.65;

    color: #444;
}

.brands-featured__main {
    min-height: 520px;

    background:
        linear-gradient(
            135deg,
            #292929,
            #8d857d
        );

    background-size: cover;
    background-position: center;

    border-left:
        1px solid
        var(--brands-line);
}

.brands-featured__strip {
    display: grid;

    grid-template-columns:
        repeat(4,1fr);

    gap: 3px;

    padding-top: 3px;

    border-left:
        1px solid
        var(--brands-line);
}

.brands-featured__strip > div {
    min-height: 217px;

    background:
        linear-gradient(
            135deg,
            #b0a89e,
            #6d665f
        );

    background-size: cover;
    background-position: center;
}


/* ---------------------------------------------------------
   SELECTED BRANDS
--------------------------------------------------------- */

.brands-selected {
    display: grid;

    grid-template-columns:
        repeat(4,minmax(0,1fr));

    grid-auto-flow: dense;

    gap: 4px;

    padding: 4px;

    background: #0b0b0b;
}

.brands-selected__intro {
    min-height: 390px;

    padding:
        55px
        42px;

    box-sizing: border-box;

    background: #0b0b0b;

    color: #fff;
}

.brands-selected__intro h2 {
    max-width: 370px;

    margin: 0;

    font-family: var(--serif);

    font-size:
        clamp(
            38px,
            3.4vw,
            58px
        );

    font-weight: 400;

    line-height: .96;
}

.brands-selected__intro > p:not(.brands-kicker) {
    max-width: 340px;

    margin: 29px 0 0;

    font-size: 11px;
    line-height: 1.65;

    color: rgba(255,255,255,.60);
}

.brands-card {
    min-height: 390px;

    position: relative;

    overflow: hidden;

    background: #282828;
}

.brands-card--large {
    grid-column: span 2;
    grid-row: span 2;

    min-height: 784px;
}

.brands-card--wide {
    grid-column: span 2;
}

.brands-card__image {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            135deg,
            #323232,
            #8d857d
        );

    background-size: cover;
    background-position: center;

    transition: transform .65s ease;
}

.brands-card__image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            0deg,
            rgba(0,0,0,.82) 0%,
            rgba(0,0,0,.08) 60%
        );
}

.brands-card:hover .brands-card__image {
    transform: scale(1.025);
}

.brands-card__content {
    position: absolute;

    z-index: 2;

    left: 28px;
    right: 28px;
    bottom: 27px;

    color: #fff;
}

.brands-card__content > p {
    margin:
        0
        0
        10px;

    font-size: 8px;

    letter-spacing: .13em;

    color: rgba(255,255,255,.62);
}

.brands-card__content h3 {
    margin: 0;

    font-family: var(--serif);

    font-size:
        clamp(
            28px,
            2.8vw,
            50px
        );

    font-weight: 400;
    line-height: .92;
}

.brands-card__content span {
    display: block;

    max-width: 260px;

    margin-top: 15px;

    font-size: 10px;
    line-height: 1.5;

    color: rgba(255,255,255,.60);
}


/* ---------------------------------------------------------
   PHILOSOPHY
--------------------------------------------------------- */

.brands-philosophy {
    display: grid;

    grid-template-columns:
        1.5fr
        repeat(3,1fr);

    padding:
        60px
        var(--pad);

    background: #0b0b0b;

    color: #fff;

    border-top:
        1px solid
        rgba(255,255,255,.12);
}

.brands-philosophy__headline {
    padding-right: 60px;
}

.brands-philosophy__headline h2 {
    max-width: 520px;

    margin: 0;

    font-family: var(--serif);

    font-size:
        clamp(
            40px,
            3.6vw,
            62px
        );

    font-weight: 400;

    line-height: .95;
}

.brands-philosophy__item {
    padding:
        0
        35px;

    border-left:
        1px solid
        rgba(255,255,255,.15);
}

.brands-philosophy__item > span {
    display: block;

    margin-bottom: 30px;

    font-family: var(--serif);

    font-size: 27px;

    color: rgba(255,255,255,.55);
}

.brands-philosophy__item h3 {
    margin:
        0
        0
        14px;

    font-family: var(--serif);

    font-size: 30px;

    font-weight: 400;
}

.brands-philosophy__item p {
    max-width: 220px;

    margin: 0;

    font-size: 10px;
    line-height: 1.55;

    color: rgba(255,255,255,.58);
}


/* ---------------------------------------------------------
   PRODUCT
--------------------------------------------------------- */

.brands-product {
    display: grid;

    grid-template-columns:
        31%
        35%
        34%;

    min-height: 610px;

    border-bottom:
        1px solid
        var(--brands-line);
}

.brands-product__copy {
    padding:
        65px
        45px
        55px
        var(--pad);

    display: flex;

    flex-direction: column;

    justify-content: center;
}

.brands-product__copy h2 {
    margin: 0;

    font-family: var(--serif);

    font-size:
        clamp(
            42px,
            4vw,
            69px
        );

    line-height: .93;

    font-weight: 400;

    letter-spacing: -.035em;
}

.brands-product__copy > p:not(.brands-kicker) {
    max-width: 340px;

    margin: 25px 0 0;

    font-size: 11px;
    line-height: 1.65;

    color: #444;
}

.brands-product__main {
    min-height: 610px;

    background:
        linear-gradient(
            135deg,
            #2a2826,
            #958a7f
        );

    background-size: cover;
    background-position: center;

    border-left:
        1px solid
        var(--brands-line);
}

.brands-product__grid {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 3px;

    padding: 3px;

    border-left:
        1px solid
        var(--brands-line);
}

.brands-product__grid > div {
    min-height: 300px;

    background:
        linear-gradient(
            135deg,
            #c0b7ad,
            #746c65
        );

    background-size: cover;
    background-position: center;
}


/* ---------------------------------------------------------
   OUTPUT
--------------------------------------------------------- */

.brands-output {
    display: grid;

    grid-template-columns:
        1.35fr
        repeat(4,1fr);

    padding:
        60px
        var(--pad);

    background:
        var(--brands-paper);
}

.brands-output__intro {
    padding-right: 55px;
}

.brands-output__intro h2 {
    margin: 0;

    font-family: var(--serif);

    font-size:
        clamp(
            36px,
            3vw,
            54px
        );

    line-height: .96;

    font-weight: 400;
}

.brands-output__item {
    padding:
        0
        28px;

    border-left:
        1px solid
        rgba(0,0,0,.15);
}

.brands-output__item > span {
    display: block;

    margin-bottom: 28px;

    font-family: var(--serif);

    font-size: 26px;
}

.brands-output__item h3 {
    margin: 0 0 14px;

    font-family: var(--serif);

    font-size: 26px;

    font-weight: 400;
}

.brands-output__item p {
    max-width: 190px;

    margin: 0;

    font-size: 10px;
    line-height: 1.6;

    color: #555;
}


/* ---------------------------------------------------------
   PROCESS
--------------------------------------------------------- */

.brands-process {
    display: grid;

    grid-template-columns:
        1.35fr
        repeat(4,1fr);

    padding:
        60px
        var(--pad);

    background: #0b0b0b;

    color: #fff;
}

.brands-process__intro {
    padding-right: 55px;
}

.brands-process__intro h2 {
    margin: 0;

    font-family: var(--serif);

    font-size:
        clamp(
            36px,
            3vw,
            54px
        );

    line-height: .96;

    font-weight: 400;
}

.brands-process__step {
    padding:
        0
        28px;

    border-left:
        1px solid
        rgba(255,255,255,.15);
}

.brands-process__step > span {
    display: block;

    margin-bottom: 28px;

    font-family: var(--serif);

    font-size: 26px;

    color: rgba(255,255,255,.62);
}

.brands-process__step h3 {
    margin:
        0
        0
        14px;

    font-family: var(--serif);

    font-size: 26px;

    font-weight: 400;
}

.brands-process__step p {
    max-width: 190px;

    margin: 0;

    font-size: 10px;
    line-height: 1.6;

    color: rgba(255,255,255,.58);
}


/* =========================================================
   BRANDS TABLET
========================================================= */

@media (max-width: 1100px) {

    .brands-featured {
        grid-template-columns:
            36%
            64%;
    }


    .brands-selected {
        grid-template-columns:
            repeat(2,1fr);
    }


    .brands-philosophy {
        grid-template-columns:
            1fr
            1fr;
    }

    .brands-philosophy__headline {
        grid-column:
            1 / -1;

        margin-bottom: 45px;
    }

    .brands-philosophy__item {
        padding:
            30px
            0;

        border-left: 0;

        border-top:
            1px solid
            rgba(255,255,255,.15);
    }


    .brands-product {
        grid-template-columns:
            1fr
            1fr;
    }

    .brands-product__grid {
        grid-column:
            1 / -1;
    }


    .brands-output,
    .brands-process {
        grid-template-columns:
            1fr
            1fr;
    }

    .brands-output__intro,
    .brands-process__intro {
        grid-column:
            1 / -1;

        margin-bottom: 40px;
    }

    .brands-output__item,
    .brands-process__step {
        padding:
            30px
            0;

        border-left: 0;

        border-top:
            1px solid
            rgba(0,0,0,.15);
    }

    .brands-process__step {
        border-top-color:
            rgba(255,255,255,.15);
    }

}


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

@media (max-width: 760px) {

    .brands-hero {
        min-height: 690px;

        padding:
            135px
            22px
            60px;
    }

    .brands-hero__content {
        width: 86%;
    }

    .brands-hero h1 {
        font-size: 20vw;
    }

    .brands-hero__meta {
        display: none;
    }


    .brands-tabs {
        display: flex;

        overflow-x: auto;

        min-height: 62px;

        padding:
            0
            22px;
    }

    .brands-tabs a {
        min-width: max-content;

        padding:
            0
            24px;

        border-left: 0 !important;
    }


    .brands-featured {
        display: block;
    }

    .brands-featured__copy {
        padding:
            55px
            22px;
    }

    .brands-featured__copy h2 {
        font-size: 14vw;
    }

    .brands-featured__main {
        min-height: 100vw;

        border-left: 0;
    }

    .brands-featured__strip {
        grid-template-columns:
            1fr
            1fr;

        border-left: 0;
    }

    .brands-featured__strip > div {
        min-height: 62vw;
    }


    .brands-selected {
        grid-template-columns:
            1fr
            1fr;
    }

    .brands-selected__intro {
        grid-column:
            1 / -1;

        min-height: auto;

        padding:
            55px
            22px;
    }

    .brands-card {
        min-height: 72vw;
    }

    .brands-card--large {
        grid-column: span 2;
        grid-row: span 1;

        min-height: 105vw;
    }

    .brands-card--wide {
        grid-column: span 2;

        min-height: 65vw;
    }

    .brands-card__content {
        left: 17px;
        right: 17px;
        bottom: 17px;
    }

    .brands-card__content h3 {
        font-size: 7vw;
    }


    .brands-philosophy {
        display: block;

        padding:
            55px
            22px;
    }

    .brands-philosophy__headline {
        margin-bottom: 35px;

        padding: 0;
    }

    .brands-philosophy__item {
        padding:
            28px
            0;
    }


    .brands-product {
        display: block;
    }

    .brands-product__copy {
        padding:
            55px
            22px;
    }

    .brands-product__copy h2 {
        font-size: 13.5vw;
    }

    .brands-product__main {
        min-height: 100vw;

        border-left: 0;
    }

    .brands-product__grid {
        grid-template-columns:
            1fr
            1fr;

        border-left: 0;
    }

    .brands-product__grid > div {
        min-height: 65vw;
    }


    .brands-output,
    .brands-process {
        display: block;

        padding:
            55px
            22px;
    }

    .brands-output__intro,
    .brands-process__intro {
        margin-bottom: 35px;

        padding: 0;
    }

    .brands-output__item,
    .brands-process__step {
        padding:
            28px
            0;
    }

}


/* Responsive Fix 3 — wybrane realizacje na małych telefonach. */
@media (max-width: 430px) {
    .brands-selected {
        grid-template-columns: minmax(0, 1fr);
    }

    .brands-selected > * {
        grid-column: auto;
        grid-row: auto;
    }
}
