/* assets/css/home-hero.css */
/* Stage 1 only. Image and font pairing are provisional. */
.acre-skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 10000;
    padding: 10px 14px;
    background: #F3F0E8;
    color: #18261B;
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    transform: translateY(calc(-100% - 24px));
}

.acre-skip-link:focus {
    color: #18261B;
    outline: 2px solid #18261B !important;
    outline-offset: 2px;
    transform: translateY(0);
}

#main-content:focus {
    outline: none;
}

.acre-hero {
    --acre-green: #18261B;
    --acre-ivory: #F3F0E8;
    --acre-gutter: clamp(24px, 5vw, 88px);
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    min-height: 100svh;
    background: var(--acre-green);
    color: var(--acre-ivory);
    font-family: 'Manrope', sans-serif;
}

/* Override the legacy #slider stacking level so the fixed header masks normal page content. */
#slider.acre-hero {
    z-index: 2;
}

.acre-hero .acre-hero__image {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.acre-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(24, 38, 27, 0.80) 0%, rgba(24, 38, 27, 0.72) 33%, rgba(24, 38, 27, 0.46) 60%, rgba(24, 38, 27, 0.18) 100%);
    pointer-events: none;
}

.acre-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 32px var(--acre-gutter);
    background: transparent;
    transition: background-color 200ms ease;
    font-family: 'Manrope', sans-serif;
}

.acre-header.acre-header--scrolled {
    background: var(--acre-green);
}

.acre-header .acre-header__brand img {
    display: block;
    width: 135px;
    height: auto;
}

.acre-header a,
.acre-hero .acre-hero__scroll {
    color: var(--acre-ivory);
    text-decoration: none;
    transition: opacity 160ms ease;
}

.acre-header a:hover,
.acre-hero .acre-hero__scroll:hover {
    color: var(--acre-ivory);
    opacity: 0.75;
}

.acre-header a:focus-visible,
.acre-header button:focus-visible,
.acre-hero .acre-hero__scroll:focus-visible {
    outline: 1px solid currentColor !important;
    outline-offset: 6px;
}

.acre-header .acre-header__brand {
    font-size: 20px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: 0.07em;
    flex-shrink: 0;
}

.acre-header .acre-header__navigation {
    display: flex;
    align-items: center;
    gap: clamp(20px, 2.4vw, 40px);
}

.acre-header .acre-header__navigation a {
    font-size: 12px;
    line-height: 1.5;
    font-weight: 500;
    letter-spacing: 0.09em;
}

.acre-header .acre-header__toggle {
    display: none;
}

.acre-hero .acre-hero__content {
    padding: 33vh var(--acre-gutter) 170px;
    padding-top: 33svh;
}

.acre-hero .acre-hero__content h1 {
    margin: 0 0 22px;
    color: var(--acre-ivory);
    font-family: 'DM Serif Display', Georgia, serif;
    font-optical-sizing: auto;
    font-size: clamp(43.2px, 4.95vw, 79.2px);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.acre-hero .acre-hero__content p {
    margin: 0;
    color: var(--acre-ivory);
    font-family: 'Manrope', sans-serif;
    font-size: clamp(14px, 1.2vw, 18px);
    font-weight: 400;
    line-height: 1.65;
    opacity: 1;
}

.acre-hero .acre-hero__scroll {
    position: absolute;
    left: var(--acre-gutter);
    bottom: 48px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
    font-size: 10px;
    line-height: 1;
    letter-spacing: 0.1em;
}

.acre-hero .acre-hero__arrow {
    position: relative;
    width: 1px;
    height: 20px;
    margin-left: 5px;
    background: currentColor;
}

.acre-hero .acre-hero__arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -3px;
    width: 7px;
    height: 7px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg);
}

