html.connoisseur-template,
html.connoisseur-template body {
    min-height: 100%;
    margin: 0;
}

html.connoisseur-template {
    background: #171717;
    scroll-behavior: smooth;
}

html.connoisseur-template *,
html.connoisseur-template *::before,
html.connoisseur-template *::after {
    box-sizing: border-box;
}

body.connoisseur-cms {
    margin: 0;
    color: #fff;
    background: #171717;
    font-family: "Dosis", Verdana, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.3;
    overflow-x: hidden;
}

.connoisseur-cms a {
    color: #b0a389;
    text-decoration: none;
    outline: none;
    transition: color 300ms linear, opacity 300ms linear;
}

.connoisseur-cms a:hover,
.connoisseur-cms a:focus-visible {
    color: #8d7e60;
}

.connoisseur-cms img,
.connoisseur-cms video {
    max-width: 100%;
    height: auto;
    border: 0;
}

.connoisseur-cms p {
    margin: 10px 0 10px;
    color: #ddd;
    font-size: 16px;
    line-height: 1.3;
}

.connoisseur-cms strong,
.connoisseur-cms b {
    font-weight: 600;
}

.connoisseur-cms h1,
.connoisseur-cms h2,
.connoisseur-cms h3,
.connoisseur-cms h4 {
    margin: 18px 0 15px;
    color: #e2e2e2;
    font-family: "Lora", Georgia, serif;
    font-weight: 400;
    line-height: 1.2;
}

.connoisseur-cms h2 {
    font-size: clamp(26px, 2.5vw, 34px);
      line-height: 1.05;
}

.connoisseur-cms ul,
.connoisseur-cms ol {
    margin: 18px 0 0;
    padding: 0 0 0 30px;
    color: #ddd;
    font-size: 16px;
    line-height: 1.35;
}

.connoisseur-cms li {
    padding: 2px 0;
}

.connoisseur-cms table {
    width: 100%;
    margin: 20px 0 0;
    border-collapse: collapse;
    color: #ddd;
}

.connoisseur-cms th,
.connoisseur-cms td {
    padding: 10px 12px;
    border: 1px solid #484848;
    vertical-align: top;
}

.connoisseur-cms th {
    background: #171717;
    color: #8d7e60;
    font-weight: 600;
}

.menu {
    position: fixed;
    z-index: 99999;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    height: 100%;
    padding: 170px 40px;
    background: #fff;
    text-align: center;
}

.connoisseur-logo {
    display: inline-flex;
    min-height: 53px;
    max-width: 200px;
    align-items: center;
    justify-content: center;
    color: #222;
}

.connoisseur-logo img {
    display: block;
    max-height: 120px;
    object-fit: contain;
}

.connoisseur-logo-fallback {
    display: inline-block;
    color: #222;
    font-family: "Rochester", cursive;
    font-size: 42px;
    line-height: 0.95;
}

.menu nav {
    display: inline-block;
    width: 100%;
    max-height: calc(100vh - 325px);
    margin: 0;
    padding: 50px 20px;
    overflow-y: auto;
    text-align: left;
}

.menu nav > a {
    position: relative;
    display: table;
    padding: 5px 0 15px;
    color: #222;
    font-family: "Lora", Georgia, serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 2px;
    line-height: 1.35;
    text-transform: uppercase;
}

.menu nav > a::before {
    position: absolute;
    top: 28px;
    left: 0;
    width: 32px;
    max-width: 100%;
    height: 1px;
    border-bottom: 1px dotted #8d7e60;
    content: "";
    transition: width 420ms ease;
}

.menu nav > a:hover::before,
.menu nav > a:focus-visible::before,
.menu nav > a.cbp-fbcurrent::before {
    width: 100%;
}

.connoisseur-vault-nav::after {
    margin-left: 7px;
    color: #8d7e60;
    content: "locked";
    font-size: 9px;
    letter-spacing: 1px;
}

.menu > p.copy {
    position: absolute;
    right: 40px;
    bottom: 50px;
    left: 40px;
    margin: 0;
    color: #222;
    font-family: "Lora", Georgia, serif;
    font-size: 10px;
    line-height: 1.1;
    text-align: center;
}

.menu > p.copy span {
    position: relative;
    display: block;
    padding-top: 5px;
}

