/* ==========================================================================
   Que Pasa Mexican Cafe — global site styles
   ========================================================================== */

:root {
    --qp-primary: #C41E3A;
    --qp-primary-dark: #8f0e26;
    --qp-secondary: #006847;
    --qp-secondary-dark: #004a32;
    --qp-accent: #F5B301;
    --qp-warm: #FBF3E4;
    --qp-cream: #FFF8EC;
    --qp-dark: #171412;
    --qp-charcoal: #2b2521;
    --qp-body: #3a3330;
    --qp-muted: #7a6f68;
    --qp-line: rgba(0,0,0,0.08);
}

html { scroll-behavior: smooth; }

body {
    color: var(--qp-body);
    background: var(--qp-cream);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* --- Buttons ------------------------------------------------------------- */

.qp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.75rem;
    border-radius: 9999px;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease;
    box-shadow: 0 6px 18px rgba(196, 30, 58, 0.18);
}
.qp-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(196, 30, 58, 0.28); }
.qp-btn:active { transform: translateY(0); }
.qp-btn-primary { background: var(--qp-primary); color: #fff; }
.qp-btn-primary:hover { background: var(--qp-primary-dark); color: #fff; }
.qp-btn-secondary { background: var(--qp-secondary); color: #fff; box-shadow: 0 6px 18px rgba(0,104,71,.22); }
.qp-btn-secondary:hover { background: var(--qp-secondary-dark); color: #fff; }
.qp-btn-ghost {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.85);
    box-shadow: none;
}
.qp-btn-ghost:hover { background: #fff; color: var(--qp-primary); }
.qp-btn-outline {
    background: transparent;
    color: var(--qp-primary);
    border: 2px solid var(--qp-primary);
    box-shadow: none;
}
.qp-btn-outline:hover { background: var(--qp-primary); color: #fff; }

/* --- Hero (split layout) ------------------------------------------------ */

.hero-split {
    display: grid;
    grid-template-columns: 1fr;
    background:
        radial-gradient(900px 500px at 20% 20%, rgba(245,179,1,0.12), transparent 60%),
        linear-gradient(135deg, #2b0c14 0%, #4a1220 55%, #5a1023 100%);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
    position: relative;
}
.hero-split__text {
    display: flex;
    align-items: center;
    padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 4vw, 3rem);
    order: 2;
}
.hero-split__inner { max-width: 34rem; width: 100%; }
.hero-split__inner h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.4rem, 5.2vw, 4.5rem);
    line-height: 1.05;
    margin: 0.75rem 0 1.25rem;
    text-wrap: balance;
}
.hero-split__inner h1 em {
    font-style: italic;
    background: linear-gradient(90deg, #ffd270, #f5b301);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-split__lede {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: rgba(255,255,255,0.9);
    line-height: 1.55;
    text-wrap: pretty;
}
.hero-split__photo {
    order: 1;
    position: relative;
    background: #1a0d10;
    aspect-ratio: 4 / 3;   /* mobile aspect — keeps the photo tall enough to read */
    overflow: hidden;
    -webkit-user-select: none;
    user-select: none;
    touch-action: pan-y;
}
/* Carousel — all slides stack absolutely, JS toggles is-active for crossfade + zoom */
.hero-carousel {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
}
.hero-carousel__slide {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: #1a0d10;
    opacity: 0;
    visibility: hidden;
    transition: opacity 900ms cubic-bezier(.4, 0, .2, 1),
                visibility 0s linear 900ms;
}
.hero-carousel__slide.is-active {
    opacity: 1;
    visibility: visible;
    transition: opacity 900ms cubic-bezier(.4, 0, .2, 1),
                visibility 0s linear 0s;
    z-index: 1;
}
.hero-carousel__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    pointer-events: none;
    transform: scale(1.08);
    filter: brightness(0.94);
    transition: transform 3200ms cubic-bezier(.22, .61, .36, 1),
                filter 1200ms ease;
}
.hero-carousel__slide.is-active img {
    transform: scale(1);
    filter: brightness(1);
}
/* Dot indicators */
.hero-carousel__dots {
    position: absolute;
    left: 50%;
    bottom: 1.15rem;
    transform: translateX(-50%);
    display: flex;
    gap: .55rem;
    z-index: 4;
    padding: .45rem .7rem;
    background: rgba(0,0,0,0.32);
    border-radius: 999px;
    backdrop-filter: blur(6px);
}
.hero-carousel__dot {
    width: 8px; height: 8px;
    border-radius: 999px;
    background: rgba(255,255,255,0.55);
    border: 0;
    padding: 0;
    cursor: pointer;
    transition: width .3s ease, background-color .3s ease;
}
.hero-carousel__dot.is-active {
    width: 22px;
    background: #fff;
}
.hero-carousel__dot:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}
/* Prev / next arrows (desktop only) */
.hero-carousel__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px; height: 44px;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.35);
    color: #fff;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    z-index: 4;
    transition: background-color .2s ease, transform .2s ease;
    backdrop-filter: blur(6px);
}
.hero-carousel__nav:hover { background: rgba(0,0,0,0.55); transform: translateY(-50%) scale(1.06); }
.hero-carousel__nav--prev { left: .9rem; }
.hero-carousel__nav--next { right: .9rem; }
@media (min-width: 900px) { .hero-carousel__nav { display: inline-flex; } }

