:root {
    --ink: #111111;
    --muted: #c7c7c7;
    --soft: #e7e7e7;
    --paper: #ffffff;
    --left-rail: 56px;
    --top-rail: 26px;
    --text-serif: Georgia, "Times New Roman", serif;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--text-serif);
    font-size: 11px;
    line-height: 1.45;
}

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.site-header {
    position: fixed;
    inset: 0;
    z-index: 10;
    pointer-events: none;
}

.site-header a {
    pointer-events: auto;
}

.brand {
    position: absolute;
    top: 17px;
    left: 13px;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    letter-spacing: -0.03em;
}

.side-nav {
    position: absolute;
    top: 132px;
    left: 56px;
    display: grid;
    gap: 12px;
    font-size: 10px;
    line-height: 1;
}

.side-nav a,
.corner-nav a {
    text-decoration: none;
}

.side-nav a.active,
.corner-nav a.active {
    text-decoration: underline;
}

.corner-nav {
    position: absolute;
    top: 18px;
    right: 16px;
    display: flex;
    gap: 18px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.project-page {
    min-height: 100vh;
    padding: 137px 35px 92px 0;
    display: grid;
    grid-template-columns: minmax(210px, 28vw) minmax(0, 1fr);
    column-gap: 30px;
}

.intro {
    grid-column: 1;
    justify-self: end;
    width: min(260px, 63%);
}

.eyebrow {
    margin: 0 0 22px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.1;
}

.divider,
.muted {
    color: var(--muted);
    font-weight: 400;
}

.summary {
    margin: 0;
    max-width: 260px;
    color: #cfcfcf;
    font-size: 8px;
    line-height: 1.55;
    letter-spacing: 0.01em;
}

.feature {
    grid-column: 2;
    max-width: 892px;
}

.hero-card {
    margin: 0;
    width: 100%;
}

.hero-card img {
    display: block;
    width: 100%;
    aspect-ratio: 1.51 / 1;
    object-fit: cover;
}

.project-copy {
    margin-top: 34px;
    display: grid;
    grid-template-columns: minmax(120px, 1fr) minmax(250px, 1fr);
    column-gap: 96px;
    align-items: start;
}

.project-copy h1 {
    margin: 0;
    font-size: 11px;
    line-height: 1.2;
}

.project-copy p {
    margin: 0;
    max-width: 350px;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.55;
}

.project-copy p + p {
    margin-top: 0;
    text-indent: 0;
}

.scroll-cue {
    position: fixed;
    left: 20px;
    bottom: 16px;
    color: var(--ink);
    font-size: 16px;
    line-height: 1;
    text-decoration: none;
}

@media (max-width: 900px) {
    .side-nav {
        left: 28px;
    }

    .project-page {
        padding: 112px 28px 72px;
        grid-template-columns: 1fr;
        row-gap: 34px;
    }

    .intro,
    .feature {
        grid-column: 1;
        justify-self: stretch;
        width: 100%;
        max-width: none;
    }

    .intro {
        padding-left: 170px;
    }

    .project-copy {
        column-gap: 40px;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 12px;
    }

    .brand {
        top: 18px;
        left: 18px;
    }

    .site-header {
        position: static;
        display: block;
        pointer-events: auto;
    }

    .brand,
    .side-nav,
    .corner-nav {
        position: fixed;
        z-index: 20;
    }

    .side-nav {
        top: 64px;
        left: 18px;
        gap: 10px;
    }

    .corner-nav {
        top: 21px;
        right: 18px;
    }

    .project-page {
        padding: 142px 18px 64px;
    }

    .intro {
        padding-left: 0;
    }

    .summary {
        font-size: 9px;
    }

    .project-copy {
        margin-top: 24px;
        grid-template-columns: 1fr;
        row-gap: 16px;
    }

    .project-copy p {
        max-width: none;
    }

    .scroll-cue {
        left: 18px;
        bottom: 14px;
    }
}
