/* B · Timber & Tin: taken from the shopfront at 32B. Black weathered timber, white clapboard, corrugated iron, white slab letters, and the glow of the brick oven. */
:root {
  --bg: #efebe3;
  --surface: #fbfaf7;
  --alt: #e0dbd0;
  --ink: #1c1f22;
  --muted: #52575b;
  --title: #1c1f22;
  --accent: #b23c12;
  --accent-deep: #8c2e0c;
  --on-accent: #ffffff;
  --timber: #1c1f22;
  --timber-2: #2a2e32;
  --on-timber: #f4f1ea;
  --ember-light: #f4a77e;
  --tin: #a9b0b5;
  --footer: #1c1f22;
  --on-footer: #f4f1ea;
  --header: 64px;
  --bar-h: 60px;
  --slab: 'Zilla Slab', 'Rockwell', Georgia, serif;
  --sans: 'Karla', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  padding-bottom: var(--bar-h);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--slab); font-weight: 700; line-height: 1.05; margin: 0; }
p { margin: 0 0 1em; }
figure { margin: 0; }
section[id], main { scroll-margin-top: calc(var(--header) + 8px); }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }

.sr-only, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--surface); padding: 8px 12px; }

/* Weathered timber: dark planks with a faint grain */
.site-header, .menu, .reviews, .site-footer, .beam {
  background-color: var(--timber);
  background-image:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 9px),
    linear-gradient(90deg, rgba(255, 255, 255, .03), transparent 40%, rgba(255, 255, 255, .02) 70%, transparent);
}

/* Corrugated iron band between sections */
.tin {
  height: 26px;
  background: repeating-linear-gradient(90deg, #8d959b 0 5px, #d3d7da 5px 10px, var(--tin) 10px 16px);
  border-top: 3px solid var(--timber);
  border-bottom: 3px solid var(--timber);
}

.label {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.label-light { color: var(--ember-light); }
.section-title { font-size: clamp(34px, 8vw, 54px); color: var(--title); margin-bottom: .45em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 10px 22px;
  border-radius: 3px;
  font-family: var(--slab); font-weight: 700; font-size: 19px; text-decoration: none;
  border: 3px solid var(--accent);
  transition: background .15s ease, color .15s ease;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--surface); }
.btn-ghost:hover { background: var(--timber); color: var(--on-timber); border-color: var(--timber); }
.reviews .btn-ghost:hover, .hero .btn-ghost:hover { border-color: var(--on-timber); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* The white board screwed to the beam */
.board {
  position: relative;
  background: var(--surface);
  padding: 10px;
  border: 3px solid var(--timber);
  box-shadow: 6px 6px 0 rgba(28, 31, 34, .25);
}
.board::before, .board::after {
  content: ''; position: absolute; top: 4px; width: 7px; height: 7px; border-radius: 50%;
  background: #8d959b; box-shadow: 0 0 0 1px var(--timber);
}
.board::before { left: 4px; }
.board::after { right: 4px; }
.board img { width: 100%; height: 100%; object-fit: cover; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 16px;
  color: var(--on-timber);
  border-bottom: 4px solid var(--tin);
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--slab); font-weight: 700; font-size: 26px; text-transform: uppercase; letter-spacing: .04em; text-decoration: none; color: var(--on-timber); }
.plate { font-size: 18px; border: 2px solid var(--on-timber); padding: 0 6px; border-radius: 3px; letter-spacing: 0; }
.site-nav { display: flex; align-items: center; gap: 22px; font-weight: 700; }
.site-nav a { text-decoration: none; color: var(--on-timber); }
.site-nav a:hover { color: var(--ember-light); }
.site-nav .nav-cta { background: var(--accent); color: var(--on-accent); padding: 8px 16px; border-radius: 3px; }
.site-nav .nav-cta:hover { background: var(--accent-deep); color: var(--on-accent); }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .js .nav-toggle {
    display: grid; place-items: center; width: 48px; height: 48px;
    background: none; border: 0; color: var(--on-timber); cursor: pointer;
  }
  .bars, .bars::before, .bars::after {
    display: block; width: 24px; height: 3px; background: currentColor; position: relative;
  }
  .bars::before, .bars::after { content: ''; position: absolute; left: 0; }
  .bars::before { top: -8px; }
  .bars::after { top: 8px; }

  .site-nav {
    position: absolute; top: var(--header); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--timber); border-bottom: 4px solid var(--tin);
  }
  .js .site-nav { display: none; }
  html:not(.js) .site-header { height: auto; min-height: var(--header); flex-wrap: wrap; padding-block: 8px; }
  html:not(.js) .site-nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 4px 16px; border: 0; background: none; width: 100%; }
  html:not(.js) .site-nav a { padding: 4px 0; border: 0; }
  html:not(.js) .site-nav .nav-cta { margin: 4px 0; padding: 4px 12px; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px 16px; border-top: 1px solid var(--timber-2); }
  .site-nav .nav-cta { margin: 12px 16px 16px; text-align: center; }
}

