/* ==========================================================================
   Pure Bites, version two.
   Black pouch, lime label, cream lettering. Instrument Serif for display,
   Manrope for reading, Allura only for the "Bites" signature.
   ========================================================================== */

:root {
  --ink: #12110e;
  --ink-2: #1c1a16;
  --ink-3: #262320;
  --lime: #a4c13b;
  --lime-2: #c2d96a;
  --lime-deep: #6f8a1f;
  --olive: #2b3a1c;
  --cream: #f4eee0;
  --cream-2: #ebe2cc;
  --paper: #faf6ec;
  --text: #1d1b16;
  --text-2: #4e483c;
  --muted: #8a8272;
  --rule: #e2d9c4;
  --rule-d: rgba(244, 238, 224, 0.14);

  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --script: "Allura", "Snell Roundhand", cursive;

  --wrap: 1240px;
  --g: 20px;
  --r: 28px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 768px) { :root { --g: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: var(--sans); font-size: 16px; line-height: 1.65; font-weight: 450;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--lime); color: var(--ink); }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1; margin: 0 0 .4em; letter-spacing: -0.015em; }
h1 em, h2 em, h3 em, .manifesto em, .cta h2 em { font-style: italic; }
h2 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); }
h3 { font-size: 1.7rem; line-height: 1.1; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--g); }
.section { padding: 100px 0; }
@media (min-width: 900px) { .section { padding: 150px 0; } }

.label {
  display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--lime-deep); margin-bottom: 22px;
}
.body-lg { font-size: 1.12rem; color: var(--text-2); max-width: 46ch; }
.fine { font-size: .8rem; color: var(--muted); margin-top: 30px; max-width: 86ch; }
.sec-head { margin-bottom: 60px; }
.sec-head.center { text-align: center; }
.sec-head.center .body-lg { margin: 0 auto; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: 8px; z-index: 300; }
.skip:focus { top: 12px; }

/* scroll reveal: only hidden when JS is running, so nothing is lost without it */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 17px 30px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: .92rem; letter-spacing: .01em; text-decoration: none; line-height: 1;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: var(--lime-2); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: var(--olive); }
.btn-ghost { border-color: currentColor; background: transparent; }
.btn-ghost:hover { background: rgba(244,238,224,.08); }
.btn-line { border-color: currentColor; background: transparent; }
.btn-wa { background: #1f8a4c; color: #fff; }
.btn-wa:hover { background: #18703d; }
.btn-block { width: 100%; }

/* ---------------------------------------------------------------- header */
.header { position: sticky; top: 0; z-index: 100; background: rgba(18,17,14,.86); color: var(--cream);
  backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid var(--rule-d); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 44px; height: 44px; flex-shrink: 0; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word .pure { font-size: .66rem; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; opacity: .75; }
.brand-word .bites { font-family: var(--script); font-size: 2.1rem; margin-top: -2px; }
.nav { display: none; gap: 36px; }
.nav a { text-decoration: none; font-size: .86rem; font-weight: 600; opacity: .78; transition: opacity .2s; }
.nav a:hover { opacity: 1; color: var(--lime); }
@media (min-width: 980px) { .nav { display: flex; } }
.header-cta { display: flex; align-items: center; gap: 18px; }
.link-shop { font-size: .86rem; font-weight: 700; text-decoration: none; display: none; }
@media (min-width: 560px) { .link-shop { display: inline; } }
.bag-btn { position: relative; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--rule-d);
  background: transparent; color: var(--cream); display: grid; place-items: center; }
.bag-btn:hover { border-color: var(--lime); }
.bag-btn svg { width: 21px; height: 21px; }
.bag-count { position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  background: var(--lime); color: var(--ink); font-size: .7rem; font-weight: 800; display: grid; place-items: center; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; background: var(--ink); color: var(--cream); overflow: hidden; padding: 60px 0 0; }
@media (min-width: 900px) { .hero { padding-top: 90px; } }
.hero-grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .35 0'/></filter><rect width='180' height='180' filter='url(%23n)'/></svg>");
}
.hero-inner { position: relative; display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .hero-inner { grid-template-columns: 1.08fr .92fr; gap: 40px; } }
.kicker { display: inline-flex; align-items: center; gap: 12px; font-size: .74rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: rgba(244,238,224,.7); margin-bottom: 30px; }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 6px rgba(164,193,59,.18); }
.hero h1 { font-size: clamp(3.4rem, 8.6vw, 7.4rem); line-height: .92; letter-spacing: -0.025em; margin-bottom: 30px; }
.hero h1 em { color: var(--lime); }
.hero-lede { font-size: 1.14rem; color: rgba(244,238,224,.74); max-width: 44ch; margin-bottom: 38px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-art { position: relative; justify-self: center; width: min(100%, 470px); padding: 20px 0 30px; }
.hero-halo { position: absolute; left: 50%; top: 52%; width: 120%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; background: radial-gradient(closest-side, rgba(164,193,59,.42), rgba(164,193,59,0) 72%); }
.hero-arch { position: relative; border-radius: 999px 999px 32px 32px; overflow: hidden; aspect-ratio: 4 / 5;
  border: 1px solid rgba(244,238,224,.18); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
.hero-arch img { width: 100%; height: 100%; object-fit: cover; object-position: 48% 40%; transform: scale(1.08); }
.seal { position: absolute; width: 132px; height: 132px; left: -22px; bottom: 10px; animation: spin 26s linear infinite; }
@media (min-width: 960px) { .seal { width: 160px; height: 160px; left: -64px; bottom: 40px; } }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-stats { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); margin: 70px 0 0; border-top: 1px solid var(--rule-d); }
@media (min-width: 760px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }
.hero-stats > div { padding: 30px 6px 38px; border-bottom: 1px solid var(--rule-d); }
@media (min-width: 760px) { .hero-stats > div { border-bottom: 0; border-right: 1px solid var(--rule-d); padding-left: 26px; } .hero-stats > div:first-child { padding-left: 0; } .hero-stats > div:last-child { border-right: 0; } }
.hero-stats dt { font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(244,238,224,.55); }
.hero-stats dd { margin: 8px 0 2px; font-family: var(--serif); font-size: 3.1rem; line-height: 1; color: var(--cream); }
.hero-stats dd small { font-size: 1.3rem; margin-left: 3px; color: var(--lime); }
.hero-stats > div > span { font-size: .82rem; color: rgba(244,238,224,.5); }

/* --------------------------------------------------------------- marquee */
.marquee { background: var(--lime); color: var(--ink); overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; align-items: center; gap: 34px; padding: 22px 0; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--serif); font-size: 1.9rem; line-height: 1; }
.marquee i { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); display: inline-block; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------- manifesto */
.manifesto { padding: 110px 0; background: var(--paper); }
@media (min-width: 900px) { .manifesto { padding: 160px 0; } }
.manifesto p { font-family: var(--serif); font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: 1.12; letter-spacing: -0.01em;
  max-width: 24ch; margin: 0 auto; text-align: center; color: var(--text); }
