/* PlatePages restaurant site. One accent (--accent) is set per restaurant. */
:root {
  --paper: #FBF8F3;
  --cream: #F4EDE3;
  --sand: #E9DFD2;
  --line: #E3D9CC;
  --ink: #1C1612;
  --ink-2: #3B312A;
  --muted: #6F6359;
  --night: #1C1612;
  --ok: #3F7A4F;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --wrap: 1180px;
  --pad: 20px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
@media (min-width: 720px) { :root { --pad: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; padding-bottom: 76px; }
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
abbr { text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.muted { color: var(--muted); font-weight: 400; }

.eyebrow { font: 600 12px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.82); }
.eyebrow.dark { color: var(--accent); }
.sec-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.sec-head h2, .rev-head h2, .about-text h2, .visit h2 { font: 400 clamp(36px, 6vw, 56px)/1 var(--serif); letter-spacing: -.01em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 22px; border-radius: 999px; font: 600 15px/1 var(--sans); text-decoration: none; border: 1px solid transparent; transition: transform .2s var(--ease), background-color .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -10px var(--accent); }
.btn-glass { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255,255,255,.22); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-line { border-color: var(--line); background: #fff; color: var(--ink); }

/* Demo bar */
.demo-bar { background: var(--ink); color: #EDE4D8; font-size: 13px; padding: 9px var(--pad); display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; text-align: center; }
.demo-bar a { color: #fff; font-weight: 600; text-underline-offset: 3px; }

/* Header */
.top { position: sticky; top: 0; z-index: 30; background: rgba(251,248,243,.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.top.scrolled { border-color: var(--line); box-shadow: 0 10px 30px -24px rgba(28,22,18,.5); }
.top-inner { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font: 400 26px/1 var(--serif); text-decoration: none; letter-spacing: -.01em; }
.top-nav { display: none; gap: 28px; font-size: 15px; font-weight: 500; }
.top-nav a { text-decoration: none; color: var(--ink-2); }
.top-nav a:hover { color: var(--accent); }
.top-actions { display: flex; align-items: center; gap: 12px; }
.top-actions .btn { display: none; }
@media (min-width: 900px) { .top-nav { display: flex; } .top-actions .btn { display: inline-flex; } }
.status { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--cream); color: var(--ink-2); }
.status i { width: 7px; height: 7px; border-radius: 999px; background: #B8AB9E; }
.status.is-open i { background: var(--ok); box-shadow: 0 0 0 3px rgba(63,122,79,.18); }

/* Hero */
.hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--night); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: heroIn 1.6s var(--ease) forwards; }
@keyframes heroIn { to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,15,12,.15) 0%, rgba(20,15,12,.1) 35%, rgba(20,15,12,.78) 100%); }
.hero-content { position: relative; width: 100%; padding-top: 120px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 16px; }
.hero h1 { font: 400 clamp(60px, 12vw, 132px)/.9 var(--serif); letter-spacing: -.02em; }
.hero-tag { font-size: clamp(17px, 2.2vw, 21px); line-height: 1.5; max-width: 34ch; color: rgba(255,255,255,.9); text-wrap: balance; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
@media (max-width: 719px) { .hero-cta .btn:nth-child(3) { display: none; } .hero-content { padding-bottom: 64px; } }

/* Facts */
.facts { position: relative; z-index: 2; margin-top: -30px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 30px 60px -40px rgba(28,22,18,.45); display: grid; grid-template-columns: 1fr; }
.fact { padding: 18px 22px; display: flex; flex-direction: column; gap: 4px; text-decoration: none; border-top: 1px solid var(--line); }
.fact:first-child { border-top: 0; }
.fact-label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fact-value { font-size: 16px; font-weight: 600; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dot { width: 8px; height: 8px; border-radius: 999px; background: #B8AB9E; }
.dot.on { background: var(--ok); }
.stars { color: #D69A2D; letter-spacing: 1px; }
@media (min-width: 720px) { .facts { grid-template-columns: repeat(3, 1fr); } .fact { border-top: 0; border-left: 1px solid var(--line); } .fact:first-child { border-left: 0; } }

.notice { margin: 20px 0 0; padding: 16px 20px; border-radius: var(--r); background: color-mix(in srgb, var(--accent) 9%, var(--paper)); color: var(--ink-2); font-weight: 500; display: flex; gap: 12px; align-items: baseline; }
.notice-mark { color: var(--accent); }

/* Picks */
.picks { padding: 72px 0 8px; }
.picks-row { display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 300px); gap: 16px; overflow-x: auto; padding: 4px var(--pad) 24px; scroll-snap-type: x mandatory; scrollbar-width: none; max-width: calc(var(--wrap)); margin: 0 auto; }
.picks-row::-webkit-scrollbar { display: none; }
.pick { scroll-snap-align: start; position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; text-decoration: none; color: #fff; background: var(--sand); }
.pick img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pick:hover img { transform: scale(1.04); }
.pick::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(20,15,12,.75)); }
.pick-body { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.pick-name { font: 400 26px/1.05 var(--serif); }
.pick-price { font-weight: 600; font-size: 15px; background: rgba(255,255,255,.18); backdrop-filter: blur(8px); padding: 5px 10px; border-radius: 999px; }
@media (min-width: 1180px) { .picks-row { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; } }

/* Menu */
.menu { padding: 64px 0 40px; }
.menu-bar { position: sticky; top: 64px; z-index: 20; background: rgba(251,248,243,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.menu-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad); }
.chips::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; height: 40px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 600; color: var(--ink-2); transition: background-color .2s, color .2s; }
.chip:hover { background: var(--cream); }
.chip.active { background: var(--ink); color: var(--paper); }
.filters { display: flex; gap: 6px; flex-shrink: 0; }
.filter { height: 40px; min-width: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: 700 13px/1 var(--sans); color: var(--ink-2); cursor: pointer; }
.filter[aria-pressed="true"] { background: var(--ok); border-color: var(--ok); color: #fff; }
@media (max-width: 719px) { .menu-bar-inner { flex-direction: column; align-items: stretch; gap: 8px; } .filters { justify-content: flex-start; } }

.cat { padding: 40px 0 8px; scroll-margin-top: 140px; }
@media (max-width: 719px) { .cat { scroll-margin-top: 180px; } }
.cat-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); flex-wrap: wrap; }
.cat-head h3 { font: 400 clamp(32px, 4.5vw, 42px)/1 var(--serif); }
.cat-head p { font-size: 14px; color: var(--muted); font-style: italic; }
.items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; column-gap: 56px; }
@media (min-width: 900px) { .items { grid-template-columns: 1fr 1fr; } }
.item { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 160px; }
.item-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.item-top { display: flex; align-items: baseline; gap: 10px; }
.item h4 { font: 700 17px/1.3 var(--sans); letter-spacing: -.005em; }
.leader { flex: 1; border-bottom: 1px dotted #C9BCAE; transform: translateY(-4px); min-width: 16px; }
.item-price { font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; }
.item-desc { color: var(--muted); font-size: 15px; line-height: 1.55; }
.item-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; background: #EAF0E6; color: #34502F; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; }
.tag-out { background: #F6E3DA; color: #8A3A1E; }
.item-img { width: 96px; height: 96px; border-radius: 14px; object-fit: cover; flex-shrink: 0; background: var(--sand); }
.item.is-out .item-img, .item.is-out h4, .item.is-out .item-price { opacity: .45; }
.item.is-out h4 { text-decoration: line-through; text-decoration-thickness: 1px; }
.item.hidden { display: none; }
.cat.hidden { display: none; }
.item.flash { animation: flash 1.6s var(--ease); }
@keyframes flash { 0%, 40% { background: color-mix(in srgb, var(--accent) 10%, transparent); } 100% { background: transparent; } }
.menu-foot { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--muted); }
.menu-foot span { display: inline-flex; align-items: center; gap: 6px; }
.empty-filter { margin-top: 32px; padding: 24px; text-align: center; border: 1px dashed var(--line); border-radius: var(--r); color: var(--muted); }

/* Reviews */
.reviews { background: var(--night); color: #F4EDE3; padding: 88px 0; margin-top: 48px; }
.rev-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 36px; }
.rev-head .eyebrow { color: #D9B28E; margin-bottom: 10px; }
.rev-score { display: flex; align-items: center; gap: 14px; }
.rev-num { font: 400 72px/1 var(--serif); }
.rev-score > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.rev-count { font-size: 14px; color: #BDAE9F; }
.rev-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 900px) { .rev-grid { grid-template-columns: repeat(3, 1fr); } }
.rev { margin: 0; padding: 28px; border-radius: var(--r-lg); background: #28201A; border: 1px solid #3A2F27; display: flex; flex-direction: column; gap: 16px; }
.rev blockquote { margin: 0; font: 400 24px/1.3 var(--serif); color: #F4EDE3; }
.rev figcaption { margin-top: auto; font-weight: 700; font-size: 14px; display: flex; flex-direction: column; gap: 2px; }
.rev figcaption span { font-weight: 500; color: #BDAE9F; }

/* About */
.about { padding: 96px 0; }
.about-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.05fr 1fr; gap: 72px; } }
.about-img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r-lg); }
.about-text { display: flex; flex-direction: column; gap: 18px; }
.about-text p { color: var(--ink-2); font-size: 17px; line-height: 1.7; max-width: 52ch; }
.text-link { font-weight: 700; color: var(--accent); text-decoration: none; }

/* Visit */
.visit { padding: 32px 0 96px; }
.visit-grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .visit-grid { grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: start; } }
.visit address { font-style: normal; margin: 22px 0 28px; font-size: 18px; line-height: 1.7; }
.visit address a { color: var(--accent); text-decoration: none; font-weight: 600; }
.hours { width: 100%; border-collapse: collapse; font-size: 16px; }
.hours caption { text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-bottom: 8px; }
.hours th, .hours td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.hours tr.today th, .hours tr.today td { font-weight: 700; color: var(--ink); }
.hours tr.today th span { margin-left: 8px; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--accent); color: #fff; vertical-align: 2px; }
.visit-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--sand); aspect-ratio: 4 / 3; }
@media (min-width: 900px) { .map { aspect-ratio: auto; height: 100%; min-height: 520px; } }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.85) contrast(1.05) sepia(.12); }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 28px 0; font-size: 14px; color: var(--muted); }
.foot-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.foot .brand { color: var(--ink); font-size: 22px; }
.powered a { color: var(--ink); font-weight: 600; }

