:root {
    --bg: #fff;
    --ink: #090909;
    --muted: #747474;
    --inactive: rgb(9 9 9 / 20%);
    --line: rgb(0 0 0 / 8%);
    --drawing: rgb(0 0 0 / 6%);
    --placeholder: #f2f1ef;
    --placeholder-deep: #e8e7e4;
    --display: "Instrument Serif", Georgia, serif;
    --utility: "Archivo Narrow", "Arial Narrow", sans-serif;
    --gutter: clamp(16px, 1.55vw, 24px);
    --header-h: 52px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--bg);
    font-family: var(--utility);
    font-size: 16px;
    line-height: 1.2;
}

body.modal-open {
    overflow: hidden;
}

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

button {
    padding: 0;
    color: inherit;
    background: transparent;
    border: 0;
    font: inherit;
    cursor: pointer;
}

img,
video {
    display: block;
    max-width: 100%;
    object-fit: cover;
}

h1,
h2,
p,
figure {
    margin: 0;
}

.site-header {
    position: fixed;
    z-index: 20;
    top: 0;
    left: 0;
    width: 100%;
    min-height: var(--header-h);
    padding: 15px var(--gutter) 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--utility);
    text-transform: uppercase;
    transition: color .38s var(--ease), background .38s var(--ease), border-color .38s var(--ease);
}

.site-header.is-over-hero {
    color: white;
}

.site-header.is-light {
    color: var(--ink);
    background: rgb(255 255 255 / 88%);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(8px);
}

.brand {
    line-height: 1;
    font-family: var(--display);
    font-style: italic;
    font-size: clamp(27px, 2vw, 31px);
    text-transform: lowercase;
}

.brand-mark {
    display: none;
}

.primary-nav {
    display: flex;
    gap: clamp(16px, 1.75vw, 28px);
    align-items: center;
    font-size: 18px;
}

.primary-nav a,
.primary-nav button {
    transition: opacity .25s ease;
}

.primary-nav a:hover,
.primary-nav button:hover {
    opacity: .46;
}

.hero {
    position: relative;
    height: 100svh;
    min-height: 640px;
    overflow: hidden;
    color: white;
}

