/* Tres Pesos Bar & Grill · prospect preview by Moon Set (2026-10-31) */
/* self-hosted fonts (Google Fonts latin subsets, SIL OFL): no third-party CSS before first paint */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 800; font-stretch: 75% 100%; font-display: swap;
  src: url(../assets/fonts/archivo.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cinzel"; font-style: normal; font-weight: 600 700; font-display: swap;
  src: url(../assets/fonts/cinzel.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../assets/fonts/plexmono-500.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  /* scene (sampled from the tour art) */
  --night: #0a1633;      /* page ground: the dusk sky in front.webp, darkened (tour --bg sampled #003470) */
  --dusk: #003470;       /* tour background: sampled dusk sky (extract_frames) */
  --panel: #0f1d40;      /* raised panels: sky, one step lighter */
  --amber: #f3a64a;      /* accent: window and lantern glow in front/open.webp */
  --amber-soft: #fbe3a9; /* lantern core in open.webp */
  --brick: #8f2a1d;      /* brick and roof shingles */
  --door: #9b0b10;       /* the red front doors */
  --wood: #2b1206;       /* table top in table.webp */
  /* printed menu */
  --menu-red: #d9252b;   /* banner red */
  --menu-red-d: #9d141a; /* banner shadow edge */
  --menu-green: #1f8a3e; /* green flag bands */
  --parch: #eee2ca;      /* parchment page */
  --parch-d: #d9c6a2;
  --ink-m: #3b2416;      /* body text on parchment */
  --title-m: #a8422a;    /* dish names on the printed menu (rust) */
  --leather: #151413;
  /* text */
  --ink: #f6efe4;
  --muted: #cfc4b4;
  --line: rgba(246,239,228,.14);
  --display: "Cinzel", "Trajan Pro", Georgia, serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --tag-h: 26px;         /* preview strip */
  --head-h: 60px;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);
}
* { box-sizing: border-box; margin: 0; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; }
html.locked { overflow: hidden; }
body { background: var(--night); color: var(--ink); font: 400 17px/1.6 var(--body); font-stretch: 92%; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
.stage > .sr-only { top: auto; bottom: 0; }
.sr-only { position: absolute; top: 0; left: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { max-width: 1160px; margin: 0 auto; padding-inline: max(20px, env(safe-area-inset-left)); }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: .01em; line-height: 1.08; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.8rem); }
.kicker { font: 500 .76rem/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.ph { font: 500 .8rem/1.4 var(--mono); color: #ffd78f; background: rgba(243,166,74,.12); border: 1px dashed rgba(243,166,74,.6);
  padding: 8px 10px; border-radius: 6px; }

/* language: ES first, EN by toggle; dish names stay as printed */
:root[data-lang="es"] [data-l="en"], :root[data-lang="en"] [data-l="es"] { display: none !important; }

/* ---------- preview strip + header ---------- */
.preview-tag { position: fixed; z-index: 200; top: 0; left: 0; right: 0; height: var(--tag-h); display: flex; align-items: center; justify-content: center;
  background: var(--amber); color: #2a1404; font: 500 .75rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase;
  white-space: nowrap; overflow: hidden; padding-inline: 8px; }
.top { position: fixed; z-index: 50; top: var(--tag-h); left: 0; right: 0; height: var(--head-h); display: flex; align-items: center; gap: 16px;
  padding-inline: max(20px, env(safe-area-inset-left));
  background: linear-gradient(180deg, rgba(6,12,30,.82), rgba(6,12,30,0)); transition: background .3s; }
html.drinks-open .top, html.menu-open .top { opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.top.solid { background: rgba(8,15,36,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; min-height: 44px; }
.brand-coins { width: 34px; height: 34px; }
.brand-name { font: 700 1.15rem/1 var(--display); letter-spacing: .02em; display: grid; }
.brand-name small { font: 500 .75rem/1.5 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; gap: 4px; }
.nav-link { all: unset; cursor: pointer; font: 500 .76rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; padding: 16px 10px; border-radius: 6px; }
.nav-link:hover { color: var(--amber); }
.nav-link:focus-visible { outline: 2px solid var(--amber); }
.tools { display: flex; gap: 8px; align-items: center; }
.lang { all: unset; cursor: pointer; font: 500 .76rem/1 var(--mono); letter-spacing: .1em; padding: 11px 10px; border: 1px solid var(--line); border-radius: 999px; min-height: 20px; }
.lang .sep { opacity: .4; margin: 0 3px; }
:root[data-lang="es"] .lang .on-en, :root[data-lang="en"] .lang .on-es { opacity: .45; }
.lang:focus-visible, .cart-btn:focus-visible { outline: 2px solid var(--amber); }
.cart-btn { all: unset; cursor: pointer; position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); }
.cart-btn svg { width: 22px; height: 22px; }
.cart-count { position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--menu-red); color: #fff;
  font: 600 .75rem/20px var(--mono); text-align: center; padding: 0 4px; transition: transform .16s var(--ease-out); }
.cart-count[data-n="0"] { opacity: 0; }
.cart-count.bump { transform: scale(1.25); }
.skip { position: absolute; z-index: 300; left: 12px; top: calc(var(--tag-h) + 8px); transform: translateY(-200%); background: var(--amber); color: #1c0c03;
  padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { transform: none; }

/* ---------- buttons ---------- */
.btn { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
  padding: 0 22px; border-radius: 999px; font: 600 .78rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; text-align: center;
  transition: transform .16s var(--ease-out), background-color .2s ease, color .2s ease; }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--amber); color: #2a1404; }
.btn.ghost { border: 1px solid rgba(246,239,228,.45); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .btn.primary:hover { background: var(--amber-soft); }
  .btn.ghost:hover { background: rgba(246,239,228,.1); }
}
.btn:focus-visible { outline: 2px solid var(--amber-soft); outline-offset: 3px; }

/* ---------- tour (web-motion/templates/scroll-chapters.html, template of 2026-10-30 22:08) ---------- */
.tour { position: relative; height: 300vh; background: var(--dusk); }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(5,10,26,.62) 0%, rgba(5,10,26,.18) 38%, transparent 55%); }
.stop { position: absolute; z-index: 2; left: 5vw; top: calc(50% + 30px); width: min(440px, 38vw);
  padding: 26px 28px; border-radius: 18px;
  background: rgba(8,16,38,.66); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(246,239,228,.14);
  opacity: 0; visibility: hidden; transform: translate(0, calc(-50% + 32px)); pointer-events: none;
  transition: opacity .3s var(--ease-out), transform .45s var(--ease-out), visibility 0s .3s; }
