:root {
  --ink: #23201b;
  --muted: #6d655a;
  --paper: #f7f1e5;
  --card: #fffaf0;
  --green: #1f3b2d;
  --green-2: #2e5a43;
  --brass: #c9a24d;
  --line: #e2d6bf;
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

* { box-sizing: border-box; }
body { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-2); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; color: var(--green); }
h2 { font-size: 1.7rem; margin: 2.5rem 0 1rem; }
.wrap { max-width: 68rem; margin: 0 auto; padding: 0 1rem; }
.small { font-size: .9rem; color: var(--muted); }

/* Header */
.site-header { background: var(--green); color: var(--paper); }
.site-header .wrap { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; justify-content: space-between; padding-top: .9rem; padding-bottom: .9rem; }
.brand { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; color: var(--brass); text-decoration: none; letter-spacing: .02em; }
.site-header nav ul { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; list-style: none; margin: 0; padding: 0; }
.site-header nav p { margin: 0; }
.site-header nav a { color: var(--paper); text-decoration: none; }
.site-header nav a:hover { color: var(--brass); }

/* Home hero */
.hero { position: relative; background: var(--green); }
.hero-image { width: 100%; max-height: 70vh; object-fit: cover; opacity: .55; }
.hero-text { position: absolute; inset: auto 0 0; padding-bottom: 2rem; color: #fff; }
.hero-text h1 { color: #fff; font-size: clamp(2.1rem, 6vw, 4rem); margin: 0 0 .75rem; max-width: 16ch; text-shadow: 0 2px 12px rgb(0 0 0 / .35); }
.hero-text > div { max-width: 38rem; font-size: 1.1rem; text-shadow: 0 1px 8px rgb(0 0 0 / .4); }
@media (max-width: 40rem) {
  .hero-image { opacity: 1; max-height: 40vh; }
  .hero-text { position: static; background: var(--green); padding-top: 1.25rem; }
  .hero-text h1, .hero-text > div { text-shadow: none; }
}
.buttons { display: flex; flex-wrap: wrap; gap: .75rem; }
.button { display: inline-block; background: var(--brass); color: var(--green); padding: .75rem 1.4rem; border-radius: 999px; text-decoration: none; font-weight: 700; }
.button.secondary { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.button:hover { filter: brightness(1.08); }

/* Layout */
.page-head { padding-top: 2rem; }
.page-head h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 .5rem; }
.page-head > div { max-width: 40rem; font-size: 1.1rem; }
.columns { display: grid; gap: 0 3rem; }
@media (min-width: 56rem) { .columns { grid-template-columns: 1fr 20rem; } }
.hours { background: var(--green); color: var(--paper); padding: 1.25rem 1.5rem; border-radius: 14px; margin-top: 2.5rem; }
.hours h2 { color: var(--brass); margin: 0 0 .5rem; font-size: 1.4rem; }
.hours p { margin: .3rem 0; }
.wide { width: 100%; border-radius: 14px; margin: 2rem 0; aspect-ratio: 16 / 9; object-fit: cover; }

/* Footer */
.site-footer { background: var(--green); color: var(--paper); margin-top: 4rem; padding: 2rem 0; }
.site-footer a { color: var(--brass); }
.site-footer p { margin: .3rem 0; }
.site-footer .small { color: #b9c7bd; margin-top: 1rem; }

/* Events widget (src/Widgets/Events.elm) */
.events-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 1rem; }
.event { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
@media (min-width: 40rem) { .event { grid-template-columns: 12rem 1fr; } }
.event img { width: 100%; height: 100%; object-fit: cover; }
.event-body { padding: .9rem 1rem .9rem 0; }
.event-body h3 { margin: .15rem 0 .4rem; font-size: 1.3rem; }
.event-body p { margin: .3rem 0; }
.event-when { margin: 0; color: var(--green-2); font-weight: 700; text-transform: uppercase; font-size: .8rem; letter-spacing: .06em; }
.events-list.past .event { opacity: .65; }
.events-past-toggle { background: none; border: 1px solid var(--line); border-radius: 999px; padding: .5rem 1rem; cursor: pointer; font: inherit; color: var(--ink); }
.events-empty { color: var(--muted); }

/* Menu widget (src/Widgets/Menu.elm) */
.menu-section { margin-bottom: 2rem; }
.menu-section h2 { border-bottom: 2px solid var(--brass); padding-bottom: .35rem; }
.menu-items { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
@media (min-width: 48rem) { .menu-items { grid-template-columns: 1fr 1fr; gap: 1rem 2.5rem; } }
.dish-head { display: flex; gap: .5rem; align-items: baseline; }
.dish-name { font-weight: 700; font-family: var(--serif); font-size: 1.15rem; }
.dish-tags { font-size: .75rem; font-weight: 700; color: var(--green-2); border: 1px solid var(--green-2); border-radius: 4px; padding: 0 .3rem; }
.dish-dots { flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-.3rem); }
.dish-price { font-weight: 700; white-space: nowrap; }
.dish-desc { margin: .1rem 0 0; color: var(--muted); }

/* Gallery widget (src/Widgets/Gallery.elm) */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: .75rem; list-style: none; padding: 0; }
.gallery-grid button { all: unset; cursor: pointer; display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; }
.gallery-grid button:focus-visible { outline: 3px solid var(--brass); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.gallery-grid button:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; background: rgb(0 0 0 / .88); display: grid; place-items: center; z-index: 100; padding: 1rem; }
.lightbox figure { margin: 0; max-width: min(90vw, 70rem); }
.lightbox img { max-height: 80vh; margin: 0 auto; cursor: pointer; }
.lightbox figcaption { color: #eee; text-align: center; padding-top: .5rem; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 2.5rem; cursor: pointer; padding: .5rem 1rem; }
.lightbox-prev { left: 0; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 0; top: 50%; transform: translateY(-50%); }
.lightbox-close { top: 0; right: 0; }

/* Notice banner (src/Widgets/Notice.elm) */
.notice-banner { background: var(--brass); color: var(--green); text-align: center; padding: .55rem 1rem; }
.notice-banner p { margin: 0; }
.notice-banner a { color: var(--green); font-weight: 700; }

/* Opening hours (src/Widgets/Hours.elm) */
.hours-status { display: inline-block; margin: 0 0 .75rem; padding: .3rem .8rem; border-radius: 999px; font-weight: 700; font-size: .95rem; background: rgb(255 255 255 / .15); }
.hours-status::before { content: ""; display: inline-block; width: .6rem; height: .6rem; border-radius: 50%; margin-right: .45rem; background: #e2574c; }
.hours-status.open::before { background: #6fd08c; }
.hours-week { width: 100%; border-collapse: collapse; }
.hours-week th { text-align: left; font-weight: 600; padding: .2rem .8rem .2rem 0; width: 3.2rem; }
.hours-week td { padding: .2rem 0; }
.hours-week tr.today { color: var(--brass); font-weight: 700; }
.hours .hours-specials { list-style: none; padding: 0; margin: .75rem 0 0; font-size: .95rem; }
.hours .kitchen { font-size: .95rem; margin: .75rem 0 0; }

/* Business details (src/Widgets/Business.elm) */
.business { font-style: normal; }
.site-footer .admin-link { color: #b9c7bd; }
