/* RestOrder public site — shared craft polish.
   Browser surfaces themed to brand + a reduced-motion safety net.
   Token-free (literal values) so it is safe to drop onto any public page. */

::selection { background: #ffedd5; color: #9a3412; }

html { scrollbar-color: #b0aea5 transparent; }
*::-webkit-scrollbar { width: 11px; height: 11px; }
*::-webkit-scrollbar-thumb {
  background: #d6d3cc;
  border-radius: 999px;
  border: 3px solid #faf9f5;
}
*::-webkit-scrollbar-thumb:hover { background: #b0aea5; }

:root { accent-color: #c2410c; }

/* Links inherit brand focus/underline rhythm unless a page overrides. */
a { text-underline-offset: 3px; }

:focus-visible {
  outline: 2px solid #c2410c;
  outline-offset: 2px;
}

/* Honour the OS "reduce motion" preference across every page. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .fade-up, [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* Visually hidden but read by screen readers and crawlers (section headings that keep the outline h1 > h2 > h3) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; }
