/* ============================================================
   TRUEFLOW GUTTER SYSTEMS
   SEAMLESS ALUMINIUM GUTTERS
============================================================ */

.seamless-hero {
    position: relative;
    min-height: clamp(660px, 80vh, 850px);
    overflow: hidden;
    display: flex;
    color: var(--color-light);
    background: var(--color-dark);
}

.seamless-hero__media,
.seamless-hero__overlay {
    position: absolute;
    inset: 0;
}

.seamless-hero__media {
    overflow: hidden;
}

.seamless-hero__media img {
    width: 100%;
    height: 112%;
    object-fit: cover;
}

.seamless-hero__overlay {
    z-index: 1;
    background:
        linear-gradient(90deg,
            rgba(17, 24, 39, .97) 0%,
            rgba(17, 24, 39, .87) 38%,
            rgba(17, 24, 39, .52) 70%,
            rgba(17, 24, 39, .22) 100%);
}

.seamless-hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: center;
    gap: clamp(60px, 8vw, 120px);
    padding-top: clamp(85px, 8vw, 120px);
    padding-bottom: clamp(90px, 8vw, 125px);
}

.seamless-hero__content {
    max-width: 850px;
}

.seamless-hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 22px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .74);
}

.seamless-hero__kicker::before {
    content: "";
    width: 42px;
    height: 2px;
    background: var(--color-red);
}

.seamless-hero h1 {
    margin-bottom: 28px;
    font-size: clamp(58px, 7vw, 106px);
    font-weight: 620;
    line-height: .9;
    letter-spacing: -.065em;
}

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

.seamless-hero__content>p {
    max-width: 710px;
    margin-bottom: 34px;
    font-size: clamp(17px, 1.45vw, 21px);
    line-height: 1.68;
    color: rgba(255, 255, 255, .7);
}

.seamless-hero__content strong {
    color: var(--color-light);
}

.seamless-hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

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

.seamless-hero__call small {
    font-size: 9px;
    color: rgba(255, 255, 255, .5);
}

.seamless-hero__call strong {
    font-size: 16px;
}

.seamless-hero__highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 34px;
}

.seamless-hero__highlights span {
    padding: 7px 11px;
    font-size: 9px;
    font-weight: 750;
    color: rgba(255, 255, 255, .7);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 999px;
}

.seamless-hero__feature {
    align-self: end;
    overflow: hidden;
    background: var(--color-light);
    color: var(--color-dark);
    border-radius: 20px;
    box-shadow: 0 28px 75px rgba(0, 0, 0, .3);
}

.seamless-hero__feature img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.seamless-hero__feature-copy {
    padding: 20px;
}

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

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

.seamless-hero__feature-copy strong {
    font-size: 18px;
}


/* INTRO */

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

.seamless-intro__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
    align-items: center;
    gap: clamp(70px, 9vw, 135px);
}

.seamless-intro__visual {
    position: relative;
    min-height: 630px;
}

.seamless-intro__main-image {
    position: absolute;
    inset: 0 80px 55px 0;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: var(--shadow-lg);
}

.seamless-intro__main-image img,
.seamless-intro__detail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.seamless-intro__detail {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 43%;
    height: 270px;
    overflow: hidden;
    border: 8px solid var(--color-light);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.seamless-intro__badge {
    position: absolute;
    left: 24px;
    bottom: 24px;
    z-index: 2;
    padding: 18px 21px;
    color: var(--color-light);
    background: var(--color-blue);
    border-radius: 15px;
}

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

.seamless-intro__badge strong,
.seamless-intro__badge span {
    display: block;
}

.seamless-intro__badge strong {
    font-size: 17px;
}

.seamless-intro__badge span {
    font-size: 9px;
    color: rgba(255, 255, 255, .63);
}

.seamless-intro__content>p:not(.section-lead) {
    color: var(--color-muted);
}

.seamless-intro__features {
    display: grid;
    margin-top: 32px;
}

.seamless-intro__features article {
    display: grid;
    grid-template-columns: 43px 1fr;
    gap: 15px;
    padding: 18px 0;
    border-top: 1px solid var(--color-border);
}

.seamless-intro__features article:last-child {
    border-bottom: 1px solid var(--color-border);
}

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

.seamless-intro__features h3 {
    margin-bottom: 3px;
    font-size: 15px;
}

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


/* HOW IT WORKS */

.seamless-manufacture {
    padding: clamp(90px, 9vw, 140px) 0;
    color: var(--color-light);
    background: var(--color-blue);
}

.seamless-manufacture__grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(70px, 9vw, 135px);
}

.seamless-manufacture__content h2,
.seamless-types__heading h2 {
    margin-bottom: 24px;
    font-size: clamp(44px, 5vw, 78px);
    font-weight: 600;
    line-height: .98;
    letter-spacing: -.055em;
}

