/* =====================================================
   VARIABLES
===================================================== */

:root {

    --black: #111111;
    --dark: #151515;

    --paper: #f4f3ef;

    --white: #ffffff;

    --grey: #777777;
    --light-grey: #deddd8;

    --cyan: #00d5ff;
    --magenta: #ff1ba9;
    --yellow: #ffd600;

    --container:
        min(1180px, calc(100% - 48px));

    --radius: 26px;

}



/* =====================================================
   RESET
===================================================== */

* {

    box-sizing: border-box;

}

html {

    scroll-behavior: smooth;

}

body {
    margin: 0;
    background: var(--paper);
    color: var(--black);
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
}

a {

    color: inherit;

    text-decoration: none;

}

img {

    display: block;

    max-width: 100%;

}



/* =====================================================
   GLOBAL
===================================================== */

.container {

    width: var(--container);

    margin: 0 auto;

}

.section {

    padding:
        120px
        0;

}

.eyebrow {

    margin:
        0
        0
        22px;

    color: var(--grey);

    font-size: 10px;

    font-weight: 700;

    letter-spacing:
        .28em;

    text-transform:
        uppercase;

}



/*HEADER*/

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition:
        background .3s ease,
        box-shadow .3s ease;
}


.site-header.scrolled {
    background: rgba(17,17,17,.94);
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(74, 77, 238, 0.12);
}


.nav-container {
    width: var(--container);
    margin: auto;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    
    padding: 2%;
}


.logo {
    display: flex;
    align-items: center;
    width: 180px;
    height: 70px;
    flex-shrink: 0;
    text-decoration: none;
}

.logo img {
    display: block;
    width: 160px;
    height: auto;
    max-height: 65px;
    object-fit: contain;
}


.desktop-nav { 
    display: flex; 
    align-items: center; 
    gap: 30px; 
    color: white; 
} 

.desktop-nav > a:not(.contact-button) { 
    position: relative;
    font-size: 14px; 
    opacity: .85; 
    transition: opacity .2s ease;
    padding-bottom: 6px;
} 

/* Blue underline */
.desktop-nav > a:not(.contact-button)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #263e90;
    transition: width .3s ease;
}

/* Show underline on hover */
.desktop-nav > a:not(.contact-button):hover::after {
    width: 100%;
}

/* Active link */
.desktop-nav > a.active {
    opacity: 1;
}

/* Keep underline on active link */
.desktop-nav > a.active::after {
    width: 100%;
}


.mobile-menu-button {
    display: none;
    border: 0;
    background: none;
    color: white;
    font-size: 25px;
}


.mobile-menu {
    display: none;
}





