@charset "UTF-8";

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */
:root {
    --bg: #f7f7f4;
    --text: #171717;
    --muted: #666663;
    --line: rgba(23, 23, 23, 0.20);
    --line-strong: rgba(23, 23, 23, 0.34);
    --serif: "Times New Roman", "Nimbus Roman No9 L", Georgia, serif;
    --sans: Arial, Helvetica, sans-serif;

    --page-pad: clamp(20px, 2.8vw, 56px);
    --header-h: 92px;
    --header-h-compact: 72px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img,
svg {
    display: block;
    max-width: 100%;
}

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

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.site-main {
    min-height: 70vh;
}

/* --------------------------------------------------------------------------
   Shared 12-column grid
   -------------------------------------------------------------------------- */
.site-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    width: 100%;
}

.site-header__inner,
.hero__grid,
.section-heading__grid,
.projects-grid,
.directions-grid,
.approach__grid,
.site-footer__inner {
    max-width: 1680px;
    margin-inline: auto;
}

.generic-page {
    padding: 80px var(--page-pad);
}

.generic-page__inner {
    width: min(100%, 1100px);
    margin-inline: auto;
}

.generic-entry__title {
    margin: 0 0 36px;
    font-family: var(--serif);
    font-size: clamp(44px, 5vw, 76px);
    font-weight: 400;
    line-height: 1;
}

.generic-entry__content {
    max-width: 760px;
    color: var(--muted);
}

.eyebrow {
    margin: 0;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.text-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    width: max-content;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--line-strong);
    font-size: 13px;
}

.text-link > :last-child {
    transition: transform 260ms var(--ease);
}

.text-link:hover > :last-child,
.text-link:focus-visible > :last-child {
    transform: translateX(5px);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--header-h);
    background: color-mix(in srgb, var(--bg) 96%, transparent);
    border-bottom: 1px solid var(--line);
    transition: height 320ms var(--ease), background-color 320ms var(--ease);
}

.site-header.is-compact {
    height: var(--header-h-compact);
}

.site-header__inner {
    height: 100%;
    align-items: center;
    padding-inline: var(--page-pad);
}

.site-brand {
    grid-column: 1 / span 4;
    justify-self: start;
    display: flex;
    align-items: center;
    min-width: 0;
}

.site-brand__image {
    width: clamp(220px, 21vw, 292px);
    height: auto;
    transition: width 320ms var(--ease);
}

.site-header.is-compact .site-brand__image {
    width: clamp(205px, 18vw, 250px);
}

.site-nav {
    grid-column: 6 / -1;
    justify-self: end;
}

