html.sps-age-gate-open,
html.sps-age-gate-open body {
    overflow: hidden !important;
}

.sps-age-gate {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: grid;
    place-items: center;
    padding: 1rem;
    color: #ebe0ca;
    font-family: Georgia, "Times New Roman", serif;
    isolation: isolate;
}

.sps-age-gate[hidden] {
    display: none;
}

.sps-age-gate__backdrop {
    position: absolute;
    inset: 0;
    z-index: -4;
    background:
        radial-gradient(circle at 50% 18%, rgba(104,17,24,.17), transparent 35rem),
        radial-gradient(ellipse at 50% 100%, rgba(75,42,21,.12), transparent 48%),
        linear-gradient(rgba(6,6,6,.965), rgba(6,6,6,.997));
}

.sps-age-gate__stage {
    position: relative;
    width: min(100%, 810px);
    padding-bottom: 16px;
}

.sps-age-gate__panel {
    position: relative;
    width: 100%;
    padding: clamp(2rem, 6vw, 4rem);
    text-align: center;
    background:
        linear-gradient(145deg, rgba(92,57,36,.14), transparent 48%),
        radial-gradient(circle at 50% 10%, rgba(157,116,56,.035), transparent 34%),
        rgba(18,18,18,.975);
    border: 1px solid rgba(157,116,56,.66);
    box-shadow:
        0 30px 80px rgba(0,0,0,.68),
        0 0 86px rgba(157,85,32,.055),
        inset 0 0 58px rgba(0,0,0,.22);
}

.sps-age-gate__panel::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(157,116,56,.22);
    pointer-events: none;
}

.sps-age-gate__panel::after {
    content: "";
    position: absolute;
    inset: 22px;
    border-top: 1px solid rgba(157,116,56,.055);
    border-bottom: 1px solid rgba(157,116,56,.055);
    pointer-events: none;
}

.sps-age-gate--candles .sps-age-gate__panel {
    animation: sps-panel-breathe 8s ease-in-out infinite;
}

.sps-age-gate__ledge {
    position: absolute;
    z-index: -1;
    left: -34px;
    right: -34px;
    bottom: 0;
    height: 22px;
    border-radius: 2px 2px 50% 50%;
    background:
        linear-gradient(180deg, #7c5b2d 0%, #3f2a17 32%, #1a1009 82%);
    box-shadow:
        0 15px 26px rgba(0,0,0,.72),
        inset 0 2px 2px rgba(218,166,77,.24),
        inset 0 -3px 5px rgba(0,0,0,.65);
}

.sps-age-gate__ledge::before,
.sps-age-gate__ledge::after {
    content: "";
    position: absolute;
    top: 4px;
    width: 70px;
    height: 10px;
    opacity: .5;
    background:
        radial-gradient(ellipse at center, rgba(197,147,67,.6), transparent 60%);
}

.sps-age-gate__ledge::before { left: 36px; }
.sps-age-gate__ledge::after { right: 36px; }

.sps-age-gate__frame-ornament {
    position: absolute;
    z-index: 1;
    bottom: 25px;
    width: 72px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(157,116,56,.42));
}

.sps-age-gate__frame-ornament::after {
    content: "◆";
    position: absolute;
    top: -8px;
    color: rgba(157,116,56,.50);
    font-size: 11px;
}

.sps-age-gate__frame-ornament--left {
    left: 42px;
}

.sps-age-gate__frame-ornament--left::after {
    right: -1px;
}

.sps-age-gate__frame-ornament--right {
    right: 42px;
    transform: scaleX(-1);
}

.sps-age-gate__frame-ornament--right::after {
    right: -1px;
}

.sps-age-gate__crest-wrap {
    margin: 0 auto 1.2rem;
    display: grid;
    place-items: center;
}

.sps-age-gate__crest {
    display: block;
    max-width: min(100%, 300px);
    max-height: 230px;
    object-fit: contain;
    filter:
        drop-shadow(0 8px 18px rgba(0,0,0,.58))
        drop-shadow(0 0 12px rgba(195,132,55,.105));
}

.sps-age-gate__seal {
    width: 96px;
    height: 96px;
    margin: 0 auto 1.5rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 25%, rgba(255,255,255,.14), transparent 18%),
        radial-gradient(circle, #7f171e, #4e0e13 68%);
    box-shadow:
        inset 0 0 0 3px rgba(157,116,56,.36),
        0 8px 24px rgba(0,0,0,.55);
}

.sps-age-gate__seal span {
    color: #c39a58;
    font-size: 2rem;
    letter-spacing: .08em;
}

