*, *::before, *::after { box-sizing: border-box; }
/* No blue tap flash from mobile Chrome on any tappable element. */
*, *::before, *::after { -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.65;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.sr, .skip {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}
.skip:focus { position: fixed; inset-inline-start: 1rem; top: 1rem; width: auto; height: auto; clip: auto; background: var(--surface); padding: .6rem 1rem; z-index: 20; }
.wrap { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.muted { color: var(--muted); }
h1, h2, h3 { font-weight: 650; line-height: 1.25; margin: 0; }
.lede { font-size: 1.08rem; color: var(--muted); max-width: 38rem; }

body.is-home {
    background: #1c1612;
    color: #f6f1ea;
}
body.is-home .bar {
    position: absolute;
    inset-inline: 0;
    top: 0;
    background: linear-gradient(to bottom, rgba(28, 22, 18, .55), transparent);
    backdrop-filter: none;
    border-bottom: 0;
    color: #f6f1ea;
}
body.is-home .mark { background: #f6f1ea; }
body.is-home .mark-img { background: #f6f1ea; }
body.is-home .pub-links a.is-on {
    background: rgba(246, 241, 234, .16);
}
body.is-home .langs-drop .lang-btn {
    background: rgba(246, 241, 234, .14);
    border-color: transparent;
    color: #f6f1ea;
}
body.is-home .ig-chip {
    color: #f6f1ea;
    background: rgba(246, 241, 234, .14);
}
/* The landing page has no menu to order from: no cart button there. */
body.is-home .cart-toggle { display: none; }
body.is-home .icon-btn,
body.is-home .share summary {
    background: rgba(246, 241, 234, .12);
    border-color: rgba(246, 241, 234, .22);
    color: #f6f1ea;
}
body.is-home .foot { display: none; }
body.is-home main { padding: 0; }

.home {
    position: relative;
    min-height: 100dvh;
    display: grid;
    align-items: end;
    justify-items: start;
    overflow: hidden;
    padding-inline: max(1rem, calc((100% - 1120px) / 2));
}
.home-stage {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.home-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 42% 50%;
    transform: scale(1.04);
    animation: home-drift 32s ease-in-out alternate infinite;
}
.home-veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(18, 12, 8, .9) 0%, rgba(18, 12, 8, .38) 40%, rgba(18, 12, 8, .18) 100%),
        linear-gradient(to left, rgba(18, 12, 8, .78) 0%, rgba(18, 12, 8, .22) 46%, transparent 70%);
}
html[dir="ltr"] .home-veil {
    background:
        linear-gradient(to top, rgba(18, 12, 8, .9) 0%, rgba(18, 12, 8, .38) 40%, rgba(18, 12, 8, .18) 100%),
        linear-gradient(to right, rgba(18, 12, 8, .78) 0%, rgba(18, 12, 8, .22) 46%, transparent 70%);
}
.home-word {
    position: absolute;
    inset-inline-end: -.12em;
    inset-inline-start: auto;
    bottom: -.22em;
    z-index: 1;
    margin: 0;
    font-size: clamp(8rem, 28vw, 18rem);
    font-weight: 800;
    line-height: .75;
    color: rgba(246, 241, 234, .05);
    pointer-events: none;
    user-select: none;
}
.home-card-shell {
    position: relative;
    z-index: 2;
    width: min(28rem, 100%);
    margin-inline-start: 0;
    margin-inline-end: auto;
    margin-bottom: 2.4rem;
    animation: home-card-in .85s var(--ease) both;
}
@media (min-width: 800px) {
    .home-card-shell { margin-bottom: 14vh; }
}
.home-card {
    position: relative;
    z-index: 1;
    text-align: start;
    display: grid;
    justify-items: start;
    gap: 0.85rem;
    padding: 1.5rem 1.45rem 1.6rem;
    border-radius: 1.4rem;
    background: rgba(18, 12, 8, .7);
    border: 1px solid rgba(246, 241, 234, .12);
    backdrop-filter: blur(14px);
}
.home-card-waves {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}
.home-card-waves::before,
.home-card-waves::after,
.home-card-waves > span {
    position: absolute;
    inset: -.8rem;
    border-radius: 2.2rem;
    pointer-events: none;
    opacity: 0;
    border: 1.5px solid rgba(246, 241, 234, .42);
    box-shadow: 0 0 18px rgba(166, 132, 98, .38);
    animation: home-wave 7.5s var(--ease) infinite;
}
.home-card-waves::before {
    content: "";
    border-color: rgba(246, 241, 234, .5);
    animation-delay: .85s;
}
.home-card-waves::after {
    content: "";
    border-color: rgba(166, 132, 98, .72);
    animation-delay: 1.25s;
}
.home-card-waves > span {
    border-color: rgba(140, 58, 34, .62);
    animation-delay: 1.65s;
}
html.is-booting .home-card-shell {
    animation: none;
    opacity: 0;
}
html.is-booting .home-card-waves::before,
html.is-booting .home-card-waves::after,
html.is-booting .home-card-waves > span {
    animation: none;
}
.home-kicker {
    margin: 0;
    color: var(--accent-bright, var(--accent));
    font-size: .86rem;
}
.home h1 {
    font-size: clamp(2.2rem, 7vw, 4.4rem);
    letter-spacing: -.04em;
    line-height: .95;
    text-wrap: pretty;
    max-width: 12ch;
    color: #f6f1ea;
    text-shadow: 0 8px 28px rgba(18, 12, 8, .45);
}
.home .lede {
    margin: 0;
    max-width: 22rem;
    color: rgba(246, 241, 234, .82);
    text-wrap: pretty;
}
.home-meta {
    display: grid;
    gap: .2rem;
    color: rgba(246, 241, 234, .7);
    margin: 0;
    font-size: .95rem;
}
.home-cta {
    margin-top: 0;
    min-width: 12rem;
    min-height: 3.1rem;
    font-size: 1.05rem;
}
.home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-top: .55rem;
}
@keyframes home-drift {
    from { transform: scale(1.04); }
    to { transform: scale(1.12) translate3d(-1.4%, 0, 0); }
}
@keyframes home-card-in {
    from { opacity: 0; transform: translate3d(0, 14px, 0) scale(.96); }
    to { opacity: 1; transform: none; }
}
@keyframes home-wave {
    0% { opacity: .78; transform: scale(1); }
    14% { opacity: .58; transform: scale(1.08); }
    36% { opacity: 0; transform: scale(1.18); }
    100% { opacity: 0; transform: scale(1.18); }
}

.boot { display: none; }
html.is-booting .boot {
    display: grid;
    place-items: center;
    align-content: center;
    gap: .8rem;
    position: fixed;
    inset: 0;
    z-index: 30;
    background: var(--bg);
}
.boot-mark {
    width: 2.6rem; height: 2.6rem;
    border-radius: 50%;
    border: 2px solid var(--line);
    border-top-color: var(--primary);
    animation: spin .8s linear infinite;
}
.boot p { margin: 0; letter-spacing: .04em; }

/* ==== Page transition loader ====
 * Themed overlay while navigating between pages: the clicked page arms it,
 * the next page keeps it until its DOM is ready (boot.js), then it fades.
 * Hidden without JavaScript; static under prefers-reduced-motion. */
.page-loader { display: none; }
html.is-navigating .page-loader {
    display: grid;
    place-items: center;
    align-content: center;
    gap: .9rem;
    position: fixed;
    inset: 0;
    z-index: 90;
    background: color-mix(in srgb, var(--bg) 86%, transparent);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    color: var(--accent-text, var(--accent));
    animation: page-loader-in .3s var(--ease) both;
}
html.is-navigating .page-loader.is-out { animation: page-loader-out .3s var(--ease) both; }
.page-loader-cup { display: block; }
.page-loader-steam { animation: page-loader-steam 1.6s ease-in-out infinite; }
.page-loader-steam.is-2 { animation-delay: .8s; }
.page-loader-bar {
    width: 8.5rem;
    height: .22rem;
    border-radius: 999px;
    background: var(--line);
    overflow: hidden;
}
.page-loader-bar i {
    display: block;
    height: 100%;
    width: 42%;
    border-radius: inherit;
    background: var(--primary);
    animation: page-loader-slide 1.1s var(--ease) infinite;
}
.page-loader-name { font-size: .85rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
@keyframes page-loader-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes page-loader-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes page-loader-steam {
    0% { opacity: 0; transform: translateY(3px); }
    40% { opacity: .85; }
    100% { opacity: 0; transform: translateY(-5px); }
}
@keyframes page-loader-slide {
    from { transform: translateX(-130%); }
    to { transform: translateX(330%); }
}
@media (prefers-reduced-motion: reduce) {
    html.is-navigating .page-loader { animation: none; opacity: 1; }
    html.is-navigating .page-loader.is-out { animation: none; opacity: 0; }
    .page-loader-steam, .page-loader-bar i { animation: none; }
}

.bar {
    position: sticky;
    top: 0;
    /* Must sit above the sticky pills dock (z-index 30): the bar creates a
     * stacking context, so its children (the search suggestions popover) can
     * never out-stack the pills whatever their own z-index is. */
    z-index: 40;
    background: var(--glass-strong);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-line);
}
.bar-row { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; padding: .75rem 0; }
.bar-actions { display: contents; }
.bar-icons { display: contents; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; font-weight: 700; }
.pub-links {
    display: flex;
    flex-wrap: wrap;
    gap: .15rem;
    margin-inline-end: auto;
}
.pub-links a {
    text-decoration: none;
    padding: .4rem .8rem;
    border-radius: 999px;
    min-height: 2.5rem;
    display: inline-flex;
    align-items: center;
}
.pub-links a.is-on { background: var(--chip); }
.mark {
    width: 1.9rem;
    height: 1.9rem;
    flex-shrink: 0;
    background: var(--primary);
    -webkit-mask: url("../img/logo.svg") center / contain no-repeat;
    mask: url("../img/logo.svg") center / contain no-repeat;
}
.mark-img {
    width: 1.9rem;
    height: 1.9rem;
    flex-shrink: 0;
    object-fit: contain;
    object-position: center;
    border-radius: .45rem;
    background: var(--chip);
}
.ig-chip {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-text, var(--primary));
    background: var(--chip);
    padding: .35rem .7rem;
    border-radius: 999px;
    min-height: 2.5rem;
    font-size: .92rem;
    font-weight: 650;
}
.ig-chip-inner {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}
.ig-chip svg {
    width: 1.1rem;
    height: 1.1rem;
    flex-shrink: 0;
}
.finder { flex: 1 1 14rem; position: relative; }

