:root {
    --white: rgb(255 255 255);
    --light-gray: rgb(240 241 242);
    --gray: rgb(112 112 112);
    --dark-gray: rgb(70, 70, 70);
    --black: rgb(0 0 0);

    --cream: rgb(242, 239, 234);
    --cream-darkened: rgb(116, 114, 111);
    --orange: rgb(223, 122, 28);
}

body {
    font-size: max(22px, 1.1vw);
    font-family: 'Urbanist', sans-serif;
    line-height: 1.8;
}

header {
    box-sizing: border-box;
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8em 4vw;
    background-color: var(--white);
    z-index: 3;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0.1em 0.75em rgba(0, 0, 0, 0.13);
    opacity: 0;
    transition: opacity 0.15s;
    z-index: -1;
}

header.scrolled::before {
    opacity: 1;
}

header img {
    display: block;
    margin: 0 2.5em;
    width: 14.5rem;
}

nav {
    text-transform: uppercase;
    font-size: 0.7em;
}

nav a {
    color: var(--gray);
    letter-spacing: 0.16em;
    text-decoration: none;
    font-weight: 400;
    padding: 1em;
    transition: color 0.2s;
}

header nav a {
    font-size: max(12px, 0.95em);
}

header nav {
    display: flex;
    justify-content: space-between;
    width: 23rem;
}

nav a:hover,
nav a.active {
    color: var(--orange);
}

.header-spacing {
    height: 107px;
}

h1 {
    color: var(--dark-gray);
    font: normal 2.6em 'Cinzel', sans-serif;
    margin-bottom: 45px;
    line-height: 1;
    letter-spacing: 0.05em;
}

h2 {
    color: var(--gray);
    font: normal 1.9em 'Cinzel', sans-serif;
    margin-bottom: 0.45em;
    margin-top: 0;
    line-height: 1;
    letter-spacing: 0.07em;
}

h2.callout {
    color: rgb(0 0 0);
    font-weight: 500;
    margin: 1.2em 0;
}

h2.callout:hover {
    color: var(--orange);
}

h2.callout a {
    text-decoration: none;
    color: inherit;
}

h3 {
    color: var(--black);
    font: normal 1.7em 'Cinzel', sans-serif;
    margin-bottom: 0.5em;
    margin-top: 0;
    line-height: 1;
    letter-spacing: 0.07em;
}

h4 {
    font-weight: 700;
    font-size: 0.8em;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

h5 {
    font-size: 1em;
    margin-bottom: 0.2em;
}

p {
    color: var(--gray);
    font-weight: 500;
    margin-top: 0;
}

p.contained {
    width: min(100%, 36em);
    margin: 0 auto;
}

b {
    font-weight: 700;
}

button,
.btn,
input[type='submit'],
input[type='button'] {
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    cursor: pointer;
    border-radius: 0;
}

.btn {
    text-decoration: none;
}

section {
    box-sizing: border-box;
    width: min(1800px, 100%);
    margin: 0 auto;
    padding: 0 4vw;
}

section.no-max {
    width: 100%;
    padding: 0;
}

section.centered {
    text-align: center;
}

section a {
    color: rgb(0, 0, 0);
    text-decoration: none;
}

.container > p {
    text-align: center;
    line-height: 1.7;
    margin-top: 1.5em;
}

.basic-flex {
    display: flex;
    margin-top: 2.5em;
    margin-bottom: 3em;
}

.basic-flex img {
    max-width: 100%;
}

.basic-flex p {
    line-height: 1.8;
}

footer {
    font-size: 0.82em;
    text-align: center;
    background-color: var(--cream);
    padding: 2.8em 4vw 0.1em;
}

footer .logo {
    width: 22em;
}

footer nav {
    margin: 1.65vw 0 1.85vw;
}

footer nav a {
    margin: 0 0.5vw;
    font-size: 1.15em;
}

footer .socials {
    margin-bottom: 2vw;
}

footer .socials a {
    display: inline-block;
    padding: 0.7em;
    margin: 0 0.4vw;
    transition: opacity 0.2s;
}

footer .socials a img {
    display: block;
}

footer .socials a:hover {
    opacity: 0.8;
}

address {
    font-style: normal;
    color: var(--gray);
    letter-spacing: 0.1em;
    line-height: 1.3;
    margin-bottom: 0.5em;
}

footer .fine-print {
    font-size: 0.7em;
    letter-spacing: 0.1em;
    line-height: 1.3;
}

footer a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: var(--orange);
}

