/* How's the Food? — public styles. Editorial and calm, with a warm gold "lit up" accent for loved dishes.
   No inline styles anywhere (strict CSP). Colours are tokens, so every visitor theme below just swaps them. */
@font-face { font-family: 'Fraunces'; src: url('/fonts/fraunces.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('/fonts/fraunces-italic.woff2') format('woff2'); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/inter.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/inter-italic.woff2') format('woff2'); font-weight: 100 900; font-style: italic; font-display: swap; }
/* Poppins is only for the opener, so other pages never download it. */
@font-face { font-family: 'Poppins'; src: url('/fonts/poppins-bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('/fonts/poppins-bold-italic.woff2') format('woff2'); font-weight: 700; font-style: italic; font-display: swap; }

/* Default look: Blueberry. Deep ink, a confident blue, and gold for anything that has "lit up". */
:root {
  --bg: #f6f7fb; --paper: #ffffff; --ink: #10162f; --ink-2: #2b3250; --muted: #5a6280; --line: #e1e4ee; --line-2: #eef0f6;
  --accent: #2d47c4; --accent-ink: #ffffff; --accent-soft: #e9edfc;
  --teal: #0b6e86; --teal-soft: #e1f2f6;
  --sun: #f5a524; --loved: #fff7e6; --loved-edge: #eda100; --glow: rgb(245 165 36 / .35);
  --quiet: #687090; --banner: #121a3a; --banner-2: #2c42a8; --banner-em: #ffcf4a;
  --ok: #15803d; --ok-soft: #e5f6ea; --warn: #a16207; --warn-soft: #fdf3d4; --bad: #b91c1c; --bad-soft: #fde6e6;
  --radius: 14px; --radius-sm: 10px;
  --shadow-1: 0 1px 2px rgb(16 22 47 / .05);
  --shadow: 0 1px 2px rgb(16 22 47 / .04), 0 6px 18px -6px rgb(16 22 47 / .10);
  --shadow-lift: 0 2px 4px rgb(16 22 47 / .05), 0 18px 36px -14px rgb(16 22 47 / .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --f-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-emoji: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
  color-scheme: light;
}
/* "Match my device": Blueberry by day, Midnight when the device is in dark mode. */
@media (prefers-color-scheme: dark) {
  :root[data-theme="auto"] {
    --bg: #0c1222; --paper: #151d31; --ink: #e9edf7; --ink-2: #ccd3e4; --muted: #a2adc4; --line: #26314a; --line-2: #1d2740;
    --accent: #fbbf24; --accent-ink: #0f172a; --accent-soft: #33290f; --teal: #67e8f9; --teal-soft: #11303a;
    --loved: #2b2614; --loved-edge: #fbbf24; --glow: rgb(251 191 36 / .35); --quiet: #8f9ab2;
    --ok: #4ade80; --ok-soft: #12301d; --warn: #fde047; --warn-soft: #33300d; --bad: #fca5a5; --bad-soft: #3b1a1a;
    --shadow-1: 0 1px 2px rgb(0 0 0 / .4); --shadow: 0 1px 2px rgb(0 0 0 / .35), 0 8px 22px -8px rgb(0 0 0 / .5);
    --shadow-lift: 0 2px 4px rgb(0 0 0 / .4), 0 20px 40px -14px rgb(0 0 0 / .7);
    --banner: #0a1020; --banner-2: #1e3a8a; --banner-em: #fde68a;
    color-scheme: dark;
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; font-size: 140%; } /* "Normal" is well up from the browser's default: easy to read and tap */
html[data-text="xs"] { font-size: 112.5%; }
html[data-text="s"] { font-size: 125%; }
html[data-text="l"] { font-size: 155%; }
html[data-text="xl"] { font-size: 170%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 1rem/1.6 var(--f-body); font-optical-sizing: auto; overflow-wrap: anywhere; overflow-x: clip;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; font-feature-settings: 'cv11', 'ss03'; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.12; font-weight: 600; letter-spacing: -.02em; margin: 0 0 .5rem; text-wrap: balance; }
h1 { font-size: clamp(1.9rem, 4.4vw, 2.8rem); letter-spacing: -.028em; }
h2 { font-size: clamp(1.35rem, 2.8vw, 1.7rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 .8rem; text-wrap: pretty; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .15s, text-decoration-color .15s; }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; height: auto; }
abbr { text-decoration: none; }
code { font-size: .9em; background: var(--line-2); padding: .05em .35em; border-radius: 5px; }
::selection { background: var(--accent-soft); color: var(--ink); }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 1rem; top: 1rem; z-index: 99; background: var(--paper); padding: .5rem 1rem; border-radius: 8px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.wrap.wide { max-width: 1240px; }
.muted { color: var(--muted); } .small { font-size: .88rem; } .fine { font-size: .8rem; color: var(--muted); }
.link { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .2rem; }
.link:hover { text-decoration: underline; }
.link .ic, .more-link .ic { transition: transform .2s var(--ease); }
.link:hover .ic { transform: translateX(3px); }
.ic { vertical-align: -3px; flex: none; }
main { padding-top: 1.5rem; padding-bottom: 3rem; min-height: 60vh; }
.eyebrow { display: inline-flex; align-items: center; gap: .4rem; margin: 0 0 .45rem; font-size: .72rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.eyebrow .ic { width: 15px; height: 15px; vertical-align: 0; }
.sec-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: .9rem; }
.sec-h h2 { margin: 0; }
.more-link { white-space: nowrap; font-size: .92rem; }
/* Emoji that come from our data (dish types, vitals) sit in a neat neutral tile, so they read as icons. */
.glyph { display: inline-grid; place-items: center; flex: none; width: 2.3rem; height: 2.3rem; border-radius: 10px; background: var(--line-2);
  font-family: var(--f-emoji); font-size: 1.15rem; line-height: 1; box-shadow: inset 0 0 0 1px var(--line); }
.glyph.sm { width: 1.65rem; height: 1.65rem; border-radius: 7px; font-size: .88rem; margin-right: .5rem; vertical-align: -.35rem; }
.glyph.big { width: 3.2rem; height: 3.2rem; border-radius: 14px; font-size: 1.7rem; }
.h-glyph { display: flex; align-items: center; gap: .8rem; }
/* Where we have a drawn food icon (src/lib/food-icons.js) it replaces the emoji: no tile, a little bigger, so the drawing carries it. */
.glyph:has(> .ficon) { background: none; box-shadow: none; border-radius: 0; width: 2.9rem; height: 2.9rem; }
.glyph.sm:has(> .ficon) { width: 1.9rem; height: 1.9rem; }
.glyph.big:has(> .ficon) { width: 4.6rem; height: 4.6rem; }
.glyph.xs { width: 1.4em; height: 1.4em; margin-right: .3em; vertical-align: -.35em; background: none; box-shadow: none; font-size: 1em; }
.ficon { display: block; width: 100%; height: 100%; object-fit: contain; }

/* ---------- header ---------- */
.announce { background: var(--ink); color: var(--paper); text-align: center; padding: .45rem 1rem; font-weight: 600; font-size: .85rem; letter-spacing: .01em; }
.top { background: var(--paper); border-bottom: 1px solid var(--line); view-transition-name: site-top; }
.top-in { display: flex; align-items: center; gap: 1.2rem; padding-top: .8rem; padding-bottom: .6rem; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: .55rem; color: var(--ink); text-decoration: none; }
.brand-mark { width: 2rem; height: 2rem; flex: none; transition: transform .35s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-12deg) scale(1.05); }
.lm-bubble { fill: var(--accent); } .lm-rim { fill: var(--paper); } .lm-well { fill: none; stroke: var(--sun); stroke-width: 2.4; }
.lm-shine { fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; opacity: .55; }
.brand-name { font-family: var(--f-display); font-size: 1.4rem; font-weight: 650; letter-spacing: -.03em; line-height: 1; }
.brand-name em { color: var(--accent); font-style: italic; font-weight: 600; padding-right: .04em;
  background: linear-gradient(var(--loved-edge), var(--loved-edge)) no-repeat 0 100% / 100% .11em; }
.brand-city { align-self: center; font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: .2rem .55rem; margin-left: .15rem; }
/* City switcher: the city name beside the logo opens a list of cities. */
.brand-row { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; }
.city-pick { position: relative; }
.city-pick summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .4rem; transition: border-color .15s, color .15s; }
.city-pick summary::-webkit-details-marker { display: none; }
.city-pick summary:hover, .city-pick[open] summary { color: var(--ink); border-color: color-mix(in srgb, var(--ink) 30%, var(--line)); }
.city-pick summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cp-caret { width: .4rem; height: .4rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; rotate: 45deg; translate: 0 -.12rem; transition: rotate .2s var(--ease); }
.city-pick[open] .cp-caret { rotate: 225deg; translate: 0 .1rem; }
.city-pop { position: absolute; left: 0; top: calc(100% + .5rem); z-index: 50; min-width: 13rem; background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); padding: .4rem; display: grid; gap: .1rem; }
.cp-h { margin: .3rem .55rem .35rem; font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.city-pop a { display: flex; align-items: center; gap: .55rem; padding: .5rem .6rem; border-radius: 9px; color: var(--ink); text-decoration: none; font-weight: 550; font-size: .95rem; }
.city-pop a .ic { width: 16px; height: 16px; color: var(--muted); }
.city-pop a:hover { background: var(--line-2); }
.city-pop a.on { background: var(--accent-soft); }
.city-pop a.on .ic { color: var(--accent); }
.city-pop .cp-all { border-top: 1px solid var(--line-2); border-radius: 0 0 9px 9px; margin-top: .2rem; padding-top: .6rem; color: var(--muted); font-size: .88rem; }
.top-search { position: relative; margin-left: auto; display: flex; align-items: center; flex: 1 1 160px; min-width: 0; max-width: 380px; } /* min-width: shrinks before the buttons wrap */
.top-search input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 11px; padding: .5rem 2.4rem .5rem 2.3rem; font: inherit; font-size: .9rem;
  background: var(--bg); color: var(--ink); transition: border-color .15s, box-shadow .15s, background .15s; -webkit-appearance: none; appearance: none; }
.top-search input::placeholder { color: var(--muted); }
.top-search input:focus { outline: none; border-color: var(--accent); background: var(--paper); box-shadow: 0 0 0 4px var(--accent-soft); }
.ts-ic { position: absolute; left: .75rem; top: 50%; translate: 0 -50%; color: var(--muted); display: flex; pointer-events: none; }
.ts-ic .ic { width: 17px; height: 17px; }
.ts-kbd { position: absolute; right: .55rem; top: 50%; translate: 0 -50%; font: 600 .72rem/1 var(--f-body); color: var(--muted); border: 1px solid var(--line);
  border-bottom-width: 2px; border-radius: 6px; padding: .2rem .42rem; background: var(--paper); pointer-events: none; transition: opacity .15s; }
.top-search input:focus ~ .ts-kbd, .top-search input:not(:placeholder-shown) ~ .ts-kbd { opacity: 0; }
.nav { border-top: 1px solid var(--line-2); }
.nav-in { display: flex; align-items: center; gap: .15rem; overflow-x: auto; scrollbar-width: none; }
.nav-in::-webkit-scrollbar { display: none; }
.nav a { position: relative; display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; padding: .75rem .8rem; text-decoration: none; color: var(--muted); font-weight: 550; font-size: .9rem; transition: color .15s; }
.nav a .nv-e { display: inline-flex; }
.nav a .nv-e .ic { width: 17px; height: 17px; }
.nav a:hover { color: var(--ink); }
.nav a::after { content: ''; position: absolute; left: .8rem; right: .8rem; bottom: -1px; height: 2px; border-radius: 2px; background: var(--accent);
  transform: scaleX(0); transition: transform .25s var(--ease); }
.nav a:hover::after { transform: scaleX(.4); }
.nav a.on { color: var(--ink); font-weight: 650; }
.nav a.on::after { transform: scaleX(1); }
.nav a.on .nv-e { color: var(--accent); }
.nav a.nav-cta { margin-left: auto; background: var(--accent); color: var(--accent-ink); border-radius: 10px; padding: .45rem .9rem; font-weight: 600; box-shadow: var(--shadow-1); }
.nav a.nav-cta::after { display: none; }
.nav a.nav-cta:hover { filter: brightness(1.08); }
.nv-s { display: none; }

/* Wide screens: the header stays at the top, frosted, and picks up a soft shadow once you scroll. */
@media (min-width: 761px) {
  html { scroll-padding-top: 8rem; }
  .top { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--paper) 84%, transparent);
    -webkit-backdrop-filter: saturate(1.8) blur(16px); backdrop-filter: saturate(1.8) blur(16px); }
  @supports (animation-timeline: scroll()) {
    .top { animation: top-lift linear both; animation-timeline: scroll(root); animation-range: 0 90px; }
    @keyframes top-lift { to { box-shadow: 0 10px 30px -18px rgb(16 22 47 / .45); border-bottom-color: transparent; } }
  }
}

