:root {
    --darkgreen: #11453B;
    --lightgreen: #48FFD4;
    --midgreen: #39B187;
    --softgreen: #88A29D;
    --backgreen: #f3f5f5;
}

html {
    scroll-behavior: smooth;
    overscroll-behavior: none;
}
body {
    font-size: clamp(16px, 1vw, 19px);
    line-height: 1.4em;
    margin: 0 0 0 0;
    padding: 0 0 0 0;
    scroll-behavior: smooth;
    overscroll-behavior: none;
    font-family: 'ABCNormal-Normal', Helvetica, Arial, sans-serif;
}
img {
    display: block;
    max-width: 100%;
}

#backtotop {
    position: fixed;
    bottom: 2.5em;
    right: 2.5em;
    z-index: 1000;
    background: #333;
    color: white;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
}
#backtotop img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero {
    padding: 0;
    height: 100vh;
    width: 100%;
    position: relative;
}
.video {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -1;
    left: 0;
    top: 0;
}
video {
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
    object-position: center center;
    top: 0;
    left: 0;
}
.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    top: 0;
    left: 0;
}
.hero .wrapper {
    height: 100%;
}
.hero-inner {
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    align-content: space-between;
}
.hero-inner > div {
    flex-basis: 100%;
}
.hero-header {
    padding: 2.5em 0 0 0;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
}
.hero-scroller {
    padding: 0 0 5em 0;
    display: flex;
    min-height: 110px;
    align-items: end;
}
#scroller {
    width: 69px;
    height: 34px;
    cursor: pointer;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}
#scroller.hidden {
    opacity: 0;
}

/* logo */
.logo {
    max-width: 115px;
    width: 50%;
    height: auto;
}


/* nav */
.nav {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-wrap: nowrap;
    column-gap: 3em;
    font-size: 0.85em;
}
.nav a {
    color: white;
    text-decoration: none;
    position: relative;
    padding-bottom: 0.15em;
}
.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: white;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.250s ease-in-out;
}
.nav a:hover::after {
    transform: scaleX(1);
}



main {

}
.wrapper {
    max-width: 1544px;
    width: 90%;
    margin: 0 auto 0 auto;
}
section {
    padding: 5em 0 5em 0;
    position: relative;
}

/* intro */
.intro {
    background-color: white;
}
.intro-inner {
    display: flex;
    flex-wrap: wrap;
}
.intro-content {
    flex: 6.5;
}
.intro-spacer {
    flex: 1.5;
}
.intro-video {
    position: relative;
    flex: 4;
    border-radius: 10px;
    overflow: hidden;
}
.intro h3.green {
    margin-top: 2.5em;
    margin-bottom: 0;
}

/* services */
.services {
    background-color: var(--backgreen);
}
.services-inner {
    display: flex;
    flex-wrap: wrap;
}
.services-content {
    flex: 6.5;
}
.services-spacer {
    flex: 5.5;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 2.5em;
    row-gap: 2.5em;
    margin: 2.5em auto 2.5em auto;
}
.service {
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--darkgreen);
    color: white;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-between;
}
.service h5 {
    color: var(--lightgreen);
}
.service p {
    font-size: 0.9em;
    line-height: 1.333em;
}
.service-inner {
    width: calc(100% - (1.5em*2));
    padding: 1.5em 1.5em 1em 1.5em;
}
.service-image {
    background-color: var(--softgreen);
    width: 100%;
    aspect-ratio: 447 / 298;
}
.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}
.service-number {
    color: var(--lightgreen);
    font-size: 12px;
    border: 1px solid var(--lightgreen);
    border-radius: 38px;
    width: 38px;
    height: 38px;
    display: block;
    text-align: center;
    line-height: 38px;
    margin-bottom: 2em;
}



/* associates */
.associates {
    background-color: var(--midgreen);
    color: white;
}
.associates .wrapper {
    max-width: 1164px;
}
.associates-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}
.associates h2 {
    color: var(--lightgreen);
    margin-bottom: 0.25em;
    font-family: 'ABCNormal-Regular';
    font-weight: normal;
    letter-spacing: -0.01em;
    line-height: 1.15em;
}
.associates h2 span {
    display: inline-block;
    border-radius: 10px;
    overflow: hidden;
    max-height: 0.95em;
    aspect-ratio: 143/96;
    vertical-align: sub;
    position: relative;
}
.associates h2 img,
.associates h2 video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    position: relative;
}
.associates h3 {
    margin-top: 2.5em;
    margin-bottom: 0;
}
.associates p {
    max-width: 615px;
}


