.header-actions .icon-button,
.gallery-controls .icon-button {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
}

.mobile-menu a {
  min-height: 48px;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu a svg { color: var(--pink); }
.mobile-menu a span { min-width: 0; }

.menu-section .text-link,
.entry-location .text-link {
  min-height: 44px;
  gap: 12px;
}

.menu-section .text-link svg,
.entry-location .text-link svg { width: 18px; height: 18px; }
.carta-link span { min-width: 0; }

.segmented {
  gap: 0;
  border-bottom: 1px solid #0003;
}

.segmented button {
  display: inline-flex;
  min-width: 44px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
}

.segmented button svg { width: 18px; height: 18px; }
.segmented button[aria-selected="true"] { font-weight: 800; }
.segmented button[aria-selected="true"]:after { bottom: -1px; }

.dish-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  margin: 10px 0 0 40px;
  font-size: 12px;
  font-weight: 700;
  border-bottom: 1px solid currentColor;
}

.dish-action svg { width: 17px; height: 17px; }
.dish:hover .dish-action { color: #c23d83; }

.entry-row { grid-template-columns: 26px minmax(0, 1fr); }
.entry-row .entry-icon { color: var(--pink); margin-top: 2px; }
.entry-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  color: var(--pink);
  font-size: 13px;
  font-weight: 700;
  border-bottom: 1px solid currentColor;
}
.entry-cta svg { width: 18px; height: 18px; }
.text-link { min-height: 44px; }
.footer-top > div a { min-height: 44px; text-decoration: underline; text-underline-offset: 5px; }
.mobile-reserve a:active, .mobile-menu a:active { background: #ffffff14; }
.entry-row:active .entry-cta, .text-link:active { color: var(--gold); }
html.motion-paused-root { scroll-behavior: auto !important; }

/* Short gestures alternate with long rests; labels and touch areas stay still. */
.menu-section .text-link,
.entry-location .text-link,
.ritual-heading .text-link,
.dish-action,
.entry-cta,
.reserve-link,
.footer-top > div a,
.mobile-menu a,
.mobile-reserve a {
  --action-delay: 0s;
  --action-light: var(--pink);
  position: relative;
}

.menu-section .text-link,
.dish-action { --action-light: #c23d83; }
.entry-location .text-link { --action-delay: .8s; }
.ritual-heading .text-link { --action-delay: 1.6s; }
.dish:nth-child(2) .dish-action,
.entry-row:nth-child(2) .entry-cta,
.mobile-menu a:nth-child(2) { --action-delay: 1.8s; }
.dish:nth-child(3) .dish-action,
.entry-row:nth-child(3) .entry-cta,
.mobile-menu a:nth-child(3) { --action-delay: 3.6s; }
.mobile-menu a:nth-child(4) { --action-delay: 5.4s; }
.mobile-menu a:nth-child(5),
.footer-top > div a:nth-child(2) { --action-delay: 2.7s; }

.menu-section .text-link > svg:last-child,
.entry-location .text-link > svg:last-child,
.ritual-heading .text-link > svg:last-child,
.dish-action > svg,
.entry-cta > svg,
.reserve-link > svg,
.footer-top > div a > svg,
.mobile-menu a > svg {
  animation: coyotl-action-advance 7.2s ease-in-out infinite;
  animation-delay: var(--action-delay);
  transform-origin: center;
}

.mobile-menu a[href^="#"] > svg { animation-name: coyotl-action-descend; }

.menu-section .text-link:after,
.entry-location .text-link:after,
.ritual-heading .text-link:after,
.dish-action:after,
.entry-cta:after,
.reserve-link:after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -1px;
  width: 32px;
  height: 2px;
  background: var(--action-light);
  opacity: 0;
  transform: scaleX(.2);
  transform-origin: right;
  pointer-events: none;
  animation: coyotl-action-trace 7.2s ease-in-out infinite;
  animation-delay: var(--action-delay);
}

.menu-section .text-link:hover > svg:last-child,
.entry-location .text-link:hover > svg:last-child,
.ritual-heading .text-link:hover > svg:last-child,
.dish:hover .dish-action > svg,
.entry-row:hover .entry-cta > svg,
.reserve-link:hover > svg,
.mobile-menu a:hover > svg,
.footer-top > div a:hover > svg {
  animation-play-state: paused;
  filter: drop-shadow(0 0 4px var(--action-light));
}

@keyframes coyotl-action-advance {
  0%, 3%, 19%, 100% { transform: translate(0, 0); filter: none; }
  9% { transform: translate(4px, -3px); filter: drop-shadow(0 0 4px var(--action-light)); }
  13% { transform: translate(1px, -1px); filter: drop-shadow(0 0 2px var(--action-light)); }
}

@keyframes coyotl-action-trace {
  0%, 3%, 22%, 100% { opacity: 0; transform: scaleX(.2); }
  10% { opacity: .85; transform: scaleX(1); }
  16% { opacity: .25; transform: scaleX(.65); }
}

@keyframes coyotl-action-descend {
  0%, 3%, 19%, 100% { transform: translate(0, 0); filter: none; }
  9% { transform: translate(4px, 3px); filter: drop-shadow(0 0 4px var(--action-light)); }
  13% { transform: translate(1px, 1px); filter: drop-shadow(0 0 2px var(--action-light)); }
}

@keyframes coyotl-action-hop {
  0%, 3%, 20%, 100% { transform: translateY(0) rotate(0); filter: none; }
  8% { transform: translateY(-5px) rotate(-7deg); filter: drop-shadow(0 0 5px var(--action-light)); }
  12% { transform: translateY(-1px) rotate(4deg); filter: drop-shadow(0 0 3px var(--action-light)); }
  16% { transform: translateY(1px) rotate(0); filter: none; }
}

@media (max-width: 700px) {
  html { scroll-padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
  .mobile-menu {
    max-height: calc(100dvh - 148px - env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
  }
  .mobile-menu a { font-size: 18px; line-height: 1.35; }
  .menu-intro { flex-wrap: wrap; align-items: start; }
  .menu-intro .carta-link { max-width: none; font-size: 12px; }
  .menu-toolbar { flex-wrap: wrap; column-gap: 16px; row-gap: 14px; }
  .segmented { flex: 1 1 100%; }
  .segmented button { flex: 1; gap: 8px; padding: 12px; }
  .gallery-controls { margin-left: auto; gap: 10px; }
  .menu-counter { display: block; margin-left: 0; margin-right: auto; }
  .entry-row { gap: 16px; }
  .entry-cta { font-size: 12px; gap: 10px; }
  footer { padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px)); }
  .mobile-reserve {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    height: calc(76px + env(safe-area-inset-bottom, 0px));
    padding: 0 12px env(safe-area-inset-bottom, 0px);
    align-items: stretch;
    gap: 0;
  }
  .mobile-reserve a {
    min-width: 44px;
    min-height: 60px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
  }
  .mobile-reserve svg { width: 22px; height: 22px; }
  .mobile-reserve a span { white-space: nowrap; }
  .mobile-reserve a:last-child { color: var(--pink); font-weight: 800; }
  .mobile-reserve a:focus-visible { outline-offset: -5px; }
  .mobile-reserve a:nth-child(2) { --action-delay: 1.8s; }
  .mobile-reserve a:nth-child(3) { --action-delay: 3.6s; }
  .mobile-reserve a:nth-child(4) { --action-delay: 5.4s; }
  .mobile-reserve a > svg {
    animation: coyotl-action-hop 7.2s ease-in-out infinite;
    animation-delay: var(--action-delay);
    transform-origin: center;
  }
  .mobile-reserve a:after {
    content: '';
    position: absolute;
    top: 41px;
    left: calc(50% - 11px);
    width: 22px;
    height: 1px;
    background: var(--action-light);
    opacity: 0;
    transform: scaleX(.2);
    transform-origin: center;
    pointer-events: none;
    animation: coyotl-action-trace 7.2s ease-in-out infinite;
    animation-delay: var(--action-delay);
  }
  .mobile-reserve a:active > svg { animation-play-state: paused; }
}

.motion-paused .menu-section .text-link > svg,
.motion-paused .entry-location .text-link > svg,
.motion-paused .ritual-heading .text-link > svg,
.motion-paused .dish-action > svg,
.motion-paused .entry-cta > svg,
.motion-paused .reserve-link > svg,
.motion-paused .footer-top > div a > svg,
.motion-paused .mobile-menu a > svg,
.motion-paused .mobile-reserve a > svg {
  animation: none !important;
  transform: none !important;
  filter: none !important;
}

.motion-paused .menu-section .text-link:after,
.motion-paused .entry-location .text-link:after,
.motion-paused .ritual-heading .text-link:after,
.motion-paused .dish-action:after,
.motion-paused .entry-cta:after,
.motion-paused .reserve-link:after,
.motion-paused .mobile-reserve a:after {
  animation: none !important;
  opacity: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
  .menu-section .text-link > svg,
  .entry-location .text-link > svg,
  .ritual-heading .text-link > svg,
  .dish-action > svg,
  .entry-cta > svg,
  .reserve-link > svg,
  .footer-top > div a > svg,
  .mobile-menu a > svg,
  .mobile-reserve a > svg {
    animation: none !important;
    transform: none !important;
    filter: none !important;
  }
  .menu-section .text-link:after,
  .entry-location .text-link:after,
  .ritual-heading .text-link:after,
  .dish-action:after,
  .entry-cta:after,
  .reserve-link:after,
  .mobile-reserve a:after {
    animation: none !important;
    opacity: 0 !important;
  }
}