.hero-media,
.hero-media > * {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-video {
    object-fit: cover;
}

.hero .media-placeholder {
    background:
        radial-gradient(circle at 70% 32%, rgb(235 224 203 / 56%), transparent 27%),
        linear-gradient(110deg, #877b6e 0%, #b1a38c 41%, #6c6962 100%);
}

.media-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(9 9 9 / 33%);
    background: linear-gradient(128deg, var(--placeholder), var(--placeholder-deep));
    font-size: 13px;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.hero .media-placeholder span {
    display: none;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgb(0 0 0 / 35%) 0%, transparent 44%, rgb(0 0 0 / 14%) 100%);
}

.hero-title {
    position: absolute;
    bottom: clamp(56px, 7vh, 78px);
    left: 50%;
    width: max-content;
    max-width: calc(100% - 32px);
    transform: translateX(-50%);
    font-family: var(--utility);
    font-size: clamp(64px, 8vw, 120px);
    font-weight: 400;
    line-height: .92;
    text-transform: uppercase;
    text-align: center;
}

.hero-title span,
.hero-title em {
    display: block;
}

.hero-title em {
    font-family: var(--display);
    font-style: italic;
    font-weight: 400;
    text-transform: none;
}

.hero-title.reveal {
    transform: translate(-50%, 24px);
}

.hero-title.reveal.is-visible {
    transform: translate(-50%, 0);
}

.scroll-cell {
    position: absolute;
    bottom: 0;
    left: var(--gutter);
    right: var(--gutter);
    height: 38px;
    border-top: 1px solid rgb(255 255 255 / 34%);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--display);
    font-style: italic;
    font-size: 18px;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .75s var(--ease), transform .75s var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.draft-grid {
    position: relative;
    /* Clip decorative arcs without turning the section into a sticky scroll container. */
    overflow: clip;
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(90deg, transparent calc(33.333% - .5px), var(--line) calc(33.333% - .5px), var(--line) calc(33.333% + .5px), transparent calc(33.333% + .5px)),
        linear-gradient(180deg, transparent calc(57% - .5px), var(--line) calc(57% - .5px), var(--line) calc(57% + .5px), transparent calc(57% + .5px));
}

.draft-grid::before {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 0;
    width: min(72vw, 920px);
    aspect-ratio: 1;
    top: 7%;
    right: -11%;
    border: 1px solid var(--drawing);
    border-radius: 50%;
}

.draft-grid::after {
    content: "";
    position: absolute;
    z-index: 0;
    pointer-events: none;
    left: -20vw;
    right: -15vw;
    top: 48%;
    height: 1px;
    background: var(--drawing);
    transform: rotate(-28deg);
}

.how-intro {
    min-height: clamp(620px, 91vh, 820px);
    display: grid;
    grid-template-columns: 33.333% 66.667%;
}

.how-intro > * {
    position: relative;
    z-index: 1;
}

.how-intro-media {
    align-self: end;
    padding: var(--gutter);
}

.how-media {
    width: 100%;
    aspect-ratio: 1.6;
}

.how-intro-copy {
    padding: clamp(90px, 20vh, 180px) clamp(28px, 3vw, 46px) var(--gutter);
}

.how-intro-copy p {
    max-width: 880px;
    font-family: var(--display);
    font-size: clamp(42px, 4vw, 66px);
    font-style: italic;
    line-height: .98;
}

.inline-link {
    position: relative;
    display: inline-flex;
    gap: 8px;
    margin-top: 34px;
    padding: 0 0 5px 16px;
    font-family: var(--display);
    font-style: italic;
    font-size: 18px;
    border-bottom: 1px solid var(--ink);
}

.inline-link::before {
    content: "\25B8";
    position: absolute;
    left: 0;
    top: 1px;
    font-size: 11px;
}

.inline-link:hover {
    opacity: .55;
}

.featured-work {
    min-height: 180vh;
    display: grid;
    grid-template-columns: 33.333% 34% 32.667%;
    padding: clamp(72px, 11vh, 118px) 0;
}

.featured-work::before {
    top: 15%;
    left: 20%;
    right: auto;
    width: min(62vw, 820px);
}

.featured-counter {
    position: sticky;
    top: clamp(160px, 27vh, 260px);
    align-self: start;
    z-index: 1;
    padding: 0 var(--gutter);
    display: flex;
    align-items: baseline;
    font-family: var(--utility);
    font-size: clamp(92px, 10.5vw, 166px);
    line-height: .82;
}

.counter-total {
    padding-left: 16px;
    font-size: clamp(28px, 3vw, 44px);
}

.featured-stack {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding-bottom: clamp(80px, 15vh, 180px);
}

.featured-card {
    position: relative;
    min-height: min(51vw, 600px);
    opacity: .18;
    transition: opacity .44s var(--ease);
}

.featured-card.is-active {
    opacity: 1;
}

.featured-card a {
    display: block;
    height: 100%;
}

.featured-card .project-media {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    min-height: inherit;
}

.featured-card .project-cover,
.featured-card .media-placeholder {
    width: 100%;
    height: 100%;
    min-height: inherit;
}

.featured-keyword,
.featured-service {
    position: absolute;
    top: 50%;
    color: var(--ink);
    font-family: var(--display);
    font-style: italic;
    font-size: 15px;
    white-space: nowrap;
    transform: translateY(-50%);
}

.featured-keyword {
    right: calc(100% + clamp(14px, 1.4vw, 24px));
}

.featured-service {
    left: calc(100% + clamp(14px, 1.4vw, 24px));
}

.featured-mobile-title {
    display: none;
}

.featured-names {
    position: sticky;
    top: clamp(150px, 25vh, 250px);
    align-self: start;
    z-index: 1;
    padding: 0 var(--gutter) 0 clamp(52px, 6vw, 96px);
    display: flex;
    flex-direction: column;
    gap: 13px;
    text-align: right;
    text-transform: uppercase;
    font-size: clamp(28px, 2.7vw, 46px);
    line-height: 1;
}

.featured-names a {
    color: var(--inactive);
    transition: color .35s ease;
}

.featured-names a.is-active {
    color: var(--ink);
}

.project-preview-video {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .25s ease;
}

.project-preview-video img,
.project-preview-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services {
    min-height: clamp(680px, 112vh, 1020px);
    border-bottom: 1px solid var(--line);
    padding: clamp(48px, 8vh, 90px) var(--gutter) clamp(52px, 9vh, 88px);
}

.services-title {
    min-height: clamp(300px, 48vh, 490px);
    display: flex;
    justify-content: space-between;
    gap: clamp(28px, 4vw, 72px);
    text-transform: uppercase;
    font-size: clamp(72px, 9vw, 142px);
    line-height: .9;
}

.services-title span:last-child {
    align-self: start;
    flex: 0 0 8.5ch;
    width: 8.5ch;
    text-align: right;
}

.services-title span:first-child {
    align-self: end;
    flex: 0 0 8.5ch;
    width: 8.5ch;
}

.services-grid {
    width: min(68%, 980px);
    margin-left: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(26px, 5vw, 86px);
}

.services-grid h2 {
    font-size: clamp(25px, 2vw, 31px);
    font-weight: 400;
    margin-bottom: 16px;
}

.services-grid h2 em {
    font-family: var(--display);
    font-style: italic;
    font-size: .8em;
}

.services-grid p {
    color: var(--muted);
    font-size: clamp(19px, 1.65vw, 25px);
    line-height: 1.28;
}

.contact-intro {
    min-height: clamp(265px, 40vh, 390px);
    padding: clamp(42px, 8vh, 76px) var(--gutter);
    border-bottom: 1px solid var(--line);
}

.contact-intro h2 {
    text-transform: uppercase;
    font-size: clamp(44px, 5vw, 76px);
    font-weight: 400;
    line-height: .94;
}

.site-footer {
    position: relative;
    min-height: clamp(320px, 47vh, 470px);
    padding: var(--gutter);
    display: grid;
    grid-template-columns: 34% 31% 35%;
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, transparent 53%, var(--drawing) calc(53% + 1px), transparent calc(53% + 2px)),
        radial-gradient(ellipse 42% 110% at 49% 111%, transparent calc(100% - 1px), var(--drawing) 100%, transparent calc(100% + 1px));
    pointer-events: none;
}

