/* ============================================================
   TRUEFLOW GUTTER SYSTEMS
   HOMEPAGE
============================================================ */


/* ============================================================
   HERO
============================================================ */

.home-hero {
    position: relative;
    min-height: clamp(680px, 82vh, 900px);
    overflow: hidden;
    display: flex;
    align-items: stretch;
    color: var(--color-light);
    background: var(--color-dark);
}

.home-hero__background,
.home-hero__overlay {
    position: absolute;
    inset: 0;
}

.home-hero__background {
    overflow: hidden;
}

.home-hero__background img {
    width: 100%;
    height: 112%;
    object-fit: cover;
    object-position: center;
}

.home-hero__overlay {
    background:
        linear-gradient(90deg,
            rgba(17, 24, 39, 0.94) 0%,
            rgba(17, 24, 39, 0.83) 35%,
            rgba(17, 24, 39, 0.45) 68%,
            rgba(17, 24, 39, 0.22) 100%);
    z-index: 1;
}

.home-hero__line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.08);
}

.home-hero__line--one {
    left: 33.333%;
}

.home-hero__line--two {
    left: 66.666%;
}

.home-hero__container {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(310px, 430px);
    align-items: center;
    gap: clamp(50px, 7vw, 110px);
    padding-top: clamp(75px, 7vw, 110px);
    padding-bottom: clamp(95px, 8vw, 125px);
}

.home-hero__content {
    max-width: 820px;
}

.home-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 25px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
}

.home-hero__eyebrow-line {
    width: 46px;
    height: 2px;
    background: var(--color-red);
}

.home-hero h1 {
    max-width: 850px;
    margin-bottom: 28px;
    font-size: clamp(56px, 7vw, 108px);
    font-weight: 650;
    line-height: 0.88;
    letter-spacing: -0.065em;
}

.home-hero h1 span {
    display: block;
    color: rgba(255, 255, 255, 0.62);
}

.home-hero__lead {
    max-width: 650px;
    margin-bottom: 34px;
    font-size: clamp(18px, 1.6vw, 22px);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
}

.home-hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
    margin-bottom: 38px;
}

.home-hero .button--primary {
    background: var(--color-blue);
    box-shadow: 0 14px 35px rgba(23, 71, 166, 0.28);
}

.home-hero .button--primary:hover {
    background: var(--color-red);
}

.button--hero {
    min-height: 58px;
    padding-inline: 28px;
}

.home-hero__call {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.home-hero__call-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    color: var(--color-light);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    transition:
        border-color var(--transition),
        background var(--transition);
}

.home-hero__call:hover .home-hero__call-icon {
    background: var(--color-red);
    border-color: var(--color-red);
}

.home-hero__call-icon svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.home-hero__call small,
.home-hero__call strong {
    display: block;
}

.home-hero__call small {
    margin-bottom: 1px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.52);
}

.home-hero__call strong {
    font-size: 15px;
}

.home-hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
}

.home-hero__trust>div {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.62);
}

.home-hero__trust-icon {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    font-size: 10px;
    color: var(--color-light);
    background: var(--color-red);
    border-radius: 50%;
}


/* 40-year guarantee: one clean trust badge, not a duplicated label */
.home-hero__trust>.home-hero__trust-guarantee {
    gap: 8px;
    padding: 5px 11px 5px 5px;
    color: rgba(255, 255, 255, 0.86);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    backdrop-filter: blur(8px);
}

.home-hero__trust-guarantee .home-hero__trust-icon {
    flex: 0 0 20px;
}

.home-hero__trust-guarantee>span:last-child {
    white-space: nowrap;
}


/* ============================================================
   HERO FEATURE CARD
============================================================ */

.home-hero__feature {
    align-self: end;
    justify-self: end;
    width: min(100%, 390px);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-dark);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 22px;
    box-shadow: 0 28px 75px rgba(0, 0, 0, 0.28);
    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.home-hero__feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 36px 85px rgba(0, 0, 0, 0.36);
}

.home-hero__feature-image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.home-hero__feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-hero__feature:hover .home-hero__feature-image img {
    transform: scale(1.06);
}

.home-hero__feature-copy {
    position: relative;
    padding: 22px 62px 23px 22px;
}

.home-hero__feature-copy span,
.home-hero__feature-copy strong,
.home-hero__feature-copy small {
    display: block;
}

.home-hero__feature-copy span {
    margin-bottom: 5px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-red);
}

.home-hero__feature-copy strong {
    margin-bottom: 3px;
    font-size: 19px;
    letter-spacing: -0.03em;
}

