/* =========================================================
   ABOUT SECTION
========================================================= */

.home-about {
    position: relative;
    min-height: 780px;
    overflow: hidden;

    color: #ffffff;

    background: #071525;
}


/* ---------------------------------------------------------
   Background
--------------------------------------------------------- */

.about-background {
    position: absolute;
    inset: 0;

    background-image: url('/wp-content/uploads/2026/08/factory.png');
    background-size: cover;
    background-position: center center;

    background-attachment: fixed;

    z-index: 0;
}


/* ---------------------------------------------------------
   Overlay
--------------------------------------------------------- */

.about-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5, 18, 35, 0.94) 0%,
            rgba(5, 18, 35, 0.82) 42%,
            rgba(5, 18, 35, 0.52) 72%,
            rgba(5, 18, 35, 0.62) 100%
        );

    z-index: 1;
}


/* ---------------------------------------------------------
   Container
--------------------------------------------------------- */

.about-container {
    position: relative;

    width: min(1320px, calc(100% - 80px));

    min-height: 780px;

    margin: 0 auto;

    padding: 100px 0 70px;

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(400px, 0.75fr);

    column-gap: 90px;

    align-items: center;

    z-index: 2;
}


/* ---------------------------------------------------------
   Content
--------------------------------------------------------- */

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


.about-eyebrow {
    display: block;

    margin-bottom: 24px;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 3px;

    color: #2f8cff;
}


.about-content h2 {
    margin: 0 0 28px;

    font-size: clamp(38px, 4vw, 60px);

    line-height: 1.08;

    font-weight: 700;

    letter-spacing: -1.5px;

    color: #ffffff;
}


.about-lead {
    max-width: 680px;

    margin-bottom: 22px;

    font-size: 19px;

    line-height: 1.75;

    color: rgba(255,255,255,0.92);
}


.about-content p:not(.about-lead) {
    max-width: 680px;

    margin-bottom: 18px;

    font-size: 15px;

    line-height: 1.8;

    color: rgba(255,255,255,0.72);
}


/* ---------------------------------------------------------
   Button
--------------------------------------------------------- */

.about-button {
    display: inline-flex;

    align-items: center;
    gap: 14px;

    margin-top: 18px;

    padding: 15px 26px;

    border: 1px solid rgba(255,255,255,0.5);

    color: #ffffff;

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 1px;

    transition:
        background .3s ease,
        border-color .3s ease,
        transform .3s ease;
}


.about-button span {
    font-size: 18px;

    transition:
        transform .3s ease;
}


.about-button:hover {
    background: #0b67d1;

    border-color: #0b67d1;

    color: #ffffff;

    transform: translateY(-2px);
}


.about-button:hover span {
    transform: translateX(4px);
}


/* ---------------------------------------------------------
   Image
--------------------------------------------------------- */

.about-image-wrap {
    display: flex;

    justify-content: flex-end;

    align-items: center;
}


.about-image-frame {
    position: relative;

    width: 100%;

    max-width: 500px;

    aspect-ratio: 4 / 5;

    padding: 5px;

    border: 1px solid rgba(255,255,255,0.8);

    border-radius: 24px;

    background: rgba(255,255,255,0.08);

    backdrop-filter: blur(4px);

    box-shadow:
        0 30px 80px rgba(0,0,0,0.35);

    overflow: hidden;
}


.about-image-frame img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 19px;
}


/* ---------------------------------------------------------
   Statistics
--------------------------------------------------------- */

.about-stats {

    grid-column: 1 / -1;

    display: grid;

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

    margin-top: 65px;

    border-top: 1px solid rgba(255,255,255,0.25);

    border-bottom: 1px solid rgba(255,255,255,0.25);
}


.about-stat {
    position: relative;

    padding: 28px 35px;

    text-align: center;
}


.about-stat:not(:last-child)::after {
    content: "";

    position: absolute;

    top: 25%;

    right: 0;

    width: 1px;

    height: 50%;

    background:
        rgba(255,255,255,0.2);
}


.about-stat-number {
    font-size: clamp(42px, 4vw, 62px);

    line-height: 1;

    font-weight: 700;

    letter-spacing: -2px;

    color: #ffffff;
}


.about-stat-label {
    margin-top: 12px;

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 1.5px;

    text-transform: uppercase;

    color: rgba(255,255,255,0.65);
}


/* ---------------------------------------------------------
   Tablet
--------------------------------------------------------- */

@media (max-width: 1024px) {

    .about-container {
        width: min(90%, 900px);

        grid-template-columns: 1fr;

        gap: 50px;

        padding: 80px 0;
    }


    .about-image-wrap {
        justify-content: flex-start;
    }


    .about-image-frame {
        max-width: 430px;
    }


    .about-stats {
        margin-top: 20px;
    }

}


/* ---------------------------------------------------------
   Mobile
--------------------------------------------------------- */

@media (max-width: 767px) {

    .home-about {
        min-height: auto;
    }


    .about-background {
        background-attachment: scroll;
    }


    .about-container {
        width: calc(100% - 40px);

        padding: 70px 0 50px;

        gap: 40px;
    }


    .about-content h2 {
        font-size: 36px;

        letter-spacing: -1px;
    }


    .about-lead {
        font-size: 17px;
    }


    .about-image-frame {
        max-width: 100%;
    }


    .about-stats {
        grid-template-columns: repeat(2, 1fr);

        margin-top: 10px;
    }


    .about-stat {
        padding: 25px 15px;
    }


    .about-stat:nth-child(2)::after {
        display: none;
    }


    .about-stat-number {
        font-size: 42px;
    }

}