/* Page Lemon template: Tap. Brass and bottle green. Tokens first; see template.json "customise". */
:root {
  --green: #17382C;
  --green-deep: #0E2219;
  --green-line: #2C5A48;
  --brass: #C29A4B;
  --brass-hi: #E7C57E;
  --brass-ink: #6E4F17;
  --cream: #F3EBD8;
  --cream-2: #E9DFC6;
  --chalk: #EDE6CF;
  --ink: #1C1F18;
  --muted: #4E5246;
  --font-body: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --font-chalk: "Kalam", "Segoe Print", "Comic Sans MS", cursive;
  --wrap: 1180px;
  --radius: 6px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 17px/1.65 var(--font-body);
  padding-bottom: calc(84px + env(safe-area-inset-bottom));
  overflow-wrap: break-word;
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
img, svg { display: block; max-width: 100%; }
a { color: var(--brass-ink); text-underline-offset: 3px; overflow-wrap: anywhere; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
address { font-style: normal; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brass-hi); color: var(--green-deep); padding: 10px 14px; z-index: 50; border-radius: var(--radius); }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--brass-ink); outline-offset: 3px; }
.site-header :focus-visible, .hero :focus-visible, .page-hero :focus-visible, .board :focus-visible, .function-band :focus-visible, .end-band :focus-visible, .site-footer :focus-visible, .actions :focus-visible { outline-color: var(--brass-hi); }
.function-band .book-card :focus-visible { outline-color: var(--brass-ink); }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; min-width: 0; }
.split, .book-wrap, .menu-grid, .foot-grid, .hero-inner, .week, .event-list, .hours-table { min-width: 0; }
.split > *, .book-wrap > *, .menu-grid > *, .foot-grid > *, .hero-inner > *, .week > *, .event-list > * { min-width: 0; }
.hero-inner, .split, .book-wrap, .menu-grid, .foot-grid { grid-template-columns: minmax(0, 1fr); }
.hours-table { table-layout: fixed; }
.hours-table th, .hours-table td { overflow-wrap: anywhere; }
address, .chalk-row, .dish, .event-row, .notes li { overflow-wrap: anywhere; }
main section { padding: 64px 0; }
.eyebrow { font: 700 1.05rem/1.2 var(--font-chalk); color: var(--brass-ink); margin: 0 0 10px; letter-spacing: .01em; }
.hero .eyebrow, .page-hero .eyebrow, .end-band .eyebrow, .function-band .eyebrow, .board .eyebrow, .site-footer .eyebrow { color: var(--brass-hi); }
.link { font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
.lead { font-size: 1.12rem; max-width: 36em; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--radius);
  font: 700 16px/1.2 var(--font-body); text-decoration: none; border: 2px solid transparent; cursor: pointer;
}
.btn-brass { background: var(--brass-hi); color: var(--green-deep); }
.btn-brass:hover { background: #F2D694; }
.btn-line { border-color: var(--brass-hi); color: var(--brass-hi); background: transparent; }
.btn-line:hover { background: rgba(231, 197, 126, .12); }
.btn-ink { background: var(--green); color: var(--cream); }
.btn-ink:hover { background: var(--green-line); }
.btn-line-ink { border-color: var(--green); color: var(--green); background: transparent; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* Header */
.site-header { background: var(--green-deep); color: var(--cream); border-bottom: 3px solid var(--brass); position: sticky; top: 0; z-index: 20; }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; font-weight: 700; font-size: 1.1rem; }
.wordmark .mark { flex: none; }
.nav { display: none; align-items: center; gap: 6px; }
.nav a:not(.btn) { color: var(--cream); text-decoration: none; padding: 10px 12px; border-radius: var(--radius); min-height: 44px; display: inline-flex; align-items: center; }
.nav a:not(.btn):hover { background: var(--green); }
.nav a[aria-current="page"]:not(.btn) { color: var(--brass-hi); box-shadow: inset 0 -3px 0 var(--brass-hi); }
.nav .btn { margin-left: 8px; min-height: 44px; padding: 10px 16px; }
.mnav { position: relative; }
.mnav summary { list-style: none; cursor: pointer; min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; padding: 10px 14px; border: 2px solid var(--brass-hi); border-radius: var(--radius); color: var(--brass-hi); font-weight: 700; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav[open] summary { background: var(--brass-hi); color: var(--green-deep); }
.mnav nav { position: absolute; right: 0; top: calc(100% + 10px); width: min(300px, 92vw); background: var(--green-deep); border: 2px solid var(--brass); border-radius: var(--radius); padding: 8px; display: grid; }
.mnav nav a { color: var(--cream); text-decoration: none; min-height: 48px; display: flex; align-items: center; padding: 10px 12px; border-radius: var(--radius); font-size: 1.05rem; }
.mnav nav a:hover { background: var(--green); }
.mnav nav a[aria-current="page"] { color: var(--brass-hi); }
.mnav nav .btn { margin: 6px 0 4px; color: var(--green-deep); }
.mnav nav .btn:hover { color: var(--green-deep); }
@media (min-width: 900px) {
  .nav { display: flex; }
  .mnav { display: none; }
}

/* Mobile action bar */
.actions { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--green-deep); border-top: 3px solid var(--brass); padding-bottom: env(safe-area-inset-bottom); }
.actions a { min-height: 60px; display: flex; align-items: center; justify-content: center; color: var(--cream); text-decoration: none; font-weight: 700; font-size: 16px; }
.actions a + a { border-left: 1px solid var(--green-line); }
.actions a[aria-current="page"] { color: var(--brass-hi); }
.mnav nav .btn[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--green-deep); }
@media (min-width: 900px) { .actions { display: none; } }