.site-nav__list {
    display: flex;
    align-items: center;
    gap: clamp(28px, 3vw, 54px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav__link {
    position: relative;
    padding-block: 12px;
    font-size: 13px;
}

.site-nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 7px;
    height: 1px;
    background: currentColor;
    transition: right 260ms var(--ease);
}

.site-nav__link:hover::after,
.site-nav__link:focus-visible::after {
    right: 0;
}

.nav-toggle {
    display: none;
    appearance: none;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
    border-bottom: 1px solid var(--line);
}

.hero__grid {
    min-height: clamp(560px, calc(78vh - var(--header-h)), 760px);
}

.hero__copy {
    grid-column: 1 / span 5;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(70px, 7.4vw, 118px) var(--page-pad) clamp(68px, 6vw, 96px);
    border-right: 1px solid var(--line);
}

.hero__title {
    max-width: 690px;
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(54px, 5.35vw, 86px);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.035em;
}

.hero__lead {
    max-width: 430px;
    margin: clamp(44px, 5vw, 80px) 0 0;
    color: var(--muted);
    font-size: clamp(14px, 1.05vw, 16px);
    line-height: 1.65;
}

.hero__cta {
    margin-top: 56px;
}

.hero__media {
    grid-column: 6 / -1;
    min-width: 0;
    overflow: hidden;
}

.hero__placeholder {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 100%;
    padding: var(--page-pad);
    overflow: hidden;
    background:
        linear-gradient(135deg, transparent 0 27%, rgba(23,23,23,.07) 27.1% 27.3%, transparent 27.4%),
        linear-gradient(0deg, rgba(23,23,23,.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23,23,23,.09) 1px, transparent 1px),
        #deded9;
    background-size: auto, 42px 42px, 42px 42px, auto;
    color: rgba(23,23,23,.65);
}

.hero__placeholder::before {
    content: "";
    position: absolute;
    width: 54%;
    aspect-ratio: 1.45;
    right: 9%;
    top: 15%;
    border: 2px solid rgba(23,23,23,.55);
    border-bottom-width: 18px;
    transform: skewY(-4deg);
}

.hero__placeholder::after {
    content: "";
    position: absolute;
    left: 18%;
    right: 0;
    bottom: 0;
    height: 31%;
    background:
        linear-gradient(134deg, transparent 0 20%, rgba(23,23,23,.18) 20.3% 21.2%, transparent 21.5%),
        linear-gradient(90deg, rgba(23,23,23,.38), rgba(23,23,23,.06));
    clip-path: polygon(21% 0, 100% 0, 100% 100%, 0 100%);
}

.hero__placeholder span,
.hero__placeholder small {
    position: relative;
    z-index: 2;
}

.hero__placeholder span {
    font-family: var(--serif);
    font-size: 30px;
}

.hero__placeholder small {
    margin-top: 4px;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Shared section heading
   -------------------------------------------------------------------------- */
.section-heading {
    border-bottom: 1px solid var(--line);
}

.section-heading__grid {
    min-height: 72px;
    align-items: center;
    padding-inline: var(--page-pad);
}

.section-heading__title {
    grid-column: 1 / span 6;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-plus {
    font-size: 18px;
    font-weight: 300;
    line-height: 1;
}

.section-heading__link {
    grid-column: 9 / -1;
    justify-self: end;
}

/* --------------------------------------------------------------------------
   Projects
   -------------------------------------------------------------------------- */
.projects-section {
    border-bottom: 1px solid var(--line);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding-inline: var(--page-pad);
}

.project-card {
    min-width: 0;
    border-right: 1px solid var(--line);
}

.project-card:first-child {
    border-left: 1px solid var(--line);
}

.project-card__link {
    display: block;
}

.project-card__media {
    overflow: hidden;
    aspect-ratio: 1 / 1.05;
    border-bottom: 1px solid var(--line);
}

.project-card__placeholder {
    display: grid;
    place-items: center;
    height: 100%;
    background:
        linear-gradient(135deg, rgba(23,23,23,.05), transparent 55%),
        #d7d7d1;
    font-family: var(--serif);
    font-size: clamp(54px, 5vw, 84px);
    color: rgba(23,23,23,.18);
    transition: transform 520ms var(--ease);
}

.project-card__link:hover .project-card__placeholder,
.project-card__link:focus-visible .project-card__placeholder {
    transform: scale(1.025);
}

.project-card__body {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    min-height: 132px;
    padding: 15px 14px 18px;
}

.project-card__title {
    margin: 0 0 13px;
    font-size: 14px;
    font-weight: 500;
}

.project-card__meta,
.project-card__place {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.55;
}

.project-card__arrow {
    align-self: flex-end;
    transition: transform 260ms var(--ease);
}

.project-card__link:hover .project-card__arrow,
.project-card__link:focus-visible .project-card__arrow {
    transform: translateX(5px);
}

/* --------------------------------------------------------------------------
   Directions
   -------------------------------------------------------------------------- */
.directions {
    border-bottom: 1px solid var(--line);
}

.directions-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 0 var(--page-pad);
}

.direction-card {
    min-height: 286px;
    padding: 28px 22px 40px;
    border-right: 1px solid var(--line);
}

.direction-card:first-child {
    border-left: 1px solid var(--line);
}

.direction-card__number {
    display: block;
    margin-bottom: 28px;
    font-family: var(--serif);
    font-size: 33px;
    line-height: 1;
}

.direction-card__title {
    margin: 0 0 18px;
    font-size: 15px;
    font-weight: 500;
}

.direction-card__text {
    max-width: 260px;
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Approach
   -------------------------------------------------------------------------- */
.approach {
    border-bottom: 1px solid var(--line);
}

.approach__grid {
    min-height: 360px;
    padding-inline: var(--page-pad);
}

.approach__drawing {
    grid-column: 1 / span 6;
    display: grid;
    align-items: center;
    padding: 44px 50px 44px 0;
    border-right: 1px solid var(--line);
    color: rgba(23,23,23,.58);
}

.approach__drawing svg {
    width: 100%;
}

.approach__copy {
    grid-column: 7 / -1;
    display: grid;
    align-content: center;
    gap: 22px;
    padding: 48px 0 48px clamp(38px, 4vw, 72px);
}

.approach__copy p {
    max-width: 620px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
    padding-inline: var(--page-pad);
}

.site-footer__inner {
    min-height: 180px;
}

.site-footer__contacts,
.site-footer__brand,
.site-footer__socials {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.site-footer__contacts {
    grid-column: 1 / span 4;
    gap: 5px;
    padding-right: 24px;
    border-right: 1px solid var(--line);
    font-size: 11px;
}

.site-footer__contacts .eyebrow,
.site-footer__socials .eyebrow {
    margin-bottom: 12px;
}

.site-footer__brand {
    grid-column: 5 / span 5;
    align-items: center;
    gap: 15px;
    padding: 24px 40px;
}

.site-footer__brand img {
    width: min(260px, 100%);
}

.site-footer__brand small {
    color: var(--muted);
    font-size: 10px;
}

.site-footer__socials {
    grid-column: 10 / -1;
    gap: 5px;
    padding-left: 32px;
    border-left: 1px solid var(--line);
    font-size: 11px;
}

/* --------------------------------------------------------------------------
   Tablet
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
    :root {
        --header-h: 82px;
        --header-h-compact: 70px;
    }

    .site-brand {
        grid-column: 1 / span 5;
    }

    .site-nav {
        grid-column: 6 / -1;
    }

    .site-nav__list {
        gap: 24px;
    }

    .hero__copy {
        grid-column: 1 / span 5;
    }

    .hero__media {
        grid-column: 6 / -1;
    }

    .projects-grid,
    .directions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .project-card:nth-child(odd),
    .direction-card:nth-child(odd) {
        border-left: 1px solid var(--line);
    }

    .project-card:nth-child(-n+2),
    .direction-card:nth-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }
}

/* --------------------------------------------------------------------------
   Mobile
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
    :root {
        --page-pad: 18px;
        --header-h: 72px;
        --header-h-compact: 64px;
    }

    body.nav-open {
        overflow: hidden;
    }

    .site-header__inner {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .site-brand {
        grid-column: 1 / span 3;
    }

    .site-brand__image,
    .site-header.is-compact .site-brand__image {
        width: min(205px, 100%);
    }

    .nav-toggle {
        grid-column: 4;
        justify-self: end;
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        width: 44px;
        height: 44px;
        padding: 10px;
    }

    .nav-toggle__line {
        display: block;
        width: 24px;
        height: 1px;
        background: currentColor;
        transition: transform 260ms var(--ease);
    }

    .nav-toggle[aria-expanded="true"] .nav-toggle__line:first-child {
        transform: translateY(3.5px) rotate(45deg);
    }

    .nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(2) {
        transform: translateY(-3.5px) rotate(-45deg);
    }

    .site-nav {
        position: fixed;
        inset: var(--header-h) 0 0;
        display: none;
        width: 100%;
        padding: 32px var(--page-pad);
        background: var(--bg);
        border-top: 1px solid var(--line);
    }

    .site-header.is-compact .site-nav {
        inset-block-start: var(--header-h-compact);
    }

    .site-nav.is-open {
        display: block;
    }

    .site-nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .site-nav__item {
        border-bottom: 1px solid var(--line);
    }

    .site-nav__link {
        display: flex;
        align-items: center;
        min-height: 62px;
        font-family: var(--serif);
        font-size: 28px;
    }

    .site-nav__link::after {
        display: none;
    }

    .hero__grid {
        display: block;
        min-height: 0;
    }

    .hero__copy {
        min-height: 500px;
        padding: 58px var(--page-pad) 38px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .hero__title {
        font-size: clamp(46px, 14vw, 68px);
        line-height: .98;
    }

    .hero__lead {
        max-width: 340px;
        margin-top: 44px;
    }

    .hero__media {
        min-height: min(100vw, 580px);
    }

    .section-heading__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        min-height: 64px;
    }

    .section-heading__title {
        grid-column: 1 / span 3;
    }

    .section-heading__link {
        grid-column: 4;
        justify-self: end;
        overflow: hidden;
        width: 24px;
        padding-bottom: 0;
        border-bottom: 0;
    }

    .section-heading__link span:first-child {
        display: none;
    }

    .projects-grid,
    .directions-grid {
        display: block;
        padding-inline: var(--page-pad);
    }

    .project-card,
    .project-card:first-child,
    .project-card:nth-child(odd),
    .direction-card,
    .direction-card:first-child,
    .direction-card:nth-child(odd) {
        border-left: 1px solid var(--line);
        border-right: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
    }

    .project-card:last-child,
    .direction-card:last-child {
        border-bottom: 0;
    }

    .project-card__media {
        aspect-ratio: 4 / 3;
    }

    .project-card__body {
        min-height: 126px;
        padding: 16px 14px 18px;
    }

    .direction-card {
        min-height: 0;
        padding: 26px 18px 30px;
    }

    .direction-card__number {
        margin-bottom: 16px;
        font-size: 31px;
    }

    .direction-card__title {
        margin-bottom: 10px;
        font-size: 17px;
    }

    .direction-card__text {
        max-width: 420px;
    }

    .approach__grid {
        display: block;
        padding-inline: var(--page-pad);
    }

    .approach__drawing {
        padding: 28px 0 30px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .approach__copy {
        padding: 34px 0 44px;
    }

    .site-footer__inner {
        display: block;
    }

    .site-footer__contacts,
    .site-footer__brand,
    .site-footer__socials {
        min-height: 150px;
        padding: 28px 0;
        border: 0;
        border-bottom: 1px solid var(--line);
    }

    .site-footer__brand {
        align-items: flex-start;
    }

    .site-footer__brand img {
        width: 220px;
    }
}


/* --------------------------------------------------------------------------
   Real project images
   -------------------------------------------------------------------------- */
.project-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 520ms var(--ease);
}

.project-card__link:hover .project-card__image,
.project-card__link:focus-visible .project-card__image {
    transform: scale(1.025);
}

.project-card--placeholder {
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   Projects archive
   -------------------------------------------------------------------------- */
.projects-archive {
    border-bottom: 1px solid var(--line);
}

.archive-hero {
    border-bottom: 1px solid var(--line);
}

.archive-hero__grid {
    min-height: 330px;
    padding-inline: var(--page-pad);
}

.archive-hero__title-wrap {
    grid-column: 1 / span 7;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 60px 60px 52px 0;
    border-right: 1px solid var(--line);
}

.archive-hero__title {
    margin: 24px 0 0;
    font-family: var(--serif);
    font-size: clamp(64px, 8vw, 126px);
    font-weight: 400;
    line-height: .9;
    letter-spacing: -.045em;
}

.archive-hero__intro {
    grid-column: 8 / -1;
    display: flex;
    align-items: flex-end;
    padding: 60px 0 54px clamp(36px, 4vw, 70px);
}

.archive-hero__intro p {
    max-width: 470px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.project-filters {
    border-bottom: 1px solid var(--line);
}

.project-filters__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 30px;
    max-width: 1680px;
    min-height: 68px;
    margin-inline: auto;
    padding: 18px var(--page-pad);
    align-items: center;
}

.project-filter {
    position: relative;
    padding: 6px 0;
    color: var(--muted);
    font-size: 12px;
}

.project-filter::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 2px;
    height: 1px;
    background: currentColor;
    transition: right 240ms var(--ease);
}

.project-filter:hover::after,
.project-filter:focus-visible::after,
.project-filter.is-active::after {
    right: 0;
}

.project-filter.is-active {
    color: var(--text);
}

.projects-grid--archive {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-bottom: 1px solid var(--line);
}

.projects-grid--archive .project-card:nth-child(4n+1) {
    border-left: 0;
}

.projects-grid--archive .project-card:nth-child(3n+1) {
    border-left: 1px solid var(--line);
}

.projects-grid--archive .project-card {
    border-bottom: 1px solid var(--line);
}

.projects-pagination {
    max-width: 1680px;
    margin-inline: auto;
    padding: 30px var(--page-pad) 60px;
}

.projects-pagination .nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 12px;
}

.projects-pagination .page-numbers {
    padding: 6px 0;
    color: var(--muted);
}

.projects-pagination .current {
    color: var(--text);
    border-bottom: 1px solid var(--text);
}

.archive-empty {
    max-width: 1680px;
    min-height: 260px;
    margin-inline: auto;
    padding: 60px var(--page-pad);
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   Single project
   -------------------------------------------------------------------------- */
.single-project {
    border-bottom: 1px solid var(--line);
}

.project-hero {
    border-bottom: 1px solid var(--line);
}

.project-hero__grid {
    min-height: 520px;
    padding-inline: var(--page-pad);
}

.project-hero__title-wrap {
    grid-column: 1 / span 8;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 72px clamp(40px, 5vw, 84px) 58px 0;
    border-right: 1px solid var(--line);
}

.project-hero__kicker {
    margin-bottom: 28px;
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.project-hero__title {
    max-width: 1050px;
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(58px, 7vw, 112px);
    font-weight: 400;
    line-height: .92;
    letter-spacing: -.045em;
}

.project-hero__lead {
    max-width: 620px;
    margin: 40px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.project-facts {
    grid-column: 9 / -1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin: 0;
    padding: 52px 0 58px clamp(34px, 4vw, 60px);
}

.project-fact {
    display: grid;
    grid-template-columns: minmax(80px, .8fr) 1.4fr;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.project-fact:first-child {
    border-top: 1px solid var(--line);
}

.project-fact dt,
.project-fact dd {
    margin: 0;
    font-size: 11px;
    line-height: 1.45;
}

.project-fact dt {
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .08em;
}

.project-cover {
    max-width: 1680px;
    margin: 0 auto;
    padding: var(--page-pad);
    border-bottom: 1px solid var(--line);
}

.project-cover__image {
    width: 100%;
    height: min(74vw, 1050px);
    object-fit: cover;
}

.project-content-wrap {
    max-width: 1680px;
    margin-inline: auto;
    padding: clamp(70px, 8vw, 130px) var(--page-pad);
}

.project-content {
    width: min(100%, 860px);
    margin-left: min(17vw, 250px);
}

.project-content > :first-child {
    margin-top: 0;
}

.project-content > :last-child {
    margin-bottom: 0;
}

.project-content p {
    max-width: 760px;
    font-size: clamp(16px, 1.35vw, 20px);
    line-height: 1.75;
}

.project-content h2 {
    margin: 90px 0 28px;
    font-family: var(--serif);
    font-size: clamp(38px, 4vw, 64px);
    font-weight: 400;
    line-height: 1;
}

.project-content h3 {
    margin: 62px 0 22px;
    font-size: 18px;
    font-weight: 500;
}

.project-content figure {
    width: min(1320px, calc(100vw - (2 * var(--page-pad))));
    max-width: none;
    margin: 70px 0 70px max(-17vw, -250px);
}

.project-content figure img {
    width: 100%;
    height: auto;
}

.project-content .wp-block-gallery {
    gap: 12px;
}

.project-next-prev {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1680px;
    min-height: 160px;
    margin-inline: auto;
    border-top: 1px solid var(--line);
}

.project-next-prev__item {
    display: flex;
    align-items: stretch;
}

.project-next-prev__item:first-child {
    border-right: 1px solid var(--line);
}

.project-next-prev__item > a {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 34px var(--page-pad);
}

.project-next-prev__item--next {
    text-align: right;
}

.project-next-prev__item span {
    color: var(--muted);
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.project-next-prev__item strong {
    font-family: var(--serif);
    font-size: clamp(25px, 2.5vw, 38px);
    font-weight: 400;
}

/* --------------------------------------------------------------------------
   Stage 3 responsive additions
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
    .projects-grid--archive {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .projects-grid--archive .project-card:nth-child(3n+1) {
        border-left: 0;
    }

    .projects-grid--archive .project-card:nth-child(odd) {
        border-left: 1px solid var(--line);
    }

    .project-hero__title-wrap {
        grid-column: 1 / span 7;
    }

    .project-facts {
        grid-column: 8 / -1;
    }

    .project-content {
        margin-left: 8vw;
    }

    .project-content figure {
        margin-left: -8vw;
    }
}

@media (max-width: 767px) {
    .archive-hero__grid,
    .project-hero__grid {
        display: block;
    }

    .archive-hero__title-wrap,
    .project-hero__title-wrap {
        min-height: 320px;
        padding: 54px 0 38px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .archive-hero__title {
        font-size: clamp(62px, 23vw, 96px);
    }

    .archive-hero__intro {
        padding: 30px 0 36px;
    }

    .projects-grid--archive {
        display: block;
    }

    .projects-grid--archive .project-card,
    .projects-grid--archive .project-card:nth-child(odd),
    .projects-grid--archive .project-card:nth-child(3n+1) {
        border-left: 1px solid var(--line);
    }

    .project-hero__title {
        font-size: clamp(52px, 16vw, 78px);
    }

    .project-facts {
        padding: 34px 0 42px;
    }

    .project-cover {
        padding: var(--page-pad);
    }

    .project-cover__image {
        height: min(110vw, 680px);
    }

    .project-content-wrap {
        padding: 58px var(--page-pad) 74px;
    }

    .project-content {
        width: 100%;
        margin-left: 0;
    }

    .project-content figure {
        width: 100%;
        margin: 50px 0;
    }

    .project-next-prev {
        display: block;
    }

    .project-next-prev__item {
        min-height: 130px;
    }

    .project-next-prev__item:first-child {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }
}


/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