.home-hero__feature-copy small {
    font-size: 11px;
    color: var(--color-muted);
}

.home-hero__feature-arrow {
    position: absolute;
    right: 22px;
    bottom: 22px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: var(--color-light);
    background: var(--color-blue);
    border-radius: 50%;
    transition:
        transform var(--transition),
        background var(--transition);
}

.home-hero__feature:hover .home-hero__feature-arrow {
    transform: rotate(45deg);
    background: var(--color-red);
}


/* ============================================================
   HERO SCROLL
============================================================ */

.home-hero__scroll {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 25px;
    display: flex;
    align-items: center;
    gap: 14px;
    transform: translateX(-50%);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.52);
}

.home-hero__scroll-line {
    position: relative;
    width: 55px;
    height: 1px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.22);
}

.home-hero__scroll-line::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--color-red);
    transform: translateX(-100%);
    animation: heroScrollLine 2.2s ease-in-out infinite;
}

@keyframes heroScrollLine {
    0% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(100%);
    }
}


/* ============================================================
   MARQUEE
============================================================ */

.home-marquee {
    overflow: hidden;
    color: var(--color-light);
    background: var(--color-blue);
    border-top: 4px solid var(--color-red);
}

.home-marquee__track {
    display: flex;
    width: max-content;
    animation: homeMarquee 28s linear infinite;
}

.home-marquee__item {
    display: flex;
    align-items: center;
    gap: 22px;
    flex: none;
    padding: 18px 30px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    white-space: nowrap;
}

.home-marquee__item>span {
    width: 7px;
    height: 7px;
    background: var(--color-red);
    border-radius: 50%;
}

@keyframes homeMarquee {
    to {
        transform: translateX(-50%);
    }
}

.home-marquee:hover .home-marquee__track {
    animation-play-state: paused;
}


/* ============================================================
   INTRODUCTION
============================================================ */

.home-intro {
    overflow: hidden;
    background: var(--color-light);
}

.home-intro__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: clamp(65px, 8vw, 125px);
}

.home-intro__visual {
    position: relative;
    min-height: 650px;
}

.home-intro__image {
    position: absolute;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: var(--shadow-lg);
}

.home-intro__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-intro__image--main {
    top: 0;
    left: 0;
    width: 76%;
    height: 560px;
}

.home-intro__image--secondary {
    right: 0;
    bottom: 0;
    width: 47%;
    height: 330px;
    border: 10px solid var(--color-light);
}

.home-intro__badge {
    position: absolute;
    left: 6%;
    bottom: 25px;
    z-index: 2;
    display: grid;
    gap: 2px;
    min-width: 185px;
    padding: 20px 22px;
    color: var(--color-light);
    background: var(--color-blue);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(23, 71, 166, 0.22);
}

.home-intro__badge::before {
    content: "";
    position: absolute;
    top: 0;
    right: 22px;
    width: 44px;
    height: 4px;
    background: var(--color-red);
}

.home-intro__badge strong {
    font-size: 18px;
}

.home-intro__badge span {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.68);
}

.home-intro__content>p:not(.section-lead) {
    max-width: 620px;
    color: var(--color-muted);
}

.home-intro__features {
    display: grid;
    gap: 18px;
    margin: 34px 0;
}

.home-intro__features>div {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 16px;
    align-items: start;
}

.home-intro__features>div>span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    font-size: 9px;
    font-weight: 800;
    color: var(--color-light);
    background: var(--color-red);
    border-radius: 50%;
}

.home-intro__features p {
    margin: 0;
    font-size: 13px;
    color: var(--color-muted);
}

.home-intro__features strong {
    display: block;
    margin-bottom: 2px;
    color: var(--color-dark);
    font-size: 14px;
}


.home-intro__feature--guarantee strong {
    color: var(--color-blue);
}

.home-intro__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 26px;
}


/* ============================================================
   SERVICES
============================================================ */

.home-services {
    overflow: hidden;
    background: var(--color-grey);
}

.home-services__grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr;
    grid-auto-rows: 330px;
    gap: 18px;
}

.service-feature {
    position: relative;
    overflow: hidden;
    min-width: 0;
    border-radius: 20px;
    color: var(--color-light);
    background: var(--color-dark);
    isolation: isolate;
}

.service-feature--large {
    grid-row: span 2;
}

.service-feature:nth-child(4),
.service-feature:nth-child(5) {
    grid-column: span 1;
}

.service-feature__image,
.service-feature__shade {
    position: absolute;
    inset: 0;
}

