/* The Devils Cure — design tokens & layout */

:root {
  --color-bg: #110804;
  --color-bg-elevated: #1e1108;
  --color-surface: #2c1a0e;
  --color-border: #3d2510;
  --color-text: #f7ede3;
  --color-text-muted: #c49070;
  --color-accent: #ff6200;
  --color-accent-hot: #e8220a;
  --color-flame: #ffb700;
  --color-danger: #e8003d;
  --font-display: "Bebas Neue", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4.5rem;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-glow: 0 0 80px rgba(255, 98, 0, 0.3);
  --max-width: 72rem;
  --header-height: 4rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100vh;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-md);
  z-index: 1000;
  padding: var(--space-sm) var(--space-md);
  background: var(--color-accent);
  color: var(--color-bg);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: var(--space-md);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
}

a {
  color: var(--color-flame);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--color-accent-hot);
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: rgba(28, 14, 0, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: var(--color-text);
  text-decoration: none;
}

.logo span {
  color: var(--color-accent-hot);
}

.nav-toggle {
  display: none;
  padding: var(--space-sm);
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  cursor: pointer;
}

.nav-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.site-nav a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--color-text);
}

.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
}

.cart-link:hover {
  border-color: var(--color-accent);
  color: var(--color-flame);
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 4px;
  font-size: 0.7rem;
  line-height: 1.25rem;
  text-align: center;
  background: var(--color-danger);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
}

.cart-badge:empty,
.cart-badge[data-count="0"] {
  display: none;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    background: var(--color-bg-elevated);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-lg);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.2s ease, opacity 0.2s ease, visibility 0.2s;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .site-nav--static {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: 0;
    padding: 0;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }
}

/* Hero */
.hero {
  position: relative;
  padding: var(--space-3xl) var(--space-lg) var(--space-2xl);
  overflow: hidden;
  /* Hero background — local copy downloaded via download-images.ps1 */
  background-image:
    linear-gradient(to bottom, rgba(28,14,0,0.78) 0%, rgba(28,14,0,0.38) 50%, rgba(28,14,0,0.88) 100%),
    url('../images/brisket.jpg');
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 80%;
  background: radial-gradient(ellipse at 50% 0%, rgba(232, 93, 4, 0.35) 0%, transparent 55%);
  pointer-events: none;
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero__inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
  z-index: 2;
}

.hero__eyebrow {
  display: inline-block;
  margin-bottom: var(--space-md);
  padding: var(--space-xs) var(--space-md);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent-hot);
  border: 1px solid rgba(255, 77, 0, 0.4);
  border-radius: 999px;
}

.hero h1 {
  margin: 0 0 var(--space-lg);
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 8vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-text);
}

.hero h1 .hero__hot {
  display: block;
  background: linear-gradient(90deg, var(--color-flame), var(--color-accent-hot), #ffaa00);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  max-width: 36rem;
  margin: 0 auto var(--space-xl);
  font-size: 1.125rem;
  color: var(--color-text-muted);
}

.hero__cta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-accent-hot), var(--color-danger));
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.btn--primary:hover {
  box-shadow: 0 0 32px rgba(255, 77, 0, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-border);
}

.btn--ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-flame);
}

.btn--small {
  padding: var(--space-sm) var(--space-md);
  font-size: 0.875rem;
}

/* Sections */
.section {
  padding: var(--space-2xl) var(--space-lg);
}

.section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section__title {
  margin: 0 0 var(--space-sm);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
}

.section__subtitle {
  margin: 0 auto var(--space-xl);
  max-width: 40rem;
  color: #ffd9a8;
  font-size: 1.05rem;
  font-weight: 500;
  text-align: center;
}