/* Subtle seam gradient between text and photo (desktop only) */
.hero-split::after {
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    width: 40px;
    left: calc(5 / 12 * 100%);
    transform: translateX(-50%);
    background: linear-gradient(to right, rgba(0,0,0,0.25), transparent);
    pointer-events: none;
    opacity: 0;
    z-index: 2;
}

@keyframes hero-kenburns {
    from { transform: scale(1) translate(0, 0); }
    to   { transform: scale(1.08) translate(-1.5%, -0.75%); }
}

@media (min-width: 900px) {
    .hero-split {
        grid-template-columns: 5fr 7fr;
        height: min(100vh, 850px);  /* Desktop: viewport-tall, capped at 850px */
        min-height: 620px;           /* But never so squat it looks bad on short landscape screens */
        max-height: 850px;
    }
    .hero-split__text {
        order: 1;
        padding-right: clamp(2rem, 3vw, 3.5rem);
        padding-left: clamp(2rem, 5vw, 4.5rem);
        overflow-y: auto;
        scrollbar-width: none;        /* Firefox — hide scrollbar */
        -ms-overflow-style: none;     /* legacy Edge */
    }
    .hero-split__text::-webkit-scrollbar { display: none; }  /* Chrome/Safari */
    .hero-split__inner { margin-left: auto; margin-right: 0; }
    .hero-split__photo { order: 2; aspect-ratio: auto; height: 100%; }
    .hero-split::after { opacity: 1; }
}


/* Legacy .hero rules kept minimal (only .hero__eyebrow + .hero__rotator are still used elsewhere) */

/* Loc-hero base: allow inline background-image overrides */
.loc-hero {
    background-color: #400a17;
    background-size: cover;
    background-position: center;
}
.loc-hero::before { background: transparent; }

/* Photo tiles */
.photo-tile {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #2a1810;
    overflow: hidden;
    border-radius: 20px;
}
.photo-tile img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
    display: block;
}
.card-lift:hover .photo-tile img { transform: scale(1.06); }