.service-feature__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 850ms cubic-bezier(0.22, 1, 0.36, 1);
}

.service-feature__shade {
    z-index: 1;
    background:
        linear-gradient(180deg,
            rgba(17, 24, 39, 0.08) 20%,
            rgba(17, 24, 39, 0.82) 100%);
}

.service-feature::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    border: 2px solid transparent;
    border-radius: inherit;
    transition: border-color var(--transition);
    pointer-events: none;
}

.service-feature:hover::after {
    border-color: rgba(215, 25, 32, 0.85);
}

.service-feature:hover .service-feature__image img {
    transform: scale(1.065);
}

.service-feature__number {
    position: absolute;
    top: 21px;
    left: 21px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    font-size: 9px;
    font-weight: 800;
    background: rgba(17, 24, 39, 0.48);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    backdrop-filter: blur(8px);
}

.service-feature__content {
    position: absolute;
    z-index: 3;
    right: 24px;
    bottom: 24px;
    left: 24px;
}

.service-feature__content>span {
    display: inline-block;
    margin-bottom: 7px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #ffd4d5;
}

.service-feature__content h3 {
    max-width: 440px;
    margin-bottom: 0;
    font-size: clamp(23px, 2.3vw, 38px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.service-feature--large .service-feature__content h3 {
    font-size: clamp(34px, 4vw, 58px);
}

.service-feature__content p {
    max-width: 440px;
    margin: 13px 0 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.service-feature__arrow {
    position: absolute;
    z-index: 4;
    top: 20px;
    right: 20px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    background: var(--color-red);
    border-radius: 50%;
    transition:
        transform var(--transition),
        background var(--transition);
}

.service-feature:hover .service-feature__arrow {
    transform: rotate(45deg);
    background: var(--color-blue);
}


/* ============================================================
   STATEMENT
============================================================ */

.home-statement {
    padding: clamp(75px, 8vw, 120px) 0;
    color: var(--color-light);
    background: var(--color-blue);
    border-top: 5px solid var(--color-red);
}

.home-statement__inner {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(35px, 6vw, 85px);
}

.home-statement__label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.home-statement__text {
    margin: 0;
    max-width: 870px;
    font-size: clamp(34px, 4.1vw, 66px);
    line-height: 1.05;
    letter-spacing: -0.05em;
    font-weight: 580;
}

.home-statement__text span {
    color: rgba(255, 255, 255, 0.56);
}

.home-statement__link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.home-statement__link span {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    background: var(--color-red);
    border-radius: 50%;
    transition: transform var(--transition);
}

.home-statement__link:hover span {
    transform: rotate(45deg);
}



.home-statement__text strong {
    color: var(--color-light);
    font-weight: 700;
}

/* ============================================================
   BEFORE / AFTER
============================================================ */

.home-transformations {
    overflow: hidden;
    background: var(--color-light);
}

.home-transformations__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.before-after {
    min-width: 0;
    max-width: 100%;
}

.before-after__stage {
    position: relative;

    width: 100%;
    aspect-ratio: 16 / 11;

    overflow: hidden;

    background: var(--color-dark);

    border-radius: 20px;
    box-shadow: var(--shadow);

    isolation: isolate;
}

/*
 * IMPORTANT:
 * Both images always remain the full size of the stage.
 * We reveal the BEFORE image with clip-path rather than
 * changing its width. This prevents stretching/overflow
 * when the slider approaches either edge.
 */
.before-after__after,
.before-after__before,
.before-after__before img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    max-width: none;

    object-fit: cover;
    object-position: center;
}

.before-after__after {
    z-index: 1;
}

.before-after__before {
    z-index: 2;

    pointer-events: none;

    clip-path:
        inset(0 calc(100% - var(--before-after-position)) 0 0);

    will-change: clip-path;
}

.before-after__before img {
    display: block;

    width: 100%;
    height: 100%;
}

.before-after__label {
    position: absolute;
    z-index: 5;

    top: 18px;

    padding: 8px 12px;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;

    color: var(--color-light);

    border-radius: 999px;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    pointer-events: none;
}

.before-after__label--before {
    left: 18px;

    background: rgba(17, 24, 39, 0.72);
}

.before-after__label--after {
    right: 18px;

    background: var(--color-blue);
}

.before-after__divider {
    position: absolute;
    z-index: 4;

    top: 0;
    bottom: 0;
    left: var(--before-after-position);

    width: 2px;

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

    transform: translateX(-50%);

    box-shadow:
        0 0 0 1px rgba(17, 24, 39, 0.05);

    pointer-events: none;
}

.before-after__divider span {
    position: absolute;

    top: 50%;
    left: 50%;

    display: grid;
    place-items: center;

    width: 50px;
    height: 50px;

    color: var(--color-light);
    background: var(--color-red);

    border: 4px solid var(--color-light);
    border-radius: 50%;

    transform: translate(-50%, -50%);

    box-shadow:
        0 10px 26px rgba(0, 0, 0, 0.28);
}

.before-after__divider svg {
    width: 20px;
    height: 20px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.before-after__stage {
    position: relative;

    width: 100%;
    aspect-ratio: 16 / 11;

    overflow: hidden;

    background: var(--color-dark);

    border-radius: 20px;
    box-shadow: var(--shadow);

    isolation: isolate;

    cursor: ew-resize;

    /*
     * Allows normal vertical page scrolling,
     * while our JS handles horizontal slider movement.
     */
    touch-action: pan-y;

    -webkit-user-select: none;
    user-select: none;
}

.before-after__stage img {
    -webkit-user-drag: none;
    user-select: none;
}

.before-after input[type="range"] {
    position: absolute;
    z-index: 6;

    inset: 0;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    opacity: 0;

    appearance: none;
    -webkit-appearance: none;

    cursor: ew-resize;

    /*
     * JS handles dragging on the actual stage.
     * Keep the range for accessibility/state.
     */
    pointer-events: none;
}

.before-after input[type="range"]::-webkit-slider-thumb {
    width: 42px;
    height: 100%;

    appearance: none;
    -webkit-appearance: none;

    cursor: ew-resize;
}

.before-after input[type="range"]::-moz-range-thumb {
    width: 42px;
    height: 100%;

    border: 0;

    background: transparent;

    cursor: ew-resize;
}

.before-after__caption {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 24px;

    padding: 20px 2px 0;
}

.before-after__caption>span {
    flex: none;

    font-size: 9px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    color: var(--color-red);
}

.before-after__caption h3 {
    min-width: 0;

    margin: 0;

    text-align: right;

    font-size: 19px;
    line-height: 1.2;
    letter-spacing: -0.03em;

    color: var(--color-dark);
}

.home-transformations__footer {
    display: flex;
    justify-content: center;

    margin-top: 50px;
}

@media (max-width: 1000px) {

    .home-transformations__grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

}

@media (max-width: 800px) {

    .before-after__caption {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .before-after__caption h3 {
        text-align: left;
    }

}

@media (max-width: 560px) {

    .before-after__stage {
        aspect-ratio: 4 / 3;
        border-radius: 16px;
    }

    .before-after__label {
        top: 12px;

        padding: 6px 9px;

        font-size: 8px;
    }

    .before-after__label--before {
        left: 12px;
    }

    .before-after__label--after {
        right: 12px;
    }

    .before-after__divider span {
        width: 44px;
        height: 44px;

        border-width: 3px;
    }

}

/* ============================================================
   WHY TRUEFLOW
============================================================ */

.home-why {
    position: relative;
    overflow: hidden;
    padding: clamp(100px, 10vw, 155px) 0;
    color: var(--color-light);
    background: var(--color-dark);
}

.home-why__background,
.home-why__overlay {
    position: absolute;
    inset: 0;
}

.home-why__background {
    overflow: hidden;
}

.home-why__background img {
    width: 100%;
    height: 112%;
    object-fit: cover;
}

.home-why__overlay {
    background:
        linear-gradient(90deg,
            rgba(17, 24, 39, 0.97) 0%,
            rgba(17, 24, 39, 0.88) 55%,
            rgba(17, 24, 39, 0.7) 100%);
}

.home-why__container {
    position: relative;
    z-index: 2;
}

.home-why__heading {
    max-width: 760px;
    margin-bottom: clamp(50px, 6vw, 85px);
}

.home-why__heading h2 {
    margin-bottom: 0;
    font-size: clamp(42px, 5.2vw, 80px);
    line-height: 0.98;
    letter-spacing: -0.055em;
    font-weight: 600;
}

.home-why__heading h2 span {
    display: block;
    color: rgba(255, 255, 255, 0.52);
}

.home-why__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.why-card {
    min-height: 280px;
    padding: 30px 28px 34px;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.why-card:last-child {
    border-right: 0;
}

.why-card__number {
    display: inline-flex;
    margin-bottom: 60px;
    font-size: 10px;
    font-weight: 800;
    color: var(--color-red-light);
}

.why-card h3 {
    margin-bottom: 11px;
    font-size: 21px;
    letter-spacing: -0.035em;
}

.why-card p {
    margin: 0;
    font-size: 12px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.58);
}


/* ============================================================
   PROJECT SHOWCASE
============================================================ */

.home-projects {
    overflow: hidden;
    background: var(--color-grey);
}

.home-projects__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
    gap: 20px;
}

.home-projects__stack {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
}

.project-tile {
    position: relative;
    min-height: 310px;
    overflow: hidden;
    border-radius: 20px;
    background: var(--color-dark);
}

.project-tile--large {
    min-height: 640px;
}

.project-tile--wide {
    min-height: 350px;
}

.project-tile img,
.project-tile__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.project-tile img {
    object-fit: cover;
    transition: transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.project-tile__overlay {
    background:
        linear-gradient(180deg,
            rgba(17, 24, 39, 0.03) 35%,
            rgba(17, 24, 39, 0.82) 100%);
}

.project-tile__content {
    position: absolute;
    z-index: 2;
    right: 25px;
    bottom: 24px;
    left: 25px;
}

.project-tile__content span,
.project-tile__content strong {
    display: block;
}

.project-tile__content span {
    margin-bottom: 6px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #ffd4d5;
}

.project-tile__content strong {
    font-size: clamp(21px, 2vw, 31px);
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: var(--color-light);
}

.project-tile::after {
    content: "↗";
    position: absolute;
    z-index: 3;
    top: 20px;
    right: 20px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--color-light);
    background: var(--color-red);
    border-radius: 50%;
    transition:
        transform var(--transition),
        background var(--transition);
}

.project-tile:hover img {
    transform: scale(1.06);
}

.project-tile:hover::after {
    transform: rotate(45deg);
    background: var(--color-blue);
}

.home-projects__lower {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 20px;
}


/* ============================================================
   PROCESS
============================================================ */

.home-process {
    background: var(--color-light);
}

.home-process__heading {
    max-width: 840px;
    margin-bottom: 65px;
}

.home-process__steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-step {
    position: relative;
    padding: 0 28px 0 0;
}

.process-step:not(:last-child) {
    margin-right: 28px;
}

.process-step__number {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    margin-bottom: 34px;
    font-size: 10px;
    font-weight: 800;
    color: var(--color-light);
    background: var(--color-blue);
    border-radius: 50%;
    box-shadow: 0 10px 24px rgba(23, 71, 166, 0.18);
}

.process-step:nth-child(even) .process-step__number {
    background: var(--color-red);
}

.process-step__line {
    position: absolute;
    top: 25px;
    left: 62px;
    width: calc(100% - 55px);
    height: 1px;
    background: var(--color-border);
}

.process-step h3 {
    margin-bottom: 10px;
    font-size: 20px;
    letter-spacing: -0.035em;
}

.process-step p {
    margin: 0;
    max-width: 250px;
    font-size: 13px;
    color: var(--color-muted);
}

.home-process__action {
    margin-top: 55px;
}


/* ============================================================
   COVERAGE
============================================================ */

.home-coverage {
    overflow: hidden;
    padding: clamp(90px, 9vw, 140px) 0;
    background: var(--color-grey);
}

.home-coverage__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(55px, 8vw, 120px);
}

.home-coverage__content h2 {
    max-width: 650px;
    margin-bottom: 24px;
    font-size: clamp(42px, 5vw, 76px);
    line-height: 0.98;
    letter-spacing: -0.055em;
    font-weight: 600;
    color: var(--color-dark);
}

.home-coverage__content h2 span {
    display: block;
    color: var(--color-muted);
}

.home-coverage__content>p {
    max-width: 560px;
    color: var(--color-muted);
}

.home-coverage__areas {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 32px 0 34px;
}

.home-coverage__areas a {
    padding: 9px 14px;
    font-size: 10px;
    font-weight: 750;
    color: var(--color-blue);
    background: var(--color-light);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    transition:
        color var(--transition),
        border-color var(--transition),
        background var(--transition),
        transform var(--transition);
}

.home-coverage__areas a:hover {
    color: var(--color-light);
    background: var(--color-blue);
    border-color: var(--color-blue);
    transform: translateY(-2px);
}

.home-coverage__visual {
    position: relative;
    min-height: 570px;
}

.home-coverage__image {
    position: absolute;
    inset: 0 0 50px 60px;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: var(--shadow-lg);
}

.home-coverage__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-coverage__card {
    position: absolute;
    z-index: 2;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 240px;
    padding: 20px 22px;
    color: var(--color-light);
    background: var(--color-blue);
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(23, 71, 166, 0.24);
}

.home-coverage__card::after {
    content: "";
    position: absolute;
    top: 0;
    right: 22px;
    width: 42px;
    height: 4px;
    background: var(--color-red);
}

.home-coverage__pin {
    display: grid;
    place-items: center;
    width: 45px;
    height: 45px;
    flex: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.home-coverage__pin svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--color-light);
    stroke-width: 1.7;
}

.home-coverage__card small,
.home-coverage__card strong {
    display: block;
}

.home-coverage__card small {
    margin-bottom: 1px;
    font-size: 9px;
    color: rgba(255, 255, 255, 0.6);
}

.home-coverage__card strong {
    font-size: 19px;
}


/* ============================================================
   REVIEWS
============================================================ */

.home-reviews {
    color: var(--color-light);
    background: var(--color-dark);
    border-top: 4px solid var(--color-red);
}

.home-reviews__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(55px, 8vw, 110px);
}