/* Hero */
.hero { background: var(--green); color: var(--cream); padding: 56px 0 64px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(231,197,126,.04) 0 2px, transparent 2px 80px); pointer-events: none; }
.hero-inner { position: relative; display: grid; gap: 32px; align-items: center; }
.hero h1 { color: var(--cream); }
.hero h1 em { font-family: var(--font-chalk); font-style: normal; font-weight: 700; color: var(--brass-hi); }
.hero .lead { color: var(--chalk); }
.hero-art { position: relative; }
.hero-art .photo { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); border: 3px solid var(--brass); }
.hero-facts { display: grid; gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.hero-facts div { display: flex; gap: 12px; align-items: flex-start; }
.hero-facts dt { font: 700 15px/1.2 var(--font-chalk); color: var(--brass-hi); letter-spacing: .04em; min-width: 4.5em; }
.hero-facts dd { margin: 2px 0 0; font-size: 1rem; }
.hero-facts .big-dd { font-size: 1.1rem; font-weight: 700; }
@media (min-width: 900px) {
  .hero { padding: 88px 0 96px; }
  .hero-inner { grid-template-columns: 1.05fr .95fr; gap: 56px; }
}

/* Chalkboard panels */
.board {
  background: #1F3D32; color: var(--chalk); border: 3px solid var(--brass); border-radius: 10px; padding: 28px 24px;
  box-shadow: inset 0 0 0 6px var(--green-deep), inset 0 0 0 7px rgba(194, 154, 75, .45);
  background-image: radial-gradient(circle at 20% 10%, rgba(255,255,255,.05), transparent 55%);
}
.board h2, .board h3 { font-family: var(--font-chalk); color: var(--chalk); }
.board h2 { color: var(--brass-hi); }
.board .eyebrow { color: var(--brass-hi); }
.hero a:not(.btn), .board a:not(.btn) { color: var(--brass-hi); }
.board-title { font-family: var(--font-chalk); font-weight: 700; font-size: clamp(1.7rem, 4vw, 2.3rem); color: var(--brass-hi); margin: 0 0 4px; }
.chalk-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 14px 0; border-bottom: 1px dashed rgba(237, 230, 207, .28); }
.chalk-row:last-of-type { border-bottom: 0; }
.chalk-name { font: 700 1.25rem/1.25 var(--font-chalk); color: var(--chalk); }
.chalk-meta { font-size: 14px; color: var(--brass-hi); letter-spacing: .02em; }
.brewery:not(:empty)::before { content: " · "; }
.tag:empty { display: none; }
.chalk-price { font: 700 1.2rem/1.2 var(--font-body); color: var(--brass-hi); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.chalk-note { grid-column: 1 / -1; margin: 0; font-size: 15px; color: rgba(237, 230, 207, .86); }
.chalk-sub { font-size: 15px; color: rgba(237, 230, 207, .86); margin: 0 0 14px; }
.board .empty, .empty { font-family: var(--font-chalk); font-size: 1.15rem; color: var(--chalk); padding: 14px 0; margin: 0; }
[data-pl-item]:not(template) ~ [data-pl-empty] { display: none; }
.week > .empty, .event-list > .empty { color: var(--ink); font-family: var(--font-body); font-size: 1rem; }

/* Cards and events */
.week { display: grid; gap: 18px; margin-top: 28px; }
@media (min-width: 900px) { .week { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.event-card { background: var(--cream-2); border: 2px solid var(--ink); border-radius: 10px; padding: 22px 22px 20px; position: relative; box-shadow: 6px 6px 0 var(--brass); }
.event-card h3 { font-family: var(--font-chalk); font-size: 1.5rem; margin-bottom: 4px; }
.event-when { font: 700 15px/1.3 var(--font-body); color: var(--brass-ink); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 10px; }
.event-card .price { font-weight: 700; margin: 12px 0 0; }
.event-card p { margin: 0; }
.event-list { display: grid; gap: 0; }
.event-row { display: grid; gap: 6px; padding: 24px 0; border-bottom: 2px solid var(--ink); }
.event-row:first-child { border-top: 2px solid var(--ink); }
.event-row h3 { font-family: var(--font-chalk); font-size: 1.6rem; margin: 0; }
.event-row p { margin: 0; }
.event-row .price { font-weight: 700; }
.event-row .when { font: 700 15px/1.3 var(--font-body); color: var(--brass-ink); text-transform: uppercase; letter-spacing: .06em; }
@media (min-width: 760px) {
  .event-row { grid-template-columns: 1fr 1fr; gap: 6px 32px; align-items: start; }
}

/* Lanterns and specials */
.cream-band { background: var(--cream-2); }
.split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.frame { border-radius: 10px; border: 3px solid var(--ink); overflow: hidden; box-shadow: 8px 8px 0 var(--brass); }
.frame .photo { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }

/* Menu */
.page-hero { background: var(--green); color: var(--cream); padding: 56px 0 48px; }
.page-hero h1 { color: var(--cream); }
.page-hero h1 em { font-family: var(--font-chalk); font-style: normal; color: var(--brass-hi); }
.page-hero .lead { color: var(--chalk); }
.menu-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .menu-grid { grid-template-columns: 1fr 1fr; gap: 36px; } .menu-grid .wide { grid-column: 1 / -1; } }
.dish { padding: 14px 0; border-bottom: 1px dashed rgba(237, 230, 207, .28); }
.dish:last-child { border-bottom: 0; }
.dish-top { display: flex; align-items: baseline; gap: 10px; }
.dish-name { font: 700 1.2rem/1.3 var(--font-chalk); color: var(--chalk); }
.leader { flex: 1; border-bottom: 2px dotted rgba(231, 197, 126, .45); transform: translateY(-4px); min-width: 16px; }
.dish-price { font-weight: 700; color: var(--brass-hi); font-variant-numeric: tabular-nums; white-space: nowrap; }
.dish-desc { margin: 4px 0 0; font-size: 15px; color: rgba(237, 230, 207, .86); }
.tag { display: inline-block; font: 700 12px/1 var(--font-body); letter-spacing: .04em; border: 1px solid var(--brass-hi); color: var(--brass-hi); border-radius: 999px; padding: 4px 7px; text-decoration: none; margin-left: 6px; vertical-align: 2px; }
.key { font-size: 15px; margin: 0 0 18px; color: var(--muted); }
.cream .dish-desc, .paper .dish-desc { color: var(--muted); }

/* Food cards on cream */
.food-card { background: var(--cream-2); border: 2px solid var(--ink); border-radius: 10px; padding: 22px 22px 14px; box-shadow: 6px 6px 0 var(--brass); }
.food-card h3 { font-family: var(--font-chalk); font-size: 1.9rem; color: var(--ink); margin-bottom: 8px; }
.food-card .dish { border-bottom-color: rgba(28, 31, 24, .25); }
.food-card .dish-name { color: var(--ink); font-size: 1.15rem; }
.food-card .dish-price { color: var(--brass-ink); }
.food-card .dish-desc { color: var(--muted); }
.food-card .leader { border-bottom-color: rgba(28, 31, 24, .4); }
.food-card .tag { color: var(--brass-ink); border-color: var(--brass-ink); }
.food-card .empty { color: var(--ink); }
@media (min-width: 900px) { .food-card.wide { grid-column: 1 / -1; } }

/* Visit facts */
.hours-table { width: 100%; border-collapse: collapse; margin: 6px 0 0; }
.hours-table th, .hours-table td { text-align: left; padding: 10px 0; border-bottom: 1px dashed rgba(28, 31, 24, .3); vertical-align: top; }
.hours-table th { font-weight: 700; width: 46%; padding-right: 12px; }
.hours-table td { font-variant-numeric: tabular-nums; }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }
.notes { list-style: none; margin: 0; padding: 0; }
.notes li { padding: 14px 0 14px 34px; position: relative; border-bottom: 1px dashed rgba(28, 31, 24, .3); }
.notes li:last-child { border-bottom: 0; }
.notes li::before { content: ""; position: absolute; left: 0; top: 19px; width: 18px; height: 18px; border: 2px solid var(--brass-ink); border-radius: 50%; background: var(--cream); }
.notes li.yes::before { background: var(--brass-ink); }
.map-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; font-size: 1.05rem; }

