:root {
    --ink: #181817;
    --paper: #f0eee8;
    --acid: #d7ff42;
    --line: #c7c3ba
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: 'DM Sans', sans-serif
}

.grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .04;
    z-index: 20;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")
}

header {
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4vw;
    border-bottom: 1px solid var(--line);
    position: relative;
    z-index: 2
}

.brand {
    font-weight: 700;
    line-height: .9;
    text-decoration: none;
    color: inherit
}

.brand span {
    display: block;
    font-size: 9px;
    letter-spacing: .24em;
    margin-top: 8px
}

nav {
    display: flex;
    gap: 28px;
    align-items: center
}

nav a {
    color: inherit;
    text-decoration: none;
    font-size: 14px
}

.pill {
    background: var(--ink);
    color: var(--paper) !important;
    border-radius: 999px;
    padding: 12px 18px
}

.hero {
    padding: 10vh 4vw 7vh;
    min-height: 75vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 11px;
    font-weight: 700
}

.hero h1 {
    font-size: clamp(56px, 8.6vw, 145px);
    line-height: .86;
    letter-spacing: -.065em;
    max-width: 1400px;
    margin: 8vh 0
}

.hero em,
.section-head em,
.contact em {
    font-family: 'Playfair Display', serif;
    font-weight: 600
}

.hero-bottom {
    display: flex;
    align-items: end;
    justify-content: space-between
}

.hero-bottom p {
    font-size: 18px;
    line-height: 1.5;
    max-width: 520px
}

.circle {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border: 1px solid var(--ink);
    border-radius: 50%;
    font-size: 28px;
    text-decoration: none;
    color: inherit
}

.marquee {
    overflow: hidden;
    background: pink;
    border-block: 1px solid var(--ink);
    padding: 15px 0;
    font-weight: 700;
    white-space: nowrap
}

.marquee div {
    width: max-content;
    animation: move 20s linear infinite
}

@keyframes move {
    to {
        transform: translateX(-50%)
    }
}

.work {
    padding: 10vh 4vw
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 10vh
}

.section-head h2 {
    font-size: clamp(42px, 6vw, 88px);
    line-height: .95;
    letter-spacing: -.05em;
    margin: 0
}

.case {
    border-top: 1px solid var(--ink);
    padding: 22px 0 8vh
}

.case-meta {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    align-items: start;
    margin-bottom: 22px
}

.case-meta h3 {
    margin: 0 0 4px;
    font-size: 24px
}

.case-meta p {
    margin: 0;
    color: #64615c
}

.view {
    background: none;
    border: 0;
    text-decoration: underline;
    cursor: pointer;
    font: inherit
}

.media {
    width: 100%;
    height: min(30vw, 460px);
    border: 0;
    padding: 0;
    overflow: hidden;
    background: #111;
    position: relative;
    cursor: pointer
}

.media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s ease, filter .6s
}

.media:hover img {
    transform: scale(1.200);
    filter: brightness(.90)
}

.media span {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgb(174, 10, 10);
    font-size: 20px
}

.gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 2vh
}

.gallery img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    background: #ddd
}

.about {
    border-top: 1px solid var(--ink);
    padding: 12vh 4vw;
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    gap: 8vw
}

.about h2 {
    font-size: clamp(42px, 5.4vw, 80px);
    line-height: 1;
    letter-spacing: -.05em;
    max-width: 950px
}

.about-copy {
    padding-top: 60px;
    font-size: 18px;
    line-height: 1.55
}

.services {
    border-top: 1px solid var(--line);
    margin-top: 50px;
    padding-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    font-size: 14px
}

.contact {
    background: var(--ink);
    color: var(--paper);
    padding: 12vh 4vw
}

.contact p {
    color: pink;
}

.contact a {
    color: inherit;
    text-decoration: none;
    font-size: clamp(54px, 9vw, 145px);
    line-height: .9;
    letter-spacing: -.06em
}

footer {
    padding: 30px 4vw;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 20px;
    font-size: 12px
}

footer a {
    color: inherit
}

dialog {
    width: min(1200px, 94vw);
    border: 0;
    background: #090909;
    padding: 42px 12px 12px
}

dialog::backdrop {
    background: rgba(0, 0, 0, .86)
}

dialog video {
    width: 100%;
    max-height: 82vh;
    display: block
}

#close {
    position: absolute;
    right: 10px;
    top: 2px;
    color: white;
    background: none;
    border: 0;
    font-size: 34px;
    cursor: pointer
}

@media(max-width:760px) {
    header {
        height: 74px
    }

    nav>a:not(.pill) {
        display: none
    }

    .hero {
        min-height: 70vh
    }

    .hero h1 {
        font-size: 15vw
    }

    .hero-bottom p {
        max-width: 75%
    }

    .circle {
        width: 52px;
        height: 52px
    }

    .section-head {
        display: block
    }

    .section-head p {
        margin-bottom: 30px
    }

    .case-meta {
        grid-template-columns: 38px 1fr
    }

    .view {
        grid-column: 2;
        margin-top: 15px;
        text-align: left;
        padding: 0
    }

    .media {
        height: 62vw
    }

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

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

    .about-copy {
        padding-top: 0
    }

    .contact a {
        font-size: 16vw
    }

    footer {
        gap: 15px;
        flex-wrap: wrap
    }
}