/* ---------- buttons, chips, badges ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  padding: .6rem 1.1rem; border-radius: var(--radius-sm); font: inherit; font-size: .95rem; font-weight: 600; text-decoration: none; cursor: pointer; line-height: 1.2;
  box-shadow: var(--shadow-1); transition: transform .15s var(--ease), box-shadow .2s, border-color .15s, background .15s, filter .15s; }
.btn:hover { border-color: color-mix(in srgb, var(--ink) 35%, var(--line)); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .ic { width: 18px; height: 18px; }
.btn.primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn.accent { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn.primary:hover, .btn.accent:hover { filter: brightness(1.12); }
.btn.ghost { background: transparent; box-shadow: none; }
.btn.ghost:hover { background: var(--paper); }
.btn.danger { color: var(--bad); border-color: color-mix(in srgb, var(--bad) 45%, transparent); }
.btn.small { padding: .38rem .75rem; font-size: .85rem; }
.btn.big { padding: .85rem 1.6rem; font-size: 1.05rem; }
.btn.block { width: 100%; }
.chip { display: inline-flex; align-items: center; gap: .3rem; background: var(--line-2); border: 1px solid var(--line); border-radius: 999px; padding: .12rem .6rem; font-size: .8rem;
  font-weight: 550; margin: 0 .25rem .25rem 0; white-space: nowrap; color: var(--ink-2); }
.badge { display: inline-block; font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: .18rem .5rem; border-radius: 6px; vertical-align: .35em;
  margin-left: .45rem; font-family: var(--f-body); line-height: 1.3; }
.badge.sample { background: var(--warn-soft); color: var(--warn); border: 1px dashed currentColor; }
.badge.team { background: var(--teal-soft); color: var(--teal); margin-left: 0; }
.notice { display: flex; gap: .55rem; align-items: flex-start; background: var(--teal-soft); border-radius: var(--radius-sm); padding: .7rem .95rem; font-size: .92rem; }
.notice .ic { margin-top: .15rem; color: var(--teal); }
.notice.warn { background: var(--warn-soft); }
.flash, .form-ok { background: var(--ok-soft); color: var(--ok); border-radius: var(--radius-sm); padding: .75rem 1rem; font-weight: 600; margin: 0 0 1rem; }
.form-err { background: var(--bad-soft); color: var(--bad); border-radius: var(--radius-sm); padding: .75rem 1rem; font-weight: 600; margin: 0 0 1rem; }
.empty .btn { margin-left: .4rem; vertical-align: middle; }
.empty { color: var(--muted); padding: 1.6rem 1.2rem; text-align: center; background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius); }
.crumbs { font-size: .85rem; font-weight: 550; margin: 0 0 .5rem; color: var(--muted); }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.lede { font-size: 1.08rem; line-height: 1.55; color: var(--muted); max-width: 42rem; }
.page-h { margin: .5rem 0 1.4rem; }

/* ---------- home: hero ---------- */
.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; padding: 3rem 0 2.2rem; }
.hero::before { content: ''; position: absolute; z-index: -1; inset: -1.5rem auto -2rem 50%; width: 100vw; translate: -50% 0; pointer-events: none;
  background:
    radial-gradient(38rem 22rem at 82% 30%, color-mix(in srgb, var(--sun) 16%, transparent), transparent 70%),
    radial-gradient(34rem 26rem at 12% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%),
    radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--ink) 9%, transparent) 1px, transparent 1.5px) 0 0 / 22px 22px;
  -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 3.9rem); line-height: 1.02; letter-spacing: -.035em; margin-bottom: .9rem; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--accent); white-space: nowrap;
  background: linear-gradient(color-mix(in srgb, var(--sun) 45%, transparent), color-mix(in srgb, var(--sun) 45%, transparent)) no-repeat 0 88% / 100% .16em; }
.hero .lede { margin: 0 0 1.5rem; font-size: 1.12rem; }
.hero-search { position: relative; display: flex; align-items: center; gap: .4rem; max-width: 34rem; margin: 0 0 1rem; background: var(--paper); border: 1px solid var(--line);
  border-radius: 14px; padding: .35rem .35rem .35rem 2.6rem; box-shadow: var(--shadow); transition: box-shadow .2s, border-color .2s; }
.hero-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft), var(--shadow); }
.hs-ic { position: absolute; left: .9rem; top: 50%; translate: 0 -50%; display: flex; color: var(--muted); }
.hero-search input { flex: 1; min-width: 0; font: inherit; font-size: 1rem; padding: .55rem .2rem; border: 0; background: transparent; color: var(--ink); outline: none; }
.hero-search input::placeholder { color: var(--muted); }
.hero-search .btn { padding: .6rem 1.2rem; }
.hero-cta { display: flex; gap: .6rem; flex-wrap: wrap; }
/* Recently loved dishes, floating like little order tickets around a plate. */
.hero-floats { position: relative; list-style: none; margin: 0; padding: 0; min-height: 21rem; }
.hero-floats::before, .hero-floats::after { content: ''; position: absolute; left: 50%; top: 50%; translate: -50% -50%; border-radius: 50%; pointer-events: none; }
.hero-floats::before { width: 18rem; height: 18rem; background: radial-gradient(circle, var(--paper) 52%, var(--line-2) 53%, var(--line-2) 64%, var(--paper) 65%);
  box-shadow: var(--shadow-lift), inset 0 0 0 1px var(--line); }
