/* =========================================================
   RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body,
#root {
    width: 100%;
    height: 100%;
    min-width: 100%;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        "Inter",
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;

    background: #000;
    overflow-x: hidden;
}


/* =========================================================
   HERO - FULL SCREEN
   ========================================================= */

.construction-hero {
    position: relative;

    width: 100%;
    height: 100vh;
    min-height: 100vh;

    margin: 0;
    padding: 0;

    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: flex-start;
}


/* =========================================================
   FULL SCREEN BACKGROUND IMAGE
   ========================================================= */

.hero-background {
    position: absolute;

    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background-image: url("clovetech1.jpg");

    background-repeat: no-repeat;

    /*
     * IMPORTANT:
     * cover makes the image fill the entire screen.
     */
    background-size: cover;

    /*
     * Desktop:
     * Keep the main construction building visible.
     */
    background-position: center center;

    z-index: 1;

    /*
     * Prevent the image from behaving like
     * a small/shrunk element.
     */
    transform: none;
}


/* =========================================================
   DARK LEFT OVERLAY
   ========================================================= */

.hero-overlay {
    position: absolute;

    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    width: 100%;
    height: 100%;

    z-index: 2;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.92) 0%,
            rgba(0, 0, 0, 0.86) 18%,
            rgba(0, 0, 0, 0.76) 30%,
            rgba(0, 0, 0, 0.55) 42%,
            rgba(0, 0, 0, 0.25) 55%,
            rgba(0, 0, 0, 0.05) 68%,
            rgba(0, 0, 0, 0) 78%
        );
}


/* =========================================================
   CONTENT
   ========================================================= */

.hero-content {
    position: relative;

    z-index: 5;

    width: 100%;
    max-width: 1600px;

    min-height: 100vh;

    margin: 0 auto;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding-left: clamp(
        40px,
        3.2vw,
        148px
    );

    padding-right: 40px;

    padding-top: 20px;
    padding-bottom: 20px;
}


/* =========================================================
   LOGO
   ========================================================= */

.brand-logo {
    position: absolute;

    top: clamp(
        35px,
        6vh,
        65px
    );

    left: clamp(
        40px,
        5.3vw,
        85px
    );

    width: clamp(
        180px,
        15vw,
        250px
    );
}


.logo-image {
    display: block;

    width: 100%;
    height: auto;

    object-fit: contain;
}


/* =========================================================
   HEADLINE
   ========================================================= */

.headline {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    width: fit-content;

    margin-top: 50px;
}


.headline-line {
    font-size: clamp(
        38px,
        6vw,
        72px
    );

    font-weight: 800;

    line-height: 0.98;

    letter-spacing: -1px;

    text-transform: uppercase;

    white-space: nowrap;
}


/* =========================================================
   UNDER
   ========================================================= */

.line-one {
    color: #ffffff;

    animation-delay: 0.15s;
}


/* =========================================================
   CONSTRUCTION GRADIENT
   ========================================================= */

.construction-text {
    background:
        linear-gradient(
            90deg,
            #ff7a1a 0%,
            #f36a12 45%,
            #e8590c 100%
        );

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;

    color: transparent;

    animation-delay: 0.32s;
}


/* =========================================================
   DIVIDER
   ========================================================= */

.divider {
    width: 64px;

    height: 3px;

    margin-top: 38px;

    background: #f56b13;

    transform-origin: left center;

    flex-shrink: 0;
}


/* =========================================================
   TAGLINE
   ========================================================= */

.tagline {
    margin-top: 25px;

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 8px;

    font-size: 17px;

    line-height: 1.5;

    letter-spacing: 0.2px;
}


.brand-name {
    color: #f56b13;

    font-weight: 700;
}


.dash {
    color: #bcbcbc;

    font-weight: 400;
}


.tagline-text {
    color: #d5d5d5;

    font-weight: 400;
}


/* =========================================================
   ANIMATIONS
   ========================================================= */

.reveal {
    opacity: 0;

    transform: translateY(24px);

    animation-name: fadeUp;

    animation-duration: 0.7s;

    animation-timing-function: ease-out;

    animation-fill-mode: forwards;
}


