/* ============================================================
   HEAT & SOUL — Carolina Reaper chilli salt
   v3 · "Sunset to smoke": smoke opening on the salt and the jars,
   bone daylight for the facts, a sunset-into-dusk band for the
   plate, and smoke again for the reviews and the list.
   ============================================================ */

:root {
  /* Grounds */
  --bone:      #F4ECE7;
  --bone-2:    #EBDFD6;
  --sunset:    #E5A79C;   /* the pink of the evening sky */
  --sunset-2:  #F1CFC6;
  --amber:     #E6A468;   /* the colour of the salt */
  --amber-2:   #F2C48F;
  --dusk:      #3A2320;
  --dusk-2:    #4A2E29;
  --smoke:     #17110F;
  --smoke-2:   #221917;
  --smoke-3:   #2C211E;

  /* Accents: Reaper on light grounds, Ember on dark grounds */
  --reaper:    #C1272D;
  --ember:     #E8622A;
  --ember-2:   #F08A5A;
  --ember-btn: #C94E1A;   /* deep enough for white text */

  /* Ink */
  --ink:       #1B1516;
  --ink-2:     #4A3D3A;

  --maxw: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);

  --font-display: "Bricolage Grotesque", "Arial Narrow", Arial, sans-serif;
  --font-body: "Newsreader", Georgia, "Times New Roman", serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}

/* Each section declares which world it is in. Components read these. */
.light { --fg: var(--ink); --fg-2: var(--ink-2); --fg-muted: #6E5C57; --rule: rgba(27,21,22,.14); --accent: var(--reaper); --btn: var(--reaper); --accent-ink: #fff; --field: rgba(255,255,255,.55); }
.dark  { --fg: var(--bone); --fg-2: #E4D8D0; --fg-muted: #B5A49C; --rule: rgba(244,236,231,.14); --accent: var(--ember); --btn: var(--ember-btn); --accent-ink: #fff; --field: rgba(0,0,0,.35); }

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  font-family: var(--font-body);
  font-size: 1.06rem;
  line-height: 1.6;
  background: var(--smoke);
  color: var(--bone);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 96;
  font-weight: 800;
  line-height: .96;
  letter-spacing: -.03em;
  text-wrap: balance;
  color: var(--fg);
}
h1 { font-size: clamp(3rem, 8vw, 6.4rem); }
h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -.02em; }
h4 { font-size: 1.05rem; font-variation-settings: "opsz" 24; letter-spacing: -.01em; }
p { color: var(--fg-2); }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
section { color: var(--fg); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2.5rem); }

/* ---------- shared bits ---------- */
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.eyebrow {
  font-family: var(--font-display); font-variation-settings: "opsz" 24; font-size: .8rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 1.1rem;
}
.lede { font-size: 1.22rem; line-height: 1.5; max-width: 34em; color: var(--fg-2); }
.lede em { font-style: italic; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 500; padding: .8rem 1rem; background: var(--reaper); color: #fff; font-family: var(--font-display); font-weight: 700; }
.skip:focus { left: 1rem; top: 1rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-display); font-variation-settings: "opsz" 24; font-weight: 700; font-size: 1rem;
  letter-spacing: -.005em; padding: .95rem 1.6rem; border-radius: 6px; border: 1.5px solid transparent;
  cursor: pointer; white-space: nowrap; color: var(--fg);
  transition: transform .25s var(--ease), background .25s, border-color .25s, color .25s;
}
.btn--primary { background: var(--btn); color: var(--accent-ink); }
.btn--primary:hover { transform: translateY(-2px); }
.btn--ghost { background: transparent; border-color: var(--rule); color: var(--fg); }
.btn--ghost:hover { border-color: var(--fg); transform: translateY(-2px); }
.btn--block { width: 100%; }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.link-arrow { font-family: var(--font-display); font-variation-settings: "opsz" 24; font-size: .92rem; font-weight: 700; letter-spacing: .02em; color: var(--accent); border-bottom: 1.5px solid transparent; transition: border-color .2s; }
.link-arrow:hover { border-color: var(--accent); }

.section-head { max-width: 780px; margin-bottom: 2.4rem; }
.section-head p { margin-top: 1.1rem; }

