:root {
    --color-primary: #95c11f;
    --color-primary-hover: #a5ca41;
    --color-primary-translucent: rgb(149 193 31 / 0.7);
    --color-secondary: #3c3c3b;
    --color-text: #3c3c3b;
    --color-background: #ffffff;
    --color-dark: #000000;
    --color-light: #ececec;
    --color-border: #dddddd;
    --color-error: #c62828;

    --font-family-base: "Encode Sans Expanded", system-ui, sans-serif;
    --font-family-heading: var(--font-family-base);
    --font-size-base: 1rem;
    --font-size-h1: min(1.345rem + 1.14vw, 2.2rem);
    --font-size-h2: 1.375rem;
    --line-height-base: 1.6;

    --container-width: 82.5rem;
    --gutter: 1rem;
    --stripe: 8px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    margin: 0;
    overflow-x: clip;
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--color-text);
    background: var(--color-background);
}

main {
    flex: 1;
}

img {
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3 {
    margin: 0 0 0.5rem;
    font-family: var(--font-family-heading);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: var(--font-size-h1);
}

h2,
h3 {
    font-size: var(--font-size-h2);
}

p {
    margin: 0 0 1rem;
}

em {
    font-style: normal;
    color: var(--color-primary);
}

a {
    color: inherit;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.section {
    padding: 4rem 0;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    min-height: 2.5rem;
    padding: 0.375rem 0.75rem;
    border: 0;
    border-radius: 0;
    font: inherit;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
    color: #ffffff;
    background: var(--color-primary);
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
}

.button::after {
    content: "»";
    display: inline-block;
    width: 1.625rem;
    text-align: center;
}

.button:hover,
.button:focus-visible {
    background: var(--color-primary-hover);
}

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    color: #ffffff;
}

.site-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-menu nav a {
    text-decoration: none;
    color: #ffffff;
}

.social-links {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.social-links a {
    display: block;
    color: currentColor;
    transition: transform 0.2s ease-in;
}

.social-links a:hover {
    transform: scale(1.1);
}

.social-links svg {
    display: block;
    width: 100%;
    height: 100%;
}

@media (max-width: 61.99rem) {
    .site-header-inner {
        position: relative;
        height: 4.25rem;
    }

    .site-header-logo {
        position: absolute;
        top: 0;
        left: 50%;
        z-index: 1;
        padding-top: 1rem;
        line-height: 0;
        transform: translateX(-50%);
    }

    .site-header-logo img {
        width: auto;
        max-width: none;
        height: 3.25rem;
    }

    .site-menu-toggle {
        position: absolute;
        top: 0.375rem;
        left: 0.375rem;
        z-index: 3;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 2.75rem;
        height: 2.75rem;
        padding: 0;
        border: 0;
        background: none;
        cursor: pointer;
    }

    .site-menu-toggle-lines,
    .site-menu-toggle-lines::before,
    .site-menu-toggle-lines::after {
        display: block;
        width: 1.5rem;
        height: 3px;
        background: var(--color-primary);
        transition: all 0.15s ease;
    }

    .site-menu-toggle-lines {
        position: relative;
    }

    .site-menu-toggle-lines::before,
    .site-menu-toggle-lines::after {
        content: "";
        position: absolute;
        left: 0;
    }

    .site-menu-toggle-lines::before {
        transform: translateY(-9px);
    }

    .site-menu-toggle-lines::after {
        transform: translateY(8px);
    }

    .site-menu-toggle:hover .site-menu-toggle-lines,
    .site-menu-toggle:hover .site-menu-toggle-lines::before,
    .site-menu-toggle:hover .site-menu-toggle-lines::after {
        background: #ffffff;
    }

    .site-header.is-open .site-menu-toggle-lines {
        background: transparent;
    }

    .site-header.is-open .site-menu-toggle-lines::before,
    .site-header.is-open .site-menu-toggle-lines::after {
        background: #ffffff;
    }

    .site-header.is-open .site-menu-toggle-lines::before {
        transform: rotate(-45deg);
    }

    .site-header.is-open .site-menu-toggle-lines::after {
        transform: rotate(45deg);
    }

    .site-menu {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 2;
        display: flex;
        flex-direction: column;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        padding: 5.75rem 3rem 0.5rem;
        overflow: auto;
        background: var(--color-primary);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.45s ease;
    }

    .site-menu::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 2;
        height: 7.5rem;
        background: linear-gradient(180deg, var(--color-primary), rgb(149 193 31 / 0.9) 75%, rgb(149 193 31 / 0));
        pointer-events: none;
    }

    .site-header.is-open .site-menu {
        opacity: 1;
        pointer-events: auto;
    }

    html:has(.site-header.is-open) {
        overflow: hidden;
    }

    .site-menu nav {
        display: flex;
        flex: 1 0 auto;
        align-items: center;
        justify-content: center;
        padding: 1.625rem 0 1rem;
        font-size: 1.25rem;
    }

    .site-menu nav ul {
        text-align: center;
    }

    .site-menu nav a {
        display: inline-block;
        padding: 0.5rem 1rem;
    }

    .site-menu nav a:hover {
        text-decoration: underline;
    }

    .site-menu .social-links {
        justify-content: center;
        gap: 0.5rem;
        padding: 3rem 0 0.875rem;
        color: var(--color-dark);
    }

    .site-menu .social-links a {
        width: 1.5625rem;
        height: 1.5625rem;
    }
}

@media (min-width: 62rem) {
    .site-header {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        overflow: clip;
        background: none;
        pointer-events: none;
    }

    .site-header-inner {
        display: flex;
        justify-content: flex-end;
        padding-top: 0;
        padding-bottom: 0;
    }

    .site-header-logo,
    .site-menu-toggle {
        display: none;
    }

    .site-menu {
        position: relative;
        display: flex;
        flex-basis: auto;
        align-items: center;
        gap: 0.5rem;
        height: 3.125rem;
        margin-right: -1rem;
        padding: 0 0 0 0.5rem;
        background: var(--color-primary-translucent);
        pointer-events: auto;
    }

    .site-menu::before,
    .site-menu::after {
        content: "";
        position: absolute;
        top: 0;
        height: 100%;
        background: var(--color-primary-translucent);
    }

    .site-menu::before {
        right: 100%;
        width: 2rem;
        clip-path: polygon(100% 0, 0 0, 100% 100%);
    }

    .site-menu::after {
        left: 100%;
        width: 100vw;
    }

    .site-menu nav ul {
        display: flex;
    }

    .site-menu nav a {
        display: block;
        padding: 0.75rem 1rem;
        font-weight: 700;
    }

    .site-menu nav a:hover {
        color: var(--color-dark);
    }

    .social-links {
        gap: 0.5rem;
        margin-left: 0.25rem;
        color: var(--color-dark);
    }

    .social-links a {
        width: 1.25rem;
        height: 1.25rem;
    }
}

.banner {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: var(--color-dark);
}

.banner-image {
    display: block;
    width: 100%;
    height: 17.5rem;
    object-fit: cover;
}

.banner-home .banner-image {
    height: 19.375rem;
}

.banner-shade,
.cta-shade {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-dark);
    opacity: 0.8;
}

