:root {
  --black: #121010;
  --black-2: #1c1816;
  --copper: #cc8a52;
  --copper-light: #e9b483;
  --copper-deep: #8f4f22;
  --wood: #2f1d13;
  --wood-2: #3d2618;
  --cream: #f3e6d0;
  --enamel: #f6ecd8;
  --red: #741907;
  --muted: #bcaa98;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --label: 'Jost', 'Futura', system-ui, sans-serif;
  --wrap: 1180px;
  --header: 64px;
  --wood-grain:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.1) 0 2px, transparent 2px 160px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 7px),
    linear-gradient(180deg, var(--wood-2), var(--wood));
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--cream);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0 0 0.5em; }

h3 { font-size: 1.5rem; }

p { margin: 0 0 1em; }

section[id] { scroll-margin-top: calc(var(--header) + 8px); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--copper); color: var(--black); padding: 0.6rem 1rem; font-weight: 600;
}
.skip:focus { top: 1rem; }

:focus-visible { outline: 3px solid var(--copper-light); outline-offset: 3px; }

.eyebrow {
  font-family: var(--label); font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--copper);
  margin-bottom: 0.9rem;
}

.lede { font-size: 1.15rem; max-width: 40rem; color: var(--cream); }

.small { font-size: 0.92rem; color: var(--muted); }

/* Enamel sign plates for section titles */
.section-head h2, .split-text h2, .visit h2 {
  display: inline-block; position: relative;
  padding: 0.7rem 1.6rem 0.75rem;
  font-family: var(--label); font-weight: 600; font-size: clamp(1.5rem, 4vw, 2.5rem);
  letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.1;
  color: var(--red);
  background: radial-gradient(ellipse at 30% 20%, #fffaf0, var(--enamel) 60%, #e9dcc3);
  border: 3px solid var(--black);
  border-radius: 10px;
  box-shadow:
    inset 0 0 0 4px var(--enamel),
    inset 0 0 0 6px var(--red),
    0 10px 24px rgba(0, 0, 0, 0.5);
}
.section-head h2::before, .section-head h2::after,
.split-text h2::before, .split-text h2::after,
.visit h2::before, .visit h2::after {
  content: ''; position: absolute; top: 50%; width: 7px; height: 7px; margin-top: -3.5px;
  border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #8a8a8a 60%, #444);
}
.section-head h2::before, .split-text h2::before, .visit h2::before { left: 12px; }
.section-head h2::after, .split-text h2::after, .visit h2::after { right: 12px; }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.actions-center { justify-content: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0.7rem 1.4rem;
  font-family: var(--label); font-weight: 600; font-size: 0.9rem;
  letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  border: 2px solid transparent; border-radius: 2px;
  transition: filter 0.2s, background-color 0.2s, color 0.2s;
}
.btn-copper {
  color: var(--black);
  background: linear-gradient(180deg, var(--copper-light), var(--copper) 55%, #b5733f);
  border-color: var(--copper-deep);
}
.btn-copper:hover { filter: brightness(1.08); }
.btn-line { border-color: var(--copper); color: var(--cream); }
.btn-line:hover { background: var(--copper); color: var(--black); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header); padding: 0 clamp(16px, 4vw, 40px);
  background: var(--black); color: var(--cream);
}
.brand img { width: 84px; }

.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a {
  font-family: var(--label); font-weight: 500; font-size: 0.86rem;
  letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
}
.site-nav a:hover { color: var(--copper-light); }
.site-nav .nav-cta { border: 1.5px solid var(--copper); padding: 0.45rem 0.9rem; color: var(--copper-light); }
.site-nav .nav-cta:hover { background: var(--copper); color: var(--black); }

.nav-toggle { display: none; }

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

  .site-nav {
    position: absolute; top: var(--header); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--black); padding: 1.5rem 16px 1.25rem;
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.9rem 0; border-bottom: 1px solid rgba(204, 138, 82, 0.25); }
  .site-nav .nav-cta { margin-top: 1rem; text-align: center; }
}