.manifesto em { color: var(--lime-deep); }

/* ------------------------------------------------------------ the grain */
.grain { background: var(--cream); }
.grain-inner { display: grid; gap: 70px; align-items: center; }
@media (min-width: 960px) { .grain-inner { grid-template-columns: 1.1fr .9fr; gap: 100px; } }
.layers { list-style: none; padding: 0; margin: 44px 0 0; border-top: 1px solid var(--rule); }
.layers li { display: grid; grid-template-columns: 110px 1fr auto; gap: 18px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.layers b { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1; }
.layers span { font-size: .95rem; color: var(--text-2); }
.layers em { font-style: normal; font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; white-space: nowrap; }
.tag-on { background: var(--olive); color: var(--lime-2); }
.tag-off { background: transparent; color: var(--muted); border: 1px dashed var(--muted); }
@media (max-width: 520px) { .layers li { grid-template-columns: 1fr auto; } .layers span { grid-column: 1 / -1; grid-row: 2; } }
.grain-art { margin: 0; justify-self: center; width: min(100%, 380px); }

/* -------------------------------------------------------------- benefits */
.benefits { background: var(--paper); }
.bento { display: grid; gap: 16px; }
@media (min-width: 760px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .bento { grid-template-columns: 1.05fr 1fr 1fr; grid-template-rows: auto auto; } .tile-photo { grid-row: span 2; } .tile-cream { grid-column: 2 / span 2; } }
.tile { position: relative; border-radius: var(--r); padding: 36px 34px; overflow: hidden; min-height: 300px; display: flex; flex-direction: column; }
.tile .num { font-size: .74rem; font-weight: 800; letter-spacing: .2em; margin-bottom: auto; padding-bottom: 50px; opacity: .65; }
.tile h3 { font-size: 2.1rem; margin-bottom: 12px; }
.tile p { margin: 0; font-size: .98rem; max-width: 42ch; }
.tile-photo { padding: 0; color: var(--cream); min-height: 460px; }
.tile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile-photo:hover img { transform: scale(1.05); }
.tile-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,17,14,.05) 30%, rgba(18,17,14,.85) 100%); }
.tile-over { position: relative; z-index: 1; margin-top: auto; padding: 34px; display: flex; flex-direction: column; }
.tile-over .num { padding-bottom: 14px; margin: 0; }
.tile-lime { background: var(--lime); color: var(--ink); }
.big-stat { font-family: var(--serif); font-size: 6rem; line-height: .8; margin-top: 28px; letter-spacing: -0.03em; }
.big-stat small { font-family: var(--sans); font-size: .9rem; font-weight: 700; letter-spacing: .04em; margin-left: 8px; }
.tile-dark { background: var(--ink); color: var(--cream); }
.tile-dark p { color: rgba(244,238,224,.72); }
.curve { margin-top: 28px; width: 100%; }
.tile-cream { background: var(--cream); color: var(--text); min-height: 240px; }
.tile-cream p { color: var(--text-2); }

/* ---------------------------------------------------------------- origin */
.origin { position: relative; min-height: 680px; display: flex; align-items: center; padding: 100px 0; color: var(--cream); overflow: hidden; }
.origin-media { position: absolute; inset: 0; }
.origin-media img { width: 100%; height: 100%; object-fit: cover; }
.origin-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,17,14,.82) 0%, rgba(18,17,14,.45) 55%, rgba(18,17,14,.1) 100%); }
.origin-inner { position: relative; width: 100%; }
.origin-card { max-width: 540px; }
.origin .label { color: var(--lime); }
.origin h2 em { color: var(--lime-2); }
.origin p { color: rgba(244,238,224,.82); font-size: 1.06rem; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; font-size: .95rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--lime);
  -webkit-mask: radial-gradient(circle, #000 98%, transparent 100%); }
.ticks li::after { content: ""; position: absolute; left: 5px; top: 9px; width: 8px; height: 5px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }

.strip { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0; }
.strip figure { margin: 0; overflow: hidden; aspect-ratio: 1 / 1; }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.strip figure:hover img { transform: scale(1.06); }

/* ------------------------------------------------------------- nutrition */
.nutrition { background: var(--cream); }
.nutri-inner { display: grid; gap: 64px; align-items: center; }
@media (min-width: 960px) { .nutri-inner { grid-template-columns: 1fr 1fr; gap: 100px; } }
.macro { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; max-width: 470px; }
.macro-ring { --p: 0; position: relative; aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: conic-gradient(var(--olive) calc(var(--p) * 1%), rgba(43,58,28,.12) 0); }
.macro-ring::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--cream); }
.macro-ring span, .macro-ring small { position: relative; }
.macro-ring span { font-family: var(--serif); font-size: 1.35rem; line-height: 1; }
.macro-ring small { font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.facts { background: var(--ink); color: var(--cream); border-radius: var(--r); padding: 38px 36px 30px; box-shadow: 0 40px 80px -40px rgba(18,17,14,.6); }
.facts-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--rule-d); }
.facts-top h3 { font-size: 2.3rem; margin: 0; }
.facts-top span { font-size: .78rem; color: rgba(244,238,224,.55); letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.facts-cal { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--rule-d); }
.facts-cal span { font-weight: 700; }
.facts-cal b { font-family: var(--serif); font-weight: 400; font-size: 3.4rem; line-height: 1; color: var(--lime); }
.facts table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.facts td { padding: 11px 0; border-bottom: 1px solid var(--rule-d); }
.facts td:last-child { text-align: right; font-weight: 700; }
.facts tr.sub td:first-child { padding-left: 18px; color: rgba(244,238,224,.68); }
.facts-note { font-size: .76rem; color: rgba(244,238,224,.5); margin: 18px 0 0; }