.seamless-manufacture__content h2 span,
.seamless-types__heading h2 span {
    display: block;
    color: rgba(255, 255, 255, .5);
}

.seamless-manufacture__content p {
    color: rgba(255, 255, 255, .66);
}

.seamless-manufacture__content .button {
    margin-top: 18px;
}

.seamless-manufacture__steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid rgba(255, 255, 255, .16);
    border-left: 1px solid rgba(255, 255, 255, .16);
}

.seamless-manufacture__steps article {
    min-height: 210px;
    padding: 28px;
    border-right: 1px solid rgba(255, 255, 255, .16);
    border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.seamless-manufacture__steps article>span {
    display: inline-block;
    margin-bottom: 45px;
    font-size: 9px;
    font-weight: 800;
    color: #ffd3d5;
}

.seamless-manufacture__steps h3 {
    margin-bottom: 7px;
    font-size: 20px;
}

.seamless-manufacture__steps p {
    margin: 0;
    font-size: 12px;
    color: rgba(255, 255, 255, .58);
}


/* PROJECTS */

.seamless-projects {
    background: var(--color-grey);
}

.seamless-projects__grid {
    display: grid;
    grid-template-columns: 1.25fr .75fr .75fr;
    grid-auto-rows: 300px;
    gap: 16px;
}

.seamless-project {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: var(--color-dark);
}

.seamless-project--large {
    grid-row: span 2;
}

.seamless-project--wide {
    grid-column: span 1;
}

.seamless-project img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 800ms cubic-bezier(.22, 1, .36, 1);
}

.seamless-project::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(17, 24, 39, .75));
}

.seamless-project>span {
    position: absolute;
    z-index: 2;
    right: 18px;
    bottom: 16px;
    left: 18px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--color-light);
}

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


/* BENEFITS */

.seamless-benefits {
    background: var(--color-light);
}

.seamless-benefits__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--color-border);
    border-left: 1px solid var(--color-border);
}

.seamless-benefits__grid article {
    min-height: 270px;
    padding: 28px;
    border-right: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.seamless-benefits__grid article>span {
    display: inline-block;
    margin-bottom: 55px;
    font-size: 9px;
    font-weight: 800;
    color: var(--color-red);
}

.seamless-benefits__grid h3 {
    margin-bottom: 9px;
    font-size: 19px;
}

.seamless-benefits__grid p {
    margin: 0;
    font-size: 12px;
    color: var(--color-muted);
}


/* COLOURS */

.seamless-colours {
    background: var(--color-grey);
}

.seamless-colours__heading {
    max-width: 880px;
    margin-bottom: 55px;
}

.seamless-colours__heading h2 {
    margin-bottom: 22px;
    font-size: clamp(42px, 5vw, 76px);
    font-weight: 600;
    line-height: .98;
    letter-spacing: -.055em;
}

.seamless-colours__heading h2 span {
    display: block;
    color: var(--color-muted);
}

.seamless-colours__heading p {
    max-width: 690px;
    color: var(--color-muted);
}

.seamless-colours__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.colour-card {
    overflow: hidden;
    background: var(--color-light);
    border: 1px solid var(--color-border);
    border-radius: 14px;
}

.colour-card>span {
    display: block;
    height: 120px;
    background: var(--swatch);
    border-bottom: 1px solid rgba(17, 24, 39, .08);
}

.colour-card h3 {
    margin: 15px 15px 2px;
    font-size: 13px;
}

.colour-card p {
    margin: 0 15px 16px;
    font-size: 9px;
    font-weight: 750;
    color: var(--color-muted);
}

.seamless-colours__note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    margin-top: 30px;
    padding-top: 28px;
    border-top: 1px solid var(--color-border);
}

.seamless-colours__note p {
    max-width: 600px;
    margin: 0;
    font-size: 12px;
    color: var(--color-muted);
}


/* PROPERTY TYPES */

.seamless-types {
    padding: clamp(90px, 9vw, 140px) 0;
    color: var(--color-light);
    background: var(--color-dark);
}

.seamless-types__heading {
    max-width: 820px;
    margin-bottom: 55px;
}

.seamless-types__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255, 255, 255, .14);
    border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.seamless-types__grid article {
    min-height: 245px;
    padding: 28px;
    border-right: 1px solid rgba(255, 255, 255, .14);
}

.seamless-types__grid article:last-child {
    border-right: 0;
}

.seamless-types__grid article>span {
    display: inline-block;
    margin-bottom: 55px;
    font-size: 9px;
    font-weight: 800;
    color: #ffd2d4;
}

.seamless-types__grid h3 {
    margin-bottom: 9px;
    font-size: 20px;
}

.seamless-types__grid p {
    margin: 0;
    font-size: 12px;
    color: rgba(255, 255, 255, .58);
}


/* AREAS */

.seamless-areas {
    background: var(--color-light);
}

.seamless-areas__grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: clamp(65px, 9vw, 135px);
}