.footer-reel,
.footer-credits,
.footer-nav {
    position: relative;
    z-index: 1;
}

.footer-reel-media {
    position: relative;
    width: min(100%, 430px);
    aspect-ratio: 1.5;
}

.footer-media,
.footer-reel .media-placeholder {
    width: 100%;
    height: 100%;
}

.footer-reel-title,
.footer-reel-year {
    position: absolute;
    color: white;
    font-size: clamp(36px, 4vw, 56px);
    text-transform: uppercase;
}

.footer-reel-title {
    left: 14px;
    top: 12px;
}

.footer-reel-year {
    right: 14px;
    bottom: 12px;
}

.footer-play {
    position: absolute;
    top: 46%;
    right: 38%;
    color: white;
    border-color: white;
}

.footer-credits {
    display: flex;
    justify-content: center;
    align-items: end;
    gap: 14px;
    text-transform: uppercase;
    font-size: 15px;
}

.footer-nav {
    align-self: end;
    justify-self: end;
    display: flex;
    flex-direction: column;
    align-items: end;
    font-size: clamp(62px, 6vw, 100px);
    text-transform: uppercase;
    line-height: .88;
}

.footer-nav button {
    text-transform: uppercase;
}

.works-archive {
    min-height: 100vh;
    padding: clamp(92px, 12vh, 122px) var(--gutter) 80px;
    display: grid;
    grid-template-columns: 32.4% 35.2% 32.4%;
    gap: clamp(14px, 1.35vw, 22px);
    background-image: none;
}

.works-archive::before {
    top: 20%;
    left: 58%;
    right: auto;
    width: min(68vw, 990px);
}

