:root {
  --navy: #123e66;
  --marigold: #f0ac2e;
  --oxblood: #5c1d12;
  --ink: #2d2b2a;
  --cocoa: #5b4039;
  --paper: #fff;
  --bar-h: 52px;
  --gutter: 20px;
  --head: "Sofia Sans Extra Condensed", "Arial Narrow", sans-serif;
  --body: "Sofia Sans", system-ui, sans-serif;
  --slab: "Zilla Slab", Rockwell, Georgia, serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--bar-h) - 2px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.4 var(--body); }
h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--oxblood); outline-offset: 2px; border-radius: 4px; }

/* Lunch banner */
.lunch { display: block; padding: 10px 12px; background: var(--marigold); color: var(--ink); text-align: center; text-decoration: none; text-wrap: balance; }
.lunch-title { display: block; font: 700 1.25rem/1.2 var(--slab); }
.lunch-time { font-size: 1rem; font-weight: 500; }
.lunch.is-on { background: var(--navy); color: #fff; }
.lunch.is-on .lunch-time { color: var(--marigold); font-weight: 700; }
.lunch:hover .lunch-title { text-decoration: underline; }

/* Page tabs */
.tabs { display: flex; justify-content: center; gap: 8px; }
.tabs a { padding: 12px 18px 8px; color: var(--ink); font-weight: 500; text-decoration: none; }
.tabs a[aria-current] { color: var(--navy); font-weight: 700; box-shadow: inset 0 -4px var(--marigold); }
.tabs a:hover { color: var(--navy); }

/* Home */
[hidden] { display: none !important; }
.home-photo { display: block; width: 100%; height: clamp(170px, 25vh, 320px); margin-top: 8px; object-fit: cover; object-position: 50% 38%; }
.home-main { max-width: 520px; padding: 18px var(--gutter) 48px; }
.home-logo { display: block; width: 118px; height: auto; margin: 0 auto; }
.home-main h1, .cover h1 { margin-top: 10px; font: 700 1.25rem/1.2 var(--slab); text-align: center; }
.status { min-height: 1.4em; margin: 2px 0 14px; color: var(--oxblood); font-weight: 700; text-align: center; }
.status.is-open { color: #1c6b45; }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.action { display: flex; flex-direction: column; justify-content: center; min-height: 76px; padding: 12px; border: 2px solid var(--navy); border-radius: 10px; color: var(--navy); text-decoration: none; }
.action > span { display: block; }
.action-name { display: block; font: 700 1.125rem/1.2 var(--slab); }
.action-detail { display: block; margin-top: 2px; font-size: 1rem; line-height: 1.25; }
.action-menu { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: flex-start; gap: 16px; min-height: 88px; padding-inline: 16px; background: var(--navy); color: #fff; }
.action-menu img { width: 60px; height: 68px; object-fit: contain; filter: brightness(0) invert(1); }
.action-menu .action-name { font-size: 1.625rem; }
.action:not(.action-menu):hover { background: #eef3f8; }
.action-menu:hover { background: #0d3153; }
.action-off, .action-off:hover { border-color: #c9c4c2; background: #f4f2f1 !important; color: #625b58; }
.about { margin-top: 32px; }
.about a { color: var(--navy); font-weight: 500; }
.visit { margin-top: 32px; padding-top: 28px; border-top: 2px solid var(--oxblood); }
.home-main h2 { margin-bottom: 8px; font-size: 2.25rem; }
.visit a { display: inline-block; padding: 8px 0; color: var(--navy); font-weight: 700; }
.hours { margin: 10px 0 14px; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; font-variant-numeric: tabular-nums; }
.hours .today { font-weight: 700; }

/* Cover */
.cover { max-width: 1040px; margin: 0 auto; padding: 28px var(--gutter) 20px; }
.cover-logo { display: block; width: fit-content; margin: 0 auto; line-height: 0; }
.cover-logo img { width: 190px; height: auto; }
.picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 8px; margin-top: 28px; }
.pick { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; color: var(--oxblood); font-weight: 700; text-decoration: none; }
.pick img { width: 64px; height: 64px; object-fit: contain; object-position: bottom; transition: transform .18s ease-out; }
.pick:hover img, .pick:focus-visible img { transform: translateY(-4px); }

/* Section bar */
.bar { position: sticky; top: 0; z-index: 2; display: flex; gap: 4px; height: var(--bar-h); padding: 0 12px; overflow-x: auto; background: var(--paper); border-block: 2px solid var(--oxblood); scrollbar-width: none; }
.bar::-webkit-scrollbar { display: none; }
.bar a { flex: none; display: flex; align-items: center; padding: 0 10px; color: var(--ink); font-weight: 500; text-decoration: none; white-space: nowrap; }
.bar a:hover { color: var(--navy); }
.bar a[aria-current] { color: var(--navy); font-weight: 700; box-shadow: inset 0 -5px var(--marigold); }
.bar a:focus-visible { outline-offset: -4px; }

/* Sections */
main { max-width: 1040px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 36px 0 34px; }
.section + .section { border-top: 2px solid var(--oxblood); }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; margin-bottom: 18px; }
h2 { color: var(--navy); font: 800 2.75rem/.95 var(--head); text-transform: uppercase; }
.subtitle { margin-top: 6px; color: var(--navy); font: italic 500 1.125rem/1.25 var(--slab); }
.section-icon { flex: none; line-height: 0; }
.section-icon img { width: 60px; height: 60px; object-fit: contain; }

.badges { flex: none; display: flex; }
.badge { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 74px; height: 74px; border-radius: 50%; background: var(--navy); color: #fff; line-height: 1.1; }
.badge + .badge { margin: 18px 0 -18px -6px; }
.badge-label { font: italic 500 .9375rem/1.1 var(--slab); }
.badge-price { font-size: 1.125rem; font-weight: 700; }
.section-head:has(.badge + .badge) { margin-bottom: 34px; }

.lunch-note { margin-bottom: 20px; padding: 10px 14px; border-left: 6px solid var(--marigold); background: #fdf3dc; font-weight: 500; }

.items { display: grid; gap: 18px; }
.item-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.item-name { font: 700 1.25rem/1.2 var(--slab); }
.price { flex: none; font-weight: 500; font-variant-numeric: tabular-nums; }
.desc { max-width: 60ch; margin-top: 2px; color: var(--cocoa); }
.add { margin-top: 4px; color: var(--navy); font-weight: 500; }
.note { margin-top: 24px; color: var(--navy); font: italic 500 1.125rem/1.3 var(--slab); }

.options { color: var(--cocoa); }
.options strong { color: var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Two price columns */
.cols { display: flex; justify-content: flex-end; color: var(--navy); font: italic 500 1.0625rem/1 var(--slab); margin-bottom: 10px; }
.cols span, .priced > .items .price { width: 64px; text-align: right; }
.priced > .items { gap: 12px; }
.priced > .items .item-row { gap: 0; }
.priced > .items .item-name { flex: 1; padding-right: 8px; }
.cols + .cols { display: none; }

.extras { display: grid; gap: 24px; margin-top: 30px; }
.extra-title { margin-bottom: 4px; color: var(--navy); font: italic 500 1.375rem/1.2 var(--slab); }
.extra .items { gap: 8px; }

.feature { padding: 16px 18px; border-radius: 6px; background: var(--oxblood); color: #fff; }
.feature .item-name { font-size: 1.5rem; }
.feature .desc { color: #f6e3dd; }

.foot { margin-top: 12px; padding: 32px var(--gutter) 48px; border-top: 2px solid var(--oxblood); text-align: center; }
.foot img { width: 64px; height: 64px; margin: 18px 0 8px; object-fit: contain; }
.foot a { display: inline-block; padding: 10px; color: var(--navy); font-weight: 700; }

@media (min-width: 720px) {
  :root { --gutter: 32px; }
  .cover { padding-top: 40px; }
  .cover-logo img { width: 260px; }
  .cover h1 { font-size: 1.5rem; }
  .picks { grid-template-columns: repeat(9, 1fr); margin-top: 40px; }
  .pick img { width: 76px; height: 84px; }
  h2 { font-size: 3.5rem; }
  .items { grid-template-columns: 1fr 1fr; gap: 24px 56px; }
  .priced > .items { gap: 16px 56px; }
  .cols-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
  .cols + .cols { display: flex; }
  .extra .items { grid-template-columns: 1fr; }
  .extras { grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
  .feature { grid-column: 1 / -1; }
  .section-icon img { width: 80px; height: 80px; }
  .badge { width: 88px; height: 88px; }
  .badge-price { font-size: 1.25rem; }
}
@media (min-width: 860px) {
  .home { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: 12px; }
  .home-photo { position: sticky; top: 0; order: 2; height: 100vh; min-height: 0; max-height: none; margin: 0; }
  .home-main { justify-self: center; width: 100%; padding-block: 40px 56px; }
  .home-logo { width: 220px; }
  .home-main h1 { margin-top: 18px; font-size: 1.75rem; }
  .status { margin: 6px 0 24px; }
}
@media (min-width: 1080px) { .bar { justify-content: center; padding: 0; } .bar a { padding: 0 9px; } }

@media (max-width: 359px) {
  .section-head { flex-wrap: wrap; }
  h2 { font-size: 2.5rem; }
}