.menu > p.copy a {
    color: #222;
}

.menu > p.copy a:hover,
.menu > p.copy a:focus-visible {
    color: #8d7e60;
}

.tablet-close {
    display: none;
}

.connoisseur-sections {
    margin-right: 280px;
}

.fbsection {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    scroll-margin-top: 0;
    background: #212121;
    background-image: var(--connoisseur-bg-desktop);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: auto 100%;
}

.fbsection--blank {
    background:
        radial-gradient(circle at 74% 28%, rgba(141, 126, 96, 0.12), transparent 34%),
        #171717;
}

.fbsection.home {
    background-attachment: scroll;
    background-size: cover;
}

.fbsection.home::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.08), transparent 48%);
    content: "";
    pointer-events: none;
}

.fbsection.gallery {
    background: #212121;
}

.block {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(300px, 40%) minmax(0, 60%);
    min-height: 100vh;
    min-height: 100svh;
    color: #fff;
}

.connoisseur-home-panel {
    position: relative;
    display: flex;
    grid-column: 1 / -1;
    min-height: 100vh;
    min-height: 100svh;
    align-items: flex-end;
    justify-content: center;
    padding: 56px;
}

.connoisseur-home-copy {
    width: min(560px, 100%);
    margin: 0 auto 48px;
    padding: 22px 26px;
    border-left: 2px solid #8d7e60;
    background: rgba(23, 23, 23, 0.76);
    color: #ddd;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

#banners {
    position: absolute;
    right: 0;
    bottom: 20px;
    left: 0;
    text-align: center;
}

.inner-left,
.inner-noslit {
    position: relative;
    height: 100vh;
    height: 100svh;
    max-height: 100vh;
    max-height: 100svh;
    min-height: 100vh;
    min-height: 100svh;
    padding: 30px 50px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: rgba(141, 126, 96, 0.16) rgba(255, 255, 255, 0.015);
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    background: #212121;
}

.inner-left::-webkit-scrollbar,
.inner-noslit::-webkit-scrollbar,
.menu nav::-webkit-scrollbar {
    width: 2px;
}

.inner-left::-webkit-scrollbar-track,
.inner-noslit::-webkit-scrollbar-track,
.menu nav::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.01);
}

.inner-left::-webkit-scrollbar-thumb,
.inner-noslit::-webkit-scrollbar-thumb,
.menu nav::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(141, 126, 96, 0.14);
}

.inner-left::-webkit-scrollbar-thumb:hover,
.inner-noslit::-webkit-scrollbar-thumb:hover,
.menu nav::-webkit-scrollbar-thumb:hover {
    background: rgba(141, 126, 96, 0.24);
}

.inner-noslit {
    grid-column: 1 / -1;
    padding-right: min(8vw, 96px);
    padding-left: min(8vw, 96px);
}

.inner-left header,
.inner-noslit header,
.connoisseur-gallery-heading {
    margin: 0 0 35px;
    padding: 65px 0 20px;
    border-bottom: 1px solid #484848;
    color: #8d7e60;
    font-family: "Lora", Georgia, serif;
    font-size: 33px;
    font-weight: 400;
    line-height: 1.15;
    text-transform: capitalize;
}

.inner-left p,
.inner-noslit p {
    color: #ddd;
}

.inner-left blockquote,
.inner-noslit blockquote {
    margin: 40px 0 0;
    padding: 10px;
    border-left: 2px solid #8d7e60;
    background-color: #212121;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    color: #e2e2e2;
    font-style: italic;
    line-height: 19px;
}

.inner-image {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    background: #171717;
}

.inner-image picture,
.inner-image img,
.inner-image video {
    display: block;
    width: 100%;
    height: 100%;
}

.inner-image img {
    object-fit: cover;
    object-position: center top;
    pointer-events: none;
}

.inner-image::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(23, 23, 23, 0.08), transparent 35%);
    content: "";
    pointer-events: none;
}

.inner-image-mobile {
    display: none;
}

.btn-dark {
    position: relative;
    display: inline-block;
    margin-top: 14px;
    overflow: hidden;
    padding: 12px 28px;
    border: 1px solid #666;
    background: #000;
    color: #fff !important;
    cursor: pointer;
    font-family: "Dosis", Verdana, Arial, sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1.5px;
    line-height: 12px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 300ms linear;
}

