/* SS Bucket Biryani website: the Menu, and the dish pieces the Branch pages share. Loaded after
   site.css, whose tokens, header, footer and motion it uses. Not in the Figma: made of the site's own
   pieces.

   This is the design canvas's menu.css, rule for rule, with what the site does differently:
   - each region's menu is a page of its own (/menu/dubai, /menu/chennai-coimbatore), so nothing here
     picks one region out of two;
   - a branch chosen in "What's on today at" shows its line and hides the dishes it doesn't sell
     through the script's hidden attribute, not a rule for each branch;
   - no "Sold out today" marks yet: they come with the platform's live stock (the design has them).

   A dish with a photo is a card; a dish without one is a line of the list under the cards, so a
   menu with few photos is still a whole menu. --u is one pixel at 1512 px: 1px from 1512 px up, less
   below, so the opening keeps its proportions as the window narrows. The screen-size rules are
   container queries on .page, as everywhere on the site. */

.menu-page, .branch-page {
  --panel: #FBE4C2;
  --ink-copy: #3B0A0D;
  --ink-quiet: #6A4640;      /* a hint: 7:1 on white, 6.3:1 on cream */
  --gold-light: #F2C46B;
  --dark: #2A0508;
  --veg: #1C7430;            /* 5.7:1 on white */
  --nonveg: #7B3F00;         /* 8.6:1 on white */
  --rule: rgba(126, 13, 18, .18);
  --art: radial-gradient(84% 78% at 50% 104%, #C00B1E 0%, #8A0C15 46%, #5C0609 100%);
}
:is(.menu-page, .branch-page) main { --u: min(1px, calc(100cqw / 1512)); }
:where(.menu-page, .branch-page) :where(ol, dl, dd, table) { margin: 0; padding: 0; list-style: none; }
:is(.menu-page, .branch-page) [hidden] { display: none !important; }

/* ---------- Shared pieces ---------- */
.mn-eyebrow { font-family: var(--font-serif); font-size: 12px; line-height: 18px; letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.mn-eyebrow--cream { color: var(--cream); }
.mn-eyebrow--gold { color: var(--gold-light); }
.mn-wrap { width: calc(1180 * var(--u)); margin-inline: auto; }
.mn-link { font-weight: 600; color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.mn-link:hover { color: var(--maroon); }
/* a state said in words, with a dot that is full when open and a ring when not */
.mn-dot { flex: none; width: 10px; height: 10px; border: 2px solid currentColor; border-radius: 50%; }
[data-state="open"] > .mn-dot { background: currentColor; }
.mn-status { display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 18px; }
.mn-status b { font-weight: 600; }

/* ---------- 1. The opening: the bucket list, laid on a table ---------- */
.mn-hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(182 * var(--u)) var(--gutter) 0; background: radial-gradient(70% 62% at 50% 112%, #7E0D12 0%, rgba(126, 13, 18, 0) 72%), var(--red); color: var(--cream); }
.mn-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) calc(440 * var(--u)); column-gap: calc(80 * var(--u)); align-items: start; width: calc(1180 * var(--u)); margin-inline: auto; }
.mn-hero__title { margin-top: 12px; font-family: var(--font-condensed); font-weight: 400; font-size: max(64px, calc(164 * var(--u))); line-height: .86; text-transform: uppercase; }
.mn-hero__title em { font-style: normal; color: var(--dark); }
.mn-hero__text { max-width: 500px; margin-top: 22px; font-size: 16px; line-height: 26px; }
/* where you eat decides the dishes and the prices: a cream card, so the choice is the lightest thing on the red */
.mn-where { margin-top: calc(26 * var(--u)); padding: 24px 24px 22px; border-radius: 26px; background: var(--cream); color: var(--ink-copy); box-shadow: 0 26px 44px rgba(60, 0, 0, .3); }
.mn-where__label { font-family: var(--font-serif); font-weight: 400; font-size: 12px; line-height: 18px; letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.mn-region { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 12px; padding: 6px; border-radius: 22px; background: var(--panel); }
.mn-region__pick { position: relative; display: grid; align-content: center; gap: 3px; min-height: 76px; padding: 12px 34px 12px 16px; border-radius: 16px; color: var(--maroon); transition: background-color .3s var(--tap), color .3s var(--tap), box-shadow .3s var(--tap); }
.mn-region__pick b { font-family: var(--font-condensed); font-weight: 400; font-size: 27px; line-height: .96; letter-spacing: .01em; text-transform: uppercase; }
.mn-region__pick > span:not(.mn-region__tick) { font-size: 13px; line-height: 17px; }
.mn-region__pick:hover { background: rgba(126, 13, 18, .08); }
.mn-region__pick[aria-current="page"] { background: var(--maroon); color: var(--cream); box-shadow: 0 8px 16px rgba(89, 6, 8, .28); }
/* the chosen one also carries a tick, so the choice doesn't rest on colour */
.mn-region__tick { position: absolute; right: 11px; top: 11px; display: none; width: 20px; height: 20px; place-items: center; border-radius: 50%; background: var(--gold-light); color: var(--maroon-deep); font-size: 13px; }
.mn-region__tick .icon { stroke-width: 3; }
.mn-region__pick[aria-current="page"] .mn-region__tick { display: grid; }
.mn-where__note { margin-top: 14px; font-size: 13.5px; line-height: 20px; }
/* five dishes stand on the table edge, the checker strip that closes the red openings of Careers and the FAQ */
.mn-table { position: relative; height: calc(268 * var(--u)); margin: calc(8 * var(--u)) calc(var(--gutter) * -1) 0; }
.mn-table__dish { position: absolute; bottom: 10px; max-width: none; filter: drop-shadow(0 16px 12px rgba(40, 0, 0, .5)); }
.mn-table__dish--1 { left: calc(50% - 720 * var(--u)); width: calc(262 * var(--u)); }
.mn-table__dish--2 { left: calc(50% - 444 * var(--u)); width: calc(208 * var(--u)); bottom: 4px; }
/* India's plate in the box's place: a plate lies wider and lower */
.mn-table__dish--plate { left: calc(50% - 470 * var(--u)); width: calc(250 * var(--u)); bottom: 12px; }
.mn-table__dish--3 { left: calc(50% - 178 * var(--u)); width: calc(356 * var(--u)); bottom: 0; }
.mn-table__dish--4 { left: calc(50% + 196 * var(--u)); width: calc(292 * var(--u)); bottom: 2px; }
.mn-table__dish--5 { left: calc(50% + 486 * var(--u)); width: calc(250 * var(--u)); }
.mn-check { position: relative; display: flex; overflow: hidden; height: 24px; margin-inline: calc(var(--gutter) * -1); }
.mn-check img { flex: none; width: auto; max-width: none; height: 100% !important; }

/* ---------- 2. The bar of sections: it stays as the list scrolls, under the header when that is in sight ---------- */
.mn-bar { position: sticky; top: 0; z-index: 10; padding: 14px var(--gutter) 0; transition: top .3s var(--ease-in-out); }
.site-header:not([data-hidden]) ~ main .mn-bar { top: calc(clamp(12px, 2.4cqw, 36px) + 56px); }
.mn-bar__inner { display: flex; align-items: center; gap: 8px; width: calc(1180 * var(--u)); min-height: 60px; margin-inline: auto; padding: 6px 8px; border-radius: var(--radius-md); background: var(--white); box-shadow: 0 0 0 1.6px rgba(126, 13, 18, .12), 0 12px 26px rgba(89, 6, 8, .14); }
.mn-cats { position: relative; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.mn-cats::-webkit-scrollbar { display: none; }
/* the fade at its end says the bar holds more than it shows; where everything fits (Dubai's sections on
   a computer) it falls on the empty end of the bar */
.mn-cats { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); }
.mn-cats ul { padding-right: 28px; }
.mn-cats ul { display: flex; gap: 2px; width: max-content; }
.mn-cats a { display: flex; align-items: center; min-height: 48px; padding: 0 15px; border-radius: 12px; font-weight: 500; font-size: 15px; line-height: 20px; white-space: nowrap; color: var(--maroon); transition: background-color .3s var(--tap), color .3s var(--tap); }
.mn-cats a:hover { background: rgba(126, 13, 18, .08); }
.mn-cats a[aria-current="true"] { background: var(--maroon); color: var(--cream); }
.mn-cats a:focus-visible { outline-offset: -3px; box-shadow: none; }
/* a filter that is on says so here too, where it can be taken off from anywhere down the list */
.mn-bar__filter { display: flex; flex: none; align-items: center; gap: 8px; min-height: 48px; padding: 0 14px 0 16px; border-radius: 12px; background: var(--veg); font-weight: 600; font-size: 14px; line-height: 18px; color: var(--white); }
.mn-bar__filter .icon { font-size: 15px; stroke-width: 2.6; }

/* the list's tools: find a dish, vegetarian only, a branch's menu of today, and what the marks mean */
.mn-tools { padding: 26px var(--gutter) 0; }
.mn-tools__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.mn-find { display: flex; flex: 0 1 300px; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; border: 1.6px solid #E3C493; border-radius: var(--radius-pill); background: var(--white); color: var(--maroon); cursor: text; }
.mn-find .icon { font-size: 16px; }
.mn-find input { flex: 1; min-width: 0; height: 44px; padding: 0; border: 0; background: none; font: inherit; font-size: 15px; color: var(--maroon-deep); outline: none; }
.mn-find input::placeholder { color: #6F5A52; opacity: 1; }
.mn-find input::-webkit-search-cancel-button { -webkit-appearance: none; }
.mn-find:focus-within { border-color: var(--maroon); outline: 3px solid var(--gold-solid); outline-offset: 2px; box-shadow: 0 0 0 5px var(--maroon-ink); }
.mn-veg { position: relative; display: flex; flex: none; align-items: center; gap: 9px; min-height: 48px; padding: 0 12px 0 16px; border: 1.6px solid #E3C493; border-radius: var(--radius-pill); background: var(--white); font-weight: 500; font-size: 15px; line-height: 20px; color: var(--maroon); cursor: pointer; }
.mn-veg input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.mn-veg .mn-mark { margin: 0; }
/* a switch: its knob moves and a tick shows, so on and off differ by more than the colour */
.mn-veg__box { position: relative; display: block; width: 44px; height: 26px; margin-left: 4px; border-radius: 13px; background: #8D7269; color: transparent; transition: background-color .3s var(--tap); }
.mn-veg__box .icon { position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; padding: 4px; border-radius: 50%; background: var(--white); stroke-width: 3.4; transition: translate .3s var(--tap), color .3s var(--tap); }
.mn-veg:has(input:checked) { border-color: var(--veg); }
.mn-veg:has(input:checked) .mn-veg__box { background: var(--veg); }
.mn-veg:has(input:checked) .mn-veg__box .icon { translate: 18px 0; color: var(--veg); }
.mn-veg:has(input:focus-visible) { outline: 3px solid var(--gold-solid); outline-offset: 2px; box-shadow: 0 0 0 5px var(--maroon-ink); }
.mn-at { display: flex; flex: none; align-items: center; gap: 10px; min-height: 48px; padding: 0 4px 0 18px; border: 1.6px solid #E3C493; border-radius: var(--radius-pill); background: var(--white); font-size: 15px; line-height: 20px; color: var(--ink-copy); }
.mn-at select { min-height: 40px; padding: 0 38px 0 12px; border: 0; border-radius: var(--radius-pill); background-color: var(--panel); font: inherit; font-weight: 600; color: var(--maroon); cursor: pointer; }
.mn-legend { display: flex; flex: 1 0 100%; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-top: 4px; font-size: 13px; line-height: 18px; color: var(--ink-copy); }
.mn-legend li { display: flex; align-items: center; gap: 6px; }
.mn-legend .mn-mark { margin: 0; }
/* what the chosen branch is doing now */
.mn-at__said { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; padding: 14px 18px; border-radius: 16px; background: var(--white); font-size: 14.5px; line-height: 22px; color: var(--ink-copy); }
.mn-at__said .mn-dot { margin-top: 6px; color: var(--maroon); }
.mn-at__said b { font-weight: 600; color: var(--maroon); }
.mn-at__said a { font-weight: 600; color: var(--red); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.mn-tools__status { margin-top: 14px; font-family: var(--font-serif); font-size: 12px; line-height: 18px; letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
/* empty, it keeps its place in the accessibility tree, so its first words are read */
.mn-tools__status:empty { margin: 0; }
.mn-empty { margin-top: 8px; padding: 34px 0 10px; font-family: var(--font-display); font-size: 22px; line-height: 30px; color: var(--maroon); font-synthesis: none; }
.mn-empty .mn-link { font-family: var(--font-text); font-size: 16px; }

/* ---------- 3. A section and its dishes ---------- */
.mn-list { padding-bottom: calc(96 * var(--u)); }
.mn-group { padding: calc(64 * var(--u)) var(--gutter) 0; }
.mn-group__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; align-items: end; padding-bottom: 16px; border-bottom: 1.6px solid var(--rule); }
.mn-group__title { font-family: var(--font-condensed); font-weight: 400; font-size: max(40px, calc(64 * var(--u))); line-height: .92; text-transform: uppercase; color: var(--maroon); }
.mn-group__line { margin-top: 8px; font-size: 15px; line-height: 23px; color: var(--ink-copy); }
.mn-group__count { padding-bottom: 3px; font-family: var(--font-serif); font-size: 12px; line-height: 18px; letter-spacing: .2em; text-transform: uppercase; color: var(--red); white-space: nowrap; }
.mn-group__away { margin-top: 16px; font-size: 14px; line-height: 21px; color: var(--ink-quiet); }

/* the marks */
.mn-mark { flex: none; width: 16px; height: 16px; margin-top: 4px; }
.mn-mark rect { fill: var(--white); stroke: currentColor; stroke-width: 1.5; }
.mn-mark circle, .mn-mark path { fill: currentColor; }
.mn-mark--veg { color: var(--veg); }
.mn-mark--nonveg { color: var(--nonveg); }
.mn-spice { display: inline-flex; gap: 0; vertical-align: -3px; }
.mn-chilli { width: 15px; height: 15px; margin-right: -1px; }
.mn-chilli__pod { fill: var(--red); stroke: var(--red); stroke-width: 1.3; stroke-linejoin: round; }
.mn-chilli__stalk { fill: none; stroke: var(--veg); stroke-width: 1.8; stroke-linecap: round; }
.mn-chilli--off .mn-chilli__pod { fill: none; stroke: #B79A8C; }
.mn-chilli--off .mn-chilli__stalk { stroke: #B79A8C; }

/* what a card and a line share */
.mn-dish__title { display: flex; align-items: flex-start; gap: 9px; }
.mn-dish__name { min-width: 0; font-family: var(--font-display); font-weight: 400; font-size: 20px; line-height: 25px; color: var(--maroon); font-synthesis: none; overflow-wrap: anywhere; text-wrap: balance; }
.mn-dish__desc { margin-top: 6px; font-size: 14px; line-height: 21px; color: var(--ink-copy); }
/* a dot stands between two facts; the list's first 19 px are cut away, and with them the dot of a fact that starts a line */
.mn-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin: 10px 0 0 -19px; font-size: 13px; line-height: 20px; color: var(--ink-copy); clip-path: inset(0 0 0 19px); }
.mn-facts li { position: relative; display: flex; align-items: center; gap: 6px; padding-left: 19px; }
.mn-facts li::before { content: ""; position: absolute; left: 8px; top: 50%; width: 3px; height: 3px; translate: 0 -50%; border-radius: 50%; background: #B79A8C; }
/* sizes whose price differs are said on the dish: nobody should have to open anything to read a price */
.mn-sizes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.mn-sizes li { display: flex; align-items: baseline; gap: 7px; padding: 5px 11px 5px 12px; border-radius: 10px; background: #FFF4E3; font-size: 13px; line-height: 18px; color: var(--ink-copy); }
.mn-sizes b { font-weight: 600; color: var(--maroon); white-space: nowrap; }
.mn-price { font-family: var(--font-condensed); font-size: 34px; line-height: .9; letter-spacing: .01em; color: var(--red); white-space: nowrap; }
.mn-price__from { font-family: var(--font-text); font-weight: 500; font-size: 13px; line-height: 1; letter-spacing: 0; color: var(--ink-copy); }
.mn-more { display: inline-flex; flex: none; align-items: center; gap: 5px; min-height: 44px; margin-block: -12px; padding: 0 2px; font-weight: 600; font-size: 14px; line-height: 18px; color: var(--maroon); text-decoration: underline; text-decoration-thickness: 1.6px; text-underline-offset: 4px; }
.mn-more .icon { font-size: 15px; rotate: -90deg; }
.mn-more:hover { color: var(--red); }
/* a dish with a photo: a card */
.mn-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }
.mn-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: var(--white); box-shadow: 0 0 0 1px rgba(210, 169, 101, .55); transition: box-shadow .3s var(--tap); }
.mn-card__art { position: relative; display: grid; aspect-ratio: 4 / 3; place-items: center; overflow: hidden; padding: 16px 20px 14px; background: var(--art); }
/* the thin arch behind each of The Bucket's packs */
.mn-card__art::before { content: ""; position: absolute; left: 50%; bottom: -1px; width: 66%; height: 78%; translate: -50% 0; border: 1px solid rgba(255, 242, 222, .42); border-bottom: 0; border-radius: 999px 999px 0 0; }
.mn-card__photo { position: relative; width: 100%; height: 100% !important; min-height: 0; object-fit: contain; filter: drop-shadow(0 14px 14px rgba(20, 0, 0, .5)); }
.mn-new { position: absolute; left: 12px; top: 12px; z-index: 1; padding: 3px 11px; border-radius: var(--radius-pill); background: var(--gold-light); font-weight: 700; font-size: 12px; line-height: 16px; letter-spacing: .04em; text-transform: uppercase; color: var(--maroon-deep); }
.mn-card__body { display: flex; flex: 1; flex-direction: column; padding: 18px 20px 20px; }
.mn-card__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; }
@media (hover: hover) {
  .mn-card:hover { box-shadow: 0 0 0 1px rgba(210, 169, 101, .55), 0 16px 30px rgba(126, 13, 18, .16); }
}
/* five in a section stand in one row where there is room (the five packs); three, six or nine go three across */
@container page (min-width: 1240px) {
  .mn-cards[data-count="5"] { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
  .mn-cards[data-count="5"] .mn-card__body { padding: 16px 16px 18px; }
  .mn-cards[data-count="5"] .mn-dish__name { font-size: 19px; }
}
.mn-cards:is([data-count="3"], [data-count="6"], [data-count="9"]) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* one or two: the photo beside the words, so a section with a single dish doesn't leave a tall card alone */
.mn-cards:is([data-count="1"], [data-count="2"]) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mn-cards:is([data-count="1"], [data-count="2"]) .mn-card { flex-direction: row; }
.mn-cards:is([data-count="1"], [data-count="2"]) .mn-card__art { flex: none; width: 42%; aspect-ratio: auto; min-height: 190px; }

/* a dish with no photo: a line of the list, its name led across to its price as on a menu board */
.mn-rows { columns: 2; column-gap: calc(72 * var(--u)); margin-top: 6px; }
.mn-cards:not([hidden]) + .mn-rows { margin-top: 30px; border-top: 1.6px solid var(--rule); }
.mn-row { break-inside: avoid; padding: 17px 0 16px; border-bottom: 1.6px solid var(--rule); }
.mn-row__top { display: grid; grid-template-columns: auto minmax(0, max-content) minmax(0, 1fr) auto; column-gap: 9px; align-items: baseline; }
.mn-row__top .mn-price { grid-column: 4; }
.mn-row__top .mn-mark { align-self: start; margin-top: 4px; }
.mn-row .mn-dish__name { font-size: 18px; line-height: 24px; }
.mn-row__leader { align-self: end; height: 0; margin-bottom: 7px; border-bottom: 2px dotted rgba(126, 13, 18, .34); }
.mn-row .mn-price { font-size: 27px; }
.mn-row__body { padding-left: 25px; }
.mn-row__body > :first-child { margin-top: 4px; }
.mn-row__body .mn-facts { margin-top: 6px; }
.mn-row__body > .mn-facts:first-child { margin-top: 4px; }
.mn-row__body .mn-sizes { margin-top: 9px; }
.mn-row__body .mn-more { margin-block: 0 -10px; }

/* ---------- A dish's sheet ---------- */
.mn-sheet { width: min(580px, calc(100% - 32px)); max-height: min(88dvh, 780px); padding: 0; overflow: hidden auto; border: 0; border-radius: 28px; background: var(--cream); color: var(--ink-copy); box-shadow: 0 30px 80px rgba(20, 0, 0, .5); }
.mn-sheet::backdrop { background: rgba(42, 5, 8, .66); }
.mn-sheet__close { position: absolute; right: 14px; top: 14px; z-index: 2; display: grid; width: 44px; height: 44px; place-items: center; border-radius: 50%; background: var(--cream); color: var(--maroon); font-size: 20px; box-shadow: 0 4px 12px rgba(20, 0, 0, .3); }
.mn-sheet__art { display: flex; align-items: center; justify-content: center; height: 240px; padding: 20px; background: var(--art); }
.mn-sheet__art img { width: 100%; height: 100% !important; object-fit: contain; filter: drop-shadow(0 16px 16px rgba(20, 0, 0, .5)); }
.mn-sheet__body { display: flex; flex-direction: column; align-items: flex-start; padding: 26px 28px 28px; }
.mn-sheet__cat { font-family: var(--font-serif); font-size: 12px; line-height: 18px; letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.mn-sheet__body .mn-dish__title { margin-top: 8px; padding-right: 44px; }
.mn-sheet__art + .mn-sheet__body .mn-dish__title { padding-right: 0; }
.mn-sheet__name { font-family: var(--font-condensed); font-weight: 400; font-size: 44px; line-height: .94; text-transform: uppercase; color: var(--maroon); overflow-wrap: anywhere; }
.mn-sheet__body .mn-mark { width: 18px; height: 18px; margin-top: 11px; }
.mn-sheet__body > .mn-price { margin-top: 16px; font-size: 42px; }
.mn-sheet__desc { margin-top: 14px; font-size: 15px; line-height: 24px; }
.mn-sheet__group { align-self: stretch; margin-top: 22px; padding-top: 18px; border-top: 1.6px solid var(--rule); }
.mn-sheet__group h3 { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; font-family: var(--font-display); font-weight: 400; font-size: 19px; line-height: 24px; color: var(--maroon); font-synthesis: none; }
.mn-sheet__group h3 span { font-family: var(--font-text); font-weight: 500; font-size: 13px; line-height: 18px; color: var(--ink-quiet); }
.mn-sheet__group ul { margin-top: 6px; }
.mn-sheet__group li { display: grid; grid-template-columns: minmax(0, max-content) minmax(18px, 1fr) auto; column-gap: 9px; align-items: baseline; padding-block: 7px; font-size: 15px; line-height: 22px; }
.mn-sheet__group li b { font-weight: 600; color: var(--maroon); white-space: nowrap; }
.mn-sheet__more { display: grid; align-self: stretch; gap: 10px; margin: 22px 0 24px; padding-top: 18px; border-top: 1.6px solid var(--rule); font-size: 14.5px; line-height: 22px; }
.mn-sheet__more div { display: grid; grid-template-columns: 84px minmax(0, 1fr); column-gap: 12px; }
.mn-sheet__more dt { font-family: var(--font-serif); font-size: 12px; line-height: 22px; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }

/* ---------- 4. Good to know ---------- */
.mn-notes { padding: calc(56 * var(--u)) var(--gutter); background: var(--panel); }
.mn-notes__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 40px; }
.mn-notes h3 { font-family: var(--font-condensed); font-weight: 400; font-size: 30px; line-height: 1; letter-spacing: .01em; text-transform: uppercase; color: var(--maroon); }
.mn-notes p { margin-top: 8px; font-size: 14.5px; line-height: 22px; color: var(--ink-copy); }

/* ---------- 5. Where to get it ---------- */
.mn-get { padding: calc(96 * var(--u)) var(--gutter) calc(88 * var(--u)); background: var(--maroon); color: var(--cream); }
.mn-get__head { display: grid; justify-items: start; }
.mn-get__title { margin-top: 12px; font-family: var(--font-condensed); font-weight: 400; font-size: max(44px, calc(84 * var(--u))); line-height: .92; text-transform: uppercase; }
.mn-get__title em { font-style: normal; color: var(--gold-light); }
.mn-get__text { max-width: 480px; margin-top: 16px; font-size: 15px; line-height: 24px; }
.mn-branches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.mn-branch { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; background: var(--maroon-deep); transition: background-color .3s var(--tap); }
.mn-branch__photo { width: 100%; aspect-ratio: 16 / 10; height: auto !important; object-fit: cover; }
.mn-branch__words { display: grid; flex: 1; align-content: start; gap: 6px; padding: 18px 76px 20px 20px; }
.mn-branch__name { font-family: var(--font-display); font-weight: 400; font-size: 22px; line-height: 27px; font-synthesis: none; }
/* the whole card leads to the branch's page; its call button stays its own target on top */
.mn-branch__name a::after { content: ""; position: absolute; inset: 0; }
.mn-branch__where { font-size: 13.5px; line-height: 20px; color: #F4DCC0; }
.mn-branch .mn-status { margin-top: 4px; color: var(--cream); }
.mn-branch .mn-status[data-state="open"] { color: var(--gold-light); }
.mn-branch__call { position: absolute; right: 14px; bottom: 16px; z-index: 1; display: grid; width: 52px; height: 52px; place-items: center; align-content: center; gap: 1px; border-radius: 50%; background: var(--cream); font-weight: 600; font-size: 10.5px; line-height: 12px; color: var(--maroon); transition: background-color .3s var(--tap); }
.mn-branch__call .icon { font-size: 16px; }
.mn-branch__call:hover { background: var(--white); }
@media (hover: hover) {
  .mn-branch:hover { background: #4A0506; }
}
.mn-get__all { margin-top: 32px; }

.mn-close { padding: calc(88 * var(--u)) var(--gutter) calc(104 * var(--u)); background: var(--cream); }
.mn-close__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.mn-close__card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 40px 40px 38px; border-radius: 26px; background: var(--white); color: var(--ink-copy); box-shadow: 0 0 0 1px rgba(210, 169, 101, .55); }
.mn-close__card--red { background: var(--red); color: var(--cream); box-shadow: none; }
.mn-close__title { font-family: var(--font-condensed); font-weight: 400; font-size: max(40px, calc(60 * var(--u))); line-height: .94; text-transform: uppercase; color: var(--maroon); }
.mn-close__card--red .mn-close__title { color: var(--cream); }
.mn-close__card p:not(.mn-eyebrow) { max-width: 430px; font-size: 15px; line-height: 24px; }
.mn-close__card .btn-compact { margin-top: 10px; }

/* ---------- Motion ---------- */
[data-motion="on"] .mn-table__dish { --from-y: 26%; --from-scale: .86; }
[data-motion="on"] .mn-table__dish--1 { --from-x: 60%; --from-turn: -24deg; }
[data-motion="on"] .mn-table__dish--2 { --from-x: 40%; --from-turn: -14deg; }
[data-motion="on"] .mn-table__dish--4 { --from-x: -40%; --from-turn: 14deg; }
[data-motion="on"] .mn-table__dish--5 { --from-x: -60%; --from-turn: 24deg; }
@media (prefers-reduced-motion: no-preference) {
  .mn-sheet[open] { animation: mn-sheet-in var(--dur-short) var(--ease-out); }
  .mn-sheet[open]::backdrop { animation: mn-fade-in var(--dur-short) linear; }
}
@keyframes mn-sheet-in { from { opacity: 0; translate: 0 24px; } }
@keyframes mn-fade-in { from { opacity: 0; } }

/* ---------- Narrower windows ---------- */
@container page (max-width: 1100px) {
  .mn-wrap, .mn-hero__inner, .mn-bar__inner { width: min(100%, 1180px); }
  .mn-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mn-rows { column-gap: 40px; }
  .mn-notes__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
  .mn-branches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* on a tablet four cards go two and two, not three and one left alone (a phone lists them one a row) */
@container page (min-width: 761px) and (max-width: 1100px) {
  .mn-cards[data-count="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* a narrow tablet gives a card that lies on its side the whole row, as a phone does: two side by side
   leave each a column of words too narrow for a pack's contents */
@container page (min-width: 761px) and (max-width: 900px) {
  .mn-cards:is([data-count="1"], [data-count="2"]) { grid-template-columns: minmax(0, 1fr); }
}
@container page (max-width: 900px) {
  .mn-hero { padding-top: 148px; }
  .mn-hero__inner { grid-template-columns: minmax(0, 1fr); }
  .mn-hero__text { max-width: 560px; }
  .mn-where { max-width: 560px; margin-top: 30px; }
  /* low enough that the bucket tucks against the card's edge without covering its words */
  .mn-table { height: 190px; margin-top: 30px; }
  .mn-table__dish--1 { left: calc(50% - 400px); width: 168px; }
  .mn-table__dish--2 { left: calc(50% - 236px); width: 124px; }
  .mn-table__dish--3 { left: calc(50% - 118px); width: 236px; }
  .mn-table__dish--4 { left: calc(50% + 108px); width: 178px; }
  .mn-table__dish--5 { left: calc(50% + 268px); width: 160px; }
  .mn-cards, .mn-cards:is([data-count="3"], [data-count="6"], [data-count="9"]) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mn-close__grid { grid-template-columns: minmax(0, 1fr); }
}
@container page (max-width: 760px) {
  .mn-hero { padding-top: 116px; }
  .mn-hero__title { font-size: clamp(56px, 19cqw, 108px); }
  .mn-hero__text { margin-top: 16px; font-size: 15px; line-height: 23px; }
  .mn-hero__text span { display: none; }
  .mn-where { margin-top: 22px; padding: 18px 16px 16px; border-radius: 22px; }
  .mn-region__pick { min-height: 68px; padding: 10px 30px 10px 13px; }
  .mn-region__pick b { font-size: 23px; }
  .mn-table { height: 138px; margin-top: 26px; }
  .mn-table__dish--1 { left: calc(50% - 250px); width: 124px; }
  .mn-table__dish--2 { display: none; }
  .mn-table__dish--3 { left: calc(50% - 88px); width: 176px; }
  .mn-table__dish--4 { display: none; }
  .mn-table__dish--5 { left: calc(50% + 122px); width: 120px; }
  .mn-bar { padding: 10px 10px 0; }
  .site-header:not([data-hidden]) ~ main .mn-bar { top: 62px; }
  .mn-bar__inner { min-height: 56px; padding: 4px 6px; }
  .mn-cats a { padding: 0 13px; font-size: 14.5px; }
  .mn-tools { padding-top: 18px; }
  .mn-find { flex-basis: 100%; }
  .mn-veg { flex: 1 1 auto; justify-content: space-between; padding-left: 14px; }
  .mn-veg > span:not(.mn-veg__box) { margin-right: auto; }
  /* the branch choice takes the rest of its row, its name kept in sight */
  .mn-at { flex: 1 1 auto; padding: 0 4px; }
  .mn-at select { flex: 1; min-width: 0; }
  .mn-legend { gap: 4px 12px; font-size: 12.5px; }
  .mn-group { padding-top: 44px; }
  .mn-group__head { padding-bottom: 12px; }
  /* on a phone a card lies down: its photo beside its words, one dish a row */
  .mn-cards, .mn-cards:is([data-count="1"], [data-count="2"], [data-count="3"], [data-count="6"], [data-count="9"]) { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 18px; }
  .mn-card, .mn-cards:is([data-count="1"], [data-count="2"]) .mn-card { flex-direction: row; align-items: flex-start; border-radius: 18px; }
  .mn-card__art, .mn-cards:is([data-count="1"], [data-count="2"]) .mn-card__art { flex: none; width: 108px; height: 108px; min-height: 0; aspect-ratio: auto; margin: 10px 0 10px 10px; padding: 9px 8px 7px; border-radius: 13px; }
  .mn-card__art::before { width: 74%; height: 70%; }
  .mn-card__body { align-self: stretch; min-width: 0; padding: 12px 14px 14px 13px; }
  .mn-card .mn-dish__name { font-size: 18px; line-height: 23px; }
  .mn-card .mn-dish__desc { font-size: 13.5px; line-height: 20px; }
  .mn-card .mn-price { font-size: 30px; }
  .mn-card__foot { padding-top: 12px; }
  .mn-new { left: 8px; top: 8px; padding: 2px 8px; font-size: 11px; }
  .mn-rows { columns: 1; }
  .mn-cards:not([hidden]) + .mn-rows { margin-top: 20px; }
  .mn-row { padding: 15px 0 14px; }
  .mn-row .mn-dish__name { font-size: 17px; line-height: 23px; }
  .mn-notes__list { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .mn-branches { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 28px; }
  .mn-branch { flex-direction: row; align-items: stretch; }
  .mn-branch__photo { flex: none; width: 108px; aspect-ratio: auto; height: auto !important; min-height: 112px; }
  .mn-branch__words { padding: 13px 72px 13px 14px; }
  .mn-branch .mn-status { flex-wrap: wrap; gap: 0 8px; }
  .mn-branch .mn-status > * { white-space: nowrap; }
  .mn-branch__name { font-size: 20px; line-height: 25px; }
  .mn-branch__call { right: 12px; bottom: 50%; translate: 0 50%; }
  .mn-close__card { padding: 30px 24px 28px; border-radius: 22px; }
  /* the sheet comes up from the bottom edge, where the thumb is */
  .mn-sheet { width: 100%; max-width: none; max-height: 90dvh; margin: auto 0 0; border-radius: 26px 26px 0 0; }
  .mn-sheet__art { height: 200px; }
  .mn-sheet__body { padding: 22px 20px 26px; }
  .mn-sheet__name { font-size: 38px; }
}
@container page (max-width: 400px) {
  .mn-region__pick b { font-size: 21px; }
  .mn-card__art, .mn-cards:is([data-count="1"], [data-count="2"]) .mn-card__art { width: 96px; height: 96px; }
}

/* ---------- What the site adds ---------- */
/* a branch's state is worked out in the browser, in the branch's own time: until then its line
   keeps its place and shows nothing, so nothing moves when it is said */
[data-now]:not([data-state]) { visibility: hidden; }
/* a branch card names where it is in two lines at most, and on the smallest phones its words keep
   clear of the call button: the photo narrows and the name steps down a size */
.mn-branch__words { min-width: 0; }
.mn-branch__where { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
@container page (max-width: 400px) {
  .mn-branch__photo { width: 88px; }
  .mn-branch__words { padding-right: 66px; }
  .mn-branch__name { font-size: 18px; line-height: 23px; }
}
/* the header and the bar of sections stay at the top as the list scrolls: a section a link lands on, and
   whatever the keyboard reaches going back up, stops below them (header and bar are 166 px at most) */
html:has(.menu-page) { scroll-padding-top: 176px; }
