
/* =========================================================
   FOOTER MARQUEE
   ========================================================= */

.site-footer-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;

    background: var(--color-lime);

    border-top: 1px solid var(--color-black);
    border-bottom: 1px solid var(--color-black);
}


.site-footer-marquee-track {
    display: flex;
    width: max-content;

    will-change: transform;

    animation:
        site-footer-marquee-scroll
        32s linear infinite;
}


.site-footer-marquee-group {
    flex-shrink: 0;

    display: flex;
    align-items: center;

    gap: 36px;

    padding: 25px 18px;

    white-space: nowrap;
}


.site-footer-marquee-group span {
    font-family: var(--font-heading);

    font-size: clamp(
        1.15rem,
        2vw,
        1.65rem
    );

    font-weight: 800;

    line-height: 1;

    letter-spacing: -0.035em;

    text-transform: uppercase;

    color: var(--color-black);
}


.site-footer-marquee-group i {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    font-family: var(--font-body);

    font-size: 1rem;
    font-style: normal;
    font-weight: 700;

    line-height: 1;

    color: var(--color-teal);
}


@keyframes site-footer-marquee-scroll {

    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }

}


/* =========================================================
   SITE FOOTER
   ========================================================= */

.site-footer {
    position: relative;

    width: 100%;

    background: var(--color-black);

    color: var(--color-white);

    overflow: hidden;
}


.site-footer-container {
    position: relative;

    width: min(
        100%,
        1440px
    );

    margin: 0 auto;

    padding-left: 64px;
    padding-right: 64px;
}


/* =========================================================
   FOOTER MAIN
   ========================================================= */

.site-footer-main {
    display: grid;

    grid-template-columns:
        minmax(360px, 1fr)
        minmax(520px, 1.05fr);

    gap: 100px;

    padding: 100px 0 85px;
}


/* =========================================================
   BRAND
   ========================================================= */

.site-footer-brand {
    position: relative;

    max-width: 520px;
}


/* =========================================================
   COMPANY NAME
   ========================================================= */

.site-footer-company-name {
    display: inline-flex;
    align-items: baseline;

    gap: 7px;

    margin: 0;

    font-family: var(--font-heading);

    font-size: 0.95rem;

    font-weight: 800;

    line-height: 1;

    letter-spacing: -0.025em;

    color: var(--color-white);
}


.site-footer-company-name span {
    color: var(--color-lime);
}


/* =========================================================
   FOOTER STATEMENT
   ========================================================= */

.site-footer-statement {
    max-width: 500px;

    margin: 48px 0 0;

    font-family: var(--font-heading);

    font-size: clamp(
        3.3rem,
        5vw,
        5.4rem
    );

    font-weight: 800;

    line-height: 0.91;

    letter-spacing: -0.065em;

    color: var(--color-white);
}


.site-footer-statement span {
    display: block;

    color: var(--color-lime);
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.site-footer-description {
    max-width: 430px;

    margin: 30px 0 0;

    font-family: var(--font-body);

    font-size: 0.9rem;

    font-weight: 400;

    line-height: 1.75;

    color: rgba(255, 255, 255, 0.55);
}


/* =========================================================
   FOOTER CTA
   ========================================================= */

.site-footer-cta {
    display: inline-flex;
    align-items: center;

    gap: 18px;

    min-height: 54px;

    margin-top: 32px;

    padding: 0 23px 0 26px;

    border-radius: 999px;

    background: var(--color-lime);

    border: 1px solid var(--color-lime);

    font-family: var(--font-body);

    font-size: 0.8rem;

    font-weight: 700;

    color: var(--color-black);

    text-decoration: none;

    transition:
        transform 0.3s ease,
        background-color 0.3s ease,
        box-shadow 0.3s ease;
}


.site-footer-cta span {
    font-size: 1rem;

    transition:
        transform 0.3s ease;
}


.site-footer-cta:hover {
    background: var(--color-white);

    transform: translateY(-3px);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.2);
}