/* ---------- NAV ---------- */
.nav {
  --accent: var(--ember); /* header sits outside .light/.dark, so give focus rings a colour */
  position: fixed; inset: 0 0 auto 0; z-index: 100; color: var(--bone);
  transition: background .35s var(--ease), border-color .35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(23,17,15,.9); backdrop-filter: blur(12px); border-bottom-color: rgba(244,236,231,.1); }
.nav__announce {
  text-align: center; font-family: var(--font-mono); font-size: .74rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: #fff; padding: .5rem 1rem; background: var(--reaper);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.announce__short { display: none; }
.nav__inner { max-width: var(--maxw); margin: 0 auto; padding: .8rem clamp(1.1rem, 4vw, 2.5rem); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .55rem; }
.brand__mark img { width: auto; height: 32px; display: block; }
.brand__type { font-family: var(--font-display); font-variation-settings: "opsz" 48; font-weight: 800; font-size: 1.35rem; letter-spacing: -.03em; }
.nav__links { display: flex; align-items: center; gap: 1.6rem; }
.nav__links a { font-family: var(--font-display); font-variation-settings: "opsz" 24; font-size: .88rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; opacity: .85; transition: opacity .2s, color .2s; }
.nav__links a:hover { opacity: 1; color: var(--ember-2); }
.nav__links a.nav__shop { opacity: 1; background: var(--ember-btn); color: #fff; padding: .55rem 1.05rem; border-radius: 6px; }
.nav__links a.nav__shop:hover { color: #fff; background: var(--ember); }
.nav__actions { display: flex; align-items: center; gap: .6rem; }
.cart-btn {
  position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 6px;
  background: rgba(244,236,231,.08); color: var(--bone); border: 1px solid rgba(244,236,231,.16); cursor: pointer;
  transition: background .25s;
}
.cart-btn:hover { background: rgba(244,236,231,.16); }
.cart-btn__count {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  background: var(--ember-btn); color: #fff; font-family: var(--font-mono); font-size: .72rem; font-weight: 700;
  display: grid; place-items: center; transform: scale(0); transition: transform .3s var(--ease);
}
.cart-btn__count.show { transform: scale(1); }
.nav__toggle {
  display: none; place-items: center; place-content: center; width: 44px; height: 44px; gap: 5px;
  border-radius: 6px; cursor: pointer; background: rgba(244,236,231,.08); border: 1px solid rgba(244,236,231,.16);
}
.nav__toggle span { width: 18px; height: 2px; background: var(--bone); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.nav.nav-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.nav-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.nav-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- HERO (smoke on the salt) ---------- */
.hero { position: relative; min-height: 88svh; display: grid; align-items: end; overflow: hidden; background: var(--smoke); }
.hero__media { position: absolute; inset: 0; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(23,17,15,.55) 0%, rgba(23,17,15,0) 30%),
    linear-gradient(90deg, rgba(23,17,15,.82) 0%, rgba(23,17,15,.55) 40%, rgba(23,17,15,.05) 75%),
    linear-gradient(0deg, rgba(23,17,15,.85) 0%, rgba(23,17,15,0) 45%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; padding-top: 10rem; padding-bottom: 4rem; }
.hero__inner .eyebrow { color: var(--amber-2); }
.hero__title { max-width: 12ch; }
.hero__title em { font-style: normal; color: var(--sunset); }
.hero__sub { margin: 1.6rem 0 2rem; max-width: 30em; font-size: 1.18rem; line-height: 1.5; color: #E4D8D0; }
.hero__actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero__facts { display: flex; flex-wrap: wrap; gap: .6rem 2rem; margin-top: 2.6rem; font-family: var(--font-display); font-variation-settings: "opsz" 24; font-size: .82rem; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: var(--fg-muted); }
.hero__facts b { color: var(--bone); font-weight: 700; font-family: var(--font-mono); font-size: .8rem; letter-spacing: 0; }

/* ---------- SHOP (smoke, straight after the hero) ---------- */
.shop { background: var(--smoke); padding: 4.5rem 0 4.5rem; }
.shop .section-head { margin-bottom: 2.4rem; }
.shop__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: start; }
.product { position: relative; background: var(--smoke-2); border: 1px solid var(--rule); border-radius: 10px; padding: 1.1rem 1.1rem 1.3rem; transition: transform .3s var(--ease), border-color .3s; }
.product:hover, .product.reveal.in:hover { transform: translateY(-4px); border-color: rgba(232,98,42,.5); }
.product__tag {
  position: absolute; top: 1.7rem; left: 1.7rem; z-index: 3;
  font-family: var(--font-mono); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: .38rem .6rem; border-radius: 4px; background: rgba(23,17,15,.72); color: var(--bone); backdrop-filter: blur(6px);
}
.product__tag--hot { color: var(--ember-2); }
.product__visual { aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; margin-bottom: 1.3rem; background: var(--smoke); }
.product__visual img, .product__visual video { width: 100%; height: 100%; object-fit: cover; }
.product__zoom { position: absolute; right: .7rem; bottom: .7rem; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(244,236,231,.25); background: rgba(23,17,15,.7); color: var(--bone); cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(6px); transition: background .2s, transform .2s; }
.product__zoom svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.product__zoom:hover { background: var(--ember-btn); transform: scale(1.06); }
.product__visual { position: relative; }
.product__name { margin-bottom: .5rem; }
.product__desc { font-size: 1rem; margin-bottom: 1.1rem; min-height: 5.2em; }

/* heat scale: log10 from 1,000 to ~3,000,000 SHU */
.heat { margin: .2rem 0 1.2rem; }
.heat__bar { position: relative; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--sunset-2), var(--amber) 35%, var(--ember) 70%, var(--reaper)); margin: 1.6rem 0 1.5rem; }
.heat__ref { position: absolute; top: 10px; left: var(--x); transform: translateX(-50%); font-family: var(--font-mono); font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; color: var(--fg-muted); white-space: nowrap; }
.heat__ref::before { content: ""; position: absolute; left: 50%; top: -10px; width: 1px; height: 6px; background: var(--fg-muted); }
.heat__mark { position: absolute; top: 50%; left: var(--x); width: 14px; height: 14px; border-radius: 50%; background: var(--bone); border: 3px solid var(--ember); transform: translate(-50%, -50%); box-shadow: 0 0 0 3px var(--smoke-2); }
.heat__val { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .02em; color: var(--fg-muted); }
.heat__val b { color: var(--fg); font-weight: 600; }

.product__buy { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .6rem; }
.product__price { display: flex; align-items: baseline; gap: .5rem; font-family: var(--font-mono); }
.product__amount { font-size: 1.7rem; font-weight: 600; letter-spacing: -.02em; color: var(--fg); }
.product__unit { font-size: .78rem; letter-spacing: .02em; color: var(--fg-muted); }
.add-btn { flex-shrink: 0; }

.trust { list-style: none; display: flex; flex-wrap: wrap; gap: .7rem 2.2rem; margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--rule); font-family: var(--font-display); font-variation-settings: "opsz" 24; font-size: .92rem; font-weight: 500; color: var(--fg-2); }
.trust li { display: flex; align-items: center; gap: .55rem; }
.trust svg { width: 18px; height: 18px; fill: none; stroke: var(--ember); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.shop__guarantee { margin-top: 1.1rem; font-size: .98rem; color: var(--fg-muted); max-width: 70ch; }

/* ---------- IN THE JAR (day) ---------- */
.salt { background: var(--bone); padding: 5rem 0; }
.salt__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: stretch; }
.salt__media { margin: 0; }
.salt__media img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 50%; border-radius: 6px; }
.facts { list-style: none; display: grid; grid-template-rows: repeat(4, 1fr); }
.facts li { padding: 1.3rem 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 2.25rem 1fr; gap: .8rem; align-items: baseline; }
.facts li:last-child { border-bottom: 1px solid var(--rule); }
.facts .n { font-family: var(--font-mono); font-size: .78rem; font-weight: 500; color: var(--accent); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.facts h3 { font-size: clamp(1.25rem, 1rem + .7vw, 1.5rem); font-weight: 700; font-variation-settings: "opsz" 48; line-height: 1.1; letter-spacing: -.015em; margin-bottom: .3rem; }
.facts p { font-size: 1rem; line-height: 1.5; max-width: 52ch; text-wrap: pretty; }
.salt__note { margin-top: 1.4rem; font-size: .9rem; color: var(--fg-muted); max-width: 70ch; }

/* ---------- ON THE PLATE (sunset into dusk) ---------- */
.tasting { background: linear-gradient(180deg, var(--sunset) 0, var(--amber) 120px, #7F4F40 260px, var(--dusk) 330px, var(--dusk) 100%); padding: 5rem 0 4.5rem; }
.tasting .section-head { margin-bottom: 2rem; }
.tasting .section-head .eyebrow { color: var(--dusk); }
.tasting .section-head h2 { color: var(--smoke); }
.tasting .section-head .lede { color: var(--smoke); }
.plate-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem .9rem; }
.plate-grid figure { margin: 0; min-width: 0; }
.plate-grid img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 6px; }
.plate-grid figcaption { margin-top: .5rem; font-size: .95rem; line-height: 1.35; color: var(--fg-muted); }
.plate-grid figcaption b { font-family: var(--font-display); font-variation-settings: "opsz" 24; font-size: .9rem; font-weight: 700; color: var(--bone); }
.plate-grid figcaption i { font-style: italic; }
.plate-cta { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: .9rem; min-width: 0; aspect-ratio: 5 / 4; padding: 1.2rem; border-radius: 6px; border: 1px solid var(--rule); background: rgba(244,236,231,.04); }
.plate-cta p { font-family: var(--font-display); font-variation-settings: "opsz" 24; font-size: 1.05rem; font-weight: 700; line-height: 1.25; color: var(--bone); }
.plate-cta .btn { padding: .7rem 1.1rem; font-size: .92rem; }
.page .plate-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 1rem 0 2rem; }
.page .plate-grid img { aspect-ratio: 4 / 5; }
.page .plate-grid figcaption { color: var(--fg-muted); }

