:root {
    --oo-shell-green: #1f3d2b;
    --oo-shell-deep: #162c20;
    --oo-shell-cream: #f7f4ec;
    --oo-shell-gold: #b59255;
    --oo-shell-ink: #263129;
}

html {
    scroll-behavior: smooth;
}

body.oo-brand-shell-active .site-header,
body.oo-brand-shell-active #site-header,
body.oo-brand-shell-active .siteHeader,
body.oo-brand-shell-active .site-footer,
body.oo-brand-shell-active .siteFooter {
    display: none !important;
}

/*
 * Lightning renders its mobile navigation outside the theme header/footer.
 * Hide that legacy drawer as well so only One&Only's renewed navigation is
 * available on phones and tablets.
 */
body.oo-brand-shell-active #vk-mobile-nav-menu-btn,
body.oo-brand-shell-active .vk-mobile-nav-menu-btn,
body.oo-brand-shell-active #vk-mobile-nav,
body.oo-brand-shell-active .vk-mobile-nav,
body.oo-brand-shell-active a.skip-link[href="#vk-mobile-nav"] {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.oo-site-header,
.oo-site-header *,
.oo-site-footer,
.oo-site-footer * {
    box-sizing: border-box;
}

.oo-site-header {
    position: sticky;
    top: 0;
    z-index: 9998;
    width: 100%;
    color: var(--oo-shell-ink);
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid rgba(31, 61, 43, .12);
    box-shadow: 0 8px 30px rgba(26, 44, 33, .05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

body.admin-bar .oo-site-header {
    top: 32px;
}

.oo-site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1180px, calc(100% - 48px));
    min-height: 78px;
    margin-inline: auto;
    gap: 32px;
}

.oo-site-brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 12px;
    color: var(--oo-shell-green) !important;
    text-decoration: none !important;
}

.oo-site-brand__mark {
    position: relative;
    display: block;
    width: 35px;
    height: 35px;
    border: 1px solid rgba(31, 61, 43, .3);
    border-radius: 50%;
}

.oo-site-brand__mark::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 7px;
    width: 1px;
    height: 17px;
    background: var(--oo-shell-green);
    transform: translateX(-50%);
}

.oo-site-brand__mark i {
    position: absolute;
    top: 9px;
    width: 11px;
    height: 15px;
    background: #6c8b68;
}

.oo-site-brand__mark i:first-child {
    left: 7px;
    border-radius: 11px 2px 11px 2px;
    transform: rotate(-26deg);
}

.oo-site-brand__mark i:last-child {
    right: 7px;
    border-radius: 2px 11px 2px 11px;
    transform: rotate(26deg);
}

.oo-site-brand__copy {
    display: grid;
    line-height: 1;
}

.oo-site-brand__copy strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    font-weight: 500;
    letter-spacing: .01em;
}

.oo-site-brand__copy small {
    margin-top: 6px;
    color: #6f786f;
    font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .16em;
}

.oo-global-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(18px, 2vw, 34px);
    font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

.oo-global-nav a {
    position: relative;
    color: #344239 !important;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .05em;
    text-decoration: none !important;
    white-space: nowrap;
}

.oo-global-nav a:not(.oo-global-nav__contact)::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 1px;
    background: var(--oo-shell-gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .25s ease;
}

.oo-global-nav a:not(.oo-global-nav__contact):hover::after,
.oo-global-nav a:not(.oo-global-nav__contact):focus-visible::after {
    transform: scaleX(1);
}

.oo-global-nav a.oo-global-nav__contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 23px;
    color: #fff !important;
    -webkit-text-fill-color: #fff;
    background: var(--oo-shell-green);
    border: 1px solid var(--oo-shell-green);
    border-radius: 999px;
    transition: color .2s ease, background .2s ease;
}

.oo-global-nav a.oo-global-nav__contact:hover,
.oo-global-nav a.oo-global-nav__contact:focus-visible {
    color: var(--oo-shell-green) !important;
    -webkit-text-fill-color: var(--oo-shell-green);
    background: #fff;
}

.oo-menu-toggle {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    color: var(--oo-shell-green);
    background: transparent;
    border: 0;
    border-radius: 0;
    font: inherit;
    cursor: pointer;
}

.oo-menu-toggle__label {
    font-family: Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
}

.oo-menu-toggle__icon {
    display: grid;
    width: 24px;
    gap: 5px;
}