.dish-photo {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #2a1810;
    overflow: hidden;
}
.dish-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
    display: block;
}
.card-lift:hover .dish-photo img { transform: scale(1.06); }
.hero__eyebrow {
    letter-spacing: .35em;
    text-transform: uppercase;
    font-size: .78rem;
    color: rgba(255,255,255,0.75);
}
.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5.5vw, 4.75rem);
    line-height: 1.05;
    margin: 0.75rem 0 1.25rem;
    text-wrap: balance;
}
.hero h1 em {
    font-style: italic;
    background: linear-gradient(90deg, #ffd270, #f5b301);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero__lede {
    font-size: clamp(1.05rem, 1.6vw, 1.35rem);
    color: rgba(255,255,255,0.9);
    max-width: 42rem;
    text-wrap: pretty;
}

/* Rotating hero taglines */
.hero__rotator { position: relative; height: 1.6em; overflow: hidden; }
.hero__rotator span {
    position: absolute; inset: 0;
    display: block;
    animation: rotate-word 12s infinite;
    opacity: 0;
}
.hero__rotator span:nth-child(1) { animation-delay: 0s; }
.hero__rotator span:nth-child(2) { animation-delay: 3s; }
.hero__rotator span:nth-child(3) { animation-delay: 6s; }
.hero__rotator span:nth-child(4) { animation-delay: 9s; }
@keyframes rotate-word {
    0%, 20% { opacity: 0; transform: translateY(100%); }
    5%, 18% { opacity: 1; transform: translateY(0); }
    22%, 100% { opacity: 0; transform: translateY(-100%); }
}

/* Marquee ribbon — pure CSS infinite scroll */
.ribbon {
    background: var(--qp-dark);
    color: #fff;
    padding: 0.7rem 0;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    position: relative;
}
.ribbon__track {
    display: inline-flex;
    align-items: center;
    gap: 3rem;
    padding-left: 3rem;               /* buffer between duplicated seams */
    white-space: nowrap;
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.02em;
    animation: ribbon-scroll 45s linear infinite;
    will-change: transform;
}
.ribbon__track span { display: inline-flex; align-items: center; gap: .75rem; opacity: .92; flex: 0 0 auto; }
.ribbon__track i { color: var(--qp-accent); }
.ribbon__track a { color: inherit; text-decoration: none; }
@keyframes ribbon-scroll {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
}
/* Soft fade at the edges */
.ribbon::before, .ribbon::after {
    content: "";
    position: absolute; top: 0; bottom: 0; width: 48px;
    pointer-events: none; z-index: 1;
}
.ribbon::before { left: 0; background: linear-gradient(to right, var(--qp-dark), transparent); }
.ribbon::after  { right: 0; background: linear-gradient(to left,  var(--qp-dark), transparent); }

/* --- Section rhythm ------------------------------------------------------ */

.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: .3em;
    font-size: .78rem;
    color: var(--qp-primary);
    font-weight: 700;
    margin-bottom: .75rem;
}
.section-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: clamp(1.9rem, 3.4vw, 2.75rem);
    line-height: 1.15;
    color: var(--qp-dark);
    text-wrap: balance;
    margin-bottom: 1rem;
}
.section-lede {
    font-size: 1.075rem;
    color: var(--qp-muted);
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    text-wrap: pretty;
}

/* --- Cards -------------------------------------------------------------- */

.card-lift {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 18px rgba(23,20,18,0.06), 0 1px 3px rgba(23,20,18,0.04);
    transition: transform .35s ease, box-shadow .35s ease;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.card-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 45px rgba(23,20,18,0.12), 0 4px 8px rgba(23,20,18,0.05);
}

.tag {
    display: inline-block;
    padding: .2rem .65rem;
    border-radius: 9999px;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: rgba(196,30,58,0.1);
    color: var(--qp-primary);
}
.tag--veg { background: rgba(0,104,71,0.12); color: var(--qp-secondary); }
.tag--spicy { background: rgba(245,179,1,0.18); color: #8a5d00; }

/* --- Location card ------------------------------------------------------ */

.loc-card {
    background: #fff;
    border-radius: 22px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(23,20,18,0.06);
    border: 1px solid var(--qp-line);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.loc-card:hover {
    transform: translateY(-4px);
    border-color: rgba(196,30,58,0.35);
    box-shadow: 0 20px 40px rgba(23,20,18,0.10);
}
.loc-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--qp-primary);
    font-size: 1.55rem;
    font-weight: 700;
}
.loc-card .nap { color: var(--qp-body); }
.loc-card .nap a:not(.qp-btn) { color: var(--qp-primary); font-weight: 600; }
.loc-card .nap a:not(.qp-btn):hover { text-decoration: underline; }

