/**
 * reset.css
 * -----------------------------------------------------------------------
 * A modern, low-specificity reset. This file normalizes browser defaults
 * only — no colors, no fonts, no spacing decisions specific to this
 * project (those live in tokens.css / style.css).
 * -----------------------------------------------------------------------
 */

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scrollbar-gutter: stable;
}

body {
  min-height: 100svh;
  line-height: 1.5;
}

img,
picture,
svg,
video,
canvas {
  display: block;
  max-inline-size: 100%;
  block-size: auto;
}

img,
svg {
  fill: currentColor;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
}

button {
  cursor: pointer;
  appearance: none;
  text-align: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Fluid typography wrapping: avoid overflow from long dish names/descriptions */
h1, h2, h3, h4, h5, h6, p {
  overflow-wrap: break-word;
}

/* Remove default focus outline in favor of an explicit, accessible one
   defined per-component in style.css using :focus-visible. */
:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* Respect reduced-motion preference globally as a hard baseline.
   animations.js/animations.css layer additional handling on top,
   but this guarantees a safe fallback even before JS runs. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}