/* Hero: awning over the dusk shopfront */
.hero {
  position: relative; overflow: hidden;
  min-height: min(88vh, 820px);
  display: grid; place-items: center; text-align: center;
  padding: 7rem clamp(16px, 5vw, 64px) 4rem;
}
.awning {
  position: absolute; top: 0; left: 0; right: 0; height: 52px; z-index: 2;
  background:
    radial-gradient(circle at 50% 18px, var(--black) 26px, transparent 27px) 0 0 / 56px 52px repeat-x,
    linear-gradient(var(--black), var(--black)) 0 0 / 100% 18px no-repeat;
  filter: drop-shadow(0 6px 6px rgba(0, 0, 0, 0.5));
}
.hero-photo { position: absolute; inset: 0; margin: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero-photo::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(18, 16, 16, 0.62), rgba(18, 16, 16, 0.35) 70%),
    linear-gradient(180deg, rgba(18, 16, 16, 0.15) 40%, var(--black) 99%);
}
.hero-text { position: relative; z-index: 1; max-width: 40rem; }
.hero-logo { margin: 0 auto 1.25rem; }
.hero-logo img { width: min(440px, 88%); margin: 0 auto; filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.6)); }
.hero-line {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.25rem, 2.6vw, 1.65rem); line-height: 1.35;
}
.hero .actions { justify-content: center; }

.status {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--label); font-weight: 600; font-size: 0.9rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--copper-light);
  margin: 0.5rem 0 0;
}
.status::before {
  content: ''; width: 10px; height: 10px; border-radius: 50%;
  background: currentColor; opacity: 0.5;
}
.status[data-state='open']::before { background: #9fd18a; opacity: 1; box-shadow: 0 0 0 4px rgba(159, 209, 138, 0.25); }

/* Facts strip */
.facts {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 2.5rem;
  padding: 1.1rem 16px; background: var(--black-2); color: var(--cream);
  border-top: 2px solid var(--copper); border-bottom: 2px solid var(--copper);
  font-family: var(--label); font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.facts p { margin: 0; }
.facts b { font-weight: 600; margin-right: 0.35rem; color: var(--copper-light); }

/* Section shells */
.menu, .place, .functions, .visit, .brewery, .story {
  padding: clamp(3.5rem, 8vw, 6.5rem) clamp(16px, 5vw, 64px);
}
.section-head { text-align: center; max-width: 46rem; margin: 0 auto 2.5rem; }
.section-head .lede { margin: 1.25rem auto 0; }

/* Menu: blackboard on a wood wall */
.menu { background: var(--wood-grain); }
.menu > * { max-width: var(--wrap); margin-left: auto; margin-right: auto; }

.food-strip {
  display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 1.4fr; gap: 10px;
  margin-bottom: 2.5rem; height: 240px;
}
.food-strip figure { margin: 0; overflow: hidden; border: 3px solid var(--copper); }
.food-strip img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) {
  .food-strip { grid-template-columns: 1fr 1fr; height: auto; grid-auto-rows: 150px; }
}

.menu-tabs {
  display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: safe center;
  padding: 0.25rem 0.25rem 0.75rem; margin-bottom: 1.5rem;
}
@media (max-width: 760px) {
  .menu-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; }
}
.menu-tabs button {
  flex: 0 0 auto; min-height: 44px; padding: 0.55rem 1.1rem;
  font-family: var(--label); font-weight: 600; font-size: 0.85rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: rgba(18, 16, 16, 0.55); color: var(--cream);
  border: 1.5px solid var(--copper); border-radius: 999px; cursor: pointer;
}
.menu-tabs button[aria-selected='true'] {
  color: var(--black); background: linear-gradient(180deg, var(--copper-light), var(--copper));
}
.menu-tabs:not(.is-ready) { display: none; }

