/* ==========================================================
   HERO LAYOUT
   Статическая компоновка HERO управляется только CSS.

   JavaScript отвечает за:
   - scroll-анимации;
   - прозрачность;
   - размытие;
   - смещение при прокрутке;
   - pointer-events.

   ========================================================== */


/* ==========================================================
   1. HERO — DESKTOP BASE
   ========================================================== */

.hero {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    position: relative;
}


/* ==========================================================
   2. HERO LEFT
   ========================================================== */

.hero-left {
    position: relative;
    min-width: 0;
}


/* ==========================================================
   3. LEFT LABEL
   ========================================================== */

.hero-left-label {
    position: relative;
    top: -50px;
    translate: 0 var(--hero-left-scroll-y, 0px);
}


/* ==========================================================
   4. LEFT TITLE
   ========================================================== */

.hero-left-title-wrap {/*главный текст слева*/
    position: relative;
    left: -50px;
    top: 200px;

    transform: scale(1.6);
    transform-origin: left top;

    translate: 0 var(--hero-left-scroll-y, 0px);
}


/* ==========================================================
   5. LEFT INTRO
   Текст поверх изображения снизу
   ========================================================== */



/* ==========================================================
   6. EDITORIAL
   ========================================================== */

.hero-editorial {
    position: relative;

    left: 0;
    top: -280px;

    width: 100%;
    max-width: 700px;

    transform: scale(0.60);
    transform-origin: left top;

    translate: 0 var(--hero-left-scroll-y, 0px);
}


/* ==========================================================
   7. LEFT GALLERY
   ========================================================== */

.hero-left-gallery {/*3 фотографии*/
    position: relative;

    top: -485px;

    transform: scale(0.95);
    transform-origin: left top;

    translate: 0 var(--hero-left-scroll-y, 0px);
}


/* ==========================================================
   8. STATEMENT
   ========================================================== */

.hero-statement {/*элемент текста слева*/
    position: relative;

    top: -480px;

    translate: 0 var(--hero-left-scroll-y, 0px);
}


/* ==========================================================
   9. FINAL PAIR
   ========================================================== */

.hero-final-pair {/*последний блок слева*/
    position: relative;
    top: -500px;
}


/* ==========================================================
   10. HERO VISUAL
   ========================================================== */

.hero-visual {
    position: relative;

    top: -60px;

    transform: scale(0.95);
    transform-origin: center top;
}


/* ==========================================================
   11. HERO IMAGE
   ========================================================== */

.hero-image {/*главное изображение справа*/
    position: relative;

    top: 75px;

    opacity: var(--hero-image-opacity, 1);

    translate: 0 var(--hero-image-offset, 0px);
}


/* ==========================================================
   12. HERO ABOUT TEXT
   ========================================================== */

.hero-about-text {/*текст справа*/
    position: relative;

    top: 20px;

    opacity: var(--about-opacity, 1);

    translate: 0 var(--about-offset, 0px);

    pointer-events: var(--about-pointer-events, auto);
}


/* ==========================================================
   13. ABOUT V34
   ========================================================== */

.about-v34 {/*текст справа снизу*/
    position: relative;

    left: 0;
    top: 95px;
}


/* ==========================================================
   14. HERO CONTENT SCROLL
   ========================================================== */

.hero-content {
    translate: var(--hero-content-scroll-x, 0px) 0;
}


/* ==========================================================
   15. SIGNATURE LABEL SCROLL
   ========================================================== */

.signature-label {
    translate: var(--hero-label-scroll-x, 0px) 0;
}


/* ==========================================================
   16. TABLET — 1100px
   ========================================================== */