.works-archive::after {
    top: 52%;
}

.works-column,
.archive-filters {
    position: relative;
    z-index: 1;
}

.works-column--right {
    padding-top: clamp(0px, 4vh, 34px);
}

.project-card {
    margin-bottom: clamp(28px, 5vh, 62px);
}

.project-media--archive {
    position: relative;
    width: 100%;
    aspect-ratio: 1.55;
    overflow: hidden;
}

.project-media--archive .project-cover,
.project-media--archive .media-placeholder {
    width: 100%;
    height: 100%;
}

.project-card:hover .project-preview-video,
.project-card:focus-within .project-preview-video,
.featured-card:hover .project-preview-video,
.featured-card:focus-within .project-preview-video {
    opacity: 1;
}

.project-card-heading {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}

.project-card h2 {
    font-size: clamp(27px, 2.4vw, 39px);
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
}

.project-card-heading span,
.project-card p {
    font-family: var(--display);
    font-style: italic;
    font-size: 17px;
}

.project-card p {
    margin-top: 4px;
}

.archive-filters {
    position: sticky;
    top: clamp(92px, 13vh, 128px);
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 clamp(0px, 1vw, 12px);
}

.archive-filters button {
    color: var(--inactive);
    text-transform: uppercase;
    font-size: clamp(46px, 4.65vw, 74px);
    line-height: 1.04;
    transition: color .28s ease;
}

.archive-filters button.is-active,
.archive-filters button:hover {
    color: var(--ink);
}

.archive-filters sup {
    padding-left: 7px;
    vertical-align: top;
    font-family: var(--display);
    font-style: italic;
    font-size: .27em;
}

.mobile-filters {
    display: none;
}

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

.work-detail {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: calc(var(--header-h) + clamp(40px, 5vh, 62px));
}

.work-gallery {
    order: 1;
    padding: 0 var(--gutter) 30px;
    display: flex;
    align-items: start;
    gap: clamp(16px, 1.6vw, 26px);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    cursor: grab;
    scrollbar-width: none;
}

.work-gallery::-webkit-scrollbar {
    display: none;
}

.work-gallery.is-dragging {
    cursor: grabbing;
    user-select: none;
}

.gallery-item {
    flex: 0 0 auto;
    height: min(72vh, 760px);
    display: flex;
    align-items: flex-start;
}

.gallery-media,
.gallery-item .media-placeholder {
    height: 100%;
    width: auto;
    max-width: none;
    object-fit: contain;
}

.gallery-item .media-placeholder {
    width: min(58vw, 720px);
}

.work-info {
    order: 2;
    border-top: 1px solid var(--line);
    padding: 18px var(--gutter) 26px;
    display: grid;
    grid-template-columns: 34% 34% 32%;
    gap: 22px;
}

.eyebrow {
    color: var(--muted);
    font-size: 14px;
    text-transform: uppercase;
}

.work-info h1 {
    margin-top: 6px;
    font-size: clamp(38px, 4vw, 64px);
    font-weight: 400;
    text-transform: uppercase;
}

.work-description {
    padding-top: 18px;
    max-width: 360px;
    font-family: var(--display);
    font-style: italic;
    font-size: clamp(24px, 2.2vw, 34px);
    line-height: 1.05;
}

.work-tags {
    padding-top: 20px;
    display: flex;
    justify-content: end;
    gap: 15px;
    flex-wrap: wrap;
    color: var(--muted);
    text-transform: uppercase;
}

.how-page {
    min-height: calc(100vh - var(--header-h));
    padding: clamp(126px, 17vh, 190px) var(--gutter) clamp(64px, 9vh, 94px);
    background-position: center;
}

.how-page-heading {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin-left: 33.333%;
}

.how-page-heading h1 {
    margin-top: 20px;
    font-family: var(--utility);
    font-size: clamp(58px, 7vw, 108px);
    font-weight: 400;
    line-height: .93;
    text-transform: uppercase;
}