.site-footer-cta:hover span:last-child {
    transform: translateX(5px);
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.site-footer-navigation {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 55px;

    align-self: start;

    padding-top: 8px;
}


.site-footer-column {
    min-width: 0;
}


.site-footer-column-label {
    display: block;

    margin-bottom: 26px;

    font-family: var(--font-body);

    font-size: 0.64rem;

    font-weight: 700;

    line-height: 1;

    letter-spacing: 0.15em;

    color: var(--color-teal);
}


.site-footer-links {
    display: flex;
    flex-direction: column;

    gap: 13px;

    margin: 0;
    padding: 0;

    list-style: none;
}


.site-footer-links a {
    display: inline-block;

    font-family: var(--font-body);

    font-size: 0.78rem;

    font-weight: 500;

    line-height: 1.5;

    color: rgba(255, 255, 255, 0.56);

    text-decoration: none;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}


.site-footer-links a:hover {
    color: var(--color-white);

    transform: translateX(4px);
}


/* =========================================================
   CONTACT
   ========================================================= */

.site-footer-contact {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;

    padding: 30px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.12);

    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}


.site-footer-contact-left {
    display: flex;

    align-items: center;

    gap: 55px;
}


.site-footer-contact-link {
    display: flex;

    flex-direction: column;

    gap: 8px;

    font-family: var(--font-body);

    font-size: 0.78rem;

    font-weight: 500;

    line-height: 1.4;

    color: rgba(255, 255, 255, 0.75);

    text-decoration: none;
}


.site-footer-contact-label {
    font-size: 0.6rem;

    font-weight: 700;

    line-height: 1;

    letter-spacing: 0.14em;

    color: var(--color-teal);
}


.site-footer-contact-link:hover {
    color: var(--color-lime);
}


/* =========================================================
   SOCIAL MEDIA
   ========================================================= */

.site-footer-social {
    display: flex;

    align-items: center;

    gap: 12px;
}


/* ---------------------------------------------------------
   SOCIAL BUTTON
   --------------------------------------------------------- */

.site-footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 50px;
    min-width: 50px;

    height: 50px;

    padding: 0;

    border: 1px solid rgba(255, 255, 255, 0.20);

    border-radius: 50%;

    background: transparent;

    color: rgba(255, 255, 255, 0.82);

    text-decoration: none;

    transition:
        background-color 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}


/* ---------------------------------------------------------
   FONT AWESOME ICON
   --------------------------------------------------------- */

.site-footer-social-link i {
    display: block;

    width: 18px;
    height: 18px;

    font-size: 18px;

    line-height: 1;

    color: currentColor;

    transition:
        transform 0.3s ease;
}


/* ---------------------------------------------------------
   SOCIAL HOVER
   --------------------------------------------------------- */

.site-footer-social-link:hover {
    background: var(--color-lime);

    border-color: var(--color-lime);

    color: var(--color-black);

    transform: translateY(-4px);
}


.site-footer-social-link:hover i {
    transform: scale(1.08);
}


/* =========================================================
   FOOTER BOTTOM
   ========================================================= */

.site-footer-bottom {
    display: flex;

    align-items: center;

    justify-content: center;

    min-height: 92px;

    padding: 24px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.12);

    text-align: center;
}


.site-footer-bottom-line {
    display: flex;

    align-items: center;

    justify-content: center;

    flex-wrap: wrap;

    gap: 14px;

    margin: 0;

    font-family: var(--font-body);

    font-size: 0.82rem;

    font-weight: 500;

    line-height: 1.5;
}


.site-footer-copyright {
    color: rgba(255, 255, 255, 0.52);
}


.site-footer-bottom-divider {
    color: var(--color-teal);

    font-size: 1rem;
}


.site-footer-powered {
    color: rgba(255, 255, 255, 0.45);
}


.site-footer-powered strong {
    font-weight: 600;

    color: rgba(255, 255, 255, 0.76);

    transition:
        color 0.25s ease;
}


.site-footer-powered strong:hover {
    color: var(--color-lime);
}


/* =========================================================
   LARGE DESKTOP
   ========================================================= */