/* Search gets its own full-width row under the nav bar */
.finder-row { display: flex; padding-block: .2rem .8rem; }
.finder-row .finder { flex: 1 1 auto; }
.finder-row .finder input { width: 100%; }

/* Language dropdown: one compact button with the current flag + popup list */
.langs-drop { position: relative; }
.langs-drop summary { list-style: none; cursor: pointer; }
.langs-drop summary::-webkit-details-marker { display: none; }
.langs-drop[open] .lang-btn { background: var(--chip); }
.lang-flag {
    font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
    font-size: 1.2rem;
    line-height: 1;
    display: inline-flex;
}
.flag-svg {
    width: 1.35rem;
    height: .9rem;
    display: block;
    border-radius: .18rem;
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 18%, transparent);
}
.langs-pop {
    position: absolute;
    inset-inline-end: 0;
    top: calc(100% + .45rem);
    z-index: 40;
    min-width: 11rem;
    display: grid;
    gap: .15rem;
    padding: .35rem;
    background: var(--glass-strong);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-line);
    border-radius: 1rem;
    box-shadow: var(--shadow-hover);
}
.langs-pop a {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .5rem .7rem;
    border-radius: .7rem;
    text-decoration: none;
    font-size: .92rem;
    color: var(--ink);
}
.lang-name { white-space: nowrap; }
.langs-pop a:hover, .langs-pop a.is-on { background: var(--chip); }
.langs-pop a.is-on { font-weight: 700; }

.finder-hits {
    position: absolute;
    /* Anchor to the reading side and cap the width so results render as a
     * compact popover, not a viewport-wide sheet that buries the page. */
    inset-inline-start: 0;
    inset-inline-end: auto;
    top: calc(100% + .35rem);
    width: min(26rem, 100%);
    z-index: 32;
    max-height: min(22rem, 70vh);
    overflow: auto;
    margin: 0;
    padding: .35rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.finder-hits[hidden] { display: none; }
.finder-hit {
    display: flex;
    align-items: center;
    gap: .65rem;
    width: 100%;
    margin: 0;
    padding: .45rem .55rem;
    border: 0;
    border-radius: .7rem;
    background: transparent;
    cursor: pointer;
    text-align: start;
}
.finder-hit:hover, .finder-hit.is-on { background: var(--chip); }
.finder-hit img, .finder-fallback {
    width: 2.4rem;
    height: 2.4rem;
    flex-shrink: 0;
    border-radius: .55rem;
    object-fit: cover;
    object-position: center;
    background: var(--chip);
}
.finder-fallback {
    display: grid;
    place-items: center;
    color: var(--primary-text, var(--primary));
    font-weight: 650;
}
.finder-meta { display: grid; min-width: 0; gap: .05rem; }
.finder-meta strong { font-weight: 650; }
.finder-meta small, .finder-empty { color: var(--muted); }
.finder-empty { margin: 0; padding: .7rem .65rem; }
.finder input, .stack input, .stack textarea, .stack select, .filters input, .filters select, .select {
    width: 100%;
    min-height: 2.75rem;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: .85rem;
    padding: .55rem .85rem;
}
.branches, .langs { display: flex; gap: .25rem; padding: .2rem; background: var(--chip); border-radius: 999px; }
.branches a, .langs a { text-decoration: none; padding: .35rem .7rem; border-radius: 999px; font-size: .92rem; }
.branches a.is-on, .langs a.is-on, .pill.is-on { background: var(--surface); box-shadow: var(--shadow); }
.icon-btn, .share summary {
    width: 2.75rem; height: 2.75rem;
    display: grid; place-items: center;
    border-radius: 999px;
    border: 1px solid var(--glass-line);
    background: var(--glass);
    cursor: pointer;
    list-style: none;
}
.share summary::-webkit-details-marker { display: none; }
.mode-toggle::before {
    content: "";
    width: .9rem; height: .9rem;
    border-radius: 50%;
    box-shadow: inset -.32rem -.08rem 0 0 currentColor;
}
[data-mode="dark"] .mode-toggle::before {
    box-shadow: none;
    width: 1.15rem;
    height: 1.15rem;
    background: #fff;
    --sun: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='4.6'/%3E%3Cpath d='M12 1.6v2.6M12 19.8v2.6M1.6 12h2.6M19.8 12h2.6M4.6 4.6l1.9 1.9M17.5 17.5l1.9 1.9M19.4 4.6l-1.9 1.9M6.5 17.5l-1.9 1.9' stroke-width='2.2' stroke-linecap='round' stroke='%23fff' fill='none'/%3E%3C/svg%3E");
    -webkit-mask: var(--sun) center / contain no-repeat;
    mask: var(--sun) center / contain no-repeat;
}
.share { position: relative; }
.share summary::before {
    content: "";
    width: .95rem;
    height: .95rem;
    background: currentColor;
    --qr: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23000' fill-rule='evenodd' d='M1 1h5v5H1zm1 1v3h3V2zm1 1h1v1H3zM10 1h5v5h-5zm1 1v3h3V2zm1 1h1v1h-1zM1 10h5v5H1zm1 1v3h3v-3zm1 1h1v1H3zM8 2h1v1H8zM8 4h1v1H8zM7 8h2v1H7zm3 0h1v1h-1zm2 0h2v1h-2zM8 10h1v1H8zm2 0h2v2h-2zm3 1h1v1h-1zm2 0h1v2h-1zM8 13h1v1H8zm3 0h2v1h-2zm2 1h2v2h-2zm-5 1h1v1H9z'/%3E%3C/svg%3E");
    -webkit-mask: var(--qr) center / contain no-repeat;
    mask: var(--qr) center / contain no-repeat;
}
.share-pop {
    position: absolute;
    inset-inline-end: 0;
    top: calc(100% + .4rem);
    background: var(--glass-strong);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-line);
    border-radius: var(--radius);
    padding: .8rem;
    box-shadow: var(--shadow);
    width: 12.5rem;
    z-index: 5;
}
.share-pop img { width: 100%; height: auto; object-fit: contain; background: #fff; border-radius: .6rem; }

.mast { padding: 2.4rem 0 1rem; }
.eyebrow { margin: 0 0 .4rem; color: var(--accent-text, var(--accent)); font-size: .82rem; }
.mast h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); letter-spacing: -.03em; }
.meta { color: var(--muted); }

/* Menu background is flat per theme token — no decorative gradient overlay. */
body.is-menu {
    background: var(--bg);
}
body.is-menu main { padding-bottom: 2rem; }

.menu-hero {
    position: relative;
    min-height: min(42vh, 22rem);
    display: grid;
    align-items: end;
    overflow: hidden;
    color: #f6f1ea;
}
@media (min-width: 800px) {
    .menu-hero { min-height: min(52vh, 30rem); }
}
.menu-hero-stage { position: absolute; inset: 0; overflow: hidden; }
.menu-hero-stage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 45% 42%;
}
.menu-hero-veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(18, 12, 8, .82) 0%, rgba(18, 12, 8, .28) 58%, rgba(18, 12, 8, .2) 100%),
        linear-gradient(to left, rgba(18, 12, 8, .5), transparent 60%);
}
html[dir="ltr"] .menu-hero-veil {
    background:
        linear-gradient(to top, rgba(18, 12, 8, .82) 0%, rgba(18, 12, 8, .28) 58%, rgba(18, 12, 8, .2) 100%),
        linear-gradient(to right, rgba(18, 12, 8, .5), transparent 60%);
}
.menu-hero-copy {
    position: relative;
    z-index: 1;
    padding: 6.5rem 0 1.8rem;
    display: grid;
    gap: .45rem;
    max-width: 36rem;
}
.menu-hero-copy h1 {
    font-size: clamp(2.2rem, 6vw, 4rem);
    line-height: .95;
    text-wrap: pretty;
}
.menu-hero-copy .lede { color: rgba(246, 241, 234, .82); margin: 0; }

