.eap, .eap-contact { color: var(--eco-ui-text); font-family: var(--eco-font-body); --eap-gutter: 44px; --eap-ink: var(--eco-ui-text); --eap-line: var(--eco-ui-border); }
.eap { scroll-margin-top: 105px; background: #fdfbf7; padding: clamp(44px, 7vw, 98px) 0; }
.eap-wrap { width: min(1220px, calc(100% - 88px)); margin-inline: auto; }
.eap-intro { text-align: center; margin-bottom: clamp(44px, 7vw, 94px); }
.eco-site .eap h2 { color: inherit; line-height: 1.12; margin: 0; overflow-wrap: anywhere; }
.eco-site .eap-intro h2 { font-size: clamp(36px, 5vw, 70px); }
.eap-collections { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; }
.eco-site .eap-collections a {
    display: inline-flex; align-items: center; text-decoration: none; min-height: 44px; padding: 8px 17px; background: transparent; color: #4e4544;
    border: 1px solid #c9bcaa; border-radius: 0; font: 400 15px/1.3 var(--eco-font-body);
    transition: background-color 200ms ease, color 200ms ease; cursor: pointer;
}
.eco-site .eap-collections a:hover { background: #f1ebe2; }
.eco-site .eap-collections a[aria-current] { background: #4e4544; color: white; border-color: #4e4544; }
.eap-heading {
    display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
    padding-bottom: 14px; border-bottom: 1px solid #c9bcaa; margin-bottom: 24px;
}
.eco-site .eap-heading h2 { font-size: clamp(25px, 3vw, 40px); }
.eap-count { color: #655a54; font-size: 14px; text-align: right; }
.eap-projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 24px; }
.eap-entry { position: relative; min-width: 0; border-bottom: 1px solid #c9bcaa; }
.eap-media { aspect-ratio: 4 / 3; overflow: hidden; background: #ece5db; }
.eap-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.eap-missing { height: 100%; display: grid; place-items: center; color: #655a54; font-size: 15px; }
.eap-copy { padding: 15px 0 20px; }
.eco-site .eap-copy h3 { font-size: clamp(22px, 2.1vw, 30px); color: inherit; margin: 0; overflow-wrap: anywhere; }
.eap-entry:focus-within { outline: 2px solid #72604d; outline-offset: 5px; }
.eap-copy .eap-location { color: #655a54; font-size: 15px; margin: 8px 0 0; }
.eap-link { color: inherit; display: inline-block; margin-top: 12px; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }
@media (hover: hover) {
    .eap-entry:hover .eap-link { color: #78563a; }
}
@media (max-width: 980px) {
    .eap-wrap { width: calc(100% - 56px); }
    .eap-projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .eap-wrap { width: calc(100% - 36px); }
    .eap-projects { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .eap-collections { margin-top: 18px; }
}
.eco-site.eco-inner .eap-contact .eco-section.ec-cta {
    background: var(--eco-ui-surface);
    color: var(--eap-ink);
    border-top: 1px solid var(--eap-line);
    min-height: 230px;
    padding-block: 28px;
}
.eap-contact .ec-cta::after, .eap-contact .ec-cta-image, .eap-contact .ec-cta-message > .eco-eyebrow { display: none; }
.eap-contact .ec-cta .ec-cta-copy { width: min(1220px, calc(100% - 2 * var(--eap-gutter))); }
.eap-contact .ec-cta-layout { grid-template-columns: minmax(0, 1fr) auto; gap: 18px 30px; align-items: center; }
.eap-contact .ec-cta-message { max-width: none; }
.eap-contact .ec-cta :is(.ec-cta-message, .ec-cta-action) { transition: none; }
.eap-contact .ec-cta.ec-motion:not(.is-visible) :is(.ec-cta-message, .ec-cta-action) { opacity: 1; transform: none; }
.eco-site .eap-contact .ec-cta h2 {
    color: inherit;
    max-width: none;
    margin: 0 0 9px;
    font-size: clamp(28px, 3.5vw, 48px);
}
.eap-contact .ec-cta-message > p:not(.eco-eyebrow) { color: inherit; max-width: none; }
.eco-site .eap-contact .ec-cta .wp-block-button__link {
    background: var(--eco-ink);
    color: white;
    border-color: var(--eco-ink);
    justify-content: center;
    min-width: 132px;
    text-align: center;
}
.eco-site .eap-contact .ec-cta .wp-block-button__link:hover,
.eco-site .eap-contact .ec-cta .wp-block-button__link:focus-visible { color: var(--eco-ink); background: transparent; }
.eap-contact .ec-cta :focus-visible { outline-color: var(--eco-ink); }

.eap-pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 34px; }
.eap-pagination .page-numbers { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; padding: 4px 12px; color: inherit; }
.eap-pagination .current { background: var(--eco-ui-surface); }
@media (max-width: 980px) { .eap-contact { --eap-gutter: 28px; } }
@media (max-width: 600px) {
    .eap-contact { --eap-gutter: 18px; }
    .eap-contact .ec-cta-layout { grid-template-columns: minmax(0, 1fr); }
    .eap-contact .ec-cta-action { width: auto; justify-self: start; }
    .eco-site.eco-inner .eap-contact .eco-section.ec-cta { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { .eap-collections a { transition: none; } }