@media (min-width: 1441px) {

    .site-footer-container {
        padding-left: 80px;
        padding-right: 80px;
    }


    .site-footer-main {
        padding-top: 110px;

        padding-bottom: 90px;

        gap: 120px;
    }


    .site-footer-statement {
        font-size: clamp(
            4rem,
            4.6vw,
            6rem
        );
    }


    .site-footer-navigation {
        gap: 70px;
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .site-footer-container {
        padding-left: 40px;
        padding-right: 40px;
    }


    .site-footer-main {
        grid-template-columns:
            minmax(300px, 0.9fr)
            minmax(420px, 1.1fr);

        gap: 60px;

        padding: 80px 0 70px;
    }


    .site-footer-statement {
        font-size: clamp(
            3rem,
            5.5vw,
            4.6rem
        );
    }


    .site-footer-navigation {
        gap: 30px;
    }


    .site-footer-contact-left {
        gap: 30px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {

    .site-footer-container {
        padding-left: 24px;
        padding-right: 24px;
    }


    .site-footer-main {
        grid-template-columns: 1fr;

        gap: 60px;

        padding: 65px 0 55px;
    }


    .site-footer-brand {
        max-width: 500px;
    }


    .site-footer-statement {
        margin-top: 38px;

        font-size: clamp(
            3rem,
            11vw,
            4rem
        );
    }


    .site-footer-description {
        max-width: 430px;
    }


    .site-footer-navigation {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 45px 30px;

        padding-top: 0;
    }


    .site-footer-column:last-child {
        grid-column: 1 / -1;
    }


    .site-footer-contact {
        flex-direction: column;

        align-items: flex-start;

        gap: 30px;

        padding: 28px 0;
    }


    .site-footer-contact-left {
        width: 100%;

        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 25px;
    }


    .site-footer-social {
        width: auto;

        gap: 12px;
    }


    .site-footer-social-link {
        width: 48px;

        min-width: 48px;

        height: 48px;
    }


    .site-footer-social-link i {
        width: 20px;

        height: 20px;

        font-size: 20px;
    }


    .site-footer-bottom {
        min-height: 86px;
    }


    .site-footer-bottom-line {
        font-size: 0.76rem;

        gap: 11px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .site-footer-container {
        padding-left: 18px;
        padding-right: 18px;
    }


    .site-footer-main {
        padding: 55px 0 48px;

        gap: 48px;
    }


    .site-footer-statement {
        margin-top: 32px;

        font-size: clamp(
            2.7rem,
            13vw,
            3.5rem
        );
    }


    .site-footer-description {
        margin-top: 24px;

        font-size: 0.86rem;
    }


    .site-footer-navigation {
        grid-template-columns: 1fr;

        gap: 38px;
    }


    .site-footer-column:last-child {
        grid-column: auto;
    }


    .site-footer-contact-left {
        grid-template-columns: 1fr;

        gap: 22px;
    }


    .site-footer-social {
        gap: 10px;
    }


    .site-footer-social-link {
        width: 46px;

        min-width: 46px;

        height: 46px;
    }


    .site-footer-social-link i {
        width: 19px;

        height: 19px;

        font-size: 19px;
    }


    .site-footer-bottom {
        min-height: 80px;

        padding: 20px 10px;
    }


    .site-footer-bottom-line {
        gap: 8px;

        font-size: 0.68rem;
    }


    .site-footer-bottom-divider {
        font-size: 0.8rem;
    }

}


/* =========================================================
   VERY SMALL SCREENS
   ========================================================= */

@media (max-width: 360px) {

    .site-footer-bottom-line {
        font-size: 0.61rem;

        gap: 6px;
    }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .site-footer-marquee-track {
        animation: none;
    }


    .site-footer-cta,
    .site-footer-cta span,
    .site-footer-links a,
    .site-footer-social-link,
    .site-footer-social-link i,
    .site-footer-contact-link,
    .site-footer-powered strong {
        transition: none;
    }


    .site-footer-cta:hover,
    .site-footer-social-link:hover {
        transform: none;
    }

}

/* =========================================================
   GLOBAL PAGE HEADER
   Full-bleed image + editorial readability treatment
   ========================================================= */

.page-header {
    position: relative;

    width: 100%;
    min-height: 400px;

    overflow: hidden;

    background: #ffffff;

    border-bottom: 1px solid var(--color-border);
}


/* =========================================================
   BACKGROUND IMAGE
   ========================================================= */

.page-header-media {
    position: absolute;
    inset: 0;

    z-index: 0;

    overflow: hidden;
}

.page-header-image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    /*
       Keep the engineering composition visible.
       Slightly favor the right side.
    */
    object-position: center center;

    transform: scale(1.015);

    filter:
        saturate(0.88)
        contrast(0.96);
}


/* =========================================================
   IMAGE READABILITY GRADIENT
   ========================================================= */

/*
   IMPORTANT:
   This is NOT a full white overlay.

   Left side:
   enough white for the typography.

   Right side:
   image remains strong and visible.
*/

.page-header-overlay {
    position: absolute;
    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.88) 0%,
            rgba(255, 255, 255, 0.78) 18%,
            rgba(255, 255, 255, 0.58) 36%,
            rgba(255, 255, 255, 0.30) 54%,
            rgba(255, 255, 255, 0.08) 72%,
            rgba(255, 255, 255, 0) 100%
        );
}

.page-header-overlay::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.20) 0%,
            rgba(255, 255, 255, 0) 35%,
            rgba(0, 0, 0, 0.04) 100%
        );
}


