/* Stop 19 website (made-up café). Same brand as the QR order demo: tram-stop green, signal amber, Archivo and Figtree. */
:root {
  --brand: #1c5a45; --brand-deep: #123d2f; --signal: #f2b33d;
  --bg: #fff; --surface: #f3f5f2; --surface-2: #e8ece7;
  --ink: #15201b; --ink-2: #4a5650; --line: #dfe4df; --focus: #1a73e8;
  --amber-ink: #7d5200;
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 12px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.5 var(--body); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 12px; z-index: 50; }
.skip:focus { left: 8px; }
h1, h2, h3 { font-family: var(--display); font-stretch: 112%; letter-spacing: -0.01em; margin: 0; }

/* header */
.bar { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top); }
.bar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-height: 48px; }
.brand img { border-radius: 8px; }
.brand-name { font: 800 21px/1 var(--display); font-stretch: 125%; color: var(--brand); text-transform: uppercase; letter-spacing: .01em; }
.demo { font-size: 14px; font-weight: 600; color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 1px 9px; }
.links { display: flex; align-items: center; gap: 4px; }
.links > a:not(.btn) { display: none; text-decoration: none; font-weight: 600; padding: 12px 12px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 700; font-size: 17px; text-decoration: none; border: 2px solid var(--brand); }
.btn:active { background: var(--brand-deep); }
.btn.small { min-height: 44px; padding: 0 18px; font-size: 16px; }
.btn.big { min-height: 56px; font-size: 18px; width: 100%; }
.btn.outline { background: #fff; color: var(--brand); }
.btn.outline:active { background: var(--surface); }

/* hero */
.hero { padding-top: 28px; padding-bottom: 36px; display: grid; gap: 28px; }
.today { margin: 0 0 12px; font-size: 15px; font-weight: 600; color: var(--amber-ink); }
.hero h1 { font-size: clamp(2.3rem, 9.4vw, 4rem); line-height: 1.02; font-weight: 800; color: var(--ink); }
.lede { font-size: 1.15rem; color: var(--ink-2); margin: 14px 0 22px; max-width: 30em; }
.actions { display: grid; gap: 10px; }
.collage { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; aspect-ratio: 1 / .82; }
.tile { border-radius: 16px; display: grid; place-items: center; overflow: hidden; }
.tile svg { width: 86%; height: auto; filter: drop-shadow(0 8px 10px rgba(0,0,0,.16)); }
.tile.a { grid-row: 1 / span 2; background: var(--brand); }
.tile.b { background: #f7e3b4; }
.tile.c { background: var(--surface-2); }

/* sections */
section > h2, .visit h2 { font-size: clamp(1.7rem, 6vw, 2.3rem); font-weight: 800; line-height: 1.1; }
.sub { color: var(--ink-2); margin: 8px 0 18px; font-size: 15px; }

/* favourites */
.faves { padding-top: 16px; padding-bottom: 40px; }
.cards { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.card .art { background: var(--surface); padding: 12px; }
.card .art svg { display: block; width: 100%; height: auto; }
.card .txt { padding: 12px 12px 14px; }
.card h3 { font-size: 1.05rem; font-weight: 700; line-height: 1.2; font-stretch: 100%; letter-spacing: 0; }
.card .price { color: var(--ink-2); font-weight: 600; margin-top: 2px; }

/* menu */
.menu { padding-top: 8px; padding-bottom: 36px; }
details.cat { border-top: 1px solid var(--line); }
details.cat:last-of-type { border-bottom: 1px solid var(--line); }
details.cat summary { list-style: none; cursor: pointer; min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 800 1.3rem/1.2 var(--display); font-stretch: 112%; padding: 12px 0; }
details.cat summary::-webkit-details-marker { display: none; }
details.cat summary .chev { flex: none; width: 24px; height: 24px; transition: transform .2s; }
details.cat[open] summary .chev { transform: rotate(180deg); }
.cat-note { margin: -4px 0 8px; color: var(--ink-2); font-size: 15px; }
.rows { list-style: none; margin: 0; padding: 0 0 8px; }
.row { padding: 12px 0; }
.row + .row { border-top: 1px solid var(--line); }
.row-top { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.row-name { font-weight: 700; }
.row-price { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.row-desc { margin: 2px 0 0; color: var(--ink-2); font-size: 15px; }
.tags { font-size: 14px; font-weight: 700; color: var(--ink-2); border: 1px solid var(--line-2, #c9d0c9); border-radius: 5px; padding: 0 5px; margin-left: 6px; vertical-align: 1px; }
.sold { font-size: 14px; font-weight: 600; color: #8a2a22; margin-left: 6px; }
.menu-cta { margin-top: 28px; background: var(--surface); border-radius: var(--r); padding: 18px 16px; display: grid; gap: 14px; }
.menu-cta p { margin: 0; }

/* visit */
.visit { background: var(--brand); color: #fff; padding: 40px 0 44px; }
.visit-grid { display: grid; gap: 28px; margin-top: 22px; }
.visit h3 { font: 700 15px/1.2 var(--body); letter-spacing: 0; color: var(--signal); margin: 0 0 4px; }
.visit p { margin: 0 0 18px; font-size: 1.15rem; }
.tel { font-weight: 700; text-decoration: none; display: inline-block; padding: 12px 0; }
.hours { margin: 0; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.25); }
.hours dt { font-weight: 600; } .hours dd { margin: 0; }
.hours .now { color: var(--signal); }

.foot { background: var(--brand-deep); color: #dfe9e4; font-size: 15px; padding: 18px 0 calc(18px + env(safe-area-inset-bottom)); }
.foot-in { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.foot a { display: inline-block; padding: 12px 0; }

@media (min-width: 760px) {
  body { font-size: 18px; }
  .links > a:not(.btn) { display: block; }
  .hero { grid-template-columns: 1.05fr 1fr; align-items: center; padding-top: 56px; padding-bottom: 64px; gap: 48px; }
  .actions { grid-template-columns: auto auto; justify-content: start; }
  .btn.big { width: auto; }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .visit-grid { grid-template-columns: 1fr 1fr; }
  .menu-cta { grid-template-columns: 1fr auto; align-items: center; padding: 22px; }
  .menu-cta .btn { min-width: 220px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } details.cat summary .chev { transition: none; } }