@media (max-width: 767px) {
    .acre-header {
        padding-top: 26px;
        padding-bottom: 26px;
        gap: 16px;
    }

    .acre-header .acre-header__brand {
        font-size: 18px;
    }

    .acre-header .acre-header__brand img {
        width: 122px;
    }

    .acre-header .acre-header__toggle {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 8px 0 8px 8px;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: var(--acre-ivory);
        font-family: 'Manrope', sans-serif;
        font-size: 10px;
        font-weight: 500;
        line-height: 1;
        letter-spacing: 0.1em;
        cursor: pointer;
    }

    .acre-header .acre-header__menu-icon {
        display: flex;
        flex-direction: column;
        gap: 5px;
        width: 21px;
    }

    .acre-header .acre-header__menu-icon span {
        display: block;
        height: 1px;
        background: currentColor;
    }

    .acre-header .acre-header__navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 12px var(--acre-gutter) 28px;
        background: var(--acre-green);
        border-top: 1px solid rgba(243, 240, 232, 0.2);
    }

    .acre-header.acre-header--open {
        background: var(--acre-green);
    }

    .acre-header.acre-header--open .acre-header__navigation {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .acre-header .acre-header__navigation a {
        padding: 14px 0;
        font-size: 12px;
    }

    .acre-hero .acre-hero__content {
        padding-top: 34vh;
        padding-top: 34svh;
        padding-bottom: 150px;
    }

    .acre-hero .acre-hero__content h1 {
        font-size: clamp(27px, 8.3vw, 58px);
        line-height: 1.12;
        margin-bottom: 20px;
    }

    .acre-hero .acre-hero__content p {
        font-size: 14px;
    }

    .acre-hero .acre-hero__scroll {
        bottom: 36px;
    }
}

@media (min-width: 768px) and (max-width: 820px) {
    .acre-header .acre-header__toggle {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 8px 0 8px 8px;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: var(--acre-ivory);
        font-family: 'Manrope', sans-serif;
        font-size: 10px;
        font-weight: 500;
        line-height: 1;
        letter-spacing: 0.1em;
        cursor: pointer;
    }

    .acre-header .acre-header__menu-icon {
        display: flex;
        width: 21px;
        flex-direction: column;
        gap: 5px;
    }

    .acre-header .acre-header__menu-icon span {
        display: block;
        height: 1px;
        background: currentColor;
    }

    .acre-header .acre-header__navigation {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        padding: 12px var(--acre-gutter) 28px;
        border-top: 1px solid rgba(243, 240, 232, 0.2);
        background: var(--acre-green);
    }

    .acre-header.acre-header--open {
        background: var(--acre-green);
    }

    .acre-header.acre-header--open .acre-header__navigation {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .acre-header .acre-header__navigation a {
        padding: 14px 0;
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .acre-header,
    .acre-header a,
    .acre-hero .acre-hero__scroll {
        transition: none;
    }
}

/* assets/css/home-contact-footer.css */
.acre-contact.acre-contact--illustrated {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.acre-contact {
    margin: 0;
    padding: clamp(68px, 6.5vw, 104px) clamp(24px, 5vw, 88px) clamp(66px, 6vw, 96px);
    background: #18261B;
    color: #F3F0E8;
}

.acre-contact.acre-contact--illustrated .acre-contact__inner {
    position: relative;
    z-index: 1;
}

.acre-contact .acre-contact__inner {
    max-width: 1600px;
    margin: 0 auto;
}

.acre-contact .acre-contact__stencil {
    position: absolute;
    z-index: 0;
    bottom: clamp(-52px, -3vw, -28px);
    right: clamp(24px, 5vw, 88px);
    display: block;
    width: min(38vw, 620px);
    height: auto;
    opacity: 0.48;
    pointer-events: none;
}

.acre-contact h2 {
    max-width: 980px;
    margin: 0;
    color: #F3F0E8;
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(58px, 7.4vw, 118px);
    font-weight: 400;
    line-height: 0.88;
    letter-spacing: -0.045em;
}

.acre-contact h2 span {
    display: block;
}

.acre-contact p {
    margin: clamp(38px, 4vw, 62px) 0 0;
    color: #F3F0E8;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(15px, 1.2vw, 18px);
    font-weight: 400;
    line-height: 1.6;
}

.acre-contact a {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(243, 240, 232, 0.55);
    color: #F3F0E8;
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: border-color 180ms ease, opacity 180ms ease;
}

.acre-contact a:hover {
    border-color: #F3F0E8;
    color: #F3F0E8;
    opacity: 0.78;
}

.acre-contact a:focus-visible {
    outline: 1px solid #F3F0E8;
    outline-offset: 7px;
}

.acre-footer {
    margin: 0;
    padding: 0 clamp(24px, 5vw, 88px) clamp(24px, 2.5vw, 40px);
    background: #18261B;
    color: #F3F0E8;
    font-family: 'Manrope', sans-serif;
}

.acre-footer .acre-footer__inner {
    max-width: 1600px;
    margin: 0 auto;
    padding-top: clamp(34px, 3.5vw, 54px);
    border-top: 1px solid rgba(243, 240, 232, 0.24);
}

.acre-footer .acre-footer__grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr 1.4fr auto;
    gap: clamp(28px, 4vw, 72px);
    align-items: start;
}

.acre-footer .acre-footer__brand {
    display: inline-flex;
    width: fit-content;
}

.acre-footer .acre-footer__brand img {
    display: block;
    width: 135px;
    height: auto;
}

.acre-footer .acre-footer__address,
.acre-footer .acre-footer__contact {
    margin: 0;
    color: rgba(243, 240, 232, 0.8);
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.7;
}

.acre-footer .acre-footer__address span {
    display: block;
}

.acre-footer a {
    color: inherit;
    text-decoration: none;
}

.acre-footer a:hover {
    color: #F3F0E8;
}

.acre-footer a:focus-visible {
    outline: 1px solid #F3F0E8;
    outline-offset: 5px;
}

.acre-footer .acre-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 9px;
}

.acre-footer .acre-footer__rics {
    display: block;
    width: 116px;
    height: auto;
    opacity: 0.88;
}

.acre-footer .acre-footer__utility {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px 48px;
    margin-top: clamp(30px, 3vw, 46px);
    padding-top: 18px;
    border-top: 1px solid rgba(243, 240, 232, 0.14);
    color: rgba(243, 240, 232, 0.6);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.5;
}

.acre-footer .acre-footer__statutory {
    max-width: 920px;
}

.acre-footer .acre-footer__legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 18px;
}