.hero-floats::after { width: 10rem; height: 10rem; border: 2px dashed color-mix(in srgb, var(--sun) 55%, transparent); animation: spin 60s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.hf { position: absolute; z-index: 1; animation: bob 7s ease-in-out infinite alternate; }
.hf a { display: flex; align-items: center; gap: .65rem; width: 16.5rem; background: color-mix(in srgb, var(--paper) 92%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: 14px; padding: .6rem .8rem .6rem .6rem; box-shadow: var(--shadow-lift); text-decoration: none; color: var(--ink);
  transition: transform .25s var(--ease), border-color .2s; }
.hf a:hover { transform: translateY(-3px) scale(1.02); border-color: var(--loved-edge); }
.hf-react { display: grid; place-items: center; flex: none; white-space: nowrap; min-width: 2.4rem; height: 2.4rem; padding: 0 .3rem; border-radius: 10px; background: var(--loved); font-family: var(--f-emoji); font-size: 1.05rem; }
.hf-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; flex: 1; }
.hf-text b { font-weight: 650; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hf-text small { color: var(--muted); font-size: .76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hf-lit { font-size: .6rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--warn); background: var(--loved); border: 1px solid color-mix(in srgb, var(--loved-edge) 45%, transparent);
  border-radius: 999px; padding: .12rem .45rem; margin-left: .15rem; flex: none; }
.hf-0 { top: 0; left: 4%; rotate: -2deg; }
.hf-1 { top: 27%; right: -2%; rotate: 1.5deg; animation-delay: -2s; }
.hf-2 { top: 55%; left: -3%; rotate: 1deg; animation-delay: -4s; }
.hf-3 { bottom: 0; right: 8%; rotate: -1.5deg; animation-delay: -6s; }
@keyframes bob { from { translate: 0 -5px; } to { translate: 0 6px; } }
/* Live totals under the hero */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 2.4rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.stats > div { padding: 1rem 1.3rem 1.1rem; }
.stats > div + div { border-left: 1px solid var(--line-2); }
.stats dt { font-size: .7rem; font-weight: 650; letter-spacing: .11em; text-transform: uppercase; color: var(--muted); }
.stats dd { margin: .15rem 0 0; }
.stat-n { font-family: var(--f-display); font-size: 2.15rem; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums lining-nums; }
.stats > div:nth-child(3) .stat-n { color: var(--loved-edge); text-shadow: 0 0 18px var(--glow); }

.block { margin: 2.6rem 0; }
.type-chips { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.type-chips a { position: relative; display: flex; align-items: center; gap: .7rem; height: 100%; background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  padding: .6rem .8rem .6rem .6rem; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; box-shadow: var(--shadow-1);
  transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
.type-chips a:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.tc-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.type-chips small { font-weight: 450; color: var(--muted); font-size: .76rem; margin-top: .1rem; }
.type-chips li.none a { opacity: .6; box-shadow: none; }
.type-chips li.none a:hover { opacity: 1; }
.type-chips a.more { justify-content: center; color: var(--accent); }
.steps { list-style: none; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); counter-reset: step; }
.steps li { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.25rem; box-shadow: var(--shadow-1); color: var(--muted); font-size: .94rem; counter-increment: step; }
.steps li::after { content: counter(step, decimal-leading-zero); position: absolute; top: 1rem; right: 1.2rem; font: italic 500 1.4rem/1 var(--f-display); color: var(--line); }
.steps b { display: block; font-family: var(--f-display); font-size: 1.15rem; font-weight: 600; color: var(--ink); margin: .7rem 0 .3rem; letter-spacing: -.015em; }
.step-ic { display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 11px; background: var(--accent-soft); color: var(--accent); }

/* ---------- restaurant cards ---------- */
.rgrid { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.rcard-a { position: relative; display: flex; flex-direction: column; gap: .25rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.1rem 1.2rem 1.15rem; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-1); height: 100%;
  transition: transform .22s var(--ease), box-shadow .22s, border-color .2s; }
.rcard-a:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: color-mix(in srgb, var(--accent) 30%, var(--line)); }
.rcard-name { font-family: var(--f-display); font-size: 1.28rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; padding-right: 1.6rem; }
.rcard-sub { color: var(--muted); font-size: .86rem; }
.rcard-stats { font-size: .84rem; margin-top: auto; padding-top: .55rem; color: var(--ink-2); }
.rcard-stats b { font-weight: 650; }
.rcard-bar { display: block; height: 4px; border-radius: 4px; background: var(--line-2); overflow: hidden; margin-top: .45rem; }
.rcard-bar > span { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--sun), var(--loved-edge)); box-shadow: 0 0 10px var(--glow); }
.rcard-bar > .w0 { width: 0; }
.rcard-go { position: absolute; top: 1.05rem; right: 1rem; color: var(--muted); transition: transform .22s var(--ease), color .2s; }
.rcard-a:hover .rcard-go { color: var(--accent); transform: translateX(3px); }
.price-level { font-weight: 650; color: var(--teal); letter-spacing: .04em; }
.pick-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.pick-list a { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: .85rem 1rem;
  text-decoration: none; color: var(--ink); box-shadow: var(--shadow-1); transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.pick-list a:hover { border-color: var(--accent); transform: translateX(2px); box-shadow: var(--shadow); }
.pick-list a b { font-weight: 650; }
.pick-list a span { color: var(--muted); font-size: .88rem; flex: 1 1 11rem; min-width: 0; } /* drops under a long name instead of squeezing to one letter a line */
.pick-list a .ic { color: var(--muted); }

/* ---------- filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .7rem .8rem; align-items: flex-end; background: var(--paper); border: 1px solid var(--line); padding: .95rem 1rem; border-radius: var(--radius); box-shadow: var(--shadow-1); margin-bottom: 1.1rem; }
.fsel { display: flex; flex-direction: column; gap: .25rem; font-size: .66rem; font-weight: 650; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.fsel.grow { flex: 1 1 190px; }
.fsel select, .fsel input { font: inherit; font-size: .9rem; text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--ink); background: var(--bg); border: 1px solid var(--line);
  border-radius: 9px; padding: .45rem .6rem; max-width: 100%; transition: border-color .15s, box-shadow .15s; }
.fsel select { -webkit-appearance: none; appearance: none; padding-right: 1.9rem; cursor: pointer;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23778099' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .6rem center; }
.fsel select:hover, .fsel input:hover { border-color: color-mix(in srgb, var(--ink) 25%, var(--line)); }
.fsel select:focus, .fsel input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.fcities { border: 0; margin: 0; padding: 0; min-width: 0; }
.fcities legend { padding: 0; margin-bottom: .3rem; font-size: .66rem; font-weight: 650; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.fc-row { display: flex; flex-wrap: wrap; gap: .35rem .5rem; }
.filters .fcities .check { padding: .38rem .7rem .38rem .55rem; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); cursor: pointer; gap: .35rem; }
.filters .fcities .check:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.filters .fcities .check input { margin: 0; }
.filters .check { font-weight: 550; font-size: .88rem; display: flex; gap: .4rem; align-items: center; padding-bottom: .5rem; }
.count { font-size: .82rem; color: var(--muted); font-weight: 600; letter-spacing: .02em; }

/* ---------- the menu ---------- */
.legend { font-size: .88rem; color: var(--muted); }
.lg { font-weight: 650; padding: .08rem .5rem; border-radius: 6px; }
.lg-loved { background: var(--loved); color: var(--ink); box-shadow: inset 3px 0 0 var(--loved-edge), 0 0 12px var(--glow); }
.lg-quiet { color: var(--quiet); border: 1px dashed var(--line); }
/* The menu looks like a printed card: an inner hairline frame and centred section heads. */
.menu-card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 2rem 2rem .9rem; margin-bottom: 1.8rem; }
.menu-card::before { content: ''; position: absolute; inset: 7px; border: 1px solid var(--line-2); border-radius: 13px; pointer-events: none; }
.menu-title { font-size: 2.3rem; text-align: center; font-weight: 500; font-style: italic; letter-spacing: -.03em; margin-bottom: .2rem; }
.menu-card > .legend { text-align: center; margin: 0 auto 1rem; max-width: 34rem; }
.menu-sec { margin-bottom: 1.4rem; }
.menu-sec-h { font-family: var(--f-body); font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .22em; text-align: center; color: var(--accent);
  margin: 1.2rem 0 .7rem; display: flex; align-items: center; gap: 1rem; }
.menu-sec-h::before, .menu-sec-h::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line) 30%, var(--line) 70%, transparent); }
.menu-sec-h a { text-decoration: none; }
.menu-sec-note { text-align: center; color: var(--muted); font-size: .86rem; font-style: italic; }
.menu-list { list-style: none; margin: 0; padding: 0; }
.mi { position: relative; padding: .7rem .85rem; border-radius: 11px; margin-bottom: .3rem; scroll-margin-top: 8rem; transition: background .2s; }
.mi:target { outline: 2px solid var(--sun); outline-offset: 2px; }
.mi-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .45rem; } /* a long price drops under the name, never off the edge */
.mi-name { font-family: var(--f-display); font-size: 1.12rem; font-weight: 550; letter-spacing: -.01em; }
.mi-dots { flex: 1; border-bottom: 1.5px dotted var(--line); transform: translateY(-5px); min-width: 1rem; }
.mi-price { margin-left: auto; max-width: 100%; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; font-size: .95rem; }
.mi-from { font-size: .84rem; font-weight: 550; }
.mi-from a { color: var(--teal); text-decoration: none; }
.mi-from a:hover { text-decoration: underline; }
.mi-desc { margin: .15rem 0 .25rem; font-size: .88rem; color: var(--muted); max-width: 46rem; }
.mi-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem .75rem; font-size: .82rem; }
.diet abbr { font-size: .6rem; font-weight: 700; border: 1px solid currentColor; border-radius: 4px; padding: .02rem .25rem; margin-left: .2rem; color: var(--teal); vertical-align: .15em; letter-spacing: .04em; }
.loves { display: inline-flex; align-items: center; gap: .35rem; text-decoration: none; color: var(--ink); font-weight: 600; }
.loves:hover span:last-child { text-decoration: underline; }
.tally { font-family: var(--f-emoji); font-size: 1rem; }
.tally b { font-family: var(--f-body); font-size: .7rem; margin-left: 1px; font-weight: 650; }
.quiet-note { font-style: italic; color: var(--quiet); }
/* "Add your review": a small accent button on every dish, reviewed or not. */
.mi-review { margin-left: auto; display: inline-flex; align-items: center; gap: .35rem; padding: .32rem .75rem; border-radius: 999px; background: var(--accent); color: var(--accent-ink);
  font-size: .82rem; font-weight: 650; text-decoration: none; white-space: nowrap; box-shadow: var(--shadow-1); transition: filter .15s, transform .15s var(--ease); }
.mi-review .ic { width: 14px; height: 14px; }
.mi-review:hover { filter: brightness(1.12); transform: translateY(-1px); }
.type-link { color: var(--muted); text-decoration: none; font-weight: 550; }
.type-link:hover { color: var(--accent); }
/* Reviewed dishes are lit up in gold; ones waiting for a review are dimmed (still AA-readable). */
.mi.is-loved { background: linear-gradient(90deg, var(--loved), color-mix(in srgb, var(--loved) 30%, transparent)); box-shadow: inset 3px 0 0 var(--loved-edge); overflow: hidden; }
.mi.is-loved .mi-name::before { content: ''; display: inline-block; width: .45rem; height: .45rem; border-radius: 50%; margin-right: .5rem; vertical-align: .18em;
  background: var(--loved-edge); box-shadow: 0 0 0 3px var(--glow), 0 0 12px 2px var(--glow); }
.mi.is-quiet { color: var(--quiet); }
.mi.is-quiet:hover { background: var(--bg); }
.mi.is-quiet .mi-name { font-weight: 450; }
.mi.is-quiet .mi-price { font-weight: 500; }
.mi-ad { list-style: none; margin: .6rem 0; }
.menu-src { display: flex; gap: .5rem; align-items: flex-start; font-size: .8rem; color: var(--muted); border-top: 1px solid var(--line-2); padding-top: .9rem; margin-top: 1rem; }
.menu-src .ic { margin-top: .1rem; }

/* ---------- restaurant page ---------- */
.listing { display: grid; gap: 1.8rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .listing { grid-template-columns: minmax(0, 1fr) 310px; } .listing-side { position: sticky; top: 8rem; align-self: start; } }
.r-head { margin-bottom: 1.4rem; }
.r-head h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); letter-spacing: -.035em; line-height: 1.04; }
.r-sub { font-weight: 550; color: var(--muted); font-size: .95rem; }
.r-about { font-size: 1.05rem; color: var(--ink-2); max-width: 44rem; }
.r-stats { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; align-items: center; margin-bottom: .5rem; font-size: .9rem; color: var(--muted); }
.r-stats b { color: var(--ink); font-weight: 650; font-variant-numeric: tabular-nums; }
.lit-meter { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem 1rem; margin: 0 0 1.1rem; }
.lm-dots { display: flex; flex-wrap: wrap; gap: 5px; max-width: 30rem; }
.lm-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.lm-dots i.on { background: var(--loved-edge); box-shadow: 0 0 0 2px var(--glow), 0 0 10px var(--glow); animation: lm-pop .6s var(--ease) both; }
.lm-dots i.on:nth-child(2) { animation-delay: .06s; } .lm-dots i.on:nth-child(3) { animation-delay: .12s; } .lm-dots i.on:nth-child(4) { animation-delay: .18s; }
.lm-dots i.on:nth-child(5) { animation-delay: .24s; } .lm-dots i.on:nth-child(n+6) { animation-delay: .3s; }
@keyframes lm-pop { from { transform: scale(.2); opacity: 0; } 60% { transform: scale(1.35); } to { transform: scale(1); opacity: 1; } }
.lm-label { font-size: .7rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.facts { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); padding: 1.1rem 1.2rem; margin-bottom: 1rem; font-size: .92rem; }
.facts > p { display: flex; gap: .65rem; align-items: flex-start; }
.facts > p .ic, .hours > .ic { color: var(--muted); margin-top: .15rem; }
.hours { display: flex; gap: .65rem; padding-top: .3rem; border-top: 1px solid var(--line-2); margin-top: .3rem; }
.hours table { border-collapse: collapse; font-size: .86rem; font-variant-numeric: tabular-nums; width: 100%; }
.hours th { text-align: left; padding: .12rem .8rem .12rem 0; font-weight: 600; }
.hours td { color: var(--ink-2); }
.features { list-style: none; padding: .7rem 0 0; margin: .6rem 0 0; font-size: .88rem; border-top: 1px solid var(--line-2); }
.features li { margin-bottom: .25rem; display: flex; gap: .45rem; align-items: center; }
.features .ic { color: var(--ok); width: 16px; height: 16px; }

/* ---------- reviews ---------- */
.reviews h2 { margin-top: .5rem; }
.rv-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.rv { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); padding: 1.1rem 1.2rem 1rem; margin-bottom: 1rem; scroll-margin-top: 8rem;
  transition: box-shadow .22s, transform .22s var(--ease); }