/* Hero: status line and call button must sit above the fold at 390x844 */
.hero {
  position: relative; isolation: isolate;
  min-height: calc(100svh - var(--header) - var(--bar-h));
  display: flex; align-items: flex-end;
  background: var(--timber);
  color: var(--on-timber);
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; z-index: -2; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(28, 31, 34, .15) 0%, rgba(28, 31, 34, .75) 34%, rgba(28, 31, 34, .94) 70%);
}
.hero-copy { padding-top: 120px; padding-bottom: 28px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--on-timber); text-shadow: 0 1px 3px rgba(0, 0, 0, .8); margin-bottom: 10px; }
.hero h1 { font-size: clamp(30px, 8.6vw, 92px); text-transform: uppercase; letter-spacing: .03em; margin-bottom: 14px; }
.beam {
  position: relative; display: inline-block;
  padding: 4px 24px 7px;
  white-space: nowrap;
  border: 3px solid #0e1012;
  color: #ffffff;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .5);
}
.beam::before, .beam::after {
  content: ''; position: absolute; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%;
  background: #9aa1a6;
}
.beam::before { left: 8px; }
.beam::after { right: 8px; }
.hero-lead { font-size: clamp(18px, 4.4vw, 22px); max-width: 28em; margin-bottom: 16px; color: var(--on-timber); }
.status {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(14, 16, 18, .7); border: 1px solid rgba(244, 241, 234, .25);
  padding: 7px 14px; border-radius: 3px;
  font-weight: 700; margin-bottom: 16px;
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--tin); flex: none; }
.status:has([data-state='open']) .dot { background: #5fd38a; box-shadow: 0 0 8px #5fd38a; }
.status:has([data-state='closed']) .dot { background: var(--ember-light); }

@media (min-width: 900px) {
  .hero { min-height: min(760px, calc(100svh - var(--header))); }
  .hero::after { background: linear-gradient(90deg, rgba(28, 31, 34, .94) 0%, rgba(28, 31, 34, .78) 42%, rgba(28, 31, 34, .1) 75%); }
  .hero { align-items: center; }
  .hero-copy { padding-top: 56px; padding-bottom: 56px; }
  .hero-copy > * { max-width: 560px; }
  .hero h1 { max-width: none; }
}

/* Split layouts */
.split { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
}

/* Clapboard walls */
.about, .hours {
  padding: 56px 0;
  background-color: var(--bg);
  background-image: repeating-linear-gradient(180deg, transparent 0 46px, rgba(28, 31, 34, .045) 46px 48px);
}
.about .oven { aspect-ratio: 4 / 5; max-height: 620px; }

/* Menu: tabs only show once JS marks them ready; without JS every panel stays visible */
.menu { padding: 56px 0; color: var(--on-timber); }
.menu .section-title, .reviews .section-title { color: var(--on-timber); }
.menu-card {
  position: relative;
  background: var(--surface); color: var(--ink);
  border: 3px solid #0e1012;
  padding: 10px 18px 22px;
  margin-top: 18px;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, .35);
}
.menu-card::before, .menu-card::after {
  content: ''; position: absolute; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: #8d959b; box-shadow: 0 0 0 1px var(--timber);
}
.menu-card::before { left: 8px; }
.menu-card::after { right: 8px; }
.menu-tabs {
  display: flex; gap: 8px; overflow-x: auto;
  padding: 14px 0; margin-bottom: 4px;
  border-bottom: 3px solid var(--timber);
  scrollbar-width: thin;
}
.menu-tabs button {
  flex: none;
  font: inherit; font-weight: 700; font-size: 15px;
  padding: 8px 14px; border-radius: 3px;
  border: 2px solid var(--timber); background: var(--surface); color: var(--ink);
  cursor: pointer;
}
.menu-tabs button[aria-selected='true'] { background: var(--timber); color: var(--on-timber); }
.menu-tabs:not(.is-ready) { display: none; }
.menu-panel { padding-top: 14px; }
.menu-panel + .menu-panel { border-top: 3px solid var(--timber); margin-top: 18px; }
.menu-tabs.is-ready ~ .menu-panel { border-top: 0; margin-top: 0; }