@media (max-width: 767px) {
    .acre-contact {
        padding-top: 68px;
        padding-bottom: 66px;
    }

    .acre-contact h2 {
        font-size: clamp(49px, 15vw, 70px);
        line-height: 0.92;
    }

    .acre-contact p {
        margin-top: 36px;
    }

    .acre-contact .acre-contact__stencil {
        right: -13vw;
        bottom: -18px;
        display: block;
        width: min(74vw, 430px);
        opacity: 0.2;
    }

    .acre-footer {
        padding-bottom: 28px;
    }

    .acre-footer .acre-footer__inner {
        padding-top: 34px;
    }

    .acre-footer .acre-footer__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 30px 20px;
    }

    .acre-footer .acre-footer__brand,
    .acre-footer .acre-footer__rics {
        align-self: start;
    }

    .acre-footer .acre-footer__rics {
        width: 100px;
    }

    .acre-footer .acre-footer__utility {
        grid-template-columns: minmax(0, 1fr);
        gap: 7px;
        margin-top: 30px;
    }

    .acre-footer .acre-footer__legal {
        justify-content: flex-start;
    }
}

@media (max-width: 419px) {
    .acre-footer .acre-footer__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 25px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .acre-contact a {
        transition: none;
    }
}

/* assets/css/internal-page-shell.css */
/* Shared internal-page shell. Project-profile styling will be added after Stage 11C approval. */
.acre-internal-page {
    --acre-green: #18261B;
    --acre-ivory: #F3F0E8;
    --acre-gutter: clamp(24px, 5vw, 88px);
    margin: 0;
    background: var(--acre-ivory);
    color: var(--acre-green);
}

.acre-internal-page,
.acre-internal-page *,
.acre-internal-page *::before,
.acre-internal-page *::after {
    box-sizing: border-box;
}

.acre-internal-page .acre-header {
    background: var(--acre-green);
}

.acre-internal-page #main-content {
    padding-top: 84px;
}