/* clients */
.clients {
    background-color: white;
}
.clients-inner {
    display: flex;
    flex-wrap: wrap;
}
.clients-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    margin: 2.5em auto 2.5em auto;
    gap: 1px; 
    background-color: #00000025; 
}
.client {
    padding: 2.5rem;
    background-color: white;
    background-clip: padding-box;
    display: flex;
    align-items: center;
    justify-content: center;
}
.client img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    max-height: 70px;
    max-width: 140px;
}

/* about */
.about {
    background-color: var(--midgreen);
    color: white;
}
.about-inner {
    display: flex;
    flex-wrap: wrap;
}
.about-content {
    flex: 5;
}
.about-spacer {
    flex: 1;
}
.about-image {
    flex: 5;
    border-radius: 10px;
    overflow: hidden;
}
.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* contact */
.contact {
    background-color: var(--backgreen);
}
.contact-inner {
    display: flex;
    flex-wrap: wrap;
}
.contact-content {
    flex: 5;
}
.contact-spacer {
    flex: 2;
}
.contact-map {
    flex: 5;
    border-radius: 10px;
    overflow: hidden;
}
.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}
.contact-boxes {
    display: flex;
    flex-wrap: wrap;
    column-gap: 3em;
    margin-top: 2em;
}


/* footer */
footer {
    width: 100%;
    padding: 5em 0 5em 0;
    background-color: var(--darkgreen);
    color: white;
    font-size: 0.8em;
    line-height: 1.4em;
}
footer p {
    margin-bottom: 0;
}
footer ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

footer ul,
footer p.contacting {
    font-size: 1.3em;
    line-height: 1.3em;
}
footer p.contacting small {
    font-size: 0.9em;
    line-height: 1.3em;
}
footer strong {
    font-weight: normal;
    color: var(--lightgreen);
}
footer a {
    text-decoration: none;
}
footer .footer-copyright a,
footer small a {
    text-decoration: underline;
    color: var(--softgreen);
}
.footer-inner {
    display: flex;
    flex-wrap: wrap;
}
.footer-logo {
    flex: 1;
}
.footer-logo img {
    max-width: 115px;
    width: 100%;
    height: auto;
}
.footer-spacer {
    flex: 1;
}
.footer-links {
    flex: 2;
}
.footer-links a {
    color: var(--softgreen);
    transition: color 0.250s ease-in-out;
    border-bottom: 0.5px solid var(--softgreen);
    display: block;
    padding: 0.333em 0 0.333em 0;
}
.footer-links a:hover {
    color: white;
}
.footer-address {
    flex: 2;
}
.footer-contact {
    flex: 2;
}
.footer-copyright {
    padding: 5em 0 40px 0;
    text-align: right;
    color: var(--softgreen);
}


/* hr */
hr {
    border: none;
    height: 0.5px;
    padding: 0;
    margin: 0.75em auto 0.75em auto;
    background-color: var(--softgreen);
}


