@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Young+Serif&display=swap');

:root {
    font-size: 18px;
    --page-padding: 1.5rem 2rem;
    --color-bg: #F8F8F8;

    --color: #211c19;
    --color-hover: #496F5D;
    --background: #F8F8F8;

    --color-alt: #496F5D;
    --color-bg-alt: #D2DBD7;
    --font-alt: scotch-display, serif;
}

body, section {
    margin: 0;
    color: var(--color);
    background-color: var(--background);
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif;
    width: 100%;
    overflow-x: hidden;
}

.content {
    position: relative;
}

.content--centered {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.content__title {
    line-height: 0.9;
    font-family: scotch-display, serif;
    font-weight: 400;
    font-style: normal;
    color: var(--color-alt);
}

.content__title--right {
    text-align: right;
}

.text-light {
    color: var(--color-bg) !important;
}

.content__title-pre {
    display: block;
    font-size: clamp(2rem,10vw,7rem);
    font-weight: 400;
    font-style: normal;
}

.content__title-pre--offset {
    margin-left: 12vw;
}

.content__title em {
    font-weight: bold;
}

.content__title-main {
    font-size: 11vw;
    margin: 0;
}

.content__scroll {
    position: absolute;
    bottom: 0;
    padding-bottom: 6rem;
    margin-top: 10vh;
}

.content__scroll::before,
.content__scroll::after {
    position: absolute;
    content: '';
    width: 1px;
    height: 3rem;
    background: currentColor;
    left: 50%;
    top: 3rem;
}

.content__scroll::after {
    background: var(--color-bg);
    height: 0.25rem;
    top: 5rem;
}

.content__bg {
    width: 100%;
    height: 100vh;
    position: relative;
    display: grid;
    place-items: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.content__bg--bottom {
    background-position: 50% 100%;
}

.separator {
    display: block;
    position: absolute;
    z-index: 1000;
    pointer-events: none;
    width: 100%;
    height: 150px;
    fill: var(--color-bg);
}

.separator--center {
    top: 10vh;
    height: 300px;
    opacity: 0.2;
}

.separator--up {
    top: -1px;
}

.separator--down {
    bottom: -1px;
}

.separator--solo {
    position: relative;
    height: auto;
    width: calc(100% + 5px);
    margin-left: -2.5px;
}

.separator--line {
    fill: none;
    stroke: #000;
    stroke-width: 1px;
}

.separator--line-light {
    fill: none;
    stroke: var(--color-bg);
    stroke-width: 1px;
}

.content__stacked {
    padding: 20vh 10vw 30vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.content__interlude {
    font-family: ab-appare, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 7vw;
    writing-mode: vertical-rl;
}

.content__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: right;
    align-items: end;
}

.content__text--left {
    text-align: left;
}

.content__text h2 {
    font-size: clamp(1.75rem,10vw,7rem);
    font-weight: 400;
    font-family: scotch-display, serif;
    color: var(--color-alt);
    margin: 0;
    line-height: 0.85;
}

.content__text p {
    line-height: 1.5;
    max-width: 40ch;
    font-size: 1.25rem;
    margin-top: 1rem;
}

.content__sides {
    display: grid;
    grid-gap: 6vw;
    grid-template-columns: 100%;
    padding: 10vh 10vw 30vh;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.content__sides--nogap {
    grid-gap: 0;
    padding-bottom: 0;
}

.content__sides .image-clip {
    max-width: 100%;
    justify-self: center;
}

.content--grid {
    justify-items: center;
    padding: 20vh 10vw 0;
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: auto;
    grid-gap: 10vw;
    max-width: 1200px;
    margin: 0 auto;
}

.content__img {
    width: 100%;
    max-width: 400px;
    height: auto;
}

.image-clip {
    max-width: 100%;
    height: auto;
}

.image-clip--offset {
    margin-top: -20%;
}

.footer {
    background: #000;
    position: relative;
    color: #fff;
    --color-link: #988c6c;
    --color-link-hover: #fff;
}


@media screen and (min-width: 53em) {
    .content__sides {
        grid-template-columns: 55% 1fr;
    }
    .content--grid {
        grid-template-columns: repeat(2,1fr);
    }
    .content--grid .content__img:nth-child(2){
        margin-top: 50vh;
    }
    .content--grid .content__img:nth-child(3){
        margin-top: -50vh;
    }
}

