/* ============================= Reset & base ============================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.05; letter-spacing: -0.01em; }
ul { list-style: none; }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.eyebrow {
  font-family: var(--font-marker);
  font-size: var(--fs-marker);
  font-weight: 600;
  color: var(--terracotta);
  margin-bottom: 0.35em;
  display: block;
  transform: rotate(-1.2deg);
  transform-origin: left center;
}
.eyebrow-light { color: var(--brass); }

/* ============================= Loader ============================= */
#loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--ink);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s var(--ease-out);
}
#loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-mark img { opacity: 0.9; filter: invert(1) brightness(1.4); }
.loader-label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--cream-dim);
}
.loader-bar {
  width: min(220px, 60vw);
  height: 2px;
  background: rgba(243, 235, 220, 0.15);
}
.loader-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--brass);
  transition: width 0.15s linear;
}

/* ============================= Nav ============================= */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--gutter);
  color: var(--cream);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), background 0.3s ease;
  pointer-events: none;
}
.site-nav.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.site-nav.is-scrolled { background: rgba(33, 30, 26, 0.72); backdrop-filter: blur(10px); }

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
}
.brand img { filter: invert(1) brightness(1.4); }

.site-nav nav { display: flex; gap: 2rem; }
.site-nav nav a { font-size: 0.92rem; opacity: 0.88; transition: opacity 0.2s; }
.site-nav nav a:hover { opacity: 1; }

@media (max-width: 720px) {
  .site-nav nav { display: none; }
  .site-nav.is-scrolled { background: transparent; backdrop-filter: none; }
}

/* ============================= Buttons ============================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: transform 0.25s var(--ease-out), background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--terracotta); color: var(--cream); }
.btn-primary:hover { background: var(--ember); }
.btn-ghost { border-color: rgba(243, 235, 220, 0.5); color: var(--cream); }
.btn-ghost:hover { border-color: var(--brass); color: var(--brass); }
/* ============================= Shared layout ============================= */
.section-inner { max-width: 74rem; margin: 0 auto; padding: 0 var(--gutter); }
.body-lg { font-size: 1.05rem; color: var(--concrete); max-width: 38rem; margin-bottom: 1.1rem; }

/* ---- Menu (The Counter) ---- */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
  gap: 1.5px;
  background: rgba(243, 235, 220, 0.14);
  margin: 2.5rem 0 2.5rem;
}
.menu-card {
  background: var(--ink);
  padding: 2rem 1.75rem 2.25rem;
  display: flex;
  flex-direction: column;
  min-height: 15rem;
}
.menu-tag {
  font-family: var(--font-marker);
  font-size: 1.05rem;
  color: var(--brass);
  transform: rotate(-1deg);
  margin-bottom: 0.5rem;
}
.menu-card h3 { font-size: 1.4rem; margin-bottom: 0.6rem; }
.menu-card p { color: var(--concrete-soft); font-size: 0.95rem; flex-grow: 1; }
.menu-price {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--terracotta-soft);
  font-size: 1.1rem;
}

blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--terracotta);
  border-left: 3px solid var(--terracotta);
  padding-left: 1.25rem;
  margin-top: 1.75rem;
  max-width: 30rem;
}

/* ---- Visit facts (docked into The Table chapter) ---- */
.visit-facts { margin: 1.75rem 0 2rem; display: flex; flex-direction: column; gap: 1.1rem; }
.visit-facts dt {
  font-family: var(--font-marker);
  color: var(--brass);
  font-size: 1.05rem;
}
.visit-facts dd { color: var(--cream-dim); font-size: 1rem; }
.visit-facts a { text-decoration: underline; text-underline-offset: 3px; }
.visit-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---- Footer ---- */
.site-footer { background: var(--ink); color: var(--cream-dim); padding: 3.5rem 0 2.5rem; }
.footer-inner { display: flex; flex-direction: column; gap: 1.75rem; align-items: flex-start; }
.footer-links { display: flex; gap: 1.75rem; flex-wrap: wrap; }
.footer-links a:hover { color: var(--brass); }
.footer-fine { font-size: 0.85rem; color: var(--concrete-soft); }

/* ============================= Responsive type ============================= */
@media (max-width: 640px) {
  .menu-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .menu-grid { grid-template-columns: 1fr; }
}

/* ============================= Reduced motion ============================= */
@media (prefers-reduced-motion: reduce) {
  .btn:hover { transform: none; }
  * { scroll-behavior: auto !important; }
}