/* Whole-card link overlay technique (progressive enhancement) */
.loc-card { position: relative; cursor: pointer; }
.loc-card__overlay {
    position: absolute; inset: 0;
    z-index: 1;
    border-radius: inherit;
    text-indent: -9999px; overflow: hidden; white-space: nowrap;
}
.loc-card__stop { position: relative; z-index: 2; }
.loc-card .flex,
.loc-card p,
.loc-card > div { position: relative; }

/* Photo variant — hero storefront thumbnail at the top of the card */
.loc-card--photo {
    padding: 0;
    overflow: hidden;
    gap: 0;
}
.loc-card__photo {
    position: relative;
    margin: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eee;
}
.loc-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s ease;
}
.loc-card--photo:hover .loc-card__photo img { transform: scale(1.04); }
/* Body content sits below the photo, keeps prior spacing */
.loc-card--photo > *:not(.loc-card__photo):not(.loc-card__overlay) {
    padding-left: 2rem;
    padding-right: 2rem;
}
.loc-card--photo > *:nth-child(3) { padding-top: 1.5rem; }
.loc-card--photo > *:last-child { padding-bottom: 1.75rem; }
.loc-card--photo { gap: 1rem; display: flex; flex-direction: column; }

/* --- Reveal on scroll --------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: .12s; }
.reveal.delay-2 { transition-delay: .24s; }
.reveal.delay-3 { transition-delay: .36s; }
.reveal.delay-4 { transition-delay: .48s; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* --- Navigation --------------------------------------------------------- */

.site-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,248,236,0.85);
    backdrop-filter: saturate(1.4) blur(14px);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: box-shadow .3s ease, background-color .3s ease;
}
.site-nav.is-scrolled {
    background: rgba(255,255,255,0.96);
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}
.site-nav a:not(.qp-btn) { color: var(--qp-charcoal); }
.site-nav a:not(.qp-btn):hover { color: var(--qp-primary); }
/* --- Brand / logo -------------------------------------------------------- */

.site-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
}
.site-brand__logo {
    display: block;
    height: 65px;
    width: auto;
    max-width: 100%;
}
.site-brand__logo--footer { height: 81px; }
/* On dark backgrounds (mobile menu head, footer) — the wordmark is red/green
   on light. It stays legible on our dark palette, but nudge contrast slightly. */
.site-brand--onDark .site-brand__logo {
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.35));
}

@media (max-width: 640px) {
    .site-brand__logo { height: 54px; }
}

/* Nav dropdown — click-triggered */
.has-menu { position: relative; }
.has-menu > button {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
}
.has-menu > button .chev { transition: transform .2s ease; }
.has-menu.is-open > button .chev { transform: rotate(180deg); }
.dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translate(-50%, 6px);
    min-width: 270px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    padding: .75rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    border: 1px solid rgba(0,0,0,0.05);
    z-index: 60;
}
.has-menu.is-open .dropdown {
    opacity: 1;
    transform: translate(-50%, 0);
    pointer-events: auto;
}
.dropdown a {
    display: block;
    padding: .65rem .85rem;
    border-radius: 10px;
    font-size: .95rem;
    line-height: 1.2;
    color: var(--qp-charcoal);
    text-decoration: none;
}
.dropdown a small { display: block; color: var(--qp-muted); font-size: .8rem; font-weight: 400; margin-top: 2px; }
.dropdown a:hover, .dropdown a:focus-visible { background: var(--qp-warm); color: var(--qp-primary); outline: none; }
.dropdown hr { border: 0; border-top: 1px solid var(--qp-line); margin: .5rem 0; }