/* ----------------------------------------------------------------- sizes */
.sizes { background: var(--paper); }
.size-grid { display: grid; gap: 20px; }
@media (min-width: 860px) { .size-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.size-card { position: relative; background: var(--cream); border: 1px solid var(--rule); border-radius: var(--r); padding: 34px 30px 30px;
  display: flex; flex-direction: column; align-items: center; text-align: center; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.size-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -36px rgba(18,17,14,.45); }
.size-card.feature { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.size-card .tag { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); font-size: .66rem; font-weight: 800; letter-spacing: .18em;
  text-transform: uppercase; background: var(--lime); color: var(--ink); border-radius: 999px; padding: 6px 12px; white-space: nowrap; }
.pouch { height: 220px; width: 100%; display: flex; align-items: flex-end; justify-content: center; margin: 22px 0 26px;
  background: radial-gradient(closest-side, rgba(164,193,59,.28), transparent 75%) center 80% / 100% 60% no-repeat; }
.pouch svg { height: var(--h, 120px); width: auto; filter: drop-shadow(0 22px 22px rgba(0,0,0,.28)); transition: transform .5s var(--ease); }
.size-card:hover .pouch svg { transform: translateY(-6px) rotate(-2deg); }
.size-card h3 { font-size: 3.6rem; line-height: .9; margin-bottom: 6px; }
.size-note { font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.size-card.feature .size-note { color: rgba(244,238,224,.55); }
.size-price { font-family: var(--serif); font-size: 2rem; line-height: 1.1; padding-top: 20px; border-top: 1px solid var(--rule); width: 100%; }
.size-card.feature .size-price { border-color: var(--rule-d); }
.size-price small { display: block; font-family: var(--sans); font-size: .76rem; color: var(--muted); margin-top: 6px; }
.size-card.feature .size-price small { color: rgba(244,238,224,.55); }
.size-card .actions { width: 100%; margin-top: auto; padding-top: 22px; }
.sizes-photo { margin: 0 0 22px; border-radius: var(--r); overflow: hidden; }
.sizes-photo img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; object-position: 50% 62%; }
@media (max-width: 700px) { .sizes-photo img { aspect-ratio: 4 / 3; } }
.size-card .pouch { display: none; }
.size-card { padding-top: 54px; }
.size-card h3 { font-size: 4.4rem; }
.order-note { text-align: center; font-size: .86rem; color: var(--muted); margin-top: 34px; }

/* ------------------------------------------------------------------ cook */
.cook { background: var(--olive); color: var(--cream); }
.cook .label { color: var(--lime); }
.cook h2 em { color: var(--lime-2); }
.cook .body-lg { color: rgba(244,238,224,.75); }
.cook-top { display: grid; gap: 50px; align-items: end; margin-bottom: 70px; }
@media (min-width: 900px) { .cook-top { grid-template-columns: 1fr 1fr; gap: 80px; } }
.cook-figure { margin: 0; }
.cook-figure img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r); }
.cook-figure figcaption { font-size: .74rem; color: rgba(244,238,224,.5); text-align: right; margin-top: 10px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--rule-d); }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { padding: 34px 0; border-bottom: 1px solid var(--rule-d); }
@media (min-width: 860px) { .steps li { padding: 40px 34px; border-bottom: 0; border-right: 1px solid var(--rule-d); } .steps li:first-child { padding-left: 0; } .steps li:last-child { border-right: 0; } }
.step-n { display: block; font-family: var(--serif); font-style: italic; font-size: 4rem; line-height: 1; color: var(--lime); margin-bottom: 20px; }
.steps h3 { font-size: 1.9rem; }
.steps p { margin: 0; color: rgba(244,238,224,.74); font-size: .97rem; }

/* ------------------------------------------------------------------- faq */
.faq-inner { display: grid; gap: 50px; }
@media (min-width: 960px) { .faq-inner { grid-template-columns: .8fr 1.2fr; gap: 100px; } }
.faq .body-lg a { color: var(--lime-deep); }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list details:first-child { border-top: 1px solid var(--rule); }
.faq-list summary { list-style: none; cursor: pointer; padding: 26px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-family: var(--serif); font-size: 1.65rem; line-height: 1.15; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--rule);
  display: grid; place-items: center; font-family: var(--sans); font-size: 1.2rem; transition: transform .3s, background .3s; }
.faq-list details[open] summary::after { transform: rotate(45deg); background: var(--lime); border-color: var(--lime); }
.faq-list p { color: var(--text-2); padding: 0 50px 26px 0; margin: 0; }

/* ------------------------------------------------------------------- cta */
.cta { position: relative; background: var(--ink); color: var(--cream); text-align: center; padding: 130px 0; overflow: hidden; }
.cta::before { content: ""; position: absolute; left: 50%; top: 50%; width: 900px; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(164,193,59,.22), transparent 70%); }
.cta .wrap { position: relative; }
.cta-script { font-family: var(--script); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--lime); margin-bottom: 6px; }
.cta h2 { font-size: clamp(3.2rem, 8vw, 6.6rem); margin-bottom: 40px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------------------------------------------------------------- footer */
.footer { background: var(--ink); color: rgba(244,238,224,.7); padding: 80px 0 30px; font-size: .92rem; border-top: 1px solid var(--rule-d); }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer .brand { color: var(--cream); }
.footer-tag { margin-top: 18px; font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--cream); }
.footer h4 { font-size: .7rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: rgba(244,238,224,.45); margin: 0 0 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer a { text-decoration: none; overflow-wrap: anywhere; }
.footer a:hover { color: var(--lime); }
.footer-big { font-family: var(--serif); font-size: clamp(4.6rem, 17vw, 15rem); line-height: .85; letter-spacing: -0.04em; color: var(--cream);
  margin: 70px 0 30px; white-space: nowrap; overflow: hidden; }
.footer-big span { font-family: var(--script); font-size: 1.05em; color: var(--lime); letter-spacing: 0; }
.footer-bottom { border-top: 1px solid var(--rule-d); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between;
  font-size: .8rem; color: rgba(244,238,224,.45); }

/* ------------------------------------------------------------- bag drawer */
.backdrop { position: fixed; inset: 0; background: rgba(18,17,14,.55); z-index: 190; opacity: 0; visibility: hidden; transition: .3s; }
.backdrop.open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(100%, 440px); background: var(--paper); z-index: 200;
  transform: translateX(100%); transition: transform .45s var(--ease); display: flex; flex-direction: column; }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 24px 28px; border-bottom: 1px solid var(--rule); }
