/* Page appearance. Container and title use Astra settings. */

.page-id-494 .home,
.page-id-494 .home.alignfull {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.page-id-494 .home > * {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
}

.page-id-494 .home,
.page-id-494 .home * {
    box-sizing: border-box;
}

.home__hero .wp-block-cover__inner-container {
    position: static;
    width: min(1180px, 100%);
    margin-right: auto;
    margin-left: auto;
}

.home__hero {
    min-height: 100vh !important;
    min-height: 100svh !important;
}

.home__hero-content {
    position: relative;
    z-index: 2;
    max-width: 790px;
    margin-left: 0 !important;
}

.home__eyebrow {
    margin-bottom: 18px;
    color: #d7342a;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    line-height: 1.3;
    text-transform: uppercase;
}

.home__hero .home__eyebrow {
    color: #ffffff !important;
}

.home__hero h1 {
    max-width: 780px;
    margin-bottom: 24px;
    color: #ffffff;
    font-size: clamp(3.2rem, 6.4vw, 5.9rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 0.98;
    text-transform: none !important;
}

.home__hero-lead {
    max-width: 700px;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, 0.88) !important;
    font-size: clamp(1.05rem, 1.9vw, 1.3rem);
    line-height: 1.7;
}

.home__scroll-cue {
    position: absolute;
    z-index: 2;
    bottom: 28px;
    left: 50%;
    margin: 0;
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    transform: translateX(-50%);
}

.home__scroll-cue::after {
    display: block;
    width: 1px;
    height: 30px;
    margin: 10px auto 0;
    background: rgba(255, 255, 255, 0.76);
    content: "";
    transform-origin: top;
    animation: home-scroll 1.8s ease-in-out infinite;
}

@keyframes home-scroll {
    0%, 100% {
        opacity: 0.38;
        transform: scaleY(0.55);
    }

    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

.page-id-494 .home .wp-block-button__link {
    border-radius: 3px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.home__button-outline .wp-block-button__link {
    border-color: rgba(255, 255, 255, 0.75) !important;
    background: transparent !important;
    color: #ffffff !important;
}

.home__button-outline .wp-block-button__link:hover,
.home__button-outline .wp-block-button__link:focus {
    border-color: #ffffff !important;
    background: #ffffff !important;
    color: #20262d !important;
}

.home__section-title {
    max-width: 820px;
    margin-bottom: 18px;
    color: #20262d;
    font-size: clamp(2.2rem, 4.2vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.06;
}

.home__section-lead {
    max-width: 760px;
    color: #59636e;
    font-size: 1.08rem;
    line-height: 1.75;
}

.home__products > .wp-block-column {
    display: flex;
}

.home__product-card {
    width: 100%;
    height: 100%;
}

.home__service-row {
    border-top: 1px solid #d9dee2;
}

.home__service-number {
    margin-bottom: 12px;
    color: #d7342a;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.home__service-row h3,
.home__product-card h3 {
    margin-bottom: 14px;
    color: #20262d;
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.25;
}

.home__service-row p:last-child,
.home__product-card p:last-child {
    margin-bottom: 0;
}

.home__product-card {
    overflow: hidden;
    background: transparent;
}

.home__product-card .wp-block-image {
    margin: 0;
}

.home__product-card .wp-block-image img {
    display: block;
    width: 100%;
    height: 310px;
    object-fit: cover;
}

.home__product-content {
    display: flex;
    min-height: 225px;
    flex-direction: column;
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.home__product-content h3 a {
    color: inherit;
    text-decoration: none;
}

.home__product-content h3 a:hover,
.home__product-content h3 a:focus {
    color: #d7342a;
}

.home__product-content .wp-block-buttons {
    margin-top: auto;
}

.home__product-link .wp-block-button__link {
    padding: 0;
    border: 0;
    background: transparent !important;
    color: #d7342a !important;
}

.home__product-link .wp-block-button__link:hover,
.home__product-link .wp-block-button__link:focus {
    color: #b92922 !important;
}

.home__featured-project {
    min-height: min(820px, 84vh) !important;
}

.home__featured-project .wp-block-cover__inner-container {
    width: min(1180px, 100%);
    margin-right: auto;
    margin-left: auto;
}

.home__featured-content {
    max-width: 610px;
    margin-right: 0 !important;
    margin-left: auto !important;
}

.home__featured-content .home__eyebrow {
    color: #ef3026 !important;
}

.home__featured-content h2 {
    margin-bottom: 20px;
    color: #ffffff;
    font-size: clamp(2.8rem, 5.2vw, 5.2rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 0.98;
    text-transform: none;
}

.home__featured-content p:not(.home__eyebrow) {
    max-width: 560px;
    color: rgba(255, 255, 255, 0.84) !important;
    font-size: 1.06rem;
    line-height: 1.75;
}

@media (max-width: 921px) {
    .home__hero {
        min-height: 100vh !important;
        min-height: 100svh !important;
        padding-top: 150px !important;
        padding-bottom: 110px !important;
    }

    .home__section {
        padding-top: 76px !important;
        padding-bottom: 76px !important;
    }

    .home__featured-project {
        min-height: 720px !important;
    }
}

@media (max-width: 781px) {
    .home__hero {
        min-height: 100vh !important;
        min-height: 100svh !important;
        padding-right: 20px !important;
        padding-left: 20px !important;
    }

    .home__hero h1 {
        font-size: clamp(2.7rem, 13vw, 4.4rem);
    }

    .home__products {
        gap: 22px !important;
    }

    .home__scroll-cue {
        bottom: 18px;
        font-size: 0.62rem;
    }

    .home__scroll-cue::after {
        height: 22px;
        margin-top: 7px;
    }

    .home__featured-project {
        min-height: 680px !important;
        padding: 80px 20px 64px !important;
    }

    .home__featured-content {
        margin-left: 0 !important;
    }

    .home__featured-content h2 {
        font-size: clamp(2.55rem, 12vw, 4rem);
    }

    .home__product-card .wp-block-image img {
        height: 280px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home__scroll-cue::after { animation: none; }
}