.banner-content {
    position: absolute;
    top: 55%;
    left: 0;
    right: 0;
    z-index: 2;
    transform: translateY(-50%);
    text-align: center;
}

.banner-logo {
    display: none;
}

.banner-home .banner-content {
    text-align: left;
}

.banner h1 {
    margin-bottom: 0.75rem;
}

.banner:not(.banner-home) h1 em {
    display: block;
}

.banner .button {
    margin-top: 0.5rem;
}

.usps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem 1.5rem;
    margin: 0;
    padding: 0.5rem 1rem;
    list-style: none;
    font-size: 0.875rem;
    color: #ffffff;
    background: var(--color-primary);
}

@media (min-width: 36rem) {
    .usps li:not(:last-child)::after {
        content: "/";
        margin-left: 1.5rem;
    }
}

@media (min-width: 62rem) {
    .banner-image {
        height: 21.875rem;
    }

    .banner-home .banner-image {
        height: 37.5rem;
    }

    .banner-shade,
    .cta-shade {
        width: 45%;
    }

    .banner-shade::after,
    .cta-shade::after {
        content: "";
        position: absolute;
        top: 0;
        left: calc(100% - 1px);
        width: 25rem;
        height: 100%;
        background: inherit;
        clip-path: polygon(0 0, 0 100%, 55% 100%);
    }

    .banner-content {
        text-align: left;
    }

    .banner-content > * {
        max-width: 41.666%;
    }

    .banner-logo {
        display: block;
        width: 7.5rem;
        height: 5rem;
        margin-bottom: 0.5rem;
    }

    .banner-home .banner-logo {
        width: 25.625rem;
        height: auto;
        margin-bottom: 3rem;
    }
}