.menu-panel {
  position: relative;
  background: radial-gradient(ellipse at 50% 0%, #2a2624, var(--black-2) 70%);
  border: 10px solid transparent;
  border-image: linear-gradient(135deg, var(--copper-light), var(--copper-deep) 40%, var(--copper) 60%, var(--copper-deep)) 1;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  padding: clamp(1.75rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
}
.menu-panel[hidden] { display: none; }
.panel-art { display: block; width: clamp(120px, 16vw, 180px); margin: -0.5rem auto 1.5rem; opacity: 0.92; }

.menu-cols { columns: 2 22rem; column-gap: 3.5rem; }
.menu-group { margin-bottom: 2rem; }
.group-title {
  font-family: var(--label); font-weight: 600; font-size: 1.15rem;
  text-transform: uppercase; letter-spacing: 0.18em; color: var(--copper-light);
  border-bottom: 1.5px solid var(--copper); padding-bottom: 0.45rem; margin-bottom: 0.9rem;
  break-after: avoid;
}
.group-sub {
  display: block; margin-top: 0.3rem;
  font-weight: 500; font-size: 0.72rem; letter-spacing: 0.2em; color: var(--muted);
}
.group-note { font-style: italic; color: var(--muted); font-size: 0.95rem; }

.items { list-style: none; margin: 0; padding: 0; }
.item { break-inside: avoid; margin-bottom: 1rem; }
.item-head { display: flex; align-items: baseline; gap: 0.5rem; }
.item-name { font-family: var(--serif); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.01em; }
.leader { flex: 1; border-bottom: 1.5px dotted rgba(204, 138, 82, 0.55); transform: translateY(-4px); min-width: 1rem; }
.price { font-family: var(--label); font-weight: 600; color: var(--copper-light); white-space: nowrap; letter-spacing: 0.04em; }
.item-desc { margin: 0.15rem 0 0; font-size: 0.93rem; color: var(--muted); line-height: 1.5; }
.item-variants { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; margin: 0.3rem 0 0; font-size: 0.9rem; color: var(--cream); }
.item-variants b { font-family: var(--label); color: var(--copper-light); }

.menu-notes { list-style: none; padding: 0; margin: 1.5rem auto 0; text-align: center; font-size: 0.92rem; color: var(--muted); }
.menu-download { text-align: center; margin-top: 1rem; }
.menu-download a { color: var(--copper-light); font-weight: 600; text-underline-offset: 4px; }

/* Shared split layout + framed photos */
.split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem); align-items: center;
  max-width: var(--wrap); margin: 0 auto;
}
.split-text h2 { margin-bottom: 1.5rem; }
.split-photo { aspect-ratio: 4 / 5; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split-photo { aspect-ratio: 4 / 3; }
}
.framed {
  margin: 8px;
  border: 8px solid var(--copper);
  outline: 1px solid var(--copper); outline-offset: 8px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}
.framed img { width: 100%; height: 100%; object-fit: cover; }

/* Brewery */
.brewery { background: var(--black); }
.brewery h3 { font-style: italic; font-weight: 500; color: var(--copper-light); margin-top: 1.75rem; }
.brew-visual { position: relative; }
.enamel {
  position: absolute; left: -18px; bottom: -28px; margin: 0;
  width: 150px; height: 150px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--enamel); color: var(--red);
  border: 5px solid var(--red); box-shadow: 0 0 0 4px var(--black), 0 0 0 6px var(--copper), 0 10px 24px rgba(0, 0, 0, 0.6);
  transform: rotate(-10deg);
  font-family: var(--label); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.72rem; font-weight: 600;
  text-align: center; line-height: 1.2;
}
.enamel b { font-family: var(--serif); font-size: 2rem; letter-spacing: 0.04em; line-height: 1; margin: 0.15rem 0; }
@media (max-width: 860px) {
  .enamel { left: 0; bottom: -36px; width: 120px; height: 120px; font-size: 0.62rem; }
  .enamel b { font-size: 1.6rem; }
}

/* The place */
.place { background: var(--black-2); }
.place > * { max-width: var(--wrap); margin-left: auto; margin-right: auto; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; }
.gallery figure { margin: 0; overflow: hidden; border: 2px solid rgba(204, 138, 82, 0.6); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
}

.perks {
  list-style: none; padding: 0; margin: 2.5rem auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; text-align: center;
}
.perks li { padding: 1rem; border-top: 2px solid var(--copper); color: var(--muted); }
.perks b { display: block; font-family: var(--serif); font-size: 1.6rem; color: var(--copper-light); }

.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.reviews blockquote {
  margin: 0; padding: 1.5rem; background: var(--wood-grain); border-left: 3px solid var(--copper);
  font-family: var(--serif); font-style: italic; font-size: 1.05rem; line-height: 1.5;
}
.reviews p { margin: 0; }

/* Functions */
.functions { position: relative; overflow: hidden; background: var(--wood-grain); border-top: 6px solid var(--copper); border-bottom: 6px solid var(--copper); }
.functions-art { position: absolute; right: -40px; top: 30px; width: 300px; opacity: 0.12; pointer-events: none; }
.venues {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem;
  max-width: var(--wrap); margin: 0 auto;
}
.venue { padding: 1.75rem; background: rgba(18, 16, 16, 0.8); border: 1.5px solid var(--copper); text-align: center; }
.venue-seats { font-family: var(--serif); font-size: 3.2rem; font-weight: 700; line-height: 1; margin: 0 0 0.25rem; color: var(--copper-light); }
.venue-seats::after {
  content: 'seats'; display: block; margin-top: 0.4rem; color: var(--muted);
  font-family: var(--label); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
}
.venue h3 { font-size: 1.3rem; margin-top: 1rem; }
.venue p:last-child { margin: 0; color: var(--muted); }