/* #region UTILITY CLASSES */

.container {
    width: min(calc(40em + 30vw), 100%);
    margin: 0 auto;
    padding: 0 4vw;
    box-sizing: border-box;
}

.container-standard {
    width: min(calc(66rem + 8vw), 100%);
    margin: 0 auto;
    padding: 0 4vw;
}

.container-standard p {
    line-height: 2;
}

.spacer {
    width: 4.8vw;
    flex-shrink: 0;
}

.growing-spacer {
    position: relative;
    flex-grow: 1;
}

.mb-md {
    margin-bottom: 1.5em;
}

.mt-md {
    margin-top: 4vh;
}

.lte-pc-sm,
.lte-md,
.gt-sm,
.lte-xs {
    display: none;
}

.center {
    text-align: center;
}

/* #endregion */

@media (max-width: 1240px) {
    .gt-lg {
       display: none;
    }

    .lte-lg {
        display: initial;
    }
}

@media (max-width: 1128px) {
    /* switch to hamburger menu */
    .lte-md {
        display: initial;
    }

    .gt-md,
    .pc-only {
        display: none;
    }

    header {
        flex-direction: column;
        justify-content: start;
        padding: 0;
    }

    header.active {
        height: 100vh;
    }

    header .logo {
        box-sizing: border-box;
        text-align: center;
        width: 100%;
        order: -1;
        padding: 1.5vw 2vw 0.5vw;
    }

    header .logo a {
        display: inline-block;
    }

    header nav {
        display: block;
        height: 0;
        width: 100%;
        overflow: hidden;
        transition: height 0.1s;
    }

    header nav.active {
        height: auto;
    }

    header nav a {
        display: block;
        padding: 1.3em 1em 1.3em 11vw;
        border-top: 1px solid rgba(0, 0, 0, 0.4);
        margin-left: 0;
    }

    header nav:last-child a:last-child {
        border-bottom: 1px solid rgba(0, 0, 0, 0.4);
    }

    .menu-icon {
        display: flex;
    }

    /*h1 {
        font-size: min(8.5vw, 2.75em);
    }*/

    h1 {
        font-size: min(7.4vw, 2.5em);
    }

    h2.callout {
        font-size: 1.7em;
    }

    p {
        font-size: 1.1em;
    }

    section {
        padding: 0 6vw;
    }

    footer {
        font-size: 0.85em;
    }

    footer .socials {
        margin-bottom: 6vw;
    }

    footer nav {
        font-size: 0.9em;
    }

    address {
        margin-bottom: 0.9em;
    }

    footer .fine-print {
        font-size: 0.75em;
        margin-bottom: 1.75em;
    }
}

@media (max-width: 910px) {
    footer nav a {
        display: block;
        padding: 0.5em 1em;
    }
}

@media (max-width: 740px), (max-height: 550px) {
    .menu-icon {
        padding-top: 0.8em;
        padding-bottom: 0.8em;
    }

    header img {
        width: 12rem;
    }
}

@media (max-width: 662px) {
    .gt-sm {
        display: initial;
    }

    .lte-sm {
        display: none;
    }

    h2.callout {
        font-size: 1.3em;
    }
}

@media (max-width: 536px) {
    h1 {
        margin-bottom: 35px;
    }

    h2 {
        font-size: 1.35em;
    }

    footer {
        font-size: 0.75em;
    }

    footer .logo {
        width: min(100%, 18em);
        box-sizing: border-box;
    }

    footer .fine-print {
        font-size: 0.7em;
    }
}

@media (max-width: 500px) {
    p {
        font-size: calc(1vw + 0.8em);
    }
}

@media (max-width: 476px) {
    /*.gt-xs {
        display: none;
    }

    .lte-xs {
        display: initial;
    }*/

    footer .logo {
        padding: 0 6vw;
    }
}

@media (max-width: 400px) {
    header .logo {
        text-align: left;
        padding-top: 2.5vw;
    }

    header img {
        margin-left: 0;
    }
}