/* --- Full-screen mobile menu -------------------------------------------- */

body.menu-open { overflow: hidden; }

#mobileMenu.is-open {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: #14100e;
    background-image: linear-gradient(160deg, #14100e 0%, #2c0d15 55%, #4a1220 100%);
    display: flex;
    flex-direction: column;
    color: #fff;
    animation: menu-in .28s ease;
    padding: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}
@keyframes menu-in {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: none; }
}
#mobileMenu.is-open .menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
#mobileMenu.is-open .menu-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem 1.25rem 2rem;
}
#mobileMenu.is-open .menu-close {
    color: #fff;
    background: rgba(255,255,255,0.08);
    border: 0;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: grid; place-items: center;
    font-size: 1.05rem;
    cursor: pointer;
}
#mobileMenu.is-open .menu-close:hover { background: rgba(255,255,255,0.14); }
#mobileMenu.is-open ul { list-style: none; padding: 0; margin: 0; }
#mobileMenu.is-open .m-link {
    display: block;
    padding: .95rem 0;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: color .2s ease, padding-left .2s ease;
}
#mobileMenu.is-open .m-link:hover,
#mobileMenu.is-open .m-link:focus-visible {
    color: var(--qp-accent);
    padding-left: .35rem;
    outline: none;
}
#mobileMenu.is-open .m-sub-title {
    padding-top: 1.25rem;
    text-transform: uppercase;
    letter-spacing: .25em;
    font-size: .72rem;
    color: rgba(255,255,255,0.55);
    font-weight: 700;
}
#mobileMenu.is-open .m-sublink {
    display: flex; justify-content: space-between; gap: .75rem;
    padding: .7rem 0;
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
#mobileMenu.is-open .m-sublink small { color: rgba(255,255,255,0.55); font-size: .8rem; }
#mobileMenu.is-open .menu-cta {
    display: flex; gap: .75rem; margin-top: 1.5rem;
    flex-wrap: wrap;
}
#mobileMenu.is-open .menu-cta .qp-btn { flex: 1; min-width: 40%; }
#mobileMenu.is-open .menu-footer {
    padding: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.65);
    font-size: .85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
#mobileMenu.is-open .menu-footer a { color: var(--qp-accent); }

/* Default: hide menu head/footer decorations if the menu is inline (shouldn't happen with new UI, but a safety net) */
#mobileMenu:not(.is-open) .menu-head,
#mobileMenu:not(.is-open) .menu-footer { display: none; }

/* --- Footer ------------------------------------------------------------- */

.site-footer {
    background: #14100e;
    color: #e8ded2;
    padding: 4rem 0 2rem;
}
.site-footer a { color: #e8ded2; }
.site-footer a:hover { color: var(--qp-accent); }
.site-footer h4 {
    font-family: 'Playfair Display', serif;
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    letter-spacing: .01em;
}
.site-footer .fine {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    font-size: .85rem;
    color: #9c928a;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}
.social-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    display: inline-grid; place-items: center;
    transition: background .25s ease, transform .25s ease;
}
.social-icon:hover { background: var(--qp-primary); transform: translateY(-2px); }

/* --- Breadcrumbs -------------------------------------------------------- */
.crumbs {
    font-size: .85rem;
    color: var(--qp-muted);
    padding: 1rem 0 0;
}
.crumbs a { color: var(--qp-primary); }
.crumbs a:hover { text-decoration: underline; }
.crumbs .sep { margin: 0 .5rem; color: rgba(0,0,0,.25); }

/* --- Location page hero ------------------------------------------------- */
.loc-hero {
    background: linear-gradient(135deg, #400a17 0%, #7a1329 55%, #a01e37 100%);
    color: #fff;
    padding: clamp(3rem, 7vw, 5rem) 0 clamp(3rem, 8vw, 5.5rem);
    position: relative;
    overflow: hidden;
}
.loc-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 300px at 90% 20%, rgba(245,179,1,0.25), transparent 60%),
        radial-gradient(400px 240px at 10% 90%, rgba(0,104,71,0.35), transparent 60%);
    pointer-events: none;
}
.loc-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    line-height: 1.1;
    margin-bottom: .75rem;
    text-wrap: balance;
}
.loc-hero .tagline { font-size: 1.15rem; color: rgba(255,255,255,.9); max-width: 40rem; }