.btn-dark:hover,
.btn-dark:focus-visible {
    border-color: #fff;
    background: #fff;
    color: #000 !important;
}

.block--gallery {
    display: block;
    padding: 0;
    background: #212121;
}

.connoisseur-gallery-heading {
    position: relative;
    z-index: 3;
    width: min(560px, calc(100% - 60px));
    margin: 0 0 0 30px;
    background: #212121;
}

.connoisseur-gallery-heading span,
.connoisseur-gallery-heading strong {
    display: block;
}

.connoisseur-gallery-heading span {
    color: #ddd;
    font-family: "Dosis", Verdana, Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.connoisseur-gallery-heading strong {
    margin-top: 3px;
    color: #8d7e60;
    font-family: "Lora", Georgia, serif;
    font-size: 33px;
    font-weight: 400;
    line-height: 1.15;
    text-transform: capitalize;
}

.bl-main {
    display: grid;
    grid-template-columns: repeat(var(--gallery-columns, 3), minmax(0, 1fr));
    grid-auto-rows: minmax(33.333vh, 1fr);
    gap: 0;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    background: #212121;
}

.bl-box {
    position: relative;
    display: block;
    min-height: 33.333vh;
    overflow: hidden;
    background: #171717;
    color: #fff;
}

.bl-box img,
.bl-box video {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 33.333vh;
    object-fit: cover;
    transition: transform 900ms ease, opacity 320ms ease;
}

.bl-box::after {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.32);
    content: "";
    opacity: 0;
    transition: opacity 320ms ease;
}

.bl-box:hover img,
.bl-box:focus-visible img,
.bl-box:hover video,
.bl-box:focus-visible video {
    transform: scale(1.045);
}

.bl-box:hover::after,
.bl-box:focus-visible::after {
    opacity: 1;
}

.project-title {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    display: inline-block;
    color: rgba(255, 255, 255, 0.76) !important;
    font-family: "Lora", Georgia, serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.2px;
    opacity: 0;
    pointer-events: none;
    text-align: center;
    text-transform: none;
    white-space: nowrap;
    transform: translate(-50%, calc(-50% + 8px));
    transition: opacity 320ms ease, transform 320ms ease;
}

.project-title::before,
.project-title::after {
    position: absolute;
    width: 15%;
    border-top: 1px solid #b0843b;
    content: "";
    transition: width 1s;
}

.project-title::before {
    top: -7px;
    left: 0;
}

.project-title::after {
    right: 0;
    bottom: -7px;
}

.bl-box:hover .project-title,
.bl-box:focus-visible .project-title {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.bl-box:hover .project-title::before,
.bl-box:hover .project-title::after,
.bl-box:focus-visible .project-title::before,
.bl-box:focus-visible .project-title::after {
    width: 100%;
}

.media-preview-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    transform: translate(-50%, -50%);
}

.media-preview-play::after {
    position: absolute;
    top: 50%;
    left: 52%;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #111;
    content: "";
    transform: translate(-50%, -50%);
}

.connoisseur-empty-gallery,
.connoisseur-vault-panel {
    display: grid;
    min-height: 100vh;
    min-height: 100svh;
    place-items: center;
    padding: 64px;
    background:
        radial-gradient(circle at 68% 32%, rgba(141, 126, 96, 0.12), transparent 32%),
        #212121;
}

.connoisseur-vault-panel {
    grid-template-columns: minmax(220px, 34%) minmax(280px, 460px);
    gap: 42px;
    text-align: left;
}

.connoisseur-vault-panel img {
    width: 100%;
    max-width: 360px;
    aspect-ratio: 1;
    border: 10px solid #171717;
    object-fit: cover;
    filter: blur(1px) grayscale(0.6);
}

.connoisseur-vault-panel h2,
.connoisseur-empty-gallery h2 {
    color: #8d7e60;
    font-size: clamp(36px, 5vw, 64px);
}

.gallery-empty .inner-noslit {
    background: #212121;
}

body.connoisseur-cms .lg-backdrop,
body.connoisseur-cms .lg-outer,
body.connoisseur-cms .pp-lightbox-fallback {
    z-index: 2147483000 !important;
}

@media (min-width: 1024px) and (max-width: 1440px) {
    .menu {
        padding-top: 6.5%;
        padding-right: 40px;
        padding-left: 40px;
    }
}

