/* Juzt Homemade — single stylesheet. Mobile-first. */

/* ---------- Design tokens ---------- */
:root {
  --cream: #fdf7ee;
  --cream-deep: #f6e9d8;
  --card: #fffdf9;
  --ink: #2e1b12;
  --ink-soft: #6b4f3f;
  --ink-faint: #9a8271;
  --maroon: #7a2e1e;
  --saffron: #e0872b;
  --saffron-dark: #c26f1c;
  --gold: #c79a3c;
  --leaf: #4f7a48;
  --line: #e8d9c4;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(46, 27, 18, .06), 0 8px 24px rgba(46, 27, 18, .07);
  --shadow-lift: 0 2px 4px rgba(46, 27, 18, .07), 0 16px 40px rgba(46, 27, 18, .12);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --wrap: 1120px;
  --gutter: 20px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
  color: var(--maroon);
}

h1 { font-size: clamp(2rem, 7vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 5vw, 2.3rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }
a { color: var(--maroon); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: 56px; }
.section--tint { background: var(--cream-deep); }

.section-head { max-width: 620px; margin-bottom: 32px; }
.section-head p { color: var(--ink-soft); margin-bottom: 0; }

.eyebrow {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--saffron-dark);
  margin-bottom: .8em;
}

.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;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--wa { background: #25d366; color: #05331a; box-shadow: 0 6px 18px rgba(37, 211, 102, .32); }
.btn--wa:hover { background: #1fbe5c; }

.btn--primary { background: var(--maroon); color: #fff8f0; }
.btn--primary:hover { background: #61220f; }

.btn--ghost { background: transparent; color: var(--maroon); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--maroon); }

.btn--disabled {
  background: transparent;
  color: var(--ink-faint);
  border: 1px dashed var(--line);
  cursor: not-allowed;
  box-shadow: none;
}
.btn--disabled:hover { transform: none; }

.btn--block { width: 100%; }

.wa-icon { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }

/* ---------- Announcement ---------- */
.announce {
  background: var(--maroon);
  color: #f7e6d5;
  font-size: .82rem;
  text-align: center;
  padding: 9px var(--gutter);
  letter-spacing: .01em;
}
.announce span { opacity: .55; padding-inline: .5em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(253, 247, 238, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 66px;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: .12em;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--maroon);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.logo .z {
  color: var(--saffron);
  font-size: 1.12em;
  font-weight: 700;
  display: inline-block;
  transform: rotate(-7deg);
}
.logo .word-2 { margin-left: .3em; font-weight: 400; color: var(--ink-soft); font-size: .92em; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-size: .88rem;
  color: var(--ink);
  cursor: pointer;
}

.site-nav { display: none; }
.site-nav.is-open {
  display: block;
  padding-bottom: 18px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.site-nav a {
  display: block;
  padding: 10px 4px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  border-radius: 8px;
}
.site-nav a:hover { color: var(--maroon); }
.site-nav a[aria-current="page"] { color: var(--maroon); font-weight: 600; }
.nav-cta { margin-top: 12px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: 48px 56px;
  background:
    radial-gradient(120% 90% at 85% 0%, #fbe7c8 0%, rgba(251, 231, 200, 0) 55%),
    radial-gradient(90% 70% at 0% 100%, #f7e3d2 0%, rgba(247, 227, 210, 0) 60%),
    var(--cream);
  overflow: hidden;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px 6px 8px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--leaf);
  box-shadow: 0 0 0 3px rgba(79, 122, 72, .18);
  margin-left: 5px;
}
.hero h1 { margin-bottom: .35em; }
.hero h1 .accent { color: var(--saffron); font-style: italic; }
/* Fraunces' italic ampersand is a swash that reads as a stray glyph,
   so the "&" is set upright in the body face instead. */
.hero h1 .amp {
  font-style: normal;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .62em;
  vertical-align: .06em;
}
.hero-lede {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 18px; font-size: .84rem; color: var(--ink-faint); }

/* ---------- Trust strip ---------- */
.trust {
  border-block: 1px solid var(--line);
  background: var(--card);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  margin-inline: calc(var(--gutter) * -1);
}
.trust-item {
  background: var(--card);
  padding: 20px var(--gutter);
  text-align: center;
}
.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--maroon);
  margin-bottom: 2px;
}
.trust-item span { font-size: .8rem; color: var(--ink-soft); }

/* ---------- Product cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }

/* Product photo. height:auto is load-bearing — without it the <img>'s
   height attribute wins over aspect-ratio and the picture goes portrait. */
.photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

/* Cards with a chocolate variant stack both photos and cross-fade between them. */
.variant-media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-bottom: 1px solid var(--line);
  background: var(--cream-deep);
}
.variant-media .photo {
  position: absolute;
  inset: 0;
  height: 100%;
  border-bottom: 0;
  opacity: 0;
  transition: opacity .35s ease;
}
.variant-media .photo.is-active { opacity: 1; }

.variant-switch {
  display: inline-flex;
  gap: 4px;
  padding: 3px;
  margin-bottom: 14px;
  background: var(--cream-deep);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.vs-btn {
  border: 0;
  background: transparent;
  font: inherit;
  font-size: .78rem;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}
.vs-btn:hover { color: var(--maroon); }
.vs-btn.is-on { background: var(--maroon); color: #fff6ec; }
.vs-btn.is-on:hover { color: #fff6ec; }

/* Placeholder styling, for cards that have no photograph yet. */
div.photo {
  position: relative;
  background:
    repeating-linear-gradient(45deg, #f3e4cf 0 12px, #efdcc3 12px 24px);
  display: grid;
  place-items: center;
}
div.photo::after {
  content: "Photo coming soon";
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #b09272;
  background: rgba(255, 253, 249, .82);
  padding: 6px 12px;
  border-radius: 999px;
}

.product-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { margin-bottom: .3em; }
.product-desc { font-size: .92rem; color: var(--ink-soft); flex: 1; margin-bottom: 14px; }

.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tag {
  font-size: .72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--cream-deep);
  color: var(--ink-soft);
}
.tag--choc { background: #4a2c1c; color: #f0d9c2; }
.tag--pack { background: rgba(79, 122, 72, .14); color: #3d6337; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px 20px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -14px;
  left: 20px;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--saffron);
  color: #3a1e08;
  font-weight: 700;
  font-size: .9rem;
}
.step h3 { margin-bottom: .25em; }
.step p { font-size: .9rem; color: var(--ink-soft); margin: 0; }

/* ---------- Story ---------- */
.story-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow);
}
.story-card blockquote {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.45;
  color: var(--maroon);
}

/* ---------- Channels ---------- */
.channel-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.channel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
}
.channel h3 { margin-bottom: .3em; }
.channel p { font-size: .9rem; color: var(--ink-soft); }
.channel--soon { border-style: dashed; background: transparent; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #e7d5c3;
  padding-block: 44px 28px;
  margin-top: 8px;
}
.site-footer h3 { color: #fbe9d6; font-size: 1rem; margin-bottom: .6em; }
.site-footer a { color: #f0c98f; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a { display: block; padding: 5px 0; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-brand p { font-size: .9rem; color: #b79c86; max-width: 34ch; }
.footer-brand .logo { color: #fbe9d6; }
.footer-brand .logo .word-2 { color: #b79c86; }

/* FSSAI block — edit the values in assets/js/site.js */
.fssai {
  border: 1px solid rgba(240, 201, 143, .28);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(255, 255, 255, .04);
  font-size: .86rem;
}
.fssai dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; }
.fssai dt { color: #b79c86; }
.fssai dd { margin: 0; color: #f3e2d0; }
.pending { font-style: italic; color: var(--ink-faint); }
.fssai .pending, .site-footer .pending { color: #f0c98f; }

.footer-base {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(240, 201, 143, .16);
  font-size: .8rem;
  color: #9c8270;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: space-between;
}

/* ---------- Sticky mobile order bar ---------- */
.order-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(253, 247, 238, .95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
body { padding-bottom: 76px; }

/* ============================================================
   ORDER LIST — builds a WhatsApp message, stores nothing anywhere
   ============================================================ */

.add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  width: 100%;
  padding: 13px 22px;
  border: 1px solid var(--maroon);
  border-radius: 999px;
  background: var(--maroon);
  color: #fff8f0;
  font: inherit;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: background-color .15s ease, transform .15s ease;
}
.add-btn:hover { background: #61220f; transform: translateY(-1px); }
.add-btn.is-added { background: var(--leaf); border-color: var(--leaf); color: #f2fbf1; }

.qty-row { display: flex; align-items: center; gap: 10px; }
.qty-row .add-btn { width: auto; flex: 1; }
.stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
}
.stepper button {
  width: 34px; height: 34px;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--maroon);
  cursor: pointer;
  border-radius: 50%;
}
.stepper button:hover { background: var(--cream-deep); }
.stepper .count { min-width: 26px; text-align: center; font-weight: 600; font-size: .9rem; }

.pack-select {
  width: 100%;
  margin-bottom: 12px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  font: inherit;
  font-size: .88rem;
  color: var(--ink);
}

.price-line { font-weight: 600; color: var(--maroon); margin-bottom: 10px; font-size: .95rem; }
.price-line .ask { font-weight: 500; color: var(--ink-faint); font-size: .86rem; }

/* Sticky bar */
.order-bar .bar-inner { display: flex; align-items: center; gap: 12px; }
.order-bar .bar-count { font-size: .86rem; color: var(--ink-soft); flex: 1; }
.order-bar .bar-count strong { color: var(--maroon); }

/* Drawer */
.drawer-scrim {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(46, 27, 18, .45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.drawer-scrim.is-open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed;
  z-index: 61;
  right: 0; top: 0; bottom: 0;
  width: min(430px, 100%);
  background: var(--cream);
  border-left: 1px solid var(--line);
  box-shadow: -12px 0 40px rgba(46, 27, 18, .18);
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.2, .7, .3, 1);
  display: flex;
  flex-direction: column;
}
.drawer.is-open { transform: none; }

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.drawer-head h2 { margin: 0; font-size: 1.25rem; }
.drawer-close {
  border: 0; background: transparent; cursor: pointer;
  font-size: 1.6rem; line-height: 1; color: var(--ink-soft); padding: 4px 8px;
}
.drawer-body { flex: 1; overflow-y: auto; padding: 20px; }
.drawer-foot { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--card); }

.line-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
}
.line-item .li-main { flex: 1; }
.line-item h3 { font-size: .98rem; margin: 0 0 2px; color: var(--ink); font-family: var(--font-body); font-weight: 600; }
.line-item .li-meta { font-size: .8rem; color: var(--ink-faint); margin: 0 0 8px; }
.line-item .li-price { font-size: .85rem; color: var(--maroon); font-weight: 600; }
.li-remove { border: 0; background: none; color: var(--ink-faint); font-size: .78rem; cursor: pointer; text-decoration: underline; padding: 0; margin-top: 6px; }
.li-remove:hover { color: var(--maroon); }

.order-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--maroon);
}
.order-total .note { font-family: var(--font-body); font-size: .78rem; color: var(--ink-faint); font-weight: 400; }

.drawer-empty { text-align: center; color: var(--ink-soft); padding: 40px 10px; font-size: .94rem; }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 5px; color: var(--ink); }
.field .req { color: var(--saffron-dark); }
.field input, .field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  font: inherit;
  font-size: .92rem;
  color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--saffron); outline-offset: 1px; border-color: var(--saffron); }
.field textarea { min-height: 74px; resize: vertical; }
.field .hint { font-size: .76rem; color: var(--ink-faint); margin-top: 4px; }
.field.has-error input, .field.has-error textarea { border-color: #b3402a; }
.field .err { display: none; font-size: .78rem; color: #b3402a; margin-top: 4px; }
.field.has-error .err { display: block; }

.optin { display: flex; gap: 9px; align-items: flex-start; font-size: .82rem; color: var(--ink-soft); margin-bottom: 6px; }
.optin input { margin-top: 2px; flex: none; width: auto; }

.privacy-note { font-size: .76rem; color: var(--ink-faint); margin: 10px 0 0; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 90px;
  transform: translate(-50%, 12px);
  z-index: 70;
  background: var(--ink);
  color: #f7e6d5;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .channel-grid { grid-template-columns: repeat(2, 1fr); }
  .story-card { padding: 40px; }
}

@media (min-width: 900px) {
  .section { padding-block: 80px; }
  .hero { padding-block: 76px 88px; }
  .hero-inner { max-width: 720px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.4fr; gap: 40px; }

  .nav-toggle { display: none; }
  .site-nav { display: block; }
  .site-nav ul { flex-direction: row; align-items: center; gap: 4px; }
  .site-nav a { padding: 8px 14px; }
  .site-nav.is-open { border-top: 0; padding: 0; }
  .nav-cta { margin-top: 0; margin-left: 10px; }

  .order-bar { display: none; }
  body { padding-bottom: 0; }
}

/* ============================================================
   MOTION — scroll reveals, drifting laddoos, rolling laddoo
   All of it switches off under prefers-reduced-motion (bottom).
   ============================================================ */

/* Reveal-on-scroll. Only armed when JS is running, so the page
   still shows everything if the script fails to load. */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .75s cubic-bezier(.2, .7, .3, 1),
              transform .75s cubic-bezier(.2, .7, .3, 1);
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal--left  { transform: translateX(-28px); }
.js .reveal--right { transform: translateX(28px); }
.js .reveal--zoom  { transform: scale(.94); }
.js .reveal--left.is-in,
.js .reveal--right.is-in,
.js .reveal--zoom.is-in { transform: none; }

/* The .is-in rule above outranks the cards' own :hover, so restore the lift. */
.js .product-card.reveal.is-in:hover,
.js .post-card.reveal.is-in:hover { transform: translateY(-3px); }

/* Hero decoration — drifting laddoo shapes */
/* Keeps the hero copy above the drifting laddoos, which are absolutely
   positioned and would otherwise paint over the headline. */
.hero-inner { position: relative; z-index: 1; }

.hero-decor { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.blob {
  position: absolute;
  border-radius: 50%;
  background:
    radial-gradient(circle at 24% 34%, rgba(112, 56, 8, .30) 0 2px, transparent 3px),
    radial-gradient(circle at 63% 21%, rgba(112, 56, 8, .24) 0 2px, transparent 3px),
    radial-gradient(circle at 47% 69%, rgba(112, 56, 8, .26) 0 2px, transparent 3px),
    radial-gradient(circle at 77% 57%, rgba(112, 56, 8, .22) 0 2px, transparent 3px),
    radial-gradient(circle at 32% 28%, #f0b866, #d3873a 62%, #b96f27);
  box-shadow: inset -6px -8px 16px rgba(120, 66, 16, .35);
  opacity: .5;
  animation: drift 14s ease-in-out infinite;
}
.blob::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.5), transparent 55%);
}
.blob--1 { width: 78px;  height: 78px;  top: 14%; right: 6%;  animation-delay: -2s; }
.blob--2 { width: 44px;  height: 44px;  top: 48%; right: 20%; animation-delay: -6s; opacity: .36; }
.blob--3 { width: 120px; height: 120px; bottom: -38px; right: 30%; animation-delay: -9s; opacity: .28; }
.blob--4 { width: 30px;  height: 30px;  top: 68%; right: 13%; animation-delay: -4s; opacity: .32; }

@keyframes drift {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  50%      { translate: -30px -38px; rotate: 8deg; }
}

/* Ingredient ticker */
.ticker {
  overflow: hidden;
  background: var(--maroon);
  color: #f6dcc2;
  padding-block: 12px;
  border-block: 1px solid rgba(255,255,255,.08);
}
.ticker-track { display: flex; width: max-content; animation: ticker 34s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* Two identical groups, each forced to at least one screen wide, so the
   -50% shift lands the second group exactly where the first began. Without
   min-width the track can be narrower than the screen and a gap opens up. */
.ticker-group {
  display: flex;
  align-items: center;
  justify-content: space-around;
  min-width: 100vw;
  flex: none;
}
.ticker span {
  font-family: var(--font-display);
  font-size: 1.02rem;
  padding-inline: 22px;
  white-space: nowrap;
  opacity: .9;
}
.ticker span::after { content: "\2022"; margin-left: 22px; opacity: .4; }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Rolling laddoo divider — driven by --p (0 to 1), set from JS */
.roller {
  position: relative;
  height: 84px;
  background: var(--cream-deep);
  border-block: 1px solid var(--line);
  overflow: hidden;
}
.roller-line { position: absolute; left: 0; right: 0; bottom: 26px; border-bottom: 2px dashed rgba(122, 46, 30, .18); }
.roller-ball {
  position: absolute;
  bottom: 26px;
  left: 20px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #edb367, #cf8536 60%, #a8621f);
  box-shadow: inset -5px -6px 12px rgba(110, 58, 12, .45), 0 4px 10px rgba(46,27,18,.22);
  translate: calc(var(--p, 0) * (100vw - 126px)) 0;
  rotate: calc(var(--p, 0) * 1080deg);
}
.roller-ball::before,
.roller-ball::after { content: ""; position: absolute; background: rgba(88, 44, 8, .5); border-radius: 50%; }
.roller-ball::before { width: 5px; height: 5px; top: 30%; left: 26%; }
.roller-ball::after  { width: 4px; height: 4px; top: 58%; left: 58%; }

/* ============================================================
   LONG-FORM PAGES — story, journal, catalogue
   ============================================================ */

.page-hero {
  padding-block: 52px 44px;
  background:
    radial-gradient(110% 80% at 80% 0%, #fae5c6 0%, rgba(250,229,198,0) 58%),
    var(--cream);
  border-bottom: 1px solid var(--line);
}
.page-hero .lede { font-size: 1.08rem; color: var(--ink-soft); max-width: 54ch; margin-bottom: 0; }

.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.5em; color: var(--ink); }
.prose p, .prose li { color: var(--ink-soft); }
.prose strong { color: var(--ink); }
.prose ul { padding-left: 1.1em; }
.prose li { margin-bottom: .5em; }
.prose > p:first-of-type { font-size: 1.1rem; color: var(--ink); }

.pull {
  margin: 34px 0;
  padding: 22px 26px;
  border-left: 3px solid var(--saffron);
  background: var(--card);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display);
  font-size: 1.18rem;
  line-height: 1.5;
  color: var(--maroon);
}

.note {
  margin-top: 34px;
  padding: 16px 18px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  font-size: .88rem;
  color: var(--ink-soft);
  background: rgba(255,255,255,.5);
}
.note strong { color: var(--maroon); }

/* Timeline */
.timeline { position: relative; margin: 0; padding: 0 0 0 30px; list-style: none; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--saffron), var(--line));
}
.timeline li { position: relative; margin-bottom: 30px; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -30px; top: 7px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--saffron);
  box-shadow: 0 0 0 4px var(--cream);
}
.timeline .when {
  display: block;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--saffron-dark);
  margin-bottom: 4px;
}
.timeline h3 { margin-bottom: .25em; font-size: 1.08rem; margin-top: 0; }
.timeline p { font-size: .93rem; color: var(--ink-soft); margin: 0; }