/* NAP block */
.nap-block {
    background: #fff;
    border-radius: 22px;
    padding: 2rem;
    box-shadow: 0 12px 36px rgba(0,0,0,0.12);
    color: var(--qp-body);
}
.nap-block h2 { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--qp-primary); margin-bottom: 1rem; }
.nap-block .row { display: flex; gap: .85rem; align-items: flex-start; padding: .6rem 0; border-top: 1px solid var(--qp-line); }
.nap-block .row:first-of-type { border-top: 0; padding-top: 0; }
.nap-block .row i { color: var(--qp-primary); width: 1.35rem; text-align: center; padding-top: .2rem; }
.nap-block a:not(.qp-btn) { color: var(--qp-primary); font-weight: 600; }
.nap-block a:not(.qp-btn):hover { text-decoration: underline; }

/* Content prose within location pages */
.prose-city p { color: var(--qp-body); font-size: 1.05rem; line-height: 1.7; margin-bottom: 1rem; text-wrap: pretty; }
.prose-city h2 { font-family: 'Playfair Display', serif; color: var(--qp-dark); font-size: 1.75rem; margin-top: 2rem; margin-bottom: .75rem; }
.prose-city h3 { font-family: 'Playfair Display', serif; color: var(--qp-primary); font-size: 1.25rem; margin-top: 1.5rem; margin-bottom: .5rem; }
.prose-city ul { margin: 0 0 1rem 1.15rem; }
.prose-city li { margin-bottom: .35rem; }

/* Utility */
.container-narrow { max-width: 68rem; margin: 0 auto; padding-left: 1rem; padding-right: 1rem; }
.divider-flourish {
    display: flex; align-items: center; gap: 1rem;
    color: var(--qp-accent); justify-content: center; margin: 1rem 0 1.5rem;
}
.divider-flourish::before, .divider-flourish::after {
    content: ""; flex: 1; max-width: 4rem;
    height: 1px; background: linear-gradient(90deg, transparent, currentColor, transparent);
}

/* Small screens */
@media (max-width: 767px) {
    .hero { min-height: auto; padding: 4.5rem 0 4rem; }
}

/* ==========================================================================
   Drinks showcase — signature margaritas & cocktails
   ========================================================================== */