/* =========================================================
   GRAPHICS
   ========================================================= */

.page-header-graphics {
    position: absolute;
    inset: 0;

    z-index: 2;

    pointer-events: none;

    overflow: hidden;
}

.page-header-graphic-circle {
    position: absolute;

    border: 1px solid rgba(33, 138, 134, 0.15);

    border-radius: 50%;
}

.page-header-graphic-circle--large {
    width: 520px;
    height: 520px;

    right: -145px;
    top: -185px;
}

.page-header-graphic-circle--small {
    width: 245px;
    height: 245px;

    right: 150px;
    bottom: -175px;

    border-color: rgba(33, 138, 134, 0.12);
}

.page-header-graphic-plus {
    position: absolute;

    top: 125px;
    right: 125px;

    color: rgba(33, 138, 134, 0.42);

    font-family: var(--font-heading);

    font-size: 3rem;
    font-weight: 500;

    line-height: 1;

    transform: rotate(8deg);
}

.page-header-graphic-square {
    position: absolute;

    width: 78px;
    height: 78px;

    right: 65px;
    bottom: 48px;

    background: rgba(221, 248, 201, 0.72);

    border-radius: 21px;

    transform: rotate(12deg);
}

.page-header-graphic-line {
    position: absolute;

    height: 1px;

    background: rgba(33, 138, 134, 0.15);

    transform-origin: left center;
}

.page-header-graphic-line--one {
    width: 220px;

    right: 0;
    top: 34%;

    transform: rotate(-24deg);
}

.page-header-graphic-line--two {
    width: 170px;

    right: 80px;
    bottom: 18%;

    background: rgba(33, 138, 134, 0.12);

    transform: rotate(22deg);
}


/* =========================================================
   PAGE HEADER CONTAINER
   ========================================================= */

.page-header-container {
    position: relative;

    z-index: 3;

    min-height: 400px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding-top: 108px;
    padding-bottom: 38px;
}


/* =========================================================
   BREADCRUMB
   ========================================================= */

.page-header-breadcrumb {
    display: flex;

    align-items: center;

    gap: 11px;

    margin-bottom: 23px;

    font-family: var(--font-body);

    font-size: 0.76rem;
    font-weight: 500;
}

.page-header-breadcrumb a {
    color: #222222;

    text-decoration: none;

    transition: color 0.2s ease;
}

.page-header-breadcrumb a:hover {
    color: var(--color-teal);
}

.page-header-breadcrumb-separator {
    color: rgba(0, 0, 0, 0.30);
}

.page-header-breadcrumb-current {
    color: var(--color-teal);

    font-weight: 600;
}


/* =========================================================
   CONTENT
   ========================================================= */

.page-header-content {
    max-width: 760px;
}


/* =========================================================
   KICKER
   ========================================================= */

.page-header-kicker {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 12px;

    color: var(--color-teal);

    font-family: var(--font-body);

    font-size: 0.70rem;
    font-weight: 700;

    letter-spacing: 0.18em;

    text-transform: uppercase;
}

.page-header-kicker::before {
    content: "";

    width: 30px;
    height: 2px;

    background: var(--color-teal);
}


/* =========================================================
   TITLE
   ========================================================= */

.page-header-title {
    margin: 0;

    max-width: 760px;

    color: #000000;

    font-family: var(--font-heading);

    font-size: clamp(3.5rem, 5.8vw, 5.7rem);

    font-weight: 800;

    line-height: 0.90;

    letter-spacing: -0.065em;
}

