/* Nash Foodies: show-poster masthead, mustard accent, time-sorted ledger of deals */
:root {
  --bg: #F3F1EC; --surface: #FFFFFF; --ink: #1E2430; --muted: #5C6370; --line: #DCD7CD;
  --poster: #1E2430; --poster-ink: #F3EBDD; --accent: #D9A21B; --accent-ink: #8A5F00;
  --special: #1F6F78; --special-bg: #E3F0F1; --ok: #2F7A3B; --warn: #9A5B00; --warn-bg: #FBEFD9;
  --feature-bg: #FFF6DD;
  --display: "Alfa Slab One", "Rockwell", Georgia, serif;
  --body: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root {
  --bg: #14171C; --surface: #1C2028; --ink: #ECE8E0; --muted: #A1A7B2; --line: #2E343F;
  --poster: #0D0F13; --poster-ink: #F3EBDD; --accent: #E8B53A; --accent-ink: #E8B53A;
  --special: #6CC3CB; --special-bg: #1C3236; --ok: #74C383; --warn: #E8B53A; --warn-bg: #3A2F17;
  --feature-bg: #2A2414; color-scheme: dark } }

* { box-sizing: border-box }
html { -webkit-text-size-adjust: 100% }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 15px; line-height: 1.5 }
img { max-width: 100% }
[hidden] { display: none !important }
a { color: var(--accent-ink) }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px }
.wrap { max-width: 1040px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)) }

/* top nav */
.nav { background: var(--poster); color: var(--poster-ink); border-bottom: 1px solid rgba(255,255,255,.08) }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 12px; flex-wrap: wrap }
.logo { font-family: var(--display); font-size: 22px; color: var(--poster-ink); text-decoration: none; letter-spacing: .01em }
.logo span { color: var(--accent) }
.nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 0; font-size: 14px; font-weight: 500 }
.nav a { color: var(--poster-ink); text-decoration: none; opacity: .85 }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; color: var(--accent) }

/* masthead */
.mast { background: var(--poster); color: var(--poster-ink) }
.mast .wrap { padding-block: 32px 28px; display: grid; gap: 14px }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent) }
h1 { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 6.4vw, 60px); line-height: 1.02; margin: 0; letter-spacing: .01em; text-wrap: balance }
h1 span { color: var(--accent) }
.mast.small h1 { font-size: clamp(28px, 5vw, 46px) }
.lede { max-width: 64ch; margin: 0; opacity: .88 }
.tally { display: flex; flex-wrap: wrap; gap: 8px 22px; font-family: var(--mono); font-size: 13px }
.tally b { color: var(--accent); font-weight: 500 }
.crumbs { font-size: 13px; opacity: .8 }
.crumbs a { color: var(--poster-ink) }

/* sticky filter bar */
.bar { position: sticky; top: 0; z-index: 5; background: var(--bg); border-bottom: 1px solid var(--line) }
.bar .wrap { padding-block: 12px; display: grid; gap: 10px }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px }
.day { font: inherit; font-weight: 600; font-size: 14px; padding: 8px 0; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 6px; cursor: pointer; position: relative; text-align: center; text-decoration: none }
.day[aria-pressed="true"], .day[aria-current="page"] { background: var(--ink); color: var(--bg); border-color: var(--ink) }
.day .today { position: absolute; top: -7px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 9px; letter-spacing: .08em; background: var(--accent); color: #1E2430; padding: 0 5px; border-radius: 3px; text-transform: uppercase }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center }
.chip { font: inherit; font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; text-decoration: none; display: inline-block }
.chip[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); color: #1E2430 }
select, input, textarea { font: inherit; font-size: 14px; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); min-width: 0 }
.filters select, .filters input { font-size: 13px; padding: 6px 10px }
.filters input[type="search"] { flex: 1 1 160px }