.drawer-head h3 { margin: 0; font-size: 2rem; }
.icon-btn { border: 1px solid var(--rule); background: transparent; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; }
.icon-btn:hover { background: var(--cream-2); }
.drawer-body { flex: 1; overflow: auto; padding: 10px 28px 24px; }
.line { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.line b { display: block; font-weight: 700; }
.line small { color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--rule); border-radius: 999px; }
.qty button { width: 36px; height: 36px; border: 0; background: transparent; font-size: 1.05rem; }
.qty span { min-width: 26px; text-align: center; font-weight: 700; }
.drawer-foot { padding: 22px 28px 28px; border-top: 1px solid var(--rule); background: var(--cream); }
.total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; font-weight: 700; }
.total span:last-child { font-family: var(--serif); font-size: 2rem; font-weight: 400; }
.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field label { font-size: .74rem; font-weight: 700; letter-spacing: .06em; color: var(--text-2); }
.field input, .field textarea { width: 100%; border: 1px solid var(--rule); background: var(--paper); border-radius: 14px; padding: 12px 14px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--olive); }
.empty { text-align: center; color: var(--muted); padding: 60px 10px; }
.empty p { font-family: var(--serif); font-size: 1.8rem; color: var(--text); }
.hint { font-size: .78rem; color: var(--muted); margin: 10px 0 0; }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 56px; height: 56px; border-radius: 50%;
  background: #1f8a4c; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 26px -8px rgba(16,70,40,.6); }
.wa-float svg { width: 28px; height: 28px; }

/* ----------------------------------------------------------- inner pages */
.page { padding: 90px 0 120px; }
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(3rem, 7vw, 5rem); }
.prose h2 { font-size: 2.2rem; margin-top: 1.4em; }
.prose p, .prose li { color: var(--text-2); }
.eyebrow { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--lime-deep); margin-bottom: 18px; }
.lede { font-size: 1.12rem; color: var(--text-2); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Storefront and motion (v3)
   ========================================================================== */

/* -------------------------------------------------------- announcement */
.announce { background: var(--lime); color: var(--ink); overflow: hidden; white-space: nowrap; font-size: .74rem; font-weight: 700; letter-spacing: .08em; }
.announce-track { display: inline-flex; align-items: center; gap: 26px; padding: 9px 0; animation: marquee 38s linear infinite; }
.announce i { width: 5px; height: 5px; border-radius: 50%; background: var(--ink); opacity: .5; }

/* header gains a stronger edge once you scroll */
.header { transition: background .3s, box-shadow .3s; }
.header.scrolled { background: rgba(18,17,14,.96); box-shadow: 0 10px 30px -18px rgba(0,0,0,.7); }
.bag-btn.bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.18); } 60% { transform: scale(.94); } }
.bag-count { transform: scale(.85); transition: transform .3s var(--ease), background .3s; }
.bag-count.has { transform: scale(1); }

/* ----------------------------------------------------------- hero extras */
.btn-lg { padding: 20px 34px; font-size: 1rem; }
.hero-note { margin: 18px 0 0; font-size: .8rem; letter-spacing: .06em; color: rgba(244,238,224,.5); }
.hero-grains { position: absolute; inset: -40px; pointer-events: none; transition: transform .6s var(--ease); }
.hero-grains i {
  position: absolute; top: -40px; border-radius: 50% 50% 46% 46% / 62% 62% 38% 38%;
  background: linear-gradient(160deg, #fbf3df, #d9c69c); opacity: var(--o, .4);
  transform: rotate(var(--r, 0deg)); animation: drift linear infinite; filter: drop-shadow(0 2px 2px rgba(0,0,0,.35));
}
@keyframes drift {
  0% { transform: translate3d(0, -6vh, 0) rotate(var(--r)); }
  50% { transform: translate3d(22px, 55vh, 0) rotate(calc(var(--r) + 140deg)); }
  100% { transform: translate3d(-12px, 118vh, 0) rotate(calc(var(--r) + 300deg)); }
}
.hero-inner { z-index: 1; }
.hero-arch { transition: transform .5s var(--ease); transform-style: preserve-3d; will-change: transform; }

/* headline: each word rises out of its own line */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
[data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); }
[data-split].split-in .w > span { transform: none; }
.hero h1 em .w > span, [data-split] em .w > span { font-style: italic; }
.hero h1 .w { padding-right: .04em; }