/* ---------- REVIEWS (smoke) ---------- */
.reviews { background: linear-gradient(180deg, var(--dusk) 0, var(--smoke) 220px, var(--smoke) 100%); padding: 4.5rem 0 4.5rem; }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.6rem; }
.review { padding-top: 1.4rem; border-top: 1px solid var(--rule); }
.stars { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .3em; color: var(--ember); margin-bottom: 1rem; }
.review blockquote { font-size: 1.3rem; line-height: 1.4; font-style: italic; color: var(--fg); text-wrap: pretty; }
.review figcaption { margin-top: 1.1rem; font-family: var(--font-display); font-variation-settings: "opsz" 24; font-size: .86rem; font-weight: 500; color: var(--fg-muted); }

/* ---------- HEAT LIST (smoke, ember glow) ---------- */
.cta { position: relative; background: var(--smoke); padding: 2.5rem 0 5rem; overflow: hidden; }
.cta__glow { position: absolute; left: 60%; top: 40%; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(232,98,42,.22), transparent 60%); filter: blur(30px); pointer-events: none; }
.cta__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1.1fr; gap: 3.5rem; align-items: center; }
.cta__media img { width: 100%; height: auto; border-radius: 8px; }
.cta__inner p { margin: 1rem 0 1.8rem; max-width: 34em; }
.cta__form { display: flex; gap: .6rem; max-width: 480px; }
.cta__form input { flex: 1; min-width: 0; padding: .95rem 1.1rem; border-radius: 6px; border: 1px solid var(--rule); background: var(--field); color: var(--fg); font-family: var(--font-mono); font-size: 1rem; }
.cta__form input:focus-visible { border-color: var(--ember); }
.cta__note { margin-top: 1rem; font-family: var(--font-display); font-variation-settings: "opsz" 24; font-size: .92rem; font-weight: 600; color: var(--ember-2); }