.stop.on { opacity: var(--fade, 1); visibility: visible; transform: translate(0, calc(-50% - (1 - var(--fade, 1)) * 18px));
  pointer-events: auto; transition: opacity .45s var(--ease-out), transform .55s var(--ease-out), visibility 0s; }
.stop.fading { transition: none; }
.stop.intro { width: clamp(290px, 27vw, 350px); left: max(20px, 2.5vw); top: calc(54% + 20px); padding: 22px 22px; }   /* clear of the sign at 1280 and 1440 */
.stop.intro h1 { font-size: clamp(1.9rem, 2.7vw, 2.6rem); }
.stop.intro .lede { font-size: .95rem; }
.stop.intro .ctas .btn { flex: 1 1 auto; padding: 0 14px; }
.stop.intro .offer { padding: 8px 12px; }
.stop h1 { font-size: clamp(2.2rem, 4.4vw, 3.9rem); margin: 10px 0 12px; }
.stop h1 em, .stop h2 em { font-style: normal; color: var(--amber); }
.stop h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); margin: 8px 0 4px; }
.stop .lede { color: var(--muted); font-size: 1.05rem; max-width: 44ch; }
.stop .n { font: 500 .78rem/1 var(--mono); letter-spacing: .14em; color: var(--amber); }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.contact-line { margin-top: 12px; font: 500 .82rem/1.4 var(--mono); letter-spacing: .08em; color: var(--muted); }
.contact-line a, .offer a, .closer .or a { display: inline-block; padding-block: 13px; margin-block: -13px; }
.contact-line a { color: var(--ink); }
.stop > .btn { margin-top: 16px; }
.offers { display: grid; gap: 8px; margin-top: 14px; }
.offer { padding: 10px 14px; border-radius: 12px; background: rgba(246,239,228,.06); border: 1px solid rgba(246,239,228,.12);
  opacity: 0; transform: translateY(18px); transition: opacity .2s, transform .2s; }
.stop.on .offer { opacity: 1; transform: none; transition: opacity .45s var(--ease-out), transform .55s var(--ease-out);
  transition-delay: calc(180ms + var(--i, 0) * 80ms); }
.offer h3 { font: 600 .98rem/1.25 var(--body); letter-spacing: -.005em; }
.offer p { font-size: .88rem; color: var(--muted); margin-top: 2px; }
.offer a { color: var(--amber); font-family: var(--mono); }
.rail { position: absolute; z-index: 2; right: 3vw; top: 50%; transform: translateY(-50%); display: grid; gap: 10px; list-style: none; padding: 0;
  transition: opacity .3s var(--ease-out); }
.rail button { all: unset; cursor: pointer; display: flex; align-items: center; gap: 10px; justify-content: flex-end;
  box-sizing: border-box; width: 100%; min-width: 44px; min-height: 44px; font: 500 .76rem/1 var(--mono); letter-spacing: .1em; color: var(--muted); }
.rail button::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .8;
  transition: transform .2s var(--ease-out), opacity .2s; }
.rail button[aria-current="step"] { color: var(--ink); }
.rail button:focus-visible, .tab:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.rail button[aria-current="step"]::after { opacity: 1; transform: scale(1.4); background: var(--amber); }
.rail span { opacity: 0; transition: opacity .2s; }
.rail button:hover span, .rail button:focus-visible span { opacity: 1; }
.at-intro .rail { opacity: 0; pointer-events: none; }

@media (max-aspect-ratio: 4/5) {
  /* phones: the walk-in fills the whole screen (cover, centred on the doors); the stop card is glass over the art */
  .stage canvas { top: 0; height: 100%; }
  .tight .offer:nth-child(n+3), .tighter .offer p { display: none; }
  .stage::after { background: linear-gradient(180deg, rgba(5,10,26,.6) 0, transparent calc(var(--tag-h) + var(--head-h) + 48px),
    transparent 42%, rgba(5,10,26,.7) 100%); }
  .stop, .stop.intro { left: 12px; right: 12px; width: auto; top: auto; bottom: calc(12px + env(safe-area-inset-bottom)); padding: 16px 18px;
    transform: translateY(28px); max-height: calc(100% - var(--tag-h) - var(--head-h) - 24px); overflow: hidden;
    background: rgba(8,16,38,.62); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(246,239,228,.16); }
  .stop.on { transform: translateY(calc((1 - var(--fade, 1)) * -18px)); }
  .stop h1, .stop.intro h1 { font-size: clamp(1.8rem, 8vw, 2.4rem); margin: 6px 0 8px; }
  .stop .lede { font-size: .95rem; }
  .stop.intro .offer p { display: none; }        /* the storefront stays visible above the card */
  .ctas { margin-top: 12px; }
  .ctas .btn { flex: 1 1 140px; padding: 0 10px; white-space: nowrap; }
  .rail { right: 8px; top: calc(var(--tag-h) + var(--head-h) + 6px); transform: none; display: flex; gap: 0; }
  .rail button { width: auto; min-width: 44px; justify-content: center; }
  .rail span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
/* reduced motion: no pin, each stop shows its settled frame above the card */
.tour.still { height: auto; background: var(--night); }
.tour.still .stage { position: static; height: auto; overflow: visible; display: grid; gap: 48px; padding: calc(var(--tag-h) + var(--head-h) + 24px) 20px 48px; }
.tour.still canvas, .tour.still .stage::after, .tour.still .rail { display: none; }
.tour.still .offer { opacity: 1; transform: none; }
.tour.still .stop { position: static; opacity: 1; visibility: visible; transform: none; width: auto; max-width: 760px; margin: 0 auto; pointer-events: auto;
  background: var(--panel); }
.tour.still .stop img { display: block; width: 100%; height: auto; border-radius: 12px; margin-bottom: 16px; }

/* ---------- menu book ---------- */
.menu { --bw: min(1100px, calc(100vw - 20px)); --bh: 720px; --pi: 14px; --ps: 5px; }
.menu.overlay { position: fixed; z-index: 70; inset: var(--tag-h) 0 0 0; display: none; }
.menu.overlay.show { display: block; }
.menu-shade { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 55%, rgba(20,8,2,.78), rgba(6,3,1,.95)); opacity: 0;
  transition: opacity .7s var(--ease-out); }