/* ------------------------------------------------------------- buy box */
.shop { background: var(--cream); padding-top: 110px; }
.buybox { display: grid; gap: 44px; background: var(--paper); border: 1px solid var(--rule); border-radius: 36px; padding: 18px; box-shadow: 0 50px 100px -60px rgba(18,17,14,.5); }
@media (min-width: 960px) { .buybox { grid-template-columns: 1.05fr .95fr; gap: 60px; padding: 22px 56px 22px 22px; align-items: start; } }
.bb-gallery { position: relative; }
@media (min-width: 960px) { .bb-gallery { position: sticky; top: 100px; } }
.bb-main { position: relative; border-radius: 26px; overflow: hidden; background: #ece6d8; aspect-ratio: 1 / 1; }
.bb-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s, transform 1.4s var(--ease); }
.bb-main:hover img { transform: scale(1.04); }
.bb-main img.swap { opacity: 0; }
.bb-badge { position: absolute; left: 16px; top: 16px; background: var(--ink); color: var(--lime); font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; padding: 8px 13px; border-radius: 999px; }
.bb-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.thumb { padding: 0; border: 2px solid transparent; border-radius: 16px; overflow: hidden; background: none; aspect-ratio: 1; transition: border-color .2s, opacity .2s; opacity: .7; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: 1; }
.thumb.on { border-color: var(--olive); opacity: 1; }
.bb-info { padding: 8px 12px 18px; }
@media (min-width: 960px) { .bb-info { padding: 34px 0 30px; } }
.bb-kicker { font-size: .72rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--lime-deep); margin-bottom: 14px; }
.bb-title { font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: .98; margin-bottom: 16px; }
.bb-title em { font-style: italic; color: var(--lime-deep); }
.bb-sub { color: var(--text-2); max-width: 46ch; }
.bb-price { display: flex; align-items: baseline; gap: 12px; margin-top: 26px; font-family: var(--serif); font-size: 3rem; line-height: 1; }
.bb-price small { font-family: var(--sans); font-size: .85rem; color: var(--muted); }
.bb-tax { font-size: .78rem; color: var(--muted); margin: 6px 0 0; }
.bb-label { font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--text-2); margin: 28px 0 12px; }
.pills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pill { border: 1.5px solid var(--rule); background: var(--paper); border-radius: 18px; padding: 14px 8px; display: flex; flex-direction: column; align-items: center; gap: 3px; transition: border-color .2s, background .2s, transform .2s; }
.pill:hover { border-color: var(--olive); }
.pill b { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1; }
.pill small { font-size: .7rem; color: var(--muted); }
.pill.on { border-color: var(--ink); background: var(--ink); color: var(--cream); }
.pill.on small { color: var(--lime); }
.bb-row { display: flex; gap: 10px; margin-top: 24px; }
.qty-lg { border-color: var(--rule); flex-shrink: 0; }
.qty-lg button { width: 48px; height: 56px; }
.qty-lg span { min-width: 28px; }
.bb-add { flex: 1; font-size: 1rem; }
.bb-now { margin-top: 10px; }
.btn-ghost-dark { border: 1.5px solid var(--ink); color: var(--ink); background: transparent; }
.btn-ghost-dark:hover { background: var(--ink); color: var(--cream); }
.bb-trust { list-style: none; padding: 0; margin: 26px 0 8px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bb-trust li { background: var(--cream); border-radius: 16px; padding: 14px 12px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bb-trust b { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; line-height: 1.05; }
.bb-trust span { font-size: .72rem; color: var(--muted); overflow-wrap: anywhere; }
.bb-more { border-bottom: 1px solid var(--rule); }
.bb-more summary { list-style: none; cursor: pointer; padding: 18px 0; display: flex; justify-content: space-between; font-weight: 700; font-size: .95rem; }
.bb-more summary::-webkit-details-marker { display: none; }
.bb-more summary::after { content: "+"; font-size: 1.2rem; transition: transform .3s; }
.bb-more[open] summary::after { transform: rotate(45deg); }
.bb-more p { color: var(--text-2); font-size: .94rem; margin: 0 0 18px; }

/* ------------------------------------------------------------- journey */
.journey { position: relative; background: var(--ink); color: var(--cream); padding: 100px 0; }
.journey-head { margin-bottom: 44px; }
.journey .label { color: var(--lime); }
.journey h2 em { color: var(--lime-2); }
.journey-bar { height: 2px; background: var(--rule-d); margin-top: 26px; max-width: 320px; overflow: hidden; }
.journey-bar span { display: block; height: 100%; background: var(--lime); transform-origin: left; transform: scaleX(0); }
.journey-track { display: grid; gap: 18px; padding: 0 var(--g); }
.jcard { position: relative; border-radius: var(--r); overflow: hidden; min-height: 460px; display: flex; align-items: flex-end; }
.jcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.jcard:hover img { transform: scale(1.05); }
.jcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,17,14,0) 35%, rgba(18,17,14,.9) 100%); }
.jtext { position: relative; z-index: 1; padding: 32px; max-width: 420px; }
.jn { font-family: var(--serif); font-style: italic; font-size: 3.4rem; line-height: 1; color: var(--lime); }
.jtext h3 { font-size: 2.4rem; margin: 6px 0 8px; }
.jtext p { margin: 0; color: rgba(244,238,224,.8); }
/* pinned and sideways on wide screens */
.journey.is-pinned { padding: 0; }
.journey.is-pinned .journey-pin { position: sticky; top: 0; height: 100vh; padding-top: 70px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.journey.is-pinned .journey-track { display: flex; gap: 24px; width: max-content; padding: 0 calc((100vw - min(var(--wrap), 100vw)) / 2 + var(--g)); will-change: transform; }
.journey.is-pinned .jcard { width: min(64vw, 760px); height: min(62vh, 560px); min-height: 0; flex-shrink: 0; }

/* -------------------------------------------------------- toast, sticky */
.toast { position: fixed; left: 50%; top: 22px; z-index: 260; transform: translate(-50%, -150%); display: flex; align-items: center; gap: 12px;
  background: var(--ink); color: var(--cream); border: 1px solid var(--rule-d); border-radius: 999px; padding: 10px 10px 10px 18px;
  font-size: .9rem; font-weight: 600; box-shadow: 0 20px 40px -14px rgba(0,0,0,.6); transition: transform .5s var(--ease); max-width: calc(100vw - 24px); }
.toast.show { transform: translate(-50%, 0); }
.toast svg { width: 20px; height: 20px; color: var(--lime); flex-shrink: 0; }
.toast button { border: 0; background: var(--lime); color: var(--ink); border-radius: 999px; padding: 9px 15px; font-weight: 800; font-size: .8rem; white-space: nowrap; }
.sticky-buy { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 95; display: flex; align-items: center; gap: 8px;
  background: var(--paper); border: 1px solid var(--rule); border-radius: 22px; padding: 10px 10px 10px 18px; box-shadow: 0 20px 50px -18px rgba(18,17,14,.55);
  transform: translateY(140%); transition: transform .5s var(--ease); }
.sticky-buy.show { transform: none; }
.sticky-buy > div { flex: 1; display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.sticky-buy b { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; }
.sticky-buy span { font-size: .8rem; color: var(--muted); }
.sticky-buy .btn { padding: 13px 16px; font-size: .85rem; }
.sticky-buy .btn-ghost-dark { display: none; }
@media (min-width: 420px) { .sticky-buy .btn-ghost-dark { display: inline-flex; } }
@media (min-width: 960px) { .sticky-buy { left: auto; right: 90px; width: 420px; } }
body:has(.sticky-buy.show) .wa-float { bottom: 92px; }
@media (min-width: 960px) { body:has(.sticky-buy.show) .wa-float { bottom: 18px; } }

/* ------------------------------------------------------- bag, checkout */
.line { align-items: flex-start; }
.line img { width: 64px; height: 64px; object-fit: cover; border-radius: 14px; flex-shrink: 0; }
.line-info { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.line-info .qty { align-self: flex-start; margin-top: 6px; }
.line-total { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ---------------------------------------------------------- product page */
.pp { background: var(--cream); padding: 40px 0 100px; }
.crumbs { font-size: .78rem; color: var(--muted); margin-bottom: 22px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--lime-deep); }

@media (prefers-reduced-motion: reduce) {
  [data-split] .w > span { transform: none; }
  .hero-grains { display: none; }
}

.ticks-dark li { color: var(--text-2); }
.ticks-dark li::after { border-color: var(--ink); }
@media (max-width: 560px) {
  .hero h1 { font-size: 3.9rem; }
  .bb-trust { grid-template-columns: 1fr; }
  .bb-trust li { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 16px; }
  .pill small { font-size: .64rem; }
}

/* v4: faint photo behind the hero, bigger numbers */
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; opacity: .2; filter: saturate(.85); }
.hero-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(18,17,14,.92) 0%, rgba(18,17,14,.6) 45%, rgba(18,17,14,.35) 100%),
              linear-gradient(180deg, rgba(18,17,14,0) 60%, rgba(18,17,14,1) 100%); }