.drinks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}
.drink-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    box-shadow: 0 12px 28px rgba(0,0,0,0.14);
    isolation: isolate;
    background: #1a0d10;
    transition: transform .4s ease, box-shadow .4s ease;
}
.drink-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.22); }
.drink-card img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .8s ease;
}
.drink-card:hover img { transform: scale(1.06); }
.drink-card::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.85) 100%);
    pointer-events: none;
}
.drink-card__body {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 1.1rem 1.15rem 1.15rem;
    color: #fff;
    z-index: 2;
}
.drink-card__name {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.15;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.drink-card__desc {
    font-size: .82rem;
    line-height: 1.35;
    opacity: .93;
    margin-top: .35rem;
    text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}
.drink-card__price {
    display: inline-block;
    margin-top: .5rem;
    background: var(--qp-accent);
    color: #14100e;
    font-weight: 700;
    padding: .18rem .55rem;
    border-radius: 999px;
    font-size: .8rem;
}

/* ==========================================================================
   Photo gallery marquee — dual-row auto-scroll
   ========================================================================== */
.gallery-strip {
    padding: 3rem 0 3.25rem;
    background: #14100e;
    overflow: hidden;
    position: relative;
}
/* Registered so browsers can smoothly interpolate the value change (Chrome/Edge/Safari 16.4+) */
@property --marquee-speed {
    syntax: '<time>';
    inherits: true;
    initial-value: 60s;
}

.gallery-strip__row {
    display: flex;
    width: max-content;      /* track sizes to full content so -50% always equals exactly one half */
    padding: 0;
    align-items: stretch;
    /* Row 1 (top): right-to-left, always looping */
    animation: gallery-marquee-rtl var(--marquee-speed, 60s) linear infinite;
    transition: --marquee-speed 400ms ease;
    will-change: transform;
}
/* Spacing via per-tile margin (not flex gap) so the track width is exactly
   N x (tile + margin) and the -50% loop point lands seamlessly on the second half. */
.gallery-strip__row .gallery-tile { margin-right: 1rem; }
.gallery-strip__row + .gallery-strip__row {
    margin-top: 1rem;
    /* Row 2 (bottom): left-to-right (unchanged from before) */
    --marquee-speed: 70s;   /* explicit — the @property initial-value would otherwise win over the var() fallback */
    animation: gallery-marquee-ltr var(--marquee-speed) linear infinite;
    transition: --marquee-speed 400ms ease;
}

/* Right-to-left: container translates left, so items enter from the right and exit off the left */
@keyframes gallery-marquee-rtl {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
}
/* Left-to-right: container translates right */
@keyframes gallery-marquee-ltr {
    from { transform: translate3d(-50%, 0, 0); }
    to   { transform: translate3d(0, 0, 0); }
}

/* Speed up on mouse hover — user can "scroll it faster" by moving their cursor over the strip.
   CSS custom property change updates animation-duration live without restarting the animation. */
.gallery-strip__row:hover { --marquee-speed: 12s; }
.gallery-strip__row + .gallery-strip__row:hover { --marquee-speed: 14s; }
.gallery-tile {
    flex: 0 0 auto;
    width: min(300px, 44vw);
    aspect-ratio: 3 / 4;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
    background: #26170f;
    position: relative;
}
.gallery-tile img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s ease;
}
.gallery-tile:hover img { transform: scale(1.05); }
.gallery-strip::before, .gallery-strip::after {
    content: "";
    position: absolute; top: 0; bottom: 0; width: 60px; z-index: 3; pointer-events: none;
}
.gallery-strip::before { left: 0; background: linear-gradient(to right, #14100e, transparent); }
.gallery-strip::after  { right: 0; background: linear-gradient(to left,  #14100e, transparent); }

/* ==========================================================================
   Catering page menu items
   ========================================================================== */
.cat-item {
    background: #fff;
    border: 1px solid var(--qp-line);
    border-radius: 16px;
    padding: 1.35rem 1.5rem;
    box-shadow: 0 4px 14px rgba(23,20,18,0.04);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    display: flex;
    flex-direction: column;
}
.cat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 34px rgba(23,20,18,0.09);
    border-color: rgba(196,30,58,0.35);
}
.cat-item__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: .35rem;
}
.cat-item__head h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--qp-dark);
    margin: 0;
}
.cat-item__price {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--qp-primary);
    white-space: nowrap;
}
.cat-item__meta {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--qp-muted);
    margin-bottom: .5rem;
}
.cat-item__desc {
    color: var(--qp-body);
    line-height: 1.55;
    font-size: .95rem;
}
.cat-item--feature {
    background: linear-gradient(135deg, #fff 0%, #fbf3e4 100%);
    border: 2px solid var(--qp-primary);
}
.cat-item--feature ul li {
    padding: .35rem .5rem;
    border-radius: 8px;
    background: rgba(196,30,58,0.05);
}
