/* One page surface: every direct link keeps the same branded entrance. */
.ml-site-stage { transform-origin: 50% 0; }
html.ml-age-gate-open .ml-site-stage {
    filter: blur(5px);
    pointer-events: none;
}
html.ml-age-gate-open .ml-site-stage {
    transform: translate3d(0, 28svh, 0) scale(.9);
}
html.ml-age-gate-leaving .ml-site-stage {
    transition: transform 760ms cubic-bezier(.22, 1, .36, 1), filter 620ms ease;
    filter: blur(0);
}
html.ml-age-gate-leaving .ml-site-stage {
    transform: translate3d(0, 0, 0) scale(1);
}
html:is(.ml-age-gate-open, .ml-age-gate-leaving),
html:is(.ml-age-gate-open, .ml-age-gate-leaving) body { overflow: hidden !important; overflow-anchor: none; }
html:is(.ml-age-gate-open, .ml-age-gate-leaving) body { background: #000 !important; }
html:is(.ml-age-gate-open, .ml-age-gate-leaving) body:not(.home) .ml-site-stage { background: #fff; }

body #ml-age-gate {
    position: fixed;
    inset: 0;
    box-sizing: border-box;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    visibility: hidden;
    opacity: 0;
    transition: none;
    z-index: 10060;
}
body #ml-age-gate.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}
body #ml-age-gate .ml-age-gate-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .3) !important;
    backdrop-filter: none !important;
    opacity: 1;
    transition: opacity 600ms ease;
}
body #ml-age-gate .ml-age-gate-panel {
    position: relative;
    box-sizing: border-box;
    width: min(100%, 520px);
    max-width: 520px;
    max-height: calc(100dvh - 48px);
    overflow: auto;
    margin: 0;
    padding: 42px 48px 30px;
    background: rgba(0, 0, 0, .96);
    border: 1px solid #292722;
    border-radius: 0;
    box-shadow: none;
    color: #f5eee2;
    text-align: center;
    transform: translateY(0);
    transition: transform 600ms cubic-bezier(.55, 0, .35, 1), opacity 420ms ease;
}
body #ml-age-gate .ml-age-gate-panel::before { display: none; }
body #ml-age-gate .ml-age-gate-panel:focus { outline: none; }
body #ml-age-gate .ml-age-gate-brand { margin: 0 auto 30px; }
body #ml-age-gate .ml-age-gate-brand img {
    display: block;
    width: 272px;
    max-width: 100%;
    height: auto;
    margin-inline: auto;
    filter: brightness(0) invert(1);
}
body #ml-age-gate .ml-age-gate-brand strong { font: 400 32px/1.1 Georgia, serif; color: #f5eee2; }
body #ml-age-gate .ml-age-gate-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: auto;
    height: auto;
    margin: 0 0 20px;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: #c3a15c;
    font: 500 12px/1.5 'Segoe UI', Arial, sans-serif;
    letter-spacing: .12em;
}
body #ml-age-gate .ml-age-gate-mark::before,
body #ml-age-gate .ml-age-gate-mark::after { content: ''; width: 32px; height: 1px; background: #51452f; }
body #ml-age-gate .ml-age-gate-panel h2 {
    margin: 0 auto 18px;
    color: #f5eee2;
    font: 400 48px/1.08 Georgia, serif;
    letter-spacing: -.04em;
}
body #ml-age-gate .ml-age-gate-panel p {
    max-width: 31ch;
    margin: 0 auto 26px;
    color: #b7b0a6;
    font: 400 15px/1.65 'Segoe UI', Arial, sans-serif;
}
body #ml-age-gate .ml-age-gate-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 0;
}
body #ml-age-gate .ml-age-gate-actions .ml-button {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    cursor: pointer;
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    border: 1px solid #c3a15c;
    border-radius: 0;
    background: #c3a15c;
    color: #171511;
    box-shadow: none;
    font: 600 14px/1.4 'Segoe UI', Arial, sans-serif;
    text-transform: none;
    letter-spacing: 0;
    text-decoration: none;
    transform: none;
}
body #ml-age-gate .ml-age-gate-actions .ml-button:hover { background: #d3b77b; }
body #ml-age-gate .ml-age-gate-actions .is-secondary {
    background: transparent;
    border-color: transparent;
    color: #b7b0a6;
    font-weight: 400;
}
body #ml-age-gate .ml-age-gate-actions .is-secondary:hover { color: #f5eee2; background: #191917; }
body #ml-age-gate .ml-button:focus-visible { outline: 2px solid #f5eee2; outline-offset: 4px; }
body #ml-age-gate .ml-age-gate-signoff { display: block; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid #292722; }
body #ml-age-gate .ml-age-gate-signoff span { color: #aaa49a; font: 400 12px/1.5 'Segoe UI', Arial, sans-serif; }
body #ml-age-gate.is-leaving .ml-age-gate-panel { transform: translateY(-65svh); opacity: 0; }
body #ml-age-gate.is-leaving .ml-age-gate-backdrop { opacity: 0; }

@media (max-width: 600px) {
    html.ml-age-gate-open .ml-site-stage { transform: translate3d(0, 14svh, 0) scale(.94); }
    html.ml-age-gate-leaving .ml-site-stage { transform: translate3d(0, 0, 0) scale(1); }
    body #ml-age-gate { padding: 18px; }
    body #ml-age-gate .ml-age-gate-panel { padding: 28px 24px 22px; max-height: calc(100dvh - 36px); }
    body #ml-age-gate .ml-age-gate-brand { margin-bottom: 24px; }
    body #ml-age-gate .ml-age-gate-brand img { width: 232px; }
    body #ml-age-gate .ml-age-gate-panel h2 { font-size: 40px; }
}
@media (prefers-reduced-motion: reduce) {
    html.ml-age-gate-open .ml-site-stage,
    html.ml-age-gate-leaving .ml-site-stage { transform: none; }
    html.ml-age-gate-leaving .ml-site-stage,
    body #ml-age-gate .ml-age-gate-panel,
    body #ml-age-gate .ml-age-gate-backdrop { transition: none; }
    body #ml-age-gate.is-leaving .ml-age-gate-panel { transform: none; }
}
