/* Carry the last homepage section's linen behind the rounded upper corners. */
:where(.akb-contact, #site-footer.office-contact-footer) { --oc-radius: clamp(25px, 3.5vw, 54px); }
.akb-contact { box-shadow: 0 var(--oc-radius) 0 var(--akb-linen); }

/* Use the office architecture at the lit edge; the directory rests on an opaque ink base. */
#site-footer.office-contact-footer {
    --oc-paper: #f9f5ee;
    --oc-soft: #d3cfca;
    --oc-gold: #f3dec2;
    --oc-line: rgba(241, 230, 211, .17);
    --oc-gutter: clamp(20px, 5.4vw, 88px);
    --oc-ink: #111b27;
    --oc-lit-edge: 100%;
    position: relative;
    color: var(--oc-paper);
    background-color: var(--oc-ink);
    background-image: radial-gradient(ellipse at var(--oc-lit-edge) 0%, #344454, transparent 70%),
                      linear-gradient(to bottom, #213040, var(--oc-ink) 88%);
    border: 0;
    border-radius: var(--oc-radius) var(--oc-radius) 0 0;
    box-shadow: inset 0 1px rgb(229 204 162 / .52);
    isolation: isolate;
    font: 400 15px/1.65 var(--office-text);
    text-align: start;
    scroll-margin-block-start: 70px;
}
html[dir=rtl] #site-footer.office-contact-footer {
    --oc-lit-edge: 0%;
}
#site-footer.office-contact-footer::before {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
    inset-block-start: 0;
    inset-inline-end: 0;
    inline-size: min(74%, 76rem);
    block-size: min(100%, clamp(23rem, 34vw, 35rem));
    border-start-end-radius: inherit;
    background: linear-gradient(to bottom, rgb(25 36 49 / .18), rgb(17 27 39 / .58)),
                url("property.webp") center 48% / cover no-repeat;
    opacity: .39;
    --oc-vignette: radial-gradient(ellipse 100% 100% at var(--oc-lit-edge) 0%, #000 12%, rgb(0 0 0 / .78) 50%, transparent 100%);
    -webkit-mask-image: var(--oc-vignette);
    mask-image: var(--oc-vignette);
}
#site-footer.office-contact-footer :where(.site-footer-wrap, .insta-footer-wrap, .footer-widgets-wrap, .footer-bottom-wrap) {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}
#site-footer.office-contact-footer :where(.insta-footer-wrap, .footer-widgets-wrap, .footer-bottom-wrap) {
    padding: 0;
    margin: 0;
}
#site-footer.office-contact-footer :is(.insta-footer-wrap, .footer-widgets-wrap, .footer-bottom-wrap) > :is(.container, .container-fluid) {
    width: min(100%, 1370px);
    max-width: none;
    margin-inline: auto;
    padding-inline: var(--oc-gutter);
}
#site-footer.office-contact-footer :is(.insta-footer-wrap, .footer-widgets-wrap, .footer-bottom-wrap) .row {
    --bs-gutter-x: 0;
    margin: 0;
}
#site-footer.office-contact-footer :is(.footer-insta-widget, .footer-widget-2, .footer-bottom-wrap .col-12) {
    padding: 0;
}
#site-footer.office-contact-footer .widget { margin: 0; padding: 0; background: none; }
#site-footer.office-contact-footer a { color: inherit; }
#site-footer.office-contact-footer :is(a, button, input):focus-visible {
    outline: 2px solid #ffe2b5;
    outline-offset: 3px;
}
#site-footer .ocf-intro {
    display: grid;
    grid-template-columns: 1.14fr 1fr;
    gap: clamp(40px, 8vw, 128px);
    align-items: center;
    padding-block: clamp(45px, 5vw, 75px) clamp(36px, 4.6vw, 64px);
    text-align: start;
}
#site-footer .ocf-identity { min-width: 0; }
#site-footer .ocf-lockup { display: flex; align-items: center; gap: 14px; }
#site-footer .ocf-lockup img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    margin: 0;
}
#site-footer .ocf-lockup strong, #site-footer .ocf-lockup small { display: block; color: var(--oc-paper); }
#site-footer .ocf-lockup strong { font: 540 17px/1.5 var(--office-text); }
#site-footer .ocf-lockup small { font: 400 12px/1.7 var(--office-text); color: var(--oc-soft); }
#site-footer .ocf-title {
    margin: 21px 0 17px;
    font: 400 clamp(42px, 4.8vw, 70px)/1.34 var(--office-heading);
    letter-spacing: normal;
    color: var(--oc-paper);
    text-wrap: balance;
}
html[lang=en] #site-footer .ocf-title {
    max-width: 12ch;
    line-height: 1.04;
    letter-spacing: -.045em;
    margin-bottom: 25px;
}
#site-footer .ocf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
#site-footer .ocf-actions a, #site-footer .ocf-language {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 999px;
    white-space: nowrap;
    font: 500 14px/1.6 var(--office-text);
    text-decoration: none;
}
#site-footer .ocf-actions .ocf-primary {
    color: #261f1c;
    background: #e8ccb0;
    border: 1px solid #f4ddc4;
    gap: 15px;
    padding: 9px 20px;
    box-shadow: inset 0 1px rgba(255, 255, 255, .3);
}
#site-footer .ocf-arrow {
    width: 15px;
    height: 12px;
    position: relative;
    display: inline-block;
    direction: ltr;
}
#site-footer .ocf-arrow::before, #site-footer .ocf-arrow::after { content: ""; position: absolute; }
#site-footer .ocf-arrow::before { top: 5px; left: 0; width: 14px; border-top: 1.5px solid; }
#site-footer .ocf-arrow::after { right: 1px; top: 2px; width: 7px; height: 7px; border: solid currentColor; border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); }
html[dir=rtl] #site-footer .ocf-arrow { transform: scaleX(-1); }
#site-footer .ocf-actions .ocf-secondary { padding: 8px; color: var(--oc-paper); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: #9b8c7c; }
#site-footer .ocf-directory { min-width: 0; }
#site-footer .ocf-directory h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    color: var(--oc-gold);
    font: 500 15px/1.7 var(--office-text);
}
#site-footer .ocf-directory ul {
    padding: 4px clamp(12px, 1.6vw, 22px);
    margin: 0;
    list-style: none;
    border: 1px solid rgba(240, 225, 203, .25);
    border-radius: 24px;
    background: linear-gradient(130deg, rgb(43 57 72 / .72), rgb(24 37 51 / .64));
    box-shadow: inset 0 1px rgba(255, 255, 255, .08), 0 12px 34px rgba(0, 0, 0, .12);
}
#site-footer .ocf-directory li { padding: 0; margin: 0; border: none; list-style: none; }
#site-footer .ocf-directory li + li { border-block-start: 1px solid var(--oc-line); }
#site-footer .ocf-directory .ocf-phone {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 34px;
    gap: clamp(9px, 1.3vw, 20px);
    align-items: center;
    min-height: 60px;
    padding: 7px 2px;
    direction: inherit;
    border-radius: 5px;
    text-decoration: none;
    color: var(--oc-paper);
    font: 500 16px/1.55 var(--office-text);
}
#site-footer .ocf-phone bdi { color: var(--oc-soft); font: 400 14px/1.4 var(--office-text); white-space: nowrap; font-variant-numeric: tabular-nums; }
#site-footer .ocf-phone i {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: var(--oc-gold);
    background: rgba(243, 224, 204, .09);
    font-size: 14px;
}
#site-footer.office-contact-footer .footer-widgets-wrap .row {
    display: grid;
    grid-template-columns: .9fr 1.1fr 1.25fr;
    gap: 18px clamp(24px, 4vw, 66px);
    padding-block: 28px;
    border-block: 1px solid var(--oc-line);
}
#site-footer.office-contact-footer .footer-widgets-wrap { padding-block: 0 !important; }
#site-footer.office-contact-footer .footer-widget-2 { min-width: 0; width: 100%; max-width: none; margin-block: 0; }
#site-footer.office-contact-footer .footer-widget-2 :is(.widgettitle, .wp-block-heading) {
    margin: 0 0 7px;
    padding: 0;
    color: var(--oc-paper);
    font: 500 15px/1.65 var(--office-text);
    letter-spacing: normal;
    text-transform: none;
}
#site-footer.office-contact-footer .footer-widget-2 :is(.widgettitle, .wp-block-heading)::after,
#site-footer.office-contact-footer .footer-widget-2 :is(.widgettitle, .wp-block-heading)::before { display: none; }
#site-footer.office-contact-footer .widget-content-bx, #site-footer.office-contact-footer .zozo-mc-subtitle {
    margin: 0;
    color: var(--oc-soft);
    font: 400 13px/1.85 var(--office-text);
}
#site-footer.office-contact-footer .widget-content-bx a[data-office-mail] {
    display: flex !important;
    align-items: center;
    width: fit-content;
    gap: 9px;
    max-width: 100%;
    min-height: 44px;
    color: var(--oc-soft);
    font: 400 13px/1.5 var(--office-text);
    text-decoration: none;
}
#site-footer.office-contact-footer .widget-content-bx i { color: var(--oc-gold); margin: 0; }
#site-footer.office-contact-footer .zozo-mc-form { margin: 0; padding: 0; }
#site-footer.office-contact-footer .zozo-mc-subtitle { margin-block-end: 10px; }
#site-footer.office-contact-footer .mailchimp-wrapper .input-group {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    padding: 2px;
    border: 1px solid rgba(244, 232, 213, .32);
    border-radius: 16px;
    background: rgba(255, 255, 255, .05);
}
#site-footer.office-contact-footer .mailchimp-wrapper .zozo-mc-email {
    flex: 1 1 0%;
    min-width: 0;
    width: 0;
    height: 44px;
    padding: 6px 12px;
    margin: 0;
    border: 0;
    border-radius: 13px;
    background: transparent;
    box-shadow: none;
    color: var(--oc-paper);
    font: 400 16px/1.45 var(--office-text);
}
#site-footer.office-contact-footer .zozo-mc-email::placeholder { color: #cdc6bd; opacity: 1; }
#site-footer.office-contact-footer .zozo-mc-email:placeholder-shown { direction: inherit; text-align: start; }
#site-footer.office-contact-footer .mailchimp-wrapper button.zozo-mc {
    position: static;
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 13px;
    color: var(--oc-gold);
    background: rgba(239, 217, 190, .1);
    line-height: 1;
}
#site-footer.office-contact-footer .mc-notice-group { margin: 0; }
#site-footer.office-contact-footer .footer-bottom-wrap ul.copyright-bar-ul { display: block; width: 100%; float: none; padding: 0; margin: 0; }
#site-footer.office-contact-footer .footer-bottom-wrap ul.copyright-bar-ul:empty { display: none; }
#site-footer.office-contact-footer .footer-bottom-wrap li { width: 100%; padding: 0; margin: 0; border: 0; }
#site-footer .ocf-colophon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 28px;
    /* Leave the theme's floating chat and back-to-top buttons their own bottom lane. */
    padding-block: 16px calc(76px + env(safe-area-inset-bottom));
}
#site-footer.office-contact-footer .ocf-colophon .footer-copyright {
    color: #c4c0bc;
    font: 400 12px/1.9 var(--office-text);
    padding: 0;
    margin: 0;
}
#site-footer .ocf-colophon p a { color: var(--oc-gold); text-underline-offset: 3px; }
#site-footer .ocf-language { gap: 8px; padding: 5px 15px; border: 1px solid var(--oc-line); color: var(--oc-paper); }
@media (hover: hover) {
    #site-footer .ocf-directory .ocf-phone:hover, #site-footer.office-contact-footer .widget-content-bx a:hover { color: var(--oc-gold); }
    #site-footer .ocf-phone:hover i, #site-footer .ocf-language:hover { background: #514a41; }
    #site-footer .ocf-actions .ocf-primary:hover { background: #f4dfca; }
    #site-footer .ocf-actions .ocf-secondary:hover { color: var(--oc-gold); }
}
@media (prefers-reduced-motion: no-preference) {
    #site-footer .ocf-actions a, #site-footer .ocf-phone i, #site-footer .ocf-language {
        transition: background-color .16s ease, color .16s ease;
    }
}
@media (max-width: 850px) {
    #site-footer .ocf-intro { grid-template-columns: 1fr 1fr; gap: 28px; }
    #site-footer.office-contact-footer .footer-widgets-wrap .row { grid-template-columns: .8fr 1fr 1.2fr; gap: 20px; }
}
@media (max-width: 680px) {
    #site-footer.office-contact-footer::before {
        inline-size: 100%;
        block-size: min(100%, 22rem);
        border-start-start-radius: inherit;
        opacity: .42;
    }
    #site-footer .ocf-intro { grid-template-columns: minmax(0, 1fr); gap: 30px; padding-block: 34px 30px; }
    #site-footer .ocf-lockup img { width: 48px; height: 48px; }
    #site-footer .ocf-lockup strong { font-size: 16px; }
    #site-footer .ocf-title { margin-block: 16px; }
    html[lang=en] #site-footer .ocf-title { max-width: 15ch; margin-block: 17px 20px; }
    #site-footer .ocf-directory .ocf-phone { min-height: 56px; }
    #site-footer.office-contact-footer .footer-widgets-wrap .row {
        grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
        gap: 14px 20px;
        padding-block: 23px;
    }
    #site-footer .footer-widget-2:has(.zozo-mc-form) { grid-column: 1 / -1; }
    #site-footer .ocf-colophon { padding-block-end: calc(74px + env(safe-area-inset-bottom)); }
}
@media (max-width: 359px) {
    #site-footer.office-contact-footer .footer-widgets-wrap .row { grid-template-columns: minmax(0, 1fr); }
    #site-footer.office-contact-footer .widget-content-bx a[data-office-mail] { min-height: 44px; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
    #site-footer.office-contact-footer { background-image: none; --oc-line: #596777; }
    #site-footer .ocf-directory ul { background: #233140; box-shadow: none; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more), (forced-colors: active), print {
    #site-footer.office-contact-footer::before { content: none; }
}
@media (forced-colors: active) {
    #site-footer.office-contact-footer { background: Canvas; box-shadow: none; }
}
