:root {
    --ivory: #f2efe7;
    --ink: #262f34;
    --blue: #6d747a;
    --red: #c97d64;
    --: #585858
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

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

a {
    color: inherit;
    text-decoration: none
}

header {
    height: 82px;
    display: flex;
    align-items: center;
    padding: 0 3.5vw;
    gap: 40px;
    border-bottom: 1px solid #bbb8b0;
    position: absolute;
    width: 100%;
    z-index: 4
}

.logo {
    font: 700 25px Manrope;
    letter-spacing: -2px
}

.logo span {
    color: var(--red)
}

header nav {
    display: flex;
    gap: 32px;
    margin-left: auto
}

header nav a {
    font-size: 14px
}

.pill {
    background: var(--red);
    color: white;
    border-radius: 999px;
    padding: 14px 20px
}

.pill span {
    margin-left: 18px
}

.menu {
    display: none
}

.hero {
    height: 100vh;
    min-height: 740px;
    position: relative;
    overflow: hidden
}

.hero>img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.hero-copy {
    position: absolute;
    left: 3.5vw;
    top: 17%;
    width: 48%
}

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

.hero h1,
.statement h2,
.section-head h2,
.about h2,
.contact h2 {
    font: 500 clamp(60px, 8.2vw, 124px)/.83 Manrope;
    letter-spacing: -.07em;
    margin: 32px 0
}

.hero h1 em,
.statement h2 em,
.section-head h2 em,
.about h2 em,
.contact h2 em {
    font-family: Georgia, serif;
    font-weight: 400
}

.hero .intro {
    width: 440px;
    font-size: 17px;
    line-height: 1.55
}

.circle-link {
    position: absolute;
    left: 77%;
    top: 69%;
    height: 132px;
    width: 132px;
    background: var(--red);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: rotate(-8deg);
    transition: .3s
}

.circle-link:hover {
    transform: rotate(0) scale(1.06)
}

.circle-link b {
    font-size: 24px;
    margin-top: 10px
}

.side-note {
    position: absolute;
    right: 25px;
    top: 45%;
    writing-mode: vertical-rl;
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: white
}

.statement {
    padding: 150px 8vw 130px;
    display: grid;
    grid-template-columns: 1fr 3fr 1fr;
    gap: 40px
}

.statement h2 {
    font-size: clamp(60px, 7.4vw, 112px);
    margin: 0
}

.statement>p:last-child {
    align-self: end;
    line-height: 1.6
}

.work {
    background: var(--ink);
    color: white;
    padding: 130px 3.5vw
}

.section-head {
    display: grid;
    grid-template-columns: 2fr 1fr;
    align-items: end
}

.section-head h2 {
    font-size: clamp(64px, 8vw, 112px);
    margin-bottom: 10px
}

.section-head>p {
    max-width: 350px;
    line-height: 1.6
}

.filters {
    display: flex;
    gap: 10px;
    margin: 75px 0 35px
}

.filters button {
    background: transparent;
    border: 1px solid #666;
    color: white;
    border-radius: 99px;
    padding: 10px 19px;
    cursor: pointer
}

.filters button.active {
    background: white;
    color: black
}

.carousel {
    position: relative
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #ffffff40;
    background: #00000080;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .2s
}

.carousel-arrow:hover {
    background: var(--red);
    border-color: var(--red)
}

.carousel-arrow.prev {
    left: -10px
}

.carousel-arrow.next {
    right: -10px
}

@media(max-width:800px) {
    .carousel-arrow {
        display: none
    }
}

.project-grid {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 6px 6px 28px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--red) transparent
}

.project-grid::-webkit-scrollbar {
    height: 8px
}

.project-grid::-webkit-scrollbar-track {
    background: transparent
}

.project-grid::-webkit-scrollbar-thumb {
    background: var(--red);
    border-radius: 99px
}

.project {
    transition: .4s;
    flex: 0 0 clamp(240px, 30vw, 380px);
    scroll-snap-align: start
}