/* ---------- FOOTER ---------- */
.footer { background: var(--smoke); border-top: 1px solid var(--rule); padding: 3.5rem 0 2rem; color: var(--bone); }
.footer__inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; }
.footer__brand p { margin-top: .9rem; max-width: 30em; font-size: 1rem; color: var(--fg-muted); }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer__cols h3 { font-family: var(--font-display); font-variation-settings: "opsz" 24; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--amber-2); margin-bottom: .9rem; }
.footer__cols a { display: block; color: var(--fg-muted); font-size: .98rem; padding: .22rem 0; transition: color .2s; }
.footer__cols a:hover { color: var(--bone); }
.footer--slim .footer__base { margin-top: 0; border-top: none; padding-top: 0; }
.footer__base { margin-top: 2.8rem; padding-top: 1.3rem; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .8rem; font-family: var(--font-display); font-variation-settings: "opsz" 24; font-size: .8rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--fg-muted); }

/* ---------- STICKY BUY BAR (phone only) ---------- */
.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; display: none;
  align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 1.1rem;
  padding-bottom: calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(23,17,15,.94); backdrop-filter: blur(12px); border-top: 1px solid rgba(244,236,231,.12); color: var(--bone);
}
.buybar__info { display: flex; flex-direction: column; min-width: 0; }
.buybar__name { font-family: var(--font-display); font-variation-settings: "opsz" 24; font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; }
.buybar__meta { font-family: var(--font-mono); font-size: .76rem; color: var(--fg-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar__add { padding: .75rem 1.2rem; }

/* ---------- CART DRAWER ---------- */
/* While the cart is open: the page behind must not scroll, and the phone buy bar
   must not sit under the checkout row. */
body.drawer-open { overflow: hidden; }
body.drawer-open .buybar { display: none !important; }
.drawer-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.55); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.drawer-overlay.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; z-index: 201; height: 100%; width: min(430px, 94vw);
  background: var(--smoke-2); border-left: 1px solid var(--rule); color: var(--bone);
  transform: translateX(100%); transition: transform .4s var(--ease); display: flex; flex-direction: column;
}
/* Dynamic viewport height: shrinks with the on-screen keyboard and the mobile
   browser's own chrome, so the checkout row stays reachable. */
