/* 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/projects-index.css */
.acre-projects-page {
    background: #F3F0E8;
}

.acre-projects-intro,
.acre-projects {
    color: #18261B;
    background: #F3F0E8;
    font-family: 'Manrope', sans-serif;
}

.acre-projects-intro {
    padding: clamp(78px, 7vw, 112px) var(--acre-gutter) clamp(58px, 5vw, 82px);
}

.acre-projects-intro__inner,
.acre-projects__grid {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

.acre-projects-intro__eyebrow {
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.12em;
}

.acre-projects {
    padding: 0 var(--acre-gutter) clamp(112px, 11vw, 176px);
}

.acre-projects__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(24px, 3vw, 48px);
    row-gap: clamp(58px, 5vw, 80px);
    align-items: start;
}

.acre-project-card {
    min-width: 0;
}

.acre-project-card > a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.acre-project-card__image {
    display: block;
    overflow: hidden;
    background: #D8D6CF;
}

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

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

.acre-project-card img {
    object-fit: cover;
    transition: opacity 180ms ease;
}

.acre-project-card:nth-child(1) img { object-position: center 43%; }
.acre-project-card:nth-child(2) img { object-position: 54% center; }
.acre-project-card:nth-child(3) img { object-position: center; }
.acre-project-card:nth-child(4) img { object-position: center; }
.acre-project-card:nth-child(5) img { object-position: center 45%; }
.acre-project-card:nth-child(6) img { object-position: 58% center; }
.acre-project-card:nth-child(7) img { object-position: center; }

.acre-project-card__details {
    padding-top: 18px;
}

.acre-project-card h2 {
    margin: 0;
    color: #18261B;
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(28px, 2.25vw, 38px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.025em;
}

.acre-project-card__meta,
.acre-project-card__services {
    margin: 0;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.acre-project-card__meta {
    margin-top: 15px;
}

.acre-project-card__services {
    margin-top: 4px;
    color: rgba(24, 38, 27, 0.72);
}

.acre-project-card > a:hover img {
    opacity: 0.88;
}

.acre-project-card > a:focus-visible {
    outline: 1px solid #18261B;
    outline-offset: 8px;
}

@media (max-width: 991px) {
    .acre-projects-intro {
        padding-top: 82px;
    }

    .acre-projects__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 22px;
        row-gap: 58px;
    }
}

@media (max-width: 767px) {
    .acre-projects-intro__eyebrow {
        font-size: 11px;
    }

    .acre-projects-intro {
        padding: 64px var(--acre-gutter) 54px;
    }

    .acre-projects {
        padding-bottom: 104px;
    }

    .acre-projects__grid {
        display: block;
    }

    .acre-project-card:nth-child(n) {
        width: 100%;
        margin: 0;
    }

    .acre-project-card + .acre-project-card {
        margin-top: 58px;
    }

    .acre-project-card__details {
        padding-top: 15px;
    }

    .acre-project-card h2 {
        font-size: clamp(29px, 8.5vw, 38px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .acre-project-card img {
        transition: none;
    }
}