.section__subtitle-link {
  display: inline-block;
  margin-top: 0.4rem;
  font-weight: 600;
  color: var(--color-flame);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.section__subtitle-link:hover {
  color: var(--color-accent-hot);
  border-bottom-color: currentColor;
}

/* Heat story */
.heat-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.heat-card {
  padding: var(--space-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

/* Per-card heat-level accent borders */
.heat-card:nth-child(1) {
  background: linear-gradient(150deg, #3a2410 0%, #4a2e14 100%);
  border-color: #7a5028;
}

.heat-card:nth-child(2) {
  background: linear-gradient(150deg, #3e200e 0%, #502810 100%);
  border-color: #945030;
}

.heat-card:nth-child(3) {
  background: linear-gradient(150deg, #451808 0%, #5a200c 100%);
  border-color: #b04030;
}

.heat-card__flames {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: var(--space-sm);
}

.heat-flame {
  font-size: 1.4rem;
  line-height: 1;
}

.heat-card h3 {
  margin: 0 0 var(--space-sm);
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: var(--color-text);
  text-align: center;
}

.heat-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.heat-card .heat-meter__bar {
  background: var(--color-border);
}

.heat-meter {
  display: flex;
  gap: 4px;
  margin-top: var(--space-md);
}

.heat-meter__bar {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: var(--color-border);
}

.heat-meter__bar.is-hot {
  background: linear-gradient(90deg, var(--color-accent), var(--color-danger));
}

/* Products */
.lineup-hero {
  text-align: center;
  margin: 0 0 var(--space-3xl);
}

.lineup-hero img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

.products-row-label {
  margin: var(--space-2xl) 0 var(--space-lg);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: var(--space-sm);
  text-align: center;
  scroll-margin-top: 5rem;
}

.products-row-label:first-of-type {
  margin-top: 0;
}

.products-grid {
  display: grid;
  gap: var(--space-xl);
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  border-color: rgba(232, 93, 4, 0.45);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.product-card__image {
  aspect-ratio: 3 / 4;
  background: #f5ece0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card__image img {
  transform: scale(1.04);
}

.product-card__body {
  padding: var(--space-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.product-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.product-card__heat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-hot);
}

.product-card h3 {
  margin: 0 0 var(--space-sm);
  font-family: var(--font-display);
  font-size: 1.65rem;
  letter-spacing: 0.04em;
  color: #fff5e8;
}

.product-card__desc {
  margin: 0 0 var(--space-md);
  flex: 1;
  font-size: 0.9rem;
  color: #e8c99a;
}

.product-card__size {
  font-size: 0.8rem;
  color: #c49060;
  margin-bottom: var(--space-md);
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  margin-top: auto;
}

.heat-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 7px 2px 5px;
  border-radius: 999px;
  border: 1px solid currentColor;
}

.heat-badge svg {
  flex-shrink: 0;
}

.heat-badge--smolder {
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.1);
}

.heat-badge--blaze {
  color: var(--color-flame);
  background: rgba(255, 107, 53, 0.12);
}

.heat-badge--inferno {
  color: var(--color-danger);
  background: rgba(196, 30, 58, 0.12);
}

.product-card__price {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.04em;
  color: var(--color-text);
}

/* ============ Coming Soon banner + cards ============ */
.coming-soon-banner {
  margin: var(--space-2xl) 0 var(--space-md);
  text-align: center;
}

.products-row-label--coming {
  margin-bottom: var(--space-sm);
}

.coming-soon-tagline {
  max-width: 44rem;
  margin: 0 auto var(--space-lg);
  color: var(--color-text-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.coming-soon-flag {
  display: inline-block;
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  background: var(--color-accent-hot);
  color: #fff;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  margin-right: 0.5rem;
  vertical-align: middle;
}

.product-card--coming .product-card__image {
  position: relative;
}

.product-card--coming .product-card__image img {
  filter: grayscale(0.35) brightness(0.92);
  transition: filter 0.3s ease, transform 0.4s ease;
}

.product-card--coming:hover .product-card__image img {
  filter: grayscale(0) brightness(1);
}

.card-ribbon {
  position: absolute;
  top: 14px;
  left: -38px;
  z-index: 2;
  background: var(--color-accent-hot);
  color: #fff;
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  padding: 4px 44px;
  transform: rotate(-30deg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.card-ribbon--sold-out {
  background: var(--color-flame);
  color: #1a0800;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35), 0 0 12px rgba(255, 183, 0, 0.3);
}

/* ── Sold-out product card state ── */
.product-card--sold-out .product-card__image {
  position: relative;
}

.product-card--sold-out .product-card__image img {
  filter: grayscale(0.2) brightness(0.88);
  transition: filter 0.3s ease;
}

.product-card--sold-out:hover .product-card__image img {
  filter: grayscale(0.1) brightness(0.92);
}

.product-card--sold-out .btn[disabled] {
  background: var(--color-surface);
  border-color: var(--color-border);
  color: var(--color-text-muted);
  cursor: not-allowed;
  opacity: 0.6;
  pointer-events: none;
}

/* ============ Waitlist form ============ */
.waitlist {
  margin: var(--space-2xl) 0 var(--space-lg);
  background: linear-gradient(135deg, #0e0603 0%, #1e1108 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  scroll-margin-top: 5rem;
}

.waitlist__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-xl);
  align-items: center;
  max-width: 64rem;
  margin: 0 auto;
}

.waitlist__copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: 0.04em;
  margin: 0 0 var(--space-sm);
  color: var(--color-flame);
}

.waitlist__copy p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.waitlist__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.waitlist__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.waitlist__field input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  background: rgba(255, 245, 232, 0.06);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
}

.waitlist__field input:focus {
  outline: none;
  border-color: var(--color-accent);
  background: rgba(255, 245, 232, 0.1);
}

.waitlist__field input::placeholder {
  color: rgba(232, 169, 106, 0.7);
}

.waitlist__sauces {
  border: none;
  padding: 0;
  margin: var(--space-xs) 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.waitlist__sauces label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}

.waitlist__sauces input[type="checkbox"] {
  accent-color: var(--color-accent-hot);
  width: 1rem;
  height: 1rem;
}

.waitlist__form .btn {
  margin-top: var(--space-xs);
  align-self: flex-start;
}

.waitlist__success {
  margin: var(--space-sm) 0 0;
  padding: 0.75rem 1rem;
  background: rgba(255, 183, 0, 0.15);
  border: 1px solid var(--color-flame);
  border-radius: var(--radius-sm);
  color: var(--color-flame);
  font-size: 0.95rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 720px) {
  .waitlist__inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .waitlist__form .btn {
    align-self: stretch;
    text-align: center;
  }
}

/* Lifestyle / photo gallery section */
.section--lifestyle {
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.lifestyle-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr 1fr;
}

.lifestyle-card {
  position: relative;
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

.lifestyle-card--featured {
  grid-column: 1 / -1;
}

.lifestyle-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}

.lifestyle-card--featured img {
  aspect-ratio: 21/8;
}

.lifestyle-card:not(.lifestyle-card--featured) img {
  aspect-ratio: 4/3;
}

.lifestyle-card:hover img {
  transform: scale(1.04);
}

.lifestyle-card figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-sm) var(--space-lg);
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.875rem;
  font-style: italic;
  pointer-events: none;
}

@media (max-width: 600px) {
  .lifestyle-grid {
    grid-template-columns: 1fr;
  }
  .lifestyle-card--featured {
    grid-column: 1;
  }
  .lifestyle-card--featured img {
    aspect-ratio: 16/9;
  }
}

/* Footer */
.site-footer {
  margin-top: 0;
  padding: var(--space-lg) var(--space-lg);
  background: #1c0e00;
  border-top: 1px solid var(--color-border);
}

.site-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.site-footer__copyright {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.footer-brand-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  color: #ffffff;
  margin: 0 0 var(--space-xs);
}

.footer-tagline {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  margin: 0;
  max-width: 28rem;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.footer-social__link {
  color: rgba(255,255,255,0.65);
  transition: color 0.2s ease;
}

.footer-social__link:hover {
  color: var(--color-flame);
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-xs);
}

.footer-usa {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer-usa__flag {
  font-size: 1.4rem;
  line-height: 1;
}

.footer-usa__flag svg {
  display: block;
  border-radius: 3px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.footer-usa__text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: #ffffff;
}

.footer-contact__link {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
}

.footer-contact__link:hover {
  color: var(--color-flame);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
}

.footer-legal a {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--color-flame);
}

.footer-credit {
  max-width: var(--max-width);
  margin: var(--space-lg) auto 0;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-md);
}

.footer-credit a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
}

.footer-credit a:hover {
  color: var(--color-flame);
}

/* Scoville Chart */
.scoville-section {
  padding: var(--space-2xl) var(--space-lg);
}

.scoville-card {
  max-width: 700px;
  margin: 0 auto;
  background: #f0f0f0;
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-2xl);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

.scoville-chart__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1a0800;
  margin: 0 0 var(--space-xs);
  text-align: center;
}

.scoville-chart__sub {
  text-align: center;
  font-size: 0.8rem;
  color: #666;
  margin: 0 0 var(--space-lg);
}

.scoville-chart__bars {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.scoville-row {
  display: grid;
  grid-template-columns: 10rem 1fr 6rem;
  align-items: center;
  gap: var(--space-md);
}

.scoville-row__label {
  font-size: 0.82rem;
  color: #1a0800;
  text-align: right;
  white-space: nowrap;
}

.scoville-row__bar-wrap {
  background: #d8d8d8;
  border-radius: 999px;
  height: 10px;
  overflow: hidden;
}

.scoville-row__bar {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(to right, #ffb700, #ff6200, #ff3300, #cc0000);
  transition: width 0.4s ease;
}

.scoville-row--max .scoville-row__bar {
  background: linear-gradient(to right, #ff3300, #cc0000, #800000);
  box-shadow: 0 0 8px rgba(255, 50, 0, 0.6);
}

/* ── Chart bar width tokens (eliminates inline styles on homepage) ── */
.scoville-bar--1   { width: 1%; }
.scoville-bar--3   { width: 3%; }
.scoville-bar--8   { width: 8%; }
.scoville-bar--14  { width: 14%; }
.scoville-bar--28  { width: 28%; }
.scoville-bar--45  { width: 45%; }
.scoville-bar--62  { width: 62%; }
.scoville-bar--80  { width: 80%; }
.scoville-bar--100 { width: 100%; }

.scoville-row--ours {
  background: rgba(255, 98, 0, 0.08);
  border-left: 3px solid var(--color-accent);
  border-radius: 6px;
  padding: 6px 8px 6px 6px;
  margin-left: -8px;
  margin-right: -8px;
}

.scoville-row--ours .scoville-row__label {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-weight: 700;
  color: #1a0800;
}

.scoville-row__sauce {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--color-accent-hot);
  font-weight: 400;
  white-space: nowrap;
}

.scoville-row__shu {
  font-size: 0.75rem;
  color: #555;
  white-space: nowrap;
}

.scoville-chart__note {
  margin: var(--space-lg) 0 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-style: italic;
}

.scoville-chart__more {
  margin: var(--space-sm) 0 0;
  text-align: center;
  font-size: 0.9rem;
}

.scoville-chart__more a {
  color: var(--color-flame);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.scoville-chart__more a:hover {
  border-bottom-color: var(--color-flame);
}

/* ============ Scoville page teaser strip (homepage) ============ */
.sc-page-teaser {
  max-width: var(--max-width);
  margin: 0 auto var(--space-xl);
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.sc-page-teaser__img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.sc-page-teaser__text {
  flex: 1;
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.sc-page-teaser__link {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--color-flame);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.sc-page-teaser__link:hover {
  color: var(--color-text);
}

@media (max-width: 580px) {
  .sc-page-teaser {
    flex-wrap: wrap;
  }
  .sc-page-teaser__link {
    width: 100%;
  }
}

/* Checkout page extras */
.checkout-page-title {
  margin-bottom: var(--space-lg);
}

.checkout-intro {
  color: #ffd9a8;
  margin-top: 0;
  margin-bottom: var(--space-xl);
}

.checkout-section-title {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
}

.checkout-submit-btn {
  width: 100%;
  margin-top: var(--space-sm);
}

.checkout-layout {
  max-width: 48rem;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-lg);
}

.checkout-cart {
  margin-bottom: var(--space-2xl);
  padding: var(--space-lg);
  background: #f0f0f0;
  color: #1a0800;
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  color: #1a0800;
}

.checkout-line {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid #d0c8c0;
  color: #1a0800;
}

.checkout-line:last-of-type {
  border-bottom: none;
}

.checkout-line__meta {
  color: #5a3a18;
  font-size: 0.875rem;
}

.checkout-line__right {
  text-align: right;
  flex-shrink: 0;
}

.checkout-line__total {
  display: block;
  color: #1a0800;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.checkout-line__controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.checkout-qty-input {
  width: 4rem;
  padding: 0.35rem 0.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  border: 1px solid #c8b090;
  border-radius: 6px;
  text-align: center;
  color: #1a0800;
  background: #fff;
}

.checkout-remove-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  background: #fff0f0;
  border: 1px solid #e8b0b0;
  border-radius: 6px;
  color: #b01818;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  flex-shrink: 0;
}

.checkout-remove-btn:hover {
  background: #ffd9d9;
  border-color: #c02020;
  color: #900000;
}

.checkout-total {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 2px solid #d0c8c0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: #1a0800;
}

.checkout-card {
  background: #f0f0f0;
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  color: #1a0800;
}

.checkout-card .section__title {
  color: #1a0800;
}

.checkout-form label {
  display: block;
  margin-bottom: var(--space-xs);
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a0800;
}

.checkout-form input,
.checkout-form textarea {
  width: 100%;
  margin-bottom: var(--space-lg);
  padding: var(--space-md);
  font-family: inherit;
  font-size: 1rem;
  color: #1a0800;
  background: #ffffff;
  border: 1px solid #d0c8c0;
  border-radius: var(--radius-sm);
}

.checkout-form input:focus,
.checkout-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.checkout-empty {
  text-align: center;
  padding: var(--space-3xl);
  color: #ffd9a8;
}

.checkout-empty a {
  font-weight: 600;
}

/* Thanks & legal */
.prose {
  max-width: 40rem;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-lg);
}

.prose h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  letter-spacing: 0.04em;
  margin: 0 0 0.25rem;
}

.prose .prose__meta {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin: 0 0 2rem;
  opacity: 0.7;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  color: var(--color-flame);
  margin: 2rem 0 0.5rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--color-border);
}

.prose h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: var(--color-text);
  margin: 1.25rem 0 0.35rem;
}

