/* Reset */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    font-weight: normal;
    vertical-align: baseline;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    -webkit-tap-highlight-color: rgb(253, 252, 252, 0);
}

body {
    margin: 0px;
    padding: 0px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 16px;
    font-style: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1.3;
    -webkit-font-smoothing: antialiased;
    color: #0C0C16;
    background-color: #fff;
    letter-spacing: .5px;
}

h1 {
    font-size: calc(6vh + 6vw / 2);
    margin-top: 10vh;
    line-height: 1;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-weight: 200;
}

h1 a {
    text-decoration: underline;
    text-underline-offset: calc(.5vh + .5vw / 2);
    text-decoration-thickness: calc(.1vh + .1vw / 2);
}

h1 a:hover {
    color: #4b4b64;
}

h2 {
    font-size: 56px;
    line-height: .9;
    font-weight: 400;
    letter-spacing: -0.015em;
    margin-bottom: 28px;
}

h4 {
    color: #1D1D35;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: .2px;
    line-height: 1.6;
    margin-bottom: 16px;
}

p {
    margin-bottom: 16px;
    line-height: 1.6;
}

a {
    color: #1D1D35;
    text-decoration: none;
}

a:hover {

}

img {
    display: block;
}

.dark-container {
    margin: 0 auto;
    background-color: #09090e;
    color: #d3d3da;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2vh 4vh;
    height: 100vh;
    font-size: 18px;
    position: relative;
}

.dark-container a {
    color: #d3d3da;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1680px;
    margin: 0 auto;
}

nav {
    text-align: right;
    padding: 24px 0;
}

nav a {
    margin-left: 40px;
}

.heading {
    max-width: 1680px;
    margin: 0 auto;
    width: 100%;
}

.lead-in {
    width: 100%;
    max-width: 1680px;
    margin: 0 auto;
    margin-top: auto;
    position: relative;
}

.lead-in p {
    margin-bottom: 24px;
}

.hint {
    margin-top: auto;
    position: absolute;
    right: 0;
    bottom: 0;
    margin-bottom: 24px;
}

.hint a {
    line-height: 1.6;
    display: inline-block;
}

.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-column-gap: 0;
}

.container {
    max-width: 1680px;
    margin: 0 auto;
    padding: 2vh 12vh;
}

.project {
    grid-template-rows: auto 1fr;
    grid-row-gap: 0px;
    padding: 12vh 0;
}

.project p {
    font-size: 16px;
    letter-spacing: .2px;
}

.project a {
    font-size: 15px;
    font-weight: 500;
}

.project:first-child {
    padding-top: 20vh;
}

.project .overview {
    grid-column: 1 / span 4;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project:nth-child(even) .overview {
    grid-column: 9 / span 4;
}

.project:nth-child(even) .asset {
    grid-column: 1 / span 7;
    grid-row: 1;
}

.project .overview.push {
    grid-column: 2 / span 4;
}

.project:nth-child(even) .overview.pull {
    grid-column: 8 / span 4;
}

.project:nth-child(even) .overview.pull.wide {
    grid-column: 8 / span 5;
}

.project .overview a {
    display: inline-block;
    margin-top: 24px;
}

.project .asset {
    grid-column: 6 / span 8;
}

.project .asset iframe {
    width: 100%;
}

.project .asset .shadow {
    border-radius: 8px;
    box-shadow: 0 0 1px rgba(12, 12, 22, .2), 0 20px 20px rgba(12, 12, 22, 0.1);
}

.embed-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0; overflow: hidden;
    max-width: 100%; height: auto;
}
.embed-container iframe, .embed-container object, .embed-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.asset img {
    max-width: 100%;
    min-width: 100%;
}

.fin {
    font-size: 16px;
    letter-spacing: .2px;
    opacity: .3;
    text-align: center;
    padding-top: 4vh;
    padding-bottom: 6vh;
}

@media only screen and (max-width: 1680px) {
    .dark-container {
        font-size: 19px;
    }
    .container {
        max-width: 1480px;
        margin: 0 auto;
        padding: 2vh 8vh;
    }
}

@media only screen and (max-width: 1024px) {
    br {
        display: none;
    }
    body {
        font-size: 17px;
    }
    .container {
        padding: 24px;
    }
    .dark-container {
        padding: 24px;
        padding-top: 0;
        height: 100vh;
        height: -webkit-fill-available;
        font-size: 17px;
    }
    nav a {
        margin-left: 14px;
    }
    .intro {
        display: none;
    }
    .hint {
        position: static;
        margin-bottom: 4px;
    }
    .project:first-child {
        padding-top: 48px;
    }
    h1 {
        font-size: calc(4vh + 4vw / 2);
    }
    h2 {
        font-size: 36px;
    }
    .grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-column-gap: 20px;
        grid-row-gap: 0px;
    }
    .project {
        padding: 40px 0;
    }
    .project .asset,
    .project:nth-child(even) .asset {
        grid-column: span 4;
        grid-row: 1;
        margin-bottom: 32px;
    }
    .project .overview,
    .project .overview.push,
    .project:nth-child(even) .overview,
    .project:nth-child(even) .overview.pull,
    .project:nth-child(even) .overview.pull.wide {
        grid-column: span 4;
        grid-row: 2;
    }
}