/* ============================================================
   Chrome — header, footer, mobile drawer, scroll states
   ============================================================ */

/* --- header --- */
.vlj-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 80;
    transition: background .45s ease, border-color .45s ease, padding .35s ease;
    background: rgba(8, 6, 10, .85);
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    border-bottom: 1px solid var(--vlj-line);
}

/* Transparent on home before scroll so hero feels like one canvas */
body.vlj-home .vlj-header[data-state="top"] {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom-color: transparent;
}

.vlj-header[data-state="scrolled"] {
    background: rgba(8, 6, 10, .94);
}

.vlj-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 18px clamp(20px, 4vw, 56px);
    max-width: 1440px;
    margin: 0 auto;
}

/* brand wordmark */
.vlj-brand {
    display: inline-flex;
    text-decoration: none;
    line-height: 1;
}
.vlj-brand__script {
    font-family: var(--vlj-script);
    color: var(--vlj-cream);
    font-size: clamp(34px, 4vw, 46px);
    line-height: 1;
    letter-spacing: -.005em;
}

/* primary nav */
.vlj-nav { display: none; }
@media (min-width: 1024px) {
    .vlj-nav { display: block; }
}
.vlj-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 28px;
}
.vlj-nav__list a {
    color: var(--vlj-cream);
    font-family: var(--vlj-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 6px 0;
    position: relative;
    transition: color .2s ease;
}
.vlj-nav__list a::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    bottom: 0;
    height: 1px;
    background: var(--vlj-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}
.vlj-nav__list a:hover { color: var(--vlj-gold-2); }
.vlj-nav__list a:hover::after { transform: scaleX(1); }

/* header CTA cluster */
.vlj-header__cta { display: none; }
@media (min-width: 1024px) {
    .vlj-header__cta { display: inline-flex; gap: 12px; }
}

/* burger */
.vlj-burger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1px solid var(--vlj-line-2);
    border-radius: var(--vlj-radius);
    padding: 0;
    cursor: pointer;
}
.vlj-burger span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--vlj-cream);
    margin: 0 auto;
    transition: transform .25s ease, opacity .25s ease;
}
.vlj-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.vlj-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.vlj-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (min-width: 1024px) {
    .vlj-burger { display: none; }
}

/* mobile drawer */
.vlj-drawer {
    position: fixed;
    inset: 0;
    background: var(--vlj-bg);
    z-index: 90;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 80px 32px;
    transform: translateX(100%);
    transition: transform .4s cubic-bezier(.65, 0, .35, 1);
}
.vlj-drawer[aria-hidden="false"] { transform: translateX(0); }
.vlj-drawer__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    color: var(--vlj-cream);
    border: none;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
}
.vlj-drawer__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
    text-align: center;
}
.vlj-drawer__list a {
    color: var(--vlj-cream);
    font-family: var(--vlj-display);
    font-size: 28px;
    text-decoration: none;
    font-style: italic;
}
.vlj-drawer__cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 320px;
}

/* skip link sits above everything */
.vlj-skip { z-index: 1000; }

/* ============================================================
   Footer
   ============================================================ */
.vlj-footer {
    position: relative;
    background: var(--vlj-bg-2);
    border-top: 1px solid var(--vlj-line);
    color: var(--vlj-cream-2);
    overflow: clip;
}
.vlj-footer__inner {
    max-width: var(--vlj-max);
    margin: 0 auto;
    padding: clamp(60px, 8vw, 110px) var(--vlj-gutter) 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(28px, 4vw, 56px);
    position: relative;
    z-index: 2;
}
.vlj-footer__col h4 { color: var(--vlj-gold-2); }
.vlj-footer__col p { font-size: 15px; }
.vlj-footer__brand .vlj-brand__script {
    font-size: clamp(46px, 5vw, 64px);
    color: var(--vlj-cream);
    line-height: 1;
    display: inline-block;
    margin-bottom: 12px;
}
.vlj-footer__social { display: flex; gap: 12px; margin-top: 14px; }
.vlj-footer__social a { color: var(--vlj-cream); transition: color .2s ease; }
.vlj-footer__social a:hover { color: var(--vlj-gold-2); }