/* Mobile dock */
.dock { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: rgba(28,22,18,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 20px; padding: 6px; box-shadow: 0 20px 40px -16px rgba(0,0,0,.5); }
.dock a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; color: #F4EDE3; text-decoration: none; font-size: 11.5px; font-weight: 600; border-radius: 14px; }
.dock a:active { background: rgba(255,255,255,.08); }
.dock svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 900px) { .dock { display: none; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Options, allergens, legal, special hours, ordering */
.item-sizes { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; color: var(--ink-2); }
.item-sizes strong { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.item-addons { font-size: 13.5px; color: var(--muted); }
.item-allergens { font-size: 12.5px; color: var(--muted); letter-spacing: .01em; }
.menu-legal { margin-top: 14px; font-size: 13px; line-height: 1.6; color: var(--muted); max-width: 80ch; }
.menu-legal strong { color: var(--ink-2); font-weight: 700; }
.notice + .notice { margin-top: 10px; }
.notice-strong { background: #F6E3DA; color: #6A2C14; }
.notice-strong .notice-mark { color: #B4532A; font-size: 10px; }
.special, .order { margin-top: 28px; }
.special-title { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.special ul { list-style: none; margin: 0; padding: 0; }
.special li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.special li strong { font-weight: 700; white-space: nowrap; }
.order-links { display: flex; flex-wrap: wrap; gap: 10px; }

/* A site before the owner adds photos: a warm, typographic hero instead of an empty image. */
.hero-plain { min-height: min(62vh, 560px); background:
  radial-gradient(120% 90% at 85% 10%, color-mix(in srgb, var(--accent) 55%, transparent) 0%, transparent 60%),
  radial-gradient(90% 70% at 0% 100%, color-mix(in srgb, var(--accent) 30%, transparent) 0%, transparent 65%), var(--night); }
.hero-plain .hero-shade { background: linear-gradient(180deg, transparent 40%, rgba(20,15,12,.35) 100%); }
.about-noimg .about-grid { grid-template-columns: 1fr; max-width: 760px; }
.visit-nomap { grid-template-columns: 1fr !important; max-width: 760px; }
.menu-soon { padding: 32px 0 8px; font: 400 26px/1.3 var(--serif); color: var(--muted); }
