:root {
  --nav-bg: #f5e2cf;
  --ink: #151414;
  --footer-bg: #ffbbbd;
}

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

html {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  background: var(--footer-bg);
  overflow-x: hidden;
  overflow-x: clip;
  overscroll-behavior-x: none;
  touch-action: pan-y pinch-zoom;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  overscroll-behavior-x: none;
  touch-action: pan-y pinch-zoom;
  font-family: "Courier Prime", Courier, monospace;
  color: var(--ink);
  background: var(--footer-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-header {
  background: var(--nav-bg);
  position: sticky;
  top: 0;
  z-index: 10;
  min-width: 0;
  width: 100%;
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
}

@media (min-width: 768px) {
  .nav {
    padding: 0.875rem 1.5rem;
  }
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .nav-list {
    justify-content: flex-end;
    gap: 1.5rem;
  }
}

.nav-list a {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.8;
}

@media (min-width: 768px) {
  .nav-list a {
    font-size: 0.9375rem;
  }
}

.nav-list a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 4px;
}

main {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
}

/* Home: hero has fixed height — don’t let main flex-grow or a white strip appears above the footer */
main:has(.hero):not(:has(.page-main)) {
  flex: 0 1 auto;
}

.hero {
  height: 325px;
  box-sizing: border-box;
  background-color: var(--ink);
  background-image: url("assets/wallace_mural.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1.25rem;
  overflow: hidden;
  flex-shrink: 0;
}

.hero-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: min(90vw, 840px);
  /* Square asset: use almost all hero height so the mark reads large */
  max-height: calc(325px - 2.5rem);
  object-fit: contain;
  object-position: center;
}

main:has(.page-main) {
  background: #fff;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 768px) {
  main:has(.page-main) {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.page-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem calc(1.25rem + 0.75rem) 3rem;
}

@media (min-width: 768px) {
  .page-main {
    padding: 3.5rem calc(1.25rem + 0.75rem) 4rem;
  }
}

.page-main h1 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .page-main h1 {
    font-size: 1.5rem;
  }
}

.page-main p {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

.page-main p:last-child {
  margin-bottom: 0;
}

.page-main:has(.menu-board) p {
  font-size: 1rem;
}

@media (min-width: 768px) {
  .page-main:has(.menu-board) p {
    font-size: 1.0625rem;
  }
}

.page-main:has(.gallery-grid) p {
  font-size: 1rem;
}

@media (min-width: 768px) {
  .page-main:has(.gallery-grid) p {
    font-size: 1.0625rem;
  }
}

.about-layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-media {
  margin: 0;
}

.about-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
}

@media (min-width: 768px) {
  .about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 3rem;
    align-items: start;
  }

  .about-media {
    min-width: 0;
  }

  .about-copy {
    min-width: 0;
  }
}

.about-location {
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .about-location {
    margin-top: 2.5rem;
  }
}

.about-location-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .about-location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 3rem;
    align-items: start;
  }
}

.about-location-info {
  min-width: 0;
}

.about-location-info h2 {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .about-location-info h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }
}

.about-location-list {
  margin: 0;
}

.about-location-row {
  margin-bottom: 1.25rem;
}

.about-location-row:last-child {
  margin-bottom: 0;
}

.about-location-list dt {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1.4;
  opacity: 0.85;
}

