/* ==================================================================
   Bar & kitchen menu (menu.html). Shares events.css's panels; this file
   adds the menu itself. A printed-menu grammar on the site's dark ground:
   name · dotted leader · price, prices in Lincoln yellow (the one number
   you're scanning for), descriptions dim beneath. Categories aren't
   colour-coded — ten hues would be noise; the tabs and headings carry them.
   ================================================================== */

/* ---- the page's background: Topography (js/topography.js) --------------------------
   Contour lines drifting behind everything, in the site's own colours — felt green low,
   the lamps' amber mid, chalk on the ridges — faint enough that prices always read.
   It fades in once running; without WebGL 2 the page keeps its plain dark ground. */
.m-topo { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 1.4s ease; }
html.has-topo .m-topo { opacity: 1; }

/* ---- hero: the reel's own bar shot ------------------------------------------- */

.m-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 78vh; min-height: 78svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--nav-h) + 48px) var(--pad) clamp(56px, 9vh, 96px);
  background: var(--ink) url('../shots/bar/key.webp') center 40% / cover no-repeat;
}
.m-hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to top, rgba(8, 9, 10, .97) 4%, rgba(8, 9, 10, .55) 45%, rgba(8, 9, 10, .25)),
    linear-gradient(to left, rgba(8, 9, 10, .7), rgba(8, 9, 10, 0) 60%);
}
.m-hero__copy { position: relative; z-index: 1; max-width: 900px; }
.m-hero .display { max-width: 12ch; text-shadow: 0 10px 60px rgba(0, 0, 0, .7); }
.m-hero .lede { color: var(--chalk); text-shadow: 0 1px 16px rgba(0, 0, 0, .8); }
.m-lang {
  position: absolute; z-index: 2; top: calc(var(--nav-h) + 20px); inset-inline-end: var(--pad);
}

/* ---- the sticky category tabs ------------------------------------------------------ */

.m-tabs {
  position: sticky; top: var(--nav-h); z-index: 30;
  margin: 0 0 clamp(24px, 4vw, 48px);
  background: rgba(8, 9, 10, .88);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-block: 1px solid var(--line);
}
/* the aurora behind the chips: kitchen warm, bar green, trays gold (js/menu.js) */
.m-tabs { overflow: hidden; }
.m-tabs__aurora { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .85; }
.m-tabs__aurora canvas { display: block; width: 100%; height: 100%; }
.m-tabs ol { position: relative; z-index: 1; }
.m-tabs a { text-shadow: 0 1px 8px rgba(8, 9, 10, .8); }
.m-tabs a[aria-current] { text-shadow: none; }