.rv-grid .rv { margin: 0; }
.rv-grid .rv:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.rv-team { border-color: color-mix(in srgb, var(--teal) 35%, var(--line)); }
.rv-reacts { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: .55rem; }
.react { display: inline-flex; align-items: center; gap: .3rem; background: var(--loved); border: 1px solid color-mix(in srgb, var(--loved-edge) 30%, transparent); border-radius: 999px;
  padding: .1rem .55rem .1rem .35rem; font-family: var(--f-emoji); font-size: .92rem; }
.react small { font-family: var(--f-body); font-size: .72rem; font-weight: 600; color: var(--ink-2); }
.rv-dish { font-family: var(--f-display); font-size: 1.08rem; font-weight: 600; letter-spacing: -.01em; margin-bottom: .35rem; line-height: 1.3; }
.rv-dish a { color: var(--ink); text-decoration: none; }
.rv-dish a:hover { color: var(--accent); }
.rv-body { color: var(--ink-2); font-size: .95rem; }
.rv-body p { margin-bottom: .5rem; }
.rv-tip { background: var(--teal-soft); border-left: 3px solid var(--teal); border-radius: 4px 9px 9px 4px; padding: .5rem .75rem; font-size: .88rem; }
.rv-vibes { margin-bottom: .3rem; }
.rv-f { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .5rem; font-size: .82rem; margin-top: auto; padding-top: .6rem; border-top: 1px solid var(--line-2); }
.rv-by { font-weight: 650; }
.av { display: inline-grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; color: #fff; font-weight: 700; font-size: .78rem; flex: none; }
.av-0 { background: #2d47c4; } .av-1 { background: #0b7a6f; } .av-2 { background: #b4531a; } .av-3 { background: #7c3aed; } .av-4 { background: #be185d; } .av-5 { background: #4d7c0f; }
.av-team { background: var(--line-2); box-shadow: inset 0 0 0 1px var(--line); }
.av-mark { width: 1.2rem; height: 1.2rem; }
.rv-disclose { display: flex; gap: .4rem; align-items: center; font-size: .8rem; color: var(--teal); margin: .55rem 0 0; }
.report { margin-left: auto; }
.report summary { display: inline-flex; align-items: center; gap: .25rem; cursor: pointer; color: var(--muted); font-size: .76rem; list-style: none; }
.report summary .ic { width: 14px; height: 14px; }
.report summary:hover { color: var(--bad); }
.report summary::-webkit-details-marker { display: none; }
.report[open] { flex-basis: 100%; }
.report-f { background: var(--bg); border-radius: var(--radius-sm); padding: .9rem; margin-top: .5rem; }
.report-f fieldset { border: 0; padding: 0; margin: 0 0 .5rem; }
.radio { display: block; font-size: .9rem; }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: .3rem; margin-bottom: 1.15rem; }
.field > span { font-weight: 600; font-size: .95rem; }
.field em, legend em { font-weight: 450; color: var(--muted); font-style: normal; }
.field small { color: var(--muted); font-size: .8rem; }
input, select, textarea { font: inherit; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .65rem .8rem; transition: border-color .15s, box-shadow .15s; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: color-mix(in srgb, var(--ink) 25%, var(--line)); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 4px var(--accent-soft); }
.row2 { display: grid; gap: 0 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.check { display: flex; gap: .55rem; align-items: flex-start; }
.check input { margin-top: .3rem; width: 1.05rem; height: 1.05rem; accent-color: var(--accent); flex: none; }
.review-form { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 1.6rem; max-width: 46rem; }
.emoji-pick { border: 0; padding: 0; margin: 0 0 1.25rem; display: flex; flex-wrap: wrap; gap: .45rem; }
.emoji-pick legend { font-weight: 600; margin-bottom: .55rem; padding: 0; }
.epick input { position: absolute; opacity: 0; pointer-events: none; }
.epick span { display: inline-flex; align-items: center; gap: .2rem; border: 1px solid var(--line); border-radius: 999px; padding: .4rem .8rem; cursor: pointer; font-weight: 550; font-size: .9rem; user-select: none;
  background: var(--paper); transition: transform .12s var(--ease), border-color .15s, background .15s, box-shadow .15s; }
.epick span:hover { border-color: var(--accent); }
.epick input:checked + span { background: var(--accent-soft); border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); transform: scale(1.03); }
.epick input:focus-visible + span { outline: 2.5px solid var(--accent); outline-offset: 2px; }
.epick input:disabled + span { opacity: .4; cursor: not-allowed; }
.emoji-pick.small .epick span { font-size: .84rem; padding: .3rem .65rem; }
.declare { background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: .85rem; margin-bottom: 1.1rem; font-size: .9rem; }
.counter { font-size: .76rem; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.nudge { background: var(--warn-soft); border: 1px solid color-mix(in srgb, var(--warn) 25%, transparent); border-radius: var(--radius); padding: 1.1rem 1.3rem; margin-bottom: 1rem; max-width: 46rem; }
.nudge h2 { font-size: 1.2rem; display: flex; align-items: center; gap: .5rem; }
.nudge h2 .ic { color: var(--warn); }

/* ---------- thanks / private link ---------- */
.thanks { max-width: 42rem; margin: 1.5rem auto; text-align: center; }
.done-badge { display: inline-grid; place-items: center; width: 4rem; height: 4rem; border-radius: 50%; background: var(--ok-soft); color: var(--ok); margin-bottom: 1rem;
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--ok-soft) 50%, transparent); animation: badge-in .6s var(--ease) both; }
.done-badge .ic { width: 30px; height: 30px; stroke-width: 2.4; }
.done-badge.muted-badge { background: var(--line-2); color: var(--muted); box-shadow: 0 0 0 8px color-mix(in srgb, var(--line-2) 50%, transparent); }
@keyframes badge-in { from { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.12); } to { transform: none; opacity: 1; } }
.private-link { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.2rem 1.3rem; margin: 1.6rem 0; text-align: left; position: relative; overflow: hidden; }
.private-link::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--accent); }
.private-link h2 { font-size: 1.2rem; display: flex; align-items: center; gap: .5rem; }
.private-link h2 .ic { color: var(--accent); }
.plink { font-weight: 600; word-break: break-all; font-size: .95rem; background: var(--bg); border: 1px dashed var(--line); border-radius: 9px; padding: .55rem .75rem; }
.status-card { display: flex; gap: 1rem; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); padding: 1.1rem 1.25rem; margin-bottom: 1.5rem; max-width: 46rem; }
.status-ic { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 12px; background: var(--line-2); color: var(--muted); flex: none; }
.status-ic .ic { width: 24px; height: 24px; }
.st-approved .status-ic { background: var(--ok-soft); color: var(--ok); }
.st-pending .status-ic { background: var(--warn-soft); color: var(--warn); }
.st-rejected .status-ic { background: var(--bad-soft); color: var(--bad); }
.danger-zone { margin-top: 2rem; border-top: 1px solid var(--line); padding-top: 1.2rem; max-width: 46rem; }

/* ---------- ads (always labelled) ---------- */
.ad-slot { margin: 1.4rem 0; display: grid; gap: .8rem; }
.ad-slot.strip { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 0; margin-bottom: 2rem; }
.ad { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.ad:hover { box-shadow: var(--shadow); }
.ad-house { border-style: dashed; border-color: color-mix(in srgb, var(--teal) 55%, transparent); }
.ad-label { position: absolute; top: .5rem; right: .6rem; font-size: .6rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--bg); color: var(--muted);
  padding: .14rem .45rem; border-radius: 5px; z-index: 1; border: 1px solid var(--line-2); }
.ad-house .ad-label { color: var(--teal); }
.ad a, .ad > div { display: flex; gap: .8rem; align-items: center; padding: 1rem 1.1rem; text-decoration: none; color: var(--ink); }
.ad.has-img a, .ad.has-img > div { flex-direction: column; align-items: stretch; padding: 0 0 1rem; }
.ad img { display: block; width: 100%; object-fit: cover; max-height: 260px; }
.ad-text { display: flex; flex-direction: column; gap: .2rem; padding-right: 3.8rem; font-size: .92rem; }
.ad.has-img .ad-text { padding: 0 1.1rem; }
.ad-text b { font-family: var(--f-display); font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; }
.ad-cta { display: inline-flex; align-items: center; gap: .15rem; font-weight: 600; color: var(--accent); }

/* ---------- prose pages ---------- */
.prose { max-width: 44rem; }
.prose h2 { margin-top: 2rem; }
.prose li { margin-bottom: .4rem; }
.two-col { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card-ok, .card-no { border-radius: var(--radius); padding: 1.1rem 1.3rem .5rem; border: 1px solid transparent; }
.card-ok { background: var(--ok-soft); border-color: color-mix(in srgb, var(--ok) 20%, transparent); }
.card-no { background: var(--bad-soft); border-color: color-mix(in srgb, var(--bad) 20%, transparent); }
.card-ok h2, .card-no h2 { margin-top: 0; font-size: 1.2rem; }

/* ---------- footer ---------- */
.foot { background: var(--banner); color: rgb(255 255 255 / .72); padding: 2.4rem 0 2.2rem; font-size: .88rem; position: relative; overflow: hidden; }
.foot::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(40rem 20rem at 100% 0%, color-mix(in srgb, var(--banner-2) 70%, transparent), transparent 70%); }
.foot .wrap { position: relative; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot-top { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.4rem 2.5rem; align-items: start; }
.foot-brand { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--f-display); font-size: 1.35rem; font-weight: 600; letter-spacing: -.03em; color: #fff; }
.foot-brand em { font-style: italic; color: var(--banner-em); }
.foot-mark { width: 2rem; height: 2rem; }
.foot-mark .lm-bubble { fill: #fff; } .foot-mark .lm-rim { fill: var(--banner); } .foot-mark .lm-well { stroke: var(--banner-em); } .foot-mark .lm-shine { stroke: #fff; }
.honesty { display: flex; gap: .7rem; align-items: flex-start; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .1); border-radius: 12px; padding: .85rem 1rem; color: rgb(255 255 255 / .82); margin: 0; }
.honesty .ic { color: var(--banner-em); margin-top: .15rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin: 1.6rem 0 1rem; font-weight: 550; padding-top: 1.2rem; border-top: 1px solid rgb(255 255 255 / .1); }
.foot-cities { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; align-items: baseline; margin: 0 0 1rem; font-weight: 550; }
.foot-cities span { font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: rgb(255 255 255 / .55); }
.foot .fine { color: rgb(255 255 255 / .55); margin: 0; }
@media (max-width: 700px) { .foot-top { grid-template-columns: 1fr; } }

@media (max-width: 560px) {
  .menu-card { padding: 1.3rem .7rem .5rem; border-radius: 14px; }
  .menu-card::before { inset: 5px; border-radius: 10px; }
  .mi { padding: .6rem .6rem; }
  .mi-review { margin-left: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div:nth-child(3) { border-left: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--line-2); }
}

/* ---------- food events ---------- */
.events { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.event { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); padding: 1.1rem 1.25rem 1.1rem 1.5rem; overflow: hidden; }
.event::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 4px; background: linear-gradient(var(--accent), var(--sun)); }
.event h2 { font-size: 1.3rem; margin: .15rem 0 .25rem; }
.event h2 a { color: var(--ink); text-decoration: none; }
.event h2 a:hover { color: var(--accent); }
.event-when { font-weight: 700; color: var(--accent); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.event-where { color: var(--muted); font-size: .9rem; }

/* ---------- Editor's Vitals ---------- */
.vitals { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); padding: 1.2rem 1.3rem .7rem; margin-bottom: 1.8rem; }
.vitals .sec-h { margin-bottom: .35rem; }
.vitals h2 { font-size: 1.4rem; }
.vitals-intro, .vitals-foot { font-size: .84rem; color: var(--muted); }
.vitals-list { margin: .5rem 0; }
.vital { display: grid; grid-template-columns: minmax(8rem, 13rem) 1fr; gap: .25rem 1rem; padding: .65rem 0; border-top: 1px solid var(--line-2); }
.vital dt { font-weight: 600; display: flex; align-items: center; }
.vital dd { margin: 0; display: flex; flex-direction: column; gap: .3rem; justify-content: center; }
.vital-crowd { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; font-size: .88rem; }
.vital-ed { font-size: .85rem; color: var(--muted); }
.vital-ed q { font-style: italic; color: var(--ink-2); }
.vital-fact { font-size: .78rem; color: var(--teal); }
.verdict { display: inline-flex; gap: .3rem; align-items: center; font-weight: 600; border-radius: 999px; padding: .12rem .6rem; font-size: .8rem; border: 1px solid transparent; }
.v-goto { background: var(--loved); border-color: color-mix(in srgb, var(--loved-edge) 55%, transparent); box-shadow: 0 0 10px var(--glow); }
.v-solid { background: var(--teal-soft); border-color: color-mix(in srgb, var(--teal) 25%, transparent); }
.v-meh { background: var(--line-2); color: var(--muted); }
.vote-bar { display: inline-flex; width: 7.5rem; height: 6px; border-radius: 999px; overflow: hidden; background: var(--line-2); gap: 2px; }
.vote-bar span { display: block; height: 100%; border-radius: 999px; }
.vb-goto { background: var(--loved-edge); } .vb-solid { background: var(--teal); } .vb-meh { background: var(--quiet); }
.w1 { width: 10%; } .w2 { width: 20%; } .w3 { width: 30%; } .w4 { width: 40%; } .w5 { width: 50%; }
.w6 { width: 60%; } .w7 { width: 70%; } .w8 { width: 80%; } .w9 { width: 90%; } .w10 { width: 100%; }
@media (max-width: 560px) { .vital { grid-template-columns: 1fr; } }
/* home scroller: ranked lists with big italic numerals */
.scroller { display: flex; gap: .9rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .3rem .2rem 1.1rem; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.tv-card { flex: 0 0 min(80%, 280px); scroll-snap-align: start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); padding: 1rem 1.1rem;
  display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s var(--ease); }