.vlj-footer__ctas { display: flex; flex-direction: column; gap: 10px; }

.vlj-footer__legal {
    max-width: var(--vlj-max);
    margin: 0 auto;
    padding: 22px var(--vlj-gutter) 36px;
    border-top: 1px solid var(--vlj-line);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--vlj-mute);
    position: relative;
    z-index: 2;
}
.vlj-footer__credit a { color: var(--vlj-gold-2); }

@media (max-width: 1023px) {
    .vlj-footer__inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 599px) {
    .vlj-footer__inner { grid-template-columns: 1fr; }
}

/* ============================================================
   Open / Closed status pill — red ⇄ green with sleek glass finish
   ============================================================ */
.vlj-open-pill {
    /* Default = CLOSED → red */
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 16px 7px 13px;
    border-radius: 999px;
    border: 1px solid rgba(232, 60, 60, .35);
    background:
        linear-gradient(180deg, rgba(74, 18, 18, .55), rgba(36, 10, 10, .55));
    backdrop-filter: blur(8px) saturate(1.1);
    -webkit-backdrop-filter: blur(8px) saturate(1.1);
    box-shadow:
        inset 0 1px 0 rgba(255, 200, 200, .06),
        0 4px 14px rgba(0, 0, 0, .35);
    font-family: var(--vlj-body);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: .06em;
    color: #F0D9D2;
    line-height: 1;
    white-space: nowrap;
    transition: color .4s ease, border-color .4s ease, background .4s ease, box-shadow .4s ease;
}

.vlj-open-pill.is-open {
    /* OPEN → green */
    border-color: rgba(80, 200, 100, .40);
    background:
        linear-gradient(180deg, rgba(20, 50, 24, .55), rgba(10, 28, 14, .55));
    color: #D4F0DA;
    box-shadow:
        inset 0 1px 0 rgba(200, 255, 210, .08),
        0 4px 14px rgba(0, 0, 0, .35),
        0 0 22px rgba(80, 200, 100, .14);
}