.about-location-list dd {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

@media (min-width: 768px) {
  .about-location-list dd {
    font-size: 1rem;
  }
}

.about-location-map {
  min-width: 0;
}

.about-map-embed {
  position: relative;
  width: 100%;
  padding-bottom: 75%;
  height: 0;
  overflow: hidden;
  border-radius: 2px;
}

.about-map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.gallery-grid {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 1rem 1.25rem;
}

@media (min-width: 768px) {
  .gallery-grid {
    margin-top: 2rem;
    gap: 1.25rem 1.5rem;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

.gallery-figure {
  margin: 0;
}

.gallery-link {
  display: block;
  border-radius: 2px;
  overflow: hidden;
  outline-offset: 3px;
}

.gallery-link:hover .gallery-image {
  opacity: 0.94;
}

.gallery-link:focus-visible {
  outline: 2px solid currentColor;
}

.gallery-image {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
  transition: opacity 0.2s ease;
}

.menu-board {
  display: grid;
  gap: 2.25rem;
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(21, 20, 20, 0.15);
}

.menu-board-panel {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}

@media (min-width: 768px) {
  .menu-board {
    gap: 3rem;
    align-items: start;
  }
}

.menu-column-heading {
  margin: 0 0 1.25rem;
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .menu-column-heading {
    font-size: 1.4375rem;
  }
}

.menu-section {
  margin: 0 0 1.75rem;
}

.menu-section:last-child {
  margin-bottom: 0;
}

.menu-section-heading {
  margin: 0 0 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1.5;
  opacity: 0.88;
}

/* Google Doc heading level → HTML level under column h2 */
.menu-section h3.menu-section-heading {
  font-size: 1.0625rem;
}

.menu-section h4.menu-section-heading {
  font-size: 0.9375rem;
  letter-spacing: 0.11em;
}

.menu-section h5.menu-section-heading {
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  opacity: 0.92;
}

@media (min-width: 768px) {
  .menu-section h3.menu-section-heading {
    font-size: 1.125rem;
  }

  .menu-section h4.menu-section-heading {
    font-size: 1rem;
  }

  .menu-section h5.menu-section-heading {
    font-size: 0.875rem;
  }
}

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.45rem 0;
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(21, 20, 20, 0.08);
}

@media (min-width: 768px) {
  .menu-item {
    font-size: 1.0625rem;
    padding: 0.5rem 0;
  }
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item-name {
  flex: 1;
  min-width: 0;
}

.menu-item-price {
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.menu-item-price::before {
  content: "$";
  font-weight: 400;
}

.footer {
  background: var(--footer-bg);
  padding: 2.5rem 1.25rem 3rem;
  min-width: 0;
  width: 100%;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem 2rem;
  align-items: start;
  min-width: 0;
}

.footer-main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
  min-width: 0;
}

.footer-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-width: 0;
}

.footer-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: calc(0.35em - 2px);
  color: var(--ink);
  overflow: visible;
}

.footer-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.footer-icon svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.28;
  stroke-linecap: round;
  stroke-linejoin: round;
}


.footer-icon.footer-icon--yelp {
  width: 1.4rem;
  height: 1.4rem;
}

.footer-text {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.footer-hours-sync :is(h1, h2, h3, p) {
  margin: 0;
  font: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
}

.footer-hours-sync p {
  line-height: 1.45;
  margin-bottom: 0.15em;
}

.footer-hours-stack {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-hours-status {
  margin: 0;
  font-weight: 700;
}

.footer-hours-sync p:last-child {
  margin-bottom: 0;
}

.footer-text a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-text a:hover {
  text-decoration: underline;
}

.footer-time-range {
  white-space: nowrap;
}

.footer-days-full {
  display: none;
}

.footer-days-abbr {
  display: inline;
}

.footer-illustration {
  width: min(25vw, 149px);
  max-width: 100%;
  height: auto;
  justify-self: end;
  align-self: start;
  margin-top: -0.5rem;
}

@media (min-width: 768px) {
  .hero {
    height: 450px;
    padding: 1.5rem 1.5rem;
  }

  .hero-logo {
    max-width: min(70vw, 840px);
    max-height: calc(450px - 3rem);
  }

  .footer {
    padding: 3rem 1.5rem 3.5rem;
  }

  .footer-inner {
    gap: 2rem 3rem;
  }

  .footer-illustration {
    width: 149px;
    margin-top: 0;
  }

  .footer-days-full {
    display: inline;
  }

  .footer-days-abbr {
    display: none;
  }
}

@media (max-width: 767px) {
  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-illustration {
    width: 91px;
    justify-self: end;
    margin: 1.25rem 0 0;
  }

  .footer-main {
    max-width: none;
  }
}