.page-header-title span {
    display: inline-block;

    color: var(--color-teal);
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.page-header-description {
    max-width: 575px;

    margin: 18px 0 0;

    color: #333333;

    font-family: var(--font-body);

    font-size: 0.94rem;

    font-weight: 400;

    line-height: 1.65;
}


/* =========================================================
   BOTTOM META
   ========================================================= */

.page-header-bottom {
    display: flex;

    align-items: center;

    gap: 13px;

    margin-top: 26px;
}

.page-header-bottom-label {
    color: #444444;

    font-family: var(--font-body);

    font-size: 0.63rem;

    font-weight: 700;

    letter-spacing: 0.16em;

    text-transform: uppercase;
}

.page-header-bottom-line {
    width: 35px;
    height: 1px;

    background: rgba(0, 0, 0, 0.20);
}


/* =========================================================
   INTERNAL PAGE NAVBAR
   ========================================================= */

/*
   White navbar only on internal pages.
*/

body.internal-page .site-header:not(.is-scrolled) {
    background: rgba(255, 255, 255, 0.97);

    border-bottom: 1px solid rgba(0, 0, 0, 0.07);

    box-shadow:
        0 5px 25px rgba(0, 0, 0, 0.055);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}


/*
   Black navigation text.
*/

body.internal-page .site-header:not(.is-scrolled) .site-nav-link {
    color: #111111;
}

body.internal-page .site-header:not(.is-scrolled) .site-nav-link:hover {
    color: var(--color-teal);
}


/*
   Mobile menu.
*/

body.internal-page .site-header:not(.is-scrolled) .mobile-menu-toggle {
    color: #111111;
}

body.internal-page .site-header:not(.is-scrolled) .mobile-menu-toggle span {
    background: #111111;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

    .page-header {
        min-height: 390px;
    }

    .page-header-container {
        min-height: 390px;

        padding-top: 100px;
        padding-bottom: 35px;
    }

    .page-header-title {
        font-size: clamp(3.2rem, 7vw, 5rem);
    }

    .page-header-graphic-circle--large {
        right: -210px;
    }

    .page-header-graphic-plus {
        right: 85px;
    }
}


@media (max-width: 768px) {

    .page-header {
        min-height: 390px;
    }

    /*
       On mobile, make the image slightly more
       visible while retaining readability.
    */

    .page-header-image {
        object-position: 62% center;
    }

    .page-header-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(255, 255, 255, 0.90) 0%,
                rgba(255, 255, 255, 0.76) 40%,
                rgba(255, 255, 255, 0.42) 72%,
                rgba(255, 255, 255, 0.20) 100%
            );
    }

    .page-header-container {
        min-height: 390px;

        padding-top: 92px;
        padding-bottom: 30px;
    }

    .page-header-breadcrumb {
        margin-bottom: 21px;

        font-size: 0.70rem;
    }

    .page-header-title {
        font-size: clamp(3rem, 11vw, 4.4rem);

        line-height: 0.93;
    }

    .page-header-description {
        max-width: 520px;

        margin-top: 17px;

        font-size: 0.86rem;
    }

    .page-header-bottom {
        margin-top: 22px;
    }

    .page-header-graphic-circle--large {
        width: 380px;
        height: 380px;

        right: -220px;
        top: -90px;
    }

    .page-header-graphic-circle--small {
        display: none;
    }

    .page-header-graphic-plus {
        top: 95px;
        right: 38px;

        font-size: 2.2rem;
    }
}


@media (max-width: 520px) {

    .page-header {
        min-height: 365px;
    }

    .page-header-image {
        object-position: 65% center;
    }

    .page-header-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(255, 255, 255, 0.92) 0%,
                rgba(255, 255, 255, 0.80) 48%,
                rgba(255, 255, 255, 0.35) 100%
            );
    }

    .page-header-container {
        min-height: 365px;

        padding-top: 86px;
        padding-bottom: 27px;
    }

    .page-header-breadcrumb {
        gap: 8px;

        margin-bottom: 19px;

        font-size: 0.67rem;
    }

    .page-header-kicker {
        margin-bottom: 11px;

        font-size: 0.62rem;
    }

    .page-header-title {
        font-size: clamp(2.65rem, 13vw, 3.7rem);

        letter-spacing: -0.055em;
    }

    .page-header-description {
        margin-top: 15px;

        font-size: 0.82rem;

        line-height: 1.52;
    }

    .page-header-bottom {
        gap: 8px;

        margin-top: 20px;
    }

    .page-header-bottom-label {
        font-size: 0.55rem;
    }

    .page-header-bottom-line {
        width: 18px;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .page-header *,
    .page-header::before,
    .page-header::after {
        transition: none !important;
        animation: none !important;
    }
}