.seamless-areas__content>p {
    max-width: 620px;
    margin-bottom: 30px;
    color: var(--color-muted);
}

.seamless-areas__links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--color-border);
    border-left: 1px solid var(--color-border);
}

.seamless-areas__links a {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 18px;
    font-size: 13px;
    font-weight: 700;
    border-right: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    transition:
        color var(--transition),
        background var(--transition);
}

.seamless-areas__links a span {
    color: var(--color-red);
}

.seamless-areas__links a:hover {
    color: var(--color-blue);
    background: var(--color-grey);
}


/* RELATED */

.seamless-related {
    background: var(--color-grey);
}

.seamless-related__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.seamless-related__grid>a {
    position: relative;
    min-height: 380px;
    overflow: hidden;
    color: var(--color-light);
    background: var(--color-dark);
    border-radius: 18px;
}

.seamless-related__grid img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms cubic-bezier(.22, 1, .36, 1);
}

.seamless-related__grid>a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 24, 39, .05), rgba(17, 24, 39, .82));
}

.seamless-related__grid>a>div {
    position: absolute;
    z-index: 2;
    right: 20px;
    bottom: 20px;
    left: 20px;
}

.seamless-related__grid span {
    display: block;
    margin-bottom: 5px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: #ffd3d5;
}

.seamless-related__grid h3 {
    margin: 0;
    font-size: 22px;
    line-height: 1.1;
}

.seamless-related__grid>a:hover img {
    transform: scale(1.06);
}


/* RESPONSIVE */

@media (max-width: 1100px) {

    .seamless-hero__inner {
        grid-template-columns: 1fr 310px;
    }

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

    .seamless-colours__grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 900px) {

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

    .seamless-hero__inner {
        grid-template-columns: 1fr;
        padding-top: 85px;
        padding-bottom: 90px;
    }

    .seamless-hero__feature {
        display: none;
    }

    .seamless-intro__grid,
    .seamless-manufacture__grid,
    .seamless-areas__grid {
        grid-template-columns: 1fr;
    }

    .seamless-intro__visual {
        min-height: 560px;
        max-width: 720px;
    }

    .seamless-projects__grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 300px;
    }

    .seamless-project--large {
        grid-row: span 2;
    }

    .seamless-types__grid {
        grid-template-columns: 1fr;
        border-bottom: 0;
    }

    .seamless-types__grid article {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .14);
    }
}

@media (max-width: 700px) {

    .seamless-hero__inner {
        padding-top: 70px;
        padding-bottom: 75px;
    }

    .seamless-hero h1 {
        font-size: clamp(47px, 13vw, 66px);
    }

    .seamless-hero__content>p {
        font-size: 16px;
    }

    .seamless-hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

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

    .seamless-hero__call {
        text-align: center;
    }

    .seamless-intro__visual {
        min-height: 470px;
    }

    .seamless-intro__main-image {
        inset: 0 35px 45px 0;
    }

    .seamless-intro__detail {
        width: 46%;
        height: 205px;
        border-width: 6px;
    }

    .seamless-manufacture__steps,
    .seamless-benefits__grid {
        grid-template-columns: 1fr;
    }

    .seamless-manufacture__steps article,
    .seamless-benefits__grid article {
        min-height: auto;
    }

    .seamless-manufacture__steps article>span,
    .seamless-benefits__grid article>span {
        margin-bottom: 30px;
    }

    .seamless-projects__grid {
        display: flex;
        gap: 13px;
        overflow-x: auto;
        padding-bottom: 12px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .seamless-projects__grid::-webkit-scrollbar {
        display: none;
    }

    .seamless-project,
    .seamless-project--large,
    .seamless-project--wide {
        width: min(80vw, 390px);
        min-width: min(80vw, 390px);
        height: 430px;
        grid-row: auto;
        grid-column: auto;
        scroll-snap-align: start;
    }

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

    .seamless-colours__note {
        align-items: flex-start;
        flex-direction: column;
    }

    .seamless-related__grid {
        grid-template-columns: 1fr;
    }

    .seamless-related__grid>a {
        min-height: 340px;
    }
}

@media (max-width: 520px) {

    .seamless-hero h1 {
        font-size: clamp(43px, 12.5vw, 58px);
    }

    .seamless-intro__visual {
        min-height: 390px;
    }

    .seamless-intro__main-image {
        inset: 0 25px 35px 0;
        border-radius: 17px;
    }

    .seamless-intro__detail {
        height: 165px;
        border-radius: 13px;
    }

    .seamless-intro__badge {
        left: 12px;
        bottom: 12px;
        padding: 14px 16px;
    }

    .seamless-colours__grid {
        grid-template-columns: 1fr 1fr;
        gap: 9px;
    }

    .colour-card>span {
        height: 95px;
    }

    .colour-card h3 {
        font-size: 11px;
    }

    .seamless-areas__links {
        grid-template-columns: 1fr;
    }
}