:root {
            --qsti-red: #ff0000;
            --qsti-red-dark: #930707;
            --qsti-nav: #a90d0d;
            --qsti-footer: #840000;
            --qsti-navy: #040f28;
            --qsti-gold: #fdbe33;
            --qsti-light: #f4f6f8;
            --qsti-text: #343a40;
            --qsti-muted: #68717c;
            --qsti-shadow: 0 1rem 2.5rem rgba(4, 15, 40, 0.10);
        }

        html {
            scroll-behavior: smooth;
            scroll-padding-top: 5.5rem;
        }

        body {
            margin: 0;
            color: var(--qsti-text);
            background: #fff;
            font-family: "Open Sans", Arial, sans-serif;
            line-height: 1.7;
        }

        h1, h2, h3, h4, h5, h6 {
            color: var(--qsti-navy);
            font-family: "Roboto", Arial, sans-serif;
            font-weight: 700;
            line-height: 1.2;
        }

        a {
            text-decoration: none;
        }

        .section-space {
            padding-top: clamp(3.5rem, 7vw, 6rem);
            padding-bottom: clamp(3.5rem, 7vw, 6rem);
        }

        .eyebrow {
            display: inline-flex;
            align-items: center;
            gap: .55rem;
            margin-bottom: .8rem;
            color: var(--qsti-red-dark);
            font-size: .78rem;
            font-weight: 800;
            letter-spacing: .13em;
            text-transform: uppercase;
        }

        .eyebrow::before {
            width: 2rem;
            height: 3px;
            background: var(--qsti-red);
            content: "";
        }

        .section-title {
            margin-bottom: 1.2rem;
            font-size: clamp(1.8rem, 3vw, 2.8rem);
            text-transform: uppercase;
        }

        .topbar {
            background: #fff;
            border-bottom: 1px solid #e9edf1;
        }

        .topbar-item {
            display: flex;
            min-height: 94px;
            align-items: center;
            justify-content: center;
            gap: .9rem;
            padding: 1rem;
        }

        .topbar-item + .topbar-item {
            border-left: 1px solid #e5e8ec;
        }

        .topbar-icon {
            color: var(--qsti-red-dark);
            font-size: 1.65rem;
        }

        .topbar-label {
            display: block;
            margin-bottom: .2rem;
            color: var(--qsti-navy);
            font-size: .75rem;
            font-weight: 800;
            letter-spacing: .08em;
            text-transform: uppercase;
        }

        .topbar-copy {
            color: var(--qsti-muted);
            font-size: .82rem;
            line-height: 1.5;
        }

        .topbar-brand img {
            display: block;
            width: 130px;
            max-height: 58px;
            object-fit: contain;
            margin: 0 auto .25rem;
        }

        .topbar-brand strong {
            display: block;
            color: var(--qsti-navy);
            font-size: .85rem;
            text-align: center;
        }

        .site-nav {
            position: sticky;
            top: 0;
            z-index: 1030;
            background: var(--qsti-nav);
            box-shadow: 0 .35rem 1rem rgba(4, 15, 40, .16);
        }

        .site-nav .navbar {
            min-height: 76px;
        }

        .nav-brand-mobile img {
            width: 88px;
            max-height: 48px;
            object-fit: contain;
        }

        .site-nav .navbar-nav .nav-link {
            padding: 1.55rem 1.05rem;
            color: rgba(255, 255, 255, .88);
            font-size: .82rem;
            font-weight: 800;
            letter-spacing: .055em;
            text-transform: uppercase;
            transition: color .2s ease, background-color .2s ease;
        }

        .site-nav .navbar-nav .nav-link:hover,
        .site-nav .navbar-nav .nav-link:focus,
        .site-nav .navbar-nav .nav-link.active {
            color: #fff;
            background: rgba(0, 0, 0, .12);
        }

        .site-nav .navbar-toggler {
            border-color: rgba(255, 255, 255, .5);
            box-shadow: none;
        }

        .site-nav .navbar-toggler-icon {
            filter: none;
        }

        .nav-contact {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: .5rem;
            padding: .75rem 1rem;
            color: #fff;
            border: 1px solid rgba(255, 255, 255, .65);
            font-size: .78rem;
            font-weight: 800;
            letter-spacing: .04em;
            text-transform: uppercase;
            transition: background-color .2s ease, color .2s ease;
        }

        .nav-contact:hover {
            color: var(--qsti-red-dark);
            background: #fff;
        }

        .hero-carousel .carousel-item {
            position: relative;
            height: clamp(400px, 52vw, 650px);
            background: var(--qsti-navy);
        }

        .hero-carousel .carousel-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            opacity: .92;
        }

        .hero-carousel .carousel-item::after {
            position: absolute;
            inset: 0;
            background: linear-gradient(90deg, rgba(4, 15, 40, .83) 0%, rgba(4, 15, 40, .58) 48%, rgba(4, 15, 40, .12) 100%);
            content: "";
        }

        .hero-carousel .carousel-caption {
            z-index: 2;
            right: auto;
            bottom: 0;
            left: max(8%, calc((100% - 1140px) / 2));
            display: flex;
            width: min(760px, 82%);
            flex-direction: column;
            align-items: flex-start;
            justify-content: center;
            padding: 3rem 0 5rem;
            text-align: left;
        }

        .hero-kicker {
            display: inline-block;
            margin-bottom: 1rem;
            padding: .45rem .75rem;
            color: #fff;
            background: var(--qsti-red-dark);
            font-size: .75rem;
            font-weight: 800;
            letter-spacing: .12em;
            text-transform: uppercase;
        }

        .hero-carousel h1 {
            max-width: 760px;
            margin-bottom: 1.4rem;
            color: #fff;
            font-size: clamp(2rem, 4.4vw, 4rem);
            font-weight: 900;
            letter-spacing: -.025em;
            line-height: 1.1;
            text-transform: uppercase;
        }

        .hero-carousel .hero-description {
            max-width: 620px;
            margin-bottom: 1.6rem;
            color: rgba(255, 255, 255, .9);
            font-size: clamp(.95rem, 1.4vw, 1.1rem);
        }

        .btn-qsti {
            display: inline-flex;
            min-height: 48px;
            align-items: center;
            justify-content: center;
            gap: .55rem;
            padding: .8rem 1.35rem;
            color: #fff;
            background: var(--qsti-red-dark);
            border: 1px solid var(--qsti-red-dark);
            border-radius: 0;
            font-size: .8rem;
            font-weight: 800;
            letter-spacing: .04em;
            text-transform: uppercase;
            transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
        }

        .btn-qsti:hover,
        .btn-qsti:focus {
            color: #fff;
            background: #bd1717;
            border-color: #bd1717;
            transform: translateY(-2px);
        }

        .btn-qsti-outline {
            color: var(--qsti-red-dark);
            background: transparent;
            border-color: var(--qsti-red-dark);
        }

        .btn-qsti-outline:hover,
        .btn-qsti-outline:focus {
            color: #fff;
            background: var(--qsti-red-dark);
        }

        .hero-carousel .carousel-control-prev,
        .hero-carousel .carousel-control-next {
            z-index: 3;
            width: 7%;
        }

        .hero-carousel .carousel-indicators {
            z-index: 3;
            justify-content: flex-start;
            margin-right: 0;
            margin-bottom: 1.3rem;
            margin-left: max(8%, calc((100% - 1140px) / 2));
        }

        .hero-carousel .carousel-indicators [data-bs-target] {
            width: 28px;
            height: 4px;
            border: 0;
            opacity: .55;
        }

        .hero-carousel .carousel-indicators .active {
            background: var(--qsti-red);
            opacity: 1;
        }


        /* Keep the kicker and CTA equally spaced from the desktop hero edges on every slide. */
        @media (min-width: 992px) {
            .hero-carousel .carousel-caption {
                --hero-desktop-edge-space: 2.5rem;
                top: 0 !important;
                right: auto;
                bottom: 0 !important;
                left: max(8%, calc((100% - 1140px) / 2));
                width: min(760px, 82%);
                height: 100%;
                box-sizing: border-box;
                padding: 6rem 0 7rem;
            }

            .hero-carousel .carousel-caption .hero-kicker {
                position: absolute;
                top: var(--hero-desktop-edge-space);
                left: 0;
                margin: 0;
            }

            .hero-carousel .carousel-caption .btn-qsti {
                position: absolute;
                bottom: var(--hero-desktop-edge-space);
                left: 0;
            }
        }

        .value-section {
            background: var(--qsti-light);
        }

        .value-card {
            height: 100%;
            padding: 2rem 1.5rem;
            background: #fff;
            border-bottom: 3px solid transparent;
            box-shadow: 0 .5rem 1.75rem rgba(4, 15, 40, .05);
            transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
        }

        .value-card:hover {
            border-bottom-color: var(--qsti-red);
            box-shadow: var(--qsti-shadow);
            transform: translateY(-4px);
        }

        .value-icon {
            display: inline-flex;
            width: 68px;
            height: 68px;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.25rem;
            color: var(--qsti-red-dark);
            background: #fff0f0;
            font-size: 2rem;
        }

        .value-card h3 {
            margin-bottom: .8rem;
            font-size: 1.1rem;
            text-transform: uppercase;
        }

        .value-card p {
            margin-bottom: 0;
            color: var(--qsti-muted);
            font-size: .93rem;
        }

        .about-copy p {
            color: #505963;
        }

        .about-photo {
            display: block;
            width: 100%;
            height: 260px;
            object-fit: cover;
        }

        .contact-card {
            padding: clamp(1.5rem, 3vw, 2.25rem);
            background: var(--qsti-light);
            border-left: 4px solid var(--qsti-red);
        }

        .contact-card h3 {
            font-size: 1.2rem;
            text-transform: uppercase;
        }

        .contact-card p {
            margin-bottom: .55rem;
            color: var(--qsti-muted);
            font-size: .92rem;
        }

        .contact-card .map-link img {
            width: 100%;
            max-height: 220px;
            margin-top: .75rem;
            object-fit: cover;
        }

        .projects-section {
            background: var(--qsti-light);
        }

        .project-card {
            height: 100%;
            overflow: hidden;
            background: #fff;
            box-shadow: 0 .5rem 1.5rem rgba(4, 15, 40, .06);
        }

        .project-image-wrap {
            position: relative;
            overflow: hidden;
            background: #e7eaee;
        }

        .project-image {
            display: block;
            width: 100%;
            aspect-ratio: 4 / 3;
            object-fit: cover;
            transition: transform .35s ease;
        }

        .project-card:hover .project-image {
            transform: scale(1.04);
        }

        .project-details {
            padding: 1.25rem;
            border-top: 3px solid var(--qsti-red-dark);
        }

        .project-details h3 {
            margin-bottom: .7rem;
            font-size: 1rem;
            line-height: 1.45;
            text-transform: uppercase;
        }

        .project-location {
            display: flex;
            align-items: flex-start;
            gap: .45rem;
            margin: 0;
            color: var(--qsti-muted);
            font-size: .82rem;
        }

        .project-location i {
            color: var(--qsti-red-dark);
        }

        .contact-section {
            background: #fff;
        }

        .contact-panel {
            height: 100%;
            padding: clamp(1.5rem, 4vw, 3rem);
            color: #fff;
            background: var(--qsti-navy);
        }

        .contact-panel h2 {
            color: #fff;
        }

        .contact-panel p {
            color: rgba(255, 255, 255, .78);
        }

        .contact-detail {
            display: flex;
            align-items: flex-start;
            gap: .8rem;
            margin-top: 1.25rem;
            color: rgba(255, 255, 255, .9);
            font-size: .92rem;
        }

        .contact-detail i {
            color: var(--qsti-gold);
            font-size: 1.15rem;
        }

        .contact-action {
            padding: clamp(1.5rem, 4vw, 3rem);
            border: 1px solid #e7eaee;
        }

        .quote-section {
            background: #fff5f5;
            border-top: 1px solid #ffe0e0;
            border-bottom: 1px solid #ffe0e0;
        }

        .quote-mark {
            margin-bottom: .6rem;
            color: var(--qsti-red);
            font-family: Georgia, serif;
            font-size: 3.5rem;
            line-height: 1;
        }

        .quote-text {
            max-width: 900px;
            margin: 0 auto 1rem;
            color: var(--qsti-navy);
            font-family: Georgia, serif;
            font-size: clamp(1.15rem, 2.2vw, 1.65rem);
            font-style: italic;
            line-height: 1.6;
        }

        .quote-attribution {
            color: var(--qsti-red-dark);
            font-size: .9rem;
            font-weight: 800;
        }

        .site-footer {
            color: rgba(255, 255, 255, .75);
            background: var(--qsti-footer);
        }

        .site-footer h2,
        .site-footer h3,
        .site-footer h4 {
            color: #fff;
        }

        .footer-logo {
            width: 100px;
            max-height: 65px;
            margin-bottom: 1rem;
            object-fit: contain;
        }

        .footer-heading {
            margin-bottom: 1.2rem;
            font-size: 1rem;
            letter-spacing: .06em;
            text-transform: uppercase;
        }

        .footer-link {
            display: inline-flex;
            align-items: center;
            gap: .45rem;
            margin-bottom: .65rem;
            color: rgba(255, 255, 255, .75);
            font-size: .9rem;
            transition: color .2s ease;
        }

        .footer-link:hover {
            color: #fff;
        }

        .footer-contact p {
            display: flex;
            align-items: flex-start;
            gap: .6rem;
            margin-bottom: .65rem;
            font-size: .9rem;
        }

        .footer-contact i {
            margin-top: .2rem;
            color: var(--qsti-gold);
        }

        .social-link {
            display: inline-flex;
            width: 42px;
            height: 42px;
            align-items: center;
            justify-content: center;
            color: #fff;
            background: rgba(255, 255, 255, .12);
            border: 1px solid rgba(255, 255, 255, .25);
            transition: background-color .2s ease;
        }

        .social-link:hover {
            color: #fff;
            background: var(--qsti-red);
        }

        .footer-bottom {
            color: rgba(255, 255, 255, .8);
            background: #590000;
            font-size: .85rem;
        }

        .footer-bottom a {
            color: #fff;
        }

        .back-to-top {
            position: fixed;
            right: 1rem;
            bottom: 1rem;
            z-index: 1020;
            display: inline-flex;
            width: 46px;
            height: 46px;
            align-items: center;
            justify-content: center;
            color: #fff;
            background: var(--qsti-red-dark);
            box-shadow: 0 .35rem 1rem rgba(4, 15, 40, .2);
        }

        .back-to-top:hover {
            color: #fff;
            background: var(--qsti-red);
        }

        @media (max-width: 991.98px) {
            .topbar-item {
                min-height: auto;
                justify-content: flex-start;
                border-left: 0 !important;
            }

            .topbar-brand {
                justify-content: center;
                border-top: 1px solid #e5e8ec;
                border-bottom: 1px solid #e5e8ec;
            }

            .site-nav .navbar-nav .nav-link {
                padding: .85rem 1rem;
            }

            .site-nav .navbar-collapse {
                padding: .25rem 0 1rem;
            }

            .nav-contact {
                margin-top: .5rem;
            }
        }

        @media (max-width: 575.98px) {
            .hero-carousel .carousel-item {
                /* Fill the visible phone area below the mobile navigation. */
                height: calc(100vh - 76px);
                height: calc(100svh - 76px);
                min-height: 480px;
            }

            .hero-carousel .carousel-item img {
                object-position: center;
            }

            .hero-carousel .carousel-item::after {
                background: linear-gradient(90deg, rgba(4, 15, 40, .84), rgba(4, 15, 40, .52));
            }

            /* Center the hero copy within the mobile slide. */
            .hero-carousel .carousel-caption {
                --hero-mobile-edge-space: 2.5rem;
                top: 0;
                right: 0;
                bottom: 0;
                left: 0;
                display: flex;
                width: 100%;
                height: 100%;
                box-sizing: border-box;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                padding: 5.5rem 13% 7.5rem;
                text-align: center;
            }

            .hero-carousel .hero-kicker {
                position: absolute;
                top: var(--hero-mobile-edge-space);
                left: 50%;
                align-self: center;
                margin: 0;
                transform: translateX(-50%);
                text-align: center;
            }

            .hero-carousel h1 {
                width: 100%;
                font-size: clamp(1.75rem, 8vw, 2.35rem);
                text-align: center;
            }

            .hero-carousel .hero-description {
                width: 100%;
                text-align: center;
            }

            /* Keep the call-to-action anchored near the bottom of every slide. */
            .hero-carousel .carousel-caption .btn-qsti {
                position: absolute;
                bottom: var(--hero-mobile-edge-space);
                left: 50%;
                transform: translateX(-50%);
                white-space: nowrap;
            }

            .hero-carousel .carousel-caption .btn-qsti:hover,
            .hero-carousel .carousel-caption .btn-qsti:focus {
                transform: translate(-50%, -2px);
            }

            .hero-carousel .carousel-control-prev,
            .hero-carousel .carousel-control-next {
                width: 9%;
            }

            .hero-carousel .carousel-indicators {
                margin-left: 8%;
            }

            .value-card {
                padding: 1.6rem 1.25rem;
            }
        }
        @media (prefers-reduced-motion: reduce) {
            html {
                scroll-behavior: auto;
            }

            *,
            *::before,
            *::after {
                transition-duration: .01ms !important;
                animation-duration: .01ms !important;
                animation-iteration-count: 1 !important;
            }
        }
