:root {
  --color-primary: #2C1810;
  --color-secondary: #4A2C20;
  --color-accent: #DC2626;
  --color-bg-light: #FEF2F2;
  --color-bg-alt: #FEE2E2;
}

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { font-family: 'Work Sans', system-ui, sans-serif; }

::selection { background: rgba(220, 38, 38, 0.18); }

a, button { -webkit-tap-highlight-color: transparent; }

/* Button fixes */
button, .btn, [class*="btn-"], a[href="#order_form"] {
  white-space: nowrap;
  min-width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

form button[type="submit"] {
  white-space: normal;
  width: 100%;
}

/* Inputs */
input, select, textarea {
  outline: none;
}

input:focus, select:focus, textarea:focus {
  box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.12);
  border-color: rgba(17, 24, 39, 0.35);
}

/* Subtle premium grain (very light) */
.premium-surface {
  background-image:
    radial-gradient(circle at 20% 10%, rgba(220, 38, 38, 0.08), transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(44, 24, 16, 0.06), transparent 55%),
    radial-gradient(circle at 50% 90%, rgba(220, 38, 38, 0.06), transparent 55%);
}

/* Animations */
[data-animate] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  will-change: opacity, transform;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.rotate-180 { transform: rotate(180deg); }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-animate] { opacity: 1; transform: none; transition: none; }
}

/* Sticky header offset helpers */
.anchor-offset { scroll-margin-top: 6rem; }

/* Visually hidden utility for non-Tailwind contexts */
.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;
}
.focus\:not-sr-only:focus {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}