.oo-menu-toggle__icon i {
    display: block;
    width: 24px;
    height: 1px;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
}

.oo-site-footer {
    position: relative;
    z-index: 2;
    padding: 78px max(24px, calc((100vw - 1180px) / 2)) 24px;
    color: rgba(255, 255, 255, .78);
    background: var(--oo-shell-deep);
    font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

.oo-site-footer a {
    color: inherit !important;
    text-decoration: none !important;
}

.oo-site-footer a:hover,
.oo-site-footer a:focus-visible {
    color: #fff !important;
}

.oo-site-footer__inner {
    display: grid;
    grid-template-columns: minmax(250px, 1.05fr) minmax(430px, 1fr);
    max-width: 1180px;
    margin-inline: auto;
    gap: 80px;
}

.oo-site-footer__brand > a {
    display: inline-block;
    color: #fff !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    line-height: 1;
}

.oo-site-footer__brand > p:first-of-type {
    margin: 9px 0 32px;
    color: #aab6aa;
    font-size: 11px;
    letter-spacing: .2em;
}

.oo-site-footer__statement {
    margin: 0;
    color: #fff;
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 18px;
    line-height: 1.9;
    letter-spacing: .07em;
}

.oo-site-footer__place {
    margin: 30px 0 0;
    color: #aab6aa;
    font-size: 12px;
    line-height: 1.9;
}

.oo-site-footer__nav {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 64px;
}

.oo-site-footer__nav > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
}

.oo-site-footer__heading {
    width: 100%;
    margin: 0 0 10px;
    padding-bottom: 13px;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 15px;
    letter-spacing: .08em;
}

.oo-site-footer__nav a {
    font-size: 13px;
    line-height: 1.6;
}

.oo-site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1180px;
    margin: 64px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .14);
    color: #87968a;
    font-size: 10px;
    letter-spacing: .07em;
}

.oo-site-footer__bottom p {
    margin: 0;
}

@media (max-width: 960px) {
    body.oo-menu-open {
        overflow: hidden;
    }

    .oo-site-header__inner {
        width: min(100% - 36px, 1180px);
        min-height: 70px;
    }

    .oo-menu-toggle {
        display: inline-flex;
    }

    .oo-global-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: grid;
        align-content: start;
        justify-content: stretch;
        max-height: 0;
        padding: 0 24px;
        overflow: hidden;
        visibility: hidden;
        background: rgba(247, 244, 236, .985);
        border-bottom: 1px solid rgba(31, 61, 43, .12);
        opacity: 0;
        transition: max-height .32s ease, padding .32s ease, opacity .2s ease, visibility .2s ease;
    }

    .oo-site-header.is-menu-open .oo-global-nav {
        max-height: calc(100vh - 70px);
        padding-top: 22px;
        padding-bottom: 30px;
        overflow-y: auto;
        visibility: visible;
        opacity: 1;
    }

    .oo-global-nav a {
        display: block;
        padding: 12px 4px;
        border-bottom: 1px solid rgba(31, 61, 43, .1);
        font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
        font-size: 17px;
        font-weight: 500;
    }

    .oo-global-nav a:not(.oo-global-nav__contact)::after {
        display: none;
    }

    .oo-global-nav__contact {
        margin-top: 12px;
        padding: 12px 20px !important;
        border-bottom: 1px solid var(--oo-shell-green) !important;
        text-align: center;
    }

    .oo-site-header.is-menu-open .oo-menu-toggle__icon i:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .oo-site-header.is-menu-open .oo-menu-toggle__icon i:nth-child(2) {
        opacity: 0;
    }

    .oo-site-header.is-menu-open .oo-menu-toggle__icon i:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .oo-site-footer__inner {
        grid-template-columns: 1fr;
        gap: 54px;
    }

    .oo-site-footer__nav {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 782px) {
    body.admin-bar .oo-site-header {
        top: 46px;
    }
}

@media (max-width: 600px) {
    .oo-site-brand__mark {
        width: 31px;
        height: 31px;
    }

    .oo-site-brand__copy strong {
        font-size: 20px;
    }

    .oo-site-brand__copy small {
        font-size: 9px;
    }

    .oo-site-footer {
        padding: 60px 22px 24px;
    }

    .oo-site-footer__brand > a {
        font-size: 28px;
    }

    .oo-site-footer__nav {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .oo-site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        margin-top: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .oo-site-header *,
    .oo-site-footer * {
        transition-duration: .01ms !important;
    }
}