/* main */
main .wrap { padding-block: 24px 48px; display: grid; gap: 32px }
.summary { margin-bottom: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: baseline }
h2 { font-family: var(--display); font-weight: 400; font-size: 28px; margin: 0; line-height: 1.15; text-wrap: balance }
h3 { text-wrap: balance }
.summary p { margin: 0; color: var(--muted); font-size: 14px }
.slot + .slot { margin-top: 22px }
.slot h3 { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; padding-bottom: 6px; border-bottom: 2px solid var(--ink); display: flex; justify-content: space-between }
.row { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--line) }
.row.featured { background: var(--feature-bg); padding-inline: 12px; border-radius: 8px; border-bottom: 0; margin-bottom: 6px }
.time { font-family: var(--mono); font-size: 13px; font-variant-numeric: tabular-nums; padding-top: 2px }
.time .live { display: inline-block; margin-top: 4px; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--ok) }
.who { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px }
.who a.v { font-size: 16px; font-weight: 700; color: var(--ink); text-decoration: none }
.who a.v:hover { text-decoration: underline }
.hood { font-size: 13px; color: var(--muted) }
.hood a { color: var(--muted) }
.line { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 8px; font-size: 14px; margin-top: 3px }
.tag { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; padding-top: 3px; color: var(--muted) }
.tag.eat { color: var(--accent-ink) }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px }
.b { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 4px; line-height: 1.6 }
.b.sp { background: var(--special-bg); color: var(--special) }
.b.ok { border: 1px solid var(--ok); color: var(--ok) }
.b.ok a { color: inherit }
.b.warn { background: var(--warn-bg); color: var(--warn) }
.b.ft { background: var(--accent); color: #1E2430 }
.b.meta { color: var(--muted); padding-left: 0 }
.empty { padding: 28px 0; color: var(--muted) }

/* link grids */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px }
.tile { display: grid; gap: 2px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink) }
.tile:hover { border-color: var(--accent) }
.tile b { font-size: 15px }
.tile span { font-size: 13px; color: var(--muted) }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 12px }
.section-head a { font-size: 14px }

/* panels, forms */
.panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 18px; display: grid; gap: 10px; align-content: start }
.panel h3 { font-family: var(--display); font-weight: 400; font-size: 20px; margin: 0 }
.panel ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; font-size: 14px }
.panel p { margin: 0; font-size: 14px; color: var(--muted) }
.prose { max-width: 68ch; display: grid; gap: 14px }
.prose p, .prose ul { margin: 0 }
.prose ul { padding-left: 20px; display: grid; gap: 6px }
.prose h2 { margin-top: 10px }
form.stack { display: grid; gap: 14px; max-width: 560px }
form.stack label { display: grid; gap: 4px; font-size: 14px; font-weight: 600 }
form.stack label small { font-weight: 400; color: var(--muted) }
.btn { font: inherit; font-weight: 700; font-size: 15px; padding: 10px 18px; border-radius: 8px; border: 0; background: var(--accent); color: #1E2430; cursor: pointer; justify-self: start; text-decoration: none; display: inline-block }
.btn.ghost { background: transparent; border: 1px solid var(--line); color: var(--ink) }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden }
.msg { font-size: 14px; font-weight: 600 }
.msg.good { color: var(--ok) }
.msg.bad { color: #B3261E }
.inline-form { display: flex; flex-wrap: wrap; gap: 8px }
.inline-form input[type="email"] { flex: 1 1 220px }
.price { font-family: var(--display); font-size: 34px; line-height: 1 }
.price small { font-family: var(--body); font-size: 14px; color: var(--muted) }
.cta-slot { border: 2px dashed var(--line); border-radius: 10px; padding: 14px 16px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; font-size: 14px; color: var(--muted) }

/* footer */
footer { background: var(--poster); color: var(--poster-ink) }
footer .wrap { padding-block: 32px; display: grid; gap: 24px }
footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px }
footer h4 { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 8px }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px }
footer a { color: var(--poster-ink); opacity: .85 }
footer p { margin: 0; font-size: 13px; opacity: .7 }
footer input { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: var(--poster-ink) }

@media (max-width: 560px) {
  .row { grid-template-columns: 1fr }
  .time { display: flex; gap: 10px; align-items: baseline }
  .time .live { margin-top: 0 }
  .day { font-size: 12px }
  .nav ul { gap: 4px 14px; font-size: 13px }
}
@media (prefers-reduced-motion: no-preference) { .row, .tile { transition: background .15s, border-color .15s } }
