@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --paper: #efede7;
    --ink: #252720;
    --muted: #706f65;
    --accent: #a94e35;
    --line: #d0cfc4
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px
}

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

button,
input,
textarea,
select {
    font: inherit
}

button,
a {
    -webkit-tap-highlight-color: transparent
}

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

button {
    color: inherit
}

button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 6px
}

button {
    cursor: pointer
}

::selection {
    background: #c8876b;
    color: #fff
}

.skip {
    position: fixed;
    top: -100px;
    left: 20px;
    background: var(--ink);
    color: white;
    padding: 12px;
    z-index: 20
}

.skip:focus {
    top: 10px
}

.header {
    height: 100px;
    margin: 0 5%;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
    gap: 50px
}

.brand {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 30px;
    letter-spacing: -1.5px
}

.brand span {
    font-size: 12px;
    vertical-align: top;
    display: inline-block;
    margin-top: 5px;
    margin-left: 4px
}

.header nav {
    display: flex;
    gap: 38px;
    margin: auto;
    font-size: 13px
}

.header a:hover {
    color: var(--accent)
}

sup {
    font-size: 9px;
    margin-left: 4px
}

.contact-link {
    font-size: 13px;
    border-bottom: 1px solid;
    padding: 10px 0
}

.contact-link span {
    margin-left: 35px
}

.menu {
    display: none
}

.hero {
    padding: 35px 5% 0
}

.hero-top,
.hero-bottom,
.hero-foot,
.contact-top,
.contact-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.eyebrow {
    font-size: 10px;
    letter-spacing: 1.5px;
    font-weight: 600;
    line-height: 1.7
}

.dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 100%;
    background: var(--accent);
    margin-right: 9px
}

.location {
    font-size: 11px;
    line-height: 1.65;
    margin: 0;
    width: 145px
}

.hero h1 {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(80px, 9.5vw, 160px);
    font-weight: 500;
    line-height: 1.03;
    letter-spacing: -.075em;
    margin: 30px 0 25px;
    position: relative
}

em {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 400;
    letter-spacing: -.055em
}

.hero-star {
    position: absolute;
    right: 8%;
    top: 22%;
    font-size: 125px;
    color: var(--accent);
    font-family: Georgia;
    line-height: 1;
    animation: turn 35s linear infinite
}

.hero-bottom {
    margin-bottom: 32px
}

.hero-bottom p {
    margin: 0;
    font-size: 13px;
    line-height: 1.7
}

.text-link {
    display: inline-flex;
    gap: 36px;
    align-items: center;
    border: 0;
    border-bottom: 1px solid var(--ink);
    padding: 10px 0;
    background: none;
    font-size: 12px
}

.text-link span {
    font-size: 20px
}

.hero-image {
    position: relative;
    height: clamp(360px, 42vw, 640px);
    overflow: hidden;
    background: #b9ad9b
}

.hero-image>img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center 58%;
    animation: photo-enter 1.4s ease both
}

.hero-image:after {
    content: '';
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(transparent, #0006);
    pointer-events: none
}

.image-caption {
    position: absolute;
    bottom: 35px;
    left: 35px;
    color: white;
    z-index: 1
}

.image-caption>span {
    font-size: 9px;
    letter-spacing: 1.7px
}

.image-caption a {
    display: block;
    font-size: 30px;
    margin-top: 10px;
    letter-spacing: -1px
}

.image-caption a span {
    margin-left: 45px
}

.image-index {
    position: absolute;
    bottom: 35px;
    right: 35px;
    color: white;
    z-index: 1;
    font-size: 14px
}

.image-index span {
    opacity: .6;
    font-size: 11px;
    margin-left: 10px
}

.hero-foot {
    font-size: 8px;
    letter-spacing: 1.4px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line)
}

.section {
    margin: 0 5%;
    padding: 110px 0
}

h2 {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    letter-spacing: -.055em;
    font-size: clamp(38px, 4.5vw, 72px);
    line-height: 1.12;
    margin: 20px 0 30px
}

.intro {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    border-bottom: 1px solid var(--line)
}

.intro h2 {
    margin-top: 0
}

.intro h2 span {
    color: var(--muted)
}

.intro-copy {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 750px;
    margin: 35px 0 20px
}

.intro-copy p {
    font-size: 14px;
    line-height: 1.9;
    color: var(--muted);
    margin: 0
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 35px
}

.section-heading h2 {
    margin-bottom: 0
}

.filters {
    display: flex;
    gap: 22px;
    padding-bottom: 8px
}

.filters button {
    font-size: 11px;
    background: none;
    border: none;
    padding: 8px 0;
    color: var(--muted)
}

.filters button.active {
    color: var(--ink);
    border-bottom: 1px solid var(--ink)
}

.project-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px 30px
}

.project-card {
    border: 0;
    background: none;
    padding: 0;
    text-align: left
}

.project-card[hidden] {
    display: none
}

.project-photo {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1.22;
    background: #ccc
}

.project-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .65s ease, filter .65s
}

