/* Scoreboard Bar & Grill — shared base: reset, a11y, structural skeletons.
   Design-agnostic on purpose: every design skins these, none of them fight them. */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
a { color: inherit; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.1; }
p { text-wrap: pretty; }

:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
  border-radius: 2px;
}

.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-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  padding: 0.7rem 1.1rem; background: #000; color: #fff;
  text-decoration: none; font-weight: 700;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Reveal-on-scroll: opt-in, and a no-op without JS ---------- */
[data-reveal] { opacity: 1; }
.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Menu skeleton: leader dots that never break the price ---------- */
.menu-item-head {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}
.menu-item-name { flex: 0 1 auto; }
.menu-item-dots {
  flex: 1 1 auto;
  min-width: 1.25rem;
  align-self: center;
  height: 0;
}
.menu-item-price {
  flex: 0 0 auto;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* ---------- Map facade: no third-party frame until the visitor asks ---------- */
.map-facade { position: relative; overflow: hidden; }
.map-frame { border: 0; width: 100%; display: block; }

/* ---------- Tables (nutrition-free, used for hours) ---------- */
.hours-row { display: flex; justify-content: space-between; gap: 1rem; }

/* ---------- Print: the menu should print cleanly ---------- */
@media print {
  .site-header, .site-footer, .nav-toggle, .hero-ctas,
  .sticky-cta, .map-facade, [hidden] { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
  * { box-shadow: none !important; text-shadow: none !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.75em; }
}
