:root {
    --ink: #253239;
    --muted: #657278;
    --teal: #587e7a;
    --cream: #f6f5f1;
    --line: #e2e4e0
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.75
}

a {
    color: inherit
}

a:hover {
    color: var(--teal)
}

main {
    /* margin-top: 2rem; */
    /* padding-top: 2rem; */
    background: #f0f0eb;
}

.hero {
    /*min-height: 88vh;*/
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #f0f0eb
}

.hero-text {
    padding: clamp(3rem, 8vw, 9rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start
}

.kicker {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--teal);
    display: flex;
    align-items: center;
    gap: 1rem
}

.rule {
    width: 35px;
    height: 1px;
    background: currentColor;
    display: inline-block
}

.hero h1 {
    font-size: clamp(4.3rem, 8.5vw, 9rem);
    line-height: .94;
    letter-spacing: -.07em;
    font-weight: 400;
    margin: 2rem 0
}

.period {
    color: var(--teal)
}

.hero p {
    font-size: 1.15rem;
    max-width: 420px;
    color: var(--muted)
}

.explore {
    margin-top: 3rem;
    text-decoration: none;
    font-size: .75rem;
    letter-spacing: .14em;
    font-weight: bold;
    border-bottom: 1px solid var(--ink);
    padding-bottom: .6rem
}

.explore span {
    padding-left: 1rem
}

.hero-graphic {
    position: relative;
    overflow: hidden;
    min-height: 400px;
    padding: 1rem;
    align-self: center;
}

.contour {
    position: absolute;
    border: 1px solid rgba(47, 89, 83, .4);
    border-radius: 45% 55% 61% 39% / 54% 44% 56% 46%;
    transform: rotate(-24deg)
}

.contour-one {
    width: 95%;
    height: 85%;
    top: 4%;
    left: 30%
}

.contour-two {
    width: 70%;
    height: 60%;
    top: 17%;
    left: 44%
}

.contour-three {
    width: 45%;
    height: 35%;
    top: 31%;
    left: 58%
}

.graphic-caption {
    position: absolute;
    bottom: 3rem;
    left: 3rem;
    font-size: .7rem;
    letter-spacing: .22em;
    color: #4b6864
}

.spotlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 550px;
    background: #f8f8f3;
}

.spotlight-media {
    position: relative;
    min-height: 500px;
    /* background: linear-gradient(145deg, #c6d4cb, #e0e4d9); */
    overflow: hidden;
    padding: clamp(3rem, 3vw, 8rem);
}

.spotlight-media img {
    /*position: absolute;*/
    inset: 0;
    width: 100%;
    /*height: 100%;*/
    object-fit: cover;
    z-index: 2
}

.image-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #6e8c80;
    gap: 1rem
}

.image-fallback span {
    font-size: clamp(6rem, 13vw, 12rem);
    font-weight: 200;
    opacity: .2;
    line-height: 1
}

.image-fallback small {
    text-align: center;
    font-size: .7rem;
    letter-spacing: .16em;
    line-height: 2
}

.spotlight-content {
    display: flex;
    align-items: start;
    padding: clamp(3rem, 3vw, 8rem);
}

.content-inner {
    max-width: 510px
}

.spotlight h2 {
    font-size: clamp(2.1rem, 3.5vw, 3.6rem);
    line-height: 1.15;
    letter-spacing: -.045em;
    font-weight: 400;
    margin-bottom: 1.7rem;
    margin-top: 0;
}

.spotlight p {
    color: var(--muted);
    font-size: 1rem
}

.tags {
    font-size: .75rem !important;
    letter-spacing: .04em;
    margin-top: 1.5rem
}

.tags span {
    padding: 0 .3rem;
    color: #a5adaa
}

.project-links {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem 1.5rem;
    margin-top: 2rem
}

.project-links a {
    text-decoration: none;
    border-bottom: 1px solid var(--teal);
    padding-bottom: .3rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .03em
}

footer {
    padding: 4rem clamp(2rem, 7vw, 8rem);
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    background: #f0f0eb;
    color: #5b5b5b;
    font-size: .85rem
}

footer p {
    color: #a9b9b6;
    margin: .3rem 0
}

footer>div:last-child {
    display: flex;
    gap: 2rem;
    align-items: center
}

footer a {
    text-decoration: none
}

.hero-graphic>img {
    width: 100%;
}

@media(max-width:800px) {
    .hero {
        grid-template-columns: 1fr
    }

    .hero-text {
        padding: 1rem 2rem
    }

    .hero-graphic {
        min-height: 220px
    }

    .spotlight {
        grid-template-columns: 1fr
    }

    .spotlight:nth-child(even) .spotlight-media {
        order: 0
    }

    .spotlight-media {
        min-height: 290px
    }

    .spotlight-content {
        padding: 3rem 2rem
    }

    footer {
        flex-direction: column
    }

    .hero h1 {
        font-size: clamp(4.2rem, 15vw, 7rem)
    }
    .spotlight {
        border-top: 9px solid lightgrey;
    }

}

@media(min-width:801px) {
    .hero>*:nth-child(1) {
        border-right: 9px solid lightgrey;
    }

    .spotlight {
        border-top: 9px solid lightgrey;
    }

    .spotlight-media {
        border-right: 9px solid lightgrey;
        display: grid;
        align-content: start;
        gap: 1rem;
    }
    .spotlight > :first-child {
        order: 2;
    }

}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }
}