.how-page-heading em {
    font-family: var(--display);
    font-style: italic;
    font-weight: 400;
    text-transform: none;
}

.how-sections {
    position: relative;
    z-index: 1;
    margin: clamp(84px, 14vh, 150px) 0 64px 33.333%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(24px, 4vw, 68px);
}

.how-sections span {
    font-family: var(--display);
    font-style: italic;
}

.how-sections h2 {
    margin: 9px 0 18px;
    font-size: clamp(31px, 2.5vw, 42px);
    font-weight: 400;
    text-transform: uppercase;
}

.how-sections p {
    color: var(--muted);
    font-size: clamp(18px, 1.6vw, 23px);
    line-height: 1.34;
}

.how-page > .inline-link {
    position: relative;
    z-index: 1;
    margin-left: 33.333%;
}

.contact-modal {
    position: fixed;
    z-index: 50;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity .3s ease;
}

.contact-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.contact-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 22%);
}

.contact-panel {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(490px, calc(100% - 40px));
    transform: translate(-50%, calc(-50% + 16px));
    background: white;
    border: 1px solid var(--line);
    padding: clamp(22px, 3vw, 30px);
    transition: transform .32s var(--ease);
}

.contact-modal.is-open .contact-panel {
    transform: translate(-50%, -50%);
}

.contact-close {
    position: absolute;
    top: 20px;
    right: 20px;
    text-transform: uppercase;
}

.contact-panel h2 {
    margin: 37px 0 42px;
    font-family: var(--display);
    font-size: clamp(43px, 4vw, 55px);
    font-style: italic;
    font-weight: 400;
    line-height: .95;
}

.contact-row {
    min-height: 58px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 22px;
    text-transform: uppercase;
}

.contact-row:last-child {
    border-bottom: 1px solid var(--line);
}

.contact-row.is-placeholder {
    color: var(--muted);
    cursor: default;
}

.generic-page {
    padding: 100px var(--gutter);
}