.vlj-open-pill__dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    /* Closed dot — warm ember red with a soft inner highlight */
    background: radial-gradient(circle at 30% 30%, #FF6A5C, #C8302E 65%, #8E1B19);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, .25),
        0 0 8px rgba(232, 60, 60, .35);
    flex-shrink: 0;
    transition: background .4s ease, box-shadow .4s ease;
}
.vlj-open-pill.is-open .vlj-open-pill__dot {
    /* Open dot — fresh herb green with halo + pulse */
    background: radial-gradient(circle at 30% 30%, #A8F0A0, #4CC264 60%, #2E8B45);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, .25),
        0 0 10px rgba(80, 200, 100, .55);
    animation: vljOpenPulse 2.2s cubic-bezier(.4, 0, .6, 1) infinite;
}
@keyframes vljOpenPulse {
    0%   { box-shadow: 0 0 0 1px rgba(0, 0, 0, .25), 0 0 10px rgba(80, 200, 100, .55), 0 0 0 0   rgba(80, 200, 100, .55); }
    70%  { box-shadow: 0 0 0 1px rgba(0, 0, 0, .25), 0 0 10px rgba(80, 200, 100, .55), 0 0 0 9px rgba(80, 200, 100, 0);   }
    100% { box-shadow: 0 0 0 1px rgba(0, 0, 0, .25), 0 0 10px rgba(80, 200, 100, .55), 0 0 0 0   rgba(80, 200, 100, 0);   }
}

/* Reduced motion — kill the pulse, keep the colors */
@media (prefers-reduced-motion: reduce) {
    .vlj-open-pill.is-open .vlj-open-pill__dot { animation: none; }
}

/* Header pill desktop variant — sits inside .vlj-header__cta next to
   Order/Reserve. Hidden on mobile because .vlj-header__cta is itself
   display:none — the sub-row pill takes over. */
.vlj-open-pill--header { margin-right: 4px; }

/* Status sub-row — appears BELOW the main header row on mobile/tablet.
   Centered, hairline brass border-top, predictable, can't conflict
   with the burger. */
.vlj-header__status {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px clamp(16px, 4vw, 32px);
    border-top: 1px solid var(--vlj-line);
    background: rgba(8, 6, 10, .45);
}
@media (min-width: 1024px) {
    /* Desktop has the pill in the CTA group above — hide the sub-row. */
    .vlj-header__status { display: none; }
}

.vlj-open-pill--sub {
    font-size: 11.5px;
    padding: 6px 14px 6px 12px;
}

/* Large variant — bigger, sits inside the contact-page hours block. */
.vlj-open-pill--large {
    padding: 9px 18px 9px 14px;
    font-size: 13px;
    margin-bottom: 12px;
}
.vlj-open-pill--large .vlj-open-pill__dot { width: 10px; height: 10px; }

/* Reduced motion — kill the pulse */
@media (prefers-reduced-motion: reduce) {
    .vlj-open-pill.is-open .vlj-open-pill__dot { animation: none; }
}

/* ============================================================
   Floating CTA stack (call + text)
   ============================================================ */
.vlj-cta-stack {
    position: fixed;
    right: clamp(16px, 3vw, 28px);
    bottom: clamp(16px, 3vw, 28px);
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    transition: opacity .45s ease, visibility .45s ease, transform .45s cubic-bezier(.2,.65,.25,1);
}
.vlj-cta-stack.is-tucked {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(.92);
    pointer-events: none;
}

.vlj-fab {
    display: inline-flex;
    align-items: center;
    gap: 0;
    border-radius: 999px;
    text-decoration: none;
    font-family: var(--vlj-body);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .04em;
    overflow: hidden;
    isolation: isolate;
    transition: transform .35s cubic-bezier(.2,.65,.25,1),
                box-shadow .35s ease,
                background .35s ease,
                color .35s ease,
                border-color .35s ease;
}
.vlj-fab:hover { transform: translateY(-3px) scale(1.03); }
.vlj-fab:focus-visible {
    outline: 2px solid var(--vlj-candle);
    outline-offset: 4px;
}

.vlj-fab__core {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}
.vlj-fab__icon { display: block; }

/* Phone-number label — collapsed on mobile (icon only); expanded on desktop hover */
.vlj-fab__label {
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    opacity: 0;
    padding-right: 0;
    transition: max-width .4s cubic-bezier(.2,.65,.25,1),
                opacity .35s ease,
                padding-right .4s cubic-bezier(.2,.65,.25,1);
}
@media (hover: hover) and (min-width: 768px) {
    .vlj-fab:hover .vlj-fab__label {
        max-width: 220px;
        opacity: 1;
        padding-right: 22px;
    }
}

/* --- Primary: tap-to-call (gold filled disc, brass pulse) --- */
.vlj-fab--call {
    height: 60px;
    background: linear-gradient(180deg, var(--vlj-gold-2) 0%, var(--vlj-gold) 60%, var(--vlj-gold-3) 100%);
    color: var(--vlj-ink);
    box-shadow:
        0 0 0 1px rgba(232, 195, 106, .35),
        0 14px 38px rgba(0, 0, 0, .55),
        0 0 38px rgba(232, 195, 106, .25);
}
.vlj-fab--call:hover {
    color: var(--vlj-ink);
    box-shadow:
        0 0 0 1px rgba(232, 195, 106, .55),
        0 18px 48px rgba(0, 0, 0, .65),
        0 0 56px rgba(232, 195, 106, .42);
}
.vlj-fab--call .vlj-fab__core { width: 60px; height: 60px; }
.vlj-fab--call .vlj-fab__ring {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    box-shadow: 0 0 0 0 rgba(232, 195, 106, .55);
    animation: vljCallPulse 2.4s cubic-bezier(.4, 0, .6, 1) infinite;
    z-index: 0;
    pointer-events: none;
}
@keyframes vljCallPulse {
    0%   { box-shadow: 0 0 0 0   rgba(232, 195, 106, .55); }
    70%  { box-shadow: 0 0 0 18px rgba(232, 195, 106, 0);   }
    100% { box-shadow: 0 0 0 0   rgba(232, 195, 106, 0);   }
}

/* Reduced-motion: kill the pulse + transitions */
@media (prefers-reduced-motion: reduce) {
    .vlj-fab--call .vlj-fab__ring { animation: none; }
    .vlj-fab,
    .vlj-cta-stack { transition: opacity .25s ease, visibility .25s ease; }
}

/* ============================================================
   Slice popup (homepage, on first visit)
   ============================================================ */
.vlj-popup {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .55s cubic-bezier(.16,.68,.25,1),
                visibility .55s ease;
}
.vlj-popup.is-open {
    opacity: 1;
    visibility: visible;
}

.vlj-popup__backdrop {
    position: absolute;
    inset: 0;
    /* Lighter dim than before — heavy blur smeared the wine-pour video into
       a frozen-looking gold haze on mobile. Keep some focus pull, but let
       the motion behind read so it's clear the popup is just an overlay. */
    background:
        radial-gradient(ellipse 70% 60% at 50% 50%, rgba(8, 6, 10, .35), rgba(8, 6, 10, .65) 95%);
    backdrop-filter: blur(4px) saturate(.95);
    -webkit-backdrop-filter: blur(4px) saturate(.95);
    cursor: pointer;
}

.vlj-popup__card {
    position: relative;
    width: min(560px, 100%);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    border-radius: var(--vlj-radius-lg);
    border: 1px solid rgba(232, 195, 106, .35);
    background:
        radial-gradient(ellipse 70% 50% at 50% 0%, rgba(232, 195, 106, .08), transparent 70%),
        linear-gradient(180deg, var(--vlj-bg-3) 0%, var(--vlj-bg-2) 60%, var(--vlj-bg) 100%);
    box-shadow:
        0 0 0 1px rgba(8, 6, 10, .6),
        0 40px 120px rgba(0, 0, 0, .75),
        0 0 80px rgba(232, 195, 106, .18);
    transform: translateY(28px) scale(.96);
    transition: transform .65s cubic-bezier(.2,.65,.25,1);
    isolation: isolate;
}
.vlj-popup.is-open .vlj-popup__card { transform: translateY(0) scale(1); }

/* Hairline brass arc at the top of the card — adds the editorial seal feel */
.vlj-popup__card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--vlj-gold-2), transparent);
    opacity: .65;
}