.sps-age-gate__eyebrow {
    margin: 0 0 .7rem;
    color: #9d7438;
    text-transform: uppercase;
    letter-spacing: .2em;
    font-size: .76rem;
}

.sps-age-gate h1 {
    margin: 0;
    font-weight: 400;
    font-size: clamp(2rem, 6vw, 3.65rem);
    line-height: 1.05;
}

.sps-age-gate__copy {
    max-width: 560px;
    margin: 1.35rem auto 0;
    color: #b8aa91;
    font-size: 1.02rem;
    line-height: 1.65;
}

.sps-age-gate__actions {
    display: grid;
    gap: .8rem;
    max-width: 430px;
    margin: 2rem auto 0;
}

.sps-age-gate__button {
    width: 100%;
    min-height: 52px;
    padding: .8rem 1rem;
    border-radius: 0;
    font: inherit;
    text-transform: uppercase;
    letter-spacing: .11em;
    font-size: .75rem;
    cursor: pointer;
}

.sps-age-gate__button--primary {
    color: #ebe0ca;
    border: 1px solid #9d7438;
    background: #681118;
}

.sps-age-gate__button--primary:hover,
.sps-age-gate__button--primary:focus-visible {
    background: #7b1820;
}

.sps-age-gate__button--secondary {
    color: #b8aa91;
    border: 1px solid rgba(157,116,56,.35);
    background: transparent;
}

.sps-age-gate__button--secondary:hover,
.sps-age-gate__button--secondary:focus-visible {
    color: #ebe0ca;
    border-color: #9d7438;
}

.sps-age-gate__legal {
    margin: 1.5rem auto 0;
    color: #817765;
    font-size: .76rem;
    line-height: 1.5;
}

/* Integrated brass sconces */
.sps-sconce {
    position: absolute;
    z-index: 5;
    bottom: 16px;
    width: 126px;
    height: 210px;
    pointer-events: none;
}

.sps-sconce--left {
    left: -77px;
}

.sps-sconce--right {
    right: -77px;
    transform: scaleX(-1);
}

.sps-sconce__light {
    position: absolute;
    left: 47px;
    top: -57px;
    width: 255px;
    height: 255px;
    border-radius: 50%;
    background:
        radial-gradient(circle,
            rgba(255,194,101,.22) 0%,
            rgba(197,95,34,.105) 36%,
            rgba(104,17,24,.038) 58%,
            transparent 73%);
    filter: blur(25px);
    animation: sps-sconce-light 4.8s ease-in-out infinite;
}

.sps-sconce--right .sps-sconce__light {
    animation-delay: -2.2s;
}