.project-card:hover img {
    transform: scale(1.04);
    filter: brightness(.9)
}

.circle-arrow {
    position: absolute;
    right: 22px;
    bottom: 22px;
    border: 1px solid #fff9;
    width: 45px;
    height: 45px;
    border-radius: 100%;
    display: grid;
    place-items: center;
    color: white;
    font-size: 24px;
    background: #0002;
    transition: background .3s
}

.project-card:hover .circle-arrow {
    background: var(--paper);
    color: var(--ink)
}

.photo-tag {
    position: absolute;
    left: 20px;
    top: 20px;
    background: var(--paper);
    padding: 8px 11px;
    font-size: 8px;
    letter-spacing: 1.2px
}

.project-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-top: 18px
}

.project-info h3 {
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -.7px;
    margin: 0
}

.project-info>span {
    font-size: 10px;
    color: var(--muted)
}

.wide {
    grid-column: 1/-1
}

.wide .project-photo {
    aspect-ratio: 2.35
}

.wide img {
    object-position: center 52%
}

.project-note {
    font-size: 10px;
    color: var(--muted);
    margin-top: 35px
}

.approach {
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px
}

.approach-title>p:not(.eyebrow) {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.8
}

.large-star {
    font-size: 100px;
    line-height: 1.2;
    color: var(--accent);
    margin-top: 40px
}

.steps {
    padding-top: 35px
}

.steps details {
    border-top: 1px solid var(--line);
    padding: 26px 0
}

.steps details:last-child {
    border-bottom: 1px solid var(--line)
}

summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 26px;
    font-size: 25px;
    letter-spacing: -.7px
}

summary::-webkit-details-marker {
    display: none
}

summary>span:first-child {
    font-size: 10px;
    letter-spacing: 0;
    color: var(--accent)
}

summary .plus {
    margin-left: auto;
    font-size: 23px;
    font-weight: 400
}

details[open] .plus {
    transform: rotate(45deg)
}

details p {
    font-size: 13px;
    line-height: 1.9;
    color: var(--muted);
    margin: 20px 30px 5px 43px
}

.quote {
    padding: 85px 5%;
    text-align: center;
    background: #dfded4
}

.quote p {
    font-family: Georgia, serif;
    font-size: clamp(27px, 3.5vw, 53px);
    letter-spacing: -1.5px;
    line-height: 1.35;
    margin: 0 0 28px
}

.quote span {
    font-size: 9px;
    letter-spacing: 1.7px
}

.contact {
    padding-bottom: 90px
}

.availability {
    font-size: 10px;
    color: var(--muted)
}

.contact h2 {
    font-size: clamp(65px, 8vw, 125px);
    margin: 38px 0;
    letter-spacing: -.07em
}

.contact-bottom p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.8
}

.contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background: var(--ink);
    color: var(--paper);
    border: 0;
    padding: 23px 28px;
    font-size: 13px;
    transition: background .2s
}

.contact-button:hover {
    background: var(--accent)
}

.contact-button span {
    font-size: 24px
}

footer {
    margin: 0 5%;
    border-top: 1px solid var(--line);
    padding: 40px 0;
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    align-items: start;
    gap: 35px
}

footer>p {
    font-size: 11px;
    margin: 10px 0
}

footer>div {
    grid-column: 1/3;
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    color: var(--muted)
}

.back-top {
    grid-column: 3;
    grid-row: 1/3;
    border: 1px solid var(--line);
    border-radius: 100%;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center
}

dialog {
    border: 0;
    background: var(--paper);
    color: var(--ink);
    padding: 0;
    max-width: 950px;
    width: 90%;
    max-height: 90vh
}

dialog::backdrop {
    background: #1e201dd9;
    backdrop-filter: blur(6px)
}

dialog>img {
    width: 100%;
    height: 350px;
    object-fit: cover
}

.close {
    position: absolute;
    right: 15px;
    top: 15px;
    background: var(--paper);
    border: 0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 28px;
    z-index: 2
}

.dialog-copy {
    padding: 40px 50px
}

.dialog-copy h2 {
    font-size: 50px
}

.dialog-copy>p:not(.eyebrow) {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
    max-width: 650px
}

dl {
    display: flex;
    gap: 60px;
    padding: 25px 0;
    border-top: 1px solid var(--line)
}

dt {
    font-size: 10px;
    color: var(--muted);
    margin-bottom: 8px
}

dd {
    margin: 0;
    font-size: 13px
}

#brief-dialog {
    max-width: 650px
}

form {
    display: grid;
    gap: 22px;
    margin-top: 30px
}

label {
    display: grid;
    gap: 9px;
    font-size: 12px
}

input,
textarea,
select {
    border: 1px solid var(--line);
    background: #f6f4ef;
    color: var(--ink);
    padding: 13px;
    width: 100%;
    border-radius: 0
}

textarea {
    resize: vertical
}

#brief-status {
    font-size: 12px;
    margin: 0;
    color: var(--accent)
}

@keyframes turn {
    to {
        transform: rotate(360deg)
    }
}