.tv-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.tv-card h3 { font-size: 1.1rem; display: flex; align-items: center; padding-bottom: .55rem; border-bottom: 1px solid var(--line-2); }
.tv-card ol { list-style: none; padding: 0; margin: .4rem 0 .7rem; counter-reset: rank; }
.tv-card li { position: relative; padding: .3rem 0 .3rem 1.9rem; counter-increment: rank; font-size: .9rem; }
.tv-card li::before { content: counter(rank); position: absolute; left: .15rem; top: .12rem; font: italic 600 1.25rem/1.2 var(--f-display); color: var(--accent); }
.tv-card li:first-child::before { color: var(--loved-edge); text-shadow: 0 0 12px var(--glow); }
.tv-card li a { font-weight: 600; color: var(--ink); text-decoration: none; }
.tv-card li a:hover { color: var(--accent); }
.tv-card > .link { margin-top: auto; }
/* review form: vitals */
.vital-pick { border: 0; padding: 0; margin: 0 0 1.25rem; }
.vital-pick legend { font-weight: 600; margin-bottom: .55rem; padding: 0; }
.vp-row { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; margin-bottom: .55rem; padding-bottom: .55rem; border-bottom: 1px solid var(--line-2); }
.vp-q { font-weight: 550; min-width: 13rem; display: inline-flex; align-items: center; font-size: .92rem; }
.vp-row .epick span { font-size: .84rem; padding: .3rem .7rem; }
.vp-row .epick.skip span { color: var(--muted); border-style: dashed; }

