/* The pages the brandPage function renders — a brand's page, a professional's,
   the jobs pages and the 404 (functions/src/brand_page.ts, renderShell). Served
   by Hosting and shipped with `make web`, so a change of look never redeploys a
   function. Markup lives in the function: when both change, add the new rules
   here first and remove old ones only after `make brand-page` has shipped. */
:root {
  --bg: #FDF7EC; --surface: #FFFFFF; --ink: #1C1810; --muted: #6B6455;
  --line: #E8DFCC; --yellow: #FDC903; --on-yellow: #1C1810; --tile: #EFE6D3;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111111; --surface: #1C1C1C; --ink: #F2F0EA; --muted: #A9A49A;
    --line: #2C2C2C; --tile: #262626;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px; line-height: 1.45;
}
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }

.appbar {
  position: sticky; top: 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px; background: var(--bg); border-bottom: 1px solid var(--line);
}
.brandmark { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 800; letter-spacing: .04em; }
.brandmark img { border-radius: 50%; }
.getapp, .follow {
  border: 0; border-radius: 12px; background: var(--yellow); color: var(--on-yellow); font-weight: 700;
}
.action svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.getapp { padding: 8px 14px; font-size: 15px; }

main { max-width: 760px; margin: 0 auto; padding: 0 0 24px; }
.profile { text-align: center; padding: 20px 16px 20px; }
.logo { width: 112px; height: 112px; object-fit: cover; border-radius: 18px; display: block; margin: 0 auto 14px; }
.logo.round, .sheetlogo.round { border-radius: 50%; }
.logo.placeholder { display: grid; place-items: center; background: var(--tile); font-size: 44px; font-weight: 800; }
h1 { font-size: 28px; line-height: 1.15; margin: 0; }
.handle { color: var(--muted); margin: 4px 0 18px; }
.counts { display: flex; justify-content: center; gap: 48px; margin: 0 0 16px; }
.counts div { display: flex; flex-direction: column-reverse; align-items: center; }
.counts dd { margin: 0; font-size: 22px; font-weight: 700; }
.counts dt { color: var(--muted); font-size: 14px; }
.tagline { max-width: 520px; margin: 0 auto 20px; color: var(--muted); white-space: pre-line; }
.actions { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; }
.action {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 12px; border-radius: 12px; font-size: 17px; font-weight: 700; text-decoration: none;
}
.location { border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.brandbar { gap: 12px; }
.brandbar .brandmark { min-width: 0; letter-spacing: 0; font-size: 17px; }
.brandbar h1 { margin: 0; font-size: 17px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.barlogo { width: 36px; height: 36px; flex: none; object-fit: cover; border-radius: 9px; }
.brandbar .brandmark img.barlogo:not(.round) { border-radius: 9px; }
.barlogo.placeholder { display: grid; place-items: center; background: var(--tile); font-weight: 800; }
.socials { display: flex; align-items: center; gap: 6px; flex: none; }
.social { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: none; text-decoration: none; }
.social svg { width: 28px; height: 28px; display: block; }
.social img { width: 30px; height: 30px; border-radius: 50%; display: block; }
.pin-button { border: 1px solid var(--line); background: var(--surface); width: 36px; height: 36px; }
.pin-button svg { width: 20px; height: 20px; fill: currentColor; }
/* Five networks, the website, the pin and YUM still leave the name room on a phone. */
@media (max-width: 430px) {
  .socials { gap: 2px; }
  .social, .pin-button { width: 32px; height: 32px; }
  .social svg { width: 24px; height: 24px; }
  .pin-button svg { width: 18px; height: 18px; }
  .social img { width: 28px; height: 28px; }
}
/* The featured strip, sliding left by one pass and starting over — by CSS,
   until the page's script takes it over (`.driven`) so it can be dragged. `wide`
   runs edge to edge in 4:5 pictures; `cols` keeps to the menu's width, each
   picture exactly one of its columns, with the grid's own gaps. */
.reel { position: relative; --reel-w: calc(100vw - 6px); --reel-h: 200px; touch-action: pan-y; cursor: grab; -webkit-user-select: none; user-select: none; --reel-gap: 3px; --reel-cols: 2; overflow: hidden; margin: 2px 0 0; padding: 8px 0 10px; }
.reeltrack { display: flex; width: max-content; animation: reel calc(var(--n) * 4s) linear infinite; }
.reel:hover .reeltrack, .reel:focus-within .reeltrack { animation-play-state: paused; }
.reelpass { display: flex; gap: var(--reel-gap); padding-right: var(--reel-gap); }
.reelitem { flex: none; height: var(--reel-h); aspect-ratio: 4 / 5; padding: 0; border: 0; border-radius: 6px; overflow: hidden; background: var(--tile);
  /* A light lift, so a dish shot on white still has an edge against the cream.
     The strip's padding is the room it needs, since the strip clips. */
  box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 3px 8px rgba(0,0,0,.08); }
.reelitem img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; -webkit-user-drag: none; }
/* The brand's logo as one more tile, exactly a picture's size and shape, held
   in the middle of the strip while the pictures flow under it. The white ring
   is drawn inside that size (`border-box`), so it stands out without growing.
   It lets every press through, so the strip still drags beneath it. `top` is
   the strip's own top padding, so it sits level with the row. */
.reellogo { position: absolute; left: 50%; top: 8px; transform: translateX(-50%); height: var(--reel-h); aspect-ratio: 4 / 5; overflow: hidden; box-sizing: border-box; border: 1px solid #000; border-radius: 6px; pointer-events: none; z-index: 1; }
.reellogo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel.cols .reellogo { aspect-ratio: auto; width: calc((var(--reel-w) - (var(--reel-cols) - 1) * var(--reel-gap)) / var(--reel-cols)); }
/* A picture under the pointer leans in a little — mice only, and not mid-drag. */
.reelitem img { transition: transform .35s ease, filter .35s ease; }
@media (hover: hover) {
  .reel:not(.dragging) .reelitem:hover img { transform: scale(1.04); filter: brightness(1.06); }
}
.reel.driven .reeltrack { animation: none; will-change: transform; }
.reel.driven .reelitem { cursor: inherit; }
.reel.dragging { cursor: grabbing; }
.reel.cols { margin-inline: 3px; }
.reel.cols .reelitem { aspect-ratio: auto; width: calc((var(--reel-w) - (var(--reel-cols) - 1) * var(--reel-gap)) / var(--reel-cols)); }
@keyframes reel { to { transform: translateX(-50%); } }
@media (min-width: 700px) {
  .reel { --reel-w: min(1200px, 100vw - 32px); --reel-gap: 6px; --reel-cols: 4; margin: 12px 0 0; }
  .reel.cols { width: var(--reel-w); margin-inline: auto; border-radius: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .reel:not(.driven) { overflow-x: auto; scrollbar-width: none; }
  .reeltrack { animation: none; }
  .reel:not(.driven) .reelpass[aria-hidden] { display: none; }
}
.places { list-style: none; margin: 14px 0 0; padding: 0; text-align: left; }
.places li { display: flex; align-items: center; gap: 8px; border-top: 1px solid var(--line); }
.place { flex: 1; min-width: 0; display: flex; gap: 12px; align-items: flex-start; padding: 12px 4px; text-decoration: none; }
.place strong { display: block; }
.address { display: block; color: var(--muted); font-size: 15px; }
.pin svg, .call svg { width: 22px; height: 22px; fill: currentColor; }
.pin { color: var(--muted); padding-top: 1px; }
.call { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); flex: none; }
/* The shops at the bottom: the map as wide as the menu, the list under it.
   scroll-margin keeps the heading clear of the sticky bar when the pin jumps here. */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.shops { border-top: 1px solid var(--line); margin-top: 8px; padding: 16px 3px 8px; scroll-margin-top: 64px; }
.shops h2 { font-size: 20px; margin: 0 0 12px; padding: 0 13px; }
.shopmap { display: block; width: 100%; height: 320px; border: 0; border-radius: 8px; background: var(--tile); }
.shops .places { padding: 0 13px; }
.shops .call svg { width: 18px; height: 18px; }
.shops li.active { background: var(--tile); border-radius: 8px; }
.shops li[data-shop] .place { cursor: pointer; }
@media (min-width: 700px) {
  .shops { padding-inline: 0; margin-inline: calc((100% - min(1200px, 100vw - 32px)) / 2); }
  .shopmap { height: 420px; border-radius: 12px; }
  .shops h2, .shops .places { padding-inline: 0; }
}

.menu { margin-top: 0; }

.grid { list-style: none; margin: 0; padding: 3px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 3px; }
.tile {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 0;
  overflow: hidden; background: var(--tile); border-radius: 6px; text-align: left;
  /* The strip's light lift, so a dish shot on white still has an edge. */
  box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 3px 8px rgba(0,0,0,.08);
}
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* The menu's pictures lean in under the pointer, as the featured strip's do. */
/* The meal-slot chips over the menu — see slotFilter. Quiet until picked. */
.slotfilter { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 10px 6px 6px; }
.slotfilter[hidden] { display: none; }
.slotchip { flex: none; padding: 6px 14px; border-radius: 6px; border: 1px solid var(--line); background: none; color: var(--muted); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.slotchip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
@media (hover: hover) {
  .slotchip[aria-pressed="false"]:hover { color: var(--ink); border-color: color-mix(in srgb, var(--line), var(--ink) 25%); }
}
@media (min-width: 700px) {
  .slotfilter { padding-inline: 0; margin-inline: calc((100% - min(1200px, 100vw - 32px)) / 2); }
}
/* The chips and, at the end of their row, the phone that swaps the grid for appPreview. */
.menubar { display: flex; align-items: center; gap: 6px; padding-right: 6px; }
.menubar .slotfilter { flex: 1; min-width: 0; margin-inline: 0; }
.phonechip { margin: 4px 0 0 auto; padding: 5px 9px; display: inline-flex; }
.phonechip svg { width: 20px; height: 20px; fill: currentColor; }
@media (min-width: 700px) {
  .menubar { padding-right: 0; margin-inline: calc((100% - min(1200px, 100vw - 32px)) / 2); }
}
.phonechip[hidden] { display: none; }
/* `.grid`'s own display would beat the hidden attribute, leaving the menu under the phone. */
.menu .grid[hidden] { display: none; }
/* In the grid's place, a phone with the brand in the app's Home screen, its posts rolling up under the week. */
.appview { display: flex; flex-direction: column; align-items: center; padding: 16px 16px 8px; }
.appview[hidden] { display: none; }
.appview { scroll-margin-top: 64px; }
.appview .stores { margin: 16px 0 0; gap: 8px; }
.appview .store img { height: 40px; }
.phone {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  width: min(320px, calc(100vw - 48px));
  aspect-ratio: 9 / 19.5; border: 9px solid #0b0b0b; border-radius: 44px; background: var(--bg); color: var(--ink);
  text-align: left; box-shadow: 0 0 0 1px #2a2a2a, 0 24px 60px rgba(0,0,0,.45);
}
.pstatus { flex: none; display: flex; align-items: center; justify-content: space-between; padding: 8px 22px 4px; font-size: 12px; font-weight: 700; }
.pisland { width: 76px; height: 20px; border-radius: 12px; background: #0b0b0b; }
.pbattery { width: 22px; height: 10px; border: 1.5px solid currentColor; border-radius: 3px; box-shadow: inset 0 0 0 1.5px var(--bg), inset 0 0 0 9px currentColor; }
.phone { --accent: var(--ink); }
@media (prefers-color-scheme: dark) { .phone { --accent: #F5CE4A; } }
.phead { flex: none; display: flex; align-items: center; gap: 9px; padding: 6px 14px 4px; }
.pme { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: none; }
.phello { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.phello strong { display: inline-flex; align-items: center; font-size: 15px; }
.phello strong svg { width: 16px; height: 16px; fill: currentColor; }
.phello small { color: var(--muted); font-size: 11px; }
.pbell { width: 20px; height: 20px; fill: currentColor; flex: none; }
.pweek { flex: none; list-style: none; margin: 0; padding: 4px 8px 6px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.pweek li { display: flex; flex-direction: column; align-items: center; padding: 4px 0; border-radius: 9px; color: var(--muted); font-size: 10px; line-height: 1.3; }
.pweek b { font-size: 13px; font-weight: 500; color: var(--ink); min-height: 1.3em; }
.pweek li.on { background: var(--yellow); color: var(--on-yellow); }
.pweek li.on b { color: var(--on-yellow); font-weight: 800; }
.phonelogo { width: 36px; height: 36px; flex: none; object-fit: cover; border-radius: 0; }
.phonelogo.round { border-radius: 50%; }
.phonelogo.placeholder { display: grid; place-items: center; background: var(--tile); font-size: 15px; font-weight: 800; }
.pfeed { flex: 1; min-height: 0; overflow: hidden; }
.ptrack { animation: phonefeed calc(var(--n) * 6s) linear infinite; }
.pfeed:hover .ptrack { animation-play-state: paused; }
@keyframes phonefeed { to { transform: translateY(-50%); } }
/* Taken over by the page's script so it can be dragged, as `.reel.driven` is. */
.pfeed.driven { touch-action: pan-x; cursor: grab; -webkit-user-select: none; user-select: none; }
.pfeed.driven .ptrack { animation: none; will-change: transform; }
.pfeed.dragging { cursor: grabbing; }
.pslot h4 { display: flex; align-items: center; gap: 6px; margin: 0; padding: 12px 14px 8px; color: var(--accent); font-size: 14px; font-weight: 700; }
.pslot h4 svg { width: 16px; height: 16px; fill: currentColor; }
.pslot h4 small { color: var(--muted); font-weight: 400; font-size: 11px; }
.pslot h4 em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 600; }
.ppost { display: block; width: 100%; padding: 0; border: 0; border-bottom: 1px solid var(--line); background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.pfeed.driven .ppost { cursor: inherit; }
.pwho { display: flex; align-items: center; gap: 10px; padding: 0 14px 8px; }
.pwho > span { min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.pwho strong { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pwho small { color: var(--muted); font-size: 11px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pwho small span { font-weight: 400; }
.pphoto { position: relative; display: block; }
.pphoto img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--tile); }
.pdots { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 4px; }
.pdots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.55); }
.pdots i:first-child { background: #fff; }
.pacts { display: flex; align-items: center; gap: 8px; padding: 8px 14px 10px; color: var(--muted); font-size: 12px; }
.pacts svg { width: 20px; height: 20px; fill: currentColor; }
.plike { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.plike.unlit { filter: grayscale(1); }
.pacts > span:not(.pshare) { margin-right: 6px; }
.pshare { margin-left: auto; display: inline-flex; }
.pnav { flex: none; display: flex; align-items: center; justify-content: space-around; padding: 8px 8px 14px; border-top: 1px solid var(--line); background: var(--bg); color: var(--muted); }
.pnav svg { width: 20px; height: 20px; fill: currentColor; }
.padd { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); color: var(--on-yellow); }
@media (prefers-reduced-motion: reduce) {
  .ptrack { animation: none; }
  .pfeed:not(.driven) .ptrack > [aria-hidden] { display: none; }
  .pfeed:not(.driven) { overflow: auto; scrollbar-width: none; }
}
/* Under the menu while it has rows left to show — see GRID_SCRIPT. */
.menu .more { display: flex; flex: none; width: calc(100% - 32px); max-width: 460px; margin: 14px auto 6px; cursor: pointer; font-family: inherit; }
.menu .more[hidden] { display: none; }
.menu .more { transition: background-color .2s ease, border-color .2s ease; }
@media (hover: hover) {
  .menu .more:hover { background: color-mix(in srgb, var(--surface), var(--ink) 6%); border-color: color-mix(in srgb, var(--line), var(--ink) 15%); }
}
.menu .tile img { transition: transform .35s ease, filter .35s ease; }
@media (hover: hover) {
  .menu .tile:hover img { transform: scale(1.04); filter: brightness(1.06); }
}
.nophoto { position: absolute; inset: 0; display: grid; place-items: center; padding: 10px; text-align: center; font-weight: 600; font-size: 14px; }
.overlay {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 8px 7px; color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,.72)); display: flex; flex-direction: column; gap: 2px;
}
/* A product with no photo is its name, big, on the plain tile — see shelfTiles. */
.grid.shelf .nophoto { font-size: clamp(18px, 5vw, 26px); line-height: 1.15; overflow-wrap: anywhere; }
.tile:has(.nophoto) .overlay { background: none; color: var(--ink); }
.tile:has(.nophoto) .overlay .name { display: none; }
.name { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stats { display: flex; gap: 10px; font-size: 13px; font-weight: 600; }
.stat { display: inline-flex; align-items: center; gap: 4px; }
.stat svg { width: 14px; height: 14px; fill: currentColor; }
.slot { margin-left: auto; display: inline-flex; }
.slot svg { width: 18px; height: 18px; fill: currentColor; }
.slotname { margin-right: 6px; }
.slotname svg { width: 16px; height: 16px; }
.empty { text-align: center; color: var(--muted); padding: 24px 16px; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; margin: 16px 0; }
.store img { display: block; height: 50px; width: auto; }

.foot { max-width: 560px; margin: 0 auto; padding: 24px 16px 40px; text-align: center; color: var(--muted); border-top: 1px solid var(--line); }
.foot strong { color: var(--ink); }
.links { font-size: 14px; }

/* The site's footer, the same as yum.monster's own (SiteFooter.astro): a
   yellow wave with ink on it in both modes, since yellow is a fill. */
.sitefoot {
  margin-top: 26px; padding: 26px 24px 22px;
  background: var(--yellow); color: var(--on-yellow);
  border-radius: 46% 54% 0 0 / 40px 40px 0 0;
}
.sitefoot-main { max-width: 1080px; margin: 0 auto; display: grid; gap: 22px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 760px) { .sitefoot-main { grid-template-columns: 1.1fr 0.9fr; } }
.sitefoot h3 { margin: 0 0 8px; font-size: clamp(26px, 5vw, 34px); font-weight: 900; line-height: 1.1; letter-spacing: -0.02em; }
.sitefoot h3 em { font-style: normal; color: #F4462F; }
.sitefoot p { margin: 0; max-width: 34ch; }
.sitefoot .stores { justify-content: flex-start; margin: 0; gap: 14px; }
.sitefoot .store img { height: 52px; }
@media (max-width: 430px) { .sitefoot .store img { height: 46px; } }
.fineprint {
  max-width: 1080px; margin: 22px auto 0; padding-top: 14px;
  border-top: 1px solid rgba(28, 24, 16, 0.18);
  font-size: 13px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px;
}
.fineprint a { color: var(--on-yellow); }
.fineprint a:first-child { text-decoration: none; }

[popover] {
  width: min(420px, calc(100% - 32px)); padding: 28px 20px 22px; border: 0; border-radius: 20px;
  background: var(--surface); color: var(--ink); text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
[popover]::backdrop { background: rgba(0,0,0,.5); }
[popover] h2 { font-size: 21px; margin: 0 0 8px; }
[popover] p { color: var(--muted); margin: 0; }
.sheetlogo { width: 112px; height: 112px; object-fit: cover; border-radius: 18px; margin-bottom: 12px; }
.close { position: absolute; top: 8px; right: 10px; width: 36px; height: 36px; border: 0; background: none; font-size: 26px; color: var(--muted); }
.openapp { display: inline-block; margin-top: 4px; color: var(--muted); font-size: 15px; }
/* A dish opens as a bottom sheet on a phone and a panel down the right on a
   wide screen, so the menu stays in view beside it. Photo on top, then the
   details; only the details scroll, and only when a dish lists a lot. */
[popover].dishsheet {
  inset: auto 0 0 0; margin: 0; width: 100%; max-width: none; max-height: 92vh; max-height: 92dvh;
  padding: 0; border-radius: 20px 20px 0 0; text-align: left; overflow: hidden;
  transition: transform .25s ease, overlay .25s allow-discrete, display .25s allow-discrete;
  transform: translateY(100%);
}
.dishsheet[popover]:popover-open { display: flex; flex-direction: column; transform: none; }
@starting-style { .dishsheet[popover]:popover-open { transform: translateY(100%); } }
.dishsheet .close { z-index: 1; background: rgba(0,0,0,.45); color: #fff; border-radius: 50%; top: 10px; right: 10px; font-size: 24px; line-height: 1; }
.photos { flex: none; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; background: var(--tile); height: 42vh; height: 42dvh; scrollbar-width: none; }
.photos img { flex: none; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; display: block; }
.dishbody { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 16px 20px max(20px, env(safe-area-inset-bottom)); }
.dishsheet:not(:has(.photos)) .dishbody { padding-top: 48px; }
.dishbody h2 { margin: 0 0 2px; }
.dishbody .stats { color: var(--muted); margin: 0 0 14px; }
.seeit { flex: none; display: flex; width: 100%; min-height: 46px; font-size: 16px; }
.seeit svg { width: 18px; height: 18px; }
.dishbody h3 { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin: 18px 0 8px; }
.ingredients { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ingredient { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 3px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; text-decoration: none; }
.ingredient:not(:has(img)) { padding-left: 10px; }
.ingredient img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; flex: none; }
.out svg { width: 13px; height: 13px; fill: var(--muted); display: block; }
.dishget { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.dishsheet .stores { justify-content: flex-start; margin: 0 0 8px; gap: 8px; }
.dishsheet .store img { height: 40px; }
.dishsheet .openapp { font-size: 14px; margin: 0; }
@media (min-width: 700px) {
  [popover].dishsheet {
    inset: 0 0 0 auto; width: 420px; height: 100vh; height: 100dvh; max-height: none;
    border-radius: 20px 0 0 20px; transform: translateX(100%);
  }
  @starting-style { .dishsheet[popover]:popover-open { transform: translateX(100%); } }
  .photos { height: 44vh; height: 44dvh; }
  .dishbody { padding: 20px 24px 24px; }
}
@media (prefers-reduced-motion: reduce) { [popover].dishsheet { transition: none; } }
/* The menu holds still while a dish is open: a swipe on the sheet that scrolled
   the grid behind it moved the next dish away before the reader got back to it.
   overscroll-behavior above keeps a long list from handing its scroll on. */
html:has(.dishsheet:popover-open), html:has(.dishsheet:popover-open) body { overflow: hidden; }

.people { border-top: 1px solid var(--line); margin-top: 8px; padding: 16px 0 8px; }
.people h2, .work h2 { font-size: 20px; margin: 0 0 10px; padding: 0 16px; }
.work { padding-top: 16px; }
.peoplerow { list-style: none; margin: 0; padding: 0 16px 8px; display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; }
.peoplerow li { flex: none; width: 112px; }
.person { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; text-decoration: none; }
.person .face { width: 72px; height: 72px; border-radius: 14px; object-fit: cover; background: var(--tile); margin-bottom: 6px; }
.person .face.round { border-radius: 50%; }
.person .face.placeholder { display: grid; place-items: center; font-size: 28px; font-weight: 800; }
.person strong { font-size: 14px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.person .role { color: var(--muted); font-size: 13px; line-height: 1.25; }
.headline { margin: -8px auto 12px; font-weight: 600; max-width: 520px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0 auto 12px; padding: 0; max-width: 520px; }
.chips li { border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; font-size: 14px; }
.open { display: inline-block; margin: 0 0 14px; padding: 3px 12px; border-radius: 999px; background: var(--tile); font-size: 14px; font-weight: 600; }
.contact { display: flex; flex-wrap: wrap; gap: 8px; max-width: 460px; margin: 10px auto 0; }
.contact .action { flex: 1 1 40%; min-height: 46px; font-size: 15px; }
a.tile { text-decoration: none; }
.jobs { border-top: 1px solid var(--line); margin-top: 8px; padding: 16px; }
.jobs h2 { font-size: 20px; margin: 0 0 8px; }
.joblist { list-style: none; margin: 0; padding: 0; }
.joblist li { border-top: 1px solid var(--line); }
.joblist li:first-child { border-top: 0; }
.job { display: flex; gap: 12px; align-items: center; padding: 12px 0; text-decoration: none; }
.job img, .job .jobmark { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: none; background: var(--tile); }
.job .jobmark { display: grid; place-items: center; font-weight: 800; }
.job strong { display: block; }
.job .meta { display: block; color: var(--muted); font-size: 15px; }
.jobpage { padding: 24px 16px; }
.jobpage .brandline { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; }
.jobpage .brandline img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.jobpage h1 { margin: 18px 0 8px; }
.facts { list-style: none; margin: 0 0 16px; padding: 0; color: var(--muted); }
.facts li { padding: 2px 0; }
.jobtext { white-space: pre-line; margin: 0 0 24px; }
.apply { display: flex; max-width: 460px; }
.apply .follow { flex: 1; min-height: 52px; font-size: 17px; }
.jobfeed { list-style: none; margin: 16px auto 0; padding: 0; max-width: 520px; }
.jobcard { margin-bottom: 24px; }
.jobpage .deck { margin-top: 16px; max-width: 520px; }
/* The flyer — the app's `JobFlyer` on its 400×500 canvas, in `--u` (one canvas
   pixel). A fixed palette in both colour schemes: it is the shop's artwork. */
@font-face { font-family: "Bricolage Grotesque"; font-weight: 500; font-display: swap; src: url(/fonts/BricolageGrotesque-Medium.woff2) format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 700; font-display: swap; src: url(/fonts/BricolageGrotesque-Bold.woff2) format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 800; font-display: swap; src: url(/fonts/BricolageGrotesque-ExtraBold.woff2) format("woff2"); }
.deck { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 16px; scrollbar-width: none; }
.deck::-webkit-scrollbar { display: none; }
.flyer { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 4 / 5; container-type: inline-size; overflow: hidden; }
.fc {
  --u: 0.25cqw; position: relative; height: 100%; display: flex; flex-direction: column;
  padding: calc(var(--u) * 32); background: var(--bg); color: var(--ink);
  font-family: "Bricolage Grotesque", -apple-system, BlinkMacSystemFont, sans-serif; font-weight: 500;
  overflow-wrap: normal; word-break: normal; hyphens: none;
}
.s-yellow .fc { --bg: #FDC903; --ink: #1C1810; --muted: rgba(28,24,16,.74); --hl: #1C1810; --tape: #1C1810; --tape-ink: #FDC903; --pill: #1C1810; --pill-ink: #FDC903; --card: rgba(28,24,16,.08); --line: rgba(28,24,16,.16); --box: #1C1810; --box-ink: #FFFFFF; --box-muted: rgba(255,255,255,.74); --box-hl: #FDC903; }
.s-dark .fc { --bg: #171512; --ink: #FFFFFF; --muted: rgba(255,255,255,.76); --hl: #FDC903; --tape: transparent; --tape-ink: #FDC903; --pill: #FDC903; --pill-ink: #1C1810; --card: #221F1A; --line: #36312A; --box: #26231D; --box-ink: #FFFFFF; --box-muted: rgba(255,255,255,.74); --box-hl: #FDC903; }
.s-light .fc { --bg: #FFF8E1; --ink: #1C1810; --muted: rgba(28,24,16,.72); --hl: #1C1810; --tape: #1C1810; --tape-ink: #FDC903; --pill: #FDC903; --pill-ink: #1C1810; --card: #FFFFFF; --line: rgba(28,24,16,.12); --box: #1C1810; --box-ink: #FFFFFF; --box-muted: rgba(255,255,255,.74); --box-hl: #FDC903; }
.fa { font-style: normal; background: var(--tape); color: var(--tape-ink); padding: 0 calc(var(--u) * 4); border-radius: calc(var(--u) * 4); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.s-dark .fa { padding: 0; }
.fhead { display: flex; align-items: center; gap: calc(var(--u) * 10); margin-bottom: calc(var(--u) * 20); }
.flabel { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: calc(var(--u) * 9.5); font-weight: 800; letter-spacing: calc(var(--u) * 1.8); text-transform: uppercase; }
.flogo { width: calc(var(--u) * 30); height: calc(var(--u) * 30); border-radius: calc(var(--u) * 9); object-fit: cover; flex: none; display: grid; place-items: center; background: var(--pill); color: var(--pill-ink); font-weight: 800; font-size: calc(var(--u) * 15); }
.fstat { margin: 0 0 calc(var(--u) * 10); font-size: calc(var(--u) * 70); font-weight: 800; line-height: .9; letter-spacing: calc(var(--u) * -2); }
.fh { margin: 0; font-weight: 800; line-height: .96; letter-spacing: -.035em; }
.ftext { margin: calc(var(--u) * 14) 0 0; font-size: calc(var(--u) * 13.5); line-height: 1.38; color: var(--muted); white-space: pre-line; }
.fsteps { list-style: none; margin: calc(var(--u) * 22) 0 0; padding: 0; }
.fsteps li { display: flex; align-items: center; gap: calc(var(--u) * 12); margin-bottom: calc(var(--u) * 12); font-size: calc(var(--u) * 14); font-weight: 700; line-height: 1.25; }
.fnum { flex: none; width: calc(var(--u) * 28); height: calc(var(--u) * 28); border-radius: calc(var(--u) * 8); display: grid; place-items: center; background: var(--pill); color: var(--pill-ink); font-weight: 800; font-size: calc(var(--u) * 14); }
.t-cards .ftext { font-size: calc(var(--u) * 13); margin-top: calc(var(--u) * 12); }
.fcards { display: grid; grid-template-columns: 1fr 1fr; gap: calc(var(--u) * 8); margin: calc(var(--u) * 16) 0 calc(var(--u) * 14); }
.fcard { background: var(--card); border: 1px solid var(--line); border-radius: calc(var(--u) * 12); padding: calc(var(--u) * 11) calc(var(--u) * 12); }
.fcard b { display: block; font-size: calc(var(--u) * 14.5); font-weight: 800; color: var(--hl); letter-spacing: -.01em; }
.fcard span { display: block; margin-top: calc(var(--u) * 4); font-size: calc(var(--u) * 10.5); line-height: 1.35; color: var(--muted); }
.fbox { margin-top: auto; display: flex; flex-direction: column; gap: calc(var(--u) * 4); }
.fbl { font-size: calc(var(--u) * 8.5); font-weight: 800; letter-spacing: calc(var(--u) * 1.6); text-transform: uppercase; }
.fbt { font-size: calc(var(--u) * 19); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.fbx { font-size: calc(var(--u) * 11); line-height: 1.45; }
.t-announce .fbox { background: var(--box); color: var(--box-ink); border-radius: calc(var(--u) * 14); padding: calc(var(--u) * 15) calc(var(--u) * 18); }
.t-announce .fbl { color: var(--box-hl); }
.t-announce .fbx { color: var(--box-muted); }
.t-steps .fbox { background: var(--card); border: 1px solid var(--line); border-radius: calc(var(--u) * 14); padding: calc(var(--u) * 14) calc(var(--u) * 16); }
.t-steps .fbl { color: var(--muted); }
.t-steps .fbt { font-size: calc(var(--u) * 14); }
.t-cards .fbox { border-top: 1px solid var(--line); padding-top: calc(var(--u) * 12); }
.t-cards .fbl { color: var(--muted); }
.t-cards .fbt { color: var(--hl); }
.t-cards .fbx { font-weight: 700; font-size: calc(var(--u) * 12); }
.fcount { font-size: calc(var(--u) * 9); font-weight: 800; color: var(--muted); }
/* yum.monster/brands — two radio buttons drive the tabs, no script. */
.tabradio { position: absolute; opacity: 0; pointer-events: none; }
.tabs { display: flex; justify-content: center; border-bottom: 1px solid var(--line); }
.tabs label { padding: 12px 18px; font-weight: 700; color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px; }
#tab-brands:checked ~ .tabs label[for="tab-brands"],
#tab-creators:checked ~ .tabs label[for="tab-creators"] { color: var(--ink); border-bottom-color: var(--yellow); }
#tab-brands:focus-visible ~ .tabs label[for="tab-brands"],
#tab-creators:focus-visible ~ .tabs label[for="tab-creators"] { outline: 2px solid var(--ink); outline-offset: -2px; }
.pane { display: none; }
#tab-brands:checked ~ .pane-brands, #tab-creators:checked ~ .pane-creators { display: block; }
/* The logo is the whole tile — the name is in its alt. A hairline and a soft
   shadow at rest, because a white logo on a white square has no edge against
   the page. Under the pointer the tile lifts and the logo leans in, as the
   menu's pictures do. */
.brandtile {
  aspect-ratio: 1; transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 0 0 1px var(--line), 0 2px 8px rgba(0,0,0,.08);
}
.brandtile img { transition: transform .35s ease; }
@media (hover: hover) {
  .brandtile:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--line), 0 10px 24px rgba(0,0,0,.18); }
  .brandtile:hover img { transform: scale(1.05); }
}
.brandtile:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.missing { max-width: 420px; margin: 0 auto; padding: 64px 16px; text-align: center; }
.missing .mark { border-radius: 50%; }
.missing p { color: var(--muted); }
.quiet { color: var(--muted); font-size: 15px; }

@media (min-width: 700px) {
  /* Wider than main so four tiles each come out larger than the old three. */
  .grid { grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 6px 0; margin-inline: calc((100% - min(1200px, 100vw - 32px)) / 2); }
}