.sps-sconce__flame {
    position: absolute;
    z-index: 4;
    left: 58px;
    top: 0;
    width: 19px;
    height: 38px;
    transform-origin: 50% 100%;
    border-radius: 50% 50% 48% 48% / 66% 66% 38% 38%;
    background:
        radial-gradient(ellipse at 50% 68%, #fff4c0 0 12%, #ffbf4d 30%, #dc6324 66%, rgba(151,45,13,.18) 100%);
    box-shadow:
        0 0 12px rgba(255,169,56,.76),
        0 0 28px rgba(214,89,26,.36);
    animation: sps-sconce-flame 1.8s ease-in-out infinite;
}

.sps-sconce--right .sps-sconce__flame {
    animation-delay: -.76s;
}

.sps-sconce__flame-core {
    position: absolute;
    left: 50%;
    bottom: 6px;
    width: 6px;
    height: 15px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: rgba(255,249,205,.94);
}

.sps-sconce__wick {
    position: absolute;
    z-index: 3;
    left: 66px;
    top: 33px;
    width: 3px;
    height: 12px;
    background: #271b14;
}

.sps-sconce__candle {
    position: absolute;
    z-index: 2;
    left: 46px;
    top: 43px;
    width: 42px;
    height: 92px;
    border-radius: 7px 7px 4px 4px;
    background:
        linear-gradient(90deg,
            #716043 0%,
            #c7b080 23%,
            #ead9aa 48%,
            #b89d69 76%,
            #655033 100%);
    box-shadow:
        inset 6px 0 10px rgba(255,255,255,.11),
        inset -7px 0 12px rgba(48,25,10,.27);
}

.sps-sconce__candle::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 12px;
    border-radius: 50%;
    background:
        radial-gradient(ellipse at center, #745d39 0 19%, #d9c18a 48%, #977a4d 73%);
}

.sps-sconce__drip {
    position: absolute;
    right: 5px;
    top: 6px;
    width: 6px;
    height: 28px;
    border-radius: 0 0 7px 7px;
    background: linear-gradient(#dcc590, #aa8b58);
}

.sps-sconce__cup {
    position: absolute;
    z-index: 3;
    left: 34px;
    top: 123px;
    width: 66px;
    height: 18px;
    border-radius: 50%;
    background:
        radial-gradient(ellipse at center, #a67a3b 0 18%, #5c3e20 58%, #22150c 100%);
    box-shadow:
        inset 0 2px 2px rgba(231,177,81,.24),
        0 7px 12px rgba(0,0,0,.43);
}

.sps-sconce__arm {
    position: absolute;
    z-index: 1;
    left: 75px;
    top: 132px;
    width: 63px;
    height: 13px;
    border-radius: 0 18px 18px 0;
    transform: rotate(18deg);
    transform-origin: left center;
    background:
        linear-gradient(180deg, #b18444 0%, #6d4925 45%, #2d1c10 100%);
    box-shadow:
        inset 0 2px 2px rgba(235,183,87,.22),
        0 5px 9px rgba(0,0,0,.35);
}

.sps-sconce__arm::after {
    content: "";
    position: absolute;
    right: -8px;
    top: -5px;
    width: 19px;
    height: 22px;
    border-radius: 50%;
    background:
        radial-gradient(circle, #a97e3c 0 24%, #50331b 60%, #20130b 100%);
}

.sps-sconce__mount {
    position: absolute;
    z-index: 2;
    right: -4px;
    bottom: 18px;
    width: 35px;
    height: 76px;
    border-radius: 48% 48% 42% 42%;
    background:
        radial-gradient(ellipse at 35% 24%, rgba(226,173,76,.30), transparent 25%),
        linear-gradient(90deg, #2e1c10, #98713a 48%, #352112);
    border: 1px solid rgba(157,116,56,.46);
    box-shadow:
        inset 0 0 7px rgba(0,0,0,.55),
        0 5px 12px rgba(0,0,0,.48);
}

.sps-sconce__mount::before,
.sps-sconce__mount::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 5px;
    height: 5px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: #2a190e;
    box-shadow: inset 0 1px 1px rgba(222,169,80,.30);
}

.sps-sconce__mount::before { top: 12px; }
.sps-sconce__mount::after { bottom: 12px; }

.sps-sconce__mount span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 13px;
    height: 13px;
    transform: translate(-50%, -50%) rotate(45deg);
    border: 1px solid rgba(205,151,68,.55);
}

@keyframes sps-sconce-flame {
    0%, 100% {
        transform: rotate(-1deg) scale(1,1);
        filter: brightness(.98);
    }
    23% {
        transform: rotate(3deg) scale(.94,1.08);
        filter: brightness(1.08);
    }
    48% {
        transform: rotate(-3deg) scale(1.05,.96);
        filter: brightness(.94);
    }
    72% {
        transform: rotate(2deg) scale(.97,1.04);
        filter: brightness(1.04);
    }
}

@keyframes sps-sconce-light {
    0%, 100% {
        opacity: .56;
        transform: scale(.98);
    }
    44% {
        opacity: .72;
        transform: scale(1.04);
    }
    70% {
        opacity: .61;
        transform: scale(1);
    }
}

@keyframes sps-panel-breathe {
    0%, 100% {
        box-shadow:
            0 30px 80px rgba(0,0,0,.68),
            0 0 82px rgba(157,85,32,.055),
            inset 0 0 58px rgba(0,0,0,.22);
    }
    50% {
        box-shadow:
            0 30px 80px rgba(0,0,0,.68),
            0 0 96px rgba(185,101,38,.085),
            inset 0 0 58px rgba(0,0,0,.20);
    }
}

@media (prefers-reduced-motion: reduce) {
    .sps-sconce__light,
    .sps-sconce__flame,
    .sps-age-gate__panel {
        animation: none !important;
    }
}

@media (max-width: 1050px) {
    .sps-age-gate__stage {
        width: min(100%, 730px);
    }

    .sps-sconce {
        transform: scale(.84);
    }

    .sps-sconce--left {
        left: -55px;
        transform-origin: right bottom;
    }

    .sps-sconce--right {
        right: -55px;
        transform: scaleX(-1) scale(.84);
        transform-origin: left bottom;
    }
}

@media (max-width: 780px) {
    .sps-sconce {
        display: none;
    }

    .sps-age-gate__ledge {
        left: -10px;
        right: -10px;
    }
}

@media (max-width: 520px) {
    .sps-age-gate__panel {
        padding: 2rem 1.25rem;
    }

    .sps-age-gate__seal {
        width: 80px;
        height: 80px;
    }

    .sps-age-gate__crest {
        max-width: 225px;
        max-height: 175px;
    }
}