@supports (height: 100dvh) { .drawer { height: 100dvh; } }
.drawer.open { transform: translateX(0); }
.drawer__head { flex: none; display: flex; align-items: center; justify-content: space-between; padding: 1.4rem 1.5rem; border-bottom: 1px solid var(--rule); }
.drawer__close { width: 44px; height: 44px; margin: -.5rem -.7rem -.5rem 0; display: grid; place-items: center; background: none; border: none; color: var(--bone); font-size: 1.2rem; cursor: pointer; opacity: .7; }
.drawer__close:hover { opacity: 1; }
.drawer__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.drawer__items { padding: 1.4rem 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.drawer__empty { color: var(--fg-muted); text-align: center; margin-top: 2rem; }
.cart-item { display: grid; grid-template-columns: 60px 1fr auto; gap: 1rem; align-items: center; padding-bottom: 1rem; border-bottom: 1px solid var(--rule); }
.cart-item__thumb { width: 60px; height: 75px; border-radius: 4px; object-fit: cover; background: var(--smoke); }
.cart-item__name { font-family: var(--font-display); font-variation-settings: "opsz" 24; font-weight: 700; font-size: 1.05rem; }
.cart-item__meta { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .02em; color: var(--fg-muted); margin-top: .2rem; }
.cart-qty { display: inline-flex; align-items: center; margin-top: .55rem; border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; }
.cart-qty__btn { width: 40px; height: 40px; background: rgba(244,236,231,.05); border: none; color: var(--fg); font-size: 1.05rem; cursor: pointer; transition: background .2s; }
.cart-qty__btn:hover { background: rgba(244,236,231,.14); }
.cart-qty__val { min-width: 34px; text-align: center; font-family: var(--font-mono); font-weight: 600; font-size: .95rem; }
.cart-item__right { text-align: right; }
.cart-item__price { font-family: var(--font-mono); font-weight: 600; }
.cart-item__remove { background: none; border: none; color: var(--fg-muted); font-family: var(--font-display); font-variation-settings: "opsz" 24; font-size: .8rem; font-weight: 500; cursor: pointer; text-decoration: underline; margin-top: .1rem; padding: .55rem 0 .3rem; min-height: 40px; }
.cart-item__remove:hover { color: var(--ember-2); }
.drawer__foot { padding: 1.4rem 1.5rem; border-top: 1px solid var(--rule); }
.ship-calc { margin-bottom: 1.1rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--rule); }
.ship-calc > label { display: block; font-family: var(--font-display); font-variation-settings: "opsz" 24; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: .5rem; }
.ship-calc__row { display: flex; gap: .5rem; }
.ship-calc__row input { flex: 1; min-width: 0; padding: .75rem .9rem; border-radius: 6px; border: 1px solid var(--rule); background: var(--field); color: var(--bone); font-family: var(--font-mono); font-size: 1rem; letter-spacing: .1em; }
.ship-calc__row input:focus-visible { border-color: var(--ember); }
.ship-calc__row .btn { padding: .7rem 1rem; flex-shrink: 0; }
.ship-msg { margin-top: .7rem; font-family: var(--font-display); font-variation-settings: "opsz" 24; font-size: .86rem; font-weight: 500; color: var(--ember-2); }
.ship-options { display: grid; gap: .5rem; margin-top: .9rem; }
.ship-option { display: flex; align-items: center; gap: .7rem; padding: .7rem .9rem; cursor: pointer; border: 1px solid var(--rule); border-radius: 6px; transition: border-color .2s, background .2s; }
.ship-option:has(input:checked) { border-color: var(--ember); background: rgba(232,98,42,.08); }
.ship-option input { accent-color: var(--ember); }
.ship-option__main { display: flex; flex-direction: column; flex: 1; }
.ship-option__name { font-weight: 600; font-size: .95rem; }
.ship-option__eta { font-family: var(--font-mono); font-size: .76rem; color: var(--fg-muted); }
.ship-option__price { font-family: var(--font-mono); font-weight: 600; }
.free-ship { margin-bottom: 1rem; padding: .7rem .9rem; border-radius: 6px; font-family: var(--font-display); font-variation-settings: "opsz" 24; font-size: .88rem; font-weight: 500; background: rgba(244,236,231,.06); border: 1px solid var(--rule); color: var(--fg-2); }
.free-ship--unlocked { background: rgba(232,98,42,.12); border-color: rgba(232,98,42,.4); color: var(--ember-2); }
.drawer__line { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: .9rem; color: var(--fg-2); margin-bottom: .45rem; }
.drawer__line--total { font-size: 1.15rem; font-weight: 600; color: var(--bone); margin: .6rem 0 .2rem; padding-top: .6rem; border-top: 1px solid var(--rule); }
.drawer__hint a { color: var(--ember-2); text-decoration: underline; text-underline-offset: 2px; }
.drawer__hint { margin: 0 0 .55rem; font-family: var(--font-display); font-variation-settings: "opsz" 24; font-size: .88rem; font-weight: 500; color: var(--amber-2); }
.drawer__ship { color: var(--fg-muted); font-size: .82rem; margin-top: .55rem; text-align: center; }
#checkoutBtn { margin-top: 0; }
/* Always visible, whatever the cart holds and however small the screen. */
.drawer__cta { flex: none; padding: 1rem 1.5rem calc(1rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--rule); background: var(--smoke-2); }