.pills-bar {
    position: sticky;
    top: 4.2rem;
    z-index: 8;
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: .55rem 0;
}
.pills {
    display: flex;
    gap: .45rem;
    overflow-x: auto;
    padding-bottom: .15rem;
    scrollbar-width: thin;
}
.pill {
    text-decoration: none;
    white-space: nowrap;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: .4rem .85rem;
    min-height: 2.5rem;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    box-shadow: 0 1px 0 rgba(28, 22, 18, .03);
}
.cat-thumb {
    width: 1.35rem;
    height: 1.35rem;
    object-fit: cover;
    border-radius: 999px;
    flex-shrink: 0;
}
.pill small {
    font-size: .72rem;
    color: var(--muted);
    background: var(--chip);
    border-radius: 999px;
    padding: .08rem .42rem;
}
.pill.is-on {
    background: var(--primary);
    color: var(--on-primary, #f6f1ea);
    border-color: transparent;
    box-shadow: none;
}
.pill.is-on small {
    background: color-mix(in srgb, var(--on-primary, #f6f1ea) 18%, transparent);
    color: var(--on-primary, #f6f1ea);
}

.menu-sec { padding: 1.8rem 0 1.2rem; }
.sec-head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: .85rem 1rem;
    align-items: end;
    margin-bottom: 1.15rem;
    padding-bottom: .85rem;
    border-bottom: 1px solid var(--line);
}
.sec-index {
    font-size: 1.35rem;
    font-weight: 650;
    color: var(--accent-text, var(--accent));
    font-variant-numeric: tabular-nums;
    line-height: 1;
    padding-bottom: .15rem;
}
.sec-copy { min-width: 0; }
.sec-copy h2 {
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    display: flex;
    align-items: center;
    gap: .5rem;
}
.sec-copy h2 .cat-thumb {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: .45rem;
}
.sec-head p, .sec-count { margin: 0; color: var(--muted); }
.sec-count { font-size: .88rem; white-space: nowrap; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17.5rem), 1fr)); gap: 1.1rem; }
.card[hidden], [data-category][hidden], .no-results[hidden] { display: none !important; }
.card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: var(--surface);
    border-radius: 1.15rem;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    min-height: 100%;
    animation: rise .55s var(--ease) backwards;
}
.card:nth-child(2) { animation-delay: .04s; }
.card:nth-child(3) { animation-delay: .08s; }
.card:nth-child(4) { animation-delay: .12s; }
.card:nth-child(n + 5) { animation-delay: .16s; }
.plate {
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        radial-gradient(90% 80% at 100% 0%, color-mix(in srgb, var(--accent) 50%, transparent), transparent 60%),
        color-mix(in srgb, var(--primary) 14%, var(--surface));
}
.card .plate {
    aspect-ratio: 1 / 1;
    background:
        radial-gradient(80% 90% at 50% 120%, color-mix(in srgb, var(--primary) 18%, transparent), transparent 55%),
        color-mix(in srgb, var(--accent) 22%, var(--chip));
}
.plate img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .5s var(--ease); }
/* ==== Skeleton shimmer (card images, per row) ====
 * The loaded state lives on the category section, not the single card: a
 * slider row loads all of its photos together and reveals them as one, and
 * the slider's loop clones inherit the state so an already-loaded row never
 * flashes the shimmer again. Gated on html.js (set by boot.js) so the page
 * renders normally without JavaScript, with timed CSS fallbacks (5s) that
 * reveal photos and drop the shimmer even if the script fails. */