/* Story */
.story { background: var(--black); }
.pull { margin: 0 0 1.5rem; padding-left: 1.25rem; border-left: 3px solid var(--copper); }
.pull p { font-family: var(--serif); font-style: italic; font-size: 1.2rem; line-height: 1.45; }
.pull footer { font-family: var(--label); font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--copper); }

/* Visit */
.visit { background: var(--black-2); border-top: 2px solid var(--copper); }
.visit-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 3rem;
  max-width: 900px; margin: 0 auto;
}
.visit h3 { color: var(--copper-light); }
.address { font-size: 1.15rem; margin-top: 1.25rem; }
.hours { border-collapse: collapse; width: 100%; margin-bottom: 1rem; }
.hours th, .hours td { padding: 0.6rem 0; border-bottom: 1px dotted rgba(204, 138, 82, 0.5); text-align: left; }
.hours th { font-family: var(--label); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.9rem; }
.hours td { text-align: right; }

/* Footer */
.site-footer { background: var(--black); text-align: center; padding: 3rem 16px 2.5rem; border-top: 1px solid rgba(204, 138, 82, 0.3); }
.site-footer img { width: 160px; margin: 0 auto 1.5rem; }
.socials { display: flex; justify-content: center; gap: 1.5rem; font-family: var(--label); letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.88rem; color: var(--copper-light); }

/* Tribute page */
.tribute-hero {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(4rem, 9vw, 7rem) clamp(16px, 5vw, 64px) clamp(3rem, 7vw, 5rem);
  background: var(--wood-grain); border-bottom: 6px solid var(--copper);
}
.tribute-hero h1 {
  display: inline-block; padding: 1rem 2rem;
  font-family: var(--label); font-weight: 600; font-size: clamp(1.9rem, 6vw, 3.6rem);
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--red);
  background: radial-gradient(ellipse at 30% 20%, #fffaf0, var(--enamel) 60%, #e9dcc3);
  border: 3px solid var(--black); border-radius: 12px;
  box-shadow: inset 0 0 0 5px var(--enamel), inset 0 0 0 8px var(--red), 0 14px 30px rgba(0, 0, 0, 0.55);
}
.tribute-from { font-family: var(--label); letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.85rem; color: var(--muted); margin-top: 1rem; }
.tribute-quote { max-width: 40rem; margin: 2.5rem auto 2rem; }
.tribute-quote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 2.6vw, 1.6rem); line-height: 1.4; }
.virtues { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 1.6rem; margin: 0; }
.virtues span { font-family: var(--serif); font-size: 1.3rem; color: var(--copper-light); }
.virtues span + span::before { content: '·'; margin-right: 1.6rem; color: var(--copper); }
.tribute-art { position: absolute; right: -30px; bottom: -40px; width: 220px; opacity: 0.12; pointer-events: none; }

.letter { max-width: 980px; margin: 0 auto; padding: clamp(3rem, 7vw, 5rem) clamp(16px, 5vw, 48px); }
.letter-open {
  font-family: var(--serif); font-size: clamp(1.3rem, 2.6vw, 1.7rem); line-height: 1.45;
  text-align: center; color: var(--copper-light); max-width: 44rem; margin: 0 auto 4rem;
}
.chapter {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 5vw, 3.5rem);
  align-items: center; padding: 2.5rem 0; border-top: 1px solid rgba(204, 138, 82, 0.4);
}
.chapter:nth-of-type(even) .chapter-photo { order: 2; }
.chapter-photo { aspect-ratio: 4 / 3; }
.chapter h2 { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--copper-light); }
.chapter-plain { grid-template-columns: 1fr; text-align: center; }
.chapter-plain .chapter-text { max-width: 40rem; margin: 0 auto; }
@media (max-width: 760px) {
  .chapter { grid-template-columns: 1fr; }
  .chapter:nth-of-type(even) .chapter-photo { order: 0; }
}
.signoff { text-align: center; padding-top: 3rem; border-top: 1px solid rgba(204, 138, 82, 0.4); }
.signoff-big { font-family: var(--label); font-weight: 600; font-size: clamp(1.4rem, 3.4vw, 2.2rem); color: var(--copper-light); text-transform: uppercase; letter-spacing: 0.1em; line-height: 1.25; }
.signoff-from { font-family: var(--label); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-top: 1.5rem; }
.signoff img { margin: 2rem auto 0; border: 8px solid var(--copper); outline: 1px solid var(--copper); outline-offset: 8px; }
.tribute-back { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; padding: 3rem 16px; background: var(--black-2); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
