:root {
  --bg: #F6F1E7;
  --text: #2A1E14;
  --muted: #5E4E40;
  --body: #4A3B2E;
  --wood: #7A4A2A;
  --wood-dark: #4E2E18;
  --board: #213A2E;
  --chalk: #F3EEDF;
  --chalk-muted: #CFC8B4;
  --price: #E8B44E;
  --band: #EFE6D6;
  --border: #E2D8C6;
  --footer: #2A1E14;
  --serif: Bitter, Georgia, serif;
  --sans: Inter, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  padding-bottom: calc(92px + env(safe-area-inset-bottom));
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
}

h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); }
a { color: var(--wood); }
a:hover { color: var(--wood-dark); }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--wood); outline-offset: 2px; }
.board :focus-visible { outline-color: var(--price); }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.icon-phone { width: 20px; height: 20px; flex: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}
.btn-board { background: var(--board); color: var(--chalk); }
.btn-board:hover { background: #17291F; color: var(--chalk); }
.btn-outline, .btn-map { border: 1.5px solid var(--wood); color: var(--wood); }

/* Header */
.site-header { border-bottom: 1px solid var(--border); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand { display: flex; flex-direction: column; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.brand-name { font-family: var(--serif); font-weight: 800; font-size: 24px; line-height: 1.1; letter-spacing: -0.5px; }
.brand-sub { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 1.4px; }
.nav { display: flex; align-items: center; }
.nav-link { display: none; }
.header-call {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--wood);
  color: #FFF;
  text-decoration: none;
  font-weight: 600;
}
.header-call:hover { background: var(--wood-dark); color: #FFF; }
.header-call-number { display: none; }

/* Hero: phone order is headline, then menu card */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "intro" "menu";
  padding-top: 28px;
  padding-bottom: 24px;
  gap: 24px;
}
.hero-intro { grid-area: intro; display: flex; flex-direction: column; gap: 14px; }
.eyebrow, .hero-lead, .hero-actions, .stats { display: none; }
h1 { font-weight: 800; font-size: 34px; line-height: 1.1; letter-spacing: -0.5px; }
.hero-facts { display: flex; flex-direction: column; gap: 14px; color: var(--body); }
.hero-facts b { color: var(--text); }

/* Chalkboard menu card */
.board {
  grid-area: menu;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 -8px;
  padding: 22px 18px;
  border-radius: 18px;
  background: var(--board);
  color: var(--chalk);
}
.board-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
.board h2 { font-weight: 700; font-size: 24px; }
.board-muted { font-size: 14px; color: var(--chalk-muted); }
#menu-week { flex-basis: 100%; min-height: 21px; }
.menu-loading .board-body { min-height: 540px; }
.menu-app { display: flex; flex-direction: column; gap: 16px; }
.menu-sample { font-size: 13px; font-weight: 600; color: var(--price); }
.menu-weekend { font-size: 16px; font-weight: 600; }
.tabs { display: flex; gap: 6px; }
.tab {
  flex: 1 1 0;
  min-height: 44px;
  padding: 0;
  border: 1.5px solid #F3EEDF66;
  border-radius: 999px;
  background: transparent;
  color: var(--chalk);
  font: 600 15px var(--sans);
  cursor: pointer;
}
.tab:hover { border-color: var(--chalk); }
.tab[aria-selected="true"] { background: var(--price); border-color: var(--price); color: var(--text); }
.menu-date { margin-bottom: 12px; }
.dishes { margin: 0; padding: 0; list-style: none; }
.dish {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "tag price" "name name";
  gap: 2px 12px;
  padding: 12px 0;
  border-top: 1px dashed #F3EEDF40;
}
.dish-tag { grid-area: tag; font-size: 12px; font-weight: 600; color: var(--price); text-transform: uppercase; letter-spacing: 1px; }
.dish-name { grid-area: name; }
.dish-price { grid-area: price; font-family: var(--serif); font-weight: 700; font-size: 15px; color: var(--price); }
.dish-allergens { font-size: 13px; color: var(--chalk-muted); white-space: nowrap; }
.menu-note { font-size: 13px; }
.menu-fallback { color: var(--chalk); }
.menu-loading .menu-fallback { visibility: hidden; }
.menu-fallback a { color: var(--price); font-weight: 600; display: inline-block; padding: 12px 0; }

/* About */
.band { background: var(--band); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.band-inner { display: flex; flex-direction: column; gap: 24px; padding-top: 40px; padding-bottom: 40px; }
.section-title { font-weight: 700; font-size: 26px; line-height: 1.2; letter-spacing: -0.5px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 16px; background: var(--bg); }
.card svg { width: 28px; height: 28px; color: var(--wood); }
.card h3 { font-size: 21px; }
.card p { color: var(--body); }

/* Contact */
.contact { display: flex; flex-direction: column; gap: 28px; padding-top: 40px; padding-bottom: 40px; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; flex-direction: column; gap: 4px; }
.label { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 1.2px; }
.contact-item address { font-size: 18px; }
.contact-phone { display: inline-flex; align-items: center; min-height: 44px; font-size: 18px; font-weight: 600; }
.hours { width: 100%; max-width: 360px; border-collapse: collapse; }
.hours caption { padding-bottom: 8px; text-align: left; }
.hours td { padding: 6px 0; border-top: 1px solid var(--border); }
.hours td:last-child { font-weight: 600; text-align: right; }
.contact-map { display: flex; flex-direction: column; gap: 14px; }
.map { display: block; width: 100%; height: 300px; border: 1px solid #D9CBB2; border-radius: 20px; background: #E7DCC8; }

/* Footer */
.site-footer { background: var(--footer); color: #E8DFCF; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-top: 24px; padding-bottom: 24px; font-size: 14px; }
.footer-name { font-family: var(--serif); font-weight: 800; font-size: 18px; color: #FFF; }
.site-footer a { display: inline-block; padding: 12px 0; color: #E8DFCF; }

/* Fixed call button on phones */
.callbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.callbar-btn { display: flex; min-height: 52px; background: var(--wood); color: #FFF; font-size: 17px; }
.callbar-btn:hover { background: var(--wood-dark); color: #FFF; }

/* Tablet and desktop */
@media (min-width: 768px) {
  body { padding-bottom: 0; line-height: 1.55; }
  .wrap { padding-left: 24px; padding-right: 24px; }
  .callbar, .hero-facts { display: none; }

  .header-inner { flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
  .brand { flex-direction: row; align-items: baseline; gap: 10px; }
  .brand-name { font-size: 28px; line-height: inherit; }
  .brand-sub { font-size: 13px; letter-spacing: 1.5px; }
  .nav { gap: 24px; font-size: 15px; font-weight: 500; }
  .nav-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); text-decoration: none; }
  .nav-link:hover { color: var(--wood); }
  .header-call { gap: 8px; width: auto; height: auto; min-height: 44px; padding: 0 18px; }
  .header-call .icon-phone { width: 16px; height: 16px; }
  .header-call-number { display: inline; }

  .hero {
    grid-template-areas: "intro" "stats" "menu";
    gap: 32px;
    padding-top: 64px;
    padding-bottom: 56px;
  }
  .hero-intro { gap: 20px; }
  .eyebrow { display: block; font-size: 14px; font-weight: 600; color: var(--wood); text-transform: uppercase; letter-spacing: 1.5px; }
  h1 { font-size: 56px; line-height: 1.05; letter-spacing: -1px; }
  .hero-lead { display: block; max-width: 520px; font-size: 19px; color: var(--body); }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
  .stats { grid-area: stats; display: flex; flex-wrap: wrap; align-self: start; gap: 28px; padding-top: 20px; border-top: 1px solid var(--border); }
  .stat { display: flex; flex-direction: column; gap: 2px; }
  .stat-value { font-family: var(--serif); font-weight: 700; font-size: 26px; }
  .stat-label { font-size: 14px; color: var(--muted); }

  .board { gap: 20px; margin: 0; padding: 32px; border-radius: 20px; box-shadow: 0 1px 0 #00000014, 0 18px 40px -20px #2A1E1466; }
  .board h2 { font-size: 30px; }
  #menu-week { flex-basis: auto; min-height: 0; }
  .menu-loading .board-body { min-height: 455px; }
  .board-muted { font-size: 15px; }
  .menu-app { gap: 20px; }
  .tabs { flex-wrap: wrap; gap: 8px; }
  .tab { flex: 0 0 auto; min-width: 52px; padding: 0 16px; }
  .dish {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "tag name price";
    align-items: baseline;
    gap: 16px;
    padding: 14px 0;
  }
  .dish-tag { min-width: 64px; font-size: 13px; text-transform: none; letter-spacing: 0; }
  .dish-tag-prefix { display: none; }
  .dish-name { font-size: 17px; }
  .dish-price { font-size: 17px; }
  .menu-note { font-size: 14px; }

  .band-inner { gap: 32px; padding-top: 64px; padding-bottom: 64px; }
  .section-title { font-size: 36px; }
  .cards { gap: 24px; }
  .card { padding: 28px; }

  .contact { flex-direction: row; flex-wrap: wrap; gap: 32px; padding-top: 64px; padding-bottom: 64px; }
  .contact-info { flex: 1 1 320px; min-width: 0; gap: 24px; }
  .contact-map { flex: 1 1 320px; min-width: 0; }
  .label { font-size: 13px; }
  .map { height: auto; flex: 1 1 auto; min-height: 320px; }
  .btn-map { align-self: center; min-height: 44px; padding: 0 20px; border: 0; background: var(--wood); color: #FFF; }
  .btn-map:hover { background: var(--wood-dark); color: #FFF; }

  .footer-inner { padding-top: 32px; padding-bottom: 32px; }
}

/* Two columns: text and stats left, menu card right */
@media (min-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    grid-template-areas: "intro menu" "stats menu";
    gap: 32px 48px;
    align-items: start;
  }
  .hero-intro { padding-top: 12px; }
}
