.decking-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.25)), url("../images/decking-brighton-hero.webp") center / cover no-repeat;
}

.decking-intro {
    padding: 3rem 0 5rem;
    text-align: center;
}

.decking-intro__heading {
    width: min(100%, 850px);
    margin: 0 auto 3rem;
}

.decking-intro__heading h2 {
    margin-bottom: 0;
}

.decking-intro__content {
    width: min(100%, 900px);
    margin-inline: auto;
}

.decking-intro__content p {
    margin-bottom: 1.25rem;
}

.decking-section {
    padding: 3rem 0 5rem;
}

.decking-section__heading {
    width: min(100%, 850px);
    margin: 0 auto 2.5rem;
    text-align: center;
}

.decking-section__heading h2 {
    margin-bottom: 0;
}

.decking-section__heading .eyebrow {
    margin-bottom: 0.6rem;
    font-size: 1.2rem;
}

.decking-split {
    width: min(100%, 950px);
    margin-inline: auto;
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

.decking-copy p {
    margin-bottom: 1.25rem;
}

.decking-copy .button {
    margin-top: 0.5rem;
}

.decking-split--reverse .decking-copy {
    order: 2;
}

.decking-split--reverse .decking-image-pair {
    order: 1;
}

.decking-image-pair {
    display: grid;
    gap: 0.75rem;
}

.decking-image-pair figure,
.decking-feature-image,
.decking-climate__image,
.space-gallery figure {
    margin: 0;
    overflow: hidden;
}

.decking-image-pair img,
.decking-feature-image img,
.decking-climate__image img,
.space-gallery img {
    width: 100%;
    object-fit: cover;
}

.decking-image-pair figure:first-child img {
    aspect-ratio: 4 / 3;
}

.decking-image-pair figure:last-child img {
    aspect-ratio: 16 / 10;
}

.decking-difference {
    padding: 3rem 0 5rem;
}

.decking-difference h2 {
    margin-bottom: 1.25rem;
}

.decking-difference .eyebrow {
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.decking-feature-image img {
    aspect-ratio: 4 / 3;
}

.tick-list {
    margin: 1rem 0 1.5rem;
    padding: 0;
    list-style: none;
}

.tick-list li {
    position: relative;
    margin-bottom: 0.75rem;
    padding-left: 2rem;
    font-size: 1.15rem;
    line-height: 1.55;
}

.tick-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--colour-cream);
    color: var(--colour-gold);
    font-size: 0.95rem;
    line-height: 1;
}

.decking-process {
    padding: 3rem 0 5rem;
}

.decking-process__heading {
    width: min(100%, 850px);
    margin: 0 auto 2.5rem;
    text-align: center;
}

.decking-process__heading .eyebrow {
    margin-bottom: 0.6rem;
    font-size: 1.2rem;
}

.decking-process__heading h2 {
    margin-bottom: 1rem;
}

.decking-process__heading a {
    color: var(--colour-gold);
}

.decking-process__heading a:hover {
    color: var(--colour-white);
}

.process-grid {
    width: min(100%, 950px);
    margin-inline: auto;
    display: grid;
    gap: 1rem;
}

.process-card {
    padding: 1.5rem;
    background: rgba(56, 52, 47, 0.92);
    color: var(--colour-white);
}

.process-number {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--colour-gold);
    font-family: var(--font-heading);
    font-size: 2.75rem;
    line-height: 1;
}

.process-card h3 {
    margin-bottom: 0.75rem;
    color: var(--colour-white);
    font-family: var(--font-heading);
    font-size: 1.8rem;
}

.process-card p {
    color: var(--colour-white);
}

.process-card .tick-list {
    margin-bottom: 1rem;
}

.decking-process__cta {
    margin-top: 2rem;
    text-align: center;
}

.decking-process__cta .button {
    margin-top: 0;
}

.decking-climate {
    padding: 3rem 0 5rem;
}