/* assets/css/project-profile.css */
.acre-project {
    background: #F3F0E8;
    color: #18261B;
    font-family: 'Manrope', sans-serif;
}

.acre-project-hero {
    min-height: min(620px, calc(100svh - 84px));
    padding: 0 var(--acre-gutter);
    background: #18261B;
    color: #F3F0E8;
    overflow: hidden;
}

.acre-project-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 60%) minmax(0, 40%);
    width: 100%;
    max-width: 1600px;
    min-height: min(620px, calc(100svh - 84px));
    margin: 0 auto;
}

.acre-project-hero__copy {
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    padding: clamp(30px, 3.3vw, 50px) clamp(24px, 3vw, 48px) clamp(28px, 3vw, 46px) 0;
}

.acre-project__breadcrumb {
    margin: 0;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.acre-project__breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.acre-project__breadcrumb a:hover {
    opacity: 0.72;
}

.acre-project-hero__title {
    margin: clamp(24px, 4vh, 44px) 0;
}

.acre-project-hero h1 {
    max-width: 680px;
    margin: 0;
    color: #F3F0E8;
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(52px, 4.7vw, 82px);
    font-weight: 400;
    line-height: 0.94;
    letter-spacing: -0.05em;
    text-transform: uppercase;
}

.acre-project-hero__title > p {
    margin: 18px 0 0;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.acre-project__facts {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(min-content, 1.05fr) minmax(0, 1.65fr) minmax(0, 0.85fr);
    width: calc(100% + clamp(24px, 3vw, 48px));
    margin: 0;
    border-top: 1px solid rgba(243, 240, 232, 0.32);
}

.acre-project__facts--3 {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.8fr) minmax(0, 1.8fr);
}

.acre-project__facts--5 {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.3fr) minmax(0, 1.8fr) minmax(0, 0.85fr) minmax(0, 0.65fr);
}

.acre-project__facts > div {
    min-width: 0;
    padding: 15px 15px 0 0;
}

.acre-project__facts > div + div {
    padding-left: 15px;
    border-left: 1px solid rgba(243, 240, 232, 0.22);
}

.acre-project__facts dt,
.acre-project__facts dd {
    margin: 0;
}

