/* Shared presentation refinements for the portfolio site. */
:root {
    --al-ink: #15130f;
    --al-ivory: #f7f4ee;
    --al-warm-white: #fcfbf8;
    --al-brass: #aa8953;
    --al-muted: #777169;
    --al-line: #ded8ce;
}

body {
    background: var(--al-warm-white);
    color: var(--al-ink);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
.section-heading {
    font-family: 'Cormorant Garamond', Georgia, serif;
}

.top {
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    background: #0b0a09 !important;
}

.top .left ul li,
.top .right .kk {
    font-size: 12px;
    letter-spacing: .02em;
}

.top a {
    transition: color .2s ease;
}

.top a:hover,
.top a:focus {
    color: #c7a66f !important;
}

.header[style*="background:#fff"] {
    background: var(--al-warm-white) !important;
}

.header[style*="background:#fff"] .search-area {
    padding: 22px 0 19px !important;
}

.header[style*="background:#fff"] .search-area img {
    width: min(62%, 720px) !important;
}

.nav[style*="background:#fff"] {
    border-top: 1px solid #eee9e1;
    border-bottom: 1px solid #e6e0d6;
    background: var(--al-warm-white) !important;
    box-shadow: 0 6px 22px rgba(44, 34, 20, .03);
}

.floating-enquiry {
    position: fixed;
    z-index: 999;
    right: 20px;
    bottom: 20px;
    padding: 13px 18px;
    border: 1px solid #c2a16c;
    border-radius: 999px;
    background: rgba(16, 14, 11, .96);
    box-shadow: 0 8px 28px rgba(0, 0, 0, .24);
    color: #fff !important;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: .12em;
    text-decoration: none !important;
    transition: background .25s ease, color .25s ease, transform .25s ease;
}

.floating-enquiry:hover,
.floating-enquiry:focus {
    background: #c2a16c;
    color: #111 !important;
    transform: translateY(-2px);
}

.enquiry-alternative {
    clear: both;
    margin: 24px 0 0;
    color: #aaa;
    font-size: 11px;
    line-height: 1.7;
    text-align: center;
}

.enquiry-alternative a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact-page {
    padding: 86px 0 92px;
    background: #0b0a09 !important;
}

.contact-page .row {
    display: flex;
    align-items: stretch;
}

.contact-card,
.contact-details {
    height: 100%;
    padding: 32px 26px;
    border: 1px solid #383127;
}

.contact-card h3,
.contact-details h4 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 30px !important;
    font-weight: 500;
    letter-spacing: .025em;
}

.contact-card .form-control {
    height: auto;
    padding: 13px 15px;
    border: 1px solid #423a30;
    border-radius: 0;
    background: #12100d;
    color: #fff;
    box-shadow: none;
}

.contact-card .form-control:focus {
    border-color: #aa8953;
    box-shadow: none;
}

.contact-card textarea.form-control {
    min-height: 145px;
}

.contact-office img {
    width: 100%;
    height: 100%;
    min-height: 570px;
    object-fit: cover;
    filter: saturate(.68) contrast(1.03);
}

.contact-details {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.footer-main {
    background: #0b0a09 !important;
}

.footer-main > .container > .row:first-child a {
    letter-spacing: .08em;
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
}

.footer-social span {
    color: #8d806f;
    font-size: 8px;
    letter-spacing: .2em;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #eee6d9 !important;
    font-size: 9px;
    letter-spacing: .1em !important;
    text-transform: uppercase;
}

.footer-social a:hover,
.footer-social a:focus {
    color: #c5a46d !important;
    text-decoration: none;
}

.footer-main strong {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 500;
    letter-spacing: .03em;
}

.footer-bottom {
    border-top: 1px solid #28231d;
    background: #070605 !important;
}

@media (min-width: 960px) {
    .menu > ul {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .menu > ul > li {
        float: none;
    }

    .menu > ul > li > a {
        position: relative;
        padding: 16px 31px;
        color: #26221d;
        font-size: 10px;
        font-weight: 500;
        letter-spacing: .15em;
    }

    .menu > ul > li > a::after {
        position: absolute;
        right: 31px;
        bottom: 9px;
        left: 31px;
        height: 1px;
        background: var(--al-brass);
        content: "";
        opacity: 0;
        transform: scaleX(0);
        transition: opacity .2s ease, transform .2s ease;
    }

    .menu > ul > li:hover {
        background: transparent;
    }

    .menu > ul > li:hover > a::after,
    .menu > ul > li > a:focus::after {
        opacity: 1;
        transform: scaleX(1);
    }
}

@media (max-width: 959px) {
    .header[style*="background:#fff"] .search-area {
        padding: 12px 0 !important;
    }

    .header[style*="background:#fff"] .search-area img {
        width: min(72%, 340px) !important;
    }

    .nav[style*="background:#fff"] {
        box-shadow: none;
    }

    .floating-enquiry {
        right: 13px;
        bottom: 13px;
        padding: 12px 15px;
    }

    .contact-page {
        padding: 55px 0 60px;
    }

    .contact-page .row {
        display: block;
    }

    .contact-page .col-md-4 {
        margin-bottom: 15px;
    }

    .contact-office img {
        min-height: 0;
        height: 430px;
    }

    .footer-social {
        justify-content: flex-start;
        margin-top: 20px;
        text-align: left;
    }
}
