:root {
  --ink: #140a09;
  --ink-2: #221210;
  --cream: #fff4e2;
  --red: #d13a30;
  --cyan: #7fc7ec;
  --pink: #e27fac;
  --gold: #f0c766;
  --muted: #d9c7b6;

  --display: "Shrikhand", "Cooper Black", Georgia, serif;
  --mono: "Courier Prime", "Courier New", monospace;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 5vw, 56px);
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; margin: 0; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip:focus { top: 8px; }

/* ---------- Header / footer ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px var(--gutter);
  background: rgba(20, 10, 9, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 244, 226, 0.08);
}
.wordmark {
  font-family: var(--display); font-size: 1.75rem; line-height: 1; text-decoration: none;
  color: var(--gold);
  text-shadow: 2px 2px 0 var(--ink), 3px 3px 0 var(--red);
}
.site-header nav { display: flex; gap: clamp(14px, 3vw, 28px); }
.site-header nav a {
  font-family: var(--mono); font-weight: 700; text-decoration: none;
  text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.9rem;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.site-header nav a:hover { border-color: var(--pink); }

.site-footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding: 32px var(--gutter);
  border-top: 1px solid rgba(255, 244, 226, 0.1);
  color: var(--muted); font-size: 0.9rem;
}
.site-footer p { margin: 0; }

/* ---------- Shared bits ---------- */
.eyebrow {
  font-family: var(--mono); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.14em; font-size: 0.85rem; color: var(--cyan); margin-bottom: 14px;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px; border-radius: 999px;
  font: 700 1rem var(--body); text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: #ffd97e; }
.btn-ghost { border-color: var(--cream); color: var(--cream); }
.btn-ghost:hover { background: rgba(255, 244, 226, 0.1); }
.btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn[aria-disabled="true"]:hover { transform: none; background: var(--gold); }
.note { min-height: 1.5em; margin: 12px 0 0; font-size: .95rem; color: var(--muted); }

section { padding: clamp(56px, 9vw, 104px) var(--gutter); }
section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
section h2 { font-size: clamp(2.2rem, 6vw, 3.6rem); color: var(--gold); }

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(24px, 5vw, 64px);
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto;
  padding-top: clamp(32px, 6vw, 72px);
}
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
.hero h1 .nb { white-space: nowrap; }
.hero h1 .pink { display: block; color: var(--pink); }
.lede { font-size: 1.25rem; color: var(--muted); max-width: 30ch; margin: 22px 0 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-art { position: relative; display: grid; place-items: center; aspect-ratio: 1; }
/* Chili-burst ring echoing the label: red spikes fanning out over a cyan glow */
.burst {
  position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(circle, var(--ink) 0 46%, transparent 47%),
    repeating-conic-gradient(from 0deg, var(--red) 0 4deg, transparent 4deg 8deg);
  -webkit-mask: radial-gradient(circle, transparent 0 40%, #000 41% 100%);
          mask: radial-gradient(circle, transparent 0 40%, #000 41% 100%);
  filter: drop-shadow(0 0 28px rgba(127, 199, 236, 0.45));
  animation: spin 90s linear infinite;
}
.jar-photo {
  position: relative; width: 74%; aspect-ratio: 1; object-fit: cover; border-radius: 50%;
  border: 6px solid var(--ink); box-shadow: 0 0 0 4px var(--cyan), 0 20px 50px rgba(0, 0, 0, 0.5);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Ticker ---------- */
.ticker { overflow: hidden; background: var(--pink); color: var(--ink); border-block: 3px solid var(--ink); }
.ticker-track {
  display: flex; width: max-content; gap: 28px; padding: 12px 0;
  font-family: var(--mono); font-weight: 700; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.12em;
  animation: scroll 32s linear infinite;
}
.ticker-track span, .ticker-track i { white-space: nowrap; font-style: normal; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Shop ---------- */
.shop h2 { text-align: center; margin-bottom: 44px; }
.product {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 56px); align-items: center;
  max-width: 900px; padding: clamp(20px, 4vw, 40px);
  background: var(--ink-2); border: 2px solid rgba(255, 244, 226, 0.12); border-radius: 28px;
}
.product > img { border-radius: 20px; width: 100%; aspect-ratio: 1; object-fit: cover; }
.product h3 { font-size: clamp(1.9rem, 4vw, 2.6rem); color: var(--cream); }
.net { font-family: var(--mono); color: var(--muted); margin: 8px 0 18px; }
.price { font-size: 1.75rem; font-weight: 700; color: var(--gold); margin-bottom: 20px; }
.price:empty::before { content: attr(data-empty); font-size: 1.05rem; font-weight: 500; color: var(--muted); }
.buy-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--cream); border-radius: 999px; overflow: hidden; }
.qty button {
  width: 46px; height: 46px; border: 0; background: transparent; color: var(--cream);
  font-size: 1.4rem; cursor: pointer;
}
.qty button:hover { background: rgba(255, 244, 226, 0.12); }
.qty output { min-width: 36px; text-align: center; font-weight: 700; }

/* ---------- Story ---------- */
.story { background: var(--red); color: var(--cream); }
.story-inner { max-width: 720px; }
.story h2 { color: var(--cream); }
.story h2 span { color: var(--gold); }
.story .eyebrow { color: var(--cream); }
.story p { font-size: 1.15rem; }
.story h2 + p { margin-top: 24px; }

/* ---------- Signup ---------- */
.signup { text-align: center; }
.signup > p { color: var(--muted); }
.signup form {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px;
}
.signup input {
  flex: 1 1 260px; max-width: 380px; min-height: 48px; padding: 0 20px;
  border-radius: 999px; border: 2px solid var(--cream); background: transparent; color: var(--cream);
  font: 400 1rem var(--body);
}
.signup input::placeholder { color: rgba(255, 244, 226, 0.6); }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .lede { margin-inline: auto; }
  .cta-row { justify-content: center; }
  .hero-art { max-width: 420px; margin: 0 auto; width: 100%; }
  .product { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .wordmark { font-size: 1.4rem; }
  .site-header nav a:not(:last-child) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .burst, .ticker-track { animation: none; }
  .btn { transition: none; }
}
