*,
*::before,
*::after {
  box-sizing: border-box;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.brand-logo {
  display: block;
  width: 60px;
  height: 60px;
  border-radius: 14px;
}

.site-footer .brand-logo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
}

.dish-grid:empty,
.empty-state[hidden] {
  display: none;
}

.menu-empty {
  padding: 56px 0;
  text-align: center;
}

.menu-empty h2 {
  font-size: 40px;
  letter-spacing: -1.5px;
}

.menu-empty p {
  margin: 14px 0 26px;
  color: var(--muted);
  font-size: 14px;
}

.menu-empty .button {
  margin: 0 auto;
}

.placeholder {
  color: var(--amber);
}

.prose {
  max-width: 780px;
  padding-bottom: 96px;
}

.prose h2 {
  margin-top: 52px;
  font-size: 30px;
  letter-spacing: -1px;
  line-height: 1.2;
}

.prose h2:first-of-type {
  margin-top: 36px;
}

.prose p,
.prose li {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.prose ul {
  margin-top: 14px;
  padding-left: 22px;
  list-style: disc;
}

.prose strong {
  color: var(--cream);
  font-weight: 600;
}

.prose a {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose .updated {
  margin-top: 22px;
  color: var(--subtle);
  font-size: 12px;
  letter-spacing: 1px;
}

.lightbox-photo .food-image,
.fullscreen-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.fullscreen-dialog .modal-panel {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.fullscreen-dialog .modal-panel img {
  max-height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.fullscreen-dialog .icon-button {
  position: fixed;
  top: 22px;
  right: 22px;
  background: rgba(17, 18, 15, 0.8);
}

.dish-main-photo.detail-crop > img {
  transform: scale(1.5);
}

.dish-thumbnails > button[aria-pressed='true'] {
  border-color: var(--amber);
}

.chip-count {
  opacity: 0.7;
}

.skip-link:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 4px;
}

.search-box input {
  width: 100%;
  background: transparent;
  border: 0;
  color: var(--cream);
  font: inherit;
}

.search-box input::placeholder {
  color: var(--subtle);
}

.modal-panel:focus {
  outline: none;
}

@media (max-width: 640px) {
  .prose h2 {
    font-size: 26px;
  }
}

@media (max-width: 640px) {
  .hero-copy h1 {
    white-space: normal;
  }

  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-hero,
  .hero-inner,
  .section-shell {
    max-width: 100vw;
  }
}

main {
  overflow-x: clip;
}

@media (max-width: 640px) {
  .hero-copy h1 {
    font-size: 40px;
  }
}

@media (max-width: 640px) {
  .category-grid > * {
    min-width: 0;
  }

  .category-item > span:not(.category-number) {
    white-space: normal;
    text-align: center;
  }
}
