/* Production and accessibility additions to the original landing-page design. */
[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

:where([id]) {
  scroll-margin-top: 100px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 4vw;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 4px;
  background: var(--white);
  color: var(--navy);
  font-weight: 500;
  text-decoration: none;
  transform: translateY(calc(-100% - 16px));
}

.skip-link:focus {
  transform: none;
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 4px;
}

:where(.kids, .contact, footer) :where(a, button, [tabindex]):focus-visible {
  outline-color: var(--gold-l);
}

.tabs button[aria-pressed="true"] {
  background: var(--navy);
  color: #fff;
}

.tabs button:focus-visible {
  outline-offset: 2px;
}

/* Content stays readable when JavaScript or IntersectionObserver is unavailable. */
.reveal {
  opacity: 1;
  transform: none;
}

.js-reveal .reveal:not(.in) {
  opacity: 0;
  transform: translateY(24px);
}

.card .ft {
  gap: 12px;
  flex-wrap: wrap;
}

.card .price {
  min-width: 0;
  max-width: 100%;
}

.card .price small {
  display: block;
  margin-left: 0;
}

.card .price small:not(:last-child) {
  display: inline;
}

.card .ft .btn {
  flex: none;
  margin-left: auto;
}

.nav .wrap {
  gap: 12px;
}

.nav .logo {
  white-space: nowrap;
}

.nav .btn {
  flex: none;
}

@media (max-width: 700px) {
  .mcta {
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }

  footer {
    padding-bottom: calc(108px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 680px) {
  .hero-copy,
  .hero-art {
    min-width: 0;
  }

  .hero-meta > div {
    min-width: 0;
    flex: 1;
  }

  .hero-meta b {
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .flow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .flow div {
    padding: 0 8px;
  }

  .flow span {
    display: block;
    font-size: 11px;
    letter-spacing: .08em;
  }

  .mealflow {
    gap: 10px;
    flex-wrap: wrap;
  }

  .mealflow span {
    padding: 10px 14px;
  }

  .mealflow > span:not(.m):not(.c) {
    padding: 0;
  }
}

@media (max-width: 380px) {
  .hero-meta {
    gap: 14px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js-reveal .reveal:not(.in) {
    opacity: 1;
    transform: none;
  }
}