.m-tabs ol {
  list-style: none; margin: 0 auto; padding: 10px var(--pad);
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  max-width: 1400px;
}
.m-tabs ol::-webkit-scrollbar { display: none; }
.m-tabs a {
  display: inline-flex; align-items: center; white-space: nowrap;
  min-height: 38px; padding: 6px 16px; border-radius: 999px;
  border: 1px solid transparent; color: var(--dim); text-decoration: none; font-weight: 700; font-size: 15px;
  transition: color .25s ease, border-color .25s ease, background-color .25s ease;
}
.m-tabs a:hover { color: var(--chalk); }
.m-tabs a[aria-current] { color: #111; background: var(--yellow); }

/* ---- groups and categories ----------------------------------------------------------- */

.m-group { scroll-margin-top: calc(var(--nav-h) + 72px); }
.m-cat { scroll-margin-top: calc(var(--nav-h) + 72px); padding-block: clamp(18px, 3vw, 32px); border-top: 1px solid var(--line); }
.m-cat:first-of-type { border-top: 0; padding-top: 0; }
.m-cat__title {
  margin: 0 0 18px;
  font-family: var(--display); font-weight: 700; font-size: clamp(36px, 4vw, 60px); line-height: .95;
}
[lang="en"] .m-cat__title, [lang="en"] .section-head .display { font-family: var(--display); letter-spacing: .01em; }

/* item list: two columns on wide screens */
.mi-list { list-style: none; margin: 0; padding: 0; columns: 2 380px; column-gap: clamp(28px, 4vw, 64px); }
.mi { break-inside: avoid; padding-block: 10px; }
.mi__row { display: flex; align-items: baseline; gap: 10px; margin: 0; font-size: clamp(16px, 1.2vw, 18px); font-weight: 700; }
.mi__name { flex: 0 1 auto; }
.mi__dots { flex: 1 1 24px; min-width: 24px; border-bottom: 2px dotted rgba(245, 242, 234, .22); transform: translateY(-4px); }
.mi__price, .mi__prices { flex: none; color: var(--yellow); font-weight: 800; }
.mi__prices { display: inline-grid; grid-template-columns: 3.2em 3.2em; text-align: center; }
.mi__na { color: var(--dim); font-weight: 400; }
.mi__desc, .mi__side { margin: 4px 0 0; font-size: 14px; line-height: 1.5; color: var(--dim); }
.mi__side { color: #c9cfc9; }
.mi__tag { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; border: 1px solid rgba(245, 242, 234, .3); color: var(--chalk); }

/* price columns (chaser / shot, glass / bottle): two halves side by side, each with its own
   header above the price columns */
.mi-halves { display: grid; gap: 0 clamp(28px, 4vw, 64px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.mi-list--cols { columns: 1; }
.mi-cols { display: flex; justify-content: flex-end; margin: 0 0 2px; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.mi-cols .mi__prices { color: var(--dim); font-weight: 700; }

.mi-groups { display: grid; gap: 12px clamp(28px, 4vw, 64px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.mi-group__title { margin: 0 0 4px; font-size: 14px; font-weight: 700; letter-spacing: .08em; color: var(--dim); }
.mi-groups .mi-list { columns: 1; }

.mi-box, .mi-deal {
  margin-top: 18px; padding: 16px 20px; border-radius: 12px;
  border: 1px solid rgba(255, 204, 26, .28); background: rgba(255, 204, 26, .06);
}
.mi-box h4 { margin: 0 0 4px; font-size: 15px; color: var(--yellow); }
.mi-box .mi-list { columns: 2 260px; }
.mi-deal__title { margin: 0 0 6px; font-weight: 800; color: var(--yellow); }
.mi-deal p:last-child { margin: 0; color: #dde1dc; font-size: 15px; }

/* cocktails: cards */
.mc-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.mc { padding: 20px; border-radius: 14px; border: 1px solid var(--line); background: rgba(8, 9, 10, .5); }
.mc__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 8px; }
.mc__name { font-family: var(--display); font-weight: 700; font-size: 34px; line-height: .95; }
.mc__price { color: var(--yellow); font-weight: 800; font-size: 18px; }
.mc__tag { margin: 0 0 6px; font-size: 12px; font-weight: 700; color: #9fe0b5; }
.mc__desc { margin: 0; font-size: 14px; line-height: 1.55; color: var(--dim); }

/* chaser trays: two tiers, like the events page's packages */
.m-tiers { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.m-tier { padding: 28px 26px; border-radius: 14px; border: 1px solid var(--line); background: rgba(8, 9, 10, .55); }
.m-tier--hot { border-color: rgba(255, 204, 26, .55); box-shadow: 0 30px 80px -40px rgba(255, 204, 26, .45); }
/* with BorderGlow on (js/menu.js): the card is the glow's, the padding moves inside it */
.m-tier.border-glow-card { padding: 0; }
.m-tier.border-glow-card > .border-glow-inner { display: block; padding: 28px 26px; overflow: visible; }
.m-tier--hot.border-glow-card { border-color: rgba(255, 204, 26, .45); }
.m-tier__label { margin: 0; font-size: 14px; font-weight: 700; color: var(--dim); }
.m-tier__name { margin: 2px 0 14px; font-family: var(--display); font-weight: 700; font-size: clamp(54px, 5vw, 76px); line-height: .9; color: var(--yellow); text-align: start; }
.m-tier__list { margin: 0 0 18px; color: #dde1dc; line-height: 1.7; }
.m-tier__sizes { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px dashed var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; text-align: center; }
.m-tier__sizes li { display: grid; gap: 2px; }
.m-tier__sizes strong { font-family: var(--display); font-size: 48px; line-height: .9; }
.m-tier__sizes span { font-size: 13px; color: var(--dim); }
.m-tier__sizes em { font-style: normal; font-weight: 800; color: var(--yellow); font-size: 18px; }

.m-warning {
  margin: clamp(22px, 3vw, 32px) 0 0; padding: 12px 16px; border-radius: 10px;
  border: 1px solid rgba(245, 242, 234, .5); font-weight: 800; font-size: 15px; text-align: center;
}

@media (max-width: 760px) {
  .mi-list, .mi-box .mi-list { columns: 1; }
  .m-hero { min-height: 64svh; }
}