/* ---------- zoom ---------- */
.zoom { border: none; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; display: none; place-items: center; }
.zoom[open] { display: grid; }
.zoom::backdrop { background: rgba(14,9,8,.92); }
.zoom img { max-width: min(92vw, 1100px); max-height: 92vh; width: auto; height: auto; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.zoom__close { position: fixed; top: 1rem; right: 1rem; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(244,236,231,.25); background: rgba(23,17,15,.7); color: var(--bone); font-size: 1.1rem; cursor: pointer; }

/* ---------- toast ---------- */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 140%); z-index: 300;
  background: var(--ember-btn); color: #fff; padding: .85rem 1.4rem; border-radius: 6px;
  font-family: var(--font-display); font-variation-settings: "opsz" 24; font-weight: 600; font-size: .92rem;
  /* Hidden by opacity/visibility, not by how far the transform pushes it: the
     bottom offset changes with the buy bar and the drawer. */
  opacity: 0; visibility: hidden;
  transition: transform .4s var(--ease), opacity .3s, visibility .3s;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
body.has-buybar .toast { bottom: 86px; }
body.drawer-open .toast { bottom: 150px; }

/* ---------- reveal (a <noscript> rule forces visible if JS is off) ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ---------- content pages ---------- */
.page-hero { position: relative; height: 52vh; min-height: 360px; overflow: hidden; background: var(--smoke); }
.page-hero img, .page-hero video { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bone) 0%, rgba(244,236,231,0) 45%); }
.page-hero--video, .page-hero--story { height: 40vh; min-height: 300px; }
.page-hero--story img { object-position: 50% 45%; }
.page { background: var(--bone); color: var(--fg); padding: 0 0 6rem; }
.page__inner { max-width: 760px; margin: -6rem auto 0; position: relative; z-index: 2; padding: 0 clamp(1.1rem, 4vw, 2.5rem); }
.page__inner ~ .page__inner { margin-top: 0; }
.page h1 { margin-bottom: 1.4rem; }
.page h2 { font-size: 1.5rem; margin: 2.4rem 0 .7rem; }
.page p, .page li { font-size: 1.08rem; margin-bottom: 1rem; color: var(--fg-2); }
.page ul { padding-left: 1.2rem; }
.page li { margin-bottom: .45rem; }
.page a:not(.btn) { color: var(--accent); border-bottom: 1px solid transparent; }
.page a:not(.btn):hover { border-color: var(--accent); }
.page__back { display: inline-block; margin-top: 2.2rem; }
.page__form { display: grid; gap: 1rem; margin-top: 1.5rem; }
.page__form input, .page__form textarea { padding: .9rem 1.1rem; border-radius: 6px; border: 1px solid var(--rule); background: var(--field); color: var(--ink); font-family: var(--font-body); font-size: 1.05rem; }
.page__form input:focus-visible, .page__form textarea:focus-visible { border-color: var(--reaper); }
.page__form textarea { min-height: 150px; resize: vertical; }
.page .plate-grid figcaption { color: var(--fg-muted); font-size: .84rem; }
.pairgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1rem 0 2rem; }
.pairgrid figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
.pairgrid figcaption { margin-top: .5rem; font-family: var(--font-display); font-variation-settings: "opsz" 24; font-size: .86rem; font-weight: 500; color: var(--fg-muted); }