@keyframes photo-enter {
    from {
        transform: scale(1.04);
        opacity: .3
    }

    to {
        transform: scale(1);
        opacity: 1
    }
}

@media(min-width:1600px) {

    .header,
    .section,
    footer {
        max-width: 1440px;
        margin-left: auto;
        margin-right: auto
    }

    .hero {
        max-width: 1600px;
        margin: auto
    }
}

@media(max-width:800px) {
    .header {
        height: 80px;
        gap: 20px
    }

    .brand {
        font-size: 25px
    }

    .header nav {
        gap: 20px;
        font-size: 11px
    }

    .contact-link {
        display: none
    }

    .hero {
        padding-top: 25px
    }

    .hero h1 {
        font-size: 95px
    }

    .hero-star {
        font-size: 85px;
        right: 2%;
        top: 35%
    }

    .location {
        width: auto
    }

    .intro {
        grid-template-columns: 1fr;
        gap: 15px
    }

    .section {
        padding: 70px 0
    }

    .intro-copy {
        gap: 25px
    }

    .approach {
        gap: 30px
    }

    .section-heading {
        display: block
    }

    .filters {
        margin-top: 25px
    }

    .project-info {
        display: block
    }

    .project-info>span {
        display: block;
        margin-top: 8px
    }

    .hero-foot span:nth-child(2) {
        display: none
    }

    .contact-button {
        padding: 20px
    }

    .dialog-copy {
        padding: 30px
    }

    dl {
        gap: 25px
    }

    .project-grid {
        gap: 35px 20px
    }
}

@media(max-width:540px) {
    .header {
        position: relative;
        justify-content: space-between
    }

    .menu {
        display: block;
        font-size: 23px;
        background: none;
        border: 0;
        padding: 10px
    }

    .header nav {
        display: none;
        position: absolute;
        top: 79px;
        left: -5.5%;
        width: 111%;
        background: var(--paper);
        padding: 25px 7%;
        z-index: 10;
        border-bottom: 1px solid var(--line);
        font-size: 16px
    }

    .header nav.open {
        display: flex;
        flex-direction: column
    }

    .hero-top {
        align-items: start
    }

    .eyebrow {
        font-size: 8px;
        letter-spacing: 1.2px
    }

    .location {
        font-size: 9px
    }

    .hero h1 {
        font-size: clamp(64px, 18vw, 95px);
        margin: 35px 0 25px
    }

    .hero-star {
        font-size: 60px;
        right: 1%;
        top: 45%
    }

    .hero-bottom {
        align-items: end;
        gap: 15px
    }

    .hero-bottom p {
        font-size: 10px
    }

    .text-link {
        font-size: 10px;
        gap: 15px;
        white-space: nowrap
    }

    .hero-image {
        height: 430px
    }

    .image-caption {
        bottom: 22px;
        left: 20px
    }

    .image-caption>span {
        font-size: 8px
    }

    .image-caption a {
        font-size: 24px
    }

    .image-caption a span {
        margin-left: 15px
    }

    .image-index {
        bottom: 25px;
        right: 18px;
        font-size: 11px
    }

    .hero-foot {
        font-size: 7px;
        letter-spacing: .6px
    }

    .intro-copy {
        grid-template-columns: 1fr;
        gap: 18px
    }

    .intro h2 {
        font-size: 39px
    }

    .project-grid {
        grid-template-columns: 1fr;
        gap: 35px
    }

    .wide {
        grid-column: auto
    }

    .wide .project-photo {
        aspect-ratio: 1.22
    }

    .project-info {
        display: flex
    }

    .project-info h3 {
        font-size: 22px
    }

    .project-info>span {
        font-size: 9px;
        margin: 0
    }

    .approach {
        grid-template-columns: 1fr;
        gap: 10px
    }

    .large-star {
        display: none
    }

    .steps {
        padding-top: 10px
    }

    .approach-title h2 {
        font-size: 48px
    }

    .quote {
        padding: 60px 6%
    }

    .quote p {
        font-size: 28px;
        letter-spacing: -.8px
    }

    .contact-top {
        align-items: start;
        gap: 20px
    }

    .availability {
        font-size: 8px;
        text-align: right;
        max-width: 130px;
        line-height: 1.7
    }

    .contact h2 {
        font-size: 65px
    }

    .contact-bottom {
        display: block
    }

    .contact-button {
        margin-top: 12px;
        width: 100%
    }

    footer {
        gap: 25px;
        grid-template-columns: 1fr auto
    }

    footer>p {
        display: none
    }

    footer>div {
        grid-column: 1;
        flex-direction: column;
        gap: 12px;
        line-height: 1.6
    }

    .back-top {
        grid-column: 2
    }

    .dialog-copy {
        padding: 25px
    }

    .dialog-copy h2 {
        font-size: 38px
    }

    dialog>img {
        height: 250px
    }

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

    dd {
        font-size: 11px
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    *,
    *:before,
    *:after {
        animation: none !important;
        transition: none !important
    }
}