.menu.show .menu-shade { opacity: 1; }
.menu-ui { position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr auto; }
.menu-bar { display: flex; align-items: center; gap: 12px; padding: 10px max(16px, env(safe-area-inset-left)); min-width: 0; }
.menu-bar, .pager { opacity: 0; transform: translateY(-8px); transition: opacity .3s var(--ease-out), transform .3s var(--ease-out); }
.menu.ready .menu-bar, .menu.ready .pager { opacity: 1; transform: none; }
.tabs-wrap { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; }
.tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; padding: 2px; scroll-behavior: smooth; }
.tabs-wrap.can-r .tabs { mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent calc(100% - 8px)); }
.tabs-wrap.can-l .tabs { mask-image: linear-gradient(90deg, transparent 8px, #000 56px); }
.tabs-wrap.can-l.can-r .tabs { mask-image: linear-gradient(90deg, transparent 8px, #000 56px, #000 calc(100% - 56px), transparent calc(100% - 8px)); }
.tabs-arrow { all: unset; cursor: pointer; position: absolute; z-index: 2; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%;
  display: none; place-items: center; background: #1d1a17; border: 1px solid var(--line); color: var(--ink); font-size: 1.1rem; }
.tabs-arrow.l { left: 0; } .tabs-arrow.r { right: 0; }
.tabs-wrap.can-l .tabs-arrow.l, .tabs-wrap.can-r .tabs-arrow.r { display: grid; }
@media (pointer: coarse) { .tabs-wrap .tabs-arrow { display: none !important; } }
.tabs::-webkit-scrollbar { display: none; }
.tab { all: unset; cursor: pointer; flex: none; font: 500 .75rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 0 9px; box-sizing: border-box; min-height: 44px; letter-spacing: .05em; display: inline-flex; align-items: center;
  border-radius: 999px; color: var(--muted); border: 1px solid transparent; transition: background-color .2s ease, color .2s ease; }
.tab[aria-selected="true"] { background: var(--menu-red); color: #fff; }
@media (hover: hover) and (pointer: fine) { .tab:hover { color: var(--ink); border-color: var(--line); } }

.menu-close { all: unset; cursor: pointer; flex: none; font: 500 .76rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 10px 14px;
  border: 1px solid var(--line); border-radius: 999px; }
.menu-close span[aria-hidden] { font-size: 1rem; margin-left: 4px; }
.menu-close:focus-visible { outline: 2px solid var(--amber); }
.book-stage { position: relative; display: grid; place-items: center; perspective: 2200px; min-height: 0; }
.book { position: relative; width: var(--bw); height: var(--bh); }
.book-inner { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.case { position: absolute; top: 0; bottom: 0; width: 50%; border-radius: 16px;
  background: radial-gradient(ellipse at 35% 22%, #3b3936 0%, #1d1c1a 45%, #0e0d0c 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), inset 0 2px 14px rgba(255,255,255,.08), inset 0 -18px 40px rgba(0,0,0,.6), 0 30px 70px rgba(0,0,0,.55); }
.case::before { content: ""; position: absolute; inset: 7px; border-radius: 11px; border: 1.5px dashed rgba(214,200,176,.28); pointer-events: none; }
.case-l { left: 0; border-radius: 16px 4px 4px 16px; }
.case-r { left: 50%; border-radius: 4px 16px 16px 4px; }
.page { position: absolute; top: var(--pi); bottom: var(--pi); }
.page-l { left: var(--pi); right: calc(50% + var(--ps)); }
.page-r { left: calc(50% + var(--ps)); right: var(--pi); }
.sleeve { position: absolute; inset: 0; border-radius: 5px; overflow: hidden; box-shadow: 0 1px 0 rgba(255,255,255,.25), 0 6px 18px rgba(0,0,0,.45);
  background:
    radial-gradient(ellipse at 18% 8%, rgba(255,255,255,.55), transparent 42%),
    radial-gradient(ellipse at 85% 75%, rgba(150,110,60,.22), transparent 55%),
    radial-gradient(ellipse at 40% 110%, rgba(120,80,40,.25), transparent 60%),
    url(../assets/paper-noise.webp) 0 0 / 96px 96px,
    var(--parch); }
.sleeve::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: 5px; border: 1px solid rgba(255,255,255,.45);
  background: linear-gradient(118deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,.04) 22%, transparent 40%, transparent 68%, rgba(255,255,255,.1) 78%, transparent 88%); }
.page-l .sleeve::before, .leaf.l .sleeve::before { content: ""; position: absolute; inset: 0 0 0 auto; width: 26px; z-index: 1; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(60,30,10,.18)); }
.page-r .sleeve::before, .leaf.r .sleeve::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 26px; z-index: 1; pointer-events: none; background: linear-gradient(270deg, transparent, rgba(60,30,10,.18)); }
.page-scroll { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; padding: 18px 20px 26px; color: var(--ink-m); container-type: inline-size;
  scrollbar-width: thin; scrollbar-color: rgba(120,70,40,.4) transparent; }
.page-scroll:focus-visible { outline: 2px solid var(--menu-red); outline-offset: -3px; }
/* cover */
.cover { position: absolute; top: 0; bottom: 0; left: 50%; width: 50%; transform-origin: 0 50%; transform-style: preserve-3d; }
.cover-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 4px 16px 16px 4px; overflow: hidden; }
.cover-front { display: grid; place-content: center; justify-items: center; text-align: center; gap: 2px;
  background: radial-gradient(ellipse at 38% 25%, #3e3c39 0%, #1e1d1b 45%, #0d0c0b 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), inset 0 2px 16px rgba(255,255,255,.1), inset 10px 0 18px rgba(0,0,0,.6), inset 0 -20px 40px rgba(0,0,0,.6); }
.cover-front::before { content: ""; position: absolute; inset: 9px; border-radius: 4px 11px 11px 4px; border: 1.5px dashed rgba(214,200,176,.3); }
.cover-coins { width: 64px; height: 64px; margin-bottom: 10px; filter: drop-shadow(0 2px 2px rgba(0,0,0,.6)); }
.cover-name { font: 700 clamp(1.8rem, 4vw, 2.8rem)/1 var(--display); background: linear-gradient(180deg, #f3e7cf, #b9a37a 60%, #e8d9b8);
  -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: .02em; }
.cover-sub { font: 500 .72rem/2 var(--mono); letter-spacing: .3em; text-transform: uppercase; color: #b9a98c; }
.cover-city { font: 600 .9rem/1 var(--display); letter-spacing: .2em; color: #8c7d65; margin-top: 8px; }
.cover-back { transform: rotateY(180deg); border-radius: 16px 4px 4px 16px;
  background: radial-gradient(ellipse at 60% 22%, #3b3936 0%, #1d1c1a 45%, #0e0d0c 100%); }
.cover-back-page { position: absolute; inset: var(--pi) var(--ps) var(--pi) var(--pi); }
.cover-back-page .sleeve, .leaf-face .sleeve { position: absolute; inset: 0; }
.leaf { position: absolute; top: var(--pi); bottom: var(--pi); display: none; transform-style: preserve-3d; z-index: 5; }
.leaf.on { display: block; }
.leaf.r { left: calc(50% + var(--ps)); right: var(--pi); transform-origin: calc(-1 * var(--ps)) 50%; }
.leaf.l { left: var(--pi); right: calc(50% + var(--ps)); transform-origin: calc(100% + var(--ps)) 50%; }
.leaf-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.leaf-face.back { transform: rotateY(180deg); }
.leaf-face .page-scroll { overflow: hidden; }
/* states: closed (cover over the right half), open (flat spread; the cover is hidden) */
.book[data-state="open"] .cover { display: none; }
.book[data-state="closed"] .case-l, .book[data-state="closed"] .page-l, .book[data-state="moving"] .case-l, .book[data-state="moving"] .page-l { visibility: hidden; }
.book[data-state="closed"] .page-r .page-scroll { overflow: hidden; }
/* single page (phones): one sleeve, the cover swings away to the left */
.book.single .case-l, .book.single .page-l, .book.single .cover-back { display: none; }
.book.single .case-r, .book.single .cover { left: 0; width: 100%; }
.book.single .page-r, .book.single .leaf.r { left: var(--pi); }
.book.single .leaf.r { transform-origin: calc(-1 * var(--pi)) 50%; }
.book.single .case-r { border-radius: 10px 16px 16px 10px; }
.pager { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 8px 16px calc(10px + env(safe-area-inset-bottom)); }
.pg-btn { all: unset; cursor: pointer; font: 500 .76rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 12px 14px; border-radius: 999px;
  border: 1px solid var(--line); }
.pg-btn[disabled] { opacity: .3; cursor: default; }
.pg-btn:focus-visible { outline: 2px solid var(--amber); }
.pg-count { font: 500 .76rem/1 var(--mono); letter-spacing: .12em; color: var(--muted); min-width: 64px; text-align: center; }
/* inline (reduced motion) */
.menu.inline { padding: 40px 0 64px; }
.menu.inline .menu-shade { display: none; }
.menu.inline .menu-ui { position: static; }
.menu.inline .menu-bar, .menu.inline .pager { opacity: 1; transform: none; }
.menu.inline .menu-close { display: none; }
.menu.inline .menu-bar { position: sticky; top: calc(var(--tag-h) + var(--head-h)); z-index: 3; background: var(--night); }

/* page content: printed-menu styling */
.banner { position: relative; display: flex; align-items: center; min-height: 52px; margin: 0 -20px 14px; padding: 8px 18px 8px 66px; color: #fff;
  font: 700 clamp(1.15rem, 5cqi, 1.65rem)/1.05 var(--display); letter-spacing: .02em; text-shadow: 0 2px 0 rgba(90,0,0,.55);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='40'%3E%3Cg fill='none' stroke='%23b0161c' stroke-width='3'%3E%3Cpath d='M3 36V4h22v22H11V12h8'/%3E%3Cpath d='M53 4v32H31V14h14v14h-8'/%3E%3C/g%3E%3C/svg%3E") 0 50% / 40px 29px repeat-x,
    linear-gradient(180deg, #e4343a, var(--menu-red) 55%, #c81b22);
  border-top: 3px solid var(--menu-red-d); border-bottom: 3px solid var(--menu-red-d); }
.banner::before { content: ""; position: absolute; left: 0; top: -3px; bottom: -3px; width: 30px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='24'%3E%3Cpath d='M3 22V3h15v12H9V9' fill='none' stroke='%23146b2d' stroke-width='3'/%3E%3C/svg%3E") 50% 50% / 30px 24px repeat-y, var(--menu-green); }
.banner svg { position: absolute; left: 18px; top: 50%; width: 42px; height: 42px; transform: translateY(-50%); filter: drop-shadow(0 2px 2px rgba(0,0,0,.45)); }
.banner-sub { display: block; font: 500 .75rem/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; text-shadow: none; opacity: .92; margin-top: 3px; }
.sect + .sect { margin-top: 22px; }
.dishes { display: grid; gap: 2px; }
.dish { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 10px; border-radius: 8px;
  transition: background-color .2s ease; position: relative; }
@media (hover: hover) and (pointer: fine) { .dish:hover { background: rgba(169,66,42,.09); } }
.dish:active { background: rgba(169,66,42,.14); }
.dish:focus-visible { outline: 2px solid var(--menu-red); outline-offset: 0; }
.dish-name { font: 700 1.02rem/1.2 var(--display); color: var(--title-m); letter-spacing: .01em; }
.dish-num { display: inline-grid; place-items: center; width: 1.5em; height: 1.5em; border-radius: 50%; border: 1.5px solid var(--title-m); font-size: .8em; margin-right: 6px; vertical-align: .05em; }
.dish-price { font: 600 .82rem/1.3 var(--body); color: var(--ink-m); text-align: right; white-space: nowrap; }
.dish-desc { grid-column: 1 / -1; font-size: .86rem; line-height: 1.45; color: #5a3d2a; }
.dish-opts { grid-column: 1 / -1; font-size: .8rem; color: var(--ink-m); }
.flags { display: inline-flex; gap: 4px; margin-left: 6px; vertical-align: .15em; }
.flag { font: 600 .75rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 3px 5px; border-radius: 3px; background: var(--ink-m); color: var(--parch); }
.flag.hot { background: var(--menu-red); color: #fff; }
.flag.lunch { background: var(--menu-green); color: #fff; }
.flag.mp { background: #6b5434; }
.dish .add { position: absolute; right: 8px; bottom: 8px; width: 26px; height: 26px; border-radius: 50%; background: var(--menu-red); color: #fff; display: grid; place-items: center;
  font: 600 1.05rem/1 var(--body); box-shadow: 0 2px 4px rgba(80,0,0,.3); }
.dish.has-add { padding-right: 44px; }
/* photo cards (house favorites, postres) */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cards .dish { grid-template-columns: 1fr auto; align-content: start; background: rgba(255,250,240,.38); border: 1px solid rgba(168,66,42,.18); padding: 10px 10px 12px; }
.cards .dish { grid-template-columns: 1fr; }
.cards .dish-price { text-align: left; }
.dish-price small, .dish-name small { font-weight: 400; font-size: .75rem; color: #6b4a33; }
.dish-tag { font-style: italic; color: var(--title-m); }
.dish-img { grid-column: 1 / -1; display: block; width: 100%; height: 130px; object-fit: contain; margin-bottom: 6px; filter: drop-shadow(0 6px 8px rgba(60,30,10,.25)); }
.list .dish-img { grid-column: auto; grid-row: span 3; width: 84px; height: 70px; margin: 0; order: -1; }
.list .dish.with-img { grid-template-columns: 84px 1fr auto; }
.list .dish.with-img .dish-desc, .list .dish.with-img .dish-opts { grid-column: 2 / -1; }
.safety { margin-top: 18px; padding-top: 10px; border-top: 1px solid rgba(168,66,42,.25); font-size: .78rem; line-height: 1.45; color: #6b4a33; }
@container (max-width: 400px) {
  .cards { grid-template-columns: 1fr; }
  .dish-img { height: 150px; }
  .list .dish.with-img { grid-template-columns: 64px 1fr auto; }
  .list .dish-img { width: 64px; height: 56px; }
}

/* ---------- sheet + drawer ---------- */
.sheet, .drawer { position: fixed; z-index: 120; inset: var(--tag-h) 0 0 0; }
.sheet[hidden], .drawer[hidden] { display: none; }
.sheet-shade { position: absolute; inset: 0; background: rgba(4,6,14,.6); opacity: 0; transition: opacity .25s ease; }
.sheet.in .sheet-shade, .drawer.in .sheet-shade { opacity: 1; }
.sheet-card { position: absolute; left: 50%; top: 50%; width: min(500px, calc(100% - 32px)); max-height: calc(100% - 48px); overflow: auto; overscroll-behavior: contain;
  background: var(--parch); color: var(--ink-m); border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.5);
  transform: translate(-50%, -50%) scale(.96); opacity: 0; transition: transform .25s var(--ease-out), opacity .2s ease; }
.sheet.in .sheet-card { transform: translate(-50%, -50%); opacity: 1; }
.sheet-card:focus { outline: none; }
.x { all: unset; cursor: pointer; position: absolute; right: 10px; top: 10px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  font-size: 1.5rem; line-height: 1; background: rgba(0,0,0,.06); z-index: 2; }
.x:focus-visible { outline: 2px solid var(--menu-red); }
.sheet-body { padding: 0 0 18px; }
.sh-img { display: block; width: 100%; height: 210px; object-fit: contain; background: radial-gradient(ellipse at 50% 60%, #fff8ea, var(--parch-d)); padding: 14px; }
.sh-pad { padding: 18px 22px 0; }
.sh-name { font: 700 1.5rem/1.15 var(--display); color: var(--title-m); padding-right: 36px; }
.sh-desc { margin-top: 6px; font-size: .95rem; color: #4d3322; }
.sh-note { margin-top: 10px; font-size: .78rem; line-height: 1.45; padding: 8px 10px; border-radius: 8px; background: rgba(168,66,42,.1); color: #6b3a22; }
.sh-note.lunch { background: rgba(31,138,62,.12); color: #1b5a2d; }
fieldset { border: 0; padding: 0; margin-top: 16px; }
legend { font: 500 .75rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #7a5a40; margin-bottom: 8px; }
.opt-list { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt span { display: inline-flex; gap: 8px; align-items: center; min-height: 42px; padding: 8px 14px; border-radius: 10px; border: 1.5px solid rgba(90,61,42,.3);
  font-size: .9rem; background: rgba(255,255,255,.35); transition: background-color .15s ease, border-color .15s ease; }
.opt span b { font-weight: 600; color: var(--title-m); }
.opt input:checked + span { border-color: var(--menu-red); background: #fff; box-shadow: inset 0 0 0 1px var(--menu-red); }
.opt input:focus-visible + span { outline: 2px solid var(--menu-red); outline-offset: 2px; }
.sh-foot { display: flex; align-items: center; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid rgba(90,61,42,.3); border-radius: 999px; }
.qty button { all: unset; cursor: pointer; width: 42px; height: 42px; display: grid; place-items: center; font-size: 1.2rem; border-radius: 50%; }
.qty button:focus-visible { outline: 2px solid var(--menu-red); }
.qty output { min-width: 24px; text-align: center; font-weight: 600; }
.sh-foot .btn { flex: 1; background: var(--menu-red); color: #fff; }
.sh-foot .btn:disabled { opacity: .5; }
@media (hover: hover) and (pointer: fine) { .sh-foot .btn:hover { background: #b9161c; } }
.drawer-card { position: absolute; right: 0; top: 0; bottom: 0; width: min(420px, 100%); background: #fbf5ea; color: var(--ink-m); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .3s var(--ease-drawer); box-shadow: -20px 0 60px rgba(0,0,0,.35); }
.drawer.in .drawer-card { transform: none; }
.drawer-card:focus { outline: none; }
.drawer-head { position: relative; padding: 20px 22px 14px; border-bottom: 1px solid rgba(90,61,42,.15); }
.drawer-head h2 { font-size: 1.5rem; color: var(--title-m); }
.drawer-body { flex: 1; overflow: auto; padding: 8px 22px 24px; display: flex; flex-direction: column; }
.line { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding: 14px 0; border-bottom: 1px solid rgba(90,61,42,.12); }
.line h3 { font: 700 .98rem/1.2 var(--display); color: var(--title-m); }
.line p { font-size: .8rem; color: #6b4a33; grid-column: 1; }
.line .amt { font-weight: 600; }
.line .qty { grid-column: 1; justify-self: start; transform: scale(.88); transform-origin: left; }
.line .rm { all: unset; cursor: pointer; font: 500 .75rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #8a4a2e; align-self: center; padding: 10px 0; }
.line .rm:focus-visible { outline: 2px solid var(--menu-red); }
.totals { margin-top: auto; padding-top: 16px; }
.totals p { display: flex; justify-content: space-between; font-weight: 600; font-size: 1.05rem; }
.totals small { display: block; font-size: .76rem; color: #6b4a33; margin: 4px 0 14px; }
.totals .btn { width: 100%; background: var(--menu-red); color: #fff; }
.empty { margin: 30px 0; color: #6b4a33; }
.empty .btn { margin-top: 14px; background: var(--menu-red); color: #fff; }
.checkout { text-align: center; padding: 26px 4px; }
.checkout svg { width: 56px; height: 56px; }
.checkout h3 { font: 700 1.35rem/1.2 var(--display); color: var(--title-m); margin: 12px 0 8px; }
.checkout p { color: #4d3322; font-size: .95rem; }
.checkout .btn { margin-top: 18px; width: 100%; background: var(--menu-red); color: #fff; }
.checkout .link { display: inline-block; margin-top: 12px; color: #6b3a22; font-size: .85rem; background: none; border: 0; cursor: pointer; text-decoration: underline; padding: 8px; }
@media (max-width: 760px) {
  .sheet-card { left: 0; right: 0; top: auto; bottom: 0; width: 100%; max-height: 88%; border-radius: 18px 18px 0 0; transform: translateY(40px); }
  .sheet.in .sheet-card { transform: none; }
  .sh-img { height: 170px; }
  .sheet-body { padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
}
.toast { position: fixed; z-index: 150; left: 50%; top: calc(var(--tag-h) + 12px); transform: translate(-50%, -12px); opacity: 0; pointer-events: none;
  background: #1b1410; color: var(--ink); padding: 12px 18px; border-radius: 999px; font-size: .9rem; box-shadow: 0 10px 30px rgba(0,0,0,.4);
  transition: opacity .2s ease, transform .25s var(--ease-out); max-width: calc(100% - 32px); text-align: center; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- sections below the tour ---------- */
.bar-moment, .lunch, .visit, .reviews, .closer { padding-block: clamp(72px, 12vh, 128px); }
.bar-moment { background: radial-gradient(ellipse at 20% 50%, rgba(243,166,74,.16), transparent 55%), var(--night); }
.bar-grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 6vw, 72px); align-items: center; }
.marg { width: clamp(180px, 22vw, 260px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 0 0 10px rgba(243,166,74,.06), 0 30px 60px rgba(0,0,0,.5); }
.marg img { width: 100%; height: 100%; object-fit: cover; }
.bar-grid h2 { margin: 10px 0 12px; }
.bar-grid p:not(.kicker) { color: var(--muted); max-width: 52ch; }
.bar-list { list-style: none; padding: 0; margin: 18px 0 0; max-width: 52ch; }
.bar-list li { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.bar-list b { color: var(--ink); font-weight: 600; margin-right: 6px; }
.bar-list em { font-style: normal; font-family: var(--mono); color: var(--amber); margin-left: 6px; }
.bar-note { margin-top: 14px; font: 500 .78rem/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--amber) !important; }
.lunch { background: linear-gradient(180deg, #11100d, #1a120c); border-block: 1px solid var(--line); }
.lunch-head h2 { margin-top: 10px; max-width: 18ch; }
.lunch-list { list-style: none; padding: 0; margin: 36px 0 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; }
.lunch-list li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line); }
.lunch-list .num { font: 500 .76rem/1 var(--mono); color: var(--amber); }
.lunch-list .nm { font: 600 1rem/1.25 var(--display); }
.lunch-list .pr { font: 500 .85rem/1 var(--mono); color: var(--muted); }
.visit-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.visit h2 { margin: 10px 0 16px; }
address { font-style: normal; font-size: 1.15rem; color: var(--muted); }
.visit-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 22px; }
.link { display: inline-block; font: 500 .78rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); text-underline-offset: 4px; padding: 16px 0; }
.hours { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.hours h3 { font: 700 1.2rem/1 var(--display); margin-bottom: 14px; }
.hours p + p { margin-top: 12px; color: var(--muted); font-size: .95rem; }
.reviews { background: var(--panel); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.reviews h2 { margin: 10px 0 8px; }
.review { margin: 0; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: rgba(246,239,228,.04); display: grid; gap: 14px; align-content: space-between; }
.review blockquote { font-size: 1.08rem; line-height: 1.5; }
.review figcaption { font: 500 .78rem/1.4 var(--mono); letter-spacing: .08em; color: var(--amber); }
.rv-lang { display: block; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; margin-top: 4px; }
.hours-list { display: grid; gap: 10px; }
.hours-list div { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.hours-list dt { color: var(--muted); }
.hours-list dd { margin: 0; font-family: var(--mono); font-size: .9rem; }
.pills { position: fixed; z-index: 90; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); transform: translateX(-50%);
  display: flex; gap: 10px; align-items: center; justify-content: center; pointer-events: none; width: max-content; max-width: calc(100vw - 24px); }
.pill { pointer-events: auto; }
.resume { all: unset; box-sizing: border-box; cursor: pointer; min-height: 48px; padding: 0 20px; border-radius: 999px; display: inline-flex; align-items: center; gap: 10px;
  background: #151413; color: var(--ink); border: 1px solid rgba(214,200,176,.35); box-shadow: 0 12px 32px rgba(0,0,0,.45);
  font: 500 .78rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
  transition: transform .16s var(--ease-out), opacity .25s ease; }
.resume::before { content: ""; width: 14px; height: 18px; border-radius: 2px 4px 4px 2px; background: #2c2a27; box-shadow: inset 2px 0 0 #000, 0 0 0 1px rgba(214,200,176,.4); }
.resume[hidden] { display: none; }
.resume:active, .drinks-pill:active { transform: scale(.97); }
.drinks-pill { all: unset; box-sizing: border-box; cursor: pointer; min-height: 48px; padding: 0 18px 0 14px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px;
  background: #0f3a26; color: #fbe3a9; border: 1px solid rgba(243,166,74,.55); box-shadow: 0 12px 32px rgba(0,0,0,.45);
  font: 500 .78rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; transition: transform .16s var(--ease-out); }
.drinks-pill svg { width: 22px; height: 22px; color: var(--amber); }
.drinks-pill[hidden] { display: none; }
.drinks-pill:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
@media (max-width: 560px) { .pills { flex-direction: column; gap: 8px; } }
/* ---------- drink card: tall laminated table tent, dark green and amber ---------- */
.drinks { position: fixed; z-index: 75; inset: var(--tag-h) 0 0 0; }
.drinks[hidden] { display: none; }
.drinks-shade { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 60%, rgba(4,16,10,.62), rgba(2,6,4,.88)); opacity: 0; transition: opacity .35s ease; }
.drinks.in .drinks-shade { opacity: 1; }
.drinks-stage { position: absolute; inset: 0; display: grid; place-items: center; padding: 16px 12px 150px; pointer-events: none; }
.tent { pointer-events: auto; position: relative; width: min(420px, 100%); height: min(760px, 100%); border-radius: 22px 22px 18px 18px; overflow: hidden;
  background: radial-gradient(ellipse at 30% 0%, #1d5a3b 0%, #0f3a26 45%, #0a2a1b 100%); color: #f3ead6;
  border: 2px solid rgba(243,166,74,.6); box-shadow: inset 0 0 0 6px #0b2c1d, inset 0 0 0 7px rgba(243,166,74,.35), 0 30px 70px rgba(0,0,0,.6); }
.tent:focus { outline: none; }
.tent::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;   /* laminate sheen */
  background: linear-gradient(115deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.03) 24%, transparent 42%, transparent 70%, rgba(255,255,255,.07) 80%, transparent 90%); }
.tent-fold { height: 14px; background: linear-gradient(180deg, rgba(0,0,0,.45), transparent); border-bottom: 1px dashed rgba(243,166,74,.3); }
.tent-x { background: rgba(255,255,255,.08); color: #f3ead6; top: 18px; }
.tent-x:focus-visible { outline: 2px solid var(--amber); }
.tent-scroll { position: absolute; inset: 14px 0 0 0; overflow-y: auto; overscroll-behavior: contain; padding: 18px 20px 28px; scrollbar-width: thin; scrollbar-color: rgba(243,166,74,.4) transparent; }
.tent-head { text-align: center; padding: 6px 30px 14px; border-bottom: 1px solid rgba(243,166,74,.3); }
.tent-head .glass { width: 40px; height: 40px; color: var(--amber); }
.tent-head h2 { font-size: 1.7rem; color: var(--amber); margin-top: 6px; }
.tent-head p { font: 500 .75rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(243,234,214,.75); margin-top: 6px; }
.tent-sect { margin-top: 18px; }
.tent-sect h3 { font: 700 1.15rem/1.2 var(--display); color: #fbe3a9; letter-spacing: .03em; padding-bottom: 6px; border-bottom: 1px solid rgba(243,166,74,.25); }
.tent-sect h3 span { display: block; font: 500 .75rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--amber); margin-top: 3px; }
.tent .dish:focus-visible { outline-color: var(--amber); }
.tent .dish-name { color: #fbe3a9; }
.tent .dish-desc, .tent .dish-opts, .tent .dish-price, .tent .dish-price small { color: rgba(243,234,214,.82); }
.tent .dish .add { background: var(--amber); color: #1c1003; }
.tent .list .dish-img { border-radius: 50%; object-fit: cover; width: 64px; height: 64px; }
.tent .list .dish.with-img { grid-template-columns: 64px 1fr auto; }
@media (hover: hover) and (pointer: fine) { .tent .dish:hover { background: rgba(243,166,74,.1); } }
.resume:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.dragging { user-select: none; -webkit-user-select: none; }   /* cascades; no universal selector, so toggling it doesn't restyle every page node */
.drinks-stage { touch-action: none; }
.book-stage { touch-action: none; }   /* the book handles every touch itself: turns, scroll with momentum, put away */
.closer { text-align: center; background: radial-gradient(ellipse at 50% 100%, rgba(155,11,16,.35), transparent 60%), var(--night); }
.closer h2 { font-size: clamp(2rem, 5vw, 3.6rem); margin-bottom: 24px; }
.closer .or { margin-top: 16px; color: var(--muted); }
.closer .or a { color: var(--amber); font-family: var(--mono); }
.foot { padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.foot-grid { display: grid; gap: 10px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0 18px; }
.foot-links a { display: inline-block; padding-block: 12px; }
.foot-brand { display: flex; align-items: center; gap: 10px; font: 700 1.05rem/1 var(--display); color: var(--ink); }
.foot-brand svg { width: 28px; height: 28px; }
.foot .fine { font-size: .76rem; max-width: 90ch; }
section[id] { scroll-margin-top: calc(var(--tag-h) + var(--head-h)); }

@media (max-width: 900px) {
  .lunch-list { grid-template-columns: 1fr 1fr; }
  .visit-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --head-h: 56px; }
  .hide-s { display: none; }
  .brand-name small { display: none; }
  .brand-coins { width: 30px; height: 30px; }
  .nav-link { padding: 16px 8px; }
  .top { gap: 8px; padding-inline: 14px; }
  .bar-grid { grid-template-columns: 1fr; justify-items: start; }
  .lunch-list { grid-template-columns: 1fr; }
  .menu-close .lbl-long { display: none; }
  .menu-bar { flex-wrap: wrap; row-gap: 6px; padding-top: 8px; padding-bottom: 4px; }
  .menu-bar .lang { margin-left: auto; }
  .tabs-wrap { order: 2; flex: 1 0 100%; }
  .ctas .btn { letter-spacing: .04em; font-size: .76rem; }
}
@media (max-width: 380px) { .brand-name { font-size: 1rem; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
.pills .pill { pointer-events: auto; }   /* all:unset on the pills would otherwise inherit pointer-events:none from .pills */

.page-scroll, .leaf-face { contain: layout paint style; }   /* a turn only lays out the pages it touches */
.leaf { pointer-events: none; }   /* a swipe that starts during a turn lands on the real page underneath */
.page.pane-off { visibility: hidden; pointer-events: none; }
.page.turning { backface-visibility: hidden; -webkit-backface-visibility: hidden; pointer-events: none; }
.page-r.turning { transform-origin: calc(-1 * var(--ps)) 50%; }               /* spine side */
.page-l.turning { transform-origin: calc(100% + var(--ps)) 50%; }
.book.single .page-r.turning { transform-origin: calc(-1 * var(--pi)) 50%; }
.book img, .tent img { -webkit-user-drag: none; user-select: none; }
/* phones: pages are always narrow, so skip container queries there (they add layout passes on every turn) */
.book.single .page-scroll { container-type: normal; }
.book.single .cards { grid-template-columns: 1fr; }
.book.single .dish-img { height: 150px; }
.book.single .list .dish.with-img { grid-template-columns: 64px 1fr auto; }
.book.single .list .dish-img { width: 64px; height: 56px; }
.book.single .banner { font-size: 1.3rem; }

/* ---------- lower sections: real art behind each, darkened by an overlay element (the art itself is never tinted) ---------- */
.lower { position: relative; overflow: hidden; isolation: isolate; }
.lower > .wrap { position: relative; z-index: 1; }
.lower::before { content: ""; position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: 8px;   /* thin printed-menu band: green flag, red fret */
  background: linear-gradient(90deg, var(--menu-green) 0 18%, transparent 18%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='8'%3E%3Cpath d='M1 7V1h10v4H5' fill='none' stroke='%23a5151a' stroke-width='1.6'/%3E%3C/svg%3E") 0 0 / 28px 8px repeat-x,
    var(--menu-red); }
.sec-art { position: absolute; inset: 0; z-index: 0; }
.sec-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sec-art::after { content: ""; position: absolute; inset: 0; }
.sec-art.shade-l::after { background: linear-gradient(90deg, rgba(8,10,20,.94) 0%, rgba(8,10,20,.82) 45%, rgba(8,10,20,.45) 100%); }
.sec-art.shade-full::after { background: linear-gradient(180deg, rgba(10,8,8,.86), rgba(10,8,8,.92)); }
.bar-moment, .lunch, .visit, .reviews { background: var(--night); }
.lunch { border-block: 0; }
.lunch .wrap { position: relative; }
.lunch-plate { position: absolute; right: 0; top: -12px; width: clamp(180px, 26vw, 340px); height: auto; filter: drop-shadow(0 18px 28px rgba(0,0,0,.6)); pointer-events: none; }
.lunch-list li { border-bottom-color: rgba(246,239,228,.18); }
.visit .hours { background: rgba(10,18,40,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.review { background: rgba(20,14,10,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.closer-plates { display: flex; justify-content: center; align-items: flex-end; gap: clamp(8px, 2vw, 24px); margin-bottom: 18px; }
.closer-plates img { width: clamp(90px, 16vw, 200px); height: auto; filter: drop-shadow(0 14px 22px rgba(0,0,0,.6)); }
.closer-plates img:nth-child(2) { width: clamp(110px, 20vw, 240px); }
@media (max-width: 760px) {
  .lunch-plate { position: static; display: block; width: 72%; max-width: 300px; margin: 0 0 12px auto; }
  .sec-art.shade-l::after { background: linear-gradient(180deg, rgba(8,10,20,.8) 0%, rgba(8,10,20,.9) 100%); }
  .visit .sec-art.shade-l::after { background: linear-gradient(180deg, rgba(8,10,20,.9) 0%, rgba(8,10,20,.94) 100%); }   /* the sign behind the address stays quiet */
}
.menu.inline .menu-bar .js-lang, .menu.inline .menu-bar .js-cart { display: none; }   /* reduced motion: the sticky site header already has them */
.pg-btn, .menu-close { min-height: 44px; display: inline-flex; align-items: center; box-sizing: border-box; }   /* 44px targets in the open book */
.tabs-arrow { width: 44px; height: 44px; margin-top: -22px; }
/* below the fold: skip layout and paint until near the viewport (first layout covers the tour only) */
.lower, .foot { content-visibility: auto; contain-intrinsic-size: auto 900px; }
.foot { contain-intrinsic-size: auto 320px; }