/* Two grandmothers */
.duo { display: grid; grid-template-columns: 1fr; gap: 20px; }
.duo-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  box-shadow: var(--shadow);
}
.duo-card .who { font-family: var(--font-display); font-size: 1.5rem; color: var(--maroon); margin-bottom: .1em; }
.duo-card .where {
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--saffron-dark);
  margin-bottom: 1em;
}
.duo-card p { font-size: .94rem; color: var(--ink-soft); }
.duo-card p:last-child { margin-bottom: 0; }

/* Journal cards */
.post-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.post-meta {
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--saffron-dark);
  margin-bottom: .7em;
}
.post-card h3 { margin-bottom: .35em; }
.post-card p { font-size: .93rem; color: var(--ink-soft); flex: 1; margin-bottom: 1em; }
.post-more { font-weight: 600; font-size: .9rem; color: var(--maroon); }

/* Catalogue extras */
.variant-note {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: #4a2c1c;
  color: #f0d9c2;
  font-size: .84rem;
  display: flex;
  align-items: center;
  gap: 12px;
}
.variant-note strong { color: #fff; }
.variant-thumb {
  width: 58px;
  height: 58px;
  flex: none;
  border-radius: 10px;
  object-fit: cover;
}

.spec { list-style: none; margin: 0 0 14px; padding: 0; font-size: .86rem; }
.spec li { display: flex; gap: 8px; padding: 5px 0; border-bottom: 1px dashed var(--line); color: var(--ink-soft); }
.spec li:last-child { border-bottom: 0; }
.spec b { color: var(--ink); font-weight: 600; min-width: 88px; }

@media (min-width: 640px) {
  .duo { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .page-hero { padding-block: 76px 62px; }
  .post-grid { grid-template-columns: repeat(3, 1fr); }
  .prose { font-size: 1.02rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .blob, .ticker-track { animation: none !important; }
  .roller-ball { translate: 0 0 !important; rotate: 0deg !important; }
}

/* The order bar is normally mobile-only, but once there are items in the
   order it needs to be reachable on desktop too. */
@media (min-width: 900px) {
  .order-bar.has-items { display: block; }
}
body.has-order { padding-bottom: 84px; }