.hero-stats dd { font-size: clamp(4.2rem, 7.4vw, 6.6rem); line-height: .9; margin: 12px 0 6px; letter-spacing: -0.03em; }
.hero-stats dd small { font-size: .32em; margin-left: 6px; letter-spacing: 0; }
.hero-stats > div > span { font-size: .86rem; }
.hero-stats > div { padding-top: 34px; padding-bottom: 44px; }
.cook-figure img { object-position: 50% 50%; }

.hero-stats dd > span { font-size: 1em; color: var(--cream); }

/* Marquees: two identical groups, each wider than the screen, so the loop never shows a gap */
.marquee-track, .announce-track { gap: 0; width: max-content; }
.mq-group { display: inline-flex; align-items: center; flex-shrink: 0; }
.marquee .mq-group { gap: 34px; padding-right: 34px; }
.announce .mq-group { gap: 26px; padding-right: 26px; }

.cta-bg { position: absolute; inset: 0; pointer-events: none; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; opacity: .22; }
.cta-bg::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(18,17,14,.55) 0%, rgba(18,17,14,.85) 70%, rgba(18,17,14,.95) 100%); }
.cta::before { z-index: 0; }

/* Header: logo | menu centred on the page | shop + bag */
.header .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.header .brand { justify-self: start; }
.header .header-cta { justify-self: end; }
.nav { align-items: center; }
.nav a { line-height: 1; padding: 8px 0; }
@media (max-width: 979px) { .header .wrap { grid-template-columns: 1fr auto; } }

.hero-arch img[src*='pack-hero'] { object-position: 42% 50%; transform: scale(1.02); }

/* ---------------------------------------------- the grain, animated (v5) */
.layers li { display: block; padding: 0; }
.layers button { width: 100%; display: grid; grid-template-columns: 120px 1fr auto; gap: 18px; align-items: baseline; padding: 20px 14px;
  margin: 0 -14px; width: calc(100% + 28px); text-align: left; background: transparent; border: 0; border-radius: 16px; color: inherit;
  transition: background .3s var(--ease), transform .3s var(--ease); }
.layers button:hover, .layers button:focus-visible, .layers button.on { background: rgba(43,58,28,.07); }
.layers button.on b { color: var(--lime-deep); }
@media (max-width: 520px) { .layers button { grid-template-columns: 1fr auto; } .layers button span { grid-column: 1 / -1; grid-row: 2; } }
.grain-hint { font-size: .8rem; color: var(--muted); margin: 16px 0 0; }

.grain-art { width: min(100%, 400px); }
.grain-art svg { overflow: visible; }
.grain-art .part { transition: opacity .45s var(--ease), filter .45s var(--ease); }
.grain[data-focus] .grain-art .part { opacity: .14; }
.grain[data-focus="husk"] .grain-art .p-husk, .grain[data-focus="bran"] .grain-art .p-bran,
.grain[data-focus="germ"] .grain-art .p-germ, .grain[data-focus="endo"] .grain-art .p-endo { opacity: 1; }
.anim { transform-box: fill-box; transform-origin: center; }
.starch { opacity: 0; transition: opacity .5s var(--ease); }
.grain[data-focus="endo"] .starch { opacity: 1; }
.endo-sub { opacity: 0; transition: opacity .5s var(--ease); }
.grain[data-focus="endo"] .endo-sub { opacity: 1; }

/* hidden only until it plays, and only when JS is running */
.js .grain-art:not(.play) .anim { opacity: 0; }
.grain-art.play .a-husk { animation: huskIn 2.6s var(--ease) both; }
.grain-art.play .a-bran { animation: growIn 1.1s var(--ease) .45s both; }
.grain-art.play .a-endo { animation: growIn 1.1s var(--ease) .75s both; }
.grain-art.play .a-germ { animation: popIn .8s cubic-bezier(.3,1.6,.5,1) 1.25s both; }
.grain-art.play .a-lbl { animation: fadeUp .7s var(--ease) both; }
.grain-art.play .l1 { animation-delay: 1.6s; }
.grain-art.play .l2 { animation-delay: 1.8s; }
.grain-art.play .a-lbl line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: drawLine .7s var(--ease) both; animation-delay: inherit; }
.grain-art.play .l1 line { animation-delay: 1.6s; }
.grain-art.play .l2 line { animation-delay: 1.8s; }
.grain-art.play .husk-off { animation: fadeUp .6s var(--ease) 2.2s both; }
.grain-art.play .grain-float { animation: floatY 7s ease-in-out 2.8s infinite; transform-box: fill-box; transform-origin: center; }
@keyframes huskIn {
  0% { opacity: 0; transform: scale(.9); }
  30% { opacity: 1; transform: scale(1); }
  65% { opacity: 1; transform: scale(1); }
  100% { opacity: .5; transform: scale(1.07) translateY(-4px); }
}
@keyframes growIn { from { opacity: 0; transform: scale(.82); } to { opacity: 1; transform: none; } }
@keyframes popIn { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes floatY { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-8px) rotate(-1.2deg); } }