.vlj-popup__close {
    position: absolute;
    top: 14px; right: 14px;
    z-index: 4;
    width: 36px; height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 6, 10, .55);
    border: 1px solid var(--vlj-line-2);
    border-radius: 50%;
    color: var(--vlj-cream-2);
    cursor: pointer;
    transition: color .25s ease, border-color .25s ease, background .25s ease, transform .25s ease;
}
.vlj-popup__close:hover {
    color: var(--vlj-candle);
    border-color: var(--vlj-gold-2);
    background: rgba(20, 16, 12, .8);
    transform: rotate(90deg);
}
.vlj-popup__close:focus-visible {
    outline: 2px solid var(--vlj-candle);
    outline-offset: 3px;
}

/* Art panel — top of card */
.vlj-popup__art {
    position: relative;
    padding: 44px clamp(28px, 4vw, 44px) 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    border-bottom: 1px solid var(--vlj-line);
    background:
        radial-gradient(ellipse 120% 80% at 0% 100%, rgba(194, 69, 30, .28), transparent 65%),
        radial-gradient(ellipse 80% 60% at 100% 0%, rgba(232, 195, 106, .14), transparent 70%);
    overflow: hidden;
    border-top-left-radius: var(--vlj-radius-lg);
    border-top-right-radius: var(--vlj-radius-lg);
}
.vlj-popup__art::after {
    /* slow brass shimmer once on open */
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 38%, rgba(255, 231, 168, .14) 50%, transparent 62%);
    transform: translateX(-110%);
    pointer-events: none;
}
.vlj-popup.is-open .vlj-popup__art::after {
    animation: vljPopupShimmer 1.8s cubic-bezier(.2,.65,.25,1) .4s 1 forwards;
}
@keyframes vljPopupShimmer {
    to { transform: translateX(110%); }
}
.vlj-popup__mark {
    font-family: var(--vlj-script);
    font-size: clamp(64px, 9vw, 92px);
    line-height: .85;
    background: linear-gradient(180deg, #FFE7A8 0%, #E8C36A 50%, #C29849 80%, #7E5E22 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 24px rgba(232, 195, 106, .25);
}
.vlj-popup__pill {
    display: inline-flex;
    padding: 6px 14px;
    border: 1px solid rgba(232, 195, 106, .42);
    border-radius: 999px;
    font-family: var(--vlj-body);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .22em;
    color: var(--vlj-gold-2);
    background: rgba(8, 6, 10, .35);
}

/* Body */
.vlj-popup__body {
    padding: 28px clamp(28px, 4vw, 44px) clamp(28px, 4vw, 36px);
}
.vlj-popup__body .vlj-eyebrow { color: var(--vlj-gold-2); margin-bottom: 14px; display: inline-block; }
.vlj-popup__title {
    font-family: var(--vlj-display);
    font-style: italic;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 500;
    line-height: 1.15;
    color: var(--vlj-cream);
    margin: 0 0 14px;
}
.vlj-popup__copy {
    font-family: var(--vlj-display);
    font-size: clamp(15px, 1.5vw, 17px);
    line-height: 1.55;
    color: var(--vlj-cream-2);
    margin: 0 0 22px;
}
.vlj-popup__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
.vlj-popup__defer {
    background: transparent;
    border: 0;
    color: var(--vlj-mute);
    font-family: var(--vlj-display);
    font-style: italic;
    font-size: 14px;
    cursor: pointer;
    padding: 10px 6px;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: var(--vlj-line-2);
    transition: color .25s ease, text-decoration-color .25s ease;
}
.vlj-popup__defer:hover {
    color: var(--vlj-cream);
    text-decoration-color: var(--vlj-gold-2);
}

/* Reduced motion: instant in, no shimmer */
@media (prefers-reduced-motion: reduce) {
    .vlj-popup,
    .vlj-popup__card { transition: opacity .2s ease, visibility .2s ease; transform: none !important; }
    .vlj-popup__art::after { animation: none !important; }
}

@media (max-width: 540px) {
    .vlj-popup { padding: 12px; }
    .vlj-popup__art { padding: 36px 24px 24px; }
    .vlj-popup__body { padding: 22px 24px 28px; }
    .vlj-popup__ctas .vlj-btn { width: 100%; text-align: center; }
    .vlj-popup__ctas { flex-direction: column; align-items: stretch; gap: 6px; }
    .vlj-popup__defer { align-self: center; padding-top: 6px; }
}

/* ============================================================
   Generic page hero (for inner pages)
   ============================================================ */
.vlj-page-hero {
    background: var(--vlj-bg-2);
    border-bottom: 1px solid var(--vlj-line);
    padding-top: calc(var(--vlj-section) + 40px);
}
.vlj-page-hero__inner { text-align: center; max-width: 820px; margin: 0 auto; }
.vlj-page-hero__inner h1 { margin-top: .2em; }
.vlj-page-hero__lede {
    margin: 1em auto 0;
    max-width: 640px;
    color: var(--vlj-mute);
    font-size: 18px;
}