@media (min-width: 75rem) {
    .banner-image {
        height: auto;
        aspect-ratio: 1920 / 435;
    }

    .banner-content {
        top: 50%;
    }

    .banner-home .banner-image {
        height: auto;
        aspect-ratio: 1920 / 600;
    }

    .banner-logo {
        width: 7.5rem;
        height: 6.25rem;
    }

    .banner-home .banner-logo {
        margin-bottom: 4rem;
    }
}

@media (min-width: 87.5rem) {
    .banner-logo {
        width: 10rem;
        margin-bottom: 1.5rem;
    }
}

.experience {
    padding: 3rem 0;
}

.experience-inner {
    display: grid;
    gap: 2rem;
    align-items: center;
}

.experience-text p {
    margin-bottom: 0;
}

.experience-clients {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-weight: 700;
    text-align: center;
}

.experience-clients li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.experience-clients img {
    width: 8.75rem;
    height: 7.5rem;
    object-fit: contain;
}

@media (min-width: 62rem) {
    .experience-inner {
        grid-template-columns: 7fr 5fr;
        gap: 1.5rem;
    }

    .experience-clients {
        justify-content: flex-start;
    }
}

@media (min-width: 75rem) {
    .experience-clients {
        gap: 4rem;
    }
}

.services {
    padding: 3rem 0;
    background: var(--color-light);
}

.services-grid {
    display: grid;
    gap: 2rem;
}

.services-intro {
    align-self: center;
}

.services-intro p {
    margin-bottom: 0;
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    min-height: 23.75rem;
    padding: 2rem 1rem;
    color: #ffffff;
    text-align: center;
    background: var(--color-dark);
}

.service-card::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: var(--stripe);
    background: var(--color-primary);
    transition: width 0.4s ease-in-out;
}

.service-card:nth-child(odd)::after {
    right: auto;
    left: 0;
}

.service-card:hover::after {
    width: 100%;
}

.service-card-media {
    position: relative;
    flex-shrink: 0;
    width: 9.375rem;
    height: 9.375rem;
}

.service-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-card-media .service-card-still {
    display: none;
}

@media (hover: hover), (prefers-reduced-motion: reduce) {
    .service-card-media .service-card-still {
        display: block;
    }

    .service-card-animation {
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0;
    }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .service-card:hover .service-card-animation {
        opacity: 1;
    }
}

.service-card-body {
    width: 95%;
}

@media (min-width: 36rem) {
    .service-card-body {
        width: 85%;
        text-align: left;
    }
}

@media (min-width: 48rem) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 1.5rem;
    }

    .services-intro {
        grid-column: 1 / -1;
    }
}

@media (min-width: 62rem) {
    .services {
        padding: 4rem 0;
    }
}

@media (min-width: 75rem) {
    .services-grid {
        grid-template-columns: repeat(12, 1fr);
        row-gap: 2rem;
    }

    .services-intro {
        grid-column: span 5;
        padding-right: 4rem;
    }

    .service-card {
        grid-column: span 6;
        flex-direction: row;
        gap: 0;
        min-height: 21.875rem;
        padding: 0 1.5rem;
        text-align: left;
    }

    .service-card:nth-child(2),
    .service-card:nth-child(6) {
        grid-column: span 7;
    }

    .service-card:nth-child(5) {
        grid-column: span 5;
    }

    .service-card-media {
        width: 10.625rem;
        height: 10.625rem;
        margin-right: 1.5rem;
    }

    .service-card-body {
        width: auto;
    }
}

.cta {
    position: relative;
    overflow: hidden;
    border-bottom: var(--stripe) solid var(--color-primary);
    color: #ffffff;
    background: var(--color-dark);
}

.cta-image {
    display: block;
    width: 100%;
    height: 28.125rem;
    object-fit: cover;
    object-position: 70% 0;
}

