/* Eatabout - from the design handoff of 26 October 2026 (private/design/README.md), with the house fixes:
   one neutral hygiene badge style for every rating, no photos, plain hyphens. Always the light theme. */

@font-face { font-family: Newsreader; src: url(/fonts/newsreader.woff2?v=1) format("woff2"); font-weight: 400 500; font-style: normal; font-display: swap; }
@font-face { font-family: Newsreader; src: url(/fonts/newsreader-italic.woff2?v=1) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: Geist; src: url(/fonts/geist.woff2?v=1) format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(/fonts/geist-mono.woff2?v=1) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --paper: #f9f6f1;
  --drawer: #fbf9f5;
  --white: #ffffff;
  --ink: #2a2622;
  --body2: #4d4741;
  --muted: #6e6862;
  --line: #e1dbd3;
  --control: #d3ccc3;
  --tint: #efebe5;
  --tint-strong: #e8e3dc;
  --accent: #b0502e;
  --accent-hover: #8c3d22;
  --serif: Newsreader, Georgia, serif;
  --sans: Geist, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --col: 1240px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }
button { font: inherit; color: inherit; }
input::placeholder { color: #8a837c; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--col); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }

/* Header and footer */
header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
.brand { font-family: var(--serif); font-size: 26px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.brand:hover { color: var(--ink); text-decoration: none; }
header.site nav { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; }
header.site nav a { color: var(--body2); }

footer.site { border-top: 1px solid var(--line); margin-top: 40px; }
footer.site .wrap { padding-top: 28px; padding-bottom: 36px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--muted); }
footer.site .row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer.site nav { display: flex; gap: 18px; }
footer.site p { margin: 0; }

/* Hero */
.hero { padding-top: 56px; padding-bottom: 28px; }
.hero .eyebrow { margin-bottom: 14px; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 7vw, 84px); line-height: 0.98; letter-spacing: -0.025em; margin: 0 0 18px; text-wrap: balance; }
.lede { font-size: 17px; line-height: 1.55; max-width: 600px; margin: 0 0 28px; color: var(--body2); }
.search { display: flex; align-items: center; gap: 12px; max-width: 640px; background: var(--white); border: 1px solid var(--control); border-radius: 999px; padding: 6px 6px 6px 22px; box-shadow: 0 1px 0 #ebe6df; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 16px; padding: 10px 0; color: var(--ink); }
.search .clear { border: 0; background: transparent; font-size: 13px; color: var(--muted); cursor: pointer; padding: 8px; }
.pill-count { background: var(--ink); color: var(--paper); border-radius: 999px; padding: 11px 20px; font-size: 14px; font-weight: 500; white-space: nowrap; }

/* Curated rows */
.curated { padding-top: 20px; padding-bottom: 8px; }
.curated + .curated { padding-top: 28px; }
.row-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.row-head h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; letter-spacing: -0.015em; margin: 0; }
.link-button { border: 0; background: transparent; font-size: 14px; color: var(--accent); cursor: pointer; padding: 0; }
.link-button:hover { color: var(--accent-hover); text-decoration: underline; }
.cards { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 16px; overflow-x: auto; padding-bottom: 12px; }
.card { text-align: left; border: 1px solid var(--line); border-radius: 8px; background: var(--white); padding: 16px; cursor: pointer; display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.card:hover { background: var(--tint); }
.card .name { font-family: var(--serif); font-size: 21px; line-height: 1.15; display: block; }
.card .sub { font-size: 13px; color: var(--muted); display: block; margin-top: 3px; }

/* Neutral hygiene badge: the same look for every rating (never colour-coded, never like the FSA sticker) */
.badge { flex: none; display: flex; align-items: center; justify-content: center; font-weight: 600; border-radius: 6px; background: var(--tint); color: var(--ink); border: 1px solid var(--control); }
.badge.s { width: 26px; height: 26px; font-size: 12px; border-radius: 4px; }
.badge.m { width: 34px; height: 34px; font-size: 15px; }
.badge.l { width: 56px; height: 56px; font-size: 24px; border-radius: 8px; }
.badge.none { background: transparent; color: var(--muted); border-color: var(--control); }
.badge-wrap { flex: none; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.badge-cap { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }

/* Main: sidebar and results */
.main { display: flex; gap: 40px; flex-wrap: wrap; align-items: flex-start; padding-top: 28px; padding-bottom: 40px; }
.filters-toggle { display: none; }
.sidebar { flex: 1 1 240px; max-width: 300px; display: flex; flex-direction: column; gap: 28px; position: sticky; top: 20px; }
.group { display: flex; flex-direction: column; gap: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 14px; padding: 7px 13px; border-radius: 999px; cursor: pointer; white-space: nowrap; flex: none; border: 1px solid var(--control); background: transparent; color: #3e3832; }
.chip:hover { background: var(--tint); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.segmented { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--control); border-radius: 8px; overflow: hidden; }
.segmented button { font-size: 14px; padding: 9px 0; cursor: pointer; border: 0; background: transparent; color: #3e3832; }
.segmented button + button { border-left: 1px solid var(--control); }
.segmented button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.helper { font-size: 12px; line-height: 1.5; color: var(--muted); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.4; cursor: pointer; color: #3e3832; }
.check input { margin: 2px 0 0; accent-color: var(--ink); width: 16px; height: 16px; }
.reset { align-self: flex-start; font-size: 14px; border: 0; background: transparent; padding: 0; color: var(--accent); cursor: pointer; text-decoration: underline; }
.dish-open { align-self: flex-start; font-size: 14px; padding: 7px 13px; border-radius: 999px; cursor: pointer; border: 1px solid var(--control); background: transparent; }
.dish-open[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.results { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; }
.results-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); flex-wrap: wrap; }
.results-head .title { font-family: var(--serif); font-size: 24px; }
.sorts { display: flex; gap: 4px; }
.sorts button { font-size: 13px; padding: 5px 10px; border-radius: 4px; cursor: pointer; border: 0; background: transparent; color: var(--muted); }
.sorts button[aria-pressed="true"] { background: var(--tint-strong); color: var(--ink); }
.places { list-style: none; margin: 0; padding: 0; }
.place { display: flex; gap: 20px; padding: 22px 8px; margin: 0 -8px; border-bottom: 1px solid var(--line); cursor: pointer; }
.place:hover { background: var(--tint); }
.place .body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.place .top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.place h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
.place h3 a { color: var(--ink); }
.place h3 a:hover { text-decoration: none; }
.meta { font-size: 14px; color: var(--muted); display: block; margin-top: 3px; }
.summary { margin: 0; font-size: 15px; line-height: 1.5; color: #3e3832; max-width: 620px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.tag { font-size: 12px; padding: 4px 9px; border-radius: 999px; background: var(--tint-strong); color: #4a443e; }
.unchecked { font-size: 13px; color: var(--muted); font-style: italic; }
.empty { padding: 56px 0; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.empty .title { font-family: var(--serif); font-size: 24px; }
.more-row { padding: 28px 0; display: flex; justify-content: center; }
.more { font-size: 14px; padding: 10px 18px; border-radius: 999px; cursor: pointer; border: 1px solid var(--ink); background: transparent; }

/* Drawer (one place) and dish picker, both <dialog> */
dialog { border: 0; padding: 0; color: var(--ink); }
dialog::backdrop { background: rgba(42, 38, 34, 0.35); }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; left: auto; margin: 0; height: 100%; max-height: 100%; max-width: 100%; width: min(520px, 100%); background: var(--drawer); overflow-y: auto; box-shadow: -12px 0 40px rgba(42, 38, 34, 0.15); }
.drawer .close-row { display: flex; justify-content: flex-end; padding: 14px 16px 0; }
.pill-button { font-size: 14px; border: 1px solid var(--control); background: transparent; border-radius: 999px; padding: 7px 14px; cursor: pointer; color: #4a443e; }
.drawer .inner { padding: 12px 32px 40px; display: flex; flex-direction: column; gap: 24px; }
.drawer h2 { font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1.05; letter-spacing: -0.02em; margin: 0; }
.drawer .address { font-size: 15px; color: #625c56; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.action { font-size: 14px; font-weight: 500; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--ink); color: var(--ink); background: transparent; }
.action:hover { text-decoration: none; background: var(--tint); color: var(--ink); }
.action.filled { background: var(--ink); color: var(--white); }
.action.filled:hover { background: #3d3832; color: var(--white); }
.action.quiet { border-color: var(--control); }
.facts { border-top: 1px solid var(--line); }
.fact { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.fact .text { font-size: 16px; line-height: 1.45; }
.fact a { font-size: 12px; color: var(--muted); }
.deal-tag { display: inline-block; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; padding: 2px 7px; margin-right: 6px; border-radius: 4px; vertical-align: 2px; background: var(--tint-strong); color: var(--ink); }
.page .address { font-size: 15px; color: #625c56; margin: 0 0 20px; }
.page .overview { font-size: 18px; line-height: 1.6; max-width: 640px; margin: 0 0 6px; color: #2f2a25; }
.page .overview-note { margin: 0 0 24px; }
.page .stack { display: flex; flex-direction: column; gap: 24px; }
.page .stack > p { margin: 0; }
.chip[title="Today"] { text-decoration: underline; text-underline-offset: 3px; }
.menu-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.menu-pill { font-size: 13px; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--control); }
.hygiene { display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: 8px; background: var(--tint); }
.hygiene .t { font-size: 15px; font-weight: 500; display: block; }
.hygiene .n { font-size: 13px; color: #625c56; line-height: 1.45; display: block; margin-top: 3px; }

.picker { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 48px); border-radius: 12px; background: var(--drawer); }
.picker .inner { padding: 22px 22px 0; }
.picker h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; margin: 0 0 4px; }
.picker fieldset { border: 0; margin: 0 0 14px; padding: 0; }
.picker legend { margin-bottom: 8px; }
.dish { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; padding: 7px 13px; margin: 0 6px 6px 0; border-radius: 999px; border: 1px solid var(--control); cursor: pointer; }
.dish input { accent-color: var(--ink); }
.dish .n { color: var(--muted); font-size: 12px; }
.dish:has(input:checked) { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.dish:has(input:checked) .n { color: #cfc8bf; }
.picker .buttons { position: sticky; bottom: 0; display: flex; gap: 8px; justify-content: flex-end; margin: 0 -22px; padding: 14px 22px; background: var(--drawer); border-top: 1px solid var(--line); }

/* Topic, about and privacy pages */
.page { padding-top: 40px; padding-bottom: 20px; }
.page h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 5vw, 56px); line-height: 1.02; letter-spacing: -0.02em; margin: 6px 0 16px; }
.page h2 { font-family: var(--serif); font-weight: 400; font-size: 26px; margin: 32px 0 8px; }
.page p, .page li { font-size: 16px; line-height: 1.6; color: #3e3832; }
.page .crumb { font-size: 14px; margin: 0; }
.entry { padding: 24px 0; border-bottom: 1px solid var(--line); }
.entry .top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.entry h2 { margin: 0; font-size: 28px; }
.entry .facts { margin-top: 12px; }

/* Phones: filters behind a button */
@media (max-width: 760px) {
  .hero { padding-top: 32px; }
  .filters-toggle { display: block; width: 100%; font-size: 15px; font-weight: 500; padding: 12px 16px; border-radius: 999px; border: 1px solid var(--ink); background: transparent; cursor: pointer; }
  .filters-toggle[aria-expanded="true"] { background: var(--ink); color: var(--paper); }
  .js .sidebar:not(.open) { display: none; }
  .sidebar { position: static; max-width: none; flex-basis: 100%; }
  .place { gap: 14px; }
  .place h3 { font-size: 21px; }
  .drawer .inner { padding: 12px 20px 32px; }
  .drawer h2 { font-size: 32px; }
}

.mood-row { margin-top: 22px; }
.mood-row .label { display: block; margin-bottom: 8px; }
.mood-row .helper { display: block; margin-top: 8px; }
.chip.mood .n { color: #6b625a; font-size: 12px; margin-left: 2px; }
