* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Hide scrollbar site-wide */
* {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

*::-webkit-scrollbar {
    display: none;
}

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Instrument Serif', serif;
    background-color: #FBFBFB;
}

.container {
    display: flex;
    justify-content: space-between;
    height: 100vh;
    padding: 0 72px;
    gap: 120px;
    position: relative;
}

.left-column {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    margin-top: auto;
    margin-bottom: 132px;
}

.intro {
    margin-bottom: 26px;
}

.welcome {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    font-style: italic;
    font-size: 24px;
    color: #131313;
    margin-bottom: 8px;
}

.title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 800;
    font-size: clamp(112px, 10vw, 140px);
    color: #131313;
    line-height: 0.8;
    font-variation-settings: 'opsz' 96;
}

.description {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    font-size: 20px;
    color: #5E5E5E;
    line-height: 1.5;
    max-width: 420px;
}

.right-column {
    flex-shrink: 1;
    overflow-y: auto;
    width: clamp(400px, 35vw, 520px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.right-column:has(.projects .project-card:nth-child(3)) {
    justify-content: flex-start;
}

.projects {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-top: 64px;
    padding-bottom: 64px;
}

.project-card {
    display: block;
    text-decoration: none;
    overflow: hidden;
    border-radius: 2px;
    position: relative;
}

.project-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 2px;
    box-shadow: inset 0 0 0 1px rgba(19, 19, 19, 0.04);
    pointer-events: none;
}

.project-image {
    width: 100%;
    height: auto;
    aspect-ratio: 520 / 273;
    background-color: #f0f0f0;
    border-radius: 2px;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.project-card:hover .project-image {
    transform: scale(1.02);
}

.coming-soon-label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(19, 19, 19, 0.6);
    color: #FBFBFB;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 400;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 2px;
}

.project-card--coming-soon:hover .coming-soon-label {
    opacity: 1;
}

.project-card--coming-soon:hover .project-image {
    transform: scale(1);
}

.byline {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #AAAAAA;
    position: absolute;
    bottom: 64px;
    left: 72px;
}

.byline-link {
    color: #AAAAAA;
    text-decoration: none;
}

.byline-link:hover {
    color: #131313;
}

/* Large Desktop */
@media (min-width: 1740px) {
    .container {
        padding: 0 224px;
    }

    .byline {
        left: 224px;
    }
}

/* Tablet */
@media (max-width: 1240px) {
    html, body {
        height: auto;
        overflow: auto;
    }

    .container {
        flex-direction: column;
        height: auto;
        padding: 64px 72px;
        gap: 64px;
    }

    .left-column {
        margin-top: 0;
        margin-bottom: 0;
    }

    .title {
        font-size: clamp(96px, 12vw, 140px);
    }

    .description {
        max-width: 100%;
    }

    .right-column {
        width: 100%;
        overflow-y: visible;
    }

    .projects {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
        padding-top: 0;
        padding-bottom: 0;
    }

    .project-image {
        width: 100%;
        height: auto;
        aspect-ratio: 520 / 273;
    }

    .byline {
        position: static;
        order: 3;
        padding-top: 24px;
        text-align: center;
    }
}

/* Mobile */
@media (max-width: 860px) {
    html, body {
        height: auto;
        overflow: auto;
    }

    .container {
        flex-direction: column;
        height: auto;
        padding: 48px 24px;
        gap: 48px;
    }

    .left-column {
        margin-top: 0;
        margin-bottom: 0;
        width: 100%;
    }

    .intro {
        margin-bottom: 24px;
    }

    .welcome {
        font-size: clamp(18px, 4vw, 24px);
    }

    .title {
        font-size: calc((100vw - 48px) * 0.22);
    }

    .description {
        font-size: 18px;
        max-width: 100%;
    }

    .right-column {
        width: 100%;
        overflow-y: visible;
    }

    .projects {
        display: flex;
        flex-direction: column;
        padding-top: 0;
        padding-bottom: 0;
        gap: 24px;
    }

    .project-image {
        width: 100%;
        height: auto;
        aspect-ratio: 520 / 273;
    }
}