/* typography */
@font-face {
    font-family: 'ABCNormal-Neutral';
	src:url('fonts/abcnormal-neutral.eot') format('embedded-opentype'),
		url('fonts/abcnormal-neutral.woff') format('woff'),
		url('fonts/abcnormal-neutral.ttf') format('truetype'),
		url('fonts/abcnormal-neutral.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: fallback;
}
@font-face {
    font-family: 'ABCNormal-Regular';
	src:url('fonts/abcnormal-regular.eot') format('embedded-opentype'),
		url('fonts/abcnormal-regular.woff') format('woff'),
		url('fonts/abcnormal-regular.ttf') format('truetype'),
		url('fonts/abcnormal-regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: fallback;
}
@font-face {
    font-family: 'ABCNormal-Normal';
	src:url('fonts/abcnormal-normal.eot') format('embedded-opentype'),
		url('fonts/abcnormal-normal.woff') format('woff'),
		url('fonts/abcnormal-normal.ttf') format('truetype'),
		url('fonts/abcnormal-normal.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: fallback;
}




h1 {
    margin: 0 auto 0 auto;
    color: white;
    font-size: clamp(57.5px, 6vw, 115px);
    line-height: 0.95em;
    font-family: 'ABCNormal-Neutral';
    font-weight: normal;
}
h2 {
    margin: 0 auto 0.25em auto;
    font-size: clamp(44px, 5.5vw, 104px);
    line-height: 1.05em;
    font-family: 'ABCNormal-Neutral';
    font-weight: normal;
}
h2.green {
    color: var(--midgreen);
}
h3 {
    margin: 0 auto 1em auto;
    font-size: clamp(21.75px, 2.5vw, 43.5px);
    line-height: 1.15em;
    font-family: 'ABCNormal-Normal';
    font-weight: normal;
}
h3.green,
h3.green a {
    color: var(--midgreen);
    text-decoration: none;
}
h3.white,
h3.white a {
    color: white;
    text-decoration: none;
}
h4 {
    margin: 0 auto 2.5em auto;
    background-color: var(--darkgreen);
    color: var(--lightgreen);
    display: inline-block;
    padding: 1em 1.5em;
    font-size: 10px;
    line-height: 1em;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-family: 'ABCNormal-Regular';
    font-weight: normal;
}
h5 {
    margin: 0 auto 0.5em auto;
    font-family: 'ABCNormal-Normal';
    font-weight: normal;
    line-height: 1.0em;
    font-size: clamp(29px, 2vw, 37px);
}
h6 {

}
p {
    margin: 0 auto 1em auto;
}
a {
    color: inherit;
}

a.rollover {
    position: relative;
    border-bottom: 3px solid;
    display: inline-block;
    overflow: hidden;
}
h3.green a.rollover {
    color: transparent;
    border-bottom: 3px solid var(--midgreen);
}
h3.white a.rollover {
    color: transparent;
    border-bottom: 3px solid white;
}
a.rollover::after {
    position: absolute;
    content: attr(data-label);
    top: 100%;
    left: 0;
    transition: top 0.250s ease-in-out;
}
a.rollover::before {
    position: absolute;
    content: attr(data-label);
    top: 0;
    left: 0;
    transition: top 0.250s ease-in-out;
}
h3.green a.rollover::after,
h3.green a.rollover::before {
    color: var(--midgreen);
}
h3.white a.rollover::after,
h3.white a.rollover::before {
    color: white;
}
a.rollover:hover::after {
    top: 0;
}
a.rollover:hover::before {
    top: -100%;
}


@media only screen and (max-width:1600px) {


}
@media only screen and (max-width:1024px) {

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .clients-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .footer-spacer {
        display: none;
    }
    .footer-inner {
        column-gap: 2em;
    }

}
@media only screen and (max-width:810px) {

    .hero {
        height: 100svh;
    }
    .hero-scroller {
        padding: 0 0 2em 0;
        height: 40px;
    }
    .video video {
        object-position: 70% center;
    }

    .nav {
        display: none;
    }

    .intro-inner {
        display: block;
    }
    .intro h3.green {
        margin-top: 2em;
    }
    .intro-video {
        margin-top: 2em;
        aspect-ratio: 4 / 3;
    }
    .intro-video video {
        object-position: center 60%;
    }

    .services-inner {
        display: block;
    }
    .services-grid {
        grid-template-columns: repeat(1, 1fr);
        column-gap: 1.5em;
        row-gap: 1.5em;
        margin-bottom: 0;
    }

    .about-image {
        aspect-ratio: 4 / 3;
        margin-bottom: 2em;
    }
    .about-inner {
        display: block;
    }

    .contact-map {
        aspect-ratio: 4 / 3;
        margin-top: 2em;
    }
    .contact-inner {
        display: block;
    }

    .clients-grid {
        margin-top: 2em;
        margin-bottom: 2em;
        grid-template-columns: repeat(2, 1fr);
    }
    .client {
        padding: 2em;
    }
    .client img {
        max-width: 100px;
    }

    #backtotop {
        bottom: 2rem;
        right: 2em;
    }

    .footer-inner {
        display: block;
    }
    .footer-copyright {
        text-align: left;
    }
    .footer-inner > div {
        margin-bottom: 2em;
    }

    a.rollover,
    h3.green a.rollover,
    h3.white a.rollover {
        border-bottom-width: 1.5px;
    }


}