.home-reviews .section-title {
    color: var(--color-light);
}

.home-reviews .section-title span {
    color: rgba(255, 255, 255, 0.45);
}

.home-reviews__heading>p {
    max-width: 520px;
    color: rgba(255, 255, 255, 0.58);
}

.home-reviews__feature {
    position: relative;
    padding: clamp(38px, 5vw, 70px);
    background: var(--color-blue);
    border-radius: 24px;
    overflow: hidden;
}

.home-reviews__feature::after {
    content: "“";
    position: absolute;
    top: -30px;
    right: 25px;
    font-family: Georgia, serif;
    font-size: 180px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.08);
}

.home-reviews__stars {
    position: relative;
    z-index: 2;
    margin-bottom: 22px;
    font-size: 19px;
    letter-spacing: 0.08em;
    color: #ffffff;
}

.home-reviews__feature blockquote {
    position: relative;
    z-index: 2;
    margin: 0 0 28px;
    max-width: 620px;
    font-size: clamp(25px, 3vw, 43px);
    line-height: 1.18;
    letter-spacing: -0.04em;
    font-weight: 560;
}


/* ============================================================
   HOME CONTACT STRIP
============================================================ */

.home-contact-strip {
    padding: 65px 0;
    color: var(--color-light);
    background: var(--color-red);
}