@media (max-width: 1180px) {
    .bl-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    html.connoisseur-template {
        scroll-padding-top: 0;
    }

    .menu {
        right: 0;
        left: auto;
        width: 280px;
        min-height: 100vh;
        min-height: 100svh;
        padding: 80px 20px 24px;
        border: 0;
        transform: translateX(230px);
        transition: transform 1s;
    }

    .menu.is-open {
        transform: translateX(0);
    }

    .connoisseur-logo {
        display: flex;
        width: 100%;
        height: 120px;
        min-height: 120px;
        max-width: none;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 0 13px 30px;
    }

    .connoisseur-logo img {
        max-height: 120px;
    }

    .connoisseur-logo-fallback {
        font-size: 32px;
        text-align: left;
    }

    .tablet-close {
        position: absolute;
        top: 6px;
        left: 1px;
        display: inline-flex;
        width: 50px;
        height: 27px;
        align-items: center;
        justify-content: center;
        border: 0;
        background: transparent;
        cursor: pointer;
        flex-direction: column;
        gap: 5px;
    }

    .tablet-close span {
        display: block;
        width: 20px;
        height: 1px;
        background: #8d7e60;
        transition: transform 220ms ease, opacity 220ms ease;
    }

    .menu.is-open .tablet-close span:first-child {
        transform: translateY(6px) rotate(45deg);
    }

    .menu.is-open .tablet-close span:nth-child(2) {
        opacity: 0;
    }

    .menu.is-open .tablet-close span:last-child {
        transform: translateY(-6px) rotate(-45deg);
    }

    .menu nav {
        max-height: calc(100vh - 300px);
        max-height: calc(100svh - 300px);
        padding: 15px 13px;
        margin-top:20px;
    }

    .menu > p.copy {
        display: block;
        right: 20px;
        bottom: 28px;
        left: 33px;
        color: #222;
        text-align: left;
    }

    .connoisseur-sections {
        margin-right: 50px;
    }

    .fbsection {
        min-height: auto;
        background-image: var(--connoisseur-bg-mobile, var(--connoisseur-bg-desktop));
        background-size: cover;
        scroll-margin-top: 0;
    }

    .fbsection.home {
        min-height: 100vh;
        min-height: 100svh;
    }

    .block {
        display: flex;
        min-height: auto;
        flex-direction: column;
    }

    .connoisseur-home-panel {
        min-height: 100vh;
        min-height: 100svh;
        padding: 28px;
    }

    .connoisseur-home-copy {
        margin-bottom: 52px;
        padding: 22px 24px;
    }

    .inner-left,
    .inner-noslit {
        height: auto;
        max-height: none;
        min-height: auto;
        padding: 20px;
        overflow: visible;
        scrollbar-gutter: auto;
    }

    .inner-left header,
    .inner-noslit header {
        padding-top: 65px;
    }

    .inner-image-mobile {
        display: block;
        margin: 0 0 24px;
    }

    .inner-image-mobile img {
        display: block;
        width: 100%;
        aspect-ratio: 4 / 5;
        object-fit: cover;
        object-position: center top;
    }

    .inner-image {
        display: none;
    }

    .block--gallery {
        padding: 0;
    }

    .connoisseur-gallery-heading {
        width: calc(100% - 40px);
        margin-left: 20px;
    }

    .bl-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-height: auto;
    }

    .connoisseur-empty-gallery,
    .connoisseur-vault-panel {
        min-height: 70vh;
        padding: 36px 24px;
    }

    .connoisseur-vault-panel {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 640px) {
    body.connoisseur-cms {
        overflow-y: auto;
        font-size: 14px;
    }

    .menu nav > a {
        font-size: 12px;
    }

    .menu nav > a::before {
        top: 22px;
    }

    .inner-left header,
    .inner-noslit header,
    .connoisseur-gallery-heading strong {
        font-size: 38px;
    }

    .bl-main {
        grid-template-columns: 1fr;
    }

    .bl-box,
    .bl-box img,
    .bl-box video {
        min-height: 196px;
    }

    .project-title {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .connoisseur-cms p {
        font-size: 16px;
    }

    .inner-left,
    .inner-noslit {
        padding: 10px;
    }
}