.acre-project__facts dt {
    font-size: 10px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.acre-project__facts dd {
    margin-top: 7px;
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(16px, 1.15vw, 21px);
    font-weight: 400;
    line-height: 1.2;
    overflow-wrap: break-word;
    word-break: normal;
    white-space: normal;
}

.acre-project-hero__visual,
.acre-project-hero__visual picture {
    display: block;
    width: 100%;
    height: 100%;
}

.acre-project-hero__visual {
    position: relative;
    min-width: 0;
}

.acre-project-hero__visual img {
    position: absolute;
    right: 0;
    bottom: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: right bottom;
}

.acre-project__experience {
    background: #F3F0E8;
    padding: clamp(54px, 6vw, 90px) var(--acre-gutter) 0;
}

.acre-project__tabs,
.acre-project__pagination {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

.acre-project__tabs {
    display: grid;
    grid-template-columns: minmax(155px, 18%) minmax(0, 82%);
    min-height: clamp(470px, 45vw, 650px);
    background: #18261B;
}

.acre-project__tablist {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: clamp(34px, 3.5vw, 54px) clamp(22px, 2.7vw, 42px);
    border-right: 1px solid rgba(243, 240, 232, 0.22);
}

.acre-project__tablist button {
    position: relative;
    width: 100%;
    min-height: 44px;
    padding: 13px 0;
    border: 0;
    background: transparent;
    color: rgba(243, 240, 232, 0.66);
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.1em;
    text-align: left;
    cursor: pointer;
}

.acre-project__tablist button[aria-selected='true'] {
    color: #F3F0E8;
}

.acre-project__tablist button[aria-selected='true']::after {
    position: absolute;
    right: 0;
    bottom: 7px;
    left: 0;
    height: 1px;
    background: rgba(243, 240, 232, 0.68);
    content: '';
}

.acre-project__tablist button:hover {
    color: #F3F0E8;
}

.acre-project__tablist button:focus-visible,
.acre-project__panel:focus-visible,
.acre-project__breadcrumb a:focus-visible,
.acre-project__pagination a:focus-visible {
    outline: 1px solid currentColor;
    outline-offset: 5px;
}

.acre-project__panels {
    min-width: 0;
    background: #F3F0E8;
}

.acre-project__panel {
    min-height: 100%;
    padding: clamp(38px, 4.5vw, 72px);
}

.acre-project__panel[hidden] {
    display: none;
}

.acre-project__panel h2 {
    margin: 0 0 clamp(24px, 2.5vw, 38px);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.11em;
}

.acre-project__panel--project {
    display: grid;
    grid-template-columns: minmax(0, 44%) minmax(0, 56%);
    gap: clamp(34px, 4vw, 68px);
    align-items: center;
}

.acre-project__narrative p {
    max-width: 540px;
    margin: 0;
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(25px, 2vw, 34px);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.acre-project__narrative .acre-project__description {
    margin-top: clamp(24px, 2.5vw, 38px);
    font-family: 'Manrope', Arial, sans-serif;
    font-size: clamp(14px, 1vw, 17px);
    line-height: 1.65;
    letter-spacing: 0;
}

.acre-project__overview-image,
.acre-project__overview-image picture,
.acre-project__overview-image img {
    display: block;
    width: 100%;
}

.acre-project__overview-image {
    justify-self: end;
    max-width: 510px;
}

.acre-project__overview-image img {
    max-height: 480px;
    object-fit: cover;
}

.acre-project--britannia-street .acre-project__overview-image img {
    height: auto;
    max-height: none;
    object-fit: contain;
}

.acre-project__panel--role > p {
    max-width: 610px;
    margin: clamp(48px, 7vw, 105px) 0 0;
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(27px, 2.4vw, 40px);
    line-height: 1.2;
}

.acre-project__panel--role > .acre-project__current-position {
    margin-top: clamp(24px, 2.5vw, 38px);
    font-family: 'Manrope', Arial, sans-serif;
    font-size: clamp(14px, 1vw, 17px);
    line-height: 1.65;
}

.acre-project__pending {
    color: rgba(24, 38, 27, 0.68);
}

.acre-project__team {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    border-top: 1px solid rgba(24, 38, 27, 0.4);
}

.acre-project__team > div {
    display: grid;
    grid-template-columns: minmax(105px, 0.75fr) minmax(0, 1.25fr);
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(24, 38, 27, 0.22);
}

.acre-project__team > div:nth-child(odd) {
    padding-right: clamp(20px, 2.5vw, 42px);
}

.acre-project__team > div:nth-child(even) {
    padding-left: clamp(20px, 2.5vw, 42px);
    border-left: 1px solid rgba(24, 38, 27, 0.22);
}

.acre-project__team dt,
.acre-project__team dd {
    margin: 0;
}

.acre-project__team dt {
    font-size: 10px;
    line-height: 1.5;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.acre-project__team dd {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(17px, 1.2vw, 21px);
    line-height: 1.25;
}

.acre-project__gallery {
    column-count: 3;
    column-gap: clamp(12px, 1.4vw, 22px);
}

.acre-project__gallery-item,
.acre-project__gallery-item picture,
.acre-project__gallery-item img {
    display: block;
    width: 100%;
}

.acre-project__gallery-item {
    margin: 0 0 clamp(12px, 1.4vw, 22px);
    padding: 0;
    break-inside: avoid;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.acre-project__gallery-item--1.acre-project__gallery-item--landscape {
    column-span: all;
}

.acre-project__gallery-item img {
    height: auto;
    object-fit: contain;
}

.acre-project__gallery-item:focus-visible {
    outline: 3px solid #18261B;
    outline-offset: 4px;
}

.acre-lightbox[hidden] {
    display: none;
}

.acre-lightbox {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: rgba(9, 15, 11, 0.96);
    color: #F3F0E8;
    font-family: 'Manrope', sans-serif;
}

.acre-lightbox__stage {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    padding: 64px 84px 72px;
}

.acre-lightbox__stage picture,
.acre-lightbox__stage img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

.acre-lightbox__stage picture {
    display: contents;
}

.acre-lightbox__stage img {
    object-fit: contain;
}

.acre-lightbox button {
    position: absolute;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(243, 240, 232, 0.48);
    border-radius: 0;
    background: rgba(9, 15, 11, 0.35);
    color: #F3F0E8;
    font-family: 'Manrope', sans-serif;
    font-size: 21px;
    line-height: 1;
    cursor: pointer;
}

.acre-lightbox button:hover {
    border-color: #F3F0E8;
    background: rgba(243, 240, 232, 0.08);
}

.acre-lightbox button:focus-visible {
    outline: 2px solid #F3F0E8;
    outline-offset: 3px;
}

.acre-lightbox__close {
    top: 18px;
    right: 18px;
}

.acre-lightbox__previous {
    top: 50%;
    left: 18px;
    transform: translateY(-50%);
}

.acre-lightbox__next {
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
}

.acre-lightbox__counter {
    position: absolute;
    bottom: 22px;
    left: 50%;
    margin: 0;
    transform: translateX(-50%);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.09em;
}

body.acre-lightbox-open {
    overflow: hidden;
}

.acre-project__pagination {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid rgba(24, 38, 27, 0.38);
}

.acre-project__pagination a {
    display: flex;
    flex-direction: column;
    padding: 25px 0 clamp(52px, 5vw, 78px);
    color: #18261B;
    text-decoration: none;
}

.acre-project__pagination a + a {
    align-items: flex-end;
    padding-left: 28px;
    border-left: 1px solid rgba(24, 38, 27, 0.22);
    text-align: right;
}

.acre-project__pagination span {
    font-size: 10px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.1em;
}

.acre-project__pagination strong {
    margin-top: 11px;
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(22px, 2vw, 32px);
    font-weight: 400;
    line-height: 1.1;
}

.acre-project__pagination a:hover strong {
    opacity: 0.7;
}

@media (min-width: 992px) and (max-width: 1279px) {
    .acre-project__facts--5 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .acre-project__facts--5 > div:nth-child(3),
    .acre-project__facts--5 > div:nth-child(5) {
        padding-left: 0;
        border-left: 0;
    }

    .acre-project__facts--5 > div:nth-child(n + 3) {
        margin-top: 13px;
        padding-top: 13px;
        border-top: 1px solid rgba(243, 240, 232, 0.22);
    }

    .acre-project__facts--5 > div:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 991px) {
    .acre-project-hero {
        min-height: 570px;
    }

    .acre-project-hero__inner {
        grid-template-columns: minmax(0, 58%) minmax(0, 42%);
        min-height: 570px;
    }

    .acre-project-hero__visual img {
        right: 0;
    }

    .acre-project__facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .acre-project__facts--3 > div:last-child {
        grid-column: 1 / -1;
    }

    .acre-project__facts > div:nth-child(3) {
        padding-left: 0;
        border-left: 0;
    }

    .acre-project__facts--5 > div:nth-child(5) {
        padding-left: 0;
        border-left: 0;
    }

    .acre-project__facts--5 > div:last-child {
        grid-column: 1 / -1;
    }

    .acre-project__facts > div:nth-child(n + 3) {
        margin-top: 13px;
        padding-top: 13px;
        border-top: 1px solid rgba(243, 240, 232, 0.22);
    }

    .acre-project__tabs {
        grid-template-columns: minmax(145px, 22%) minmax(0, 78%);
        min-height: 520px;
    }

    .acre-project__panel--project {
        grid-template-columns: minmax(0, 1fr) minmax(230px, 0.78fr);
        gap: 30px;
    }

    .acre-project__team {
        grid-template-columns: minmax(0, 1fr);
    }

    .acre-project__team > div:nth-child(n) {
        padding-right: 0;
        padding-left: 0;
        border-left: 0;
    }

    .acre-project__gallery {
        column-count: 2;
    }
}

@media (max-width: 767px) {
    .acre-project-hero {
        padding: 0;
        min-height: 0;
    }

    .acre-project-hero__inner {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .acre-project-hero__copy {
        min-height: 510px;
        padding: 38px var(--acre-gutter) 32px;
    }

    .acre-project-hero__title {
        margin: 46px 0;
    }

    .acre-project-hero h1 {
        font-size: clamp(46px, 13.8vw, 60px);
    }

    .acre-project__facts > div {
        padding: 13px 12px 0 0;
    }

    .acre-project__facts > div + div {
        padding-left: 12px;
        border-left: 1px solid rgba(243, 240, 232, 0.22);
    }

    .acre-project__facts > div:nth-child(3) {
        padding-left: 0;
        border-left: 0;
    }

    .acre-project__facts > div:nth-child(n + 3) {
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid rgba(243, 240, 232, 0.22);
    }

    .acre-project__facts dd {
        font-size: 17px;
    }

    .acre-project-hero__visual {
        height: min(118vw, 540px);
    }

    .acre-project--new-bath-hotel .acre-project-hero__visual {
        height: min(90vw, 400px);
    }

    .acre-project--isembard-southwark .acre-project-hero__visual {
        height: min(72vw, 320px);
    }

    .acre-project--7-pollen-street .acre-project-hero__visual,
    .acre-project--springvale-terrace .acre-project-hero__visual {
        height: min(76vw, 340px);
    }

    .acre-project-hero__visual img {
        right: -11%;
        height: 100%;
    }

    .acre-project__experience {
        padding-top: 44px;
    }

    .acre-project__tabs {
        display: block;
        min-height: 0;
        background: transparent;
    }

    .acre-project__tablist {
        display: flex;
        flex-direction: row;
        gap: 26px;
        overflow-x: auto;
        padding: 0 0 13px;
        border-right: 0;
        border-bottom: 1px solid rgba(24, 38, 27, 0.28);
        scrollbar-width: thin;
    }

    .acre-project__tablist button {
        flex: 0 0 auto;
        width: auto;
        min-height: 46px;
        color: rgba(24, 38, 27, 0.66);
        font-size: 11px;
        white-space: nowrap;
    }

    .acre-project__tablist button[aria-selected='true'],
    .acre-project__tablist button:hover {
        color: #18261B;
    }

    .acre-project__tablist button[aria-selected='true']::after {
        bottom: -14px;
        background: #18261B;
    }

    .acre-project__panel {
        min-height: 540px;
        padding: 42px 0 54px;
    }

    .acre-project__panel--project {
        display: block;
    }

    .acre-project__narrative p {
        font-size: clamp(25px, 7.4vw, 32px);
    }

    .acre-project__overview-image {
        max-width: 100%;
        margin-top: 38px;
    }

    .acre-project__overview-image img {
        max-height: 430px;
    }

    .acre-project__panel--role > p {
        margin-top: 60px;
        font-size: clamp(26px, 7.6vw, 34px);
    }

    .acre-project__team > div {
        grid-template-columns: minmax(100px, 0.8fr) minmax(0, 1.2fr);
        gap: 14px;
        padding: 15px 0;
    }

    .acre-project__team dd {
        font-size: 17px;
    }

    .acre-project__gallery {
        column-count: 1;
    }

    .acre-lightbox__stage {
        padding: 62px 16px 78px;
    }

    .acre-lightbox button {
        width: 44px;
        height: 44px;
    }

    .acre-lightbox__close {
        top: 12px;
        right: 12px;
    }

    .acre-lightbox__previous {
        top: auto;
        bottom: 16px;
        left: 16px;
        transform: none;
    }

    .acre-lightbox__next {
        top: auto;
        right: 16px;
        bottom: 16px;
        transform: none;
    }

    .acre-lightbox__counter {
        bottom: 30px;
    }

    .acre-project__pagination {
        display: block;
    }

    .acre-project__pagination a {
        padding: 22px 0 30px;
    }

    .acre-project__pagination a + a {
        align-items: flex-start;
        padding-left: 0;
        border-top: 1px solid rgba(24, 38, 27, 0.22);
        border-left: 0;
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    .acre-project__breadcrumb a,
    .acre-project__pagination strong,
    .acre-lightbox button {
        transition: none;
    }
}