@media (max-width: 1100px) {

    .hero {
        display: flex;
        flex-direction: column;
        align-items: stretch;

        height: auto;
        min-height: 0;

        gap: 60px;

        overflow: visible;
    }


    /* LEFT */

    .hero-left {
        position: relative;

        display: flex;
        flex-direction: column;

        width: 100%;
        min-width: 0;

        height: auto;
        min-height: 0;

        gap: 60px;
    }


    /* LEFT ELEMENTS */

    .hero-left-label,
    .hero-left-title-wrap,
    .hero-editorial,
    .hero-left-gallery,
    .hero-statement,
    .hero-final-pair {
        position: relative;

        left: auto;
        right: auto;
        top: auto;
        bottom: auto;

        width: 100%;
        max-width: 100%;

        transform: none;
        transform-origin: initial;

        translate: none;
    }


    /* LEFT INTRO — TEXT OVER IMAGE */




    /* LEFT CONTENT */

    .hero-left-content {
        position: relative;

        left: auto;
        right: auto;
        top: auto;
        bottom: auto;

        width: 100%;
        max-width: 100%;

        transform: none;
        translate: none;
    }


    /* EDITORIAL */

    .hero-editorial {
        max-width: 100%;
    }


    /* EDITORIAL IMAGE */

    .hero-left .hero-editorial img {
        height: clamp(420px, 70vw, 640px);
    }


    /* GALLERY */

    .hero-left-gallery {
        width: 100%;
    }


    /* FINAL PAIR */

    .hero-final-pair {
        display: flex;
        flex-direction: column;
        align-items: stretch;

        width: 100%;
        gap: 32px;
    }


    /* VISUAL */

    .hero-visual {
        position: relative;

        display: block;

        left: auto;
        right: auto;
        top: auto;
        bottom: auto;

        width: 100%;
        max-width: 100%;

        height: auto;
        min-height: 0;

        transform: none;
        transform-origin: initial;

        translate: none;

        visibility: visible;
        opacity: 1;
    }


    /* IMAGE */

    .hero-image {
        position: relative;

        left: auto;
        right: auto;
        top: auto;
        bottom: auto;

        max-width: 100%;

        transform: none;
        translate: none;

        visibility: visible;
    }


    /* ABOUT TEXT */

    .hero-about-text {
        position: relative;

        left: auto;
        right: auto;
        top: auto;
        bottom: auto;

        width: 100%;
        max-width: 100%;

        transform: none;
        translate: none;

        visibility: visible;
    }


    /* ABOUT V34 */

    .about-v34 {
        position: relative;

        left: auto;
        right: auto;
        top: auto;
        bottom: auto;

        width: 100%;
        max-width: 100%;

        transform: none;
        translate: none;

        visibility: visible;
    }


    /* SCROLL TRANSFORMS */

    .hero-left-label,
    .hero-left-title-wrap,
    .hero-editorial,
    .hero-left-gallery,
    .hero-statement {
        translate: 0 var(--hero-left-scroll-y, 0px);
    }


    .hero-content {
        translate: none;
    }


    .signature-label {
        translate: none;
    }


    .hero-image {
        translate: 0 var(--hero-image-offset, 0px);
    }


    .hero-about-text {
        translate: 0 var(--about-offset, 0px);
    }

}


/* ==========================================================
   17. MOBILE — 600px
   Текст остаётся поверх изображения
   ========================================================== */

@media (max-width: 600px) {

    .hero {
        gap: 44px;
    }


    .hero-left {
        gap: 44px;
    }


    .hero-left .hero-editorial img {
        height: clamp(200px, 58vw, 300px);
    }


    /* INTRO OVERLAY */




    .hero-final-pair {
        gap: 24px;
    }


    .hero-visual,
    .hero-image,
    .hero-about-text,
    .about-v34 {
        width: 100%;
        max-width: 100%;
    }

}


/* ==========================================================
   18. SMALL MOBILE — 420px
   ========================================================== */

@media (max-width: 420px) {

    .hero {
        gap: 36px;
    }


    .hero-left {
        gap: 36px;
    }





    .hero-final-pair {
        gap: 20px;
    }

}