.decking-climate__grid {
    width: min(100%, 950px);
    margin-inline: auto;
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

.decking-climate h2 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.decking-climate .section-line {
    margin-bottom: 1.25rem;
}

.decking-climate__image img {
    aspect-ratio: 16 / 10;
}

.decking-space {
    padding: 3rem 0 5rem;
}

.decking-space__intro {
    width: min(100%, 850px);
    margin: 0 auto 1.5rem;
    text-align: center;
}

.decking-space__intro p {
    margin-bottom: 1.25rem;
}

.space-list {
    width: min(100%, 950px);
    margin-inline: auto;
    display: grid;
    gap: 1rem;
}

.space-list article {
    padding: 1.4rem 1rem;
    border-bottom: 1px solid rgba(56, 52, 47, 0.35);
    text-align: center;
}

.space-list article:last-child {
    border-bottom: 0;
}

.space-list span {
    display: block;
    margin-bottom: 0.65rem;
    font-size: 2.75rem;
    line-height: 1;
}

.space-list h3 {
    margin-bottom: 0;
    font-size: 1.35rem;
}

.decking-space__closing {
    width: min(100%, 850px);
    margin: 1rem auto 0;
    text-align: center;
}

.decking-space__cta {
    margin-top: 1.5rem;
    text-align: center;
}

.decking-space__cta .button {
    margin-top: 0;
}

.space-gallery {
    width: min(100%, 950px);
    margin: 3rem auto 0;
    display: grid;
    gap: 1rem;
}

.space-gallery figure:first-child img {
    aspect-ratio: 4 / 3;
}

.space-gallery figure:last-child img {
    aspect-ratio: 16 / 10;
}

.decking-value {
    padding: 3rem 0 5rem;
    text-align: center;
}

.decking-value__inner {
    width: min(100% - 2rem, 900px);
}

.decking-value__copy {
    width: min(100%, 820px);
    margin-inline: auto;
}

.decking-value__copy p {
    margin-bottom: 1.25rem;
}

@media (min-width: 768px) {

    .decking-intro,
    .decking-section,
    .decking-difference,
    .decking-process,
    .decking-climate,
    .decking-space,
    .decking-value {
        padding-top: 4rem;
    }

    .decking-intro {
        padding-bottom: 6rem;
    }

    .decking-intro__heading {
        margin-bottom: 4rem;
    }

    .decking-split {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .decking-split--reverse .decking-copy {
        order: 1;
    }

    .decking-split--reverse .decking-image-pair {
        order: 2;
    }

    .decking-image-pair {
        grid-template-columns: 1.15fr 0.85fr;
        align-items: stretch;
    }

    .decking-image-pair figure:first-child img,
    .decking-image-pair figure:last-child img {
        height: 100%;
        min-height: 275px;
    }

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

    .process-card--last {
        grid-column: 1 / -1;
        width: calc(50% - 0.5rem);
        margin-inline: auto;
    }

    .decking-climate__grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .decking-climate h2 {
        text-align: left;
    }

    .space-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
        border-top: 1px solid rgba(56, 52, 47, 0.35);
    }

    .space-list article {
        min-height: 165px;
        display: grid;
        align-content: center;
        padding: 1.5rem;
        border-bottom: 1px solid rgba(56, 52, 47, 0.35);
    }

    .space-list article:nth-child(odd) {
        border-right: 1px solid rgba(56, 52, 47, 0.35);
    }

    .space-list article:nth-child(3),
    .space-list article:nth-child(4) {
        border-bottom: 0;
    }

    .space-gallery {
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
    }

    .space-gallery figure:first-child img,
    .space-gallery figure:last-child img {
        height: 100%;
        min-height: 300px;
    }
}

@media (min-width: 1100px) {
    .decking-intro {
        padding-bottom: 7rem;
    }

    .decking-section,
    .decking-difference,
    .decking-process,
    .decking-climate,
    .decking-space,
    .decking-value {
        padding-bottom: 7rem;
    }

    .decking-split {
        gap: 4rem;
    }

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

    .process-card--last {
        grid-column: 2 / 3;
        width: auto;
        margin-inline: 0;
    }

    .decking-climate__grid {
        gap: 4rem;
    }

    .space-gallery {
        margin-top: 4rem;
    }
}