:root {
  scrollbar-gutter: stable;
}

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

html,
body {
  max-width: 100%;
}

html {
  overflow-x: visible;
}

body {
  overflow-x: clip;
}

.button,
.site-nav a,
.category-nav a,
.footer-list a,
.footer-bottom a,
.location-card dd a,
.menu-toggle {
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

.button:focus-visible,
.site-nav a:focus-visible,
.category-nav a:focus-visible,
.footer-list a:focus-visible,
.footer-bottom a:focus-visible,
.location-card dd a:focus-visible,
.menu-toggle:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--color-navy);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--color-yellow), var(--shadow-tight);
}

.site-nav a,
.category-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.menu-card__price,
.menu-list-card__head strong,
.location-card__status span,
.tag-row span {
  letter-spacing: 0;
  white-space: nowrap;
}

.menu-card,
.menu-list-card,
.location-card,
.review-card,
.value-card {
  overflow-wrap: anywhere;
}

.location-card dd a,
.footer-list a[href^="tel:"],
.footer-bottom a {
  color: inherit;
  font-weight: 900;
  text-decoration: underline;
}

.footer-list a,
.footer-bottom a,
.location-card dd a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
}

.footer-list a {
  padding: 0.18rem 0.2rem;
}

.footer-bottom a {
  padding: 0.3rem 0;
}

.social-row span {
  display: inline-flex;
  max-width: 100%;
  padding: 0.48rem 0.62rem;
  border: 2px solid var(--color-navy);
  background: var(--color-yellow);
  color: var(--color-navy);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.page-hero__media img,
.hero-photo img,
.gallery-item img {
  background: var(--color-navy);
}

.hero {
  min-height: 0 !important;
  padding-bottom: 0.85rem !important;
}

.hero-board {
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr) minmax(230px, 0.45fr);
  align-items: center;
  min-height: 0 !important;
}

.hero-proof {
  align-self: center;
  max-width: 360px;
}

.page-hero,
.page-hero__content,
.section-header,
.menu-category-block,
.menu-list-card {
  min-width: 0;
}

.page-hero__content p,
.section-header p,
.menu-list-card p,
.location-card dd {
  overflow-wrap: anywhere;
}

.review-carousel__viewport {
  scroll-snap-type: x mandatory;
}

.review-card--slide {
  scroll-snap-align: start;
}

.hero-marquee {
  contain: layout paint;
  overflow: clip !important;
}

.brand-mark {
  min-height: 44px;
}

.brand-mark__seal {
  min-width: 44px;
  min-height: 44px;
}

.page-hero__media {
  max-width: calc(100vw - 1rem);
  transform: rotate(3deg) translateY(calc(1rem + var(--parallax-y, 0px))) !important;
}

#locations {
  contain: layout paint;
  overflow: clip;
}

.error-page__content {
  opacity: 1;
  transform: none;
}

.about-preview .section-header p:not(.eyebrow),
.about-panel p,
.location-card__locality,
.value-card h3 {
  color: var(--color-navy) !important;
}

@media (max-width: 520px) {
  .button {
    max-width: calc(100% - 6px);
  }

  .brand-mark__seal,
  .eyebrow,
  .sticker,
  .menu-toggle,
  .category-nav a {
    box-shadow: 2px 2px 0 var(--color-navy);
  }

  .container,
  .page-hero__content,
  .section-header,
  .hero-board,
  .hero-copy,
  .hero-proof,
  .hero-photo-stack,
  .menu-category-block {
    box-sizing: border-box;
    width: calc(100% - 1rem);
    max-width: calc(100vw - 1rem);
  }

  .hero-copy,
  .hero-proof {
    justify-self: center;
  }

  .hero-actions,
  .about-actions {
    display: grid;
  }

  .hero-actions .button,
  .about-actions .button,
  .section-cta .button {
    width: calc(100% - 6px);
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .page-hero__content h1 {
    max-width: 100%;
    font-size: clamp(3rem, 14vw, 4.4rem);
  }

  .page-hero__content > p:not(.eyebrow),
  .hero-copy > p:not(.eyebrow),
  .hero-proof p,
  .section-header > p:not(.eyebrow) {
    max-width: min(100%, 34ch) !important;
    font-size: 1rem;
    line-height: 1.35;
  }

  .page-hero__sticker {
    display: table;
    max-width: 100%;
  }

  .sticker--hero {
    left: 0.75rem;
    right: auto;
    max-width: calc(100% - 1.5rem);
    white-space: normal;
  }

  .hero-photo--side {
    right: 0.75rem;
    bottom: 0.25rem;
    width: min(42%, 150px);
  }

  .menu-category-block__heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .menu-category-block__heading span {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .category-nav__inner {
    display: flex;
    flex-wrap: wrap;
    overflow-x: visible;
    padding-bottom: 0.65rem;
  }

  .category-nav a {
    flex: 1 1 calc(50% - 0.65rem);
  }

  .menu-list-card__sticker {
    position: static;
    justify-self: start;
    max-width: 100%;
    transform: none;
    white-space: normal;
  }
}

@media (max-width: 1180px) {
  .hero-board {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
  }

  .hero-proof {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: min(100%, 520px);
  }
}

@media (max-width: 760px) {
  .hero-board {
    grid-template-columns: 1fr;
  }

  .hero-proof {
    justify-self: stretch;
  }
}

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

  [data-parallax],
  [data-tilt-card] {
    transform: none !important;
  }
}