/* Hero Section */
.hero-video {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Background Image */
.hero-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

/* Dark Overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-video {
        height: 65vh;
        min-height: 400px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}


/* ABOUT INTRO SECTION */
.about-intro {
    width: 100%;
    padding: 120px 6%;
    background: #f5f5f3;
    color: #171717;
    box-sizing: border-box;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* SECTION HEADING */
.about-heading {
    max-width: 1000px;
    margin-bottom: 70px;
}

.about-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #777;
    margin-bottom: 25px;
}

.about-heading h2 {
    font-size: clamp(38px, 5.5vw, 76px);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -2px;
    margin: 0;
}

.about-heading h2 span {
    display: block;
    color: #263e90;
}

.about-heading-line {
    width: 65px;
    height: 4px;
    background: #263e90;
    margin-top: 30px;
}

/* DESCRIPTION LAYOUT */
.about-description {
   
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-spacer {
    min-height: 20px;
}

/* TEXT CONTENT */
.about-text {
    max-width: 1000px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.9;
    color: #555;
    margin: 0 0 24px;
}

/* CATALOGUE BUTTON*/
.outline-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 28px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease;
    color: #aaa;
    background-color: #333;
}

.outline-button span {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.outline-button:hover {
    background: #263e90;
    color: #f4f3ef;
}

.outline-button:hover span {
    transform: translate(3px, -3px);
}



/* TABLET */
@media (max-width: 900px) {
    .about-intro {
        padding: 90px 6%;
    }

    .about-description {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .about-spacer {
        display: none;
    }

    .about-heading {
        margin-bottom: 40px;
    }
}

/* MOBILE */
@media (max-width: 600px) {
    .about-intro {
        padding: 65px 6%;
    }

    .about-heading h2 {
        font-size: 40px;
        letter-spacing: -1px;
    }

    .about-eyebrow {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .about-text p {
        font-size: 15px;
        line-height: 1.8;
    }

    .outline-button {
        width: 100%;
        box-sizing: border-box;
    }
}






/* =====================================================
   SINCE SECTION
===================================================== */

.since-section {

    padding:
        55px
        0;

    overflow: hidden;

    background: #111;

    color: white;

}


.since-track {

    display: flex;

    width: max-content;

    align-items: center;

    gap: 35px;

    white-space: nowrap;

    animation:
        marquee
        30s
        linear
        infinite;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(
            70px,
            9vw,
            125px
        );

    line-height: .8;

    letter-spacing:
        -.07em;

    font-weight: 600;

}


.since-track i {

    color: #263E90;

    font-style: normal;

}


@keyframes marquee {

    from {

        transform:
            translateX(0);

    }

    to {

        transform:
            translateX(-50%);

    }

}



/* =====================================================
   SECTION LABEL
===================================================== */

.section-label {

    display: flex;

    align-items: center;

    gap: 20px;

    padding-top: 17px;

    border-top:
        1px solid
        var(--light-grey);

    margin-bottom: 70px;

}


.section-label span {

    font-size: 10px;

    font-weight: 700;

}


.section-label p {

    margin: 0;

    color: var(--grey);

    font-size: 10px;

    letter-spacing: .25em;

    font-weight: 700;

}



/* =====================================================
   STORY
===================================================== */

.story-section {

    background: #fff;

}


.story-grid {

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 100px;

}


.story-heading h2 {

    margin: 0;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(
            45px,
            5.3vw,
            75px
        );

    line-height: .95;

    letter-spacing:
        -.06em;

}


.story-content {

    max-width: 570px;

}


.story-tag {

    color: var(--grey);

    font-size: 10px;

    letter-spacing: .3em;

    font-weight: 700;

}


.story-content h3 {

    margin:
        40px
        0
        20px;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 32px;

}


.story-content p {

    color: #555;

    font-size: 17px;

    line-height: 1.7;

}



/* =====================================================
   MACHINES
===================================================== */

.machines-section {

    background:
        var(--paper);

}


.section-heading {

    display: flex;

    align-items: flex-end;

    justify-content:
        space-between;

    gap: 30px;

    margin-bottom: 45px;

}


.section-heading h2 {

    margin: 0;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(
            45px,
            5.3vw,
            75px
        );

    line-height: .95;

    letter-spacing:
        -.06em;

}


.section-heading h2 em {

    color: #263e90;

    font-style: normal;

}


.text-link {

    border-bottom:
        1px solid #111;

    padding-bottom: 8px;

    font-size: 13px;

    font-weight: 700;

    white-space: nowrap;

}


.machine-grid {

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 18px;

}


.machine-card {

    overflow: hidden;

    background: #fff;

    border-radius:
        var(--radius);

    transition:
        .3s ease;

}


.machine-card:hover {

    transform:
        translateY(-6px);

    box-shadow:
        0 25px 50px
        rgba(0,0,0,.1);

}


.machine-image {

    position: relative;

    height: 390px;

    overflow: hidden;

}


.machine-label {

    position: absolute;

    top: 22px;

    left: 22px;

    z-index: 2;

    padding:
        7px
        11px;

    background:
        rgba(255,255,255,.8);

    border-radius: 100px;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: .15em;

}


.dtf-machine {

    background:
        linear-gradient(
            135deg,
            #999,
            #eee,
            #555
        );

}


.applicator-machine {

    background:
        linear-gradient(
            135deg,
            #ddd8ce,
            #888
        );

}


.cutter-machine {

    background:
        linear-gradient(
            135deg,
            #222,
            #aaa
        );

}


.liyu-machine {

    background:
        linear-gradient(
            135deg,
            #ddd,
            #555
        );

}




.printer-stand {

    position: absolute;

    left: 10%;
    right: 10%;

    bottom: -55px;

    height: 60px;

    background: #333;

}


/* Applicator */

.applicator {

    position: absolute;

    left: 13%;
    right: 13%;
    bottom: 18%;

    height: 48%;

  

}



/* Cutter */

.cutter {

    position: absolute;
    left: 10%;
    right: 10%;
    bottom: 15%;
    height: 55%;
}


/* Liyu */

.liyu {
    position: absolute;
    left: 10%;
    right: 8%;
    bottom: 18%;
    height: 50%;
    border-radius: 20px;
}





.machine-details {
    display: flex;
    justify-content:
        space-between;
    align-items:
        center;
    padding: 24px;
}


.machine-details small {

    color: #777;

    font-size: 9px;

    letter-spacing: .2em;

    font-weight: 700;

}


.machine-details h3 {

    margin:
        8px
        0
        0;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 25px;

    letter-spacing:
        -.04em;

}





/*BRANDS*/

.brands-section {

    background: #fff;

}


.brands-heading {

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 100px;

    margin-bottom: 60px;

}


.brands-heading h2 {

    margin: 0;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(
            45px,
            5.3vw,
            75px
        );

    line-height: .95;

    letter-spacing:
        -.06em;

}


.brands-heading p {

    max-width: 480px;

    color: #666;

    font-size: 17px;

    line-height: 1.6;

}


.brand-grid {

    display: grid;

    grid-template-columns:
        repeat(4,1fr);

    border-top:
        1px solid
        var(--light-grey);

    border-left:
        1px solid
        var(--light-grey);

}


.brand-grid div {

    display: flex;

    align-items: center;

    justify-content: center;

    height: 145px;

    border-right:
        1px solid
        var(--light-grey);

    border-bottom:
        1px solid
        var(--light-grey);

    color: #777;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 24px;

    font-weight: 700;

}



/*STATISTICS*/

.statistics-section {

    background: #111;

    color: white;

}


.dark-eyebrow {

    color: #777;

}


.statistics-section h2 {

    max-width: 800px;

    margin: 0;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(
            45px,
            5.3vw,
            75px
        );

    line-height: .95;

    letter-spacing:
        -.06em;

}


.statistics-grid {

    display: grid;

    grid-template-columns:
        repeat(4,1fr);

    margin-top: 75px;

    border-top:
        1px solid
        #333;

}


.stat {

    padding:
        45px
        20px
        0
        0;

    border-right:
        1px solid
        #333;

}


.stat:not(:first-child) {

    padding-left: 25px;

}


.stat:last-child {

    border-right: 0;

}


.stat strong {

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(
            60px,
            7vw,
            105px
        );

    line-height: .8;

    letter-spacing:
        -.08em;

}


.stat span {

    color:
        var(--cyan);

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 30px;

    font-weight: 600;

}


.stat p {

    margin-top: 30px;

    color: #888;

    font-size: 10px;

    letter-spacing: .15em;

    text-transform:
        uppercase;

}



/*CONTACT*/

.contact-section {

    background:
        linear-gradient(
            110deg,
            var(--cyan),
            #fff 35%,
            #fff 65%,
            var(--yellow)
        );

}


.contact-grid {

    display: grid;

    grid-template-columns:
        1.3fr
        .7fr;

    gap: 100px;

}


.contact-section h2 {

    margin: 0;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(
            65px,
            9vw,
            125px
        );

    line-height: .83;

    letter-spacing:
        -.08em;

}


.contact-description {

    max-width: 500px;

    margin-top: 35px;

    color: #555;

    font-size: 17px;

}


.contact-card {

    align-self:
        end;

    padding: 35px;

    background:
        rgba(255,255,255,.65);

    border:
        1px solid
        rgba(0,0,0,.1);

    border-radius: 25px;

}


.contact-card > a {

    display: block;

    margin: 16px 0;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 20px;

    font-weight: 600;

}


.working-hours {

    margin-top: 35px;

    padding-top: 30px;

    border-top:
        1px solid
        rgba(0,0,0,.15);

}


.working-hours p:not(.eyebrow) {

    color: #555;

    font-size: 14px;

}



/*FOOTER*/

.site-footer {
    background: var(--black);
    color: var(--white);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.7fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 70px;
}

.footer-brand img {
    width: 145px;
    margin-bottom: 25px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    max-width: 350px;
    color: #999999;
    font-size: 14px;
    line-height: 1.8;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-column h4 {
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.footer-column a {
    color: #999999;
    font-size: 14px;
    margin-bottom: 16px;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: var(--white);
}

.footer-column p {
    color: #999999;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 16px;
}


.address-link {
    display: inline-block;
    color: inherit;
    text-decoration: none;
    line-height: 1.8;
    transition: color 0.3s ease;
}

.address-link:hover {
    color: #777;
    text-decoration: underline;
}



/*FOOTER BOTTOM*/

.footer-bottom {
    border-top: 1px solid #292929;
    padding: 25px 0;
}

.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.footer-bottom p {
    color: #666666;
    font-size: 12px;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.social-links a {
    color: #888888;
    font-size: 12px;
    transition: color 0.2s ease;
}

.social-links a:hover {
    color: var(--white);
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 900px) {

    :root {

        --container:
            min(
                700px,
                calc(100% - 32px)
            );

    }


    .desktop-nav,
    .nav-button {

        display: none;

    }


    .mobile-menu-button {

        display: block;

    }


    .mobile-navigation {

        position: fixed;

        top: 70px;
        left: 16px;
        right: 16px;

        display: flex;

        flex-direction: column;

        gap: 5px;

        padding: 18px;

        background: #111;

        color: white;

        border-radius: 18px;

        opacity: 0;

        transform:
            translateY(-15px);

        pointer-events: none;

        transition:
            .25s ease;

    }


    .mobile-navigation.open {

        opacity: 1;

        transform: none;

        pointer-events: auto;

    }


    .mobile-navigation a {

        padding: 12px;

    }


    .about-hero {

        padding-top: 125px;

    }


    .about-heading h1 {

        font-size: 90px;

    }


    .about-image {

        height: 500px;

    }


    .about-description,
    .story-grid,
    .brands-heading,
    .contact-grid {

        grid-template-columns:
            1fr;

        gap: 40px;

    }


    .machine-grid {

        grid-template-columns:
            1fr;

    }


    .brand-grid {

        grid-template-columns:
            repeat(2,1fr);

    }


    .statistics-grid {

        grid-template-columns:
            repeat(2,1fr);

    }


    .stat {

        border-bottom:
            1px solid
            #333;

    }


    .section {

        padding:
            85px
            0;

    }


    .footer-grid {

        grid-template-columns:
            1fr
            1fr;

    }

}


@media (max-width: 540px) {

    .about-heading h1 {

        font-size: 65px;

    }


    .about-image {

        height: 360px;

    }


    .about-text p,
    .story-content p,
    .brands-heading p {

        font-size: 15px;

    }


    .machine-image {

        height: 290px;

    }


    .brand-grid div {

        height: 100px;

        font-size: 18px;

    }


    .statistics-grid {

        grid-template-columns:
            1fr;

    }


    .stat:not(:first-child) {

        padding-left: 0;

    }


    .stat {

        border-right: 0;

    }


    .contact-section h2 {

        font-size: 64px;

    }


    .footer-grid {

        grid-template-columns:
            1fr;

    }

}