:root {
    --marble: #fff;
    --pumice: #dadada;
    --basalt: #505050;
    --scoria: #000;
    --sandstone: #bba792;
}


/*
 * Web Fonts from colophon-foundry.org
 *
 * The fonts included in this stylesheet are subject to the End User License you purchased
 * from Colophon Foundry. The fonts are protected under domestic and international trademark and
 * copyright law. You are prohibited from modifying, reverse engineering, duplicating, or
 * distributing this font software.
 *
 * (c) 2019 Colophon Foundry
 *
 * Licenced to Ivan Salic Stone Living LTD
 */

@font-face {
    font-family: 'fortescue-text-regular';
    src: url('../fonts/fortescue-text-regular.eot');
    src: url('../fonts/fortescue-text-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/fortescue-text-regular.woff2') format('woff2'), url('../fonts/fortescue-text-regular.woff') format('woff'), url('../fonts/fortescue-text-regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'UntitledSans-Regular';
    src: url('../fonts/UntitledSansWeb-Regular.eot');
    src: url('../fonts/UntitledSansWeb-Regular.eot?#iefix') format('embedded-opentype'), url('../fonts/UntitledSansWeb-Regular.woff2') format('woff2'), url('../fonts/UntitledSansWeb-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

.visuallyhidden {
    position: fixed;
    margin-top: -10000;
    margin-left: -1000000;
    opacity: 0;
}

*,
*:after,
*:before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    font-family: 'UntitledSans-Regular', Helvetica, Arial, sans-serif;
    font-size: .69vw;
    line-height: 1.2;
    background: var(--basalt);
    color: var(--basalt);
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 0px;
    /* Remove scrollbar space */
    background: transparent;
    /* Optional: just make scrollbar invisible */
}

body {
    overflow-x: hidden;
    background-color: transparent;
    transition: background-color 0.5s linear;
}

body.pace-done {
    background-color: var(--pumice);
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span,
input,
textarea {
    font-size: 1.6rem;
    font-weight: normal;
    font-style: normal;
}

main p {
    margin-bottom: 1em;
}

.logo-container {
    font-family: 'fortescue-text-regular', serif;
}

span.logo {
    font-size: 3.2rem;
}

.logo {
    letter-spacing: 0.2em;
}

h1,
h2,
h3,
h4,
h1 *,
h2 *,
h3 *,
h4 * {
    font-family: 'fortescue-text-regular', serif;
    font-size: 5.2rem;
}

.font_body {
    font-family: 'UntitledSans-Regular', Helvetica, Arial, sans-serif !important;
    font-size: 1.6rem !important;
    line-height: 1.2 !important;
}

nav {
    display: flex;
    flex-direction: row;
    align-items: center;
}

nav a {
    width: calc(((100vw - 3.6rem) - (1.6rem * 11)) / 12);
    margin-right: 1.6rem;
    display: block;
    height: 1em;
}

li {
    list-style: none;
}

a {
    color: currentColor;
    text-decoration: none;
    transition: opacity 0.5s ease-out;
}

a:hover {
    opacity: 0.5;
}

a:hover * {
    color: var(--scoria);
}

strong,
b {
    font-weight: 500;
}

img {
    width: 100%;
}

main {
    /* opacity: 0;
    transition: opacity 0.5s linear;
    display: none; */
}

.header {
    position: fixed;
    padding: 3.2rem 3.2rem;
    width: 100vw;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: transparent;
    transition: background-color 0.5s linear;
}

.pace-done .header {
    background-color: var(--pumice);
}

.video-container {
    height: calc(100vh - 90px);
    position: relative;
    width: 100vw;
    background: var(--basalt);
    color: var(--marble);
    overflow: hidden;
}

.video-container h4 {
    position: absolute;
    width: 63.263889vw;
    bottom: 150px;
    left: 3.2rem;
    font-size: 3.472222vw !important;
}

.video-container video {
    width: auto;
    min-width: 100%;
    height: auto;
    min-height: 100%;
    opacity: 0;
    transition: opacity 1s;
    mix-blend-mode: overlay;
    position: absolute;
}

.pace-done .video-container video {
    opacity: 1;
}

.pace-done main {
    opacity: 1;
    display: grid;
}

p.service-category {
    margin-bottom: 0;
}

p.list {
    margin-left: 1.6rem;
}

.label-container {
    grid-row-end: span 4;
}

.label {
    position: sticky;
    top: 7em;
    padding-top: 3.4rem;
    bottom: 7em;
}

.mobile {
    display: none;
}

.container {
    padding: 3.2rem;
    width: 100vw;
}

.footer {
    position: fixed;
    padding: 0 3.2rem;
    width: 100vw;
    bottom: 0;
    left: 0;
    z-index: 100;
    height: 90px;
    align-items: center;
}

.footer .contact h4 {
    font-size: 2.083333vw !important;
    transition: all 0.3s ease-in-out;
}

@media only screen and (min-width: 0px) and (max-width: 900px) {
    .contact {
        text-align: right;
    }
    .footer .contact h4 {
        font-size: 3.2rem !important;
    }
    .copyright p {
        font-size: 2rem !important;
    }
}

.ctl svg {
    transition: transform 0.25s linear;
}

.ctl svg:hover {
    transform: translate3d(100%, -100%, 0) scaleX(3) scaleY(3);
}

.mobile-only {
    display: none;
}

form {
    background: var(--marble);
    padding: 2em;
}

@media (max-width: 900px) {
    form {
        background: transparent;
        padding: 0;
    }
}

form * {
    color: var(--basalt);
}

input,
textarea {
    -webkit-appearance: none;
    background: transparent;
    border: 0;
    border-radius: 0;
    font-family: 'UntitledSans-Regular', Helvetica, Arial, sans-serif;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid var(--basalt);
    margin-bottom: 0.5em;
    padding-bottom: 0.5em;
}

input::placeholder,
textarea::placeholder {
    color: var(--basalt);
}

input[type="submit"] {
    border-bottom: 0;
    height: 1.2em;
}

.unsupported {
    display: none;
}

@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) {
    .unsupported {
        position: fixed;
        z-index: 10000;
        background: white;
        left: 0;
        width: 100vw;
        top: 0;
        height: 100vh;
        display: block;
    }
}

@media (max-width: 1201px) {
    html {
        font-size: 0.77vw;
    }
}

@media (max-width: 900px) {
    html {
        font-size: 1vw;
    }
    span.logo {
        font-size: 4.8rem;
    }
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    p,
    a,
    span,
    input,
    textarea {
        font-size: 3.2rem;
    }
    h1,
    h2,
    h3,
    h4,
    h1 *,
    h2 *,
    h3 *,
    h4 * {
        font-size: 8.4rem;
    }
    .desktop-only {
        display: none !important;
    }
    .mobile-only {
        display: block;
    }
    nav {
        justify-content: space-between;
    }
    nav a {
        width: auto;
        margin-right: 0;
    }
    .label {
        padding-top: 3.8rem;
    }
    .service-block li:hover .image-container {
        opacity: 0!important;
    }
}