@media (max-width: 900px) {
    :root {
        --header-h: 54px;
    }

    .site-header {
        padding: 14px 16px;
    }

    .brand {
        font-size: 27px;
    }

    .brand-full {
        display: none;
    }

    .brand-mark {
        display: inline;
    }

    .primary-nav {
        gap: 15px;
        font-size: 16px;
    }

    .nav-social {
        display: none;
    }

    .hero {
        min-height: 590px;
    }

    .hero-title {
        bottom: 63px;
        width: calc(100% - 30px);
        font-size: clamp(34px, 10.5vw, 46px);
    }

    .hero-title span,
    .hero-title em {
        white-space: normal;
    }

    .draft-grid {
        background-image: linear-gradient(180deg, transparent calc(56% - .5px), var(--line) calc(56% - .5px), var(--line) calc(56% + .5px), transparent calc(56% + .5px));
    }

    .draft-grid::before {
        width: 120vw;
        top: 18%;
        right: -54vw;
    }

    .how-intro {
        min-height: auto;
        display: flex;
        flex-direction: column-reverse;
        padding: 86px 16px 20px;
    }

    .how-intro-copy {
        padding: 0 0 72px;
    }

    .how-intro-copy p {
        font-size: clamp(30px, 9vw, 44px);
    }

    .how-intro-media {
        align-self: stretch;
        width: 100%;
        padding: 0;
    }

    .featured-work {
        min-height: auto;
        display: block;
        padding: 72px 16px;
    }

    .featured-counter,
    .featured-names {
        display: none;
    }

    .featured-stack {
        gap: 34px;
        padding: 0;
    }

    .featured-card {
        opacity: .28;
        min-height: 0;
    }

    .featured-card .project-media {
        min-height: 0;
        aspect-ratio: .86;
    }

    .featured-card .project-cover,
    .featured-card .media-placeholder {
        min-height: 0;
        height: 100%;
    }

    .featured-keyword,
    .featured-service {
        position: static;
        display: block;
        transform: none;
        margin-bottom: 10px;
    }

    .featured-service {
        margin: 10px 0 0;
        text-align: right;
    }

    .featured-mobile-title {
        display: block;
        margin-top: 12px;
        font-family: var(--utility);
        font-size: clamp(29px, 8.5vw, 38px);
        font-weight: 400;
        line-height: 1;
        text-transform: uppercase;
    }

    .services {
        min-height: auto;
        padding: 56px 16px 62px;
    }

    .services-title {
        display: block;
        min-height: 0;
        margin-bottom: 68px;
        font-size: clamp(44px, 14vw, 64px);
    }

    .services-title span {
        display: block;
        width: auto;
        flex: none;
        max-width: none !important;
        text-align: left !important;
    }

    .services-grid {
        width: 100%;
        display: block;
    }

    .services-grid article {
        padding: 22px 0;
        border-top: 1px solid var(--line);
    }

    .services-grid article:last-child {
        border-bottom: 1px solid var(--line);
    }

    .contact-intro {
        min-height: 270px;
        padding: 50px 16px;
    }

    .contact-intro h2 {
        font-size: clamp(39px, 11vw, 54px);
    }

    .site-footer {
        min-height: auto;
        padding: 16px;
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .footer-reel-media {
        width: 100%;
    }

    .footer-credits {
        justify-content: start;
        order: 3;
    }

    .footer-nav {
        justify-self: start;
        align-items: start;
        font-size: clamp(55px, 18vw, 80px);
    }

    .works-archive {
        display: flex;
        flex-direction: column;
        padding: calc(var(--header-h) + 52px) 16px 60px;
        gap: 0;
    }

    .mobile-filters {
        position: sticky;
        z-index: 12;
        top: var(--header-h);
        display: flex;
        gap: 23px;
        padding: 13px 0 15px;
        margin-bottom: 30px;
        overflow-x: auto;
        color: var(--inactive);
        background: rgb(255 255 255 / 94%);
        border-bottom: 1px solid var(--line);
        scrollbar-width: none;
        white-space: nowrap;
        text-transform: uppercase;
        font-size: 24px;
    }

    .mobile-filters::-webkit-scrollbar {
        display: none;
    }

    .mobile-filters .is-active {
        color: var(--ink);
    }

    .archive-filters {
        display: none;
    }

    .works-column--right {
        padding: 0;
    }

    .project-card {
        margin-bottom: 34px;
    }

    .project-card h2 {
        font-size: clamp(28px, 9vw, 36px);
    }

    .project-preview-video {
        display: none;
    }

    .work-detail {
        display: flex;
        flex-direction: column;
        padding-top: calc(var(--header-h) + 34px);
    }

    .work-gallery {
        order: 2;
        display: block;
        padding: 0 16px 22px;
        overflow: visible;
        cursor: auto;
    }

    .gallery-item {
        width: 100%;
        height: auto;
        display: block;
        margin-bottom: 16px;
    }

    .gallery-media,
    .gallery-item .media-placeholder {
        width: 100%;
        height: auto;
        max-width: 100%;
        object-fit: contain;
    }

    .work-info {
        order: 1;
        padding: 18px 16px 34px;
        display: block;
    }

    .work-description {
        padding: 24px 0;
    }

    .work-tags {
        justify-content: start;
        padding-top: 0;
    }

    .how-page {
        padding: calc(var(--header-h) + 65px) 16px 66px;
    }

    .how-page-heading,
    .how-page > .inline-link {
        margin-left: 0;
    }

    .how-page-heading h1 {
        font-size: clamp(44px, 14vw, 64px);
    }

    .how-sections {
        margin: 70px 0 46px;
        display: block;
    }

    .how-sections article {
        padding: 26px 0;
        border-top: 1px solid var(--line);
    }

    .how-sections article:last-child {
        border-bottom: 1px solid var(--line);
    }

    .contact-panel {
        top: auto;
        bottom: 0;
        left: 0;
        width: 100%;
        transform: translateY(100%);
        border-bottom: 0;
    }

    .contact-modal.is-open .contact-panel {
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .hero-title.reveal,
    .hero-title.reveal.is-visible {
        transform: translateX(-50%);
    }
}