.prose p {
  color: var(--color-text-muted);
  line-height: 1.7;
}

.prose ul,
.prose ol {
  padding-left: 1.4rem;
  margin: 0.5rem 0 1rem;
}

.prose li {
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 0.3rem;
}

.prose a {
  color: var(--color-flame);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.prose a:hover {
  border-bottom-color: var(--color-flame);
}

.prose .prose__footer-nav {
  margin-top: 2.5rem;
}

.prose .prose__notice {
  background: var(--color-bg-elevated);
  border-left: 3px solid var(--color-flame);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: var(--space-md) var(--space-lg);
  margin: 0 0 1.5rem;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  font-style: italic;
}

/* ============================================================
   Polish pass — animation, hover, nav, typography, breadcrumb
   ============================================================ */

/* ── 1. Fade-in-up scroll animation ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.observe-fade {
  opacity: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .observe-fade.is-visible {
    animation: fadeInUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .observe-fade.is-visible:nth-child(2) { animation-delay: 0.08s; }
  .observe-fade.is-visible:nth-child(3) { animation-delay: 0.16s; }
  .observe-fade.is-visible:nth-child(4) { animation-delay: 0.24s; }
}

@media (prefers-reduced-motion: reduce) {
  .observe-fade { opacity: 1; }
}

/* ── 2. Product card lift on hover ── */
.product-card {
  transform: translateY(0);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
}

/* ── 3. Cart badge pulse ── */
@keyframes badgePulse {
  0%   { transform: scale(1); }
  35%  { transform: scale(1.55); }
  65%  { transform: scale(0.92); }
  85%  { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.cart-badge.is-pulsing {
  animation: badgePulse 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

/* ── 4. Typography tightening ── */
.hero__lead {
  line-height: 1.55;
}

.section__subtitle {
  line-height: 1.55;
}

@media (min-width: 768px) {
  .hero__lead {
    line-height: 1.5;
  }
}

/* ── 5. Active nav state — flame underline ── */
.site-nav a[aria-current="page"] {
  color: var(--color-flame);
  position: relative;
}

@media (min-width: 769px) {
  .site-nav a[aria-current="page"]::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-flame);
    border-radius: 1px;
  }
}

/* ── 6. Checkout empty state — branded ── */
.checkout-empty {
  padding: var(--space-3xl) var(--space-lg);
  text-align: center;
}

.checkout-empty__icon {
  font-size: 3.5rem;
  display: block;
  margin: 0 auto var(--space-md);
  line-height: 1;
}

.checkout-empty__heading {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.05em;
  color: var(--color-text);
  margin: 0 0 var(--space-sm);
}

.checkout-empty__sub {
  color: #ffd9a8;
  font-size: 1rem;
  margin: 0 0 var(--space-xl);
}

/* ── 7. Breadcrumb strip ── */
.breadcrumb {
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid var(--color-border);
  padding: 0.55rem 1.5rem;
}

.breadcrumb__list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: var(--max-width);
  display: flex;
  gap: 0.35rem;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.8rem;
}

.breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--color-text-muted);
}

.breadcrumb__item a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.breadcrumb__item a:hover {
  color: var(--color-flame);
}

.breadcrumb__item[aria-current="page"] {
  color: #ffd9a8;
}

.breadcrumb__sep {
  color: var(--color-border);
  -webkit-user-select: none;
  user-select: none;
}
