@font-face {
    font-family: 'Fieldwork Geo';
    src: url('../fonts/Fieldwork-GeoDemibold.woff2') format('woff2'),
    url('../fonts/Fieldwork-GeoDemibold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Fieldwork Geo';
    src: url('../fonts/Fieldwork-GeoBlack.woff2') format('woff2'),
    url('../fonts/Fieldwork-GeoBlack.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Fieldwork Geo';
    src: url('../fonts/Fieldwork-GeoBold.woff2') format('woff2'),
    url('../fonts/Fieldwork-GeoBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Fieldwork Geo';
    src: url('../fonts/Fieldwork-GeoLight.woff2') format('woff2'),
    url('../fonts/Fieldwork-GeoLight.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Fieldwork Geo';
    src: url('../fonts/Fieldwork-GeoRegular.woff2') format('woff2'),
    url('../fonts/Fieldwork-GeoRegular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Fieldwork Geo';
    src: url('../fonts/Fieldwork-GeoThin.woff2') format('woff2'),
    url('../fonts/Fieldwork-GeoThin.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
* {
    box-sizing: border-box;
}

html {
    color: #FFF;
    font-size: 1em;
    line-height: 1.4;
    font-family: Fieldwork Geo;
    /*background-color: #363873;*/
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
    /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    white-space: inherit;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
    content: " ";
    display: table;
}

.clearfix::after {
    clear: both;
}


html,
body {
    background-color: #131516;
}

a {
    color: #FFF;
}

h1 {
    display: none;
}

body {
    min-height: 100vh;
}

.wrapper {
    padding-left: 62px;
    padding-right: 62px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 1500px;
    margin: auto;
}


@media screen and (max-width: 1200px) {
    html {
        height: -webkit-fill-available;
    }

    body,
    .wrapper {
        min-height: 100vh;
        /* mobile viewport bug fix */
        min-height: -webkit-fill-available;
    }
}

.header {
    flex: 0;
    width: 100%;
    padding: 25px 0;
    margin: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.header .logo img {
    display: block;
    width: 100%;
    max-width: 230px;
    height: auto;
}
.menu-container {
    display: flex;
    align-items: flex-end;
}
.menu-container a {
    text-decoration: none;
    font-weight: 300;
    display: flex;
    align-items: flex-end;
    margin: 0 15px;
    transition: color 0.3s;
}
.menu-container a svg {
    display: block;
}
.menu-container a:first-child {
    margin-left: 0;
}
.menu-container a:last-child {
    margin-right: 0;
}
.menu-container a svg * {
    transition: fill 0.3s;
}
.menu-container a span {
    line-height: 1em;
    margin-left: 10px;
}
.menu-container a:hover {
    color: #E0DCC8;
}
.menu-container a:hover svg * {
    fill: #E0DCC8;
}

.content {
    flex: 1;
    display: flex;
    align-items: center;
    width: 100%;
}
.content-inner {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
.content .feature,
.content .right {
    width: 100%;
}
.content .feature {
    margin: 0;
    font-weight: bold;
    font-size: 96px;
    line-height: 106px;
    position: relative;
    display: block;
}
.content .feature .bar {
    display: block;
    width: 100vw;
    height: 125px;
    position: absolute;
    background-color: #AA8A4A;
    bottom: -125px;
    transform: translateX(-100%);
}
.content .feature .sq {
    position: relative;
    z-index: 2;
}
.content .feature .sq:before {
    content: ' ';
    position: absolute;
    background-color: #AA8A4A;
    width: 125px;
    height: 125px;
    left: 0;
    z-index: -1;
}

.content .content-copy {
    font-size: 24px;
    max-width: 500px;
}
.content .content-copy p {
    margin-bottom: 40px;
}
.content .content-copy p.semibold {
    font-weight: 600;
}
.form-input {
    margin-bottom: 15px;
    font-weight: 300;
}
.form-input input {
    border: 1px solid transparent;
    border-radius: 3px;
    min-width: 0;
    width: 100%;
    padding: 10px;
    color: #000;
}
.form-input input.error {
    background-color: #f6ced2;
}
.form-input input:focus,
.form-input input:focus-visible {
    outline: none;
}
.form-submit {
    display: flex;
    justify-content: flex-end;
}
.form-input .submit {
    margin-top: 20px;
    color: #FFF;
    padding: 0;
    cursor: pointer;
    background-color: transparent;
    border: none;
    border-bottom: 2px solid #FFF;
    transition: color 0.3s, border-color 0.3s;
    -webkit-appearance: none;
    font-size: 22px;
    text-transform: uppercase;
}
.form-input .submit:hover {
    color: #E0DCC8;
    border-color: #E0DCC8;
}

.footer {
    flex: 0;
    width: 100%;
    margin: auto;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px 0;
}
.footer .menu-container a {
    font-size: 18px;
    line-height: 1em;
}

.modal-container {
    position: fixed;
    z-index: 1000;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
}
.modal-window {
    max-width: 595px;
    background-color: #FFF;
    padding: 80px;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    margin: auto;
    transform: translateY(-50%);
    text-align: center;
    border-radius: 3px;
}

.modal-window #modal-close {
    position: absolute;
    right: 0;
    top: 0;
    color: #131516;
    text-decoration: none;
    font-size: 20px;
    line-height: 20px;
    padding: 8px;
    transition: color 0.3s;
}
.modal-window #modal-close:hover {
    color: #E0DCC8;
}
.modal-window .title {
    color: #AA8A4A;
    margin: 0;
    font-weight: bold;
    font-size: 48px;
    line-height: 68px;
}
.modal-window .subtitle {
    color: #131516;
    font-size: 20px;
    line-height: 34px;
}


@media screen and (max-width: 1200px) {
    .content .feature .sq:before {
        width: 90px;
        height: 90px;
    }
    .content .feature {
        font-size: 68px;
        line-height: calc(68px * (106 / 96));
    }
    .content .feature .bar {
        height: 90px;
        bottom: -90px;
    }
    .content .content-copy {
        font-size: 20px;
    }
}
@media screen and (max-width: 960px) {
    .header .logo img {
        max-width: 150px;
    }
    .content-inner {
        display: block;
    }
    .content-inner .feature {
        font-size: 48px;
        line-height: 58px;
        margin-top: 40px;
        margin-bottom: 40px;
    }
    .content-inner .feature br {
        display: none;
    }
    .content-inner .feature .sq:before,
    .content-inner .feature .bar {
         display: none;
    }
    .content {
        align-items: flex-start;
        text-align: center;
    }
    .content .content-copy {
        max-width: 100%;
    }
    .form-submit {
        justify-content: center;
    }
}
@media screen and (max-width: 768px) {
    .wrapper {
        padding-left: 20px;
        padding-right: 20px;
    }
    .header .menu-container {
        display: none;
    }
    .content {
        padding-bottom: 100px;
    }
    .content-inner .feature {
        font-size: 42px;
        line-height: 48px;
        margin-top: 20px;
        margin-bottom: 35px;
    }
    .content .content-copy p {
        margin-bottom: 30px;
    }
    .form-input .submit {
        margin-top: 10px;
    }
    .footer {
        background-color: #131516;
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
        width: 100%;
        z-index: 2;
    }
    .modal-window {
        padding: 60px 20px;
        left: 20px;
        right: 20px;
    }
    .modal-window .title {
        line-height: 58px;
    }
}