/* endosperm deep-dive */
.endo-deep { margin-top: 110px; padding-top: 70px; border-top: 1px solid var(--rule); }
.endo-head { max-width: 640px; margin-bottom: 44px; }
.endo-head h3 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 14px; }
.endo-head h3 em { color: var(--lime-deep); }
.endo-head p { color: var(--text-2); font-size: 1.06rem; margin: 0; }
.endo-cards { display: grid; gap: 14px; }
@media (min-width: 700px) { .endo-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .endo-cards { grid-template-columns: repeat(4, 1fr); } }
.endo-card { background: var(--paper); border: 1px solid var(--rule); border-radius: 22px; padding: 28px 24px; display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.endo-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(18,17,14,.4); }
.endo-card b { font-family: var(--serif); font-weight: 400; font-size: 3.2rem; line-height: 1; letter-spacing: -0.02em; color: var(--olive); }
.endo-card h4 { margin: 18px 0 8px; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.endo-card p { margin: 0; font-size: .93rem; color: var(--text-2); }
.endo-card-lime { background: var(--lime); border-color: var(--lime); }
.endo-card-lime b, .endo-card-lime p { color: var(--ink); }
.js .endo-card.reveal:nth-child(2) { transition-delay: .08s; }
.js .endo-card.reveal:nth-child(3) { transition-delay: .16s; }
.js .endo-card.reveal:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .js .grain-art:not(.play) .anim, .grain-art .anim { opacity: 1 !important; animation: none !important; }
  .grain-art .a-husk { opacity: .5 !important; }
  .grain-art .a-lbl line { stroke-dasharray: none; }
}

.p-endo > .anim > ellipse { transition: stroke-width .4s var(--ease); stroke: #6f8a1f; stroke-width: 0; }
.grain[data-focus="endo"] .p-endo > .anim > ellipse { stroke-width: 3; }
.grain[data-focus="endo"] .starch { stroke: #a8894f; }

.bb-thumbs { grid-template-columns: repeat(5, 1fr); gap: 8px; }
.bb-main { background: #e9e3d4; }
.thumb img[src*="pack-range"] { object-fit: cover; object-position: 50% 50%; }
.thumb img[src*="pack-stack"] { object-position: 50% 78%; }
.hero-arch img[src*="pack-everyday"] { object-position: 42% 50%; transform: scale(1.02); }

.bb-blur { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(28px) saturate(1.1); opacity: .9; }
.bb-main img { position: relative; }

/* ------------------------------------------------------------- aroma (v6) */
.aroma { position: relative; background: var(--ink); color: var(--cream); overflow: hidden; padding: 120px 0; }
@media (min-width: 900px) { .aroma { padding: 160px 0; } }
.aroma-bg { position: absolute; inset: 0; pointer-events: none; }
.aroma-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .16; filter: saturate(.7); }
.aroma-bg::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 100%, rgba(164,193,59,.22), rgba(18,17,14,0) 55%),
              linear-gradient(180deg, rgba(18,17,14,.92) 0%, rgba(18,17,14,.7) 50%, rgba(18,17,14,.9) 100%); }
.steam { position: absolute; right: 4%; bottom: -40px; width: min(52vw, 620px); height: 115%; pointer-events: none;
  filter: blur(14px); -webkit-mask: linear-gradient(0deg, transparent 0%, #000 12%, #000 62%, transparent 100%); mask: linear-gradient(0deg, transparent 0%, #000 12%, #000 62%, transparent 100%); }
.steam i { position: absolute; bottom: 0; left: var(--x); width: var(--s); height: var(--s); margin-left: calc(var(--s) / -2);
  border-radius: 50%; background: radial-gradient(circle at 50% 55%, rgba(246,241,229,.55) 0%, rgba(246,241,229,.22) 38%, rgba(246,241,229,0) 70%);
  opacity: 0; animation: puff var(--d) cubic-bezier(.25,.6,.35,1) infinite; animation-delay: var(--dl); will-change: transform, opacity; }
@keyframes puff {
  0%   { transform: translate3d(0, 0, 0) scale(.35); opacity: 0; }
  12%  { opacity: var(--o); }
  45%  { transform: translate3d(calc(var(--sway) * 1px), -38vh, 0) scale(1.1); opacity: calc(var(--o) * .8); }
  100% { transform: translate3d(calc(var(--sway) * -1.4px), -85vh, 0) scale(2.2); opacity: 0; }
}
.aroma-inner { position: relative; display: grid; gap: 50px; }
@media (min-width: 960px) { .aroma-inner { grid-template-columns: 1fr 1fr; column-gap: 90px; row-gap: 60px; } .aroma-tips { grid-column: 1 / -1; } }
.aroma .label { color: var(--lime); }
.aroma h2 { font-size: clamp(2.8rem, 6vw, 5.2rem); }
.aroma h2 em { color: var(--lime-2); }
.aroma .body-lg { color: rgba(244,238,224,.78); }
.aroma-moments { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-d); align-self: end; }
.aroma-moments li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 26px 0; border-bottom: 1px solid var(--rule-d); }
.am-n { font-family: var(--serif); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--lime); }
.aroma-moments h3 { font-size: 1.7rem; margin-bottom: 6px; }
.aroma-moments p { margin: 0; color: rgba(244,238,224,.74); font-size: .97rem; }
.aroma-tips { background: rgba(244,238,224,.06); border: 1px solid var(--rule-d); border-radius: var(--r); padding: 30px 32px;
  display: grid; gap: 18px; backdrop-filter: blur(6px); }
