/* ==========================================================
   Eatg — custom.css
   Small, deliberate layer on top of Tailwind CDN utilities.
   Houses the "recipe stamp" signature element + refinements
   that arbitrary Tailwind classes can't express via CDN.
   ========================================================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

html { scroll-behavior: smooth; }

::selection { background: #C21F26; color: #FBF1DE; }

/* Visible keyboard focus everywhere */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid #D9A441;
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Signature element: the Recipe Stamp ----------
   A circular, dashed, slightly-rotated badge echoing the
   brand's own "Ready in 20 Minutes" ink-stamp mark. Reused for
   prep time, experience and trust badges across the whole site. */
.stamp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #FBF1DE;
  background: #6E1E1E;
  border: 1.5px dashed rgba(251, 241, 222, 0.5);
  border-radius: 999px;
  white-space: nowrap;
}

.stamp-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  border-radius: 999px;
  border: 2px dashed rgba(110, 30, 30, 0.35);
  background: #FFFCF4;
  color: #6E1E1E;
  font-family: 'Space Mono', monospace;
  transform: rotate(-6deg);
  box-shadow: 0 6px 18px -8px rgba(36, 26, 20, 0.35);
}

.stamp-circle.rotate-alt { transform: rotate(5deg); }

/* Step number stamps on the product detail page */
.step-stamp {
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  border: 2px dashed rgba(110, 30, 30, 0.4);
  color: #6E1E1E;
  background: #FFFCF4;
  border-radius: 999px;
}

/* Category filter pills */
.filter-pill {
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.filter-pill[data-active="true"] {
  background-color: #C21F26;
  color: #FBF1DE;
  border-color: #C21F26;
}
.filter-pill:not([data-active="true"]):hover {
  transform: translateY(-1px);
}

/* Product card lift on hover */
.product-card {
  transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(36, 26, 20, 0.35);
}

/* Simple fade/rise-in used for hero + on-scroll reveals */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Play button ring pulse for video thumbnails */
.play-ring::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 999px;
  border: 2px solid rgba(251, 241, 222, 0.7);
  animation: play-pulse 2.2s ease-out infinite;
}
@keyframes play-pulse {
  0%   { transform: scale(0.85); opacity: 0.9; }
  70%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* Hide scrollbar for horizontal related-product / gallery strips */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* ---------- About page: audience segment chips ---------- */
.segment-card {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.segment-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -18px rgba(36, 26, 20, 0.3);
  border-color: rgba(110, 30, 30, 0.35);
}

/* ---------- About page: process pillar ---------- */
.pillar-card {
  position: relative;
  transition: transform .25s ease;
}
.pillar-card:hover { transform: translateY(-3px); }

/* ---------- About page: vision quote panel ---------- */
.vision-panel {
  background:
    radial-gradient(120% 140% at 10% 0%, rgba(217,164,65,0.16), transparent 55%),
    radial-gradient(120% 140% at 100% 100%, rgba(217,164,65,0.10), transparent 50%),
    #241A14;
}

/* Subtle divider rule with a diamond, used sparingly between about-page sections */
.rule-diamond {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.rule-diamond::before, .rule-diamond::after {
  content: '';
  height: 1px;
  flex: 1;
  background: rgba(110, 30, 30, 0.18);
}

/* Weight pill selector on detail page */
.weight-pill input:checked + span {
  background-color: #6E1E1E;
  color: #FBF1DE;
  border-color: #6E1E1E;
}