.home-contact-strip__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.home-contact-strip__inner>div:first-child>span {
    display: block;
    margin-bottom: 7px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.68);
}

.home-contact-strip h2 {
    margin: 0;
    font-size: clamp(30px, 3.5vw, 50px);
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.home-contact-strip__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
    flex: none;
}

.home-contact-strip__phone {
    font-size: 16px;
    font-weight: 800;
    transition: opacity var(--transition);
}

.home-contact-strip__phone:hover {
    opacity: 0.72;
}


/* ============================================================
   RESPONSIVE — 1200
============================================================ */

@media (max-width: 1200px) {

    .home-hero__container {
        grid-template-columns: minmax(0, 1fr) 330px;
        gap: 45px;
    }

    .home-hero h1 {
        font-size: clamp(54px, 7.2vw, 88px);
    }

    .home-intro__grid {
        gap: 70px;
    }

    .home-services__grid {
        grid-template-columns: 1.2fr 1fr;
        grid-auto-rows: 320px;
    }

    .service-feature--large {
        grid-row: span 2;
    }

    .service-feature:nth-child(4),
    .service-feature:nth-child(5) {
        grid-column: auto;
    }

    .home-statement__inner {
        grid-template-columns: 120px 1fr;
    }

    .home-statement__link {
        grid-column: 2;
        justify-self: start;
    }

    .home-why__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-card:nth-child(2) {
        border-right: 0;
    }

    .why-card:nth-child(-n+2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }

    .home-process__steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 45px 20px;
    }

    .process-step:nth-child(2) .process-step__line,
    .process-step:nth-child(4) .process-step__line {
        display: none;
    }
}