@media (min-width: 900px) { .aroma-tips { grid-template-columns: 220px 1fr; align-items: center; } }
.aroma-tips h3 { font-size: 1.9rem; color: var(--lime-2); margin: 0; }
.aroma-tips ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 900px) { .aroma-tips ul { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.aroma-tips li { font-size: .93rem; color: rgba(244,238,224,.78); }
.aroma-tips b { color: var(--cream); display: block; margin-bottom: 2px; }
@media (prefers-reduced-motion: reduce) { .steam i { animation: none; opacity: .25; transform: translateY(-30vh) scale(1.2); } }

/* steam v2: a glowing bowl as the source, taller wispy puffs */
.bowl { position: absolute; right: calc(4% + min(26vw, 310px) - 210px); bottom: -150px; width: 420px; height: 300px; border-radius: 50%;
  overflow: hidden; pointer-events: none; box-shadow: 0 -30px 120px 40px rgba(232,214,170,.18); }
.bowl img { width: 100%; height: 100%; object-fit: cover; opacity: .55; filter: saturate(.8) brightness(1.05); }
.bowl::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(ellipse at 50% 30%, rgba(255,246,222,.25), rgba(18,17,14,.55) 75%); }
.steam { right: calc(4% + min(26vw, 310px) - 160px); width: 320px; bottom: 60px; height: 105%; filter: blur(16px); }
.steam i { height: calc(var(--s) * 1.7); margin-left: calc(var(--s) / -2);
  background: radial-gradient(ellipse 50% 50% at 50% 55%, rgba(250,245,232,.5) 0%, rgba(250,245,232,.18) 40%, rgba(250,245,232,0) 70%); }
@keyframes puff {
  0%   { transform: translate3d(0, 0, 0) scale(.3, .4); opacity: 0; }
  14%  { opacity: var(--o); }
  50%  { transform: translate3d(calc(var(--sway) * 1px), -34vh, 0) scale(1, 1.15) rotate(calc(var(--sway) * .15deg)); opacity: calc(var(--o) * .75); }
  100% { transform: translate3d(calc(var(--sway) * -1.6px), -80vh, 0) scale(2.4, 1.8) rotate(calc(var(--sway) * -.3deg)); opacity: 0; }
}
@media (max-width: 899px) { .bowl { right: 50%; margin-right: -210px; bottom: -190px; } .steam { right: 50%; margin-right: -160px; opacity: .7; } }
.bowl { box-shadow: none; -webkit-mask: radial-gradient(ellipse 50% 50% at 50% 50%, #000 55%, transparent 100%); mask: radial-gradient(ellipse 50% 50% at 50% 50%, #000 55%, transparent 100%); }
.bowl::before { content: ""; position: absolute; inset: -20%; background: radial-gradient(ellipse at 50% 40%, rgba(232,214,170,.25), transparent 60%); z-index: 1; }
.steam { bottom: 90px; }

/* --------------------------------------------------------------- contact */
.contact { background: var(--cream); }
.contact-inner { display: grid; gap: 50px; align-items: start; }
@media (min-width: 960px) { .contact-inner { grid-template-columns: 1fr 1fr; gap: 90px; } }
.contact-cards { display: grid; gap: 12px; margin-top: 34px; }
.ccard { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: var(--paper); border: 1px solid var(--rule);
  border-radius: 20px; text-decoration: none; transition: transform .3s var(--ease), border-color .3s; min-width: 0; }
.ccard:hover { transform: translateY(-3px); border-color: var(--gold, var(--lime)); }
.ccard-ic { width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--lime); display: grid; place-items: center; flex-shrink: 0; }
.ccard-ic svg { width: 22px; height: 22px; }
.ccard b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.1; }
.ccard small { font-size: .9rem; color: var(--text-2); overflow-wrap: anywhere; }
.ccard > span:last-child { min-width: 0; }
.cform { background: var(--ink); color: var(--cream); border-radius: var(--r); padding: 34px 32px; box-shadow: inset 0 0 0 1px rgba(212,175,85,.35); }
.cform h3 { font-size: 2rem; margin-bottom: 20px; }
.cform .field label { color: rgba(244,238,224,.7); }
.cform input, .cform textarea, .cform select { width: 100%; border: 1px solid rgba(244,238,224,.18); background: rgba(244,238,224,.06); color: var(--cream);
  border-radius: 14px; padding: 12px 14px; font: inherit; }
.cform select option { color: #000; }
.cform input:focus, .cform textarea:focus, .cform select:focus { outline: none; border-color: var(--lime); }
.cform .hint { color: rgba(244,238,224,.55); }
.cform .hint a { color: var(--lime-2); }

/* ==========================================================================
   GOLD ACCENT (trial). Echoes the gold edging on the pouch.
   To undo: delete everything from this comment to the end of the file.
   ========================================================================== */
:root { --gold: #d4af55; --gold-2: #e8c766; --gold-soft: rgba(212,175,85,.35); }

/* the pouch's three-leaf sprig, used as a small ornament */
.label::before {
  content: ""; display: inline-block; width: 15px; height: 12px; margin-right: 10px; vertical-align: -1px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 16'><g fill='%23d4af55'><ellipse cx='10' cy='5' rx='2.4' ry='5'/><ellipse cx='5' cy='9' rx='2.2' ry='4.6' transform='rotate(-48 5 9)'/><ellipse cx='15' cy='9' rx='2.2' ry='4.6' transform='rotate(48 15 9)'/></g></svg>") no-repeat center / contain;
}
.sec-head.center .label::after {
  content: ""; display: inline-block; width: 15px; height: 12px; margin-left: 10px; vertical-align: -1px;
  background: inherit; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 16'><g fill='%23d4af55'><ellipse cx='10' cy='5' rx='2.4' ry='5'/><ellipse cx='5' cy='9' rx='2.2' ry='4.6' transform='rotate(-48 5 9)'/><ellipse cx='15' cy='9' rx='2.2' ry='4.6' transform='rotate(48 15 9)'/></g></svg>") no-repeat center / contain;
}

/* header and strips */
.header { border-bottom-color: var(--gold-soft); }
.marquee { border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); }
.bag-count { background: var(--gold-2); }
.kicker .dot { background: var(--gold); box-shadow: 0 0 0 6px rgba(212,175,85,.18); }

/* hero: gold-edged arch and a gold ring on the seal, like the pouch window and badge */
.hero-arch { border: 2px solid var(--gold); box-shadow: 0 0 0 6px rgba(212,175,85,.12), 0 40px 80px -30px rgba(0,0,0,.8); }
.seal circle { stroke: var(--gold); stroke-width: 5; }
.hero-stats { border-top-color: var(--gold-soft); }
.hero-stats dd small { color: var(--gold-2); }

/* section details */
.layers { border-top-color: var(--gold-soft); }
.tag-on { box-shadow: inset 0 0 0 1px rgba(212,175,85,.55); }
.tile-dark { box-shadow: inset 0 0 0 1px var(--gold-soft); }
.am-n, .step-n, .jn { color: var(--gold-2); }
.aroma-tips { border-color: var(--gold-soft); }
.aroma-tips h3 { color: var(--gold-2); }
.facts { box-shadow: inset 0 0 0 1px var(--gold-soft), 0 40px 80px -40px rgba(18,17,14,.6); }
.facts-cal b { color: var(--gold-2); }
.journey-bar span { background: var(--gold); }

/* shop: gold rim on the buy box and the selected size */
.buybox { border-color: var(--gold-soft); }
.pill.on { box-shadow: inset 0 0 0 1.5px var(--gold); }
.pill.on small { color: var(--gold-2); }
.bb-badge { color: var(--gold-2); box-shadow: inset 0 0 0 1px var(--gold-soft); }

/* closing and footer */
.cta-script { color: var(--gold-2); }
.footer { border-top: 1px solid var(--gold-soft); }

.hero-arch img[src*="pb2-pouch-bowl"] { object-position: 58% 50%; transform: none; }
.cook-figure img[src*="pb2-cooked-bowl"] { object-position: 50% 45%; }