.plate { position: relative; }
.plate-skeleton { display: none; }
html.js .menu-sec .plate-skeleton {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    pointer-events: none;
    background:
        linear-gradient(100deg, transparent 32%, color-mix(in srgb, var(--surface) 60%, transparent) 50%, transparent 68%),
        color-mix(in srgb, var(--primary) 10%, var(--chip));
    background-size: 220% 100%;
    opacity: 1;
    transition: opacity .4s var(--ease), visibility 0s .4s;
    animation: plate-shimmer 1.4s linear infinite, plate-skeleton-out 0s 5s forwards;
}
html.js .menu-sec.is-loaded .plate-skeleton {
    animation: none;
    opacity: 0;
    visibility: hidden;
}
html.js .menu-sec .plate img { transition: transform .5s var(--ease), opacity .45s var(--ease); }
html.js .menu-sec:not(.is-loaded) .plate img { opacity: 0; animation: plate-reveal 0s 5s forwards; }
@keyframes plate-shimmer {
    from { background-position: 200% 0; }
    to { background-position: -200% 0; }
}
@keyframes plate-reveal { to { opacity: 1; } }
@keyframes plate-skeleton-out { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) {
    html.js .menu-sec .plate-skeleton { animation: plate-skeleton-out 0s 5s forwards; }
}
.mono { font-size: 2.6rem; color: var(--primary-text, var(--primary)); }
.card-body { padding: 1rem 1.05rem 1.1rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.card-body h3 { font-size: 1.12rem; text-wrap: pretty; }
.card-body p { margin: 0; color: var(--muted); }
.card-body > p:not(.badges):not(.price) {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-top {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: .75rem;
}
.card-top .price {
    margin-top: 0;
    flex-direction: column;
    align-items: end;
    gap: 0;
    text-align: end;
    flex-shrink: 0;
}
.card-top .price b { font-size: 1.02rem; color: var(--primary-text, var(--primary)); }
.badges { display: flex; flex-wrap: wrap; gap: .3rem; margin: 0; }
.badge { font-size: .75rem; border-radius: 999px; padding: .12rem .5rem; background: var(--chip); }
.badge-featured, .badge-best { background: color-mix(in srgb, var(--primary) 16%, var(--surface)); color: var(--primary-text, var(--primary)); }
.badge-sale { background: color-mix(in srgb, var(--danger) 14%, var(--surface)); color: var(--danger); }
.badge-off { background: var(--chip); }
.price { display: flex; align-items: baseline; gap: .4rem; margin-top: auto; color: var(--ink); }
.price b { font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.price s, .price small { color: var(--muted); font-weight: 400; }
.card.is-off { opacity: .72; }
/* Item cards are static on hover: no lift, no tilt, no repaint.
 * Sliders move only via touch drag (mobile) and the arrow buttons. */
@media (hover: hover) {
    .pill:hover { border-color: color-mix(in srgb, var(--primary) 35%, var(--line)); }
}
[data-layout="list"] .grid { grid-template-columns: 1fr; }
[data-layout="list"] .card { display: grid; grid-template-columns: 9.5rem 1fr; align-items: stretch; }
[data-layout="list"] .plate,
[data-layout="list"] .card .plate { aspect-ratio: 1; height: auto; align-self: start; }
[data-layout="compact"] .plate { display: none; }
[data-layout="compact"] .card { box-shadow: none; }
[data-layout="compact"] .grid { gap: .55rem; }
[data-layout="compact"] .card-top { align-items: baseline; }

@media (max-width: 700px) {
    .bar {
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
    .sec-head { grid-template-columns: auto 1fr; }
    .sec-count { grid-column: 2; }
    .share { display: none; }
    .bar .wrap { width: calc(100% - 1.1rem); }
    .bar-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: .35rem; padding: .85rem 0 .5rem; }
    .bar-actions { display: flex; align-items: center; justify-content: space-between; gap: .5rem; min-width: 0; }
    .bar-icons { display: flex; align-items: center; gap: .15rem; }
    .brand { justify-self: center; }
    .brand { max-width: 100%; font-size: 1.3rem; gap: .45rem; }
    .brand .mark-img, .brand .mark { width: 2rem; height: 2rem; }
    .pub-links { gap: 0; margin-inline-end: 0; flex-wrap: nowrap; }
    .pub-links a { padding: .3rem .55rem; font-size: .95rem; min-height: 2.2rem; white-space: nowrap; }
    /* Landing page on phones: keep only the utility icons in the header. */
    body.is-home .pub-links { display: none; }
    /* Utility icons docked directly above the welcome card: pack both grid
     * rows (icons + card) at the bottom instead of letting align-content
     * stretch float the icons row mid-screen. */
    body.is-home .home { align-content: end; }
    body.is-home .bar-icons {
        display: flex;
        align-items: center;
        gap: .35rem;
        margin: 0 0 .9rem;
        /* The hero stage is a positioned layer (z-index 0) that would paint
         * over static siblings: lift the docked icons above it. One step above
         * the welcome card (z-index 2) so the language popover also paints
         * over the card instead of sliding underneath it. */
        position: relative;
        z-index: 3;
    }
    .icon-btn, .share summary, .lang-btn { width: 2.15rem; height: 2.15rem; }
    .cart-toggle .cart-icon { width: 1.05rem; height: 1.05rem; }
    .cart-count { min-width: .82rem; height: .82rem; font-size: .52rem; padding: 0 .16rem; }
    .finder-row { padding-block: .15rem .65rem; }
    /* Extra footer clearance on phones: keeps content clear of the floating
     * cart button docked at the bottom edge. */
    .foot { padding-bottom: 5.5rem; }
    /* Slider: like desktop, the blurred prev/next cards must peek on both
     * sides of the centered active card. Narrower slide keeps the frosted
     * neighbours visible instead of washed under the edge fade. */
    [data-layout="cards"] .menu-sec .grid { --slide-w: min(60vw, 21rem); gap: .75rem; }
}
@media (max-width: 380px) {
    .bar-icons .icon-btn, .bar-icons .lang-btn { width: 1.9rem; height: 1.9rem; }
}

.sheet { border: 1px solid var(--glass-line); padding: 0; width: min(32rem, calc(100% - 1.5rem)); background: var(--glass-strong); -webkit-backdrop-filter: blur(24px) saturate(1.2); backdrop-filter: blur(24px) saturate(1.2); color: var(--ink); border-radius: 1.4rem; box-shadow: var(--shadow-hover); overflow: hidden; opacity: 0; transform: translate(var(--sheet-x, 0px), var(--sheet-y, 1.35rem)) scale(.94); transition: opacity .36s var(--ease), transform .42s var(--ease); }
.sheet.is-in { opacity: 1; transform: none; }
.sheet::backdrop { background: rgba(18, 16, 14, 0); transition: background .36s var(--ease), backdrop-filter .36s var(--ease); }
.sheet.is-in::backdrop { background: rgba(18, 16, 14, .52); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.sheet-close { position: absolute; inset-inline-end: .7rem; top: .7rem; z-index: 2; }
.sheet-close::before { content: "×"; font-size: 1.4rem; line-height: 1; }
.sheet-photo { overflow: hidden; background: var(--chip); }
/* Square frame, whole image visible: contain instead of cover so nothing is
 * cropped when the item popup opens. */
.sheet-photo img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    object-position: center;
    display: block;
}
.sheet-thumbs { display: flex; gap: .4rem; padding: .65rem 1.2rem 0; overflow-x: auto; }
.sheet-thumbs[hidden] { display: none; }
.sheet-thumb { width: 3.1rem; height: 3.1rem; padding: 0; border: 2px solid transparent; border-radius: .7rem; overflow: hidden; background: var(--chip); cursor: pointer; flex-shrink: 0; }
.sheet-thumb.is-on { border-color: var(--primary); }
.sheet-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.sheet-body { padding: 1.2rem 1.2rem 1.3rem; display: grid; gap: .45rem; }
.sheet-row { display: flex; justify-content: space-between; gap: 1rem; align-items: center; flex-wrap: wrap; }
.sheet-actions { display: flex; gap: .45rem; flex-wrap: wrap; justify-content: end; }
.menu-pop {
    border: 1px solid var(--glass-line);
    padding: 0;
    width: min(24.5rem, calc(100% - 1.5rem));
    background: var(--glass-strong);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
    backdrop-filter: blur(24px) saturate(1.2);
    color: var(--ink);
    border-radius: 1.55rem;
    box-shadow: 0 28px 70px rgba(28, 22, 18, .24);
    overflow: hidden;
    opacity: 0;
    transform: translateY(1.15rem) scale(.92);
    transition: opacity .4s var(--ease), transform .48s cubic-bezier(.22, 1, .36, 1);
}
.menu-pop.is-in { opacity: 1; transform: none; }
.menu-pop::backdrop { background: rgba(18, 16, 14, 0); transition: background .36s var(--ease), backdrop-filter .36s var(--ease); }
.menu-pop.is-in::backdrop { background: rgba(18, 16, 14, .48); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.menu-pop-photo { background: var(--chip); }
.menu-pop-photo img { width: 100%; height: 10.5rem; object-fit: cover; object-position: center; display: block; }
.menu-pop-body { padding: 1.25rem 1.25rem 1.4rem; display: grid; gap: .55rem; }
.menu-pop-body h2 { font-size: 1.28rem; text-wrap: pretty; padding-inline-end: 2rem; }
.menu-pop-body p { margin: 0; color: var(--muted); white-space: pre-wrap; }
.menu-pop-body .btn { justify-self: start; margin-top: .2rem; }
/* ==== Desk booking popup ====
 * Themed glass dialog with a rise + spring entrance; the icon pops in with a
 * slight delay so the opening feels layered. Follows theme tokens, so it stays
 * consistent across all themes and both light/dark modes. */
.book-pop {
    border: 1px solid var(--glass-line);
    padding: 0;
    width: min(23.5rem, calc(100% - 1.5rem));
    background: var(--glass-strong);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
    backdrop-filter: blur(24px) saturate(1.2);
    color: var(--ink);
    border-radius: 1.55rem;
    box-shadow: 0 28px 70px rgba(28, 22, 18, .26);
    overflow: hidden;
    opacity: 0;
    transform: translateY(1.4rem) scale(.9);
    transition: opacity .4s var(--ease), transform .5s cubic-bezier(.22, 1, .36, 1);
}
.book-pop.is-in { opacity: 1; transform: none; }
.book-pop::backdrop { background: rgba(18, 16, 14, 0); transition: background .36s var(--ease), backdrop-filter .36s var(--ease); }
.book-pop.is-in::backdrop { background: rgba(18, 16, 14, .48); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.book-pop-body {
    padding: 1.6rem 1.35rem 1.5rem;
    display: grid;
    gap: .6rem;
    text-align: center;
    justify-items: center;
}
.book-pop-icon {
    width: 3.5rem;
    height: 3.5rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--accent-text, var(--accent));
    background: color-mix(in srgb, var(--accent) 18%, var(--surface));
    border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
    transform: scale(.4);
    transition: transform .55s cubic-bezier(.34, 1.56, .64, 1) .08s;
}
.book-pop.is-in .book-pop-icon { transform: scale(1); }
.book-pop-body h2 { margin: 0; font-size: 1.3rem; text-wrap: pretty; padding-inline-end: 2rem; }
.book-pop-text { margin: 0; color: var(--muted); line-height: 2; text-wrap: pretty; }
.book-pop-text b { color: var(--accent-text, var(--accent)); font-weight: 800; }
.book-pop-actions { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; margin-top: .3rem; }
.book-pop-actions .btn { flex: 1 1 auto; justify-content: center; }
@media (prefers-reduced-motion: reduce) {
    .book-pop, .book-pop::backdrop, .book-pop-icon { transition: none; }
    .book-pop.is-in, .book-pop.is-in .book-pop-icon { transform: none; }
}
.card { cursor: pointer; }
.card-add { margin-top: .35rem; align-self: start; min-height: 2.35rem; font-size: .9rem; }
.card-price { display: flex; align-items: baseline; gap: .3rem; margin: .4rem 0 0; font-variant-numeric: tabular-nums; }
.card-price b { font-size: 1.02rem; font-weight: 800; color: var(--primary-text, var(--primary)); }
.card-price s { color: var(--muted); font-size: .8rem; }
.card-price small { color: var(--accent-text, var(--accent)); font-size: .72rem; font-weight: 700; }
.card-buy {
    margin-top: .5rem;
    width: 100%;
    min-height: 2.5rem;
    border: 0;
    border-radius: .8rem;
    background: var(--accent);
    color: var(--on-accent, #241a0d);
    font-weight: 800;
    font-size: .88rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.card-off {
    margin-top: .5rem;
    width: 100%;
    min-height: 2.5rem;
    border-radius: .8rem;
    background: var(--chip);
    color: var(--muted);
    font-weight: 700;
    font-size: .85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.cart-toggle { position: relative; }
.cart-toggle .cart-icon {
    width: 1.2rem;
    height: 1.2rem;
    display: block;
    overflow: visible;
}
.cart-count {
    position: absolute;
    inset-block-start: -.15rem;
    right: -.15rem;
    left: auto;
    min-width: .95rem;
    height: .95rem;
    padding: 0 .2rem;
    border-radius: 999px;
    background: var(--accent);
    color: var(--on-accent, #241a0d);
    font-size: .58rem;
    font-weight: 700;
    display: grid;
    place-items: center;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    box-shadow: 0 1px 4px rgba(18, 12, 8, .28);
}
.cart-count[hidden] { display: none; }
@media (max-width: 700px) {
    .cart-toggle,
    body.is-home .cart-toggle,
    body.is-cowork .cart-toggle {
        position: fixed;
        left: max(.8rem, env(safe-area-inset-left));
        bottom: max(.8rem, env(safe-area-inset-bottom));
        z-index: 45;
        width: 4rem;
        height: 4rem;
        background: var(--primary);
        border: 1px solid color-mix(in srgb, var(--primary) 78%, transparent);
        color: var(--on-primary, #fff);
        box-shadow: 0 12px 32px rgba(18, 12, 8, .32);
    }
    .cart-toggle .cart-icon { width: 1.8rem; height: 1.8rem; }
}
.cart-drawer { border: 1px solid var(--glass-line); padding: 0; width: min(26rem, calc(100% - 1.5rem)); max-height: min(38rem, calc(100dvh - 1.6rem)); margin: auto; background: var(--glass-strong); -webkit-backdrop-filter: blur(24px) saturate(1.2); backdrop-filter: blur(24px) saturate(1.2); color: var(--ink); border-radius: 1.4rem; box-shadow: var(--shadow-hover); overflow: auto; opacity: 0; transform: translate(var(--sheet-x, 0px), var(--sheet-y, 1.35rem)) scale(.94); transition: opacity .36s var(--ease), transform .42s var(--ease); }
.cart-drawer.is-in { opacity: 1; transform: none; }
.cart-drawer::backdrop { background: rgba(18, 16, 14, 0); transition: background .36s var(--ease), backdrop-filter .36s var(--ease); }
.cart-drawer.is-in::backdrop { background: rgba(18, 16, 14, .52); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.cart-body { padding: 1.25rem 1.15rem 1.5rem; display: grid; gap: .85rem; align-content: start; }
.cart-body h2 { padding-inline-end: 2.4rem; }
.cart-lines { display: grid; gap: .75rem; }
.cart-line { display: grid; grid-template-columns: 3.2rem 1fr auto; gap: .7rem; align-items: center; }
.cart-line img, .cart-fallback { width: 3.2rem; height: 3.2rem; border-radius: .7rem; object-fit: cover; object-position: center; background: var(--chip); }
.cart-fallback { display: grid; place-items: center; color: var(--primary-text, var(--primary)); font-weight: 650; }
.cart-line h3 { margin: 0; font-size: .98rem; }
.cart-line .muted { margin: .15rem 0 0; font-size: .85rem; }
.cart-qty { display: flex; align-items: center; gap: .25rem; }
.cart-qty button { width: 2rem; height: 2rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.cart-qty span { min-width: 1.4rem; text-align: center; font-variant-numeric: tabular-nums; }
.cart-sum { display: flex; justify-content: space-between; gap: 1rem; font-weight: 650; margin: .2rem 0 0; padding-top: .7rem; border-top: 1px solid var(--line); }
.cart-checkout { display: grid; gap: .45rem; }
.cart-checkout[hidden] { display: none; }
.cart-empty { color: var(--muted); margin: 0; }
.is-find { box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 38%, transparent); }
.item-page { padding: 2rem 0 3rem; }
.item-grid { display: grid; gap: 1.4rem; }
.plate-lg { border-radius: var(--radius); min-height: 16rem; }
.item-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.qr-inline { width: 7rem; height: 7rem; object-fit: contain; background: #fff; border-radius: .7rem; }
.crumb { color: var(--muted); }
.price-lg b { font-size: 1.6rem; }
.empty {
    padding: 2.2rem 1.4rem;
    background: var(--glass);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-line);
    border-radius: 1.4rem;
    margin-top: 1rem;
}
.query-note, .no-results { color: var(--muted); }
.foot { border-top: 1px solid var(--line); padding: 1.6rem 0 2rem; margin-top: 1rem; }
.foot-row { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.foot a { display: inline-block; margin-inline-end: .8rem; }
.foot-credit { margin-top: .4rem; }
.foot-credit .foot-credit-link {
    display: inline;
    margin-inline-end: 0;
    color: #e67a2e;
    text-decoration: none;
}
.foot-credit .foot-credit-link:hover { text-decoration: underline; }

.btn, .auth-card button, .stack button.btn {
    min-height: 2.75rem;
    border: 0;
    border-radius: 999px;
    padding: .55rem 1.1rem;
    background: var(--primary);
    color: var(--on-primary, #fff);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
body.is-home .home-cta {
    background: var(--primary);
    color: var(--on-primary, #f6f1ea);
    box-shadow: 0 10px 30px rgba(18, 12, 8, .35);
}
@media (hover: hover) {
    body.is-home .home-cta:hover { background: color-mix(in srgb, var(--primary) 86%, #000); }
    body.is-home .home-cta-ghost:hover { background: rgba(246, 241, 234, .12); }
    .cowork-hero-btn:hover { background: color-mix(in srgb, var(--primary) 86%, #000); }
    .cowork-hero-ghost:hover { background: rgba(246, 241, 234, .12); }
}
body.is-home .home-cta-ghost {
    background: transparent;
    color: #f6f1ea;
    border: 1px solid rgba(246, 241, 234, .45);
    box-shadow: none;
}
.btn[disabled], .is-loading { opacity: .65; cursor: progress; }
.plain {
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 1.5rem;
    background:
        radial-gradient(48rem 22rem at 88% -8%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 56%),
        radial-gradient(36rem 20rem at 8% 112%, color-mix(in srgb, var(--primary) 14%, transparent), transparent 50%),
        var(--bg);
}
.auth-card {
    width: min(32rem, 100%);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.7rem 1.55rem 1.65rem;
    box-shadow: var(--shadow);
    display: grid;
    gap: .85rem;
    animation: rise .6s var(--ease) both;
}
.stack, .auth-card form { display: grid; gap: .75rem; }
.stack label, .auth-card label { display: grid; gap: .3rem; }
.check { display: flex !important; align-items: center; gap: .5rem; }
.checks { display: grid; gap: .35rem; padding: 0; margin: 0; list-style: none; }
.checks li::before { content: "– "; color: var(--danger); }
.checks li.is-ok::before { content: "✓ "; color: var(--ok); }
.hp { position: absolute; inset-inline-start: -9999px; }

@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
}
@media (min-width: 800px) {
    .item-grid { grid-template-columns: 1.1fr .9fr; align-items: center; }
    .cowork-grid { grid-template-columns: repeat(2, 1fr); }
    .cowork-hero-grid { grid-template-columns: 1fr auto; align-items: end; }
    .cowork-about { grid-template-columns: .92fr 1.08fr; align-items: start; }
    .cowork-book-row { grid-template-columns: 1fr auto; align-items: center; }
    .cowork-shots { grid-template-columns: repeat(2, 1fr); }
    .cowork-shots.is-many { grid-template-columns: 1.2fr .8fr; }
    .cowork-shots.is-many .cowork-shot:first-child { grid-row: span 2; }
    .cowork-shots.is-many .cowork-shot:first-child img { height: 100%; min-height: 22rem; }
}
@media (min-width: 1100px) {
    .cowork-grid { grid-template-columns: repeat(4, 1fr); }
}

body.is-cowork main { padding: 0; }
body.is-cowork .bar {
    position: absolute;
    inset-inline: 0;
    top: 0;
    background: linear-gradient(to bottom, rgba(28, 22, 18, .55), transparent);
    backdrop-filter: none;
    border-bottom: 0;
    color: #f6f1ea;
}
body.is-cowork .mark { background: #f6f1ea; }
body.is-cowork .mark-img { background: #f6f1ea; }
body.is-cowork .pub-links a.is-on { background: rgba(246, 241, 234, .16); }
body.is-cowork .langs-drop .lang-btn { background: rgba(246, 241, 234, .14); }
body.is-cowork .ig-chip {
    color: #f6f1ea;
    background: rgba(246, 241, 234, .14);
}
/* The cowork page has no menu to order from: no cart button there. */
body.is-cowork .cart-toggle { display: none; }
body.is-cowork .icon-btn,
body.is-cowork .share summary {
    background: rgba(246, 241, 234, .12);
    border-color: rgba(246, 241, 234, .22);
    color: #f6f1ea;
}

.cowork-hero {
    position: relative;
    min-height: min(82vh, 44rem);
    overflow: hidden;
    color: #f6f1ea;
}
.cowork-stage { position: absolute; inset: 0; overflow: hidden; }
.cowork-stage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 40%;
}
.cowork-veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(18, 12, 8, .9) 0%, rgba(18, 12, 8, .38) 52%, rgba(18, 12, 8, .22) 100%),
        linear-gradient(to left, rgba(18, 12, 8, .5), transparent 58%);
}
html[dir="ltr"] .cowork-veil {
    background:
        linear-gradient(to top, rgba(18, 12, 8, .9) 0%, rgba(18, 12, 8, .38) 52%, rgba(18, 12, 8, .22) 100%),
        linear-gradient(to right, rgba(18, 12, 8, .5), transparent 58%);
}
.cowork-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    min-height: min(82vh, 44rem);
    align-content: end;
    gap: 1.2rem;
    padding-block: 6.5rem 2.4rem;
}
.cowork-intro {
    display: grid;
    gap: .7rem;
    max-width: 38rem;
}
.cowork-intro .home-kicker { color: var(--accent-bright, #d4b48a); }
.cowork-intro .lede { color: rgba(246, 241, 234, .84); max-width: 28rem; }
.cowork-intro h1 { font-size: clamp(2.4rem, 7vw, 4.6rem); line-height: .95; text-wrap: pretty; }
.cowork-hero-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .35rem; }
.cowork-hero-btn {
    background: var(--primary);
    color: var(--on-primary, #f6f1ea);
    box-shadow: 0 10px 30px rgba(18, 12, 8, .35);
}
.cowork-hero-ghost {
    background: transparent;
    color: #f6f1ea;
    border: 1px solid rgba(246, 241, 234, .45);
}
.cowork-chip {
    margin: 0;
    justify-self: start;
    background: rgba(246, 241, 234, .12);
    border: 1px solid rgba(246, 241, 234, .22);
    border-radius: 999px;
    padding: .5rem 1rem;
    backdrop-filter: blur(12px);
    color: rgba(246, 241, 234, .88);
}
@media (min-width: 800px) {
    .cowork-chip { justify-self: end; align-self: end; }
}
.cowork-about { padding: 2.6rem 0 1.2rem; display: grid; gap: 1.4rem; }
.cowork-story { display: grid; gap: .55rem; }
.cowork-body { margin: 0; max-width: 42rem; font-size: 1.08rem; text-wrap: pretty; }
.cowork-amenities {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .7rem;
    grid-template-columns: repeat(2, 1fr);
}
.cowork-amenities li {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: 1rem;
    display: grid;
    align-content: start;
    gap: .4rem;
    min-height: 4.8rem;
    box-shadow: var(--shadow);
}
.cowork-amenities span {
    color: var(--accent-text, var(--accent));
    font-variant-numeric: tabular-nums;
    font-size: .82rem;
}
.cowork-board { padding: 1rem 0 2.6rem; }
.cowork-grid { display: grid; gap: 1rem; }
.cowork-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.2rem 1.15rem 1.3rem;
    display: flex;
    flex-direction: column;
    gap: .45rem;
    box-shadow: var(--shadow);
    min-height: 100%;
}
.cowork-card h3 { font-size: 1.25rem; }
.cowork-card p { margin: 0; color: var(--muted); }
.cowork-card .price b { color: var(--ink); }
.cowork-card .btn { margin-top: auto; align-self: start; }
.cowork-unit {
    margin: 0;
    color: var(--accent-text, var(--accent));
    font-size: .82rem;
}
.cowork-spot {
    margin: 0;
    font-size: .78rem;
    color: var(--accent-bright, #d4b48a);
}
.cowork-card.is-spot {
    background: #1c1612;
    color: #f6f1ea;
    border-color: transparent;
}
.cowork-card.is-spot p,
.cowork-card.is-spot .cowork-feat { color: rgba(246, 241, 234, .78); }
.cowork-card.is-spot h3,
.cowork-card.is-spot .price b { color: #f6f1ea; }
.cowork-card.is-spot .btn {
    background: #f6f1ea;
    color: #1c1612;
}
.cowork-feat {
    margin: .35rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: .35rem;
    color: var(--ink);
}
.cowork-feat li { padding-inline-start: .9rem; position: relative; }
.cowork-feat li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: .55em;
    width: .35rem;
    height: .35rem;
    border-radius: 50%;
    background: var(--primary);
}
.cowork-card.is-spot .cowork-feat li::before { background: var(--accent-bright, #d4b48a); }
/* Special desk: highlighted with the active theme accent so it catches the
 * eye in both light and dark mode. Declared after .is-spot so it wins when a
 * card is both the resident desk and manually marked special. */
.cowork-card.is-special {
    background:
        linear-gradient(150deg, color-mix(in srgb, var(--accent) 26%, var(--surface)), color-mix(in srgb, var(--primary) 14%, var(--surface)));
    border-color: color-mix(in srgb, var(--accent) 60%, var(--line));
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 28%, transparent), var(--shadow);
}
.cowork-card.is-special p,
.cowork-card.is-special .cowork-feat { color: var(--muted); }
.cowork-card.is-special h3,
.cowork-card.is-special .price b { color: var(--ink); }
.cowork-card.is-special .btn {
    background: var(--primary);
    color: var(--on-primary, #f6f1ea);
}
.cowork-card.is-special .cowork-feat li::before { background: var(--accent-text, var(--accent)); }
.cowork-flag {
    margin: 0;
    align-self: start;
    font-size: .78rem;
    font-weight: 700;
    color: var(--accent-text, var(--accent));
    background: color-mix(in srgb, var(--accent) 18%, var(--surface));
    border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
    border-radius: 999px;
    padding: .12rem .6rem;
}
.cowork-book {
    background: var(--surface);
    border-block: 1px solid var(--line);
    padding: 2rem 0;
}
.cowork-book-row { display: grid; gap: 1.1rem; }
.cowork-book p { margin: 0; max-width: 36rem; color: var(--muted); }
.cowork-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.cowork-gallery { padding: 1.2rem 0 2.2rem; display: grid; gap: .85rem; }
.cowork-shots { display: grid; gap: .65rem; }
.cowork-shot {
    margin: 0;
    padding: 0;
    border: 0;
    width: 100%;
    display: block;
    overflow: hidden;
    border-radius: 1.1rem;
    background: var(--chip);
    cursor: zoom-in;
    box-shadow: var(--shadow);
}
.cowork-shot img {
    width: 100%;
    height: 14rem;
    object-fit: cover;
    object-position: center;
    display: block;
}
.cowork-zoom {
    border: 0;
    padding: 0;
    width: min(72rem, calc(100% - 1.2rem));
    max-height: calc(100dvh - 1.4rem);
    background: #1c1612;
    border-radius: 1.15rem;
    overflow: hidden;
    opacity: 0;
    transform: scale(.96);
    transition: opacity .36s var(--ease), transform .42s var(--ease);
}
.cowork-zoom.is-in { opacity: 1; transform: none; }
.cowork-zoom::backdrop { background: rgba(18, 12, 8, .72); }
.cowork-zoom img {
    display: block;
    width: 100%;
    height: auto;
    max-height: calc(100dvh - 1.4rem);
    object-fit: contain;
    background: #1c1612;
}
.cowork-zoom .sheet-close { color: #f6f1ea; }
@media print {
    .bar, .foot, .boot, .share, .pills, .mode-toggle { display: none !important; }
    .card { break-inside: avoid; box-shadow: none; }
}

/* Item cards stay put on hover — no tilt, no lift (bug fix: cards must not
 * shuffle when the pointer moves over them). Hero parallax and item reveal
 * stay untouched below. */
.grid { perspective: 1400px; }
.plate { transform: translateZ(0); }

.item-grid .plate-lg {
    animation: rise .55s var(--ease) backwards;
    box-shadow: var(--shadow-hover);
}
.home-card { transition: box-shadow .5s var(--ease); }
.home-card:hover {
    box-shadow: var(--shadow-hover);
}
.menu-hero-stage img {
    transform: translateY(calc(var(--par, 0) * 1px)) scale(1.1);
    will-change: transform;
}

/* Hero watercolor: theme-tinted live glaze over the hero photo. */
.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    mix-blend-mode: soft-light;
    opacity: .8;
}
/* Card spotlight sheen removed together with the hover tilt: item cards must
 * never react to the pointer across their surface. */
.card { position: relative; }

/* ==== Ticket skin v2: tickets, glass dock, editorial sections ====
 * Ticket surfaces follow the active theme (light in light mode, warm-dark in
 * dark mode) via the --ticket-* aliases below, so every background stays
 * consistent; accent/currency follow the active theme tokens. */
:root {
    --ticket: var(--surface);
    --ticket-line: var(--line);
    --ticket-ink: var(--ink);
    --ticket-mute: var(--muted);
    --ticket-deep: color-mix(in srgb, var(--surface) 86%, var(--ink));
    --glass: color-mix(in srgb, var(--surface) 72%, transparent);
    --glass-strong: color-mix(in srgb, var(--surface) 88%, transparent);
    --glass-blur: blur(18px) saturate(1.25);
    --glass-line: color-mix(in srgb, var(--line) 75%, transparent);
}
.grid {
    gap: .9rem;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 21.5rem), 1fr));
}
.card {
    display: grid;
    grid-template-columns: 5.4rem 1fr;
    gap: .8rem;
    align-items: center;
    min-height: 0;
    background: linear-gradient(160deg, var(--ticket), var(--ticket-deep));
    border: 1px solid var(--ticket-line);
    border-radius: 1.25rem;
    color: var(--ticket-ink);
    padding: .7rem;
    overflow: visible;
}
.card .plate {
    align-self: start;
    width: 5.4rem;
    aspect-ratio: 1 / 1;
    border-radius: .95rem;
    border: 1px solid var(--ticket-line);
    background:
        radial-gradient(90% 90% at 25% 15%, color-mix(in srgb, var(--accent) 40%, transparent), transparent 62%),
        var(--chip);
}
.card .plate img { border-radius: inherit; }
.card .mono { color: var(--accent-text, var(--accent)); }
.card-body { padding: .2rem .1rem .2rem 0; min-width: 0; }
.card-body > p:not(.badges):not(.price) { color: var(--ticket-mute); }
.card-body h3 { font-size: .98rem; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-top { display: flex; flex-direction: column; gap: .15rem; margin-top: .45rem; }
.card .price { display: flex; align-items: baseline; gap: .3rem; margin: 0; }
.card .price b { color: var(--ticket-ink); font-weight: 900; }
.card .price s { color: color-mix(in srgb, var(--muted) 75%, transparent); font-size: .78rem; font-weight: 400; }
.card .price small { color: var(--accent-text, var(--accent)); font-size: .72rem; font-weight: 700; }
.badges { display: flex; flex-wrap: wrap; gap: .25rem; }
.badge {
    font-size: .64rem; font-weight: 800; padding: .16rem .5rem; border-radius: .5rem;
    background: color-mix(in srgb, var(--accent) 30%, var(--chip)); color: var(--ticket-ink);
    transform: rotate(-2.5deg);
}
.badge-featured { background: var(--accent); color: var(--on-accent, #241a0d); transform: rotate(2.5deg); }
.badge-sale { background: var(--danger, #9f1239); color: #fff; }
.badge-new { background: #7d8f69; color: #10160c; }
.badge_bestseller.badge, .badge-best { background: var(--rose, #c25450); color: #fff; }
.card-add { align-self: start; margin-top: .55rem; font-size: .8rem; padding: .34rem .8rem; border-radius: .8rem; background: var(--accent); border: 0; color: var(--on-accent, #241a0d); font-weight: 800; cursor: pointer; }
.card:hover .card-add, .card:focus-within .card-add { background: var(--ticket-ink); color: var(--ticket); }
.card.is-off { opacity: .62; filter: saturate(.5); }
.card.is-off .plate { filter: grayscale(.7); }

/* Editorial section headers with big index numbers */
.sec-index {
    font-size: 1rem; font-weight: 900; color: var(--accent-text, var(--accent));
    border: 1px solid var(--ticket-line); border-radius: .6rem; padding: .25rem .6rem;
    background: color-mix(in srgb, var(--accent) 14%, transparent);
}
.sec-head { display: flex !important; align-items: center; gap: .8rem; }
.sec-head h2 { font-weight: 900; }
.sec-head p, .sec-count { font-size: .84rem; }

/* Pills as glass chips */
/* The category bar docks directly beneath the sticky header on every viewport
 * and follows it while scrolling, never sliding underneath it. The header
 * height is measured in public.js (--public-bar-height); the fallbacks cover
 * the first paint before JS measures (single-row desktop vs two-row mobile). */
.pills-bar { position: sticky; top: var(--public-bar-height, 4.2rem); z-index: 30; background: none; }
/* Mobile: the two-row header is taller than any fixed offset could guess. */
@media (max-width: 700px) {
    .pills-bar { top: var(--public-bar-height, 7rem); }
}
.pills {
    display: block; white-space: nowrap; overflow-x: auto; scrollbar-width: none;
    background: var(--glass);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-line);
    border-radius: 999px;
    padding: .45rem .55rem;
    box-shadow: var(--shadow);
}
.pills::-webkit-scrollbar { display: none; }
.pill {
    display: inline-flex; align-items: center; gap: .35rem;
    border-radius: 999px; padding: .38rem .85rem; font-size: .84rem; font-weight: 600;
    border: 1px solid transparent; color: var(--ink);
}
.pill:hover { border-color: var(--accent-text, var(--accent)); color: var(--accent-text, var(--accent)); }
.pill.is-on { background: var(--accent); color: var(--on-accent, #241a0d); }
.pill small { font-size: .7rem; opacity: .8; }

/* Finder merged into a glass dock */
.finder { min-width: 12rem; flex: 1; }
.finder input {
    background: var(--glass);
    border: 1px solid var(--glass-line);
    border-radius: 999px; padding: .5rem 1rem;
    color: var(--ink); box-shadow: var(--shadow);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}
.finder-hits {
    background: var(--glass-strong);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-line);
    border-radius: 1.1rem;
    box-shadow: var(--shadow-hover);
}
.finder-hits button, .finder-hits .finder-hit { color: var(--ticket-ink); }
.finder-hits .finder-empty { color: var(--ticket-mute); }

.menu-hero-copy { align-items: start; }
.menu-hero-copy h1 { font-weight: 900; letter-spacing: -.02em; }

/* Item page: ticket panel */
.item-grid .plate-lg {
    border: 1px solid var(--ticket-line);
    border-radius: 1.25rem;
    background: linear-gradient(160deg, var(--ticket), var(--ticket-deep));
}

/* ==== Category card sliders: big square cards, frosted-glass side slides ==== */
/* NOTE: no mask/filter on the scroll container itself — on mobile Safari/Chrome a
 * mask-image or filter over an overflow scroller rasterizes child text and makes
 * fonts blurry. Edge fades live on .slider-zone pseudo-elements instead. */
[data-layout="cards"] .menu-sec .grid {
    /* Narrow enough that the frosted prev/next cards peek on phone screens too. */
    --slide-w: min(70vw, 21rem);
    display: flex;
    align-items: stretch;
    gap: .85rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: .7rem calc(50% - var(--slide-w) / 2) 1.7rem;
    scrollbar-width: none;
    cursor: grab;
}
@media (min-width: 720px) {
    [data-layout="cards"] .menu-sec .grid { --slide-w: min(42vw, 24rem); gap: 1rem; }
}
@media (min-width: 1100px) {
    [data-layout="cards"] .menu-sec .grid { --slide-w: 25rem; }
}
[data-layout="cards"] .menu-sec .grid::-webkit-scrollbar { display: none; }
[data-layout="cards"] .menu-sec .grid.is-dragging { cursor: grabbing; scroll-behavior: auto; user-select: none; }
[data-layout="cards"] .menu-sec .card {
    position: relative;
    flex: 0 0 var(--slide-w);
    display: flex;
    flex-direction: column;
    gap: .55rem;
    aspect-ratio: auto;
    padding: .8rem;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    animation: none;
    background: linear-gradient(160deg, var(--glass-strong), var(--glass));
    -webkit-backdrop-filter: blur(22px) saturate(1.2);
    backdrop-filter: blur(22px) saturate(1.2);
    border-color: var(--glass-line);
    /* Kill the 3D tilt (perspective + rotate) inherited from .card — it rasterizes
     * text at non-integer scales and is a cause of blurry card fonts. */
    transform: none;
    will-change: auto;
    transition:
        transform .45s var(--ease), filter .45s var(--ease), opacity .45s var(--ease),
        background .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
/* Center card: fully crisp. No backdrop-filter here — text rendered on top of a
 * backdrop-filter layer softens on mobile GPUs, so the focus card uses a solid
 * glass surface instead. */
[data-layout="cards"] .menu-sec .card.is-active {
    transform: none;
    filter: none;
    opacity: 1;
    background: linear-gradient(160deg, color-mix(in srgb, var(--surface) 97%, var(--accent) 3%), var(--surface));
    box-shadow: 0 18px 44px rgba(28, 22, 18, .16);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
/* Immediate prev/next: soft glass preview of the neighbouring cards */
[data-layout="cards"] .menu-sec .card.is-prev,
[data-layout="cards"] .menu-sec .card.is-next {
    transform: scale(.94);
    filter: blur(1px) saturate(.92);
    opacity: .82;
    background: color-mix(in srgb, var(--surface) 62%, transparent);
    box-shadow: 0 10px 26px rgba(28, 22, 18, .08);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
}
/* Far cards: deeper frost, recede further */
[data-layout="cards"] .menu-sec .card:not(.is-active):not(.is-prev):not(.is-next) {
    transform: scale(.9);
    filter: blur(2.5px) saturate(.7);
    opacity: .5;
    background: color-mix(in srgb, var(--surface) 48%, transparent);
    box-shadow: none;
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
}
/* Square plate on every viewport */
[data-layout="cards"] .menu-sec .card .plate {
    width: 100%;
    flex: 0 0 auto;
    align-self: stretch;
    aspect-ratio: 1 / 1;
    min-height: 0;
}
[data-layout="cards"] .menu-sec .card .card-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: .3rem;
    padding: .1rem .12rem 0;
    min-height: 0;
}
[data-layout="cards"] .menu-sec .card .card-badges {
    position: absolute;
    inset-block-start: .95rem;
    inset-inline-start: .95rem;
    z-index: 3;
    max-width: calc(100% - 1.9rem);
    pointer-events: none;
}
[data-layout="cards"] .menu-sec .card .card-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.5;
    text-align: center;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
[data-layout="cards"] .menu-sec .card .card-desc {
    margin: 0;
    color: var(--ticket-mute);
    font-size: .84rem;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
[data-layout="cards"] .menu-sec .card .card-foot {
    margin-top: auto;
    padding-top: .7rem;
    border-top: 1px solid var(--ticket-line);
    /* One row: price stays on the reading side, the buy button sits at the
     * physical left edge and both share a single line. */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: .6rem;
}
[data-layout="cards"] .menu-sec .card .card-price {
    display: flex;
    align-items: baseline;
    gap: .3rem;
    margin: 0;
    color: var(--ticket-ink);
    font-variant-numeric: tabular-nums;
}
[data-layout="cards"] .menu-sec .card .card-price b {
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: -.01em;
}
[data-layout="cards"] .menu-sec .card .card-price s {
    font-size: .78rem;
    font-weight: 400;
    color: color-mix(in srgb, var(--muted) 70%, transparent);
}
[data-layout="cards"] .menu-sec .card .card-price small {
    font-size: .72rem;
    font-weight: 700;
    color: var(--ticket-mute);
}
[data-layout="cards"] .menu-sec .card .card-buy,
[data-layout="cards"] .menu-sec .card .card-off {
    width: auto;
    min-width: 6.5rem;
    min-height: 2.4rem;
    padding: 0 .9rem;
    margin-inline-start: auto;
    border-radius: .8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .86rem;
    font-weight: 800;
    border: 0;
}
[data-layout="cards"] .menu-sec .card .card-buy {
    background: var(--accent);
    color: var(--on-accent, #241a0d);
    cursor: pointer;
    transition: background .2s var(--ease), color .2s var(--ease);
}
@media (hover: hover) {
    [data-layout="cards"] .menu-sec .card .card-buy:hover { background: var(--primary); color: var(--on-primary, #fff); }
}
[data-layout="cards"] .menu-sec .card .card-off {
    background: var(--chip);
    color: var(--muted);
}
[data-layout="cards"] .menu-sec .card img { pointer-events: none; -webkit-user-drag: none; }

/* Edge fades replace the old scroller mask: painted over the side cards so the
 * neighbours melt into the page background like frosted glass, without putting
 * a filter/mask on the scroll container (which blurs text on mobile). */
/* Desktop: the slider row is inset again to match the search bar's width
 * (.wrap). Cards still bleed across the row and are washed by the edge fades,
 * whose inner tail is a near-flat slope, so no straight clip line shows. */
html { overflow-x: clip; }
.slider-zone { position: relative; }
.slider-zone::before,
.slider-zone::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 1.5rem;
    width: 9rem;
    z-index: 4;
    pointer-events: none;
}
/* Long ease-tail ramp (9rem wide, 6 stops): washes cards over ~9rem so the
 * fade lands on zero with a nearly-flat slope — no perceivable straight edge
 * where the overlay ends. */
.slider-zone::before {
    inset-inline-start: 0;
    background: linear-gradient(to right,
        var(--bg) 0%,
        color-mix(in srgb, var(--bg) 88%, transparent) 22%,
        color-mix(in srgb, var(--bg) 62%, transparent) 45%,
        color-mix(in srgb, var(--bg) 32%, transparent) 65%,
        color-mix(in srgb, var(--bg) 12%, transparent) 82%,
        transparent 100%);
}
.slider-zone::after {
    inset-inline-end: 0;
    background: linear-gradient(to left,
        var(--bg) 0%,
        color-mix(in srgb, var(--bg) 88%, transparent) 22%,
        color-mix(in srgb, var(--bg) 62%, transparent) 45%,
        color-mix(in srgb, var(--bg) 32%, transparent) 65%,
        color-mix(in srgb, var(--bg) 12%, transparent) 82%,
        transparent 100%);
}
html[dir="rtl"] .slider-zone::before {
    background: linear-gradient(to left,
        var(--bg) 0%,
        color-mix(in srgb, var(--bg) 88%, transparent) 22%,
        color-mix(in srgb, var(--bg) 62%, transparent) 45%,
        color-mix(in srgb, var(--bg) 32%, transparent) 65%,
        color-mix(in srgb, var(--bg) 12%, transparent) 82%,
        transparent 100%);
}
html[dir="rtl"] .slider-zone::after {
    background: linear-gradient(to right,
        var(--bg) 0%,
        color-mix(in srgb, var(--bg) 88%, transparent) 22%,
        color-mix(in srgb, var(--bg) 62%, transparent) 45%,
        color-mix(in srgb, var(--bg) 32%, transparent) 65%,
        color-mix(in srgb, var(--bg) 12%, transparent) 82%,
        transparent 100%);
}
/* Desktop: keep the visible row at the search-bar width (.wrap), but let cards
 * bleed 9rem past each edge; each fade strip straddles the boundary (9rem out,
 * 9rem in) with the strongest wash at its outer end, so the exit fading of the
 * cards starts outside the container edge. */
@media (min-width: 720px) {
    [data-layout="cards"] .menu-sec .grid { margin-inline: -9rem; }
    .slider-zone::before { inset-inline-start: -9rem; width: 18rem; }
    .slider-zone::after { inset-inline-end: -9rem; width: 18rem; }
}
/* Phones: much shorter fades so the wash never creeps over the centered
 * active card. Must live after the 9rem base rule above to win the cascade. */
@media (max-width: 700px) {
    .slider-zone::before,
    .slider-zone::after { width: 2.75rem; }
}

/* Big white-chevron arrows overlaid on the slider edges */
.slider-zone .slide-btn {
    position: absolute;
    top: calc(50% - 1.05rem);
    z-index: 6;
    width: 3.4rem; height: 3.4rem; border-radius: 999px;
    display: grid; place-items: center; cursor: pointer;
    border: 1px solid rgba(255, 255, 255, .4);
    background: color-mix(in srgb, #1c1612 42%, transparent);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    backdrop-filter: blur(14px) saturate(1.2);
    color: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .3);
    opacity: 1;
    transition: background .2s var(--ease), opacity .2s var(--ease), transform .2s var(--ease);
}
.slider-zone .slide-btn:hover { background: color-mix(in srgb, #1c1612 62%, transparent); transform: scale(1.06); }
.slider-zone .slide-btn.is-off { opacity: .25; pointer-events: none; }
.slider-zone .slide-prev { inset-inline-start: .6rem; }
.slider-zone .slide-next { inset-inline-end: .6rem; }
@media (max-width: 700px) {
    .slider-zone .slide-prev { inset-inline-start: .15rem; }
    .slider-zone .slide-next { inset-inline-end: .15rem; }
}
.slider-zone.is-static .slide-btn { display: none; }
html[dir="rtl"] .slider-zone .slide-btn svg { transform: scaleX(-1); }
@media (prefers-reduced-motion: reduce) {
    [data-layout="cards"] .menu-sec .grid { scroll-behavior: auto; }
    [data-layout="cards"] .menu-sec .card { transition: none; }
    .slide-progress span { transition: none; }
}

/* ==== Mobile carousel: frosted neighbour previews beside the active card ====
 * The active card stays crisp and centered with a soft theme-tinted halo;
 * its two neighbours render as elegant blurred "ghost" previews peeking from
 * the screen edges, each covered by a glass veil that melts toward the edge. */
@media (max-width: 700px) {
    /* Springy settle: cards glide into place with a gentle overshoot. */
    [data-layout="cards"] .menu-sec .card {
        transition:
            transform .6s cubic-bezier(.22, 1.35, .32, 1),
            filter .5s var(--ease),
            opacity .5s var(--ease),
            background .45s var(--ease),
            box-shadow .5s var(--ease),
            border-color .45s var(--ease);
    }
    /* Kill the inherited 3D stage on phones: perspective + translateZ
     * rasterize card text/images at non-integer scales and read as a blur
     * over the active card. Flat rendering keeps every card crisp. */
    [data-layout="cards"] .menu-sec .grid { perspective: none; }
    [data-layout="cards"] .menu-sec .card .plate { transform: none; }
    /* Active card: fully transparent rendering — no filter, no backdrop
     * blur, opaque surface, so all of its content shows sharp. */
    [data-layout="cards"] .menu-sec .card.is-active {
        transform: none;
        filter: none;
        opacity: 1;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        background: linear-gradient(160deg, color-mix(in srgb, var(--surface) 97%, var(--accent) 3%), var(--surface));
    }
    /* Active card: crisp focus with a subtle accent halo. */
    [data-layout="cards"] .menu-sec .card.is-active {
        box-shadow:
            0 22px 48px rgba(28, 22, 18, .18),
            0 0 0 1px color-mix(in srgb, var(--accent) 24%, transparent);
    }
    /* Neighbour previews: deeper frost + slight sink for depth. */
    [data-layout="cards"] .menu-sec .card.is-prev,
    [data-layout="cards"] .menu-sec .card.is-next {
        transform: scale(.9) translateY(.4rem);
        filter: blur(2.2px) saturate(.78) brightness(.97);
        opacity: .72;
        background: color-mix(in srgb, var(--surface) 55%, transparent);
        box-shadow: 0 14px 30px rgba(28, 22, 18, .1);
    }
    /* Glass veil over each preview, densest at the screen edge so the ghost
     * card melts into the page instead of ending on a hard line. */
    [data-layout="cards"] .menu-sec .card.is-prev::after,
    [data-layout="cards"] .menu-sec .card.is-next::after {
        content: '';
        position: absolute;
        inset: 0;
        z-index: 5;
        border-radius: inherit;
        pointer-events: none;
    }
    [data-layout="cards"] .menu-sec .card.is-prev::after {
        background: linear-gradient(to right,
            color-mix(in srgb, var(--bg) 38%, transparent) 0%,
            color-mix(in srgb, var(--bg) 16%, transparent) 34%,
            transparent 62%);
    }
    [data-layout="cards"] .menu-sec .card.is-next::after {
        background: linear-gradient(to left,
            color-mix(in srgb, var(--bg) 38%, transparent) 0%,
            color-mix(in srgb, var(--bg) 16%, transparent) 34%,
            transparent 62%);
    }
    html[dir="rtl"] [data-layout="cards"] .menu-sec .card.is-prev::after {
        background: linear-gradient(to left,
            color-mix(in srgb, var(--bg) 38%, transparent) 0%,
            color-mix(in srgb, var(--bg) 16%, transparent) 34%,
            transparent 62%);
    }
    html[dir="rtl"] [data-layout="cards"] .menu-sec .card.is-next::after {
        background: linear-gradient(to right,
            color-mix(in srgb, var(--bg) 38%, transparent) 0%,
            color-mix(in srgb, var(--bg) 16%, transparent) 34%,
            transparent 62%);
    }
    /* Far cards recede a touch more on phones to keep the stage calm. */
    [data-layout="cards"] .menu-sec .card:not(.is-active):not(.is-prev):not(.is-next) {
        transform: scale(.86) translateY(.55rem);
        opacity: .42;
    }
}
@media (max-width: 700px) and (prefers-reduced-motion: reduce) {
    [data-layout="cards"] .menu-sec .card { transition: none; }
}

/* ==== About us popup ====
 * One dialog shared by the desktop home CTA (next to the coworking button)
 * and the mobile header pill (next to the venue name). Themed with the glass
 * tokens so it stays consistent across every theme and both light/dark modes. */
.brand-about {
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: .85rem;
    font-weight: 650;
    padding: .4rem .8rem;
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
    opacity: .82;
    transition: opacity .25s var(--ease), background .25s var(--ease);
}
.brand-about:hover { opacity: 1; }
body.is-home .brand-about:hover { background: rgba(246, 241, 234, .14); }
body:not(.is-home) .brand-about:hover { background: var(--chip); }
@media (min-width: 701px) {
    .brand-about { display: none; }
}
@media (max-width: 700px) {
    .home-about-btn { display: none; }
}
.about-pop {
    border: 1px solid var(--glass-line);
    padding: 0;
    width: min(44rem, calc(100% - 1.5rem));
    max-height: min(46rem, calc(100dvh - 1.6rem));
    overflow: auto;
    background: var(--glass-strong);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
    backdrop-filter: blur(24px) saturate(1.2);
    color: var(--ink);
    border-radius: 1.55rem;
    box-shadow: 0 28px 70px rgba(28, 22, 18, .26);
    opacity: 0;
    transform: translateY(1.4rem) scale(.9);
    transition: opacity .4s var(--ease), transform .5s cubic-bezier(.22, 1, .36, 1);
}
.about-pop.is-in { opacity: 1; transform: none; }
.about-pop::backdrop {
    background: rgba(18, 16, 14, 0);
    transition: background .36s var(--ease), backdrop-filter .36s var(--ease);
}
.about-pop.is-in::backdrop {
    background: rgba(18, 16, 14, .48);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.about-pop-body { padding: 1.5rem 1.4rem 1.6rem; display: grid; gap: 1rem; }
.about-pop-body h2 {
    margin: 0;
    font-size: 1.35rem;
    text-wrap: pretty;
    padding-inline-end: 2.2rem;
}
/* Description sits exactly beside the gallery on wide screens. */
.about-pop-grid { display: grid; gap: .9rem; align-content: start; }
@media (min-width: 640px) {
    .about-pop-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: start; }
}
.about-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.about-shot {
    margin: 0;
    padding: 0;
    border: 0;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: .9rem;
    background: var(--chip);
    cursor: zoom-in;
    box-shadow: var(--shadow);
}
.about-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .5s var(--ease);
}
@media (hover: hover) {
    .about-shot:hover img { transform: scale(1.06); }
}
.about-body {
    margin: 0;
    color: var(--muted);
    line-height: 2;
    font-size: .97rem;
    white-space: pre-wrap;
    text-wrap: pretty;
}
.about-contact { border-top: 1px solid var(--line); padding-top: 1rem; display: grid; gap: .5rem; }
.about-contact-title {
    margin: 0 0 .2rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .05em;
    color: var(--accent-text, var(--accent));
}
.about-contact-list { margin: 0; padding: 0; list-style: none; display: grid; gap: .45rem; }
.about-contact-list li { display: flex; align-items: center; gap: .65rem; min-width: 0; font-size: .95rem; }
.about-contact-list a {
    display: flex;
    align-items: center;
    gap: .65rem;
    min-width: 0;
    color: var(--ink);
    text-decoration: none;
    transition: color .25s var(--ease);
}
.about-contact-list a:hover { color: var(--accent-text, var(--accent)); }
.about-contact-list span:last-child { min-width: 0; overflow-wrap: anywhere; }
.about-contact-icon {
    flex-shrink: 0;
    width: 2.15rem;
    height: 2.15rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--primary-text, var(--primary));
    background: color-mix(in srgb, var(--primary) 12%, var(--surface));
    border: 1px solid color-mix(in srgb, var(--primary) 28%, transparent);
}
.about-zoom {
    border: 0;
    padding: 0;
    width: min(72rem, calc(100% - 1.2rem));
    max-height: calc(100dvh - 1.4rem);
    background: #1c1612;
    border-radius: 1.15rem;
    overflow: hidden;
    opacity: 0;
    transform: scale(.96);
    transition: opacity .36s var(--ease), transform .42s var(--ease);
}
.about-zoom.is-in { opacity: 1; transform: none; }
.about-zoom::backdrop { background: rgba(18, 12, 8, .72); }
.about-zoom img {
    display: block;
    width: 100%;
    height: auto;
    max-height: calc(100dvh - 1.4rem);
    object-fit: contain;
    background: #1c1612;
}
.about-zoom .sheet-close { color: #f6f1ea; }
@media (prefers-reduced-motion: reduce) {
    .about-shot img, .about-contact-list a { transition: none; }
    .about-shot:hover img { transform: none; }
}