@keyframes fadeUp {

    from {
        opacity: 0;

        transform:
            translateY(24px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }
}


/* =========================================================
   LOGO ANIMATION
   ========================================================= */

.logo-reveal {
    animation-delay: 0.1s;
}


/* =========================================================
   DIVIDER ANIMATION
   ========================================================= */

.reveal-divider {
    opacity: 0;

    width: 0;

    animation:
        growDivider
        0.45s
        ease-out
        0.72s
        forwards;
}


@keyframes growDivider {

    from {
        opacity: 0;

        width: 0;
    }

    to {
        opacity: 1;

        width: 64px;
    }
}


/* =========================================================
   TAGLINE ANIMATION
   ========================================================= */

.tagline-reveal {
    animation-delay: 1.15s;
}


/* =========================================================
   LARGE DESKTOP
   ========================================================= */

@media (min-width: 1600px) {

    .hero-content {
        padding-left: 3.26vw;
    }


    .headline-line {
        font-size: 72px;
    }


    .brand-logo {
        width: 250px;
    }
}


/* =========================================================
   STANDARD DESKTOP
   ========================================================= */

@media (min-width: 1200px) and (max-width: 1599px) {

    .hero-background {
        background-size: cover;

        background-position: center center;
    }


    .hero-content {
        padding-left:
            clamp(
                70px,
                8vw,
                130px
            );
    }


    .headline-line {
        font-size:
            clamp(
                52px,
                5.5vw,
                70px
            );
    }
}


/* =========================================================
   TABLET / LAPTOP
   ========================================================= */

@media (max-width: 1199px) {

    .hero-background {
        background-size: cover;

        /*
         * Slightly move image toward right
         * so construction remains visible.
         */
        background-position: 58% center;
    }


    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(0, 0, 0, 0.92) 0%,
                rgba(0, 0, 0, 0.85) 25%,
                rgba(0, 0, 0, 0.70) 40%,
                rgba(0, 0, 0, 0.35) 58%,
                rgba(0, 0, 0, 0.08) 75%,
                rgba(0, 0, 0, 0) 100%
            );
    }


    .hero-content {
        padding-left:
            clamp(
                35px,
                7vw,
                90px
            );

        padding-right: 35px;
    }


    .brand-logo {
        left:
            clamp(
                30px,
                5vw,
                65px
            );
    }


    .headline-line {
        font-size:
            clamp(
                42px,
                7vw,
                65px
            );
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .construction-hero {
        height: 100vh;
        min-height: 100vh;
    }


    .hero-background {
        background-size: cover;

        background-position:
            62% center;
    }


    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(0, 0, 0, 0.94) 0%,
                rgba(0, 0, 0, 0.87) 30%,
                rgba(0, 0, 0, 0.67) 50%,
                rgba(0, 0, 0, 0.30) 70%,
                rgba(0, 0, 0, 0.08) 100%
            );
    }


    .hero-content {
        min-height: 100vh;

        padding-left: 40px;

        padding-right: 40px;
    }


    .headline-line {
        font-size:
            clamp(
                42px,
                8vw,
                62px
            );
    }


    .tagline {
        font-size: 16px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .construction-hero {
        width: 100%;

        height: 100svh;

        min-height: 100svh;

        align-items: center;
    }


    /* -----------------------------------------------------
       FULL SCREEN MOBILE BACKGROUND
       ----------------------------------------------------- */

    .hero-background {
        position: absolute;

        top: 0;
        right: 0;
        bottom: 0;
        left: 0;

        width: 100%;
        height: 100%;

        background-size: cover;

        /*
         * Move the image to the right.
         * This keeps the building/person visible.
         */
        background-position:
            68% center;

        transform: none;
    }


    /* -----------------------------------------------------
       MOBILE OVERLAY
       ----------------------------------------------------- */

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(0, 0, 0, 0.96) 0%,
                rgba(0, 0, 0, 0.90) 30%,
                rgba(0, 0, 0, 0.72) 50%,
                rgba(0, 0, 0, 0.42) 72%,
                rgba(0, 0, 0, 0.12) 100%
            );
    }


    /* -----------------------------------------------------
       MOBILE CONTENT
       ----------------------------------------------------- */

    .hero-content {
        width: 100%;

        min-height: 100svh;

        margin: 0;

        padding-left: 30px;

        padding-right: 30px;

        padding-top: 70px;

        padding-bottom: 40px;

        justify-content: center;
    }


    /* -----------------------------------------------------
       MOBILE LOGO
       ----------------------------------------------------- */

    .brand-logo {
        top: 30px;

        left: 30px;

        width: 155px;
    }


    /* -----------------------------------------------------
       MOBILE HEADLINE
       ----------------------------------------------------- */

    .headline {
        margin-top: 20px;

        width: 100%;
    }


    .headline-line {
        font-size:
            clamp(
                40px,
                11vw,
                62px
            );

        line-height: 0.98;

        letter-spacing:
            -0.8px;

        white-space: normal;
    }


    .line-one {
        white-space: nowrap;
    }


    .construction-text {
        white-space: normal;

        max-width: 100%;
    }


    /* -----------------------------------------------------
       MOBILE DIVIDER
       ----------------------------------------------------- */

    .divider {
        margin-top: 28px;
    }


    /* -----------------------------------------------------
       MOBILE TAGLINE
       ----------------------------------------------------- */

    .tagline {
        max-width: 430px;

        margin-top: 20px;

        font-size: 15px;

        line-height: 1.5;

        gap: 5px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .construction-hero {
        height: 100svh;

        min-height: 100svh;
    }


    /* -----------------------------------------------------
       SMALL MOBILE BACKGROUND
       ----------------------------------------------------- */

    .hero-background {
        background-size: cover;

        /*
         * Keep construction structure visible.
         */
        background-position:
            70% center;
    }


    /* -----------------------------------------------------
       SMALL MOBILE OVERLAY
       ----------------------------------------------------- */

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(0, 0, 0, 0.97) 0%,
                rgba(0, 0, 0, 0.91) 32%,
                rgba(0, 0, 0, 0.74) 55%,
                rgba(0, 0, 0, 0.38) 78%,
                rgba(0, 0, 0, 0.10) 100%
            );
    }


    /* -----------------------------------------------------
       SMALL MOBILE CONTENT
       ----------------------------------------------------- */

    .hero-content {
        min-height: 100svh;

        padding-left: 22px;

        padding-right: 22px;

        padding-top: 65px;

        padding-bottom: 30px;
    }


    /* -----------------------------------------------------
       SMALL MOBILE LOGO
       ----------------------------------------------------- */

    .brand-logo {
        left: 22px;

        top: 24px;

        width: 135px;
    }


    /* -----------------------------------------------------
       SMALL MOBILE HEADLINE
       ----------------------------------------------------- */

    .headline {
        margin-top: 15px;
    }


    .headline-line {
        font-size: 42px;

        line-height: 0.98;

        letter-spacing: -0.7px;
    }


    .line-one {
        font-size: 42px;
    }


    .construction-text {
        font-size: 40px;

        line-height: 0.98;
    }


    /* -----------------------------------------------------
       SMALL MOBILE DIVIDER
       ----------------------------------------------------- */

    .divider {
        width: 55px;

        height: 3px;

        margin-top: 25px;
    }


    /* -----------------------------------------------------
       SMALL MOBILE TAGLINE
       ----------------------------------------------------- */

    .tagline {
        font-size: 14px;

        line-height: 1.45;

        max-width: 320px;
    }
}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 360px) {

    .hero-content {
        padding-left: 18px;

        padding-right: 18px;
    }


    .brand-logo {
        left: 18px;

        top: 20px;

        width: 120px;
    }


    .headline-line {
        font-size: 36px;
    }


    .line-one {
        font-size: 36px;
    }


    .construction-text {
        font-size: 34px;
    }


    .tagline {
        font-size: 13px;

        max-width: 290px;
    }
}


/* =========================================================
   LANDSCAPE MOBILE
   ========================================================= */

@media (max-width: 900px) and (orientation: landscape) {

    .construction-hero {
        height: 100svh;

        min-height: 100svh;
    }


    .hero-background {
        background-size: cover;

        background-position:
            center center;
    }


    .hero-content {
        min-height: 100svh;

        padding-top: 30px;

        padding-bottom: 25px;
    }


    .brand-logo {
        top: 20px;

        width: 120px;
    }


    .headline {
        margin-top: 35px;
    }


    .headline-line {
        font-size: clamp(
            32px,
            6vw,
            50px
        );
    }


    .divider {
        margin-top: 18px;
    }


    .tagline {
        margin-top: 12px;

        font-size: 14px;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        animation-duration: 0.01ms !important;

        animation-delay: 0ms !important;

        animation-iteration-count: 1 !important;

        scroll-behavior: auto !important;

        transition-duration: 0.01ms !important;
    }


    .reveal {
        opacity: 1;

        transform: none;
    }


    .reveal-divider {
        opacity: 1;

        width: 64px;
    }
}