/* our story page */
.founder-photo { width: 100%; height: auto; border-radius: 8px; }
.page--story { padding-bottom: 4rem; }
.page--story h1 { font-size: clamp(2.6rem, 5.3vw, 4.75rem); margin-bottom: 1rem; }
.story-lede { font-size: 1.35rem; line-height: 1.4; font-weight: 500; color: var(--fg); max-width: 36ch; }
.story-page { display: grid; grid-template-columns: 220px 1fr; gap: 2.4rem; align-items: start; margin-top: 1.8rem; }
.story-page__media figcaption { margin-top: .7rem; font-family: var(--font-display); font-variation-settings: "opsz" 24; font-size: .86rem; font-weight: 500; line-height: 1.4; color: var(--fg-muted); }
.story-page__copy .page__back { margin-top: 1.4rem; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .nav__toggle { display: inline-grid; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; align-items: stretch;
    background: var(--smoke); border-bottom: 1px solid rgba(244,236,231,.1); padding: .5rem 1.4rem 1rem;
    transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav.nav-open .nav__links { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
  .nav__links a { padding: .9rem 0; border-bottom: 1px solid rgba(244,236,231,.08); }
  .nav__links a.nav__shop { margin-top: .6rem; text-align: center; border-bottom: none; }
  .hero { min-height: 92svh; }
  .hero__inner { padding-top: 9rem; padding-bottom: 3rem; }
  .salt__grid, .cta__grid, .footer__inner, .story-page { grid-template-columns: 1fr; }
  .salt__grid { gap: 2.4rem; }
  .salt__media img { aspect-ratio: 1 / 1; height: auto; }
  .facts { grid-template-rows: none; }
  .plate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-page__media { max-width: 320px; }
  .shop__grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .reviews__grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .pairgrid { grid-template-columns: repeat(2, 1fr); }
  .cta__media { max-width: 360px; }
}
@media (max-width: 700px) {
  .buybar { display: flex; }
  body.has-buybar { padding-bottom: 72px; }
}
@media (max-width: 560px) {
  .announce__full { display: none; }
  .announce__short { display: inline; }
  html { scroll-padding-top: 120px; }
  .shop, .salt, .tasting { padding-top: 4rem; padding-bottom: 4rem; }
  /* Keep the light band under the section intro so the lede stays legible;
     the brown-to-dusk change still lands above the first row of photos. */
  .tasting { background: linear-gradient(180deg, var(--sunset) 0, var(--amber) 190px, #7F4F40 400px, var(--dusk) 480px, var(--dusk) 100%); }
  .plate-grid { gap: 1rem .7rem; }
  .plate-grid figcaption { font-size: .88rem; }
  .plate-cta { aspect-ratio: auto; padding: 1rem; }
  .salt__grid { gap: 1.6rem; }
  .salt__media img { aspect-ratio: 4 / 3; }
  .facts li:first-child { border-top: none; padding-top: .4rem; }
  .facts li:last-child { border-bottom: none; }
  .reviews { padding: 3.5rem 0 4rem; }
  .cta { padding: 2rem 0 4.5rem; }
  .section-head { margin-bottom: 2rem; }
  .hero__sub { font-size: 1.05rem; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .cta__form { flex-direction: column; }
  .hero__facts { gap: .5rem 1.2rem; }
  .product__desc { min-height: 0; }
  .page-hero { height: 40vh; min-height: 260px; }
  .page__inner { margin-top: -4rem; }
  .page-hero--video, .page-hero--story { height: 32vh; min-height: 240px; }
  .story-page__media { max-width: none; display: grid; grid-template-columns: 200px 1fr; gap: 1rem; align-items: end; }
  .story-page__media figcaption { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html, * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- form fields (contact) ---------- */
.field { display: block; margin-bottom: 1rem; }
.field__label { display: block; font-family: var(--font-display); font-variation-settings: "opsz" 24; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: .4rem; }
.field input, .field textarea { width: 100%; font-size: 1rem; }
.page__note { margin-top: .8rem; font-family: var(--font-display); font-variation-settings: "opsz" 24; font-size: .92rem; font-weight: 600; color: var(--ember-btn); }
.page__note--error { color: var(--reaper); }


/* ---------- v2 preview: WHY (three benefits) ---------- */
.why { background: var(--smoke); padding: 4.5rem 0; border-top: 1px solid var(--rule); }
.why .section-head { margin-bottom: 2rem; }
.why__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.why__item { margin: 0; }
.why__item img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 6px; background: var(--smoke-2); }
.why__item h3 { margin: 1.1rem 0 .45rem; font-size: clamp(1.25rem, 1rem + .7vw, 1.5rem); line-height: 1.1; letter-spacing: -.015em; text-wrap: balance; }
.why__item p { font-size: 1rem; line-height: 1.5; color: var(--fg-2); text-wrap: pretty; max-width: 40ch; }

/* ---------- v2 preview: heat bar, dose scale ---------- */
.heat__ref--end { transform: translateX(-85%); }
.heat__ref--end::before { left: 85%; }

/* ---------- v2 preview: FAQ (the one light band) ---------- */
.faq { background: var(--bone); padding: 4.5rem 0; }
.faq .section-head { margin-bottom: 1.4rem; }
.faq__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 3rem; align-items: start; max-width: 1040px; }
.faq__col { border-bottom: 1px solid var(--rule); }
.faq details { border-top: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1rem 0; min-height: 44px;
  font-family: var(--font-display); font-variation-settings: "opsz" 32; font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; color: var(--fg);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px; color: var(--accent);
  background: linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat;
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }
.faq__a { padding: 0 2rem 1.15rem 0; max-width: 62ch; }
.faq__a p { font-size: 1rem; line-height: 1.55; color: var(--fg-2); margin: 0; text-wrap: pretty; }
.faq__a a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.faq details[open] .faq__a { animation: faqIn .2s var(--ease) both; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- v2 preview: HEAT LIST (compact band, secondary action) ---------- */
.heatlist { background: var(--smoke-2); padding: 3rem 0; border-top: 1px solid var(--rule); }
.heatlist__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.5rem; align-items: center; }
.heatlist h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem); margin: 0 0 .5rem; }
.heatlist p { margin: 0; color: var(--fg-2); max-width: 40ch; text-wrap: pretty; }
.heatlist .cta__form { max-width: none; }
.heatlist .cta__form .btn { white-space: nowrap; }
@media (max-width: 960px) {
  .heatlist { padding: 2.5rem 0; }
  .heatlist__inner { grid-template-columns: 1fr; gap: 1.4rem; }
}

/* ---------- v2 preview: CLOSER (back to the jars) ---------- */
.closer { background: var(--smoke); padding: 3.25rem 0 3.75rem; }
.closer__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; flex-wrap: wrap; }
.closer h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0; }
.closer p { margin: .35rem 0 0; color: var(--fg-2); }

@media (max-width: 960px) {
  .faq__list { grid-template-columns: 1fr; max-width: 780px; }
  .faq__col:first-child { border-bottom: 0; }
  .why__item h3 br { display: none; }
  .why__grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .why__item { display: grid; grid-template-columns: clamp(120px, 34vw, 170px) 1fr; gap: 1.1rem; align-items: start; }
  .why__item img { aspect-ratio: 4 / 5; }
  .why__item h3 { margin-top: 0; }
}
@media (max-width: 560px) {
  .why, .faq { padding: 3.5rem 0; }
  .why__item h3 { font-size: 1.15rem; }
  .why__item p { font-size: .95rem; }
  .faq summary { font-size: 1.05rem; }
  .closer { padding: 2.75rem 0 3rem; }
  .closer .btn { width: 100%; }
}