/* ============================================================
   RESPONSIVE — 1000
============================================================ */

@media (max-width: 1000px) {

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

    .home-hero__container {
        grid-template-columns: 1fr;
        padding-top: 85px;
        padding-bottom: 105px;
    }

    .home-hero__content {
        max-width: 760px;
    }

    .home-hero__feature {
        display: none;
    }

    .home-hero__line--one {
        left: 50%;
    }

    .home-hero__line--two {
        display: none;
    }

    .home-intro__grid,
    .home-coverage__grid,
    .home-reviews__inner {
        grid-template-columns: 1fr;
    }

    .home-intro__visual {
        min-height: 590px;
        max-width: 720px;
    }

    .home-intro__content {
        max-width: 760px;
    }

    .home-transformations__grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .home-projects__layout {
        grid-template-columns: 1fr;
    }

    .project-tile--large {
        min-height: 520px;
    }

    .home-projects__stack {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: none;
    }

    .home-coverage__visual {
        max-width: 760px;
    }

    .home-reviews__feature {
        max-width: 760px;
    }

    .home-contact-strip__inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-contact-strip__actions {
        width: 100%;
    }
}


/* ============================================================
   RESPONSIVE — 800
============================================================ */

@media (max-width: 800px) {

    .home-hero__overlay {
        background:
            linear-gradient(90deg,
                rgba(17, 24, 39, 0.94),
                rgba(17, 24, 39, 0.67));
    }

    .home-hero__container {
        padding-top: 72px;
        padding-bottom: 92px;
    }

    .home-hero h1 {
        font-size: clamp(52px, 12vw, 78px);
    }

    .home-hero__lead {
        max-width: 560px;
        font-size: 17px;
    }

    .home-hero__trust {
        gap: 10px 18px;
    }

    .home-hero__scroll {
        display: none;
    }

    .home-marquee__item {
        padding: 15px 22px;
        font-size: 10px;
    }

    .home-intro__visual {
        min-height: 510px;
    }

    .home-intro__image--main {
        width: 83%;
        height: 430px;
    }

    .home-intro__image--secondary {
        width: 48%;
        height: 250px;
    }

    .home-intro__badge {
        left: 2%;
    }

    .home-services__grid {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        margin-right: -17px;
        padding-right: 17px;
        padding-bottom: 14px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .home-services__grid::-webkit-scrollbar {
        display: none;
    }

    .service-feature,
    .service-feature--large {
        width: min(82vw, 430px);
        min-width: min(82vw, 430px);
        height: 500px;
        grid-row: auto;
        scroll-snap-align: start;
    }

    .service-feature__content h3,
    .service-feature--large .service-feature__content h3 {
        font-size: 34px;
    }

    .home-statement__inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .home-statement__link {
        grid-column: auto;
    }

    .home-statement__text {
        font-size: clamp(34px, 8vw, 52px);
    }

    .before-after__caption {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .before-after__caption h3 {
        text-align: left;
    }

    .home-why__grid {
        grid-template-columns: 1fr;
        border-bottom: 0;
    }

    .why-card {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }

    .why-card:last-child {
        border-bottom: 0;
    }

    .why-card__number {
        margin-bottom: 38px;
    }

    .home-projects__stack,
    .home-projects__lower {
        grid-template-columns: 1fr;
    }

    .project-tile--large,
    .project-tile,
    .project-tile--wide {
        min-height: 420px;
    }

    .home-process__steps {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .process-step {
        display: grid;
        grid-template-columns: 52px 1fr;
        column-gap: 18px;
        padding: 0 0 38px;
        margin: 0 !important;
    }

    .process-step__number {
        grid-row: 1 / span 2;
        margin: 0;
    }

    .process-step__line {
        top: 48px;
        left: 25px;
        width: 1px;
        height: calc(100% - 40px);
    }

    .process-step:last-child .process-step__line {
        display: none;
    }

    .process-step h3,
    .process-step p {
        grid-column: 2;
    }

    .process-step h3 {
        margin-bottom: 7px;
    }

    .home-coverage__visual {
        min-height: 500px;
    }

    .home-coverage__image {
        left: 35px;
    }

    .home-contact-strip__actions {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* ============================================================
   RESPONSIVE — 560
============================================================ */

@media (max-width: 560px) {

    .home-hero__container {
        padding-top: 62px;
        padding-bottom: 80px;
    }

    .home-hero h1 {
        margin-bottom: 22px;
        font-size: clamp(46px, 13vw, 64px);
    }

    .home-hero__eyebrow {
        margin-bottom: 20px;
        font-size: 9px;
    }

    .home-hero__eyebrow-line {
        width: 32px;
    }

    .home-hero__actions {
        align-items: stretch;
        flex-direction: column;
        gap: 16px;
    }

    .home-hero__actions .button {
        width: 100%;
    }

    .home-hero__call {
        justify-content: center;
    }

    .home-hero__trust {
        display: grid;
        grid-template-columns: 1fr;
    }


    .home-hero__trust>.home-hero__trust-guarantee {
        width: fit-content;
        max-width: 100%;
    }

    .home-intro__visual {
        min-height: 430px;
    }

    .home-intro__image--main {
        width: 88%;
        height: 350px;
    }

    .home-intro__image--secondary {
        width: 52%;
        height: 205px;
        border-width: 7px;
    }

    .home-intro__badge {
        bottom: 10px;
        min-width: 165px;
        padding: 16px 18px;
    }

    .home-intro__features>div {
        grid-template-columns: 36px 1fr;
        gap: 12px;
    }

    .home-intro__features>div>span {
        width: 34px;
        height: 34px;
    }

    .service-feature,
    .service-feature--large {
        width: 84vw;
        min-width: 84vw;
        height: 450px;
    }

    .service-feature__content h3,
    .service-feature--large .service-feature__content h3 {
        font-size: 30px;
    }

    .home-statement {
        padding: 65px 0;
    }

    .before-after__stage {
        aspect-ratio: 4 / 3;
    }

    .before-after__label {
        top: 12px;
        padding: 6px 9px;
        font-size: 8px;
    }

    .before-after__label--before {
        left: 12px;
    }

    .before-after__label--after {
        right: 12px;
    }

    .before-after__divider span {
        width: 42px;
        height: 42px;
    }

    .home-why {
        padding: 80px 0;
    }

    .why-card {
        padding: 26px 4px 28px;
    }

    .project-tile--large,
    .project-tile,
    .project-tile--wide {
        min-height: 350px;
    }

    .project-tile__content {
        right: 18px;
        bottom: 18px;
        left: 18px;
    }

    .home-coverage__visual {
        min-height: 410px;
    }

    .home-coverage__image {
        inset: 0 0 45px 20px;
    }

    .home-coverage__card {
        min-width: 210px;
        padding: 16px 18px;
    }

    .home-reviews__feature {
        padding: 30px 24px;
    }

    .home-contact-strip {
        padding: 55px 0;
    }

    .home-contact-strip__actions .button {
        width: 100%;
    }
}


/* ============================================================
   REDUCED MOTION
============================================================ */

@media (prefers-reduced-motion: reduce) {

    .home-marquee__track,
    .home-hero__scroll-line::after {
        animation: none !important;
    }
}


/* ============================================================
   MOBILE WIDTH / OVERFLOW FIXES
============================================================ */

@media (max-width: 1000px) {

    .home-hero,
    .home-marquee,
    .home-intro,
    .home-services,
    .home-statement,
    .home-transformations,
    .home-why,
    .home-projects,
    .home-process,
    .home-coverage,
    .home-reviews,
    .home-contact-strip {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .home-hero__container {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .home-hero__content,
    .home-hero__actions,
    .home-hero__trust {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .home-hero h1,
    .home-hero__lead {
        max-width: 100%;
        overflow-wrap: break-word;
    }
}

@media (max-width: 800px) {

    .home-hero__container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .home-hero h1 {
        font-size: clamp(44px, 11.5vw, 66px);
        line-height: 0.94;
        letter-spacing: -0.055em;
    }

    .home-hero__lead {
        font-size: 16px;
        line-height: 1.6;
    }

    .home-hero__actions {
        width: 100%;
    }

    .home-hero__actions .button {
        max-width: 100%;
    }

    .home-marquee {
        width: 100%;
    }

    .home-services__grid {
        width: calc(100% + 18px);
        max-width: calc(100% + 18px);
        margin-right: -18px;
        padding-right: 18px;
    }

    .home-intro__grid,
    .home-transformations__grid,
    .home-projects__layout,
    .home-projects__stack,
    .home-projects__lower,
    .home-coverage__grid,
    .home-reviews__inner {
        width: 100%;
        min-width: 0;
    }

    .before-after,
    .before-after__stage,
    .project-tile,
    .home-reviews__feature,
    .home-coverage__visual {
        max-width: 100%;
        min-width: 0;
    }
}

@media (max-width: 560px) {

    .home-hero__container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .home-hero h1 {
        font-size: clamp(42px, 12vw, 58px);
    }

    .home-hero__eyebrow {
        max-width: 100%;
        white-space: normal;
    }

    .home-hero__call {
        width: 100%;
        justify-content: flex-start;
    }

    .home-hero__trust>div {
        min-width: 0;
    }

    .service-feature,
    .service-feature--large {
        width: calc(100vw - 48px);
        min-width: calc(100vw - 48px);
        max-width: 420px;
    }
}