.cta-content {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.cta-content p {
    font-size: 1.375rem;
    color: var(--color-primary);
}

.cta-page {
    margin-bottom: 4rem;
}

.cta-page h2 {
    font-size: 1.875rem;
}

@media (min-width: 62rem) {
    .cta-image {
        height: 25rem;
        object-position: center;
    }

    .cta-page h2,
    .cta-page p {
        width: 50%;
    }

    .cta-page {
        margin-bottom: 6rem;
    }
}

@media (min-width: 75rem) {
    .cta-image {
        height: auto;
        aspect-ratio: 1920 / 400;
    }
}

.text-section {
    padding: 1.5rem 0 3rem;
}

.text-section p:last-child {
    margin-bottom: 0;
}

.text-section h3 {
    margin-top: 2rem;
}

.text-section-centered h2 {
    text-align: center;
}

.cta + .text-section {
    padding: 4rem 0;
}

.service-intro {
    padding: 4rem 0 1.5rem;
    text-align: center;
}

@media (min-width: 62rem) {
    .cta + .text-section {
        padding: 7rem 0;
    }

    .service-intro {
        padding-top: 6rem;
    }
}

.before-after-block {
    padding: 3rem 0;
}

.before-after-block:nth-child(even) {
    margin: 4rem 0;
    background: var(--color-light);
}

.before-after-inner {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.before-after-images {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    padding: 1.875rem 1.875rem 0 0;
}

.before-after-image {
    position: relative;
    margin: 0;
}

.before-after-image::before {
    content: "";
    position: absolute;
    top: -1.875rem;
    right: -1.875rem;
    width: 100%;
    height: 100%;
    background: var(--color-secondary);
}

.before-after-image-after::before {
    background: var(--color-primary);
}

.before-after-image figcaption {
    position: absolute;
    top: -1.875rem;
    left: 1.875rem;
    padding: 0.25rem 0.5rem;
    font-weight: 700;
    line-height: 1.4;
    color: #ffffff;
}

.before-after-image img {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 10 / 9;
    object-fit: cover;
}

@media (min-width: 36rem) {
    .before-after-images {
        flex-direction: row;
    }

    .before-after-image {
        flex: 1;
    }
}

@media (min-width: 62rem) {
    .before-after-block:nth-child(even) {
        margin: 8rem 0 6rem;
    }

    .before-after-inner {
        flex-direction: row;
        align-items: center;
        gap: 4rem;
    }

    .before-after-block:nth-child(even) .before-after-inner {
        flex-direction: row-reverse;
    }

    .before-after-text {
        flex: 0 0 41.666%;
    }

    .before-after-images {
        flex: 1;
    }
}

@media (min-width: 87.5rem) {
    .before-after-text {
        flex-basis: 33.333%;
    }

    .before-after-images {
        gap: 6rem;
        padding-right: 3rem;
    }

    .before-after-block:nth-child(even) .before-after-inner {
        align-items: flex-start;
    }

    .before-after-block:nth-child(even) .before-after-images {
        margin-top: -5rem;
    }
}

.gallery {
    padding-bottom: 3rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.gallery-grid li {
    position: relative;
    overflow: hidden;
    background: var(--color-dark);
}

.gallery-grid li::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: var(--stripe);
    background: var(--color-primary);
    transition: width 0.3s ease-in-out;
}

.gallery-grid img {
    display: block;
    width: 100%;
    aspect-ratio: 440 / 305;
    object-fit: cover;
    opacity: 0.6;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.gallery-grid li:hover img {
    opacity: 1;
    transform: scale(1.1);
}

.gallery-grid li:hover::after {
    width: 100%;
}

@media (min-width: 62rem) {
    .gallery {
        padding-bottom: 6rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

.page-intro {
    padding-top: 5.5rem;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 0.25rem;
    padding: 0;
    list-style: none;
    color: #6c757d;
}

.breadcrumb li + li::before {
    content: "»";
    padding: 0 0.5rem;
}

.breadcrumb a {
    color: var(--color-text);
}

.page-intro h1 {
    font-size: clamp(2rem, 1.5rem + 1.5vw, 2.75rem);
}

.text-section-page {
    padding-bottom: 4rem;
}

@media (min-width: 62rem) {
    .page-intro {
        padding-top: 3.5rem;
    }

    .text-section-page {
        padding-bottom: 6rem;
    }
}

.site-footer {
    color: #ffffff;
    background: var(--color-dark);
}

.site-footer-inner {
    position: relative;
    display: grid;
    gap: 2rem;
    padding-top: 3rem;
    padding-bottom: 1.5rem;
}

.site-footer-logo {
    display: block;
    line-height: 0;
}

.site-footer-logo img {
    width: 18.75rem;
    max-width: 100%;
}

.contact-list {
    display: flex;
    flex-direction: column;
    margin: 0.5rem 0 0;
    padding: 0;
    list-style: none;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.contact-list svg {
    width: 1rem;
    height: 1rem;
    color: var(--color-primary);
}

.contact-list a,
.site-footer-bottom a {
    text-decoration: none;
}

.contact-list a:hover,
.site-footer-bottom a:hover {
    text-decoration: underline;
}

.site-footer-address,
.site-footer-member p {
    margin: 0;
}

.site-footer-member {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.site-footer-gnl {
    width: 7.5rem;
}

.site-footer-bottom {
    border-top: var(--stripe) solid var(--color-primary);
    color: var(--color-dark);
    background: var(--color-light);
}

.site-footer-bottom ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
    padding: 0.5rem 1rem;
    list-style: none;
}

.site-footer-bottom li:not(:last-child)::after {
    content: "|";
    padding: 0 0.75rem;
}

@media (min-width: 62rem) {
    .site-footer-inner {
        grid-template-columns: auto 1fr 1fr;
        align-items: end;
        gap: 4rem;
    }

    .site-footer-brand .contact-list {
        align-items: flex-end;
    }
}

@media (min-width: 87.5rem) {
    .site-footer-inner {
        grid-template-columns: auto 18rem 18rem 1fr;
    }

    .site-footer-member {
        display: contents;
    }

    .site-footer-member p {
        grid-column: 3;
        grid-row: 1;
    }

    .site-footer-gnl {
        grid-column: 4;
        grid-row: 1;
        align-self: start;
        justify-self: end;
    }
}

.section-dark {
    color: #ffffff;
    background: var(--color-dark);
}

.panel {
    max-width: 30rem;
    margin: 0 auto;
    text-align: center;
}

.panel-logo {
    width: 18rem;
    margin-bottom: 2rem;
}

.panel-note {
    margin-top: 1rem;
}

.panel-action {
    margin-top: 2rem;
}

.login-form {
    display: grid;
    gap: 0.5rem;
    margin-top: 2rem;
    text-align: left;
}

.login-form-label {
    font-weight: 700;
}

.login-form-input {
    min-height: 3rem;
    padding: 0 1rem;
    border: 1px solid var(--color-border);
    border-radius: 0;
    font: inherit;
}

.login-form-input:focus {
    border-color: var(--color-primary);
    outline: 2px solid var(--color-primary);
    outline-offset: 0;
}

.login-form-input[aria-invalid="true"] {
    border-color: var(--color-error);
}

.login-form-error {
    margin: 0;
    color: var(--color-error);
}

.login-form .button {
    justify-content: center;
    margin-top: 1rem;
}

@media (min-width: 62rem) {
    .section {
        padding-top: 7rem;
    }
}

body:has(.preview-bar) {
    padding-bottom: 4.5rem;
}

.preview-bar {
    position: fixed;
    left: 1rem;
    bottom: 1rem;
    z-index: 100;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 1rem;
    padding: 0.5rem 0.5rem 0.5rem 1.25rem;
    border-radius: 999px;
    font-size: 0.875rem;
    color: #ffffff;
    background: rgb(0 0 0 / 0.9);
}

.preview-bar-label {
    font-weight: 700;
}

.preview-bar form {
    display: contents;
}

.preview-bar-action {
    padding: 0.4rem 0.9rem;
    border: 1px solid rgb(255 255 255 / 0.35);
    border-radius: 999px;
    font: inherit;
    color: inherit;
    background: none;
    cursor: pointer;
}

.preview-bar-action:hover {
    border-color: var(--color-primary);
}

@media (max-width: 40rem) {
    .preview-bar {
        right: 1rem;
        justify-content: center;
        border-radius: 1rem;
    }
}

main:has(> .section-dark) {
    background: var(--color-dark);
}