.group-title { font-size: 30px; text-transform: uppercase; letter-spacing: .03em; margin: 4px 0 8px; }
.items { list-style: none; margin: 0; padding: 0; }
.items li { padding: 11px 0; border-bottom: 1px solid var(--alt); break-inside: avoid; }
.item-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-family: var(--slab); font-weight: 700; font-size: 20px; }
.price { color: var(--accent); white-space: nowrap; }
.items p { margin: 2px 0 0; color: var(--muted); font-size: 16px; line-height: 1.45; }
@media (min-width: 800px) {
  .menu-card { padding: 14px 34px 28px; }
  .two-col { columns: 2; column-gap: 48px; }
}
.extras { margin-top: 20px; padding: 16px; background: var(--bg); border-left: 6px solid var(--accent); }
.extras-title { font-family: var(--slab); font-weight: 700; font-size: 22px; margin-bottom: 4px; }
.extras p:last-child { margin: 0; color: var(--muted); }
.menu-note { margin: 18px 0 0; font-size: 14px; color: var(--muted); }

/* Hours */
.week { list-style: none; margin: 0 0 18px; padding: 0; max-width: 440px; background: var(--surface); border: 3px solid var(--timber); }
.week li { display: flex; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid var(--alt); font-weight: 600; }
.week li:last-child { border-bottom: 0; }
.week li.is-today { background: var(--timber); color: var(--on-timber); font-weight: 700; }
.order { background: var(--surface); border: 3px solid var(--timber); padding: 22px 20px; box-shadow: 6px 6px 0 rgba(28, 31, 34, .25); }
.order h3 { font-size: 30px; margin-bottom: 10px; }
.order a:not(.btn) { color: var(--accent); font-weight: 700; }

/* Gallery */
.gallery { padding: 56px 0; background: var(--surface); }
.gallery-grid { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.gallery-grid figure { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--alt); border: 3px solid var(--timber); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; }
.gallery-grid .g-wide { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.gallery-grid .g-tall { grid-row: span 2; aspect-ratio: auto; }
@media (min-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid .g-wide { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
}

/* Reviews: themes from real reviews, never invented quotes */
.reviews { padding: 56px 0; color: var(--on-timber); }
.stars { color: #f2c14e; letter-spacing: .05em; }
.reviews-sub { color: var(--on-timber); }
.themes { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 14px; }
.themes li { background: var(--surface); color: var(--ink); padding: 18px; border-top: 6px solid var(--accent); }
.themes h3 { font-size: 26px; margin-bottom: 6px; }
.themes p { margin: 0; color: var(--muted); }
@media (min-width: 800px) { .themes { grid-template-columns: repeat(3, 1fr); } }

/* Find us */
.find { padding: 56px 0; background: var(--bg); }
.find-grid { display: grid; gap: 28px; }
address { font-style: normal; font-size: 19px; font-weight: 600; margin-bottom: 14px; }
.directions { color: var(--muted); max-width: 30em; }
.find .btn-ghost { border-color: var(--timber); }
.map { overflow: hidden; min-height: 320px; border: 3px solid var(--timber); }
.map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
@media (min-width: 900px) { .find-grid { grid-template-columns: 1fr 1.2fr; align-items: stretch; } }

/* Footer */
.site-footer { color: var(--on-footer); padding-bottom: 24px; border-top: 4px solid var(--tin); }
.footer-grid { display: grid; gap: 24px; padding-top: 32px; }
.footer-brand { font-family: var(--slab); font-weight: 700; font-size: 40px; text-transform: uppercase; margin: 0; }
.footer-sub { margin: 0; }
.site-footer h2 { font-family: var(--sans); font-size: 14px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 8px; }
.site-footer a { color: var(--on-footer); }
.copyright { text-align: center; font-size: 13px; margin: 24px 16px 0; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }

/* Mobile action bar */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  height: var(--bar-h);
  display: grid; grid-template-columns: 1.3fr 1fr;
  box-shadow: 0 -4px 14px rgba(0, 0, 0, .2);
}
.mobile-bar a {
  display: grid; place-items: center;
  font-family: var(--slab); font-weight: 700; font-size: 19px; text-decoration: none;
  background: var(--accent); color: var(--on-accent);
}
.mobile-bar .mobile-bar-alt { background: var(--timber); color: var(--on-timber); }
@media (min-width: 900px) {
  .mobile-bar { display: none; }
  body { padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