/* Booking and forms */
.book-wrap { display: grid; gap: 28px; }
@media (min-width: 900px) { .book-wrap { grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: start; } }
.book-card { background: var(--cream-2); border: 2px solid var(--ink); border-radius: 10px; padding: 26px 24px; box-shadow: 6px 6px 0 var(--brass); }
.book-card h2 { font-family: var(--font-chalk); }
.book-aside { border-top: 3px solid var(--brass-ink); padding-top: 18px; }
.book-aside h2 { font-family: var(--font-chalk); font-size: 1.8rem; }
.next-steps { padding-left: 1.2em; margin: 0 0 12px; }
.next-steps li { margin-bottom: 8px; }
.fine { font-size: 15px; color: var(--muted); }
.pick-group { border: 0; margin: 20px 0 0; padding: 0; min-width: 0; }
.pick-group legend { padding: 0; margin-bottom: 10px; font-weight: 700; }
.pick-row { display: flex; flex-wrap: wrap; gap: 10px; }
.book-card .pick-chip { position: relative; margin: 0; display: block; }
.pick-chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pick-chip span { display: inline-flex; flex-direction: column; justify-content: center; min-height: 48px; padding: 8px 16px; border: 2px solid var(--ink); border-radius: 10px; background: var(--cream); font-weight: 700; font-variant-numeric: tabular-nums; cursor: pointer; line-height: 1.25; }
.pick-chip small { font-size: 13px; font-weight: 400; color: var(--muted); }
.pick-chip input:checked + span { background: var(--green); color: var(--cream); border-color: var(--green); box-shadow: 3px 3px 0 var(--brass); }
.pick-chip input:checked + span small { color: var(--brass-hi); }
.pick-chip input:focus-visible + span { outline: 3px solid var(--brass-ink); outline-offset: 3px; }
.pick-chip input:disabled + span { opacity: .5; text-decoration: line-through; cursor: not-allowed; }
.pick-empty, .pick-status, .pick-alt { margin: 12px 0 0; font-size: 15px; }
.pick-status:empty { display: none; }
.pick-alt a { font-weight: 700; }
.book-card label, .plugin-form label, .booking-form label { display: block; font-weight: 700; margin: 16px 0 6px; }
.book-card input:not([type="radio"]), .book-card select, .book-card textarea,
.plugin-form input, .plugin-form select, .plugin-form textarea,
.booking-form input, .booking-form select, .booking-form textarea { width: 100%; min-height: 48px; padding: 10px 12px; font: 400 16px/1.4 var(--font-body); border: 2px solid var(--ink); border-radius: var(--radius); background: #FBF7EC; color: var(--ink); }
.plugin-form button, .booking-form button, .book-card > button { margin-top: 22px; }
.book-card textarea, .plugin-form textarea { min-height: 110px; }
.slot-note { margin-top: 14px; }
.slot-form { margin-top: 0; }

/* Function-room band */
.function-band { background: var(--green-deep); color: var(--cream); }
.function-band h2 { font-family: var(--font-chalk); color: var(--brass-hi); }
.function-band .lead, .function-band p { color: var(--chalk); }
.function-band .btn-row a { color: var(--cream); }
.function-band .book-card { color: var(--ink); }
.function-band .book-card p { color: var(--muted); }
.function-band .book-card .btn-line-ink { color: var(--green); }

/* End band */
.end-band { background: var(--green); color: var(--cream); text-align: center; }
.end-band h2 { font-family: var(--font-chalk); color: var(--brass-hi); }
.end-band p { color: var(--chalk); max-width: 30em; margin-inline: auto; }
.end-band a:not(.btn) { color: var(--brass-hi); }
.end-band .btn-row { justify-content: center; }

/* Footer */
.site-footer { background: var(--green-deep); color: var(--chalk); padding: 56px 0 36px; border-top: 3px solid var(--brass); }
.foot-grid { display: grid; gap: 32px; }
.foot-name { font: 700 1.6rem/1.2 var(--font-chalk); color: var(--brass-hi); margin: 0 0 8px; }
.site-footer a:not(.btn) { color: var(--cream); }
.site-footer address a { font-weight: 700; display: inline-flex; min-height: 44px; align-items: center; }
.foot-h { font: 700 1.1rem/1.2 var(--font-chalk); color: var(--brass-hi); margin: 0 0 10px; }
.foot-small { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--green-line); font-size: 14px; color: rgba(237, 230, 207, .78); }
.foot-list { list-style: none; margin: 0; padding: 0; }
.foot-list li { margin-bottom: 6px; }
.foot-list a { display: inline-flex; min-height: 44px; align-items: center; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }

/* Error page */
.err { min-height: 60vh; display: grid; align-items: center; }
.err h1 { font-family: var(--font-chalk); color: var(--cream); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (max-width: 899px) {
  .chalk-note, .chalk-sub, .dish-desc, .key, .fine, .pick-empty, .pick-status, .pick-alt { font-size: 16px; }
}
@media (max-width: 360px) { .btn { padding: 12px 16px; } }
