* {
    box-sizing: border-box;
    font-family: "Lexend", sans-serif;
}
html {
    scroll-behavior: smooth;
}
html, body {
    margin: 0;
    padding: 0;
}
#modal {
    background: #000000f2;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    z-index: 100;
    text-align: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 700ms, visibility 600ms;
}
#modal.active {
    visibility: visible;
    opacity: 1;
}
#modal span {
    display: block;
    font-size: 12px;
    font-style: italic;
    line-height: 8vh;
    color: #acacac;
}
#modalBody {
    height: 88vh;
    max-width: 88vw;
    margin: 0 auto;
    padding: 32px;
    border-radius: 6px;
}
#modalBody:not(.oneCol) {
    overflow-y: scroll;
}
#scrollImgCont {
    height: 100%;
    background-color: white;
    display: inline-block;
}
#scrollImgCont.oneCol {
    max-width: 960px;
}
#scrollImgCont.scroll {
    position: relative;
    overflow-y: scroll;
    min-height: 320px;
}
#scrollImgCont:not(.scroll) #scrollImg {
    max-height: calc(90vh - 32px);
    max-width: 100%;
}
#scrollImgCont.scroll #scrollImg {
    display: block;
    width: 100%;
}
p {
    font-family: "Lexend", sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    margin-top: 0;
    margin-bottom: 24px;
}
p.caption {
    font-size: 14px;
}
h1, .heroHeading {
    font-family: "Philosopher", serif;
    font-size: 46px;
    margin-top: 0;
    margin-bottom: 6px;
}
h2 {
    font-size: 24px;
    line-height: 34px;
    margin: 32px 0;
    font-weight: normal;
}
h3 {
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 8px;
    font-weight: 500;
}
.heroHeading {
    font-size: 38px;
    font-weight: 600;
    line-height: 48px;
}
header, footer {
    width: 100%;
    padding: 8px 0;
    background: #0D1B13;
    color: #E6E9D3;
    font-weight: 300;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    align-items: baseline;
}
footer {
    padding: 64px 0;
}
footer a {
    color: #bec473;
}
footer a:hover {
    color: #d4efae;
}
header a {
    color: #E6E9D3;
    text-decoration: none;
    font-weight: 300;
    grid-column: 1 / 5;
    margin-left: 16px;
}
header span {
    font-family: "Philosopher", serif;
    font-size: 24px;
}
header nav {
    grid-column: 5 / 13;
    justify-self: end;
    margin-right: 16px;
}
nav a {
    margin: 0 6px;
}
nav a:last-of-type {
    margin-right: 0;
}
nav a.current {
    font-weight: 500;
}
footer .footerContent {
    grid-column: 1 / span 8;
    margin-left: 16px;
}
#hero.grid {
    padding: 0;
}
.grid {
    margin: 64px auto;
    padding: 64px 0;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
}
.gridImgColL, .gridImgColR {
    grid-column: 4 / span 6;
    margin: 0 auto 32px auto;
}
.gridImgColL img, .gridImgColR img {
    width: 100%;
}
.gridTextColL, .gridTextColR {
    grid-column: 1 / span 13;
    margin: 0 16px;
}
#hero { 
    margin: 0 auto;
    grid-template-rows: min-content; 
}
#heroIntro {
    margin: 64px 16px;
    z-index: 2;
    grid-column: 1 / span 6;
    grid-row: 1;
}
#heroImage {
    min-height: 0;
    height: 100%;
}
#heroImage img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
#heroImage, #heroGradient {
    grid-column: 6 / 13;
    grid-row: 1;
    width: 100%;
    height: 100%;
}

@media (max-width: 766px) {
    #hero {
        grid-template-rows: 300px auto;
    }
    #heroIntro {
        grid-column: 1 / 13;
        grid-row: 2;
        margin: 40px 16px 48px;
    }
    #heroImage {
        grid-column: 1 / 13;
        grid-row: 1;
        height: 300px;
        overflow: hidden;
    }
    #heroImage img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    #heroGradient {
        display: none;
    }
}

@media (min-width: 479px) {
}
@media (min-width: 767px) {
    #modalBody {
        overflow-y: hidden;
    }
    .gridImgColL, .gridTextColL {
        grid-column: 1 / span 6;
    }
    .gridImgColR, .gridTextColR {
        grid-column: 7 / span 6;
    }
    .gridImgColL, .gridImgColR {
        margin: 0 16px;
    }
}
@media (min-width: 959px) {
    header a {
        grid-column: 2 / 5;
        margin-left: 0;
    }
    header nav {
        grid-column: 5 / 12;
        margin-right: 0;
    }
    footer .footerContent {
        grid-column: 2 / span 8;
        margin-left: 0;
    }
    #heroIntro {
        grid-column: 2 / span 5;
        margin: 64px 0;
    }
    #heroImage, #heroGradient {
        grid-column: 6 / 13;
    }
    .gridImgColL, .gridTextColL {
        grid-column: 2 / span 5;
        margin: 0;
    }
    .gridImgColR, .gridTextColR {
        grid-column: 7 / span 5;
        margin: 0;
    }
}
@media (min-width: 1279px) {
    header a {
        grid-column: 3 / 5;
    }
    header nav {
        grid-column: 5 / 11;
    }
    footer .footerContent {
        grid-column: 3 / span 8;
    }
    #heroIntro {
        grid-column: 3 / span 4;
    }
    .gridImgColL, .gridTextColL {
        grid-column: 3 / span 4;
    }
    .gridImgColR, .gridTextColR {
        grid-column: 7 / span 4;
        margin: 0;
    }
}