/* ---------- the three big buttons (restaurant page, thanks page) ---------- */
.r-actions { display: grid; gap: .55rem; margin: .4rem 0 1.4rem; max-width: 34rem; }
.r-actions .btn { text-align: center; border-radius: 12px; }
.act-main { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-size: 1.08rem; padding: .95rem 1rem; box-shadow: var(--shadow), inset 0 1px 0 rgb(255 255 255 / .18); }
.act-main:hover { filter: brightness(1.1); border-color: var(--accent); }
.act-main .ic { width: 20px; height: 20px; }
.act-row { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.act { padding: .8rem .6rem; font-size: .95rem; background: var(--paper); }
.act .ic { color: var(--accent); }
.r-actions.narrow { margin: 1.5rem auto 0; }
.tap-foot { margin-top: 1.2rem; }

/* ---------- "What did you order?" tap list ---------- */
.tap-sec { margin-bottom: 1rem; }
.tap-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.tap { display: flex; align-items: center; gap: .7rem; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1rem; text-decoration: none; color: var(--ink);
  min-height: 3.2rem; box-shadow: var(--shadow-1); transition: border-color .15s, background .15s, transform .15s var(--ease); }
.tap:hover, .tap:focus-visible { border-color: var(--accent); }
.tap:active { transform: scale(.99); }
.tap.is-loved { background: linear-gradient(90deg, var(--loved), var(--paper)); border-color: color-mix(in srgb, var(--loved-edge) 50%, var(--line)); }
.tap-name { flex: 1; font-family: var(--f-display); font-size: 1.08rem; font-weight: 550; }
.tap-price { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tap .ic { color: var(--accent); }

/* ---------- phones: a deep banner header ---------- */
@media (max-width: 760px) {
  .top { background: radial-gradient(120% 140% at 100% 0%, var(--banner-2), transparent 62%), var(--banner); border-bottom: 0; color: #fff; }
  .top-in { container-type: inline-size; flex-direction: column; align-items: stretch; gap: .6rem; padding-top: 1rem; padding-bottom: .9rem; }
  /* The name fills the width on one line, big enough to read over a shoulder: logo (1.05em) + gap (.22em) + text (7.3em). */
  .brand { flex-wrap: nowrap; align-items: center; gap: .22em; color: #fff; font-size: min(calc(100cqi / 8.75), 5.5rem); }
  .brand-mark { width: 1.05em; height: 1.05em; }
  .brand .lm-bubble { fill: #fff; } .brand .lm-rim { fill: var(--banner); } .brand .lm-well { stroke: var(--banner-em); } .brand .lm-shine { stroke: #fff; }
  .brand-name { font-size: 1em; line-height: 1; white-space: nowrap; color: #fff; }
  .brand-name em { color: var(--banner-em); background-image: none; }
  .brand-row { flex-direction: column; align-items: flex-start; gap: .1rem; }
  .brand-row { gap: .45rem; }
  .city-pick { margin-left: 0; }
  .city-pick summary { white-space: nowrap; }
  .brand-city { color: rgb(255 255 255 / .85); border-color: rgb(255 255 255 / .3); }
  .city-pick summary:hover, .city-pick[open] summary { color: #fff; border-color: rgb(255 255 255 / .6); }
  .top-search { margin-left: 0; max-width: none; flex: 1 1 auto; }
  .top-search input { background: #fff; border-color: transparent; font-size: .95rem; padding: .55rem 1rem .55rem 2.3rem; color: #10162f; }
  .top-search input:focus { box-shadow: 0 0 0 4px rgb(255 255 255 / .25); }
  .ts-ic { color: #5a6280; }
  .ts-kbd { display: none; }
  .nav { background: var(--paper); border-top: 0; border-bottom: 1px solid var(--line); }
  .r-head h1 { font-size: 2.2rem; line-height: 1.06; }
  .r-head .badge { font-size: .6rem; }
  .act-main { font-size: 1.12rem; padding: 1.05rem 1rem; }
}

/* ---------- phones: the menu as a row of tiles, then a full-width Review bar ---------- */
@media (max-width: 760px) {
  .nav-in { display: flex; flex-wrap: wrap; gap: .4rem; overflow: visible; padding-top: .6rem; padding-bottom: .6rem; }
  .nav a { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: .25rem; white-space: normal; text-align: center; border-radius: 12px;
    padding: .6rem .2rem .5rem; font-size: .78rem; font-weight: 600; line-height: 1.15; color: var(--ink-2); background: var(--bg); border: 1px solid var(--line-2); }
  .nav a::after { display: none; }
  .nav a .nv-e { color: var(--accent); }
  .nav a .nv-e .ic { width: 22px; height: 22px; }
  .nav a.on, .nav a.on:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); box-shadow: var(--shadow); }
  .nav a.on .nv-e { color: var(--accent-ink); }
  .nav a.nav-cta { flex: 0 0 100%; flex-direction: row; justify-content: center; gap: .5rem; margin-left: 0; border: 0; border-radius: 12px; font-size: 1.12rem; font-weight: 700; padding: .75rem 1rem;
    background: linear-gradient(180deg, #ffd65a, #ffc22e); color: #10162f; box-shadow: 0 1px 0 rgb(255 255 255 / .6) inset, 0 6px 16px -8px rgb(180 120 0 / .6); }
  .nav a.nav-cta .nv-e { color: #10162f; }
  .nav a.nav-cta:hover { filter: brightness(1.04); }
  .nv-s { display: block; }
  .nv-l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav a.nav-cta .nv-s { display: inline; }
}
/* Small phones: five tiles still fit on one row without breaking words. */
@media (max-width: 360px) {
  .nav-in { gap: .3rem; }
  .nav a { font-size: .7rem; padding-left: .05rem; padding-right: .05rem; letter-spacing: -.01em; }
}

/* ---------- phone home screen ---------- */
.m-only { display: none; }
@media (max-width: 760px) {
  .m-only { display: block; }
  .d-only { display: none; }
  body.home .ad-slot { display: none; }
  .top-in { gap: .5rem; padding-bottom: .8rem; }
  .m-home { padding-top: .6rem; }
  .m-sec { margin-bottom: 1.8rem; }
  .m-sec h2 { font-size: 1.4rem; }
  .recent { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
  .recent a { display: flex; align-items: center; gap: .75rem; background: var(--paper); border: 1px solid var(--line); border-radius: 13px; padding: .7rem .8rem; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-1); }
  .recent a:active { transform: scale(.99); }
  .rc-emoji { display: grid; place-items: center; font-family: var(--f-emoji); font-size: 1rem; width: 3.6rem; flex: none; height: 2.5rem; border-radius: 10px; background: var(--loved); letter-spacing: -.1em; }
  .rc-text { flex: 1; display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
  .rc-text b { font-weight: 650; }
  .rc-text small { color: var(--muted); font-size: .8rem; }
  .recent .ic { color: var(--muted); }
  .vtiles { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
  .vtile { display: flex; flex-direction: column; gap: .2rem; background: var(--paper); border: 1px solid var(--line); border-radius: 13px; padding: .8rem; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-1); }
  .vtile .glyph { margin-bottom: .35rem; }
  .vtile b { font-weight: 650; }
  .vtile small { color: var(--muted); font-size: .78rem; }
  .vt-rank { font: italic 600 .95rem var(--f-display); color: var(--loved-edge); }
  .vt-wide { grid-column: 1 / -1; }
  .vt-links { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .35rem; }
  .vt-links a { background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: .3rem .7rem; font-size: .82rem; font-weight: 550; text-decoration: none; color: var(--ink); }
}

/* ---------- colour themes (chosen with the colour wheel in the header; Blueberry = no attribute) ---------- */
[data-theme="tomato"] { --bg: #fdf8f3; --paper: #fff; --ink: #2a1d14; --ink-2: #47372b; --muted: #6e5f53; --line: #ecdfd0; --line-2: #f5ece1;
  --accent: #c2410c; --accent-ink: #fff; --accent-soft: #fdece0; --teal: #0f766e; --teal-soft: #ddf2ee;
  --loved: #fff4de; --loved-edge: #e89400; --quiet: #7a6d62; --banner: #2a140b; --banner-2: #9a3412; --banner-em: #ffd29e; color-scheme: light; }
[data-theme="basil"] { --bg: #f5f8f2; --paper: #fff; --ink: #18241a; --ink-2: #33433a; --muted: #5b6a58; --line: #dde7d5; --line-2: #ebf1e5;
  --accent: #2f7d32; --accent-ink: #fff; --accent-soft: #e3f1dd; --teal: #0f6e6e; --teal-soft: #dcefec;
  --loved: #fff6d8; --loved-edge: #dc9d00; --quiet: #677565; --banner: #10230f; --banner-2: #2f7d32; --banner-em: #e3f5a8; color-scheme: light; }
[data-theme="blueberry"] { --bg: #f6f7fb; --paper: #fff; --ink: #10162f; --ink-2: #2b3250; --muted: #5a6280; --line: #e1e4ee; --line-2: #eef0f6;
  --accent: #2d47c4; --accent-ink: #fff; --accent-soft: #e9edfc; --teal: #0b6e86; --teal-soft: #e1f2f6;
  --loved: #fff7e6; --loved-edge: #eda100; --quiet: #687090; --banner: #121a3a; --banner-2: #2c42a8; --banner-em: #ffcf4a; color-scheme: light; }
[data-theme="butter"] { --bg: #fffbea; --paper: #fff; --ink: #2b2210; --ink-2: #463a22; --muted: #6c5f43; --line: #efe4bd; --line-2: #f8f1d6;
  --accent: #b45309; --accent-ink: #fff; --accent-soft: #fdeed6; --teal: #0f766e; --teal-soft: #dcf2ee;
  --loved: #fff1c8; --loved-edge: #d98a00; --quiet: #72664b; --banner: #2b1d08; --banner-2: #a1500a; --banner-em: #ffe3a3; color-scheme: light; }
[data-theme="espresso"] { --bg: #17120e; --paper: #221b16; --ink: #f6ece0; --ink-2: #dccdbd; --muted: #b9a998; --line: #3a2f27; --line-2: #2c241e;
  --accent: #fb8a4c; --accent-ink: #1c1612; --accent-soft: #3f2518; --teal: #5eead4; --teal-soft: #163530;
  --loved: #33270f; --loved-edge: #f5b43b; --glow: rgb(245 180 59 / .3); --quiet: #a39383; --ok: #4ade80; --ok-soft: #163420; --warn: #facc15; --warn-soft: #382e0e;
  --bad: #f87171; --bad-soft: #3b1717; --shadow-1: 0 1px 2px rgb(0 0 0 / .4); --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 8px 22px -8px rgb(0 0 0 / .5);
  --shadow-lift: 0 2px 4px rgb(0 0 0 / .4), 0 20px 40px -14px rgb(0 0 0 / .7);
  --banner: #0f0b08; --banner-2: #7c2d12; --banner-em: #ffc79e; color-scheme: dark; }
[data-theme="midnight"] { --bg: #0c1222; --paper: #151d31; --ink: #e9edf7; --ink-2: #ccd3e4; --muted: #a2adc4; --line: #26314a; --line-2: #1d2740;
  --accent: #fbbf24; --accent-ink: #0f172a; --accent-soft: #33290f; --teal: #67e8f9; --teal-soft: #11303a;
  --loved: #2b2614; --loved-edge: #fbbf24; --glow: rgb(251 191 36 / .35); --quiet: #8f9ab2; --ok: #4ade80; --ok-soft: #12301d; --warn: #fde047; --warn-soft: #33300d;
  --bad: #fca5a5; --bad-soft: #3b1a1a; --shadow-1: 0 1px 2px rgb(0 0 0 / .4); --shadow: 0 1px 2px rgb(0 0 0 / .35), 0 8px 22px -8px rgb(0 0 0 / .5);
  --shadow-lift: 0 2px 4px rgb(0 0 0 / .4), 0 20px 40px -14px rgb(0 0 0 / .7);
  --banner: #0a1020; --banner-2: #1e3a8a; --banner-em: #fde68a; color-scheme: dark; }
[data-theme="contrast"] { --bg: #fff; --paper: #fff; --ink: #000; --ink-2: #000; --muted: #222; --line: #000; --line-2: #666;
  --accent: #a3000f; --accent-ink: #fff; --accent-soft: #ffe0e0; --teal: #004d4d; --teal-soft: #d6f5f5;
  --loved: #fff1a8; --loved-edge: #000; --glow: transparent; --quiet: #333; --shadow-1: none; --shadow: none; --shadow-lift: none;
  --banner: #000; --banner-2: #000; --banner-em: #ffe066; color-scheme: light; }
[data-theme="contrast"] .rcard-a, [data-theme="contrast"] .menu-card, [data-theme="contrast"] .rv, [data-theme="contrast"] .vitals, [data-theme="contrast"] .facts { border: 2px solid #000; }
/* Dark themes: the frosted header and the hero glow need a little less light. */
[data-theme="espresso"] .hero::before, [data-theme="midnight"] .hero::before { opacity: .7; }
@media (prefers-color-scheme: dark) { :root[data-theme="auto"] .hero::before { opacity: .7; } }

/* ---------- header controls: colour wheel and A− / A+ text size ---------- */
.prefs { display: flex; gap: .35rem; align-items: center; }
.prefs[hidden] { display: none; }
.theme-pick { position: relative; }
.theme-pick summary, .size-pill { list-style: none; cursor: pointer; height: 2.25rem; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); transition: border-color .15s; }
.theme-pick summary:hover, .size-pill:hover { border-color: color-mix(in srgb, var(--ink) 30%, var(--line)); }
.theme-pick summary { width: 2.25rem; display: grid; place-items: center; }
.theme-pick summary::-webkit-details-marker { display: none; }
.wheel { width: 1.1rem; height: 1.1rem; border-radius: 50%; box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--line);
  background: conic-gradient(#ffcf4a 0 25%, #fb8a4c 0 50%, #2f7d32 0 75%, #2d47c4 0); transition: rotate .5s var(--ease); }
.theme-pick summary:hover .wheel, .theme-pick[open] .wheel { rotate: 90deg; }
.size-pill { display: flex; overflow: hidden; cursor: default; }
.size-pill button { background: none; border: 0; color: inherit; font: inherit; font-weight: 650; line-height: 1; padding: 0 .6rem; cursor: pointer; }
.size-pill button:hover { background: var(--line-2); }
.size-pill button + button { border-left: 1px solid var(--line); }
.size-pill [data-size-step="-1"] { font-size: .74rem; }
.size-pill [data-size-step="1"] { font-size: .95rem; }
.size-pill button[aria-disabled="true"] { opacity: .4; cursor: default; }
.theme-pop { position: absolute; right: 0; top: calc(100% + .5rem); z-index: 50; background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lift); padding: .4rem; display: grid; gap: .15rem; min-width: 14rem; animation: pop-in .18s var(--ease) both; transform-origin: top right; }
@keyframes pop-in { from { opacity: 0; transform: translateY(-4px) scale(.97); } }
.swatch { display: flex; align-items: center; gap: .65rem; background: none; border: 0; border-radius: 9px; padding: .45rem .55rem; font: inherit; font-size: .9rem; font-weight: 550;
  color: var(--ink); cursor: pointer; text-align: left; }
.swatch:hover { background: var(--line-2); }
.swatch[aria-pressed="true"] { background: var(--accent-soft); }
.swatch[aria-pressed="true"]::after { content: '✓'; margin-left: auto; color: var(--accent); font-weight: 700; }
.sw { display: inline-flex; width: 1.6rem; height: 1.6rem; border-radius: 999px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); flex: none; rotate: -45deg; }
.sw i { flex: 1; }
.sw-bg-auto { background: #2d47c4; } .sw-fg-auto { background: #0c1222; }
.sw-bg-tomato { background: #fdf8f3; } .sw-fg-tomato { background: #c2410c; }
.sw-bg-basil { background: #f5f8f2; } .sw-fg-basil { background: #2f7d32; }
.sw-bg-blueberry { background: #f6f7fb; } .sw-fg-blueberry { background: #2d47c4; }
.sw-bg-butter { background: #fffbea; } .sw-fg-butter { background: #b45309; }
.sw-bg-espresso { background: #17120e; } .sw-fg-espresso { background: #fb8a4c; }
.sw-bg-midnight { background: #0c1222; } .sw-fg-midnight { background: #fbbf24; }
.sw-bg-contrast { background: #ffffff; } .sw-fg-contrast { background: #000000; }

@media (max-width: 760px) {
  .top-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand brand" "search prefs"; align-items: center; }
  .brand-row { grid-area: brand; }
  .prefs { grid-area: prefs; }
  .top-search { grid-area: search; }
  .theme-pick summary, .size-pill { background: rgb(255 255 255 / .12); border-color: rgb(255 255 255 / .28); color: #fff; height: 2.4rem; }
  .theme-pick summary { width: 2.4rem; }
  .size-pill button:hover { background: rgb(255 255 255 / .12); }
  .size-pill button + button { border-left-color: rgb(255 255 255 / .28); }
  .wheel { box-shadow: 0 0 0 2px rgb(255 255 255 / .9); }
}

.found-places { margin: 0 0 1.2rem; }
.found-places h2 { font-size: 1.2rem; margin: .4rem 0 .6rem; }
.found-places .found-dishes { margin-top: 1.3rem; }

/* ---------- "What did you order?" tick-list ---------- */
.order-form fieldset { border: 0; padding: 0; margin: 0 0 1rem; min-width: 0; }
.order-form legend { width: 100%; padding: 0; }
.tap.tick { cursor: pointer; }
.tap.tick input { position: absolute; opacity: 0; pointer-events: none; }
.tap-box { width: 1.5rem; height: 1.5rem; border-radius: 7px; border: 1.5px solid var(--line); display: grid; place-items: center; color: transparent; flex: none; background: var(--bg);
  transition: background .15s, border-color .15s, transform .15s var(--ease); }
.tap-box .ic { width: 15px; height: 15px; stroke-width: 3; }
.tap.tick:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.tap.tick input:checked + .tap-box { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transform: scale(1.08); }
.tap.tick input:focus-visible + .tap-box { outline: 2.5px solid var(--accent); outline-offset: 2px; }
.order-done { position: sticky; bottom: 0; background: linear-gradient(transparent, var(--bg) 30%); padding: 1.4rem 0 .5rem; margin-top: .5rem; z-index: 5; }
.order-done .btn { width: 100%; }
.order-done .fine { margin: .45rem 0 0; }

/* ---------- motion: smooth page changes, cards that rise in as you scroll, dishes that catch the light ---------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: vt-out .16s ease-in both; }
  ::view-transition-new(root) { animation: vt-in .3s var(--ease) both; }
  @keyframes vt-out { to { opacity: 0; } }
  @keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }

  @supports (animation-timeline: view()) {
    .rgrid > li, .rv, .type-chips > li, .steps > li, .event, .stats, .tv-card, .vitals, .facts, .pick-list > li, .recent > li, .vtile {
      animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    @keyframes rise { from { opacity: 0; transform: translateY(22px) scale(.985); } }
    /* A soft gold sheen slides across each lit-up dish as it scrolls into view. */
    .mi.is-loved::after { content: ''; position: absolute; inset: 0; pointer-events: none;
      background: linear-gradient(105deg, transparent 35%, rgb(255 255 255 / .55) 50%, transparent 65%); mix-blend-mode: soft-light;
      animation: sheen linear both; animation-timeline: view(); animation-range: entry 20% cover 45%; }
    @keyframes sheen { from { transform: translateX(-110%); } to { transform: translateX(110%); } }
  }
  /* Pointer-following light on cards (site.js sets --mx/--my; nothing happens without it). */
  @media (hover: hover) {
    .rcard-a, .type-chips a, .tv-card { background-image: radial-gradient(22rem circle at var(--mx, -100%) var(--my, -100%), color-mix(in srgb, var(--accent) 7%, transparent), transparent 60%); }
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- print: just the content ---------- */
@media print {
  .top, .nav, .foot, .ad-slot, .r-actions, .report, .prefs { display: none !important; }
  body { background: #fff; }
  .menu-card, .rv, .facts, .vitals { box-shadow: none; }
}

/* ---------- the Cities page ---------- */
.city-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.city-card a { position: relative; display: grid; gap: .3rem; height: 100%; padding: 1.1rem 2.6rem 1.1rem 1.15rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-1); color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s var(--ease), box-shadow .15s; }
.city-card a:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); }
.city-card.here a { border-color: var(--accent); }
.cc-name { font-family: var(--f-display); font-size: 1.45rem; font-weight: 650; letter-spacing: -.02em; }
.cc-name .badge { background: var(--accent-soft); color: var(--accent); vertical-align: .3em; }
.cc-tag { color: var(--muted); font-size: .92rem; }
.cc-stats { font-size: .85rem; font-weight: 600; }
.cc-go { position: absolute; right: 1rem; top: 50%; translate: 0 -50%; color: var(--accent); display: flex; }

/* ---------- the front door (howsthefood.ca) ---------- */
.front-hero { padding: 2.2rem 0 1.4rem; max-width: 46rem; }
.front-hero h2 { font-size: clamp(2.4rem, 6vw, 3.6rem); line-height: 1.02; letter-spacing: -.035em; margin: .3rem 0 .8rem; }
.front-hero h2 em { color: var(--accent); font-style: italic; }
.front-h { font-size: 1.35rem; margin: .4rem 0 .9rem; }
.front-fine { margin-top: 1.4rem; }

/* The opener: phones stack "Just ate?" over "Craving?", filling exactly one screen under the header, with sizes that follow
   the screen's height. Bigger screens put the two side by side, with the city cards below. */
.front main { max-width: none; min-height: 0; padding: 0; }
.city-pin { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 10px; border: 1px solid rgb(255 255 255 / .28); background: rgb(255 255 255 / .12); color: var(--banner-em); }
.op-half { display: flex; flex-direction: column; justify-content: center; gap: clamp(.35rem, 1.2svh, .7rem); padding: clamp(.7rem, 2.4svh, 1.5rem) 20px; }
.op-half h1, .op-half h2 { font-family: 'Poppins', var(--f-body); font-size: min(3.1rem, 14vw, 8.2svh); font-weight: 700; line-height: 1; letter-spacing: -.03em; margin: 0; }
.op-ate { color: #10162f;
  background: radial-gradient(rgb(16 22 47 / .07) 1px, transparent 1.4px) 0 0 / 7px 7px,
    linear-gradient(170deg, color-mix(in srgb, var(--banner-em) 82%, #fff), color-mix(in srgb, var(--banner-em) 88%, #d98a00)); }
.op-ate h1 { text-shadow: 0 2px 0 rgb(255 255 255 / .45); }
.op-ate em { color: var(--banner-2); }
.op-crave { position: relative; color: #fff; box-shadow: 0 -8px 18px rgb(16 22 47 / .28);
  background: radial-gradient(rgb(255 255 255 / .05) 1px, transparent 1.4px) 0 0 / 7px 7px,
    linear-gradient(170deg, color-mix(in srgb, var(--banner) 86%, var(--banner-2)), var(--banner)); }
.op-crave h2 { color: var(--banner-em); text-shadow: 0 3px 10px rgb(0 0 0 / .5); }
.op-crave em { color: var(--banner-em); }
.op-btn { flex: 1 1 0; display: flex; align-items: center; min-height: 3.2rem; max-height: 7rem; padding: .4rem .9rem; border-radius: 16px; font-family: 'Poppins', var(--f-body); font-size: min(1.6rem, 7.3vw);
  font-weight: 700; line-height: 1.1; letter-spacing: -.02em; text-decoration: none; box-shadow: inset 0 1px 0 rgb(255 255 255 / .35), 0 3px 4px rgb(16 22 47 / .18), 0 12px 20px -8px rgb(16 22 47 / .5);
  transition: transform .12s var(--ease); }
.op-btn:active { transform: translateY(2px); }
.op-dish, .op-dish:hover { background: linear-gradient(180deg, color-mix(in srgb, var(--banner) 85%, var(--banner-2)), var(--banner)); color: #fff; }
.op-dish, .op-place { flex-direction: column; align-items: flex-start; justify-content: center; min-height: 4rem; }
.op-btn small { margin-top: .15rem; font-family: var(--f-body); font-size: .95rem; font-weight: 500; line-height: 1.2; letter-spacing: 0; color: var(--banner-em); }
.op-place small { color: var(--banner-2); }
.op-place, .op-place:hover { background: linear-gradient(180deg, #fff, #fff7e6); color: #10162f; }
/* White on yellow needs help to read as a button: a thin edge in the theme's dark colour, a firmer shadow, and some air above it. */
.op-place { margin-top: clamp(.2rem, 1.2svh, .7rem); padding-inline: calc(.9rem - 2px); border: 2px solid var(--banner); box-shadow: inset 0 1px 0 #fff, 0 3px 4px rgb(16 22 47 / .3), 0 14px 22px -8px rgb(16 22 47 / .6); }
.op-search { display: flex; align-items: center; gap: .35rem; min-height: 3.35rem; padding: .35rem .35rem .35rem .8rem; border-radius: 16px; background: #fff;
  box-shadow: inset 0 1px 3px rgb(16 22 47 / .2), 0 10px 20px -8px rgb(0 0 0 / .65); }
.op-search input[type="search"] { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; color: #10162f; font: inherit; }
.op-search input::placeholder { color: #5a6280; }
.op-search button { flex: none; min-height: 2.6rem; padding: 0 .9rem; border: 0; border-radius: 11px; background: var(--banner-em); color: #10162f; font: inherit; font-size: .85rem; font-weight: 700; cursor: pointer; }
@media (max-width: 760px) {
  .front-desk { display: none; }
  /* The header's height is worked out, not measured, so the opener can fill exactly what's left of the screen. */
  .front { --brand: min(calc((100vw - 40px) / 8.75), 5.5rem); --head: calc(var(--brand) * 1.05 + 4.3rem); }
  .front .top-in { box-sizing: border-box; height: var(--head); gap: .45rem .5rem; padding-top: .7rem; padding-bottom: .7rem; grid-template-areas: "brand brand" "support prefs"; align-content: center; }
  .front .brand-row { display: contents; }
  .front .brand { grid-area: brand; }
  .front .brand-sub { grid-area: support; width: auto; min-height: 2.45rem; }
  .front .prefs { white-space: nowrap; }
  .opener { display: flex; flex-direction: column; min-height: calc(100svh - var(--head)); }
  .front .sup-top { white-space: nowrap; }
  .op-ate { flex: 1.4 1 auto; }
  .op-crave { flex: 1 1 auto; }
}

/* Bigger screens: the same two questions side by side, under the same deep banner header as phones. */
@media (min-width: 761px) {
  .opener { display: grid; grid-template-columns: 1fr 1fr; min-height: clamp(27rem, 62svh, 36rem); }
  .op-half { gap: .8rem; padding: 2rem max(2rem, calc(50% - 15.5rem)); }
  .op-half h1, .op-half h2 { font-size: clamp(3.1rem, 5vw, 4.2rem); }
  .op-crave { box-shadow: none; }
  .front-desk { padding-bottom: 3rem; }
  .front .top { background: radial-gradient(120% 140% at 100% 0%, var(--banner-2), transparent 62%), var(--banner); border-bottom: 0; color: #fff; }
  .front .brand { color: #fff; }
  .front .brand .lm-bubble { fill: #fff; } .front .brand .lm-rim { fill: var(--banner); } .front .brand .lm-well { stroke: var(--banner-em); } .front .brand .lm-shine { stroke: #fff; }
  .front .brand-name em { color: var(--banner-em); background-image: none; }
  .front .prefs { margin-left: auto; }
  .city-pin { width: 2.25rem; height: 2.25rem; }
  .front .theme-pick summary, .front .size-pill { background: rgb(255 255 255 / .12); border-color: rgb(255 255 255 / .28); color: #fff; }
  .front .size-pill button:hover { background: rgb(255 255 255 / .12); }
  .front .size-pill button + button { border-left-color: rgb(255 255 255 / .28); }
  .front .wheel { box-shadow: 0 0 0 2px rgb(255 255 255 / .9); }
}

@media (max-width: 345px) { .front .sup-top .ic { display: none; } }
/* Phones: the header's buttons stay one size whatever the text size, so they always fit on one row. */
@media (max-width: 760px) {
  .top .city-pin, .top .theme-pick summary { width: 40px; height: 40px; }
  .top .size-pill { height: 40px; font-size: 15px; }
  .top .size-pill button { padding: 0 11px; }
  .top .sup-top { font-size: 14px; }
  .top .prefs { gap: 6px; }
}
@media (max-width: 345px) {
  .top .city-pin, .top .theme-pick summary { width: 36px; height: 36px; }
  .top .size-pill { height: 36px; }
  .top .size-pill button { padding: 0 8px; }
  .top .prefs { gap: 5px; }
}

/* "What city are you in?": slides up over the opener, or stands alone at /pick */
.city-sheet { width: 100%; max-width: 34rem; margin: auto auto 0; padding: 1rem 20px 1.4rem; border: 0; border-radius: 22px 22px 0 0; background: var(--bg); color: var(--ink); }
.city-sheet::backdrop { background: rgb(16 22 47 / .6); }
@media (min-width: 761px) { .city-sheet { margin: auto; border-radius: 22px; } }
.cs-top { display: flex; align-items: center; justify-content: space-between; gap: .7rem; }
.cs-top h2 { font-size: 1.55rem; margin: 0; }
.cs-close { flex: none; width: 2.45rem; height: 2.45rem; border: 0; border-radius: 50%; background: var(--line); color: var(--ink); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.cs-note { font-size: .85rem; color: var(--muted); margin: .3rem 0 .7rem; }
.cs-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.cs-list a { position: relative; display: flex; flex-direction: column; gap: .1rem; min-height: 4rem; justify-content: center; padding: .55rem 2.6rem .55rem .9rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink); text-decoration: none; }
.cs-name { font-family: var(--f-display); font-size: 1.2rem; font-weight: 600; line-height: 1.15; }
.cs-stats { font-size: .8rem; color: var(--muted); }
.cs-go { position: absolute; right: .9rem; top: 50%; translate: 0 -50%; color: var(--accent); display: flex; }
.cs-foot { margin: .8rem 0 0; text-align: center; }
.cs-page { max-width: 34rem; margin: 0 auto; }

/* ---------- "Support the site" (PayPal) ---------- */
.brand-sub { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.sup-top { display: inline-flex; align-items: center; gap: .3rem; padding: .22rem .7rem .22rem .55rem; border-radius: 999px; border: 1px solid #e9a23b;
  background: linear-gradient(180deg, #ffd56b, #f5a524); color: #2a1a02; font-size: .78rem; font-weight: 700; letter-spacing: .02em; text-decoration: none;
  box-shadow: 0 0 12px rgb(245 165 36 / .35); transition: filter .15s, box-shadow .15s; }
.sup-top .ic { width: 14px; height: 14px; color: #b42318; fill: currentColor; }
.sup-top:hover { filter: brightness(1.06); box-shadow: 0 0 18px rgb(245 165 36 / .55); }
.sup-top:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sup-page .eyebrow .ic, .sup-box-t .ic { color: #b42318; fill: currentColor; }
.sup-cta { margin: 0 0 .5rem; }
.btn.sup-big { min-height: 56px; padding: 0 1.6rem; font-size: 1.12rem; font-weight: 700; border-radius: 999px; border-color: #e9a23b;
  background: linear-gradient(180deg, #ffd56b, #f5a524); color: #2a1a02; box-shadow: 0 0 22px rgb(245 165 36 / .4); }
.btn.sup-big .ic { width: 22px; height: 22px; color: #b42318; fill: currentColor; }
.btn.sup-big:hover { filter: brightness(1.06); }
.sup-box { margin: 1.6rem 0 0; padding: .9rem 1rem; border: 1px solid rgb(245 165 36 / .55); border-radius: var(--radius);
  background: linear-gradient(135deg, rgb(245 165 36 / .14), rgb(245 165 36 / .04)); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; }
.sup-box p { margin: 0; }
.sup-box-t { display: flex; gap: .6rem; align-items: flex-start; color: var(--ink-2); flex: 1 1 18rem; }
.sup-box-t b { color: var(--ink); }
.sup-box-t .ic { flex: none; width: 20px; height: 20px; margin-top: .15rem; }
.btn.sup-btn { border-color: #e9a23b; }
.btn.sup-btn:hover { background: #f5a524; color: #2a1a02; border-color: #f5a524; }
@media (max-width: 760px) {
  .brand-sub { width: 100%; justify-content: space-between; }
  .sup-top { font-size: .8rem; padding: .3rem .8rem .3rem .6rem; }
}

/* ---------- phones: folding filters, "?" page intros, and the slim pinned header ---------- */
.ft-toggle, .pg-q, .mini-top { display: none; }
.ft-body { display: contents; } /* bigger screens (and no script): the filters lay out exactly as before */
@media (max-width: 760px) {
  /* Filters fold behind one button, folded to start. Only with the script running, so they can never get stuck shut. */
  .js .ft-toggle { display: flex; align-items: center; gap: .5rem; width: 100%; padding: .15rem 0; border: 0; background: none; color: var(--ink);
    font: inherit; font-size: .95rem; font-weight: 650; cursor: pointer; }
  .ft-toggle .ic { width: 18px; height: 18px; color: var(--accent); }
  .ft-n { padding: .1rem .5rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: .75rem; font-weight: 700; }
  .ft-caret { margin-left: auto; width: .5rem; height: .5rem; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); rotate: 45deg; translate: 0 -.15rem; transition: rotate .2s var(--ease); }
  .filters.open .ft-caret { rotate: 225deg; translate: 0 .1rem; }
  .js .filters { padding: .6rem .9rem; }
  .js .filters:not(.open) .ft-body { display: none; }
  .js .filters.open .ft-body { display: flex; flex-wrap: wrap; gap: .7rem .8rem; align-items: flex-end; width: 100%; margin-top: .15rem; padding-top: .7rem; border-top: 1px solid var(--line-2); }

  /* Page intros become a "?" beside the heading that opens them as a pop-up. */
  .page-h:has(> .pg-q) { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: .7rem; align-items: center; }
  .page-h:has(> .pg-q) > * { grid-column: 1 / -1; }
  .page-h:has(> .pg-q) > h1 { grid-column: 1; }
  .page-h > .pg-q { grid-column: 2; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; padding: 0; border-radius: 50%; border: 1.5px solid var(--line);
    background: var(--paper); color: var(--accent); font: inherit; font-size: 1.05rem; font-weight: 750; cursor: pointer; box-shadow: var(--shadow-1); }
  .lede[popover] { position: fixed; inset: auto 16px 16px; width: auto; max-width: 34rem; margin: 0 auto; padding: 1rem 1.15rem; border: 1px solid var(--line); border-radius: 16px;
    background: var(--paper); color: var(--ink); font-size: 1rem; box-shadow: 0 18px 50px rgb(16 22 47 / .35); }
  .lede[popover]::backdrop { background: rgb(16 22 47 / .4); }

  /* The slim pinned header: city, search, name, Support, all on one row. */
  .mini-top { display: block; position: fixed; inset: 0 0 auto; z-index: 60; translate: 0 -110%; transition: translate .22s var(--ease);
    background: radial-gradient(120% 140% at 100% 0%, var(--banner-2), transparent 62%), var(--banner); color: #fff; box-shadow: 0 6px 18px rgb(16 22 47 / .3); }
  .mini-top.show { translate: 0 0; }
  .mini-in { display: flex; align-items: center; gap: 5px; padding: 8px 10px; } /* px: one row at any text size */
  .mini-top .city-pick { flex: none; }
  .mini-top .brand-city { margin: 0; padding: 5px 9px; font-size: 14px; text-transform: none; letter-spacing: 0; color: #fff; border-color: rgb(255 255 255 / .35); }
  .mini-search { flex: none; }
  .mini-search > summary { list-style: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; cursor: pointer;
    border: 1px solid rgb(255 255 255 / .28); background: rgb(255 255 255 / .12); color: #fff; }
  .mini-search > summary::-webkit-details-marker { display: none; }
  .mini-search > summary .ic { width: 17px; height: 17px; }
  .mini-sform { position: absolute; left: 12px; right: 12px; top: calc(100% + .35rem); display: flex; gap: .4rem; padding: .4rem; border-radius: 14px; background: var(--paper);
    box-shadow: 0 14px 30px rgb(16 22 47 / .35); }
  .mini-sform input { flex: 1; min-width: 0; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); font: inherit; font-size: 1rem; }
  .mini-sform button { padding: 0 .95rem; border: 0; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font: inherit; font-weight: 650; cursor: pointer; }
  .mini-logo { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; color: #fff; text-decoration: none;
    font-family: var(--f-display); font-size: clamp(14px, 3.8vw, 23px); font-weight: 650; letter-spacing: -.03em; }
  .mini-logo em { color: var(--banner-em); }
  .mini-sup { flex: none; padding: 4px 9px 4px 8px; font-size: 13px; white-space: nowrap; }
}
@media (max-width: 359px) { .mini-sup span { display: none; } .mini-sup { padding: 6px 8px; } }
.grp-toggle { display: flex; align-items: center; gap: .8rem; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: default; }
.grp-n, .grp-caret { display: none; }
@media (max-width: 760px) {
  /* Dishes page: each group folds behind its heading, closed to start (only with the script, so none get stuck shut). */
  .js .grp { margin: 0; border-bottom: 1px solid var(--line); }
  .js .grp h2 { margin: 0; font-size: 1.18rem; text-wrap: wrap; }
  .js .grp-name { min-width: 0; }
  .js .grp-toggle { padding: .55rem 0; cursor: pointer; }
  .js .grp-toggle .glyph { width: 2.5rem; height: 2.5rem; }
  .js .grp-n { display: inline; flex: none; white-space: nowrap; padding: .05rem .5rem; border-radius: 999px; background: var(--line-2); color: var(--muted); font-family: var(--f-body); font-size: .75rem; font-weight: 650; letter-spacing: 0; }
  .js .grp-caret { display: block; flex: none; margin-left: auto; width: .55rem; height: .55rem; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); rotate: 45deg; translate: 0 -.15rem; transition: rotate .2s var(--ease); }
  .js .grp.open .grp-caret { rotate: 225deg; translate: 0 .1rem; }
  .js .grp:not(.open) > .type-chips { display: none; }
  .js .grp.open > .type-chips { padding: .2rem 0 1rem; }
}
@media (min-width: 761px) {
  /* The intro is a pop-up only on phones; here it's the usual paragraph under the heading. */
  .lede[popover] { display: block; position: static; inset: auto; width: auto; height: auto; margin: 1em 0; padding: 0; border: 0; overflow: visible; background: none; color: var(--muted); }
}
@media (prefers-reduced-motion: reduce) { .mini-top { transition: none; } }

/* The opening page's logo spot: seven dishes take turns, each popping in for 2.5s (17.5s round). */
.brand-food { position: relative; display: block; }
.brand-food img { position: absolute; inset: -8%; width: 116%; height: 116%; object-fit: contain; opacity: 0; animation: food-turn 17.5s infinite both; }
.brand-food img:nth-child(2) { animation-delay: 2.5s; } .brand-food img:nth-child(3) { animation-delay: 5s; }
.brand-food img:nth-child(4) { animation-delay: 7.5s; } .brand-food img:nth-child(5) { animation-delay: 10s; }
.brand-food img:nth-child(6) { animation-delay: 12.5s; } .brand-food img:nth-child(7) { animation-delay: 15s; }
@keyframes food-turn {
  0% { opacity: 0; transform: scale(.5) rotate(-25deg); }
  2% { opacity: 1; transform: scale(1.08) rotate(4deg); }
  3.5% { opacity: 1; transform: scale(1) rotate(0); }
  12.5% { opacity: 1; transform: scale(1) rotate(0); }
  14.3% { opacity: 0; transform: scale(.6) rotate(20deg); }
  100% { opacity: 0; transform: scale(.6) rotate(20deg); }
}
@media (prefers-reduced-motion: reduce) {
  .brand-food img { animation: none; }
  .brand-food img:first-child { opacity: 1; }
}
/* Every other page: one dish, standing still, a touch bigger to fill the spot like the drawn logo did. */
.brand-dish { object-fit: contain; scale: 1.16; }