.project.featured {
    flex-basis: clamp(300px, 42vw, 520px)
}

.project .placeholder,
.project img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden
}

.project.featured .placeholder,
.project.featured img {
    aspect-ratio: 16/10
}

.placeholder span {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 12px
}

.placeholder b {
    font: 500 clamp(80px, 13vw, 210px) Manrope
}

.blue {
    background: var(--blue)
}

.red {
    background: var(--red)
}

.dark {
    background: #31312f
}

.project div+div span {
    font-size: 11px;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: .12em
}

.project h3 {
    font: 500 24px Manrope;
    margin: 8px 0
}

.about {
    padding: 150px 5vw;
    display: grid;
    grid-template-columns: .5fr 1.5fr 1fr;
    gap: 55px;
    position: relative
}

.about-number {
    font: 500 120px Manrope;
    color: var(--blue);
    line-height: .8
}

.about h2 {
    font-size: clamp(55px, 6.4vw, 96px);
    margin-top: 30px
}

.about-copy {
    align-self: end;
    font-size: 17px;
    line-height: 1.6
}

.stats {
    border-top: 1px solid #aaa;
    margin-top: 40px;
    padding-top: 30px;
    display: flex;
    gap: 28px
}

.stats span {
    font-size: 11px;
    text-transform: uppercase
}

.stats b {
    display: block;
    font: 500 34px Manrope
}

.contact {
    background: var(--blue);
    color: white;
    padding: 130px 6vw;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9vw
}

.contact h2 {
    font-size: clamp(58px, 6.5vw, 96px)
}

.contact>div>p {
    max-width: 500px;
    line-height: 1.7
}

.contact>div>a {
    display: inline-block;
    margin-top: 35px;
    border-bottom: 1px solid white;
    padding-bottom: 6px
}

form {
    margin-top: 25px
}

.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px
}

label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .13em
}

input,
select,
textarea {
    display: block;
    width: 100%;
    background: transparent;
    color: white;
    border: 0;
    border-bottom: 1px solid #ffffff70;
    padding: 13px 0 16px;
    margin-bottom: 28px;
    font: 15px 'DM Sans'
}

select option {
    color: black
}

textarea {
    resize: vertical
}

.submit {
    border: 0;
    border-radius: 99px;
    padding: 17px 22px;
    background: var(--red);
    font-weight: 600;
    cursor: pointer
}

.submit span {
    margin-left: 45px
}

#form-status {
    text-transform: none;
    font-size: 13px
}

footer {
    background: var(--ink);
    color: white;
    padding: 55px 3.5vw;
    display: flex;
    align-items: flex-end;
    justify-content: space-between
}

footer p {
    font-size: 12px;
    color: #999
}

footer div {
    display: flex;
    gap: 25px;
    font-size: 13px
}

@media(max-width:800px) {

    header nav,
    header>.pill {
        display: none
    }

    .menu {
        display: block;
        margin-left: auto;
        border: 0;
        background: none
    }

    .hero-copy {
        width: 90%;
        top: 15%
    }

    .hero h1 {
        font-size: 60px
    }

    .hero .intro {
        width: 75%;
        font-size: 15px
    }

    .circle-link {
        left: 60%;
        top: 72%;
        height: 108px;
        width: 108px
    }

    .statement {
        grid-template-columns: 1fr;
        padding: 100px 6vw
    }

    .statement h2 {
        font-size: 60px
    }

    .section-head,
    .contact {
        grid-template-columns: 1fr
    }

    .project {
        flex-basis: 78vw
    }

    .project.featured {
        flex-basis: 88vw
    }

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

    .about-number {
        font-size: 80px
    }

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

    .contact {
        padding: 90px 6vw
    }

    footer {
        align-items: flex-start;
        gap: 30px;
        flex-wrap: wrap
    }

    .side-note {
        display: none
    }
}