/* ==========================================================================
   Page: Home
   ========================================================================== */

/* ---- Dish-name marquee ----
   Used exactly once on the entire site, directly beneath the Hero (a
   single, purposeful marquee is permitted; a repeated UI pattern is not).
   Content is generated by js/marquee.js from data/menu.js so it
   stays data-driven, not hardcoded. Decorative/duplicative of content
   already listed elsewhere on the page, so the whole band is
   aria-hidden="true" in the HTML rather than announced to screen readers. */
.marquee {
  overflow: hidden;
  background: var(--color-surface);
  border-block: 1px solid var(--color-border);
  padding-block: var(--space-3);
}

.marquee__track {
  display: flex;
  width: max-content;
  /* js/marquee.js fills this from data/menu.js on DOMContentLoaded — reserve
     one line's height up front so the band doesn't jump from 0 to full
     height once the dish names land (layout-shift prevention). */
  min-height: calc(var(--fs-h3) * var(--lh-h3));
  animation: marquee-scroll var(--duration-marquee) linear infinite;
}

.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track {
  animation-play-state: paused;
}

.marquee__group {
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-h3);
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding-inline-end: var(--space-6);
}

.marquee__sep {
  color: var(--color-primary);
  margin-inline: var(--space-3);
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 767px) {
  .marquee__track {
    animation-duration: var(--duration-marquee-mobile);
  }

  .marquee__group {
    font-size: var(--fs-h4);
    padding-inline-end: var(--space-4);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
  }

  /* Static single-line list, no duplicated second group, no scroll. */
  .marquee__group:nth-of-type(2) {
    display: none;
  }

  .marquee__group {
    white-space: normal;
  }
}

.about-teaser__image-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-surface);
}

.about-teaser__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-teaser__body p {
  margin-block: var(--space-3);
}

.signature-picks__grid {
  margin-top: var(--space-2);
}

.visit-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: center;
}

.visit-teaser__hours {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin-block: var(--space-3);
}

@media (max-width: 767px) {
  .visit-teaser {
    grid-template-columns: 1fr;
  }
}
